[libata] ahci: Restore SB600 SATA controller 64 bit DMA
authorShane Huang <shane.huang@amd.com>
Wed, 27 May 2009 07:04:43 +0000 (15:04 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 10 Jun 2009 15:05:00 +0000 (11:05 -0400)
commit58a09b38cfcd700b796ea07ae3d2e0efbb28b561
tree3979b8943a043413f15503a0967b1942c407cf46
parent7654db1a9256d746ae4d229ba675f616a5d5e1a1
[libata] ahci: Restore SB600 SATA controller 64 bit DMA

Community reported one SB600 SATA issue(BZ #9412), which led to 64 bit
DMA disablement for all SB600 revisions by driver maintainers with
commits c7a42156d99bcea7f8173ba7a6034bbaa2ecb77c and
4cde32fc4b32e96a99063af3183acdfd54c563f0.

But the root cause is ASUS M2A-VM system BIOS bug in old revisions
like 0901, while forcing into 32bit DMA happens to work as workaround.
Now it's time to withdraw 4cde32fc4b32e96a99063af3183acdfd54c563f0
so as to restore the SB600 SATA 64bit DMA capability.
This patch is also adding the workaround for M2A-VM old BIOS revisions,
but users are suggested to upgrade their system BIOS to the latest one
if they meet this issue.

Signed-off-by: Shane Huang <shane.huang@amd.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c
drivers/firmware/dmi_scan.c