summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorEvalds Iodzevics <evalds.iodzevics@gmail.com>2020-04-22 11:17:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-24 07:57:26 +0200
commit27d65e5fe378642ef6d56f26393b9c3b6e94fc8c (patch)
tree6616a9500247055e95e5c246fdda956f8f19f126 /certs
parenteb077831ed8afcb4b68c80ca63be930ac7918bef (diff)
x86/microcode/intel: replace sync_core() with native_cpuid_reg(eax)
On Intel it is required to do CPUID(1) before reading the microcode revision MSR. Current code in 4.4 an 4.9 relies on sync_core() to call CPUID, unfortunately on 32 bit machines code inside sync_core() always jumps past CPUID instruction as it depends on data structure boot_cpu_data witch are not populated correctly so early in boot sequence. It depends on: commit 5dedade6dfa2 ("x86/CPU: Add native CPUID variants returning a single datum") This patch is for 4.4 but also should apply to 4.9 Signed-off-by: Evalds Iodzevics <evalds.iodzevics@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions