hw/sh4: Remove the deprecated SHIX machine
cover hw/sh4: Remove the deprecated SHIX machine
Remove the deprecated SH4 SHIX machine, along
with the TC58128 NAND EEPROM.
Philippe Mathieu-Daudé (3):
hw/sh4: Remove the deprecated SHIX machine hw/block: Remove TC58128 NAND EEPROM hw/sh4: Remove sh7750_register_io_device() helper
MAINTAINERS | 11 -- docs/about/deprecated.rst | 6 - docs/about/removed-features.rst | 5 + configs/devices/sh4-softmmu/default.mak | 1 - include/hw/sh4/sh.h | 19 --- hw/block/tc58128.c | 211 ------------------------ hw/sh4/sh7750.c | 57 +------ hw/sh4/shix.c | 86 ---------- hw/block/Kconfig | 3 - hw/block/meson.build | 1 - hw/sh4/Kconfig | 7 - hw/sh4/meson.build | 1 - 12 files changed, 7 insertions(+), 401 deletions(-) delete mode 100644 hw/block/tc58128.c delete mode 100644 hw/sh4/shix.c
Signature · 1 line
2.45.2
PATCH 1/3 hw/sh4: Remove the deprecated SHIX machine
The SHIX machine is deprecated since v9.0 (commit 322b038c94 "target/sh4: Deprecate the shix machine"). Time to remove it.
--- MAINTAINERS | 7 +- docs/about/deprecated.rst | 6 -- docs/about/removed-features.rst | 5 ++ configs/devices/sh4-softmmu/default.mak | 1 - hw/sh4/shix.c | 86 ------------------------- hw/sh4/Kconfig | 7 -- hw/sh4/meson.build | 1 - 7 files changed, 6 insertions(+), 107 deletions(-) delete mode 100644 hw/sh4/shix.c
MAINTAINERS +1 -6
@@ -1676,16 +1676,11 @@ F: hw/timer/sh_timer.c F: include/hw/sh4/sh_intc.h F: include/hw/timer/tmu012.h -Shix +TC58128 NAND EEPROM R: Yoshinori Sato <[email protected]> R: Magnus Damm <[email protected]> S: Odd Fixes F: hw/block/tc58128.c -F: hw/char/sh_serial.c -F: hw/sh4/shix.c -F: hw/intc/sh_intc.c -F: hw/timer/sh_timer.c -F: include/hw/sh4/sh_intc.h SPARC Machines --------------
docs/about/deprecated.rst +0 -6
@@ -232,12 +232,6 @@ These old machine types are quite neglected nowadays and thus might have various pitfalls with regards to live migration. Use a newer machine type instead. -``shix`` (since 9.0) -'''''''''''''''''''' - -The machine is no longer in existence and has been long unmaintained -in QEMU. This also holds for the TC51828 16MiB flash that it uses. - ``pseries-2.1`` up to ``pseries-2.12`` (since 9.0) ''''''''''''''''''''''''''''''''''''''''''''''''''
docs/about/removed-features.rst +5 -0
@@ -978,6 +978,11 @@ Nios II ``10m50-ghrd`` and ``nios2-generic-nommu`` machines (removed in 9.1) The Nios II architecture was orphan. +``shix`` (removed in 9.2) +''''''''''''''''''''''''' + +The machine was unmaintained. + linux-user mode CPUs --------------------
configs/devices/sh4-softmmu/default.mak +0 -1
@@ -7,4 +7,3 @@ # Boards are selected by default, uncomment to keep out of the build. # CONFIG_R2D=n -# CONFIG_SHIX=n
hw/sh4/shix.c deleted +0 -86
86 lines not on this page · raw message
hw/sh4/Kconfig +0 -7
@@ -13,13 +13,6 @@ config R2D select SH7750 select SH_PCI -config SHIX - bool - default y - depends on SH4 - select SH7750 - select TC58128 - config SH7750 bool select SH_INTC
hw/sh4/meson.build +0 -1
@@ -4,6 +4,5 @@ sh4_ss.add(when: 'CONFIG_SH7750', if_true: files( 'sh7750_regnames.c', )) sh4_ss.add(when: 'CONFIG_R2D', if_true: files('r2d.c')) -sh4_ss.add(when: 'CONFIG_SHIX', if_true: files('shix.c')) hw_arch += {'sh4': sh4_ss}
Signature · 1 line
2.45.2
PATCH 2/3 hw/block: Remove TC58128 NAND EEPROM
In reply to Philippe Mathieu-DaudéThe TC58128 NAND EEPROM is not user creatable and needs to be instanciated in the code via tc58128_init().
Only the SHIX machine was using it, and it was removed in the previous commit. Since the TC58128 has no more users, remove it too.
--- MAINTAINERS | 6 -- include/hw/sh4/sh.h | 3 - hw/block/tc58128.c | 211 ------------------------------------------- hw/block/Kconfig | 3 - hw/block/meson.build | 1 - 5 files changed, 224 deletions(-) delete mode 100644 hw/block/tc58128.c
MAINTAINERS +0 -6
@@ -1676,12 +1676,6 @@ F: hw/timer/sh_timer.c F: include/hw/sh4/sh_intc.h F: include/hw/timer/tmu012.h -TC58128 NAND EEPROM -R: Yoshinori Sato <[email protected]> -R: Magnus Damm <[email protected]> -S: Odd Fixes -F: hw/block/tc58128.c - SPARC Machines -------------- Sun4m
include/hw/sh4/sh.h +0 -3
@@ -60,7 +60,4 @@ int sh7750_register_io_device(struct SH7750State *s,/* sh7750.c */ qemu_irq sh7750_irl (struct SH7750State *s); -/* tc58128.c */ -int tc58128_init (struct SH7750State *s,const char *zone1,const char *zone2); -#endif
hw/block/tc58128.c deleted +0 -211
211 lines not on this page · raw message
hw/block/Kconfig +0 -3
@@ -28,9 +28,6 @@ config ECC config ONENAND bool -config TC58128 - bool - config VIRTIO_BLK bool default y
hw/block/meson.build +0 -1
@@ -15,7 +15,6 @@ system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c')) system_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80_sfdp.c')) system_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c')) system_ss.add(when: 'CONFIG_XEN_BUS', if_true: files('xen-block.c')) -system_ss.add(when: 'CONFIG_TC58128', if_true: files('tc58128.c')) specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c', 'virtio-blk-common.c')) specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c', 'virtio-blk-common.c'))
Signature · 1 line
2.45.2
PATCH 3/3 hw/sh4: Remove sh7750_register_io_device() helper
In reply to Philippe Mathieu-Daudésh7750_register_io_device() was only used by the TC58128 NAND EEPROM which has been removed in the previous commit. Remove it as unused code.
--- include/hw/sh4/sh.h | 16 ------------- hw/sh4/sh7750.c | 57 ++------------------------------------------- 2 files changed, 2 insertions(+), 71 deletions(-)
include/hw/sh4/sh.h +0 -16
@@ -38,22 +38,6 @@ struct SH7750State;struct SH7750State *sh7750_init (SuperHCPU *cpu,MemoryRegion *sysmem); -typedef struct { -/* The callback will be triggered if any of the designated lines change */ -uint16_t portamask_trigger; -uint16_t portbmask_trigger; -/* Return 0 if no action was taken */ -int (*port_change_cb) (uint16_t porta,uint16_t portb, -uint16_t *periph_pdtra, -uint16_t *periph_portdira, -uint16_t *periph_pdtrb, -uint16_t *periph_portdirb); -}sh7750_io_device ; - -int sh7750_register_io_device (struct SH7750State *s, -sh7750_io_device *device); - -/* sh_serial.c */ #define TYPE_SH_SERIAL "sh-serial"#define SH_SERIAL_FEAT_SCIF (1 << 0)
hw/sh4/sh7750.c +2 -55
99 lines not on this page · raw message
Signature · 1 line
2.45.2
Quoted 8 lines · Philippe Mathieu-Daudé
Remove the deprecated SH4 SHIX machine, along
with the TC58128 NAND EEPROM.Philippe Mathieu-Daudé (3):
hw/sh4: Remove the deprecated SHIX machine hw/block: Remove TC58128 NAND EEPROM hw/sh4: Removesh7750_register_io_device()helper
Whole series:
thanks
-- PMM
Quoted 9 lines · Philippe Mathieu-Daudé
Remove the deprecated SH4 SHIX machine, along
with the TC58128 NAND EEPROM.Philippe Mathieu-Daudé (3):
hw/sh4: Remove the deprecated SHIX machine hw/block: Remove TC58128 NAND EEPROM hw/sh4: Removesh7750_register_io_device()helper
Quoted 19 lines
MAINTAINERS | 11 -- docs/about/deprecated.rst | 6 - docs/about/removed-features.rst | 5 + configs/devices/sh4-softmmu/default.mak | 1 - include/hw/sh4/sh.h | 19 --- hw/block/tc58128.c | 211 ------------------------ hw/sh4/sh7750.c | 57 +------ hw/sh4/shix.c | 86 ---------- hw/block/Kconfig | 3 - hw/block/meson.build | 1 - hw/sh4/Kconfig | 7 - hw/sh4/meson.build | 1 - 12 files changed, 7 insertions(+), 401 deletions(-) delete mode 100644 hw/block/tc58128.c delete mode 100644 hw/sh4/shix.cSignature · 1 line
2.45.2
for hw/sh4
Signature · 1 line
Yosinori Sato
Quoted 7 lines · Philippe Mathieu-Daudé
Remove the deprecated SH4 SHIX machine, along
with the TC58128 NAND EEPROM.Philippe Mathieu-Daudé (3):
hw/sh4: Remove the deprecated SHIX machine hw/block: Remove TC58128 NAND EEPROM hw/sh4: Removesh7750_register_io_device()helper
Series queued, thanks.