Commit cab6eae5 authored by Stefan Bader's avatar Stefan Bader Committed by Kleber Sacilotto de Souza

Revert "x86/cpu/AMD: Fix erratum 1076 (CPB bit)"

BugLink: https://bugs.launchpad.net/bugs/1791080

This reverts commit 21e1e57b to
be replaced by upstream stable variant.
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent a1183ca9
......@@ -814,15 +814,6 @@ static void init_amd(struct cpuinfo_x86 *c)
if (cpu_has_amd_erratum(c, amd_erratum_400))
set_cpu_bug(c, X86_BUG_AMD_APIC_C1E);
if (c->x86 == 0x17) {
/*
* Fix erratum 1076: CPB feature bit not being set in CPUID.
* It affects all up to and including B1.
*/
if (c->x86_model <= 1 && c->x86_mask <= 1)
set_cpu_cap(c, X86_FEATURE_CPB);
}
rdmsr_safe(MSR_AMD64_PATCH_LEVEL, &c->microcode, &dummy);
/* 3DNow or LM implies PREFETCHW */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment