Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1615065ybv; Fri, 21 Feb 2020 00:19:42 -0800 (PST) X-Google-Smtp-Source: APXvYqwvCb9w5+KN754UJTZS2nLlPWSvD9YbTQOwZlVT+uFGJZpKI6i76mTXBMGcobTBJAdMNc5p X-Received: by 2002:a9d:6c58:: with SMTP id g24mr28562514otq.229.1582273182497; Fri, 21 Feb 2020 00:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273182; cv=none; d=google.com; s=arc-20160816; b=EwKagWo/NrHQkwSIAHG9GbN3Tri1rKWMLZRX7OsbvloVGh8o5IuHn1Va8xrQ+WVgXK aBmL/NyjIXTZQuUGKmwzVzB0oGyRaPqEN0J78OOzJDoA+rAV0y02NUCSDy8YufSJ5hIM epx5lLyb4jKu7tGKDA421Jvv1LUJPRJTViTAsTCOGr/p+owdNbdhGizt3WKsYXPhFule 3frWLV7Qv0n7UC21RGjOCrlWQM8RyzkW18P+a9uBBGn0nw0zCJFeDHlonQwSdqMySXqm sZjwntzn02R3XAOH1ErkLY9mNCSnHSgLbHu1wxdcJnE7bhGGLAxi7c0ZK1UIacAon/oh QlTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MVqLmXDfOtnuk4M0N/98PG16lwbMVaSd2qYlSw8Rsnc=; b=ywCZJadq7XgcNgCuOrZkpVypeEEUnND0MhhZOZktEaGAdY3gxLgd1T4wqkHScCRvO7 4b52K13KS9YWTYlWSqykatBX39UFq9SmctYxvCJsRGQVaOy3FqsVcRyfuiGRV6ZpSdxM 00f1PQSsndRR55I20iigR7v72m1gkQi+eyf/piSa1cUdN6ZrzLkj0UUEuLLxNeinZjRQ eRRB/ku9EZJf7rhrRbVvxQVj+KO4WKbUDRSeJXUdld3Ba4wYVq1nw2BkNyuG4n9CsKO6 iKYWC1qagyPJZKQS9KMcb63fdJtuxRvI06i246ZmigDAc9V0w2NWFBLm5BT1gDym+gWj 5t0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yg8wnBek; 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 g2si1161885otn.117.2020.02.21.00.19.29; Fri, 21 Feb 2020 00:19:42 -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; dkim=pass header.i=@kernel.org header.s=default header.b=yg8wnBek; 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 S2387903AbgBUISs (ORCPT + 99 others); Fri, 21 Feb 2020 03:18:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:56864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387897AbgBUISs (ORCPT ); Fri, 21 Feb 2020 03:18:48 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49A5624695; Fri, 21 Feb 2020 08:18:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273126; bh=TDkoGS8EQGsitpefjpC12149CPkH0ZYIZn/+H5Y4nlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yg8wnBekknHU8sgdDAeAAdjUeAGhCiT6dGwo022Jwit6fFUaTwOKvLCtUh5fSSWom cnEe9ry5gvbuBEtuCBVIyVeswmVQjrw/L42vdKl+avt+irZXRBgDlmpAarsorA8wRs 5CEHdEZdxS+/UvOOMlvEJM+AKLYjXo27jDc0kxcE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andre Przywara , Maxime Ripard , Sasha Levin Subject: [PATCH 4.19 057/191] arm64: dts: allwinner: H6: Add PMU mode Date: Fri, 21 Feb 2020 08:40:30 +0100 Message-Id: <20200221072258.346904899@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andre Przywara [ Upstream commit 7aa9b9eb7d6a8fde7acbe0446444f7e3fae1fe3b ] Add the Performance Monitoring Unit (PMU) device tree node to the H6 .dtsi, which tells DT users which interrupts are triggered by PMU overflow events on each core. The numbers come from the manual and have been checked in U-Boot and with perf in Linux. Tested with perf record and taskset on a Pine H64. Signed-off-by: Andre Przywara Signed-off-by: Maxime Ripard Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 72813e7aefb8a..bd43912696111 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -69,6 +69,16 @@ clock-output-names = "osc32k"; }; + pmu { + compatible = "arm,cortex-a53-pmu", + "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + psci { compatible = "arm,psci-0.2"; method = "smc"; -- 2.20.1