Blob Blame History Raw
From: Thomas Richter <tmricht@linux.ibm.com>
Date: Fri, 12 Apr 2019 11:32:28 +0200
Subject: s390/cpumf: Add extended counter set definitions for model 8561 and
 8562
Git-commit: 820bace734722715c643dcb5f74b502cb912d4eb
Patch-mainline: v5.2-rc1
References: bsc#1142052 LTC#179320

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>
Acked-by: Petr Tesarik <ptesarik@suse.com>
---
 arch/s390/kernel/perf_cpum_cf_events.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/s390/kernel/perf_cpum_cf_events.c
+++ b/arch/s390/kernel/perf_cpum_cf_events.c
@@ -623,6 +623,8 @@ __init const struct attribute_group **cp
 		break;
 	case 0x3906:
 	case 0x3907:
+	case 0x8561:
+	case 0x8562:
 		model = cpumcf_z14_pmu_event_attr;
 		break;
 	default: