forked from pool/s390-tools
a7f8ed0265
Lots of features implemented for SLES15 SP1. OBS-URL: https://build.opensuse.org/request/show/648783 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=57
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
Subject: cpumf: Add IBM z14 ZR1 to the CPU Measurement Facility model list
|
|
From: Hendrik Brueckner <brueckner@linux.ibm.com>
|
|
|
|
Summary: cpumf: Add CPU-MF hardware counters for z14
|
|
Description: Add hardware counter definitions for IBM z14.
|
|
Upstream-ID: f642019bcc17370231666e772c7e4cec19f1dfdc
|
|
Problem-ID: KRN1608
|
|
|
|
Upstream-Description:
|
|
|
|
cpumf: Add IBM z14 ZR1 to the CPU Measurement Facility model list
|
|
|
|
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
|
|
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
|
|
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
|
|
|
|
|
|
Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
|
|
---
|
|
cpumf/bin/cpumf_helper.in | 1 +
|
|
cpumf/data/cpum-cf-hw-counter.map | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/cpumf/bin/cpumf_helper.in
|
|
+++ b/cpumf/bin/cpumf_helper.in
|
|
@@ -211,6 +211,7 @@ my $system_z_hwtype_map = {
|
|
2964 => 'IBM z13',
|
|
2965 => 'IBM z13s',
|
|
3906 => 'IBM z14',
|
|
+ 3907 => 'IBM z14 ZR1',
|
|
};
|
|
|
|
sub get_hardware_type()
|
|
--- a/cpumf/data/cpum-cf-hw-counter.map
|
|
+++ b/cpumf/data/cpum-cf-hw-counter.map
|
|
@@ -26,4 +26,5 @@
|
|
2964 => 'cpum-cf-extended-z13.ctr',
|
|
2965 => 'cpum-cf-extended-z13.ctr',
|
|
3906 => 'cpum-cf-extended-z14.ctr',
|
|
+ 3907 => 'cpum-cf-extended-z14.ctr',
|
|
};
|