[PATCH v2] perf vendor events: Add missing Neoverse V1 events

Arnaldo Carvalho de Melo acme at kernel.org
Mon Sep 5 13:26:24 PDT 2022


Em Mon, Sep 05, 2022 at 12:40:24PM +0100, Nick Forrington escreveu:
> Based on updated data from:
> https://github.com/ARM-software/data/blob/master/pmu/neoverse-v1.json
> 
> which is based on PMU event descriptions from the Arm Neoverse V1
> Technical Reference Manual.
> 
> This adds the following missing events:
> ASE_INST_SPEC
> SVE_INST_SPEC
> SVE_PRED_SPEC
> SVE_PRED_EMPTY_SPEC
> SVE_PRED_FULL_SPEC
> SVE_PRED_PARTIAL_SPEC
> SVE_LDFF_SPEC
> SVE_LDFF_FAULT_SPEC
> FP_SCALE_OPS_SPEC
> FP_FIXED_OPS_SPEC
> 
> Reviewed-by: John Garry <john.garry at huawei.com> 
> Signed-off-by: Nick Forrington <nick.forrington at arm.com>



Thanks, applied.

- Arnaldo


> ---
> V1 -> V2: Remove REMOTE_ACCESS re-categorisation (to be submitted
> separately)
>  .../arm64/arm/neoverse-v1/instruction.json    | 30 +++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json
> index 25825e14c535..e29b88fb7f24 100644
> --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json
> +++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json
> @@ -85,5 +85,35 @@
>      },
>      {
>          "ArchStdEvent": "RC_ST_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "ASE_INST_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_INST_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_PRED_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_PRED_EMPTY_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_PRED_FULL_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_PRED_PARTIAL_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_LDFF_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "SVE_LDFF_FAULT_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "FP_SCALE_OPS_SPEC"
> +    },
> +    {
> +        "ArchStdEvent": "FP_FIXED_OPS_SPEC"
>      }
>  ]
> -- 
> 2.25.1

-- 

- Arnaldo



More information about the linux-arm-kernel mailing list