Re: [PATCH] riscv: dts: spacemit: k3: Drop guest properties from M-level IMSIC

From: Yixun Lan

Date: Tue Sep 08 2026 - 18:31:05 EST



On Wed, 29 Jul 2026 00:40:15 +0800, Junhui Liu wrote:
> The mimsic node describes the machine-level IMSIC, whose MMIO region is
> 0x10000 (64 KiB) for all 8 harts. However, the node also specifies
> riscv,guest-index-bits = <6>, and per the AIA specification the
> per-hart stride is 2^(guest-index-bits + 12) bytes when guest interrupt
> files exist, i.e. 2^(6 + 12) = 256 KiB per hart and 2 MiB for all 8
> harts. The described region cannot hold even a single hart's files, so
> the node contradicts itself. OpenSBI enforces exactly this constraint in
> imsic_data_check() and rejects the node with -EINVAL, preventing the
> M-level IMSIC from initializing:
>
> [...]

Applied, thanks!

[1/1] riscv: dts: spacemit: k3: Drop guest properties from M-level IMSIC
https://git.kernel.org/pub/scm/linux/kernel/git/spacemit/linux.git/commit/?id=01e2f07c44fc46180bdb10e70506f8acf44a53dd

Best regards,
--
Yixun Lan <dlan@xxxxxxxxxx>