On 01/04/14 03:17 PM, Biji John wrote:
Tejun, I'm running into an intermittent issue while trying to run one of our boards. It has the Marvell 9170 SATA controller connected to one of our PCIe buses. On the other side is an MSATA device. I'm running kernel 3.4.76. Intermittently, the link will not come up, it looks like the driver tries to bring the link up at 3Gbps, and then eventually fails, and the kernel will hang waiting for the root device. From doing a Google search, I noticed that this version of the ahci driver does not have the entries for 9170 (and 9178) in ahci_pci_tbl. Is this expected behavior? After adding the following patch, I'm seeing improvement, and am wondering how the patch might be helping in this regard. { PCI_DEVICE(0x1b4b, 0x9170), .driver_data = board_ahci_yes_fbs }, /* 88se9170 */
Are you sure this is actually having a consistent effect? Relative to the default AHCI behavior that you'd be getting without out it, all this does is enable FIS-based switching, which should only make any difference if you had a port multiplier connected. That does result in the FBS enable bit being set for the port, but it seems odd that this would be fixing something.
-- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html