[PATCH 3/3] x86/pv-shim: suppress core-parking logic

Jan Beulich posted 3 patches 3 years, 2 months ago
There is a newer version of this series
[PATCH 3/3] x86/pv-shim: suppress core-parking logic
Posted by Jan Beulich 3 years, 2 months ago
This is all dead code in shim-exclusive mode, so there's no point in
building it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
Contextually depends on "core-parking: fix build with gcc12 and NR_CPUS=1"

--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -10,7 +10,7 @@ config X86
 	select ALTERNATIVE_CALL
 	select ARCH_MAP_DOMAIN_PAGE
 	select ARCH_SUPPORTS_INT128
-	select CORE_PARKING if NR_CPUS > 1
+	select CORE_PARKING if NR_CPUS > 1 && !PV_SHIM_EXCLUSIVE
 	select HAS_ALTERNATIVE
 	select HAS_COMPAT
 	select HAS_CPUFREQ