* [PATCH] EDAC/mce_amd: Print !SMCA processor warning for 0x19 family
@ 2021-04-28 3:15 Kaige Fu
2021-04-28 9:06 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: Kaige Fu @ 2021-04-28 3:15 UTC (permalink / raw)
To: linux-edac
Cc: Kaige Fu, Shannon Zhao, Borislav Petkov, Mauro Carvalho Chehab,
Tony Luck, James Morse, Robert Richter
KVM doesn't enable SMCA for 0x19 family AMD processors.
Consequently, a warning as following will be print when load
edac_mce_amd.ko in a virtual machine.
"Huh? What family is it: 0x19?!"
To make the log more clear, this patch prints !SMCA processor
warning for 0x19 family.
Signed-off-by: Kaige Fu <kaige.fu@linux.alibaba.com>
Cc: Shannon Zhao <shannon.zhao@linux.alibaba.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: James Morse <james.morse@arm.com>
Cc: Robert Richter <rrichter@marvell.com>
Cc: linux-edac@vger.kernel.org
---
drivers/edac/mce_amd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 5dd905a3f30c..0602082c1ef0 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -1229,6 +1229,7 @@ static int __init mce_amd_init(void)
case 0x17:
case 0x18:
+ case 0x19:
pr_warn_once("Decoding supported only on Scalable MCA processors.\n");
return -EINVAL;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] EDAC/mce_amd: Print !SMCA processor warning for 0x19 family
2021-04-28 3:15 [PATCH] EDAC/mce_amd: Print !SMCA processor warning for 0x19 family Kaige Fu
@ 2021-04-28 9:06 ` Borislav Petkov
2021-04-30 2:47 ` Kaige Fu
0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2021-04-28 9:06 UTC (permalink / raw)
To: Kaige Fu
Cc: linux-edac, Shannon Zhao, Mauro Carvalho Chehab, Tony Luck,
James Morse, Robert Richter
On Wed, Apr 28, 2021 at 11:15:06AM +0800, Kaige Fu wrote:
> KVM doesn't enable SMCA for 0x19 family AMD processors.
> Consequently, a warning as following will be print when load
> edac_mce_amd.ko in a virtual machine.
>
> "Huh? What family is it: 0x19?!"
>
> To make the log more clear, this patch prints !SMCA processor
> warning for 0x19 family.
This doesn't make it more clear - it replaces one incorrect statement
with another.
You can simply ignore it or not load that module in a guest at all.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] EDAC/mce_amd: Print !SMCA processor warning for 0x19 family
2021-04-28 9:06 ` Borislav Petkov
@ 2021-04-30 2:47 ` Kaige Fu
0 siblings, 0 replies; 3+ messages in thread
From: Kaige Fu @ 2021-04-30 2:47 UTC (permalink / raw)
To: Borislav Petkov
Cc: linux-edac, Shannon Zhao, Mauro Carvalho Chehab, Tony Luck,
James Morse, Robert Richter
Hi Borislav, thanks for your comment.
在 2021/4/28 下午5:06, Borislav Petkov 写道:
> On Wed, Apr 28, 2021 at 11:15:06AM +0800, Kaige Fu wrote:
>> KVM doesn't enable SMCA for 0x19 family AMD processors.
>> Consequently, a warning as following will be print when load
>> edac_mce_amd.ko in a virtual machine.
>>
>> "Huh? What family is it: 0x19?!"
>>
>> To make the log more clear, this patch prints !SMCA processor
>> warning for 0x19 family.
>
> This doesn't make it more clear - it replaces one incorrect statement
> with another.
>
> You can simply ignore it or not load that module in a guest at all.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-30 2:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 3:15 [PATCH] EDAC/mce_amd: Print !SMCA processor warning for 0x19 family Kaige Fu
2021-04-28 9:06 ` Borislav Petkov
2021-04-30 2:47 ` Kaige Fu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).