arm64: dts: qcom: sm8750: Mark the watchdog as reserved
PATCH 1/1 arm64: dts: qcom: sm8750: Mark the watchdog as reserved
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 <[email protected]>
---
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(+)
arch/arm64/boot/dts/qcom/sm8750.dtsi +1 -0
@@ -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
Signature · 1 line
2.53.0