[PATCH v3 8/8] perf: arm_spe: Add support for SPEv1.2 inverted event filtering

Namhyung Kim namhyung at kernel.org
Mon Nov 7 11:48:23 PST 2022


Hello,

On Fri, Nov 4, 2022 at 8:55 AM Rob Herring <robh at kernel.org> wrote:
>
> Arm SPEv1.2 (Arm v8.7/v9.2) adds a new feature called Inverted Event
> Filter which excludes samples matching the event filter. The feature
> mirrors the existing event filter in PMSEVFR_EL1 adding a new register,
> PMSNEVFR_EL1, which has the same event bit assignments.

Just out of curiosity, is it possible to have the event filter and
inverted filter at the same time?  What if they have the same?

Thanks,
Namhyung

>
> Tested-by: James Clark <james.clark at arm.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> v3:
>  - No change
> v2:
>  - Update for auto generated register defines
>  - Avoid accessing SYS_PMSNEVFR_EL1 on < v8.7
> ---



More information about the linux-arm-kernel mailing list