aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-11-13 03:26:37 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-23 05:14:31 -0500
commit991c15053a3fc209d76f03c73d4f0621025c9452 (patch)
tree6a21d71eba7e0e67521d54c914a11625685d7cba /arch/s390/Kconfig
parentd1e57508fbd63b340788afe6f2c74a608603e714 (diff)
s390: add zEC12 code generation support
Allow to generate code that only runs on zEC12 machines. Also add a check which prevents the kernel to run on machines which do not have any of the following new facilities installed: - (48) decimal-floating-point zoned-conversion - (49) execution-hint - (49) load-and-trap - (49) miscellaneous-instruction-extensions - (49) processor-assist - (50) constrained transactional-execution - (73) transactional-execution 48, 49, 50 and 73 are the bit numbers of the facility indications for each of the required facilities. Note that we assume that user-space gets compiled with the same compiler options, therefore we also test for a dfp facility even if the kernel doesn't make use of it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index d385f396dfee..1bf4b294c6e9 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -169,6 +169,10 @@ config HAVE_MARCH_Z196_FEATURES
169 def_bool n 169 def_bool n
170 select HAVE_MARCH_Z10_FEATURES 170 select HAVE_MARCH_Z10_FEATURES
171 171
172config HAVE_MARCH_ZEC12_FEATURES
173 def_bool n
174 select HAVE_MARCH_Z196_FEATURES
175
172choice 176choice
173 prompt "Processor type" 177 prompt "Processor type"
174 default MARCH_G5 178 default MARCH_G5
@@ -220,6 +224,13 @@ config MARCH_Z196
220 (2818 and 2817 series). The kernel will be slightly faster but will 224 (2818 and 2817 series). The kernel will be slightly faster but will
221 not work on older machines. 225 not work on older machines.
222 226
227config MARCH_ZEC12
228 bool "IBM zEC12"
229 select HAVE_MARCH_ZEC12_FEATURES if 64BIT
230 help
231 Select this to enable optimizations for IBM zEC12 (2827 series). The
232 kernel will be slightly faster but will not work on older machines.
233
223endchoice 234endchoice
224 235
225config 64BIT 236config 64BIT