public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]perf vendor events:Remove P8 HW events which are not supported
@ 2019-09-09  7:03 Mamatha Inamdar
  2019-09-24 19:39 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Mamatha Inamdar @ 2019-09-09  7:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: ravi.bangoria, maddy, peterz, mpe, acme, alexander.shishkin,
	mingo, namhyung, jolsa

This patch is to remove following hardware events
from JSON file which are not supported on POWER8.

pm_l3_p0_grp_pump
pm_l3_p0_lco_data
pm_l3_p0_lco_no_data
pm_l3_p0_lco_rty

Fixes: c3b4d5c4afb0 ("perf vendor events: Remove P8 HW events which are not supported")
Note: Unfortunately power8 event list is not publicly available.
Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
Acked-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
---
 .../perf/pmu-events/arch/powerpc/power8/other.json |   24 --------------------
 1 file changed, 24 deletions(-)

diff --git a/tools/perf/pmu-events/arch/powerpc/power8/other.json b/tools/perf/pmu-events/arch/powerpc/power8/other.json
index 9dc2f6b7..b2a3df0 100644
--- a/tools/perf/pmu-events/arch/powerpc/power8/other.json
+++ b/tools/perf/pmu-events/arch/powerpc/power8/other.json
@@ -1776,30 +1776,6 @@
     "PublicDescription": ""
   },
   {,
-    "EventCode": "0xa29084",
-    "EventName": "PM_L3_P0_GRP_PUMP",
-    "BriefDescription": "L3 pf sent with grp scope port 0",
-    "PublicDescription": ""
-  },
-  {,
-    "EventCode": "0x528084",
-    "EventName": "PM_L3_P0_LCO_DATA",
-    "BriefDescription": "lco sent with data port 0",
-    "PublicDescription": ""
-  },
-  {,
-    "EventCode": "0x518080",
-    "EventName": "PM_L3_P0_LCO_NO_DATA",
-    "BriefDescription": "dataless l3 lco sent port 0",
-    "PublicDescription": ""
-  },
-  {,
-    "EventCode": "0xa4908c",
-    "EventName": "PM_L3_P0_LCO_RTY",
-    "BriefDescription": "L3 LCO received retry port 0",
-    "PublicDescription": ""
-  },
-  {,
     "EventCode": "0x84908d",
     "EventName": "PM_L3_PF0_ALLOC",
     "BriefDescription": "lifetime, sample of PF machine 0 valid",


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

* Re: [PATCH]perf vendor events:Remove P8 HW events which are not supported
  2019-09-09  7:03 [PATCH]perf vendor events:Remove P8 HW events which are not supported Mamatha Inamdar
@ 2019-09-24 19:39 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2019-09-24 19:39 UTC (permalink / raw)
  To: Mamatha Inamdar
  Cc: linux-kernel, ravi.bangoria, maddy, peterz, mpe,
	alexander.shishkin, mingo, namhyung, jolsa

Em Mon, Sep 09, 2019 at 12:33:33PM +0530, Mamatha Inamdar escreveu:
> This patch is to remove following hardware events
> from JSON file which are not supported on POWER8.
> 
> pm_l3_p0_grp_pump
> pm_l3_p0_lco_data
> pm_l3_p0_lco_no_data
> pm_l3_p0_lco_rty

Thanks, applied.

- Arnaldo
 
> Fixes: c3b4d5c4afb0 ("perf vendor events: Remove P8 HW events which are not supported")
> Note: Unfortunately power8 event list is not publicly available.
> Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
> Acked-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
> ---
>  .../perf/pmu-events/arch/powerpc/power8/other.json |   24 --------------------
>  1 file changed, 24 deletions(-)
> 
> diff --git a/tools/perf/pmu-events/arch/powerpc/power8/other.json b/tools/perf/pmu-events/arch/powerpc/power8/other.json
> index 9dc2f6b7..b2a3df0 100644
> --- a/tools/perf/pmu-events/arch/powerpc/power8/other.json
> +++ b/tools/perf/pmu-events/arch/powerpc/power8/other.json
> @@ -1776,30 +1776,6 @@
>      "PublicDescription": ""
>    },
>    {,
> -    "EventCode": "0xa29084",
> -    "EventName": "PM_L3_P0_GRP_PUMP",
> -    "BriefDescription": "L3 pf sent with grp scope port 0",
> -    "PublicDescription": ""
> -  },
> -  {,
> -    "EventCode": "0x528084",
> -    "EventName": "PM_L3_P0_LCO_DATA",
> -    "BriefDescription": "lco sent with data port 0",
> -    "PublicDescription": ""
> -  },
> -  {,
> -    "EventCode": "0x518080",
> -    "EventName": "PM_L3_P0_LCO_NO_DATA",
> -    "BriefDescription": "dataless l3 lco sent port 0",
> -    "PublicDescription": ""
> -  },
> -  {,
> -    "EventCode": "0xa4908c",
> -    "EventName": "PM_L3_P0_LCO_RTY",
> -    "BriefDescription": "L3 LCO received retry port 0",
> -    "PublicDescription": ""
> -  },
> -  {,
>      "EventCode": "0x84908d",
>      "EventName": "PM_L3_PF0_ALLOC",
>      "BriefDescription": "lifetime, sample of PF machine 0 valid",

-- 

- Arnaldo

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

end of thread, other threads:[~2019-09-24 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-09  7:03 [PATCH]perf vendor events:Remove P8 HW events which are not supported Mamatha Inamdar
2019-09-24 19:39 ` 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