[PATCH v1 0/3] arm64: Support Cortex-X4 CPU for Perf Arm SPE

From: Leo Yan
Date: Mon Jul 17 2023 - 01:43:56 EST


This series support Cortex-X4 CPU in Perf Arm SPE.

The Arm64 and tools both include the header cputype.h for CPU part and
MIDR definitions, to de-couple between the tools and the kernel, the
tools doesn't directly use the kernel's header, alternatively, the tools
maintain a copy and sync with kernel's header.

To keep the exact same content between kernel and tools' headers, this
series firstly adds Cortex-X4 CPU part and MIDR definitions in the
kernel header; then the second patch syncs the change into the tools'
header. The first patch is to support the Cortex-X4 in perf Arm SPE
with the new CPU definitions.

I don't have Cortex-X4 machine in hand, so just verified with
compilation perf tool.


Leo Yan (3):
arm64: Add Cortex-X4 CPU part definitions
tools headers arm64: Sync Cortex-X4 CPU part definitions
perf arm-spe: Support data source for Cortex-X4 CPU

arch/arm64/include/asm/cputype.h | 2 ++
tools/arch/arm64/include/asm/cputype.h | 2 ++
tools/perf/util/arm-spe.c | 14 ++++++++------
3 files changed, 12 insertions(+), 6 deletions(-)

--
2.34.1