Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1574673pxb; Mon, 8 Mar 2021 00:32:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWFmPTJKlMX2oiDhMvBsT712/TcMpVgElQuzi3XRLfk1shLGnpI5yBIRw468dQ2hTeTZ+5 X-Received: by 2002:a50:d753:: with SMTP id i19mr20838937edj.43.1615192353385; Mon, 08 Mar 2021 00:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615192353; cv=none; d=google.com; s=arc-20160816; b=lCwyR2/5VR+y6U28prnC4I2/1ls+XbTTk3k5t52N5sWxgd1jAhqh6nu3PdhtNdNKH5 j7tiAFEQbNiogv0M/+M2/53MYwrNpDUigOPCb9/idm9VZ+j9JiBdncgSsmneD/+J/lE7 4QvWi4Er4yd2YXervfXTBCj/PXLDUAEEBxRbTFIwmBWGF18y1xZeOuD6d9VJs/BS9mEG M3EU9sv+sLZ6rpexn3YfZ2vJxJroePKkmYqD6QqZCtfY2pX/uTXeho/CRg6VyEa5tc9N azWbZX7CW4cpXFqNoTpd77nwyNdEMSD7AZmjwRrD6RBuxNhLMSkVdoFNhx1eyrnXIi1X 2yGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vsumm3hDR0gSBeLo+Fq0w4yhPEx9cUYw3Xdm2TBWKDQ=; b=IwTGNmXD9MOONaEQMmFKNHKmXFOBrAujMzpsDwH5EVZoXvQbI7WXI24y2dPJJh4NOK FxdPznpfZ28BbkjuioCbFfmFLXdoPKV7QbRXXIt+YkB6Y8TQf07WqKZJh+CCqEl/CysW 86dHaFZWFI3H4acq4XXvDmoWrn4+Xr1HhD3XVN2fWntQm6HR9XE8kTsvGfW2SB5pmGe9 AGYwtYOqImQJ/7erps+iWxFzUh5lJ84EubcXawJ9Wqeau3qfHe8Av5JZQdz6Tr7T+CkU xxKH7QwVBI4jHnuW1JCMPhfonQbWMR278hwgjlkrLFFEjJe+2a+NXseOt4GrTMJ8Eo1j ScEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t8jKtxKe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g25si2618544eds.27.2021.03.08.00.32.11; Mon, 08 Mar 2021 00:32:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t8jKtxKe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233357AbhCHA2B (ORCPT + 99 others); Sun, 7 Mar 2021 19:28:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:57198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233353AbhCHA1z (ORCPT ); Sun, 7 Mar 2021 19:27:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68B7D64FB7; Mon, 8 Mar 2021 00:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615163275; bh=SiK+/6MIOgzcJ2vpx7jERuI8qZ6eOOkh6x7rUIsEf3s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t8jKtxKemmtg15tBCd70bVQXQL68TquyZyM4OY8xfr8YoMSP8PUVybBiH+iaJqcwV trA5jZXvZG+BkeX+fjw9AfTtqpU86sbiB1avdS9mq8U+k4sBWH+M8kSNjpS3kVaGBR 3D97DpnQ5L/Z0ely8o2zJvSTaBv8zpGP3jQhZp5fmU0JxGdMguKBOK5nwJEb7myVm0 ejkrLzbIii7sqj75DV/sqyalgCM0N81lzc0TQrADrSbevQ67H/R/jJG67Cu23F3Cwq vMKF+8Nn7WDIvABog23nHUku2UkOg1mKDuPDCZkZdFWErn6a/Nf4FekSOCWTMFEOUa bZOrzVS0zD5Bw== Date: Mon, 8 Mar 2021 08:27:49 +0800 From: Shawn Guo To: "Alice Guo (OSS)" Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arm64: dts: imx8m: add pmu node Message-ID: <20210308002748.GJ543@dragon> References: <20210223031445.8577-1-alice.guo@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210223031445.8577-1-alice.guo@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 23, 2021 at 11:14:45AM +0800, Alice Guo (OSS) wrote: > From: Alice Guo > > Adding pmu node supports to use perf tool to monitor the CPU performance > of the inmate cell when enabling Jailhouse and running dual Linux OS. > > Signed-off-by: Alice Guo > --- > arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts | 7 +++++++ Upstream doesn't have this file. Shawn > arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts | 7 +++++++ > 4 files changed, 30 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts > index fe9d96131045..6afccc2c140e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk-inmate.dts > @@ -48,6 +48,13 @@ > }; > }; > > + pmu { > + compatible = "arm,armv8-pmuv3"; > + interrupts = + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; > + interrupt-affinity = <&A53_2>, <&A53_3>; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts > index 584c1fa19f56..f2434ad369dc 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk-inmate.dts > @@ -48,6 +48,14 @@ > }; > }; > > + pmu { > + compatible = "arm,armv8-pmuv3"; > + interrupt-parent = <&gic>; > + interrupts = + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; > + interrupt-affinity = <&A53_2>, <&A53_3>; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts > index 277ef70f2903..be538f510340 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-inmate.dts > @@ -48,6 +48,14 @@ > }; > }; > > + pmu { > + compatible = "arm,armv8-pmuv3"; > + interrupt-parent = <&gic>; > + interrupts = + (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; > + interrupt-affinity = <&A53_2>, <&A53_3>; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts > index b1db63cdb98c..57e0ab2bf4d3 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk-inmate.dts > @@ -48,6 +48,13 @@ > }; > }; > > + pmu { > + compatible = "arm,cortex-a53-pmu"; > + interrupts = ; > + interrupt-parent = <&gic>; > + interrupt-affinity = <&A53_2>, <&A53_3>; > + }; > + > psci { > compatible = "arm,psci-1.0"; > method = "smc"; > -- > 2.17.1 >