Skip to content

hw/ide: QOM/QDev housekeeping

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest24 patches 7 repliesIn review
  2. v120 patches 30 repliesSuperseded

Changes in v2 from the cover letter

- addressed review comments

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24MAINTAINERS: Mark IDE and Floppy as "Odd Fixes"MAINTAINERS+2 -20 replies
2/24hw/ide/mmio: Use CamelCase for MMIO_IDE state namehw/ide/mmio.c+14 -161 reply
3/24hw/ide/mmio: Extract TYPE_MMIO_IDE declarations to 'hw/ide/mmio.h'hw/ide/mmio.c hw/sh4/r2d.c include/hw/ide.h +1 more+29 -90 replies
4/24hw/ide/isa: Rename isairq -> irqnumhw/ide/isa.c include/hw/ide.h+6 -60 replies
5/24hw/ide/isa: Extract TYPE_ISA_IDE declarations to 'hw/ide/isa.h'hw/i386/pc_piix.c hw/ide/isa.c include/hw/ide.h +1 more+22 -80 replies
6/24hw/ide/isa: Remove intermediate ISAIDEState::irq variablehw/ide/isa.c+1 -30 replies
7/24hw/ide/atapi: Restrict 'scsi/constants.h' inclusionhw/ide/atapi.c include/hw/ide/internal.h+1 -11 reply
8/24hw/ide: Remove unused 'qapi/qapi-types-run-state.h'include/hw/ide/internal.h+0 -11 reply
9/24hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h'include/hw/ide/internal.h+1 -11 reply
10/24hw/ide: Un-inline ide_set_irq()hw/ide/ahci.c hw/ide/core.c hw/ide/ich.c +6 more+16 -80 replies
11/24hw/ide: Rename ide_set_irq() -> ide_bus_set_irq()hw/ide/atapi.c hw/ide/core.c hw/ide/macio.c +1 more+30 -300 replies
12/24hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()hw/arm/sbsa-ref.c hw/ide/ahci.c hw/ide/isa.c +6 more+11 -110 replies
13/24hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cbhw/ide/ahci.c hw/ide/cmd646.c hw/ide/core.c +5 more+8 -80 replies
14/24hw/ide: Rename ide_exec_cmd() -> ide_bus_exec_cmd()hw/ide/ahci.c hw/ide/core.c hw/ide/trace-events +1 more+6 -60 replies
15/24hw/ide: Rename ide_init2() -> ide_bus_init_output_irq()hw/ide/ahci.c hw/ide/cmd646.c hw/ide/core.c +8 more+14 -130 replies
16/24hw/ide: Rename idebus_active_if() -> ide_bus_active_if()hw/ide/core.c hw/ide/macio.c hw/ide/microdrive.c +2 more+17 -170 replies
17/24hw/ide: Declare ide_get_[geometry/bios_chs_trans] in 'hw/ide/internal.h'hw/i386/pc.c include/hw/ide.h include/hw/ide/internal.h+6 -52 replies
18/24hw/ide: Rename ISA specific ide_init_ioport -> ide_bus_init_ioport_isahw/ide/ioport.c hw/ide/isa.c hw/ide/piix.c +2 more+10 -50 replies
19/24hw/ide/ioport: Remove unnecessary includeshw/ide/ioport.c+0 -100 replies
20/24hw/ide/pci: Unexport bmdma_active_if()hw/ide/pci.c include/hw/ide/pci.h+6 -60 replies
21/24hw/ide/piix: Remove unused includeshw/ide/piix.c+1 -60 replies
22/24hw/ide/piix: Pass Error* to pci_piix_init_ports() for better error msghw/ide/piix.c+7 -80 replies
23/24hw/ide/piix: Refactor pci_piix_init_ports as pci_piix_init_bus per bushw/ide/piix.c+18 -190 replies
24/24hw/ide/ahci: trace ncq write command as write instead of readhw/ide/ahci.c hw/ide/trace-events+3 -20 replies

Reviews trailers per patch

23 of 24 patches have a Reviewed-by or Acked-by.

