From nobody Tue Jun 16 03:40:19 2026 X-Original-To: freebsd-current@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 4gfXng1QDlz6glkd for ; Tue, 16 Jun 2026 03:40:39 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gfXnf0v9Nz3QG9 for ; Tue, 16 Jun 2026 03:40:38 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20251104 header.b=N+VQAhYp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-36d9794d82aso2506427a91.0 for ; Mon, 15 Jun 2026 20:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781581232; x=1782186032; darn=freebsd.org; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UpoGGG5R5OAXsa4IrfIfvdba/3kkVhwQvf/YwtdzUig=; b=N+VQAhYpFLPjgHLqsg2gRpPneNyrR7HPYkdB9O9iibvFgeq/44vXF/LKbNJq3pPl1v ZnEnIcNuCHQFyGSkGcNZaPHNN6SSTynbRJhEL56OSIbaQFYz02Tippe3aq1rRuMPljd+ klxOkfHORvNqCaButbno4TPQ95ryv7ID5XPqq59DAiS31rySuYCpcD6SNb4Su8o+tpGF RZVichz4Ijj8ZAjx058cd5rDE9MvEdRTJG8Kjb8qoEV3QbC6km+z26vLYV+L7Yc6KQeh hI2rrdRn4MPuXdYAhDHG3Cmg0Rs4SHQx7qRqdn7z/A1e/QJqDBm+OQnRvwB0ut6wq4dT 9SmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781581232; x=1782186032; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UpoGGG5R5OAXsa4IrfIfvdba/3kkVhwQvf/YwtdzUig=; b=Md938K83PwLGnZFmf8X2Tk0ynTrIJv6c1WoZ/8pxinvrs3cYzta3ROb7TqleDdpbPM yjD6zXC3ix+87d+xDYDbplFJkUfn/so2lhVUSQSHakPHGQmDEytCooGYMFJJrBL+cC9V dhOEO0AsW816mKrzT7LsWdGHetwd3fkUfHuI20fTGHP/uUGmeoX4T1cZDqvrPQ19HUOm KDdo5Ad2VSweJdAQrVuJo2zVUDhsfEAD7y49nzTJEG/WTiBXStkRlSMa/jlgPKHk6ezS rlmORjJ3kgMgyaAWOW0QKpccTmKn6myS1sgQRd0P7Hlr20c66azO0klSy5ZDsD6dgjTH hVAg== X-Gm-Message-State: AOJu0YwypJCVQyPVeRTxc6JYKE+6Sk0w+0ARAkd2hVhBeauktaoKlwRh RK7Qy6x5a1s+5lI1m54X7mZT4JfpRyOKemfpjDK9PJupjfHMKKuuSeiM X-Gm-Gg: Acq92OHKTelM99M+Lx9mxg/u9uc3TCtqbIGn+s0KuwkaYVmj3n//X64Ihi3YITFBI6Z FS578o8HxMFnQlSECjUbyOWD5mR1w53irVw7TlPH7Mp9JUO3B5dxlne0kKr/QNCvDHDwBpRqwOj 6087bXEVGrxX+98EVJBX6BWM4Q3UioV661ql2/KG2bsG0M9nwBnby7j4ScWYg/KIn/GoTcIGKtJ mjtgFtR4GTnyPZvx9rSe7MtIH7KBBe2OiKVfc5sv4owiKPTfifPZDL9MtepUAOQmVEewoCWp3ZK +UmuAo0U23CCwd2o4xTxijMJQ4QNhQix22Vkl2zhnVtSWBmw96EezTXXetkSEC42aPZf+s/LgrN DDrQtN4eNL/7+aUCjKB9J9YiRI8p83H1PY2cs3ckOXqE06K+GiJmPcZl85y3qOX/fvjmyFvLQlh BPD39CirhhINLZUckopFfmjvK3xzPLXETUdrRcHOVf5rY5SJujghnDay7u X-Received: by 2002:a17:90a:e7ca:b0:368:cefe:ddd0 with SMTP id 98e67ed59e1d1-37a038e553dmr16963892a91.15.1781581231503; Mon, 15 Jun 2026 20:40:31 -0700 (PDT) Received: from smtpclient.apple ([162.118.1.182]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-37c521ae78csm1143208a91.4.2026.06.15.20.40.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2026 20:40:31 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_C8B3A9DF-21F7-4C35-BE30-0F2A0510104C"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: nhi0: Cannot find Upstream Facing Port From: "Enji Cooper (yaneurabeya)" In-Reply-To: Date: Mon, 15 Jun 2026 20:40:19 -0700 Cc: freebsd-current , obiwac@freebsd.org Message-Id: References: To: Chris Torek X-Mailer: Apple Mail (2.3864.600.51.1.1) X-Spamd-Result: default: False [-4.72 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20251104]; NEURAL_HAM_SHORT(-0.12)[-0.116]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; HAS_ATTACHMENT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1033:from] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4gfXnf0v9Nz3QG9 --Apple-Mail=_C8B3A9DF-21F7-4C35-BE30-0F2A0510104C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 14, 2026, at 11:19=E2=80=AFPM, Chris Torek = wrote: >=20 > Noticed that there's some new thunderbolt code. I get this during = boot: >=20 > pci3: on pcib3 > nhi0: at device 0.0 on pci3 > nhi0: Cannot find Upstream Facing Port > nhi0: tb_router_attach_root() error. The driver should be loaded at = boot >=20 > If it helps any, here's some "pciconf -lv" output snippets: >=20 > pcib2@pci0:1:0:0: class=3D0x060400 rev=3D0x02 hdr=3D0x01 = vendor=3D0x8086 device=3D0x > 1136 subvendor=3D0x8086 subdevice=3D0x0000 > vendor =3D 'Intel Corporation' > device =3D 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > class =3D bridge > subclass =3D PCI-PCI > pcib3@pci0:2:0:0: class=3D0x060400 rev=3D0x02 hdr=3D0x01 = vendor=3D0x8086 device=3D0x > 1136 subvendor=3D0x8086 subdevice=3D0x0000 > vendor =3D 'Intel Corporation' > device =3D 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > class =3D bridge > subclass =3D PCI-PCI > pcib4@pci0:2:1:0: class=3D0x060400 rev=3D0x02 hdr=3D0x01 = vendor=3D0x8086 device=3D0x > 1136 subvendor=3D0x8086 subdevice=3D0x0000 > vendor =3D 'Intel Corporation' > device =3D 'Thunderbolt 4 Bridge [Maple Ridge 4C 2020]' > class =3D bridge > subclass =3D PCI-PCI >=20 > Can include more if needed. System works fine without whatever it's > trying to do (of course, since it wasn't even detected before :-) ) Hi Chris, I lit up the code in GENERIC in 886164895f =E2=80=94 so that=E2=80= =99s my fault :) (any info about the thunderbolt devices would be = appreciated!). obiwac@ asked that I back it out, so I=E2=80=99ll take = care of that now since it=E2=80=99s on my mind. Thanks! -Enji PS The thunderbolt(4) device implementation is incomplete: it was based = on work done by hselasky@ before he passed away back in 2023. I have a = TODO item to look at trying and get it working (enough) to have = functional Thunderbolt/USB4 stack for storage purposes, but it=E2=80=99s = way down my TODO list. tl;dr: I=E2=80=99m trying to get a partially = functional Mac x86 port before Apple nukes Intel support from macOS.= --Apple-Mail=_C8B3A9DF-21F7-4C35-BE30-0F2A0510104C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkHfexGRJ3gYRdA2gGpE5DjPsNJgFAmowxaMACgkQGpE5DjPs NJiD6xAAn5oEzIiUxwAcWv0uGPD0UlSqTA8p9ZSto62lDUI+2qYG2cGbjuZDH1hU T1N/iU6FQBJjG04cAj1rsU4AFsV8AaUB5i4WePdutq25dVDMPSWbPyUeQe2Eo9o+ 0/+wS7jCCKjA3rqmGsxoRvzoxHQ4o0CofGSVTFdqesLLrJ++Z2M9B2EaAUQa6Pcf 7PPC9mrNELDAi7N+JzR6WpQax7b4ajC1Dq3poyO5MrqyWkyB9J33lsIYzJVNygEf Ub9APjuN1+SZkGaNAmefk2ZLTz1Dglc2Wht5go3jka/XtV71qkigs6srTqVgq5jm dmaNpItCopz3IycXvQ/7zo946KHDbOAqxU1V83s0NRoG79QZSRTz7Q1hhRlmgzKM VZxE7TSw+ipTRpIiHBlVhzYz4Y942g8iEwcYlsxQZgOmjfoGKbSnBZlREhe+ipuK vtvqTIW9rZfsoZBynxiL2/LgB/FBaDxQpLxFvLkf1I2KllZgak5eoPGaQRVDeont HK0GWPm74LGglo33ZKEDnKbh/OIwmKzZ0f2o0aOC/SplcdwUg5GLXNOu7fp6HmYk Tr2Qn8DzltbVkRvg4+zFeQ43MNqXv1FQpFEVpQWmy/LmmHctumM2PDQywOSm3qp0 IWYe6H+4aeYgB59TX0WAHqvQnHPpK5stoO0SQJR3KUgkb1RKyRk= =OMd5 -----END PGP SIGNATURE----- --Apple-Mail=_C8B3A9DF-21F7-4C35-BE30-0F2A0510104C--