Page MenuHomeFreeBSD

D15520.id42843.diff
No OneTemporary

D15520.id42843.diff

Index: head/sys/dev/cpuctl/cpuctl.c
===================================================================
--- head/sys/dev/cpuctl/cpuctl.c
+++ head/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
Sat, Apr 18, 1:24 PM (2 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31721562
Default Alt Text
D15520.id42843.diff (520 B)

Event Timeline