Skip to content

Some more AHCI work v2

Alexander Graf qemu-devel 1 version Applied

Status from this message: Thanks, applied all to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 15 repliesApplied

v1 -> v2 from the cover letter

- drop dma helper removal
- drop "free dynamically allocated iovs" patch
- add "add license header in ahci.h"
- rephrase interrupt bugfix
- add comment on d2h delay hack

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ahci: split ICH9 from coreMakefile.objs hw/ide/ahci.c hw/ide/ahci.h +1 more+375 -3010 replies
2/7ahci: add license header in ahci.hhw/ide/ahci.h+23 -00 replies
3/7ahci: split ICH and AHCI even morehw/ide/ahci.c hw/ide/ich.c+88 -1120 replies
4/7ahci: send init d2h fis on fis enablehw/ide/ahci.c hw/ide/ahci.h+32 -70 replies
5/7ahci: Implement HBA resethw/ide/ahci.c+4 -10 replies
6/7ahci: make number of ports runtime determinedhw/ide/ahci.c hw/ide/ahci.h hw/ide/ich.c+26 -160 replies
7/7ahci: work around bug with level interruptshw/ide/ahci.c+1 -25 replies
7/7ahci: work around bug with level interruptshw/ide/ahci.c+6 -24 replies
7/7ahci: work around bug with level interruptshw/ide/ahci.c+13 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

v1 -> v2:

- drop dma helper removal
- drop "free dynamically allocated iovs" patch
- add "add license header in ahci.h"
- rephrase interrupt bugfix
- add comment on d2h delay hack

Alexander Graf (6):
ahci: add license header in ahci.h
ahci: split ICH and AHCI even more
ahci: send init d2h fis on fis enable
ahci: Implement HBA reset
ahci: make number of ports runtime determined
ahci: work around bug with level interrupts

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

 Makefile.objs |    1 +
 hw/ide/ahci.c |  488 +++++++--------------------------------------------------
 hw/ide/ahci.h |  333 +++++++++++++++++++++++++++++++++++++++
 hw/ide/ich.c  |  148 +++++++++++++++++
 4 files changed, 540 insertions(+), 430 deletions(-)
 create mode 100644 hw/ide/ahci.h
 create mode 100644 hw/ide/ich.c