Enumerating an empty bus hangs the entire system

Mason slash.tmp at free.fr
Wed Mar 15 09:13:50 PDT 2017


On 15/03/2017 17:02, Bjorn Helgaas wrote:

> If checking for link in your accessor is the best you can do, maybe
> that's all you can do.  I thought there was another driver that did
> that, but I can't find it now.  It doesn't seem perfectly safe to me,
> since the link could go down after you check for "link up" and before
> you actually issue the read.

Are you thinking of some hotplug scenario?

My system doesn't support hotplug, and I naively thought that the
link would be down if there is no card, and up shortly after reset
if there is a card.

Regards.



More information about the linux-arm-kernel mailing list