From a2027eaad6c57e9d5483b380be40a4fdfe7c9668 Mon Sep 17 00:00:00 2001 From: Zelin Deng Date: Tue, 27 Apr 2021 08:08:08 +0800 Subject: [PATCH 2702/2944] alinux: EDAC/mce_amd: More reasonable warning for no SCMA 19th CPUs to #33677581 On family 19 processors whose SCMA is not available -- no SCMA present in outputs of lscpu, it's more reasonable to prompt that SCMA feature is required so that users are easier to catch what exactly has happened. Signed-off-by: Zelin Deng Reviewed-by: Artie Ding --- 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 6616296..9ced065 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -1246,6 +1246,7 @@ static int __init mce_amd_init(void) case 0x17: case 0x18: + case 0x19: pr_warn("Decoding supported only on Scalable MCA processors.\n"); goto err_out; break; -- 1.8.3.1