Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165150600
D58335.id182198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
851 B
Referenced Files
None
Subscribers
None
D58335.id182198.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
@@ -262,6 +262,7 @@
return;
PCPU_SET(small_core, 1);
+ hybrid_small_cores = 1;
if (pmap_pcid_enabled && invpcid_works &&
pmap_pcid_invlpg_workaround_uena) {
PCPU_SET(pcid_invlpg_workaround, 1);
diff --git a/sys/x86/include/x86_var.h b/sys/x86/include/x86_var.h
--- a/sys/x86/include/x86_var.h
+++ b/sys/x86/include/x86_var.h
@@ -97,6 +97,7 @@
extern int zenbleed_enable;
extern int cpu_amdc1e_bug;
extern char bootmethod[16];
+extern int hybrid_small_cores;
struct pcb;
struct thread;
diff --git a/sys/x86/x86/cpu_machdep.c b/sys/x86/x86/cpu_machdep.c
--- a/sys/x86/x86/cpu_machdep.c
+++ b/sys/x86/x86/cpu_machdep.c
@@ -1873,3 +1873,5 @@
else
return (rdtsc);
}
+
+int hybrid_small_cores;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 7, 10:23 AM (6 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36164332
Default Alt Text
D58335.id182198.diff (851 B)
Attached To
Mode
D58335: i386: provide PCPU pc_small_core for amd64 compat
Attached
Detach File
Event Timeline
Log In to Comment