Re: [PATCH] xhci: Reset controller on xhci shutdown
From: Michal Pecio
Date: Tue Oct 06 2026 - 06:55:59 EST
On Mon, 05 Oct 2026 08:01:46 -0500, Wen Xiong wrote:
> When executing "kexec -e", saw the error:
> xhci_hcd 0005:01:00.0: Host halt failed. -110
That's interesting, because we call xhci_halt() in xhci_shutdown().
So the xHC should already be halted before the new kernel boots and
then xhci_halt() should succeed immediately.
It seems unlikely that anything restarts the xHC (or is there a FW
involved?), so either this TI chip reacts badly to trying to halt
it again or the first halt (befor kexec) already fails, or perhaps
something is broken outside xhci_hcd.
Are you able to capture the original kernel's dmesg (through serial,
netconsole, etc) and see if the same "Host halt failed" is there?
And if you enable dynamic debug before kexec,
echo 'module xhci_hcd +p' >/proc/dynamic_debug/control
what's printed by the debug message at the end of xhci_shutdown()?
Do you also get errors from quirk_usb_handoff_xhci() by any chance?
Regards,
Michal