From nobody Mon Apr 25 14:34:49 2022 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD60D199905F for ; Mon, 25 Apr 2022 14:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kn6wn3HyRz3H1V for ; Mon, 25 Apr 2022 14:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E51C1CB17 for ; Mon, 25 Apr 2022 14:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23PEYnxh062925 for ; Mon, 25 Apr 2022 14:34:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23PEYnMM062924 for usb@FreeBSD.org; Mon, 25 Apr 2022 14:34:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 261912] XHCI fails to attach to array on startup Date: Mon, 25 Apr 2022 14:34:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mav@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650897289; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XCnsZL0c+s3C7FS/DGIIOiEKsa00N6G1Ky4q7kjJG7g=; b=wDXBk03gXr5KlbrEsqbESLr7aW30xrb4ZaUGmZoleDokfJfQ8M4V82q0V6Ro0/Pl/6MWwC cugUjeDPuUUGgEL56WEeeN38QJz7EmNXpWzTHNYqTnJShkCID9LHmL6prKb2wRG0bQdJRI 2XDxugKmEjoGXIyrIG4lr1cuxDEltbDRknrFNSRksJMWritaR02/AJ4nI53qgyDFyi0BZB Mog9IB/4B+Gktne1t9I7whF/3k/RZ5uazjR7gEKyaSz8XlISNWjoIuIJBOmrxlrhx8Utb8 0crAh3agX6NF7MxiETPcaSIgHzdIefXnYzI1Da44B0nh3nj5l0nCDBuf/NXsnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650897289; a=rsa-sha256; cv=none; b=YmIrVXGYVIODDv8Q+adDiDiUaHPEUrye4pDNg9p6HjHKxQD/lrWm0XtnO/nnC6wswMszwM 20G8knZDxkBb/AXEXbLWF0apOxH7/PZrB6jBs6fZCzmczvJy1k/MjL+vZLhOagpAbW0j/v tVrwbqRr0ZV4EWQHc6cWHnIGpUng/R7Pf7q7q3J1sw+mwwFxUKMfq5AQtrT0CG9n/iXScY 97krn8v5kKUpfE0A6ygY2ZRJViQchhHfuAFQSaZfTH2Yrojr/tisLX9J0720lND57avm24 4kBEkxuOUIWbdoltSCGsqAS5m78YU+9lwjr1GBxTgPREVM1jbhoID2/r2BZAWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261912 --- Comment #11 from Alexander Motin --- I can't say anything about USB devices detection side, but there are plenty= of interesting things going on PCI side here. First, this port seems to be Thunderbolt, not plain USB, so when you hot-plug the USB, system actually detects PCI hot-plug of several levels of PCI hierarchy with XHCI controlle= r at the end. A pleasant surprise is that all resource allocation succeeds in case of hot-plug, it seems BIOS through SMI or something else pre-allocated the resources before OS touches it, so everything just works. In case of boot with the USB devices already connected (contrary to what I expect) resources below the top level bridge are not allocated by BIOS and I see plenty of allocation errors. Considering the XHCI controller is detect= ed I guess none of the errors are fatal, but I can only speculate that something= may still be not right there. Sean, are there any BIOS options on the system like "fast boot" or somethin= g, that could control resource allocation for "unnecesary" devices during boot? --=20 You are receiving this mail because: You are the assignee for the bug.=