From patchwork Thu Jul 22 04:24:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathew McBride X-Patchwork-Id: 483864 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp19772jao; Wed, 21 Jul 2021 21:26:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyu2298vpxgbNE8elwsIhF4+UwajayNZf94O86jw4ovQWTTlSRZjK8v6SAqv0WahhbgMyLo X-Received: by 2002:a17:906:14cf:: with SMTP id y15mr40748307ejc.124.1626927983788; Wed, 21 Jul 2021 21:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626927983; cv=none; d=google.com; s=arc-20160816; b=bBMUiS9Rk+2xKJQWmAqXSbXcudo84Z6Y6RzyG4V9rmnkq1F0Y7tkMWp+Fb2Fbmwimy 7TEcQKT46jhP0zqURhwMmIvFxvkCa8TdUMnNMJ7lqmPqPNL8X9dpwLc0qzb/M53cUv62 G30bsFdRCsepBp5OQ+Nhed0/w1uaMOsTCUWLbFR4p/M7KDO5YsunrjKBOixrndJ6wBG7 Oss0HjmSH6oMGAer80CD/9d40OkOsgvLPn3hy/JGMxAvaoMRX6jBMuepauXF/GagGwIL pX5AMR55cYhC4BQ0Nvk0p/OaWary5VBELg6G/RrwoPA+xETDtj5TeUrO52Shy/r1EExE oqyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=bvHSmzBLvenTaxgVXhkOtqVZ879wzNNM44pHo8k3y7E=; b=StFk/yMpDcVNek2OVlhAA1JC61AT8PLuUUbRSZYob5QjpJRTk/JZm8yVzM7E7SkTfX KW+dXHKZI2V5h93PfxLImhATlF+b7JHFJ5H2dinmOfRCSG2WvQLonRqQZaxFgqbA1hgX UTnBOnBMRzJUMaR7sfYvmHssPB1dEptTjw8fkfZnJ0/SExWHebgJcnKpchRfqC33PBzK 5fGU7bsG1Ip0IxGJcnQfMhd3tl2Wt8tRmq/TrHGbflKtWzVHpacEXLGRFvYZV8GX00tQ 0NLSGWTf0q+oVyE+l2gS7Vn6ta2244UrUFtKfpUMpIcMXpY8oEhT0lBwPts1yFDjTK5R cqEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm1 header.b=hCN+z0YQ; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=S7JlRNNA; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si29763118edr.323.2021.07.21.21.26.23; Wed, 21 Jul 2021 21:26:23 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@traverse.com.au header.s=fm1 header.b=hCN+z0YQ; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=S7JlRNNA; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbhGVDpq (ORCPT + 7 others); Wed, 21 Jul 2021 23:45:46 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53241 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbhGVDpq (ORCPT ); Wed, 21 Jul 2021 23:45:46 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E84DA5C01E3; Thu, 22 Jul 2021 00:26:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 22 Jul 2021 00:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=bvHSmzBLvenTa xgVXhkOtqVZ879wzNNM44pHo8k3y7E=; b=hCN+z0YQJTKFnJzfxpYgHY3W3K8pd 31oQQogyyo8l4nZoSSy8p/zCxUvDyGt4wQqRhbDYOCdDFadSEfkALQgOWTy3v8Ip jFl1H+1e1CbJAuUxZaqBfyrSCEP5ddAZ5Mi/wDp0xQZC6OgUOXytRTmzmf9mjTu6 GHyOkucFS35sbVG1hQQJ4+fr+fQoEV8WkjbxC8L7XqzoTdhr6gR6ReFiAIAgQF5Q qu56E0LaHKzcxSm5h9Z6rNMcnolHzxPnOsQiRspFFR6Xa390J7c5ZdpffQHBe90u T+zI/07zzNUHtvB4YCbf6rAwgOZnY/dVTPqPcXezv6O6aql20qeXpiyDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=bvHSmzBLvenTaxgVXhkOtqVZ879wzNNM44pHo8k3y7E=; b=S7JlRNNA QMnXw2dB7qX5odKvfbFsVb9Mm2ftDZy6teejwoScN7YI404EA44wSB1BATlcbdr6 YHPIXNyWDov+wsAn1zj/Sbi2QVXfzQ+QbcRvmERJVGgAAoFZp86Jf5Cr94aMKaL+ 6CoZMZzcTG22nIKEMlXZ1UhzXDOFroC+GYZWA1G6aUbr8ICfBBOPhRQ3eJZ6WnVA e6uXc3Z2p9ftvLGSF6FPP3hi1JLnrfxKzH2iXbbGI2CeuYwHQW4xkkfXZTcRKKOQ T1rSV5RO3sMX1eIG4Mq2nhQJ6K8rvT6kx2LMnZtwr3FB+mmF2b1scbHFxE6ERlzt yYGQemjM/mt2KQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeehgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrthhhvgif ucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtf frrghtthgvrhhnpeekleevteelvdduheetgfdvfeelueekffeggeethedtteeljeeivedv gfehjeejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 00:26:19 -0400 (EDT) From: Mathew McBride To: Shawn Guo , Li Yang , Ioana Ciornei , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Mathew McBride Subject: [PATCH 2/5] arm64: dts: ls1088a: add missing PMU node Date: Thu, 22 Jul 2021 04:24:47 +0000 Message-Id: <20210722042450.11862-3-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210722042450.11862-1-matt@traverse.com.au> References: <20210722042450.11862-1-matt@traverse.com.au> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Performance Manager Unit was not described in the DTS which meant performance event monitoring was not possible. This was exposed by a change to the PMU handling in KVM in 5.11-rc3 which now prevents a PMU being exposed to a guest when the host does not provide one: "KVM: arm64: Don't access PMCR_EL0 when no PMU is available" Signed-off-by: Mathew McBride --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.30.1 diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 79ceadc9dc4a..752c7f41e6b1 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -189,6 +189,11 @@ timer { <1 10 IRQ_TYPE_LEVEL_LOW>;/* Hypervisor PPI */ }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <1 7 0x8>; /* PMU PPI, Level low type */ + }; + psci { compatible = "arm,psci-0.2"; method = "smc";