LWN.net Logo

AHCI updates: Marvell AHCI PATA works; pata_marvell fate?

From:  Jeff Garzik <jeff@garzik.org>
To:  linux-ide@vger.kernel.org
Subject:  [PATCH 0/3] AHCI updates: Marvell AHCI PATA works; pata_marvell fate?
Date:  Thu, 16 Apr 2009 22:39:49 -0400
Message-ID:  <20090417023949.GA14469@havoc.gtf.org>
Cc:  LKML <linux-kernel@vger.kernel.org>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Archive-link:  Article, Thread



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.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds