Skip to content

Commit

Permalink
https://lore.kernel.org/patchwork/patch/1156999/
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Dec 18, 2019
1 parent bc3488b commit 91bb1ff
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 91bb1ff

Please sign in to comment.