We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ecdccb commit e5d01d2Copy full SHA for e5d01d2
tools/perf/arch/powerpc/util/perf_regs.c
@@ -16,6 +16,7 @@
16
17
#define PVR_POWER9 0x004E
18
#define PVR_POWER10 0x0080
19
+#define PVR_POWER11 0x0082
20
21
static const struct sample_reg sample_reg_masks[] = {
22
SMPL_REG(r0, PERF_REG_POWERPC_R0),
@@ -207,7 +208,7 @@ uint64_t arch__intr_reg_mask(void)
207
208
version = (((mfspr(SPRN_PVR)) >> 16) & 0xFFFF);
209
if (version == PVR_POWER9)
210
extended_mask = PERF_REG_PMU_MASK_300;
- else if (version == PVR_POWER10)
211
+ else if ((version == PVR_POWER10) || (version == PVR_POWER11))
212
extended_mask = PERF_REG_PMU_MASK_31;
213
else
214
return mask;
0 commit comments