RISC-V: drop SOC_VIRT for ARCH_VIRT
authorConor Dooley <conor.dooley@microchip.com>
Tue, 5 Mar 2024 18:37:06 +0000 (18:37 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 10 Apr 2024 10:37:50 +0000 (11:37 +0100)
The ARCH_ and SOC_ versions of this symbol have persisted for quite a
while now in parallel. Generated .config files from previous LTS kernels
should have both. Finally remove SOC_VIRT and update all config files
using it.

Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/Kconfig.socs
arch/riscv/configs/defconfig
arch/riscv/configs/nommu_virt_defconfig
tools/testing/kunit/qemu_configs/riscv.py
tools/testing/selftests/wireguard/qemu/arch/riscv32.config
tools/testing/selftests/wireguard/qemu/arch/riscv64.config

index 2797412a7ec98ebefbdcbcf172c04e656cb3b6c9..f51bb24bc84c6e475e04c2b430cde39c9c9f546d 100644 (file)
@@ -52,9 +52,6 @@ config ARCH_THEAD
          This enables support for the RISC-V based T-HEAD SoCs.
 
 config ARCH_VIRT
-       def_bool SOC_VIRT
-
-config SOC_VIRT
        bool "QEMU Virt Machine"
        select CLINT_TIMER if RISCV_M_MODE
        select POWER_RESET
index 8f2bec476af219ce0126a65d5977b40cdb925199..d485e1de8a78cacfe5878247fc2f59799633b93e 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_ARCH_SOPHGO=y
 CONFIG_SOC_STARFIVE=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_THEAD=y
-CONFIG_SOC_VIRT=y
+CONFIG_ARCH_VIRT=y
 CONFIG_SMP=y
 CONFIG_HOTPLUG_CPU=y
 CONFIG_PM=y
index b794e2f8144e665dd26dc05cc2b56908b46262b6..de8143d1f7382ae2c7073d5f7c35273aab3d1591 100644 (file)
@@ -24,7 +24,7 @@ CONFIG_EXPERT=y
 CONFIG_SLUB=y
 CONFIG_SLUB_TINY=y
 # CONFIG_MMU is not set
-CONFIG_SOC_VIRT=y
+CONFIG_ARCH_VIRT=y
 CONFIG_NONPORTABLE=y
 CONFIG_SMP=y
 CONFIG_CMDLINE="root=/dev/vda rw earlycon=uart8250,mmio,0x10000000,115200n8 console=ttyS0"
index 12a1d525978a2a3e99c117b3696a9069b19432af..c87758030ff791ca84d2b3fe1380f01ea2afc69d 100644 (file)
@@ -13,7 +13,7 @@ if not os.path.isfile(OPENSBI_PATH):
 
 QEMU_ARCH = QemuArchParams(linux_arch='riscv',
                           kconfig='''
-CONFIG_SOC_VIRT=y
+CONFIG_ARCH_VIRT=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
index a7f8e8a95625930aa568bb04a79fe9b05770be76..66290cf289a917ce4f57c07ab6805e9d47101957 100644 (file)
@@ -2,7 +2,7 @@ CONFIG_NONPORTABLE=y
 CONFIG_ARCH_RV32I=y
 CONFIG_MMU=y
 CONFIG_FPU=y
-CONFIG_SOC_VIRT=y
+CONFIG_ARCH_VIRT=y
 CONFIG_RISCV_ISA_FALLBACK=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
index daeb3e5e09658526b24b122b63ed05fa9078d212..db1aa9f388b9deea7085e724f60edc5a227d5415 100644 (file)
@@ -1,7 +1,7 @@
 CONFIG_ARCH_RV64I=y
 CONFIG_MMU=y
 CONFIG_FPU=y
-CONFIG_SOC_VIRT=y
+CONFIG_ARCH_VIRT=y
 CONFIG_RISCV_ISA_FALLBACK=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y