lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 17 Feb 2020 08:46:27 -0500 From: Prarit Bhargava <prarit@...hat.com> To: linux-kernel@...r.kernel.org Cc: Prarit Bhargava <prarit@...hat.com>, Borislav Petkov <bp@...en8.de>, Mauro Carvalho Chehab <mchehab@...nel.org>, Tony Luck <tony.luck@...el.com>, James Morse <james.morse@....com>, Robert Richter <rrichter@...vell.com>, linux-edac@...r.kernel.org Subject: [PATCH] EDAC/mce_amd: Output Scalable MCA processor warning once This warning is output for every virtual cpu in a guest on an EPYC 2 system. The warning only needs to be logged one time. Output the warning only once. Signed-off-by: Prarit Bhargava <prarit@...hat.com> Cc: Borislav Petkov <bp@...en8.de> Cc: Mauro Carvalho Chehab <mchehab@...nel.org> Cc: Tony Luck <tony.luck@...el.com> Cc: James Morse <james.morse@....com> Cc: Robert Richter <rrichter@...vell.com> Cc: linux-edac@...r.kernel.org --- drivers/edac/mce_amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index ea980c556f2e..8874b7722b2f 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -1239,7 +1239,7 @@ static int __init mce_amd_init(void) case 0x17: case 0x18: - pr_warn("Decoding supported only on Scalable MCA processors.\n"); + pr_warn_once("Decoding supported only on Scalable MCA processors.\n"); return -EINVAL; default: -- 2.21.1
Powered by blists - more mailing lists