Skip to content

hw/ide/ahci: Housekeeping

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9hw/i386/q35: Use DEVICE() cast macro with PCIDevice objecthw/i386/pc_q35.c+2 -21 reply
2/9hw/ide/ahci: Expose AHCIPCIState structurehw/i386/pc_q35.c hw/ide/ahci.c hw/ide/ahci_internal.h +4 more+26 -131 reply
3/9hw/ide/ahci: Rename AHCI PCI function as 'pdev'hw/i386/pc_q35.c hw/mips/boston.c+13 -122 replies
4/9hw/ide/ahci: Inline ahci_get_num_ports()hw/i386/pc_q35.c hw/ide/ahci.c hw/mips/boston.c +1 more+8 -132 replies
5/9hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs()hw/i386/pc_q35.c hw/ide/ahci.c hw/mips/boston.c +1 more+4 -71 reply
6/9hw/ide/ahci: Convert AHCIState::ports to unsignedhw/ide/ahci.c include/hw/ide/ahci.h+3 -31 reply
7/9hw/ide/ahci: Do not pass 'ports' argument to ahci_realize()hw/ide/ahci.c hw/ide/ahci_internal.h hw/ide/ich.c+8 -61 reply
8/9hw/ide/ahci: Remove SysbusAHCIState::num_ports fieldhw/ide/ahci.c include/hw/ide/ahci.h+1 -31 reply
9/9hw/ide/ahci: Move SysBus definitions to 'ahci-sysbus.h'hw/arm/highbank.c hw/arm/sbsa-ref.c hw/ide/ahci-allwinner.c +6 more+43 -341 reply

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLeif LindholmMichael S. TsirkinRichard Henderson
SeriesR-b
1/9R-b
2/9R-b
3/9
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] hw/ide/ahci: Housekeeping

- Split 'ahci.h' as sysbus / pci
- Inline ahci_get_num_ports()
- Directly use AHCIState::ports instead of SysbusAHCIState::num_ports

Philippe Mathieu-Daudé (9):
hw/i386/q35: Use DEVICE() cast macro with PCIDevice object hw/ide/ahci: Expose AHCIPCIState structure hw/ide/ahci: Rename AHCI PCI function as 'pdev' hw/ide/ahci: Inline ahci_get_num_ports() hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs() hw/ide/ahci: Convert AHCIState::ports to unsigned hw/ide/ahci: Do not pass 'ports' argument to ahci_realize() hw/ide/ahci: Remove SysbusAHCIState::num_ports field hw/ide/ahci: Move SysBus definitions to 'ahci-sysbus.h'

 hw/ide/ahci_internal.h         | 10 +--------
 include/hw/arm/allwinner-a10.h |  2 +-
 include/hw/arm/allwinner-r40.h |  2 +-
 include/hw/arm/xlnx-zynqmp.h   |  2 +-
 include/hw/ide/ahci-pci.h      | 22 ++++++++++++++++++++
 include/hw/ide/ahci-sysbus.h   | 35 +++++++++++++++++++++++++++++++
 include/hw/ide/ahci.h          | 38 +++-------------------------------
 hw/arm/highbank.c              |  2 +-
 hw/arm/sbsa-ref.c              |  1 +
 hw/i386/pc_q35.c               | 19 ++++++++++-------
 hw/ide/ahci-allwinner.c        |  3 +--
 hw/ide/ahci.c                  | 29 +++++++++-----------------
 hw/ide/ich.c                   |  4 +++-
 hw/mips/boston.c               | 14 +++++++------
 14 files changed, 99 insertions(+), 84 deletions(-)
 create mode 100644 include/hw/ide/ahci-pci.h
 create mode 100644 include/hw/ide/ahci-sysbus.h
Signature · 1 line
2.41.0