From patchwork Thu Nov 9 11:18:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu YiPing X-Patchwork-Id: 118431 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp792676edl; Thu, 9 Nov 2017 03:18:44 -0800 (PST) X-Google-Smtp-Source: ABhQp+SB+oMMBoFsn0h15+R5qAyJ4Mie2L08HY0jTUDgwsWBiUmzMMYyWAjCIH7WmteLInAlC+Nj X-Received: by 10.98.163.84 with SMTP id s81mr148927pfe.64.1510226323932; Thu, 09 Nov 2017 03:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510226323; cv=none; d=google.com; s=arc-20160816; b=Z/0dTnLzMK6ZqgFu9iY7vnCZ+01B7lEf3haKFvXxCo2rUE4s3qP0SoZGMYvi47+dt7 3mLpOLTACW7IaGhCTqg6KQdF7ndeBRHb+V0DZ5EQ0vCYiFhG+JjNsdE/28b3kzOCPY8v JxObm0bR2aUL9ZStU0Q1dHm1eYqdfNPe/Pn5oYqsMMaoWh0YXyQam67YTeETxWPLMRaR JBe6sbR0lZMJYAXDTW2pg8Gf7cF5IzorWW2vT8ObwI4x1FTyowMOe+90ZnIHQlCXSWEa L/zp1xHATlDolht4TBaH9g8nrBdvtvrejvPEtH7YkNSjYGKUu2S107s800FDqgpW4J4+ oNRQ== 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=0YfhfxvbKO1gWVhLPloVMOlo08JDu6IjIGYgr98alD8=; b=bA5CpVwOSMRsn5sjaygMbvvX4G0Vgj9lngCYKqfXBodM/apOps/FB9FDEWPT32Vcmf x1Jf/m3hgC/S/QZQaV5oz/SMIpEIqmiKg3mdNNtszyYrYasskJUdLV+SWihBFQ4s2gZP 4aC+hcma/GHk8wDZ/nD9JxJSm6zcUeon17qmtRex1G6jBn2JKKjIH7q5Uhox1J6LtA/7 hW5B9+rGi6xT1MFppm/8kl9FxB0G4vfBeJ6nV8wv+HzCWuDwuwF9fC1sjXJJx1l+vfPk demhrrwxhTjsKDI4V2ZX5Uf3notWb/+mBKXrT0KEczHRxt77d/gSlFwHwT8xnWsvtpMb yZlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 x6si6142079pgt.77.2017.11.09.03.18.43; Thu, 09 Nov 2017 03:18:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752743AbdKILSm (ORCPT + 6 others); Thu, 9 Nov 2017 06:18:42 -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 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;