* [PATCH #upstream-fixes] ahci: sis controllers actually can do PMP
@ 2008-08-01 3:51 Tejun Heo
2008-08-22 6:20 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2008-08-01 3:51 UTC (permalink / raw)
To: Jeff Garzik, IDE/ATA development list, piterpunk
SIS controllers were blacklisted for PMP as enabling it made device
detection fail whether the device was PMP or not - the natural
conclusion was the controller chokes on SRST w/ pmp==15. However, it
turned out that the controller just didn't like issuing SRST after
hardreset w/o clearing SError first. Interestingly, the SRST itself
succeeds but the following commands fail.
If SError is cleared between hardreset and SRST, which is the default
behavior now, everything works fine and SIS controllers work with PMPs
happily.
Remove PMP blacklisting for SIS AHCIs.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Piter PUNK <piterpunk@slackware.com>
---
drivers/ata/ahci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index ef3e552..2460370 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -575,9 +575,9 @@ static const struct pci_device_id ahci_pci_tbl[] = {
{ PCI_VDEVICE(NVIDIA, 0x0bc7), board_ahci }, /* MCP7B */
/* SiS */
- { PCI_VDEVICE(SI, 0x1184), board_ahci_nopmp }, /* SiS 966 */
- { PCI_VDEVICE(SI, 0x1185), board_ahci_nopmp }, /* SiS 968 */
- { PCI_VDEVICE(SI, 0x0186), board_ahci_nopmp }, /* SiS 968 */
+ { PCI_VDEVICE(SI, 0x1184), board_ahci }, /* SiS 966 */
+ { PCI_VDEVICE(SI, 0x1185), board_ahci }, /* SiS 968 */
+ { PCI_VDEVICE(SI, 0x0186), board_ahci }, /* SiS 968 */
/* Marvell */
{ PCI_VDEVICE(MARVELL, 0x6145), board_ahci_mv }, /* 6145 */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH #upstream-fixes] ahci: sis controllers actually can do PMP
2008-08-01 3:51 [PATCH #upstream-fixes] ahci: sis controllers actually can do PMP Tejun Heo
@ 2008-08-22 6:20 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-08-22 6:20 UTC (permalink / raw)
To: Tejun Heo; +Cc: IDE/ATA development list, piterpunk
Tejun Heo wrote:
> SIS controllers were blacklisted for PMP as enabling it made device
> detection fail whether the device was PMP or not - the natural
> conclusion was the controller chokes on SRST w/ pmp==15. However, it
> turned out that the controller just didn't like issuing SRST after
> hardreset w/o clearing SError first. Interestingly, the SRST itself
> succeeds but the following commands fail.
>
> If SError is cleared between hardreset and SRST, which is the default
> behavior now, everything works fine and SIS controllers work with PMPs
> happily.
>
> Remove PMP blacklisting for SIS AHCIs.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Piter PUNK <piterpunk@slackware.com>
> ---
> drivers/ata/ahci.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-22 6:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-01 3:51 [PATCH #upstream-fixes] ahci: sis controllers actually can do PMP Tejun Heo
2008-08-22 6:20 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).