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=-15.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,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 A6092C433DB for ; Thu, 21 Jan 2021 10:39:03 +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 3F4B72137B for ; Thu, 21 Jan 2021 10:39:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F4B72137B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=2QoDieotflX9KYDCN6wPYPuqCJubtjJ0T1mkA2cZLDs=; b=p2Fy6WITPOH1yB0S38pxpV3M/ w60qfxQ2xRMvq+3svZPo6ZvqEyJpoAk5y2oCieu7C48n80z81kkUKTJZevN1X6n3CbOaQ0bqdt7Qh 8veG85BE9rSW1hwv7YlB+tEwwyNSJgikxyn6bg+zZbLF/6728CfB64dlus2EaIcp094cVocvztbNl MWYAPDe2dGVdHPwe1UNO+gFxaEv+AGO0dsa1EgYYLolu/W1HDXON+JHq6EIKuoWBCvf+n6Cnypoxm 00bnNDyt4Wu/7I9kvavDhmWG8u1pw/bbabmzvLAYKFb3WhDn6fdt6UHBMbj1iMiAx616eueg/vYho rGoyunlnw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XLK-0007XW-GT; Thu, 21 Jan 2021 10:37:34 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2XLH-0007Ws-LR for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 10:37:32 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7DE5F2137B; Thu, 21 Jan 2021 10:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611225450; bh=1Etgxdl7G90TmACNnd/HP+WyqVm5tYgY7rcqWBkqz1o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=L3pYFv9W108WGMDPWi2nQT4KorANRg8DC1BzTytUbdgR4M6NlMNlffrcpWdcPuIW3 EzEUQw2KV/ujhqu2GBookYeDWnnnFUZG8JbgYM5AqlBsUdsXMYsIKp9uuvpN9/UdvW qEex+BXxq4+C8/6g+nbXeiSvuPCjYEr6g0tvTspjSKpyL12T+EXdZS+tloCa2GwWeF vWImlQp+bye98LMj682xhVUxPMuGGKh0iNkSVrQ6rmBXeztFqwU5I69lZEZE7iNNRv fPBI//Ul0nam2uf+jXOHEAJDseh7PQ4IbVNnaNJttoRaDoJGOQTxxKzeoCU/lVNoQo EijkIVLoHZd/w== Subject: Re: [PATCH] arm64: dts: ti: k3*: Fixup PMU compatibility to be CPU specific To: Nishanth Menon , Sudeep Holla , Suman Anna , Dave Gerlach References: <20210120195145.32259-1-nm@ti.com> From: Tero Kristo Message-ID: <4a57ef04-75ca-5d24-54ef-15aff1ede46e@kernel.org> Date: Thu, 21 Jan 2021 12:37:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210120195145.32259-1-nm@ti.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210121_053731_776892_F4AE984F X-CRM114-Status: GOOD ( 17.73 ) 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: devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, 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 20/01/2021 21:51, Nishanth Menon wrote: > We can use CPU specific pmu configuration to expose the appropriate > CPU specific events rather than just the basic generic pmuv3 perf > events. > > Reported-by: Sudeep Holla > Signed-off-by: Nishanth Menon Reviewed-by: Tero Kristo > --- > > AM65: https://pastebin.ubuntu.com/p/TF2cCMySkt/ > J721E: https://pastebin.ubuntu.com/p/jgGPNmNgG3/ > J7200: https://pastebin.ubuntu.com/p/Kfc3VHHXNB/ > > Original report: https://lore.kernel.org/linux-arm-kernel/20210119172412.smsjdo2sjzqi5vcn@bogus/ > > I have'nt split this patch up for fixes tag primarily because the > basic functionality works and this is an improvement than a critical > fixup to backport for older kernels. > > arch/arm64/boot/dts/ti/k3-am65.dtsi | 2 +- > arch/arm64/boot/dts/ti/k3-j7200.dtsi | 2 +- > arch/arm64/boot/dts/ti/k3-j721e.dtsi | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi > index d84c0bc05023..a9fc1af03f27 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi > @@ -56,7 +56,7 @@ a53_timer0: timer-cl0-cpu0 { > }; > > pmu: pmu { > - compatible = "arm,armv8-pmuv3"; > + compatible = "arm,cortex-a53-pmu"; > /* Recommendation from GIC500 TRM Table A.3 */ > interrupts = ; > }; > diff --git a/arch/arm64/boot/dts/ti/k3-j7200.dtsi b/arch/arm64/boot/dts/ti/k3-j7200.dtsi > index 66169bcf7c9a..b7005b803149 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200.dtsi > @@ -114,7 +114,7 @@ a72_timer0: timer-cl0-cpu0 { > }; > > pmu: pmu { > - compatible = "arm,armv8-pmuv3"; > + compatible = "arm,cortex-a72-pmu"; > interrupts = ; > }; > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi > index cc483f7344af..f0587fde147e 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi > @@ -115,7 +115,7 @@ a72_timer0: timer-cl0-cpu0 { > }; > > pmu: pmu { > - compatible = "arm,armv8-pmuv3"; > + compatible = "arm,cortex-a72-pmu"; > /* Recommendation from GIC500 TRM Table A.3 */ > interrupts = ; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel