Skip to content

Commit

Permalink
Merge pull request #5 from pop-os/tr3_bionic
Browse files Browse the repository at this point in the history
Threadripper 3 support (bionic)
  • Loading branch information
jackpot51 authored Dec 19, 2019
2 parents 787b29e + ad28604 commit c7868f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mce/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static void smca_configure(unsigned int bank, unsigned int cpu)
smca_set_misc_banks_map(bank, cpu);

/* Return early if this bank was already initialized. */
if (smca_banks[bank].hwid)
if (smca_banks[bank].hwid && smca_banks[bank].hwid->hwid_mcatype != 0)
return;

if (rdmsr_safe_on_cpu(cpu, MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) {
Expand Down

0 comments on commit c7868f8

Please sign in to comment.