summaryrefslogtreecommitdiff
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorTobias Huschle <huschle@linux.ibm.com>2024-08-12 13:39:32 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-08-29 22:56:35 +0200
commit7e627f819302b8c22098b0575c35a3349c4e306f (patch)
tree9853e32026531b83e656400cd396b1818360fccc /arch/s390/Kconfig
parent9dd333e7afc4a4855f821a7be83733b8ef48d5ba (diff)
s390/topology: Add config option to switch to vertical during boot
By default, all systems on s390 start in horizontal cpu polarization. Selecting the new config option SCHED_TOPOLOGY_VERTICAL allows to build a kernel that switches to vertical polarization during boot. Acked-by: Heiko Carstens <hca@linux.ibm.com> Tested-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Tobias Huschle <huschle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index abc7e1cc0e7c..2ee634bab222 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -513,6 +513,14 @@ config SCHED_TOPOLOGY
making when dealing with machines that have multi-threading,
multiple cores or multiple books.
+config SCHED_TOPOLOGY_VERTICAL
+ def_bool y
+ bool "Use vertical CPU polarization by default"
+ depends on SCHED_TOPOLOGY
+ help
+ Use vertical CPU polarization by default if available.
+ The default CPU polarization is horizontal.
+
source "kernel/Kconfig.hz"
config CERT_STORE