]> xenbits.xensource.com Git - xen.git/commit
x86/ucode/intel: Writeback and invalidate caches before updating microcode
authorAshok Raj <ashok.raj@intel.com>
Wed, 28 Feb 2018 10:28:42 +0000 (10:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 May 2020 19:18:19 +0000 (20:18 +0100)
commit77c82949990edaf21130be842a289a7fb7a439e1
tree206cd01831e57d833e646b7cb013afae0d9a374f
parent434596bbd44ad75c3f84396a2b2d283eeb9f0688
x86/ucode/intel: Writeback and invalidate caches before updating microcode

Updating microcode is less error prone when caches have been flushed and
depending on what exactly the microcode is updating. For example, some of the
issues around certain Broadwell parts can be addressed by doing a full cache
flush.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[Linux commit 91df9fdf51492aec9fed6b4cbd33160886740f47, ported to Xen]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/microcode/intel.c