From: Thomas Richter Date: Fri, 12 Apr 2019 09:32:28 +0000 (+0200) Subject: s390/cpumf: Add extended counter set definitions for model 8561 and 8562 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=820bace734722715c643dcb5f74b502cb912d4eb;p=openwrt%2Fstaging%2Fblogic.git s390/cpumf: Add extended counter set definitions for model 8561 and 8562 Add the extended counter set definitions for s390 machine types 8561 and 8262. They are identical with machine types 3906 and 3907. Signed-off-by: Thomas Richter Signed-off-by: Vasily Gorbik --- diff --git a/arch/s390/kernel/perf_cpum_cf_events.c b/arch/s390/kernel/perf_cpum_cf_events.c index 34cc96449b30..8b33e03e47b8 100644 --- a/arch/s390/kernel/perf_cpum_cf_events.c +++ b/arch/s390/kernel/perf_cpum_cf_events.c @@ -624,6 +624,8 @@ __init const struct attribute_group **cpumf_cf_event_group(void) break; case 0x3906: case 0x3907: + case 0x8561: + case 0x8562: model = cpumcf_z14_pmu_event_attr; break; default: