linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] perf vendor events: Add missing Neoverse V1 events
@ 2022-09-05 11:40 Nick Forrington
  2022-09-05 20:26 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Forrington @ 2022-09-05 11:40 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users, acme
  Cc: Nick Forrington, John Garry, Will Deacon, James Clark,
	Mike Leach, Leo Yan, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Namhyung Kim, linux-arm-kernel

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@huawei.com> 
Signed-off-by: Nick Forrington <nick.forrington@arm.com>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] perf vendor events: Add missing Neoverse V1 events
  2022-09-05 11:40 [PATCH v2] perf vendor events: Add missing Neoverse V1 events Nick Forrington
@ 2022-09-05 20:26 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2022-09-05 20:26 UTC (permalink / raw)
  To: Nick Forrington
  Cc: linux-kernel, linux-perf-users, John Garry, Will Deacon,
	James Clark, Mike Leach, Leo Yan, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Namhyung Kim, linux-arm-kernel

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@huawei.com> 
> Signed-off-by: Nick Forrington <nick.forrington@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-05 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 11:40 [PATCH v2] perf vendor events: Add missing Neoverse V1 events Nick Forrington
2022-09-05 20:26 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).