mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9
@ 2017-10-26 11:40 Mamatha Inamdar
  2017-11-16  4:47 ` Ravi Bangoria
  0 siblings, 1 reply; 2+ messages in thread
From: Mamatha Inamdar @ 2017-10-26 11:40 UTC (permalink / raw)
  To: linux-kernel

As per the p9 event spreadsheet pm_run_cyc_smt2_mode is not listed.
So this patch is to remove pm_run_cyc_smt2_mode from JSON file

Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
---
 .../perf/pmu-events/arch/powerpc/power9/cache.json |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tools/perf/pmu-events/arch/powerpc/power9/cache.json b/tools/perf/pmu-events/arch/powerpc/power9/cache.json
index 18f6645..aecca97 100644
--- a/tools/perf/pmu-events/arch/powerpc/power9/cache.json
+++ b/tools/perf/pmu-events/arch/powerpc/power9/cache.json
@@ -125,13 +125,8 @@
     "BriefDescription": "Finish stall because the NTF instruction was a larx waiting to be satisfied"
   },
   {,
-    "EventCode": "0x3006C",
-    "EventName": "PM_RUN_CYC_SMT2_MODE",
-    "BriefDescription": "Cycles in which this thread's run latch is set and the core is in SMT2 mode"
-  },
-  {,
     "EventCode": "0x1C058",
     "EventName": "PM_DTLB_MISS_16G",
     "BriefDescription": "Data TLB Miss page size 16G"
   }
-]
\ No newline at end of file
+]

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

* Re: [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9
  2017-10-26 11:40 [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9 Mamatha Inamdar
@ 2017-11-16  4:47 ` Ravi Bangoria
  0 siblings, 0 replies; 2+ messages in thread
From: Ravi Bangoria @ 2017-11-16  4:47 UTC (permalink / raw)
  To: Mamatha Inamdar; +Cc: linux-kernel, sukadev, ravi.bangoria

Hi Mamatha,

On 10/26/2017 05:10 PM, Mamatha Inamdar wrote:
> As per the p9 event spreadsheet pm_run_cyc_smt2_mode is not listed.
> So this patch is to remove pm_run_cyc_smt2_mode from JSON file
>
> Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
> ---
>   .../perf/pmu-events/arch/powerpc/power9/cache.json |    7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/tools/perf/pmu-events/arch/powerpc/power9/cache.json b/tools/perf/pmu-events/arch/powerpc/power9/cache.json
> index 18f6645..aecca97 100644
> --- a/tools/perf/pmu-events/arch/powerpc/power9/cache.json
> +++ b/tools/perf/pmu-events/arch/powerpc/power9/cache.json
> @@ -125,13 +125,8 @@
>       "BriefDescription": "Finish stall because the NTF instruction was a larx waiting to be satisfied"
>     },
>     {,
> -    "EventCode": "0x3006C",
> -    "EventName": "PM_RUN_CYC_SMT2_MODE",
> -    "BriefDescription": "Cycles in which this thread's run latch is set and the core is in SMT2 mode"
> -  },
> -  {,
>       "EventCode": "0x1C058",
>       "EventName": "PM_DTLB_MISS_16G",
>       "BriefDescription": "Data TLB Miss page size 16G"
>     }
> -]
> \ No newline at end of file
> +]

^^^ This 'newline thing' is unnecessary change. Can you please
resend the patch without it.

Otherwise, Ack-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>

Thanks,
Ravi

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

end of thread, other threads:[~2017-11-16  4:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 11:40 [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9 Mamatha Inamdar
2017-11-16  4:47 ` Ravi Bangoria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®