]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: starfive: correct number of external interrupts
authorMark Kettenis <kettenis@openbsd.org>
Thu, 7 Jul 2022 18:55:28 +0000 (20:55 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 11 Aug 2022 18:40:37 +0000 (11:40 -0700)
commit9e211a726d7943b8af5895c017579de11f975248
treeeb0bbacfe6729f3e79b4d0269287b6f58c0a8e6d
parent5b293b88191e5e921f3a4e58711350e80892d01a
riscv: dts: starfive: correct number of external interrupts

The PLIC integrated on the Vic_U7_Core integrated on the StarFive
JH7100 SoC actually supports 133 external interrupts.  127 of these
are exposed to the outside world; the remainder are used by other
devices that are part of the core-complex such as the L2 cache
controller.  But all 133 interrupts are external interrupts as far
as the PLIC is concerned.  Fix the property so that the driver can
manage these additional interrupts, which is important since the
interrupts for the L2 cache controller are enabled by default.

Fixes: 8039d28b0734 ("RISC-V: Add initial StarFive JH7100 device tree")
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220707185529.19509-1-kettenis@openbsd.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/starfive/jh7100.dtsi