From a904142e2dc266b91f9e389c504253b05173a0b1 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 26 Nov 2019 16:49:48 +0800 Subject: [PATCH] Revert "x86: fix Ryzen TR3 3960X/3970X boot issue" This reverts commit 68efdad05e90897936f1a3e7e2de6fc06290ce54. --- .../x86/patches-4.19/700-fix-ryzen-tr3-mce.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 target/linux/x86/patches-4.19/700-fix-ryzen-tr3-mce.patch diff --git a/target/linux/x86/patches-4.19/700-fix-ryzen-tr3-mce.patch b/target/linux/x86/patches-4.19/700-fix-ryzen-tr3-mce.patch deleted file mode 100644 index 6e4bcb25e..000000000 --- a/target/linux/x86/patches-4.19/700-fix-ryzen-tr3-mce.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/arch/x86/kernel/cpu/mce/amd.c b/arch/x86/kernel/cpu/mce/amd.c -index 4f790c375580..ee0f211b5074 100644 ---- a/arch/x86/kernel/cpu/mce/amd.c -+++ b/arch/x86/kernel/cpu/mce/amd.c -@@ -266,7 +266,7 @@ static void smca_configure(unsigned int bank, unsigned int cpu) - smca_set_misc_banks_map(bank, cpu); - - /* Return early if this bank was already initialized. */ -- if (smca_banks[bank].hwid) -+ if (smca_banks[bank].hwid && smca_banks[bank].hwid->hwid_mcatype != 0) - return; - - if (rdmsr_safe_on_cpu(cpu, MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) { --- -2.17.1 \ No newline at end of file