PatchAlex BennéePhilippe Mathieu-DaudéRichard HendersonJohn SnowBernhard Beschow
1/24R-b R-b
2/24R-b
3/24R-b R-b
4/24R-b R-b
5/24R-b R-b
6/24R-b R-b
7/24R-b R-b
8/24R-b R-b
9/24R-b R-b
10/24R-b
11/24R-b
12/24R-b
13/24R-b
14/24R-b
15/24R-b
16/24R-b
17/24R-b
18/24R-b
19/24R-b
20/24
21/24R-b
22/24R-b
23/24R-b
24/24R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/24] hw/ide: QOM/QDev housekeeping

Missing review: 2, 17, 20

Since v1:
- addressed review comments

John, can I get your formal Ack?

Thanks,

Phil.

Bernhard Beschow (1):
hw/ide/pci: Unexport bmdma_active_if()

Fiona Ebner (1):
hw/ide/ahci: trace ncq write command as write instead of read

John Snow (1):
MAINTAINERS: Mark IDE and Floppy as "Odd Fixes"

Philippe Mathieu-Daudé (21):
hw/ide/mmio: Use CamelCase for MMIO_IDE state name hw/ide/mmio: Extract TYPE_MMIO_IDE declarations to 'hw/ide/mmio.h' hw/ide/isa: Rename isairq -> irqnum
hw/ide/isa: Extract TYPE_ISA_IDE declarations to 'hw/ide/isa.h' hw/ide/isa: Remove intermediate ISAIDEState::irq variable hw/ide/atapi: Restrict 'scsi/constants.h' inclusion hw/ide: Remove unused 'qapi/qapi-types-run-state.h' hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h' hw/ide: Un-inline ide_set_irq()
hw/ide: Rename ide_set_irq() -> ide_bus_set_irq()
hw/ide: Rename ide_create_drive() -> ide_bus_create_drive() hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cb hw/ide: Rename ide_exec_cmd() -> ide_bus_exec_cmd() hw/ide: Rename ide_init2() -> ide_bus_init_output_irq() hw/ide: Rename idebus_active_if() -> ide_bus_active_if() hw/ide: Declare ide_get_[geometry/bios_chs_trans] in

    'hw/ide/internal.h'

hw/ide: Rename ISA specific ide_init_ioport -> ide_bus_init_ioport_isa hw/ide/ioport: Remove unnecessary includes
hw/ide/piix: Remove unused includes
hw/ide/piix: Pass Error* to pci_piix_init_ports() for better error msg hw/ide/piix: Refactor pci_piix_init_ports as pci_piix_init_bus per bus

 MAINTAINERS               |  4 +-
 hw/arm/sbsa-ref.c         |  2 +-
 hw/i386/pc.c              |  3 +-
 hw/i386/pc_piix.c         |  1 +
 hw/ide/ahci.c             | 13 ++++---
 hw/ide/atapi.c            | 13 ++++---
 hw/ide/cmd646.c           |  4 +-
 hw/ide/core.c             | 80 +++++++++++++++++++++------------------
 hw/ide/ich.c              |  1 +
 hw/ide/ioport.c           | 14 ++-----
 hw/ide/isa.c              | 24 +++++-------
 hw/ide/macio.c            | 15 ++++----
 hw/ide/microdrive.c       |  9 +++--
 hw/ide/mmio.c             | 39 +++++++++----------
 hw/ide/pci.c              | 11 +++++-
 hw/ide/piix.c             | 47 ++++++++++-------------
 hw/ide/qdev.c             |  2 +-
 hw/ide/sii3112.c          |  4 +-
 hw/ide/trace-events       |  3 +-
 hw/ide/via.c              |  4 +-
 hw/misc/macio/gpio.c      |  1 +
 hw/sh4/r2d.c              |  4 +-
 hw/sparc64/sun4u.c        |  1 +
 include/hw/ide.h          | 12 ------
 include/hw/ide/internal.h | 30 ++++++---------
 include/hw/ide/isa.h      | 23 +++++++++++
 include/hw/ide/mmio.h     | 26 +++++++++++++
 include/hw/ide/pci.h      |  6 ---
 28 files changed, 212 insertions(+), 184 deletions(-)
 create mode 100644 include/hw/ide/isa.h
 create mode 100644 include/hw/ide/mmio.h
Signature · 1 line
2.38.1