Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132456908
D51093.id157917.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
407 B
Referenced Files
None
Subscribers
None
D51093.id157917.diff
View Options
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c
--- a/sys/amd64/amd64/initcpu.c
+++ b/sys/amd64/amd64/initcpu.c
@@ -325,6 +325,10 @@
wrmsr(MSR_EFER, msr);
pg_nx = PG_NX;
}
+ if ((amd_feature2 & AMDID2_TCE) != 0) {
+ msr = rdmsr(MSR_EFER) | EFER_TCE;
+ wrmsr(MSR_EFER, msr);
+ }
hw_ibrs_recalculate(false);
hw_ssb_recalculate(false);
amd64_syscall_ret_flush_l1d_recalc();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 18, 2:28 AM (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23839345
Default Alt Text
D51093.id157917.diff (407 B)
Attached To
Mode
D51093: amd64: enable EFER.TCE
Attached
Detach File
Event Timeline
Log In to Comment