Skip to contentSkip to conversation

RISC-V: defconfig: Remove ARCH_RENESAS

PATCH In review Palmer Dabbelt 3 participants 3 messages Sep 17, 2024 – Sep 24, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISC-V: defconfig: Remove ARCH_RENESAS

The RZ/Five is gated behind CONFIG_NONPORTABLE because of the DMA pool issue. e36ddf322686 ("riscv: defconfig: Disable RZ/Five peripheral support") removes the drivers, so let's remove the rest of the vendor support as well -- users of these will already have to play aruond with kernel configs, so this shouldn't be much of a burden.

---
 arch/riscv/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/configs/defconfig +0 -1
index b51ef6cd1e39..7b896a0f78fc 100644
@@ -27,7 +27,6 @@ CONFIG_EXPERT=y
 # CONFIG_SYSFS_SYSCALL is not set
 CONFIG_PROFILING=y
 CONFIG_ARCH_MICROCHIP=y
-CONFIG_ARCH_RENESAS=y
 CONFIG_ARCH_SIFIVE=y
 CONFIG_ARCH_SOPHGO=y
 CONFIG_SOC_STARFIVE=y
Signature · 1 line
2.45.2
#1 lore raw
Quoted 2 lines · Palmer Dabbelt

The RZ/Five is gated behind CONFIG_NONPORTABLE because of the DMA pool issue. e36ddf322686 ("riscv: defconfig: Disable RZ/Five peripheral

Commit e36ddf322686?

Quoted 2 lines

support") removes the drivers, so let's remove the rest of the vendor support as well -- users of these will already have to play aruond with

Around. :-)

Quoted 3 lines

kernel configs, so this shouldn't be much of a burden.

[...]

MBR, Sergey

#2 lore raw
In reply to Palmer Dabbelt

Hi Palmer,

Quoted 7 lines · Palmer Dabbelt

The RZ/Five is gated behind CONFIG_NONPORTABLE because of the DMA pool issue. e36ddf322686 ("riscv: defconfig: Disable RZ/Five peripheral support") removes the drivers, so let's remove the rest of the vendor support as well -- users of these will already have to play aruond with kernel configs, so this shouldn't be much of a burden.

Thanks for your patch!

arch/riscv/configs/defconfig CONFIG_EXPERT=y · line 32

Quoted 10 lines
arch/riscv/configs/defconfig +0 -1
@@ -27,7 +27,6 @@ CONFIG_EXPERT=y
 # CONFIG_SYSFS_SYSCALL is not set
 CONFIG_PROFILING=y
 CONFIG_ARCH_MICROCHIP=y
-CONFIG_ARCH_RENESAS=y
 CONFIG_ARCH_SIFIVE=y
 CONFIG_ARCH_SOPHGO=y
 CONFIG_SOC_STARFIVE=y

I had planned to send a v2 of the aforementioned commit, including the above, but didn't get to that. Sorry...

With CONFIG_ARCH_RENESAS=y, you can also drop the following line:

# CONFIG_USB_XHCI_RCAR is not set

(USB_XHCI_RCAR depends on and defaults to ARCH_RENESAS)

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds