Skip to content

perf: arm_spe: make the PMSCR CX bit[3] consistent across the session

German Gomez linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: arm_spe: make the PMSCR CX bit[3] consistent across the sessiondrivers/perf/arm_spe_pmu.c+4 -20 replies
2/2perf: arm_spe: Enable CONTEXT packets if profiling in CPU modedrivers/perf/arm_spe_pmu.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf: arm_spe: make the PMSCR CX bit[3] consistent across the session

The value of the CX bit of the PMSCR register is not consistent across a perf session. There is an example in [1/2] to reproduce the issue.

This cset applies a small correction to fix the consistency issue.

- [PATCH 1/2] Makes the CX bit consistent by caching the value during the initialization of the SPE PMU event.
- [PATCH 2/2] Allows CONTEXT packets when profiling in CPU mode.

German Gomez (2):
perf: arm_spe: make the PMSCR CX bit[3] consistent across the session
perf: arm_spe: Enable CONTEXT packets if profiling in CPU mode

 drivers/perf/arm_spe_pmu.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1