Skip to content

Commit

Permalink
arm64: tegra: Add PMU node for Tegra194
Browse files Browse the repository at this point in the history
[ Upstream commit 9e79e58 ]

Populate the device-tree node for the PMU device on Tegra194. This also
fixes the following warning that is observed on booting Tegra194.

 ERR KERN kvm: pmu event creation failed -2

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
jonhunter authored and gregkh committed Jul 25, 2021
1 parent 7ac85c0 commit 105f6be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra194.dtsi
Expand Up @@ -2345,6 +2345,20 @@
};
};

pmu {
compatible = "arm,armv8-pmuv3";
interrupts = <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>;
interrupt-affinity = <&cpu0_0 &cpu0_1 &cpu1_0 &cpu1_1
&cpu2_0 &cpu2_1 &cpu3_0 &cpu3_1>;
};

psci {
compatible = "arm,psci-1.0";
status = "okay";
Expand Down

0 comments on commit 105f6be

Please sign in to comment.