FreeBSD Bugzilla – Attachment 197961 Details for
Bug 232081
12.0-BETA8 crashes under 11.2+Bhyve on Phenom-II (unemulated clflush [ebx])
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Tweak cache features bits before ifuncs are resolved.
1.patch (text/plain), 855 bytes, created by
Konstantin Belousov
on 2018-10-09 10:19:00 UTC
(
hide
)
Description:
Tweak cache features bits before ifuncs are resolved.
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2018-10-09 10:19:00 UTC
Size:
855 bytes
patch
obsolete
>diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c >index dc174e85a61..4f661c24154 100644 >--- a/sys/amd64/amd64/machdep.c >+++ b/sys/amd64/amd64/machdep.c >@@ -1575,11 +1575,8 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) > > identify_cpu1(); > identify_hypervisor(); >- /* >- * hw.cpu_stdext_disable is ignored by the call, it will be >- * re-evaluted by the below call to finishidentcpu(). >- */ > identify_cpu2(); >+ initializecpucache(); > > /* > * Check for pti, pcid, and invpcid before ifuncs are >@@ -1727,7 +1724,6 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) > > finishidentcpu(); /* Final stage of CPU initialization */ > initializecpu(); /* Initialize CPU registers */ >- initializecpucache(); > > /* doublefault stack space, runs on ist1 */ > common_tss[0].tss_ist1 = (long)&dblfault_stack[sizeof(dblfault_stack)];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232081
: 197961