Page MenuHomeFreeBSD

D15520.id42839.diff
No OneTemporary

D15520.id42839.diff

Index: sys/dev/cpuctl/cpuctl.c
===================================================================
--- sys/dev/cpuctl/cpuctl.c
+++ sys/dev/cpuctl/cpuctl.c
@@ -367,8 +367,10 @@
rdmsr_safe(MSR_BIOS_SIGN, &rev0); /* Get current microcode revision. */
/*
- * Perform update.
+ * Perform update. Flush caches first to work around seeingly
+ * undocumented errata applying to some Broadwell CPUs.
*/
+ wbinvd();
wrmsr_safe(MSR_BIOS_UPDT_TRIG, (uintptr_t)(ptr));
wrmsr_safe(MSR_BIOS_SIGN, 0);

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 24, 3:40 PM (9 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30258149
Default Alt Text
D15520.id42839.diff (505 B)

Event Timeline