Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA8B4C433E6 for ; Mon, 25 Jan 2021 12:54:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F36B222F9 for ; Mon, 25 Jan 2021 12:54:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F36B222F9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D76ck7ERpSAo/zeuzyno5tO+91H6pMeK9jymy6ZGGWs=; b=P/fA11Ts25sgmSeyfMffSpLE7 dc46atNQixCfx6eEBC3W1RYVyyec0g9xlaxPbTlBehNqS3q59NqkjwiF/jdzMX2m2/RqEvM3fRKEB UT/VN90QdFE4AtD0aO6PdTMrQXueDbJYTihivyvgdvwTbrW7AesSKwOMpP1Q+A/S4oksALfO/5QQ1 HkNw8CIyMB07qfcmuuZtYRXBrRtT0Y5uIG4ENe4duGlbjmEs0CYT3rQPj5sEUFy/pnEB2T01Fe6wn ft/el1YqFVewYjK41ZVpoq/ZwcKJHfdjEQ5K36ncPM47mVMqnWBlazA/qnRor8S1Yt9o3Tcp8JYU5 6PLYSIW4A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l41K9-00020t-QL; Mon, 25 Jan 2021 12:50:29 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l41K7-000203-3x for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 12:50:28 +0000 Received: from fraeml703-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DPV3K404jz67gKV; Mon, 25 Jan 2021 20:46:05 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml703-chm.china.huawei.com (10.206.15.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Mon, 25 Jan 2021 13:50:25 +0100 Received: from [10.47.2.25] (10.47.2.25) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 25 Jan 2021 12:50:24 +0000 Subject: Re: [PATCH 0/4] perf vendor events arm64: Some tidy-up/refactoring To: , , , , , , , , References: <1611575600-2440-1-git-send-email-john.garry@huawei.com> From: John Garry Message-ID: Date: Mon, 25 Jan 2021 12:49:04 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <1611575600-2440-1-git-send-email-john.garry@huawei.com> Content-Language: en-US X-Originating-IP: [10.47.2.25] X-ClientProxiedBy: lhreml745-chm.china.huawei.com (10.201.108.195) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_075027_379141_E682910D X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nakamura.shun@jp.fujitsu.com, Mathieu Poirier , linux-kernel@vger.kernel.org, linuxarm@openeuler.org, james.clark@arm.com, Leo Yan , Will Deacon , "linux-arm-kernel@lists.infradead.org" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25/01/2021 11:53, John Garry wrote: + Missed reviewers for https://lore.kernel.org/lkml/1611575600-2440-1-git-send-email-john.garry@huawei.com/T/#u > There is much event duplication in the common and uarch events for A76 > and Ampere eMag support, so factor out into a common JSON. > > Since the wording for events may differ between CPU datasheet and > the architecture reference manual, the current wording is kept. This > is unless there are minor differences. In addition, event names are > renamed to be same as architecture reference manual, to keep commonality. > > Also a minor fix is included for the Ampere eMag JSON. > > John Garry (4): > perf vendor events arm64: Fix Ampere eMag event typo > perf vendor events arm64: Add common and uarch event JSON > perf vendor events arm64: Reference common and uarch events for Ampere > eMag > perf vendor events arm64: Reference common and uarch events for A76 > > .../arch/arm64/ampere/emag/branch.json | 8 +- > .../arch/arm64/ampere/emag/bus.json | 5 +- > .../arch/arm64/ampere/emag/cache.json | 58 +--- > .../arch/arm64/ampere/emag/clock.json | 4 +- > .../arch/arm64/ampere/emag/exception.json | 10 +- > .../arch/arm64/ampere/emag/instruction.json | 34 +-- > .../arch/arm64/ampere/emag/memory.json | 11 +- > .../arch/arm64/arm/cortex-a76-n1/branch.json | 12 +- > .../arch/arm64/arm/cortex-a76-n1/bus.json | 19 +- > .../arch/arm64/arm/cortex-a76-n1/cache.json | 118 +++------ > .../arm64/arm/cortex-a76-n1/exception.json | 10 +- > .../arm64/arm/cortex-a76-n1/instruction.json | 45 +--- > .../arch/arm64/arm/cortex-a76-n1/memory.json | 6 +- > .../arch/arm64/arm/cortex-a76-n1/other.json | 4 +- > .../arm64/arm/cortex-a76-n1/pipeline.json | 12 +- > .../arm64/armv8-common-and-microarch.json | 248 ++++++++++++++++++ > 16 files changed, 356 insertions(+), 248 deletions(-) > create mode 100644 tools/perf/pmu-events/arch/arm64/armv8-common-and-microarch.json > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel