This is a note to let you know that I've just added the patch titled Revert "xhci: Set HCD flag to defer primary roothub registration" to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-xhci-set-hcd-flag-to-defer-primary-roothub-registration.patch and it can be found in the queue-5.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From bf77c0c75936d0b4742662c095defaf60e255215 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Date: Wed, 3 Nov 2021 16:51:12 +0100 Subject: Revert "xhci: Set HCD flag to defer primary roothub registration" From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> This reverts commit 2d7c20db7220bc8dbc560de6e58f024696c790e5 which is commit b7a0a792f864583207c593b50fd1b752ed89f4c1 upstream. It has been reported to be causing problems in Arch and Fedora bug reports. Reported-by: Hans de Goede <hdegoede@xxxxxxxxxx> Link: https://bbs.archlinux.org/viewtopic.php?pid=2000956#p2000956 Link: https://bugzilla.redhat.com/show_bug.cgi?id=2019542 Link: https://bugzilla.redhat.com/show_bug.cgi?id=2019576 Link: https://lore.kernel.org/r/42bcbea6-5eb8-16c7-336a-2cb72e71bc36@xxxxxxxxxx Cc: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> Cc: Chris Chiu <chris.chiu@xxxxxxxxxxxxx> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> Cc: Kishon Vijay Abraham I <kishon@xxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/usb/host/xhci.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -693,7 +693,6 @@ int xhci_run(struct usb_hcd *hcd) if (ret) xhci_free_command(xhci, command); } - set_bit(HCD_FLAG_DEFER_RH_REGISTER, &hcd->flags); xhci_dbg_trace(xhci, trace_xhci_dbg_init, "Finished xhci_run for USB2 roothub"); Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.4/revert-usb-core-hcd-add-support-for-deferring-roothub.patch queue-5.4/net-ethernet-microchip-lan743x-fix-skb-allocation-failure.patch queue-5.4/revert-xhci-set-hcd-flag-to-defer-primary-roothub-registration.patch queue-5.4/scsi-core-put-lld-module-refcnt-after-scsi-device-is-released.patch queue-5.4/media-firewire-firedtv-avc-fix-a-buffer-overflow-in-avc_ca_pmt.patch queue-5.4/vrf-revert-reset-skb-conntrack-connection.patch