Skip to content

Commit 1553a1c

Browse files
committed
RISC-V: drop SOC_VIRT for ARCH_VIRT
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 <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent d2a351e commit 1553a1c

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

arch/riscv/Kconfig.socs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ config ARCH_THEAD
5252
This enables support for the RISC-V based T-HEAD SoCs.
5353

5454
config ARCH_VIRT
55-
def_bool SOC_VIRT
56-
57-
config SOC_VIRT
5855
bool "QEMU Virt Machine"
5956
select CLINT_TIMER if RISCV_M_MODE
6057
select POWER_RESET

arch/riscv/configs/defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CONFIG_ARCH_SOPHGO=y
3232
CONFIG_SOC_STARFIVE=y
3333
CONFIG_ARCH_SUNXI=y
3434
CONFIG_ARCH_THEAD=y
35-
CONFIG_SOC_VIRT=y
35+
CONFIG_ARCH_VIRT=y
3636
CONFIG_SMP=y
3737
CONFIG_HOTPLUG_CPU=y
3838
CONFIG_PM=y

arch/riscv/configs/nommu_virt_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONFIG_EXPERT=y
2424
CONFIG_SLUB=y
2525
CONFIG_SLUB_TINY=y
2626
# CONFIG_MMU is not set
27-
CONFIG_SOC_VIRT=y
27+
CONFIG_ARCH_VIRT=y
2828
CONFIG_NONPORTABLE=y
2929
CONFIG_SMP=y
3030
CONFIG_CMDLINE="root=/dev/vda rw earlycon=uart8250,mmio,0x10000000,115200n8 console=ttyS0"

tools/testing/kunit/qemu_configs/riscv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
QEMU_ARCH = QemuArchParams(linux_arch='riscv',
1515
kconfig='''
16-
CONFIG_SOC_VIRT=y
16+
CONFIG_ARCH_VIRT=y
1717
CONFIG_SERIAL_8250=y
1818
CONFIG_SERIAL_8250_CONSOLE=y
1919
CONFIG_SERIAL_OF_PLATFORM=y

tools/testing/selftests/wireguard/qemu/arch/riscv32.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CONFIG_NONPORTABLE=y
22
CONFIG_ARCH_RV32I=y
33
CONFIG_MMU=y
44
CONFIG_FPU=y
5-
CONFIG_SOC_VIRT=y
5+
CONFIG_ARCH_VIRT=y
66
CONFIG_RISCV_ISA_FALLBACK=y
77
CONFIG_SERIAL_8250=y
88
CONFIG_SERIAL_8250_CONSOLE=y

tools/testing/selftests/wireguard/qemu/arch/riscv64.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CONFIG_ARCH_RV64I=y
22
CONFIG_MMU=y
33
CONFIG_FPU=y
4-
CONFIG_SOC_VIRT=y
4+
CONFIG_ARCH_VIRT=y
55
CONFIG_RISCV_ISA_FALLBACK=y
66
CONFIG_SERIAL_8250=y
77
CONFIG_SERIAL_8250_CONSOLE=y

0 commit comments

Comments
 (0)