Skip to content

Commit 451239e

Browse files
heicarstMartin Schwidefsky
authored andcommitted
s390: add support for IBM z14 Model ZR1
Just add the new machine type number to the two places that matter. Cc: <stable@vger.kernel.org> # v4.14+ Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent f43c426 commit 451239e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

arch/s390/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,12 @@ config MARCH_Z13
286286
older machines.
287287

288288
config MARCH_Z14
289-
bool "IBM z14"
289+
bool "IBM z14 ZR1 and z14"
290290
select HAVE_MARCH_Z14_FEATURES
291291
help
292-
Select this to enable optimizations for IBM z14 (3906 series).
293-
The kernel will be slightly faster but will not work on older
294-
machines.
292+
Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
293+
and 3906 series). The kernel will be slightly faster but will not
294+
work on older machines.
295295

296296
endchoice
297297

arch/s390/kernel/perf_cpum_cf_events.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ __init const struct attribute_group **cpumf_cf_event_group(void)
583583
model = cpumcf_z13_pmu_event_attr;
584584
break;
585585
case 0x3906:
586+
case 0x3907:
586587
model = cpumcf_z14_pmu_event_attr;
587588
break;
588589
default:

arch/s390/kernel/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ static int __init setup_hwcaps(void)
821821
strcpy(elf_platform, "z13");
822822
break;
823823
case 0x3906:
824+
case 0x3907:
824825
strcpy(elf_platform, "z14");
825826
break;
826827
}

0 commit comments

Comments
 (0)