RFC RISC-V: Convert SOC_FOO symbols to ARCH_FOO
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest27 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/27 | clk: microchip: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIPdrivers/ | +2 | 2 replies | |
| 2/27 | i2c: microchip-corei2c: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIPdrivers/ | +1 | 0 replies | |
| 3/27 | mailbox: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIPdrivers/ | +1 | 0 replies | |
| 4/27 | usb: musb: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIPdrivers/ | +1 | 0 replies | |
| 5/27 | rtc: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIPdrivers/ | +1 | 0 replies | |
| 6/27 | riscv: stop selecting the PolarFire SoC clock driverarch/ | +0 | 0 replies | |
| 7/27 | riscv: replace SOC_STARFIVE with ARCH_STARFIVEarch/ arch/ arch/ | +3 | 4 replies | |
| 8/27 | clk: starfive: replace SOC_STARFIVE with ARCH_STARFIVEdrivers/ drivers/ | +4 | 0 replies | |
| 9/27 | pinctrl: starfive: replace SOC_STARFIVE with ARCH_STARFIVEdrivers/ | +2 | 0 replies | |
| 10/27 | reset: starfive: replace SOC_STARFIVE with ARCH_STARFIVEdrivers/ | +2 | 0 replies | |
| 11/27 | riscv: replace SOC_SIFIVE with ARCH_SIFIVEarch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 12/27 | soc: sifive: convert SOC_SIFIVE to ARCH_SIFIVEdrivers/ drivers/ | +2 | 0 replies | |
| 13/27 | clk: sifive: convert SOC_SIFIVE to ARCH_SIFIVEdrivers/ | +1 | 0 replies | |
| 14/27 | clk: sifive: select by default if ARCH_SIFIVEdrivers/ | +2 | 0 replies | |
| 15/27 | serial: sifive: select by default if ARCH_SIFIVEdrivers/ | +2 | 0 replies | |
| 16/27 | PCI: dwc: fu740: convert SOC_SIFIVE to ARCH_SIFIVEdrivers/ | +1 | 0 replies | |
| 17/27 | riscv: stop selecting SiFive clock and serial drivers directlyarch/ | +0 | 0 replies | |
| 18/27 | riscv: convert SOC_VIRT to ARCH_VIRTarch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 19/27 | kunit: tool: rename SOC_VIRT to ARCH_VIRT in riscv's QEMU configtools/ | +1 | 0 replies | |
| 20/27 | wireguard: selftests: swap SOC_VIRT for ARCH_VIRT on riscvtools/ tools/ | +2 | 1 reply | |
| 21/27 | riscv: convert SOC_CANAAN to ARCH_CANAANarch/ arch/ arch/ +3 more | +19 | 0 replies | |
| 22/27 | clk: k210: convert SOC_CANAAN to ARCH_CANAANdrivers/ | +2 | 0 replies | |
| 23/27 | pinctrl: k210: convert SOC_CANAAN to ARCH_CANAANdrivers/ | +2 | 0 replies | |
| 24/27 | soc: k210: convert SOC_CANAAN to ARCH_CANAANdrivers/ drivers/ | +3 | 0 replies | |
| 25/27 | reset: k210: convert SOC_CANAAN to ARCH_CANAANdrivers/ | +2 | 0 replies | |
| 26/27 | serial: sifive: select by default if ARCH_CANAANdrivers/ | +2 | 0 replies | |
| 27/27 | riscv: stop directly selecting drivers for ARCH_CANAANarch/ | +0 | 0 replies |
Reviews trailers per patch
1 of 27 patches has a Reviewed-by or Acked-by.
| Patch | Jason A. Donenfeld |
|---|---|
| 1/27 | |
| 2/27 | |
| 3/27 | |
| 4/27 | |
| 5/27 | |
| 6/27 | |
| 7/27 | |
| 8/27 | |
| 9/27 | |
| 10/27 | |
| 11/27 | |
| 12/27 | |
| 13/27 | |
| 14/27 | |
| 15/27 | |
| 16/27 | |
| 17/27 | |
| 18/27 | |
| 19/27 | |
| 20/27 | A-b |
| 21/27 | |
| 22/27 | |
| 23/27 | |
| 24/27 | |
| 25/27 | |
| 26/27 | |
| 27/27 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/27] RISC-V: Convert SOC_FOO symbols to ARCH_FOO
From: Conor Dooley <[email protected]>
Following on from LPC, here's the start of my efforts to clean up Kconfig.socs.
My preference would be to take the whole thing through the RISC-V tree for v6.2 to make things a bit less fiddly, but I am sending this as an RFC in the hopes of getting some opinions on how the series should be split up & merged. I guess it would always be possible to create a few immutable branches for the individual subsystems that are being modified & take the series through the riscv tree unless we hit a conflict in -next. Obiviously for that route, maintainer acks will be needed.
The only SoCs I have, at the moment ;), are the jh7100, mpfs, fu540 and the k210 so I've given those a whirl to make sure I didn't break something.
I have also yet to deal with ARCH_VIRT, but just throwing this out for some opinions on how to apply/split up the set before finalising a v1.
I've CCed a few people that may have an opinion here, but anyone that has an opinion here - please shout!
One other point, is it worth adding something to the patch acceptance policy to say "do your kconfig xyz way" or is that not something that's worth doing since it is easy to push people in the right direction during review?
The series is currently on top of:
https://lore.kernel.org/all/[email protected]/
Thanks,
Conor.
Conor Dooley (27):
clk: microchip: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIP
i2c: microchip-corei2c: replace SOC_MICROCHIP_POLARFIRE with
ARCH_MICROCHIP
mailbox: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIP
usb: musb: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIP
rtc: mpfs: replace SOC_MICROCHIP_POLARFIRE with ARCH_MICROCHIP
riscv: stop selecting the PolarFire SoC clock driver
riscv: replace SOC_STARFIVE with ARCH_STARFIVE
clk: starfive: replace SOC_STARFIVE with ARCH_STARFIVE
pinctrl: starfive: replace SOC_STARFIVE with ARCH_STARFIVE
reset: starfive: replace SOC_STARFIVE with ARCH_STARFIVE
riscv: replace SOC_SIFIVE with ARCH_SIFIVE
soc: sifive: convert SOC_SIFIVE to ARCH_SIFIVE
clk: sifive: convert SOC_SIFIVE to ARCH_SIFIVE
clk: sifive: select by default if ARCH_SIFIVE
serial: sifive: select by default if ARCH_SIFIVE
PCI: dwc: fu740: convert SOC_SIFIVE to ARCH_SIFIVE
riscv: stop selecting SiFive clock and serial drivers directly
riscv: convert SOC_VIRT to ARCH_VIRT
kunit: tool: rename SOC_VIRT to ARCH_VIRT in riscv's QEMU config
wireguard: selftests: swap SOC_VIRT for ARCH_VIRT on riscv
riscv: convert SOC_CANAAN to ARCH_CANAAN
clk: k210: convert SOC_CANAAN to ARCH_CANAAN
pinctrl: k210: convert SOC_CANAAN to ARCH_CANAAN
soc: k210: convert SOC_CANAAN to ARCH_CANAAN
reset: k210: convert SOC_CANAAN to ARCH_CANAAN
serial: sifive: select by default if ARCH_CANAAN
riscv: stop directly selecting drivers for ARCH_CANAAN
arch/riscv/Kconfig.socs | 30 +++++++------------ arch/riscv/Makefile | 2 +- arch/riscv/boot/dts/Makefile | 2 +- arch/riscv/boot/dts/canaan/Makefile | 14 ++++----- arch/riscv/boot/dts/sifive/Makefile | 2 +- arch/riscv/boot/dts/starfive/Makefile | 2 +- arch/riscv/configs/defconfig | 6 ++-- arch/riscv/configs/nommu_k210_defconfig | 2 +- .../riscv/configs/nommu_k210_sdcard_defconfig | 2 +- arch/riscv/configs/nommu_virt_defconfig | 2 +- arch/riscv/configs/rv32_defconfig | 4 +-- drivers/clk/Kconfig | 4 +-- drivers/clk/Makefile | 2 +- drivers/clk/microchip/Kconfig | 3 +- drivers/clk/sifive/Kconfig | 4 ++- drivers/clk/starfive/Kconfig | 6 ++-- drivers/i2c/busses/Kconfig | 2 +- drivers/mailbox/Kconfig | 2 +- drivers/pci/controller/dwc/Kconfig | 2 +- drivers/pinctrl/Kconfig | 8 ++--- drivers/reset/Kconfig | 8 ++--- drivers/rtc/Kconfig | 2 +- drivers/soc/Makefile | 4 +-- drivers/soc/canaan/Kconfig | 4 +-- drivers/soc/sifive/Kconfig | 2 +- drivers/tty/serial/Kconfig | 2 ++ drivers/usb/musb/Kconfig | 2 +- tools/testing/kunit/qemu_configs/riscv.py | 2 +- .../wireguard/qemu/arch/riscv32.config | 2 +- .../wireguard/qemu/arch/riscv64.config | 2 +- 30 files changed, 64 insertions(+), 67 deletions(-)
Signature · 7 lines
2.37.3 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv