Commit fda7561f authored by Borislav Petkov's avatar Borislav Petkov Committed by Borislav Petkov
Browse files

EDAC, MCE: Enable MCE decoding on F12h



Turn on MCE decoding on F12h.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent cb9d5ecd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -611,7 +611,7 @@ static int __init mce_amd_init(void)
	if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
	if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
		return 0;
		return 0;


	if ((boot_cpu_data.x86 < 0xf || boot_cpu_data.x86 > 0x11) &&
	if ((boot_cpu_data.x86 < 0xf || boot_cpu_data.x86 > 0x12) &&
	    (boot_cpu_data.x86 != 0x14 || boot_cpu_data.x86_model > 0xf))
	    (boot_cpu_data.x86 != 0x14 || boot_cpu_data.x86_model > 0xf))
		return 0;
		return 0;