All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Neronin, Niklas" <niklas.neronin@linux.intel.com>
To: Michal Kubecek <mkubecek@suse.cz>
Cc: mathias.nyman@linux.intel.com, linux-usb@vger.kernel.org,
	Nick Nielsen <nick.kainielsen@free.fr>, grm1 <grm1@mailbox.org>
Subject: Re: Regression - commit 719de070f764 usb: xhci-pci: add support for hosts with zero USB3 ports
Date: Fri, 10 Oct 2025 16:24:20 +0300	[thread overview]
Message-ID: <fa978117-a751-4c66-aa87-adaf6cfc6a11@linux.intel.com> (raw)
In-Reply-To: <lnb5bum7dnzkn3fc7gq6hwigslebo7o4ccflcvsc3lvdgnu7el@fvqpobbdoapl>



On 10/10/2025 16.12, Michal Kubecek wrote:
> On Tue, Aug 26, 2025 at 12:04:16PM GMT, Niklas Neronin wrote:
>> Add xhci support for PCI hosts that have zero USB3 ports.
>> Avoid creating a shared Host Controller Driver (HCD) when there is only
>> one root hub. Additionally, all references to 'xhci->shared_hcd' are now
>> checked before use.
>>
>> Only xhci-pci.c requires modification to accommodate this change, as the
>> xhci core already supports configurations with zero USB3 ports. This
>> capability was introduced when xHCI Platform and MediaTek added support
>> for zero USB3 ports.
>>
>> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220181
>> Tested-by: Nick Nielsen <nick.kainielsen@free.fr>
>> Tested-by: grm1 <grm1@mailbox.org>
>> Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
> 
> Hello,
> 
> while testing 6.18 merge window snapshots, I hit an issue which bisected
> to this patch, mainline commit 719de070f764 ("usb: xhci-pci: add support
> for hosts with zero USB3 ports").
> 
> When booting any kernel with it, my keyboard attached to USB port
> intended for it does not respond. Comparing the logs between "good" and
> "bad" kernel boot, it looks like hubs 9 and 10 are not detected at all
> when booting a kernel with commit 719de070f764.
> 

Hello,

Thank you for reporting.

A fix has been proposed in this thread:
https://lore.kernel.org/linux-usb/CABpa4MA9unucCoKtSdzJyOLjHNVy+Cwgz5AnAxPkKw6vuox1Nw@mail.gmail.com/

The specific fix:
https://lore.kernel.org/linux-usb/20251009142911.6069c164.michal.pecio@gmail.com/

Best Regards,
Niklas


  reply	other threads:[~2025-10-10 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26 10:04 [PATCH] usb: xhci-pci: add support for hosts with zero USB3 ports Niklas Neronin
2025-10-10 13:12 ` Regression - commit 719de070f764 " Michal Kubecek
2025-10-10 13:24   ` Neronin, Niklas [this message]
2025-10-10 13:31     ` Michal Kubecek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa978117-a751-4c66-aa87-adaf6cfc6a11@linux.intel.com \
    --to=niklas.neronin@linux.intel.com \
    --cc=grm1@mailbox.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    --cc=mkubecek@suse.cz \
    --cc=nick.kainielsen@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.