Tested-by: James Morris jmorris@namei.org
Assisted by an LLM.
Stock 7.3.6-rc2 (d6a022cc5dc8) boots on a SpacemiT K3 CoM260 IFX (riscv64). U-Boot loaded the kernel, DTB and initramfs from NVMe; Linux ran from RAM with clk_ignore_unused.
DLDO4 stayed enabled at 1.8 V after unused-regulator cleanup. All eight harts came online, timer interrupts advanced, and the supervisor IMSIC and KVM initialized. With QEMU 10.2.2, KVM guests on the PLIC booted and shut down with 1, 2 and 8 vCPUs, and the virtio block and network guests passed. I saw no lockups, RCU stalls, oopses or panics.
One problem: dtbs_check now warns on all three K3 DTBs. 7.3.5 is clean.
/soc/interrupt-controller@f1810000: failed to match any schema with compatible: ['spacemit,k3-aclint-mswi'] /soc/timer@f1814000: failed to match any schema with compatible: ['spacemit,k3-aclint-mtimer'] /soc/interrupt-controller@f181c000: failed to match any schema with compatible: ['spacemit,k3-aclint-sswi']
The queue has two patches from Junhui Liu's ACLINT series:
5397ba147c28 ("dt-bindings: timer: sifive,clint: Remove spacemit,k3-clint") cc6371a7f519 ("riscv: dts: spacemit: k3: Replace incorrect CLINT node with ACLINT nodes")
It does not have the three that add the new compatibles:
73329198cdc2 ("dt-bindings: timer: thead,c900-aclint-mtimer: Add SpacemiT K3") c9bae665035f ("dt-bindings: interrupt-controller: thead,c900-aclint-mswi: Add SpacemiT K3") 08257b5b3d38 ("dt-bindings: interrupt-controller: thead,c900-aclint-sswi: Add SpacemiT K3")
Those three apply cleanly to 7.3.6-rc2, and the check is clean with them. I saw no runtime effect.