summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/processor.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-07-23 19:45:53 +0200
committerHeiko Carstens <hca@linux.ibm.com>2022-04-06 13:08:50 +0200
commit6203ac30297847ddc5e122ccdcbe9941fbc258e6 (patch)
tree261d0c594e54c3dde5429ff5fa66e0a8205b6368 /arch/s390/kernel/processor.c
parentLinux 5.18-rc1 (diff)
downloadlinux-6203ac30297847ddc5e122ccdcbe9941fbc258e6.tar.xz
linux-6203ac30297847ddc5e122ccdcbe9941fbc258e6.zip
s390: add z16 elf platform
Add detection for machine types 0x3931 and 0x3932 and set ELF platform name to z16. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/processor.c')
-rw-r--r--arch/s390/kernel/processor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c
index 7a74ea5f7531..aa0e0e7fc773 100644
--- a/arch/s390/kernel/processor.c
+++ b/arch/s390/kernel/processor.c
@@ -283,6 +283,10 @@ static int __init setup_elf_platform(void)
case 0x8562:
strcpy(elf_platform, "z15");
break;
+ case 0x3931:
+ case 0x3932:
+ strcpy(elf_platform, "z16");
+ break;
}
return 0;
}