[PATCH v1 0/3] arm64: Support Cortex-X4 CPU for Perf Arm SPE
Ali Saidi
alisaidi at amazon.com
Fri Jul 21 11:16:53 PDT 2023
Hi Leo,
On Mon, 17 Jul 2023 05:43:24 +0000, Leo Yan wrote:
> 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.
This looks good to me, but can we add the other cores that operate the
same way now too? Flipping through the TRMs A78, X3, V2, X1, A715,
A720, and A78C all have the same encodings.
Reviewed-by: Ali Saidi <alisaidi at amazon.com>
Thanks!
Ali
More information about the linux-arm-kernel
mailing list