s390: add zEC12 code generation support
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 13 Nov 2012 08:26:37 +0000 (10:26 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 23 Nov 2012 10:14:31 +0000 (11:14 +0100)
commit991c15053a3fc209d76f03c73d4f0621025c9452
tree6a21d71eba7e0e67521d54c914a11625685d7cba
parentd1e57508fbd63b340788afe6f2c74a608603e714
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>
arch/s390/Kconfig
arch/s390/Makefile
arch/s390/kernel/head.S
arch/s390/kernel/setup.c