Re: Missing USB XHCI and EHCI reset for kexec
From: Benjamin Herrenschmidt
Date: Sat Jun 07 2014 - 17:12:28 EST
On Sat, 2014-06-07 at 11:40 -0400, Alan Stern wrote:
> The current xhci-hcd driver includes a quirk flag (XHCI_SPURIOS_WAKEUP)
> that causes the shutdown routine to reset the controller. It wasn't
> meant for fixing kexec problems, but I bet you could use it for that
> purpose.
>
> In addition, it's possible that a reset is needed in the probe pathway.
Ok, thanks. I'll have a look. A reset in the probe means fixing distros,
I'd rather find a way to fix it from the kexec path entirely, even if
that involves adding a quirk on the way out to reset it in shutdown()
I'll see what I can come up with that works and will come back to you.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/