pata_via: disable ATAPI DMA on AVERATEC 3200
authorTejun Heo <tj@kernel.org>
Thu, 4 Aug 2011 09:15:07 +0000 (11:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:39:57 +0000 (11:39 -0700)
commite4dd9ac202da43712e1725087a7f5c656b79fb51
tree3545710b1963591b726c73573443f935be3d84be
parent088412ec9929d1a1aa58e30aba1304a0fee68c98
pata_via: disable ATAPI DMA on AVERATEC 3200

commit 6d0e194d2eefcaab6dbdca1f639748660144acb5 upstream.

On AVERATEC 3200, pata_via causes memory corruption with ATAPI DMA,
which often leads to random kernel oops.  The cause of the problem is
not well understood yet and only small subset of machines using the
controller seem affected.  Blacklist ATAPI DMA on the machine.

Signed-off-by: Tejun Heo <tj@kernel.org>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=11426
Reported-and-tested-by: Jim Bray <jimsantelmo@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/pata_via.c