arm64: dts: qcom: sc8280xp: Add missing LMH interrupts
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 17 Feb 2024 13:00:07 +0000 (14:00 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sun, 17 Mar 2024 16:52:56 +0000 (11:52 -0500)
Hook up the interrupts that signal the Limits Management Hardware has
started some sort of throttling action.

In testing, you may notice the A78C cluster throttle IRQ fire count stays
at zero. After an hour of painful experiments on an X13s, I was able to
get that cluster to heat up near 90 degC, after which the IRQ has indeed
fired. So it stands to reason that the heat output difference between the
A78C and X1C clusters is so massive that LMH rarely decides to throttle
the "little" one based on its power metrics.

Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240217-topic-8280_lmh-v1-1-d72dd4fedfb8@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8280xp.dtsi

index a5b194813079e9779e7913a4054a413af3a14750..daaf054efca3656c2e72a0eec2e4445a977118ae 100644 (file)
                              <0 0x18592000 0 0x1000>;
                        reg-names = "freq-domain0", "freq-domain1";
 
+                       interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "dcvsh-irq-0",
+                                         "dcvsh-irq-1";
+
                        clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
                        clock-names = "xo", "alternate";