Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4438868pxb; Tue, 5 Oct 2021 03:10:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEd5IiUgyzDMsQNAvI3mLqbNi9FZCV32dvQj2RpWIe6O4FffwVPRygqo0bGfrrNvxrYZiv X-Received: by 2002:a17:906:3fd7:: with SMTP id k23mr23521263ejj.176.1633428633077; Tue, 05 Oct 2021 03:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633428633; cv=none; d=google.com; s=arc-20160816; b=oLnMt9FUPWOIdOCVxF/BSXhX434hS3pvoDcTyVlHymNYUWiZV0d7Jr263ow81FnDR5 xgOZl6v1gwgJRqofMTCEN4RpPTqHJLNdGidplfFKPQDt6sc3n2bhy7vPz9pOeAOpKIyE GBcKIqNPHqZjANB159EfWvSpp6u+zezdFEdQMAWwf5NAfNeHMAe+LJITA32GDByhpcm0 EoyDgvhB96UWv0Ga7SEHfPkOiIHzt2wVwE/9uTc7mxy7oKpNHmYKH8Z4p6I5jeMMsPDY TUwUV8p0BgYogOt6barsMbuZpSXlgorZcSJGR5wGotMzyQvzhrPnjxydx1z0JJxhvJ4R yd5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=FiySaNYlUlNXsX0Wgngqkx0Gcd3AnCqni6IUnzMKWBI=; b=wsur2bdImokswyKR24O79M9bulOcowUKDuf31CM0ZlRsqWsH8YP6cVsX98y05iIBHX 6gTd6bSd9QPZmmyLabjwZWzynULqIjJQvxFYATHUqoHSKXynUcRyW5mtPjVlpxvQFC4N 1EqbVwoLBqG01IwqiRu3k7SbE1FnsNyOz6JwrHeHB6OcYqlQ/Dy+twrO9YgTF/l4GkxE bkzEHt18qKHVmU1NPpH0oTelJZKjRLFnj80W9z3HUkd5QswsCdkgYBv5vJ30IsUCWUk8 QCALiBmroViFiWjT92mvj5GfyxMSf8d/KNL/6xfzlmeFhVYuzeAKsdL4y8WVvtgWoNcI RZeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he43si31012649ejc.718.2021.10.05.03.10.07; Tue, 05 Oct 2021 03:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233732AbhJEKKM (ORCPT + 99 others); Tue, 5 Oct 2021 06:10:12 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3916 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbhJEKKK (ORCPT ); Tue, 5 Oct 2021 06:10:10 -0400 Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HNtVW6gdcz67Z5Y; Tue, 5 Oct 2021 18:04:51 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Tue, 5 Oct 2021 12:08:18 +0200 Received: from [10.47.95.252] (10.47.95.252) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Tue, 5 Oct 2021 11:08:17 +0100 Subject: Re: [PATCH 1/4] perf vendor events: Syntax corrections in Neoverse N1 json To: Andrew Kilroy , "linux-kernel@vger.kernel.org" , "linux-perf-users@vger.kernel.org" , "acme@kernel.org" CC: Will Deacon , Mathieu Poirier , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , "Namhyung Kim" , "linux-arm-kernel@lists.infradead.org" References: <20211004160008.21645-1-andrew.kilroy@arm.com> From: John Garry Message-ID: Date: Tue, 5 Oct 2021 11:10:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20211004160008.21645-1-andrew.kilroy@arm.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.95.252] X-ClientProxiedBy: lhreml709-chm.china.huawei.com (10.201.108.58) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/10/2021 17:00, Andrew Kilroy wrote: > There are some syntactical mistakes in the json files for the Cortex A76 > N1 (Neoverse N1). This was obstructing parsing from an external tool. If the trailing comma is not allowed by standard, then maybe we should fix our parsing tool to not allow it also. However maybe there is a good reason why we allow it.. Reviewed-by: John Garry > > This patch fixes the erroneous placement of commas causing the problems. > > Signed-off-by: Andrew Kilroy > --- > .../arch/arm64/arm/cortex-a76-n1/branch.json | 4 +-- > .../arch/arm64/arm/cortex-a76-n1/bus.json | 12 +++---- > .../arch/arm64/arm/cortex-a76-n1/cache.json | 34 +++++++++---------- > .../arm64/arm/cortex-a76-n1/exception.json | 4 +-- > .../arm64/arm/cortex-a76-n1/instruction.json | 18 +++++----- > .../arch/arm64/arm/cortex-a76-n1/memory.json | 2 +- > .../arch/arm64/arm/cortex-a76-n1/other.json | 2 +- > .../arm64/arm/cortex-a76-n1/pipeline.json | 4 +-- > 8 files changed, 40 insertions(+), 40 deletions(-) > > diff --git a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json b/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json > index ec0dc92288ab..db68de188390 100644 > --- a/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json > +++ b/tools/perf/pmu-events/arch/arm64/arm/cortex-a76-n1/branch.json > @@ -1,10 +1,10 @@ > [ > { > "PublicDescription": "This event counts any predictable branch instruction which is mispredicted either due to dynamic misprediction or because the MMU is off and the branches are statically predicted not taken", > - "ArchStdEvent": "BR_MIS_PRED", > + "ArchStdEvent": "BR_MIS_PRED" > },