From nobody Thu Jan 20 11:04:05 2022 X-Original-To: freebsd-stable@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 3E78E195DA42 for ; Thu, 20 Jan 2022 11:04:08 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4JfflW2XFlz4stf for ; Thu, 20 Jan 2022 11:04:07 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E5D805C0182 for ; Thu, 20 Jan 2022 06:04:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 20 Jan 2022 06:04:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsco.org; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=yUjJHACQQpJgXZ MC9T9/jS42dO0XOZf79ZohZ8UPR0k=; b=XkW64tWyn2D9FDj89fjwyaFKAu7dyP ID5I6d8Ji28q6HAHnSFesyqKgJX1d9IQKZPH2AoRfjYq0t691av2usxXKX0H2WnF c+mi3NvXf5rRF6Ai++bpOi7WxZmzDLQIFz4tXITXO7sooL75hoJrzxhNbN7WKh9l vLkyJ78gEDGbkkpxKccTowI7gaVJm3vmBqoZLZktltvm4eOXavJMcQq9PWkfkOR0 ujb7Of+RgxtX5ntMv/3mcXSJXhftdtHiw608Z6Jdxz3JAvEW4sjFV3on4avGR6aW xOI4am7fOskjU7VyE86aUSTA52L1dZxhQQjJh0jqmuSDt/TuEfCWIYGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=yUjJHACQQpJgXZMC9T9/jS42dO0XOZf79ZohZ8UPR0k=; b=GfKNriOJ u2AVcB8ozaQMbq0ScnEQVpN3HRqo33zOyDb85ugSo8XweVATyytx7yMgzA9VT77M 3L4wjfVedpbLD36KLPpYsj+x2BrDffgxhVt3perOukhFIV8StiJe+ZAAm9/OYTGB rgMYykpodn6vxmQEM3e9e+4dUtd9Ml78WzhAzxpDv3amLq8p1c4Nc/0Zh3mYE805 HJKTiB/6L+DuWeDUPDE+hejXjn1PjxVxpoRp2IGVEK01I+VrBKN6GmuUxsAMKP/n AqwLwag2+x6BKVLS43gANokqFEIVQSr6i/ze+yUNJRjCYRbBD/OSzjsZtso6nW8s Av5g74ZnK5/C3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffffhfvjgfkofesthhqmh dthhdtjeenucfhrhhomhepufgtohhtthcunfhonhhguceoshgtohhtthhlsehsrghmshgt ohdrohhrgheqnecuggftrfgrthhtvghrnhepvdegfeegfeelgfdvfedthffgvedvhfelte egudetuedvtdethfdtkedtfeegfedunecuffhomhgrihhnpeifihhkihhpvgguihgrrdho rhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsh gtohhtthhlsehsrghmshgtohdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 20 Jan 2022 06:04:06 -0500 (EST) From: Scott Long Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: Intel + Thunderbolt Driver Date: Thu, 20 Jan 2022 04:04:05 -0700 References: To: freebsd-stable@freebsd.org In-Reply-To: Message-Id: <00D5154E-7656-42A6-A899-DE77067EDF70@samsco.org> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Rspamd-Queue-Id: 4JfflW2XFlz4stf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=samsco.org header.s=fm2 header.b=XkW64tWy; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=GfKNriOJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of scottl@samsco.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=scottl@samsco.org X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.27:from]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[samsco.org:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[samsco.org:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[scottl]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[samsco.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; MLMMJ_DEST(0.00)[freebsd-stable] X-ThisMailContainsUnwantedMimeParts: N > On Jan 14, 2022, at 12:39 PM, Gerard E. Seibert = wrote: >=20 > I was just wondering if anyone had heard or knows when FreeBSD will be > able to support Intel's "Thunderbolt" technology? The lack of a driver > that works for FreeBSD has made it impossible for me to update my > system beyond version 11.4. >=20 > https://en.wikipedia.org/wiki/Thunderbolt_(interface) >=20 > --=20 > Jerry >=20 Hi, I have a driver in progress. It works at a basic level with my = AlpineRidge and Icelake controllers. I haven=E2=80=99t developed against TitanRidge, = MapleRidge, or AlderLake yet, mostly due to not having hardware. However, I=E2=80=99m = curious about your assertion of =E2=80=9Cimpossible=E2=80=9D. Thunderbolt3 is = mostly just a PCIe bridge with a dangerously ineffective security model on top. The only = thing that a driver provides is an authorization handshake with the controller firmware that runs the security protocol. If you turn off the security = feature of Thunderbolt via the BIOS, no driver is necessary. What makes a driver interesting in the future is it being the foundation = for supporting USB4. I have some of that code written. It also will = integrate more closely with the DMAR/IOMMU to provide actual protection against malicious peripherals, instead of, like I said above, the dangerously ineffective security model that Thunderbolt3 promotes. Also, there=E2=80=99s some interesting potential with creating high = speed point-to-point packet networks that=E2=80=99s cheaper than 40Gb ethernet = on a per-port basis. The new generation of Thunderbolt4 routers with = multiple downstream ports makes this even more interesting. =20 I was hoping to upstream my driver this past month. Unfortunately I = wasted time going down more TB3 security rabbit holes (Pre-boot ACL support, to be specific), so I=E2=80=99m behind schedule. Also, I have a = long-standing problem with the AlpineRidge controllers that seems to make them very finicky = and failure prone, and I=E2=80=99ve wasted months so far trying to figure = out if the problem is with my driver or with the hardware. However, none of this = is necessary for updating one=E2=80=99s system beyond version 11.4. If you = wouldn=E2=80=99t mind sharing the specifics of your difficulties, I might be able to = help. Scott