Gwendal Grignou wrote:
> At reset time, according to the SATA state machine in SATA spec
> [16.3.3.5.1] A PM waits for a FIS from the host to port 0xF to be
> fully initialized. If for any reason the PM does not issue PHYRDY fast
> enough or other problem the host decide there is no device on the
> port, it will not issue a FIS, and the PM will never be seen.
..
Yes, nothing special there -- libata does all of that (and more).
> A PM will not send asynchronous notification for itself, only to devices
> connected to it [and the host controller must be able to handle it].
>
> Maybe polling SATA port could help?
..
That's what Tejun meant by a "hotplug even afterwards".
Except he was referring to the hotplug mechanism in the host side
chipset/driver, which is based on PHYRDY, not on any form of AN from the PM.
So the issue is likely that we simply will need hotplug support
in sata_mv before this specific unplug/replug Sil PM works.
No big deal, then -- IRQ/EH/hotplug patches are next in the pipeline
for sata_mv, later this week if all goes well.
Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to
majordomo@vger...
More majordomo info at
http://vger.kernel.org/majordomo-info.html
opensubscriber is not affiliated with the authors of this message nor responsible for its content.