Received: by 10.223.164.202 with SMTP id h10csp93961wrb; Thu, 9 Nov 2017 03:19:32 -0800 (PST) X-Google-Smtp-Source: ABhQp+SH0BQuoln3R3kDTiB4VWSAp0bsaZSMRxFyoWgv0PQViH99IjthXUI1JTnZKRDlp4bGLvUs X-Received: by 10.99.45.65 with SMTP id t62mr131189pgt.446.1510226372322; Thu, 09 Nov 2017 03:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510226372; cv=none; d=google.com; s=arc-20160816; b=h2TXHR02Gvy+IvCnAw2VYjl7EpDrV7psdgiXGZkkWCWMIRaGmYPAFyegcwnrXqCGu3 QC6HghUW+mgRecyf3nhUQa9nOo/yQBIqZSYZ6IH1QlJuxsitdAxsvtII3LyUjSC9dKRt TWKw+QH+DjNBE7RLgQDB5FUwRuGaKyPLLFc5Nqe+NNfg+6B2kE+Kvahlv3VqzPYfBt1u +N7In3p+Vjzfu5IDyf4zkkyxKVrmavd3UCIigJmWRafzORmwWn08KRImA634zS9vqCFi kOpwXzR1r/AECijVplsMNeRE8sGdP1Y60VKUUqzZeNXVvp5GwPEHLQGGcXd6uI/KT1+2 dOpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=fX3qxUJf/1JpqfDTXscVU+dvI80zbxVVYGQPVKQbIRc=; b=dyfLSK5Ysmhi2JEindCnDddtKNcelzT1y0hW8FEx3GI1T5Ozk8O2nZ1f/OzQlPh6Hm R0/En/Ig8zx/vG2ltOf5PpIVvhKwtqtv5avMttf+6hir/qLUl4btcb5uMSMSkY3osTYB cMMdMbu34y2R9UtCDrbkCz9+pVDyjaGJkRC1SSvYkvUcISyGp20Gq0uK+F/4bh38EpjE CrBN52o/Fy81jQMWEWLxuPu+houMJ8xg37LU7FV2RDq7oGx9j3T5f1v1YuJbjxyJJt29 Y/6lM55IVVHy5Hrj7qHeE01TxV1oOf7K6JMyjd+sX0VE4NJMt71hky9+Hnn8KZukiIWD ft5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si5936950plr.395.2017.11.09.03.19.20; Thu, 09 Nov 2017 03:19:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753619AbdKILSn (ORCPT + 81 others); Thu, 9 Nov 2017 06:18:43 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10424 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752066AbdKILSm (ORCPT ); Thu, 9 Nov 2017 06:18:42 -0500 Received: from 172.30.72.60 (EHLO DGGEMS411-HUB.china.huawei.com) ([172.30.72.60]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKM68681; Thu, 09 Nov 2017 19:18:34 +0800 (CST) Received: from vm167-7.huawei.com (10.177.167.7) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.361.1; Thu, 9 Nov 2017 19:18:24 +0800 From: Xu YiPing To: , , , , , , , , CC: , , Subject: [PATCH v2] arm64: dts: hi3660: improve pmu description Date: Thu, 9 Nov 2017 19:18:23 +0800 Message-ID: <1510226303-20950-1-git-send-email-xuyiping@hisilicon.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.167.7] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5A04398A.0124,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: b28a4313f59204515baea820f422e447 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cortex-a73 pmu driver is supported now. hi3660 is 4*a73 + 4*a53, so it should use "cortex-a73-pmu" and "cortex-a53-pmu" instead of "armpmu-v3", then we can use the a73 and a53 events in perf tool directly. Signed-off-by: Xu YiPing --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 13ae69f..f4882d3 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -203,21 +203,25 @@ IRQ_TYPE_LEVEL_HIGH)>; }; - pmu { - compatible = "arm,armv8-pmuv3"; + a53-pmu { + compatible = "arm,cortex-a53-pmu"; interrupts = , , , - , - , - , - , - ; + ; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, - <&cpu3>, - <&cpu4>, + <&cpu3>; + }; + + a73-pmu { + compatible = "arm,cortex-a73-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; -- 2.7.4 From 1583575753215550016@xxx Thu Nov 09 08:18:43 +0000 2017 X-GM-THRID: 1583487862266529189 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread