Skip to content

RISC-V interrupt controller select cleanup

Conor Dooley linux-riscv lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesApplied 3/3

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3irqchip/sifive-plic: remove user selectability of SIFIVE_PLICdrivers/irqchip/Kconfig+1 -90 repliesApplied
2/3irqchip/riscv-intc: remove user selectability of RISCV_INTCdrivers/irqchip/Kconfig+1 -100 repliesApplied
3/3RISC-V: stop selecting SIFIVE_PLIC at the SoC levelarch/riscv/Kconfig arch/riscv/Kconfig.socs+1 -50 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc Zyngier
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] RISC-V interrupt controller select cleanup

From: Conor Dooley <[email protected]>

Hey Marc, Anup, Palmer,

Submitted a patch yesterday defaulting the SiFive PLIC driver to enabled [0], and in the ensuing conversation Marc suggested just doing a select at the arch level and dropping the user selectability completely.

Since we're already selecting SIFIVE_PLIC in Kconfig.socs for all of the supported SoCs & selecting RISCV_INTC in the arch Kconfig itself, patches 1 & 2 can go via the irqchip tree without any impact.

@Anup, by the same logic - I think we can also enable the AIA stuff via selects at the arch level? Dumping as much from Kconfig.socs as possible is the plan, so adding them there for SOC_VIRT kinda goes contrary to that.

I spoke with Palmer today about putting my various bits of Kconfig.socs cleanup on a branch, so I'll take patch 3. It's only in this series as it is related work, rather due to any sort of dependency between the patches.

Thanks,
Conor.

[0] https://lore.kernel.org/linux-riscv/[email protected]/

Conor Dooley (3):
irqchip/sifive-plic: remove user selectability of SIFIVE_PLIC irqchip/riscv-intc: remove user selectability of RISCV_INTC
RISC-V: stop selecting SIFIVE_PLIC at the SoC level

 arch/riscv/Kconfig      |  1 +
 arch/riscv/Kconfig.socs |  5 -----
 drivers/irqchip/Kconfig | 21 ++-------------------
 3 files changed, 3 insertions(+), 24 deletions(-)
Signature · 1 line
2.37.2