From patchwork Wed Nov 8 08:59:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu YiPing X-Patchwork-Id: 118218 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5026671qgn; Wed, 8 Nov 2017 01:00:45 -0800 (PST) X-Google-Smtp-Source: ABhQp+QvXaW2hELdf8EDTmdsaJj6NCNF06GbDmg/MKAJlv80vBHYTOnu/u8XZrjoGLFBsr+7DKs5 X-Received: by 10.99.45.65 with SMTP id t62mr1654208pgt.446.1510131645198; Wed, 08 Nov 2017 01:00:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510131645; cv=none; d=google.com; s=arc-20160816; b=i9LO9Z2CZLV6gQd09NE6ZiRIEeHOhPMlXscjqzpMdkCDlQBvYWjy5oMIdOI6s4pAYP gK1kc0M2uVgIJdE31piJ2rHUTB7vUigh5Dtl2M8naylHvyBgbjwegx9numHlgck3DwC7 qdRgpRv+zqFgMDiEXvc9uOY4Eq6CKpnpPWZLUKRLMadgW9uMLnhUWqmr0lbWsQAhlb1F GjrRXoMtl76fgHC1Nj2FAVztlfaF7Hyq4bSGKj/ap0TiJ6YpOGc+6M8QMKRfE4Bdlcz9 QLWlA6yUQT+4dT5HSMEdGbEfstY0fv2+y6DJCS6taOZgjeHD4oaXILii0yR+ApP8vaEO nXTw== 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=ROxMjn+wjYhjC4aihQ6oTAoRtIYfLE/FHRwDVtyumys=; b=dVWNjTpICFoWd3oNyQWHzviM9gviuX/MnXfLMpJdcevtcsJWMyRKV/1ncIc/hrvMO/ pPRs1cCTDv9ztVBDU78EXlFE52C2OdgaZr6yPy2npUTeO5bXZ+Q/qQJSJTmM0uh8PVwZ A6Fy7d6Ociam4bcrjimz5UfHOmW6FGK7+zOVt1CBlNII62AuuIAaLkJTbSql7jgHad+8 Rx+Z5rvaMZFfLqBKrh0coBCAOXZX7XdlYMwQDuQ0p2MxZ+qk00usuX/Tx4xCa4UN/cXE FOcZBDYy5fOaazhbYG6F5nNAEcN7BBwCcDg1oxhg2R8om76mzQaV8ygFs7bGzf3mc7Oi GD/Q== 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 p13si3496777plo.133.2017.11.08.01.00.44; Wed, 08 Nov 2017 01:00:45 -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 S1751352AbdKHJAn (ORCPT + 6 others); Wed, 8 Nov 2017 04:00:43 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9977 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbdKHJAn (ORCPT ); Wed, 8 Nov 2017 04:00:43 -0500 Received: from 172.30.72.58 (EHLO DGGEMS406-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKL10095; Wed, 08 Nov 2017 17:00:03 +0800 (CST) Received: from vm167-7.huawei.com (10.177.167.7) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.361.1; Wed, 8 Nov 2017 16:59:39 +0800 From: Xu YiPing To: , , , , , CC: , , Subject: [PATCH] arm64: dts: hi3660: improve pmu description Date: Wed, 8 Nov 2017 16:59:38 +0800 Message-ID: <1510131578-84235-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.0A020201.5A02C794.00AF, 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: 8aa6f15d28540194a127d2d8e51741c9 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org cortex a73 pmu is supported, use it instead of armpmu-v3 --- 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..f638897 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"; + pmu_a53 { + compatible = "arm,cortex-a53-pmu"; interrupts = , , , - , - , - , - , - ; + ; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, - <&cpu3>, - <&cpu4>, + <&cpu3>; + }; + + pmu_a73 { + compatible = "arm,cortex-a73-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;