Skip to content

Commit 7cf5888

Browse files
Thomas Richterhcahca
authored andcommitted
s390/cpumf: Adjust number of leading zeroes for z15 attributes
In CPUMF attribute definitions for z15 all CPUMF attributes have configuration values of the form 0x0[0-9a-f]{3} . However 2 defines do not match this scheme, they have two leading zeroes instead of one. Adjust this. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent e7ae507 commit 7cf5888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/s390/kernel/perf_cpum_cf_events.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ CPUMF_EVENT_ATTR(cf_z15, TX_C_TABORT_NO_SPECIAL, 0x00f4);
290290
CPUMF_EVENT_ATTR(cf_z15, TX_C_TABORT_SPECIAL, 0x00f5);
291291
CPUMF_EVENT_ATTR(cf_z15, DFLT_ACCESS, 0x00f7);
292292
CPUMF_EVENT_ATTR(cf_z15, DFLT_CYCLES, 0x00fc);
293-
CPUMF_EVENT_ATTR(cf_z15, DFLT_CC, 0x00108);
294-
CPUMF_EVENT_ATTR(cf_z15, DFLT_CCFINISH, 0x00109);
293+
CPUMF_EVENT_ATTR(cf_z15, DFLT_CC, 0x0108);
294+
CPUMF_EVENT_ATTR(cf_z15, DFLT_CCFINISH, 0x0109);
295295
CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_ONE_THR_ACTIVE, 0x01c0);
296296
CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_TWO_THR_ACTIVE, 0x01c1);
297297
CPUMF_EVENT_ATTR(cf_z16, L1D_RO_EXCL_WRITES, 0x0080);

0 commit comments

Comments
 (0)