[PATCH v2 4/8] k210: dts: align plic node with Linux
Leo Liang
ycliang at andestech.com
Tue Mar 15 10:41:11 CET 2022
On Tue, Mar 01, 2022 at 10:35:42AM +0000, Niklas Cassel wrote:
> From: Niklas Cassel <niklas.cassel at wdc.com>
>
> The Linux PLIC interrupt-controller driver actually initializes the hart
> context registers in the PLIC driver exactly in the same order as
> specified in the interrupts-extended device tree property. See the device
> tree binding [1].
>
> The ordering of the interrupts is therefore essential in order to
> configure the PLIC correctly.
>
> Fix the order so that we will have sane IRQ behavior when booting Linux
> with the u-boot device tree.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
>
> Signed-off-by: Niklas Cassel <niklas.cassel at wdc.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list