summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2022-07-07 20:55:28 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2022-08-11 11:40:37 -0700
commita208acf0eac857dc8cdaddd63a4e18ed03f91786 (patch)
treeeb0bbacfe6729f3e79b4d0269287b6f58c0a8e6d /arch/riscv/boot
parent2cfe9bbec56ea579135cdd92409fff371841904f (diff)
downloadlinux-stable-a208acf0eac857dc8cdaddd63a4e18ed03f91786.tar.gz
linux-stable-a208acf0eac857dc8cdaddd63a4e18ed03f91786.tar.bz2
linux-stable-a208acf0eac857dc8cdaddd63a4e18ed03f91786.zip
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: ec85362fb121 ("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>
Diffstat (limited to 'arch/riscv/boot')
-rw-r--r--arch/riscv/boot/dts/starfive/jh7100.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7100.dtsi b/arch/riscv/boot/dts/starfive/jh7100.dtsi
index c617a61e26e2..000447482aca 100644
--- a/arch/riscv/boot/dts/starfive/jh7100.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7100.dtsi
@@ -130,7 +130,7 @@
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
- riscv,ndev = <127>;
+ riscv,ndev = <133>;
};
clkgen: clock-controller@11800000 {