mbox series

[v1,0/7] perf arm-spe: Refactor data source encoding

Message ID 20240827165125.3311306-1-leo.yan@arm.com (mailing list archive)
Headers show
Series perf arm-spe: Refactor data source encoding | expand

Message

Leo Yan Aug. 27, 2024, 4:51 p.m. UTC
As more Arm CPU variants (not only Neoverse CPUs) support data source
encoding, they share the same format for the data source packet.

To extend supporting these CPU variants for Arm SPE data source, this
series refactors the code. It converts the Neoverse specific naming to
the common naming, and then based on the MIDR stored in the metadata to
decide if the CPU follows up the common encoding format.

At the last, it extends CPU list for Neoverse-V2 and Cortex CPUs.

This patch series is dependent on:
https://lore.kernel.org/linux-perf-users/20240827164417.3309560-1-leo.yan@arm.com/T/#mea6f658945a66d37c8633f4c94b2c79312acb573

Besar Wicaksono (1):
  perf arm-spe: Add Neoverse-V2 to common data source encoding list

Leo Yan (6):
  perf arm-spe: Rename arm_spe__synth_data_source_generic()
  perf arm-spe: Rename the common data source encoding
  perf arm-spe: Introduce arm_spe__is_homogeneous()
  perf arm-spe: Use metadata to decide the data source feature
  perf arm-spe: Remove the unused 'midr' field
  perf arm-spe: Add Cortex CPUs to common data source encoding list

 .../util/arm-spe-decoder/arm-spe-decoder.h    |  18 +--
 tools/perf/util/arm-spe.c                     | 136 +++++++++++++++---
 2 files changed, 122 insertions(+), 32 deletions(-)