530f29cba5
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@wdc.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
||
---|---|---|
.. | ||
ae350_32.dts | ||
ae350_64.dts | ||
ae350-u-boot.dtsi | ||
binman.dtsi | ||
fu540-c000-u-boot.dtsi | ||
fu540-c000.dtsi | ||
fu540-hifive-unleashed-a00-ddr.dtsi | ||
fu740-c000-u-boot.dtsi | ||
fu740-c000.dtsi | ||
fu740-hifive-unmatched-a00-ddr.dtsi | ||
hifive-unleashed-a00-u-boot.dtsi | ||
hifive-unleashed-a00.dts | ||
hifive-unmatched-a00-u-boot.dtsi | ||
hifive-unmatched-a00.dts | ||
k210-maix-bit.dts | ||
k210.dtsi | ||
Makefile | ||
microchip-mpfs-icicle-kit-u-boot.dtsi | ||
microchip-mpfs-icicle-kit.dts | ||
microchip-mpfs.dtsi | ||
openpiton-riscv64.dts | ||
qemu-virt32.dts | ||
qemu-virt64.dts |