diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-02-06 08:22:11 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-09-13 12:19:14 +0200 |
commit | a0e2251132995b962281aa80ab54a9288f9e0b6b (patch) | |
tree | bf23cbba43986c2be02acf7e3bd3152539231489 /arch/s390/tools | |
parent | 3c2eb6b76cabb7d90834798d6455f7f3431fc989 (diff) | |
download | linux-a0e2251132995b962281aa80ab54a9288f9e0b6b.tar.gz linux-a0e2251132995b962281aa80ab54a9288f9e0b6b.tar.bz2 linux-a0e2251132995b962281aa80ab54a9288f9e0b6b.zip |
s390: add support for IBM z15 machines
Add detection for machine types 0x8562 and 8x8561 and set the ELF platform
name to z15. Add the miscellaneous-instruction-extension 3 facility to
the list of facilities for z15.
And allow to generate code that only runs on a z15 machine.
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/tools')
-rw-r--r-- | arch/s390/tools/gen_facilities.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index cead9e0dcffb..61ce5b59b828 100644 --- a/arch/s390/tools/gen_facilities.c +++ b/arch/s390/tools/gen_facilities.c @@ -58,6 +58,9 @@ static struct facility_def facility_defs[] = { #ifdef CONFIG_HAVE_MARCH_Z14_FEATURES 58, /* miscellaneous-instruction-extension 2 */ #endif +#ifdef CONFIG_HAVE_MARCH_Z15_FEATURES + 61, /* miscellaneous-instruction-extension 3 */ +#endif -1 /* END */ } }, |