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
Wed, Apr 15, 11:31 AM (8 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31536627
Default Alt Text
D15520.id42839.diff (505 B)

Event Timeline