Skip to content

Some more AHCI work

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ahci: split ICH9 from coreMakefile.objs hw/ide/ahci.c hw/ide/ahci.h +1 more+375 -3013 replies
2/8ahci: split ICH and AHCI even morehw/ide/ahci.c hw/ide/ich.c+88 -1122 replies
3/8ahci: send init d2h fis on fis enablehw/ide/ahci.c hw/ide/ahci.h+28 -72 replies
4/8ahci: use qiov instead of dma helpershw/ide/ahci.c hw/ide/ahci.h+95 -84 replies
5/8ahci: Implement HBA resethw/ide/ahci.c+4 -10 replies
6/8ahci: make number of ports runtime determinedhw/ide/ahci.c hw/ide/ahci.h hw/ide/ich.c+26 -164 replies
7/8ahci: free dynamically allocated iovshw/ide/ahci.c+10 -01 reply
8/8ahci: fix !msi interruptshw/ide/ahci.c+1 -219 replies

Reviews trailers per patch

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

PatchGerd Hoffmann
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] Some more AHCI work

Clearly, AHCI as is is not perfect yet (intentionally, release early, release often, remember?). This patch set makes it work with SeaBIOS so booting Windows 7 works flawlessly for me. it also adds some speedups and fixes a level based interrupts, rendering ahci useful on PPC targets.

In preparation of potential non-ich9 implementations, this set also splits ahci code from concrete ich9 specific code. That way we can later on create other AHCI adapters while reusing a lot of code.

Git tree (including BIOS patch to enable booting from AHCI):

git://repo.or.cz/qemu/ahci.git ahci

Alexander Graf (7):
ahci: split ICH and AHCI even more
ahci: send init d2h fis on fis enable
ahci: use qiov instead of dma helpers
ahci: Implement HBA reset
ahci: make number of ports runtime determined
ahci: free dynamically allocated iovs
ahci: fix !msi interrupts

Sebastian Herbszt (1):
ahci: split ICH9 from core

 Makefile.objs |    1 +
 hw/ide/ahci.c |  594 +++++++++++++++------------------------------------------
 hw/ide/ahci.h |  313 ++++++++++++++++++++++++++++++
 hw/ide/ich.c  |  148 ++++++++++++++
 4 files changed, 618 insertions(+), 438 deletions(-)
 create mode 100644 hw/ide/ahci.h
 create mode 100644 hw/ide/ich.c