hw/mips: Remove the 'r4k' machine
PATCH v3 1/1 hw/mips: Remove the 'r4k' machine
We deprecated the support for the 'r4k' machine for the 5.0 release (commit d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.
To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years ago
Users are recommended to use the Malta board instead.
---
v3: Move to "Recently removed features" section
--- docs/system/deprecated.rst | 12 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 6 insertions(+), 345 deletions(-) delete mode 100644 hw/mips/r4k.c
docs/system/deprecated.rst +6 -6
@@ -327,12 +327,6 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or System emulator machines ------------------------ -mips ``r4k`` platform (since 5.0) -''''''''''''''''''''''''''''''''' - -This machine type is very old and unmaintained. Users should use the ``malta`` -machine type instead. - mips ``fulong2e`` machine (since 5.1) '''''''''''''''''''''''''''''''''''''
@@ -575,6 +569,12 @@ The version specific Spike machines have been removed in favour of the generic ``spike`` machine. If you need to specify an older version of the RISC-V spec you can use the ``-cpu rv64gcsu,priv_spec=v1.10.0`` command line argument. +mips ``r4k`` platform (removed in 5.2) +'''''''''''''''''''''''''''''''''''''' + +This machine type is very old and unmaintained. Users should use the ``malta`` +machine type instead. + Related binaries ----------------
default-configs/devices/mips-softmmu-common.mak +0 -1
@@ -33,7 +33,6 @@ CONFIG_MC146818RTC=y CONFIG_EMPTY_SLOT=y CONFIG_MIPS_CPS=y CONFIG_MIPS_ITU=y -CONFIG_R4K=y CONFIG_MALTA=y CONFIG_PCNET_PCI=y CONFIG_MIPSSIM=y
hw/mips/r4k.c deleted +0 -318
318 lines not on this page · raw message
MAINTAINERS +0 -6
@@ -1138,12 +1138,6 @@ S: Orphaned F: hw/mips/mipssim.c F: hw/net/mipsnet.c -R4000 -R: Aurelien Jarno <[email protected]> -R: Aleksandar Rikalo <[email protected]> -S: Obsolete -F: hw/mips/r4k.c - Fuloong 2E M: Huacai Chen <[email protected]> M: Philippe Mathieu-Daudé <[email protected]>
hw/mips/Kconfig +0 -13
@@ -1,16 +1,3 @@ -config R4K - bool - select ISA_BUS - select SERIAL_ISA - select I8259 - select I8254 - select MC146818RTC - imply VGA_ISA - imply NE2000_ISA - select IDE_ISA - select PCKBD - select PFLASH_CFI01 - config MALTA bool select ISA_SUPERIO
hw/mips/meson.build +0 -1
@@ -6,6 +6,5 @@ mips_ss.add(when: 'CONFIG_MIPSSIM', if_true: files('mipssim.c')) mips_ss.add(when: 'CONFIG_MIPS_BOSTON', if_true: [files('boston.c'), fdt]) mips_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('cps.c')) -mips_ss.add(when: 'CONFIG_R4K', if_true: files('r4k.c')) hw_arch += {'mips': mips_ss}
Signature · 1 line
2.26.2
Quoted 42 lines · Philippe Mathieu-Daudé
We deprecated the support for the 'r4k' machine for the 5.0 release (commit
d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years agoUsers are recommended to use the Malta board instead.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
v3: Move to "Recently removed features" section--- docs/system/deprecated.rst | 12 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 6 insertions(+), 345 deletions(-) delete mode 100644 hw/mips/r4k.cdocs/system/deprecated.rst +0
-6@@ -327,12 +327,6 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or System emulator machines ------------------------ -mips ``r4k`` platform (since 5.0) -''''''''''''''''''''''''''''''''' - -This machine type is very old and unmaintained. Users should use the ``malta`` -machine type instead. - mips ``fulong2e`` machine (since 5.1) '''''''''''''''''''''''''''''''''''''
docs/system/deprecated.rst The version specific Spike machines have been removed in favour of the · line 576
Quoted 8 lines
docs/system/deprecated.rst +5
-0@@ -575,6 +569,12 @@ The version specific Spike machines have been removed in favour of the generic ``spike`` machine. If you need to specify an older version of the RISC-V spec you can use the ``-cpu rv64gcsu,priv_spec=v1.10.0`` command line argument. +mips ``r4k`` platform (removed in 5.2) +'''''''''''''''''''''''''''''''''''''' + +This machine type is very old and unmaintained. Users should use the ``malta`` +machine type instead.
Ah, just spotted this v3 - that's better now indeed :-) Maybe change "is very old" into "was very old"?
Anyway:
Quoted 46 lines · Thomas Huth
Quoted 45 lines · Philippe Mathieu-Daudé
We deprecated the support for the 'r4k' machine for the 5.0 release (commit
d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years agoUsers are recommended to use the Malta board instead.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
v3: Move to "Recently removed features" section--- docs/system/deprecated.rst | 12 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 6 insertions(+), 345 deletions(-) delete mode 100644 hw/mips/r4k.cdocs/system/deprecated.rst +0
-6@@ -327,12 +327,6 @@ The 'scsi-disk' device is deprecated. Users should use 'scsi-hd' or System emulator machines ------------------------ -mips ``r4k`` platform (since 5.0) -''''''''''''''''''''''''''''''''' - -This machine type is very old and unmaintained. Users should use the ``malta`` -machine type instead. - mips ``fulong2e`` machine (since 5.1) '''''''''''''''''''''''''''''''''''''@@ -575,6 +569,12 @@ The version specific Spike machines have been removed in favour of the generic ``spike`` machine. If you need to specify an older version of the RISC-V spec you can use the ``-cpu rv64gcsu,priv_spec=v1.10.0`` command line argument.
Quoted 8 lines
docs/system/deprecated.rst The version specific Spike machines have been removed in favour of the · line 576
Quoted 5 lines
docs/system/deprecated.rst +5
-0+mips ``r4k`` platform (removed in 5.2) +'''''''''''''''''''''''''''''''''''''' + +This machine type is very old and unmaintained. Users should use the ``malta`` +machine type instead.Ah, just spotted this v3 - that's better now indeed :-) Maybe change "is very old" into "was very old"?
OK.
Quoted 3 lines
Anyway:
Reviewed-by Thomas Huth <[email protected]>
Thanks!
Quoted 14 lines · Philippe Mathieu-Daudé
We deprecated the support for the 'r4k' machine for the 5.0 release (commit
d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years agoUsers are recommended to use the Malta board instead.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
v3: Move to "Recently removed features" section
Quoted 9 lines
--- docs/system/deprecated.rst | 12 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 6 insertions(+), 345 deletions(-) delete mode 100644 hw/mips/r4k.c
To be honest, libvirt doesn't have a single mips-based VM definition in the test-suite, so our mips support is rather theoretical.
On behalf of libvirt:
Philippe Mathieu-Daudé
AppliedQuoted 14 lines · Philippe Mathieu-Daudé
We deprecated the support for the 'r4k' machine for the 5.0 release (commit
d32dc61421), which means that our deprecation policy allows us to drop it in release 5.2. Remove the code.To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years agoUsers are recommended to use the Malta board instead.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
v3: Move to "Recently removed features" section
Quoted 9 lines
--- docs/system/deprecated.rst | 12 +- .../devices/mips-softmmu-common.mak | 1 - hw/mips/r4k.c | 318 ------------------ MAINTAINERS | 6 - hw/mips/Kconfig | 13 - hw/mips/meson.build | 1 - 6 files changed, 6 insertions(+), 345 deletions(-) delete mode 100644 hw/mips/r4k.c
Applied to mips-next (with the change requested by Thomas).