Skip to content

AHCI cleanup

Bernhard Beschow qemu-arm qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 1 replySuperseded
  3. v21 patch 0 repliesSuperseded

Changes in v4 from the cover letter

* Port away from qemu_allocate_irq() while at it

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/ide/ahci: Decouple from PCIhw/ide/ahci-internal.h hw/ide/ahci.c hw/ide/ich.c +2 more+21 -422 replies
2/2hw/ide/ahci: Extract TYPE_SYSBUS_AHCI into dedicated filehw/arm/Kconfig hw/ide/Kconfig hw/ide/ahci-sysbus.c +2 more+101 -720 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-Daudé
SeriesR-b
1/2Inspired-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] AHCI cleanup

This series fixes some runtime overhead when handling interrupts in AHCIState. It then extracts the SysBus implementation into a dedicated file for separation of concerns.

v4:
* Port away from qemu_allocate_irq() while at it

v3:
* Remove extra PCI include in ahci-internal.h
* Extract SysBus implementation into dedicated file

Supersedes: [email protected]

Bernhard Beschow (2):
hw/ide/ahci: Decouple from PCI
hw/ide/ahci: Extract TYPE_SYSBUS_AHCI into dedicated file

 hw/ide/ahci-internal.h    |   1 -
 include/hw/ide/ahci-pci.h |   2 +
 include/hw/ide/ahci.h     |   2 -
 hw/ide/ahci-sysbus.c      |  91 ++++++++++++++++++++++++++++++++
 hw/ide/ahci.c             | 106 ++------------------------------------
 hw/ide/ich.c              |  19 +++++--
 hw/arm/Kconfig            |  10 ++--
 hw/ide/Kconfig            |   4 ++
 hw/ide/meson.build        |   1 +
 9 files changed, 122 insertions(+), 114 deletions(-)
 create mode 100644 hw/ide/ahci-sysbus.c
Signature · 1 line
2.47.1