From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759365AbdKPErk (ORCPT ); Wed, 15 Nov 2017 23:47:40 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36026 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758722AbdKPEra (ORCPT ); Wed, 15 Nov 2017 23:47:30 -0500 Subject: Re: [PATCH] PM_RUN_CYC_SMT2_MODE event not suported on P9 To: Mamatha Inamdar References: <150901800962.22452.14521683793785014245.stgit@localhost.localdomain> Cc: linux-kernel@vger.kernel.org, sukadev@linux.vnet.ibm.com, ravi.bangoria@linux.vnet.ibm.com From: Ravi Bangoria Date: Thu, 16 Nov 2017 10:17:43 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <150901800962.22452.14521683793785014245.stgit@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 17111604-0040-0000-0000-000003EEE1B7 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111604-0041-0000-0000-000025F1993F Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-16_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711160065 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > .../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 Thanks, Ravi