Skip to content

AHCI updates: Marvell AHCI PATA works; pata_marvell fate?

Jeff Garzik linux-ide lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ahci: move core code into new libahci moduledrivers/ata/Kconfig drivers/ata/Makefile drivers/ata/ahci.c +3 more+2424 -19790 replies
2/3mv-ahci: Add Marvell PATA supportdrivers/ata/ahci.h drivers/ata/libahci.c drivers/ata/mv-ahci.c+782 -700 replies
3/3acard-ahci: Add new ACard ATP AHCI driverdrivers/ata/Kconfig drivers/ata/Makefile drivers/ata/acard-ahci.c +3 more+462 -930 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchRaman Gupta
SeriesT-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] AHCI updates: Marvell AHCI PATA works; pata_marvell fate?

This is an update of the recent libahci patchset, currently available on the 'libahci' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git

These patches move a large amount of code from the currently self-contained ahci driver to a new kernel module, libahci, in preparation for supporting some "98% AHCI clones" from Marvell and ACard.

This also has the nice side effect of isolating the generic AHCI controller code from the grungy vendor-specific details, and opens the way for supporting AHCI on non-PCI buses (at least one such example exists, amba).

Changes since last posting: Marvell PATA started working

Marvell 6145 has successfully been stress-tested with the following modern, high performance 2GB hard drive:

ATA device, with non-removable media
Model Number: WDC AC22100H
Firmware Revision: 10.07H12
Standards:
Likely used: 2

Marvell PATA on 6121 and similar chips should also work, but that hasn't yet been tested. Here's the full list of what still needs testing:

- master + slave devices
- ATAPI
- 6121 (6123? others?)

Also, there is the open question of how to deal with pata_marvell co-existence (hello, Alan :)), now that we have two noticeable driver changes in this area:
- Marvell AHCI-alikes moved from 'ahci' to 'mv-ahci'
- We can now fully support SATA+PATA configurations in 'mv-ahci'

The mv-ahci code is obviously still a bit raw with "#if 0" in places, but it is nonetheless ready for testing.