All of lore.kernel.org
 help / color / mirror / Atom feed
* "ahci: drop intx manipulation on msi enable" breaks ULI M1575
@ 2009-04-07 14:54 Timur Tabi
  2009-04-07 23:57 ` Tejun Heo
  0 siblings, 1 reply; 36+ messages in thread
From: Timur Tabi @ 2009-04-07 14:54 UTC (permalink / raw)
  To: tj, linux-ide

Tejun,

Your patch

> ahci: drop intx manipulation on msi enable
>     
>     There's no need to turn off intx explicitly on msi enable.  This is
>     automatically handled by pci.  Drop it.
>     
>     This might be needed on machines if the BIOS turns intx off during
>     boot.  However, there's no evidence of such behavior for ahci and
>     the only such case seems to be ICH5 PATA according to ata_piix.
>     Also, given the way ahci operates, it's highly unlikely BIOS ever
>     disables IRQ for the controller.  However, as this change has slight
>     possibility of introducing failure, please schedule it for #upstream.

breaks SATA support on a Freescale MPC8610 HPCD (PowerPC) reference
board.  When I apply the patch, I get this result during boot:

ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed
irq 19
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata1: limiting SATA link speed to 1.5 Gbps
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

This board uses a ULI M1575 for SATA support.

Unfortunately, I don't know enough about SATA or PCI interrupts to
understand why you made the change or why it breaks on my board.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2009-04-16 21:28 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 14:54 "ahci: drop intx manipulation on msi enable" breaks ULI M1575 Timur Tabi
2009-04-07 23:57 ` Tejun Heo
2009-04-08  0:36   ` Timur Tabi
2009-04-08  0:36     ` Timur Tabi
2009-04-08  0:52     ` Michael Ellerman
2009-04-08  0:52       ` Michael Ellerman
2009-04-08  1:19       ` Timur Tabi
2009-04-08  2:09     ` Michael Ellerman
2009-04-08  6:12       ` Jeff Garzik
2009-04-08  6:12         ` Jeff Garzik
2009-04-08 11:40       ` Timur Tabi
2009-04-08 21:04         ` Tejun Heo
2009-04-08 21:06           ` Timur Tabi
2009-04-08 21:06             ` Timur Tabi
2009-04-08 21:13             ` Tejun Heo
2009-04-08 21:13               ` Tejun Heo
2009-04-08 21:17               ` Timur Tabi
2009-04-08 21:17                 ` Timur Tabi
2009-04-08 21:31                 ` Tejun Heo
2009-04-08 21:31                   ` Tejun Heo
2009-04-08 22:15                   ` Timur Tabi
2009-04-08 22:15                     ` Timur Tabi
2009-04-08 23:53                     ` Michael Ellerman
2009-04-09  4:23                       ` Kumar Gala
2009-04-09  4:23                         ` Kumar Gala
2009-04-09  4:38                         ` Michael Ellerman
2009-04-09  4:38                           ` Michael Ellerman
2009-04-09  5:18                           ` Kumar Gala
2009-04-09  5:18                             ` Kumar Gala
2009-04-09  5:32                           ` Jeff Garzik
2009-04-09 15:19                             ` Timur Tabi
2009-04-09 15:19                               ` Timur Tabi
2009-04-13 11:34                             ` Michael Ellerman
2009-04-13 11:34                               ` Michael Ellerman
2009-04-16 21:27                             ` Timur Tabi
2009-04-16 21:27                               ` Timur Tabi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.