From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 3113EC35640 for ; Fri, 21 Feb 2020 08:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 07EC424691 for ; Fri, 21 Feb 2020 08:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273129; bh=TDkoGS8EQGsitpefjpC12149CPkH0ZYIZn/+H5Y4nlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=iI1aQgHjXNCcjIlpGwyI5EXNWgSIO+x7MoLXaeR1w8EtTydfonCRYHEzayTNaFswc Ix7Arux5vtJfMMNLuom4vfQaPXI9AwF6i0H+hxQhysC+nEBoD2SjVlOVYTAEk4qiOC OOZgVJND2GEkE9ccEjLb/z279pTfEjT7lX0NL7pY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387633AbgBUISs (ORCPT ); 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: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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