s390/cpumf: Add extended counter set definitions for model 8561 and 8562
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 12 Apr 2019 09:32:28 +0000 (11:32 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 11 Jul 2019 18:40:01 +0000 (20:40 +0200)
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 <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf_events.c

index 34cc964..8b33e03 100644 (file)
@@ -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: