]> git.baikalelectronics.ru Git - kernel.git/commit
libata: make sure PMP notification is turned off during recovery
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:11 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:48 +0000 (17:51 -0400)
commitb76fc511c88fb2b74625df2e99133267209e0aba
treed4d8357816cbd578e967a2f0bd07f60f02a73a3d
parentef25330ba6c006e9bd8734c5e0d933272438d8bf
libata: make sure PMP notification is turned off during recovery

PMP notification during reset can make some controllers fail reset
processing and needs to be turned off during resets.  PMP attach and
full-revalidation path did this via sata_pmp_configure() but the quick
revalidation wasn't.  Move the notification disable code right above
fan-out port recovery so that it's always turned off.

This fixes obscure reset failures.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-pmp.c