Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Richter and committed by
Heiko Carstens
7cf58880 e7ae507c

+2 -2
+2 -2
arch/s390/kernel/perf_cpum_cf_events.c
··· 290 290 CPUMF_EVENT_ATTR(cf_z15, TX_C_TABORT_SPECIAL, 0x00f5); 291 291 CPUMF_EVENT_ATTR(cf_z15, DFLT_ACCESS, 0x00f7); 292 292 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); 295 295 CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_ONE_THR_ACTIVE, 0x01c0); 296 296 CPUMF_EVENT_ATTR(cf_z15, MT_DIAG_CYCLES_TWO_THR_ACTIVE, 0x01c1); 297 297 CPUMF_EVENT_ATTR(cf_z16, L1D_RO_EXCL_WRITES, 0x0080);