Thread (13 messages) 13 messages, 3 authors, 2022-11-04

Re: [PATCH v2 0/7] perf: Arm SPEv1.2 support

From: Rob Herring <robh@kernel.org>
Date: 2022-11-04 14:47:45
Also in: kvmarm, linux-perf-users, lkml

On Fri, Nov 4, 2022 at 6:30 AM James Clark [off-list ref] wrote:


On 19/10/2022 20:11, Rob Herring wrote:
quoted
This series adds support for Arm SPEv1.2 which is part of the
Armv8.7/Armv9.2 architecture. There's 2 new features that affect the
kernel: a new event filter bit, branch 'not taken', and an inverted
event filter register.

Since this support adds new registers and fields, first the SPE register
defines are converted to automatic generation.

Note that the 'config3' addition in sysfs format files causes SPE to
break. A stable fix e552b7be12ed ("perf: Skip and warn on unknown format
'configN' attrs") landed in v6.1-rc1.

The perf tool side changes are available here[1].

Tested on FVP.

[1] https://lore.kernel.org/all/20220914-arm-perf-tool-spe1-2-v2-v4-0-83c098e6212e@kernel.org/ (local)
LGTM. Tested with [1] applied and on N1SDP (where it isn't supported),
and on the FVP. Enabling all the inverted filters results in no trace
and other combinations work as expected.
Thanks, I'll take that as a 'Tested-by' tag if that's okay.

In the future, please be explicit with tags. Tools such as b4 and
patchwork will recognize them and add them automatically.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help