Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cec7924f authored by Borislav Petkov's avatar Borislav Petkov
Browse files

edac, mce: update AMD F10h revD check



F10h revD start with model number 8.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 1f6bcee7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ void amd_decode_nb_mce(int node_id, struct err_regs *regs, int handle_errors)
	 * value encoding has changed so interpret those differently
	 */
	if ((boot_cpu_data.x86 == 0x10) &&
	    (boot_cpu_data.x86_model > 8)) {
	    (boot_cpu_data.x86_model > 7)) {
		if (regs->nbsh & K8_NBSH_ERR_CPU_VAL)
			pr_cont(", core: %u\n", (u8)(regs->nbsh & 0xf));
	} else {