* [PATCH] arm64: dts: qcom: sm8750: Mark the watchdog as reserved
@ 2026-11-26 15:00 Sasha Levin
2026-11-30 13:54 ` Konrad Dybcio
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2026-11-26 15:00 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Komal Bajaj, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, kernelci, linux-kernel
Since next-20261110 the SM8750 MTP in KernelCI panics during boot when
qcom_wdt probes:
Internal error: synchronous external abort: 0000000096000010 [#1] SMP
pc : qcom_wdt_probe+0x374/0x460 [qcom_wdt]
Kernel panic - not syncing: synchronous external abort: Fatal exception
The node has no "sram" property, so qcom_wdt_get_bootstatus() reads
WDT_STS, and that first watchdog MMIO read takes the external abort.
The MTP runs the Gunyah hypervisor, which owns the APSS watchdog, as on
SM8650.
Mark the node reserved, as commit 4f8202061737 ("arm64: dts: qcom:
sm8650: Add watchdog node") does for SM8650. This also lets qcom_scm
register the Gunyah watchdog, which it skips while a "qcom,kpss-wdt"
node is available.
Fixes: 6554c11efd6d ("arm64: dts: qcom: sm8750: Add watchdog node")
Link: https://files.kernelci.org/qualcomm/baseline-arm64-qualcomm-6b071ff5286e1965ecb6e758/log.txt.gz
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
Built sm8750-mtp.dtb and sm8750-qrd.dtb on top of arm64-for-7.5 (W=1),
not tested on hardware.
arch/arm64/boot/dts/qcom/sm8750.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
index f46a5e8a953c7..3f76dfe0bd565 100644
--- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
@@ -6007,6 +6007,7 @@ watchdog@16410000 {
reg = <0x0 0x16410000 0x0 0x1000>;
clocks = <&sleep_clk>;
interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
+ status = "reserved"; /* Owned by hypervisor */
};
cpucp_mbox: mailbox@16430000 {
base-commit: dde0308a2f8867806a444df1fdd7e685b1c56d5b
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: qcom: sm8750: Mark the watchdog as reserved
2026-11-26 15:00 [PATCH] arm64: dts: qcom: sm8750: Mark the watchdog as reserved Sasha Levin
@ 2026-11-30 13:54 ` Konrad Dybcio
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-11-30 13:54 UTC (permalink / raw)
To: Sasha Levin, Bjorn Andersson, Konrad Dybcio
Cc: Komal Bajaj, Abel Vesa, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, kernelci, linux-kernel
On 11/26/26 4:00 PM, Sasha Levin wrote:
> Since next-20261110 the SM8750 MTP in KernelCI panics during boot when
> qcom_wdt probes:
>
> Internal error: synchronous external abort: 0000000096000010 [#1] SMP
> pc : qcom_wdt_probe+0x374/0x460 [qcom_wdt]
> Kernel panic - not syncing: synchronous external abort: Fatal exception
>
> The node has no "sram" property, so qcom_wdt_get_bootstatus() reads
> WDT_STS, and that first watchdog MMIO read takes the external abort.
> The MTP runs the Gunyah hypervisor, which owns the APSS watchdog, as on
> SM8650.
>
> Mark the node reserved, as commit 4f8202061737 ("arm64: dts: qcom:
> sm8650: Add watchdog node") does for SM8650. This also lets qcom_scm
> register the Gunyah watchdog, which it skips while a "qcom,kpss-wdt"
> node is available.
>
> Fixes: 6554c11efd6d ("arm64: dts: qcom: sm8750: Add watchdog node")
> Link: https://files.kernelci.org/qualcomm/baseline-arm64-qualcomm-6b071ff5286e1965ecb6e758/log.txt.gz
> Signed-off-by: Sasha Levin <sashal@kernel.org>
> ---
> Built sm8750-mtp.dtb and sm8750-qrd.dtb on top of arm64-for-7.5 (W=1),
> not tested on hardware.
I think the following should be able to make it work too:
https://lore.kernel.org/linux-arm-msm/20261109-qcom-scm-gunyah-uid-v1-1-2776343f9a3b@gmail.com/
Konrad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-30 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 15:00 [PATCH] arm64: dts: qcom: sm8750: Mark the watchdog as reserved Sasha Levin
2026-11-30 13:54 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®