Skip to content

Commit 9e79e58

Browse files
jonhunterthierryreding
authored andcommitted
arm64: tegra: Add PMU node for Tegra194
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>
1 parent 6efb943 commit 9e79e58

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra194.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2345,6 +2345,20 @@
23452345
};
23462346
};
23472347

2348+
pmu {
2349+
compatible = "arm,armv8-pmuv3";
2350+
interrupts = <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>,
2351+
<GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>,
2352+
<GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>,
2353+
<GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>,
2354+
<GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>,
2355+
<GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>,
2356+
<GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>,
2357+
<GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>;
2358+
interrupt-affinity = <&cpu0_0 &cpu0_1 &cpu1_0 &cpu1_1
2359+
&cpu2_0 &cpu2_1 &cpu3_0 &cpu3_1>;
2360+
};
2361+
23482362
psci {
23492363
compatible = "arm,psci-1.0";
23502364
status = "okay";

0 commit comments

Comments
 (0)