Article View: linux.kernel.netdev
Article #11804Re: [PATCH 17/17] PCI: Replace untrusted state with device trust
From: Jason Gunthorpe
Date: Thu, 05 Nov 2026 16:26
Date: Thu, 05 Nov 2026 16:26
25 lines
13573 bytes
13573 bytes
On Thu, Nov 05, 2026 at 10:43:00AM -0500, Greg Kroah-Hartman wrote: > > But I supposed Greg is asking about /sys/bus/usb/devices/DEVICE/authorized .. > > Yes, that is exactly what I am asking about. It looks like that does the same basic idea of delaying driver binding that this series does. Hopefully Leon can harmonize it to use the shared trust level flag instead of a usb specific flag and retain all the uABI around it. But, even with this v1 the user can choose to use the generic trust level and ignore the USB specific authorized and get the same functional outcome. > And I know there are other types of devices that will want to use this > type of thing (i.e. SPDM seems to be spreading to other new bus types), > so it's good to have and get right. Yes, we are investing alot of time right now in trying to get SPDM uAPI right when we bring the general framework into the kernel. Everyone needing SPDM should be able to re-use it. Jason
Technical Details
Message-ID:
<20261105162659.GB663069@ziepe.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357495-linux-kernel-netdev=dewy.ruReferences:
<20261105-device-trust-core-v1-0-1e536825b4eb@nvidia.com> <20261105-device-trust-core-v1-17-1e536825b4eb@nvidia.com> <2026110526-aerobics-correct-4c06@gregkh> <20261105131856.GA8298@unreal> <20261105140352.GF3889730@ziepe.ca> <2026110558-tartar-juicy-036a@gregkh>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357495-linux-kernel-netdev=dewy.ru
From: jgg@ziepe.ca (Jason Gunthorpe)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 17/17] PCI: Replace untrusted state with device trust
Date: Thu, 5 Nov 2026 12:26:59 -0400
Organization: Usenet Network
Message-ID: <20261105162659.GB663069@ziepe.ca>
References: <20261105-device-trust-core-v1-0-1e536825b4eb@nvidia.com>
<20261105-device-trust-core-v1-17-1e536825b4eb@nvidia.com>
<2026110526-aerobics-correct-4c06@gregkh>
<20261105131856.GA8298@unreal>
<20261105140352.GF3889730@ziepe.ca>
<2026110558-tartar-juicy-036a@gregkh>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="3680274"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:sjfH040AO4c9FXhekoSSlQzFLGU= sha256:Qe+55dSAB/dN+yc0RiJXDY4ggIeInrbNaQSgmsLAhTw=
sha1:LtgenMV1hl2ia0sOkTJmFDVrH4E= sha256:BSiZ/fZ8VNWC3Wwyh79IbvKB+wAMr9w8wongttnuUUc=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id BD061113017; Thu, 5 Nov 2026 19:43:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=ziepe.ca
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id txY1y4_xDqZh;
Thu, 5 Nov 2026 19:42:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-357495-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=ziepe.ca
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 87B4F113004; Thu, 5 Nov 2026 19:42:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 0F1A837C32; Thu, 5 Nov 2026 16:27:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793896033;
b=UJDRzqhcU168hkmdJnp/3Ugbmb24JpsT04nTa+dSiwnluGXpT3vBCyj5BDF7bNwef1te
6PeJCION6dyxNyzoutGBJDzu1R5nj9J6l4LAcCkD73awguv8qxHsxNeHjlymxt/zRHzA3
DNSUBxoaEMG7RxIAj7n4IUL4Z4vMTZOb4DcgAVOPZ/QuNMEWZXMjGMmmROesoItUqQpT6
02sWAcCJWqqaOoNWkophDBWQ02Smudx5stuauV/Krf2pgg+cbsOgRwW95V3ZTu53WbIDB
gzrCzEzFMmzPGQIG6XOAUd1imUioRd0kKMmiW7rvoNzZlKPxWR8MaAMJsHkJhsmTkiQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793896033;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Received:Date:From:To:Cc:Subject:
Message-ID:References:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To;
bh=auiIKhbmoRZT4mFY+NhWtro4ChWc0LCFT6CcONkj2hM=;
b=2O7+5vidPEbgppO55bYtboO67SdgG89EfsMjtULtfSKGhXnEiJ3EC+lJVPIvR+3r+L2o
AYNFqKuExmDMChUcYj5c3eb+ijh3xqDq04Lgq+wLuN7qhRWiZLKDFV5pADRrWdp6YmC0p
eHIyzuJ7reW1TPo9npupXyjEpl300VoAWJzu5PZp7NhJR2tNgw/y4LfzPO+9MTOWfvUz1
eNNy36u4XpvRH3O40AkgYHpC21cL8HThbUU2ViVBtBTpvA/v9g+I+95+XK5h4VshlcV6K
i2Lia5VUODGBEZBoDMpQwZYoOVa3PTBoAbSLCEbOciqVKV4uwZQANi0VNxJxC0BUvLA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=TH080M2b;
dmarc=none header.from=ziepe.ca;
spf=pass smtp.mailfrom=ziepe.ca;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id D6480606D80B;
Thu, 5 Nov 2026 16:27:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=TH080M2b
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.217.42
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793896023;
b=X3uBosCh2Gl2EhL3NtEemOmkZUj+TWuLIjR/bgX3uoKU+c0psDI1uMiG5v4SbU0h5GgL
4fUgjMgy2hQEMVYZ3UdfhaxPywTm+bNSdiaLPiqpWrSjXRsFWB/mo2fdIlwqd4meLKwYh
S2941Ko1yy608BQnjTHP0MNzHiL1CzNvdwIc3syeAxf9F3g+4wCt/TrK96pcs/Wwjp51o
S9i9gEs8x+cazQ38SLuB/Zk49eQH/OSKfTX78RkHqBzwFo/mKqBywJiTxk8fMgI1YT2Yp
tkgasiYWEXPM7QKjhpmzjOJEZXeU9WyCF2aUrI7iohv/XNW260gvBJ/JHQQHVnEKqaw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793896023;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To;
bh=auiIKhbmoRZT4mFY+NhWtro4ChWc0LCFT6CcONkj2hM=;
b=GYtAtZCcfvDJqdTPfzwkuBUo85ZnGZAz1xEBDgCe8r6xIXJ9YJ2tztw59aRRZDidviTp
yRy6AZzbr14zkjWMrBvR3e9j5+vtXV2vGfJKvNof7Or2/91iZOKp0Wg2LRzSV/rkv61y1
+X27wnf2budlVqaSlp9egQyhy85LgiYHQvYP/vGhzYHbladgirFR7kzk1x6MXRibQrKxB
rMQ+6/eAMLBQmOGaCfackAC98w0BUkeaF7AvpGb6cyJDzysPsBdZ00vQdkTynfvl0HMrt
WAXNOSxSjtANwlnsgDIGSkNYUiqYkG49Isuld9qIFc3ajyAijfvFNxUCuYheCgFGotQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=ziepe.ca;
spf=pass smtp.mailfrom=ziepe.ca;
dkim=pass header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=TH080M2b;
arc=none smtp.remote-ip=209.85.217.42
X-Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8111C606A334
for <netdev@vger.kernel.org>; Thu, 5 Nov 2026 16:27:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8111C606A334
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca
X-Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-7cc3eb09dd2so738085137.2
for <netdev@vger.kernel.org>; Thu, 05 Nov 2026 08:27:02 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=ziepe.ca; s=google; t=1793896021; x=1794500821; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=auiIKhbmoRZT4mFY+NhWtro4ChWc0LCFT6CcONkj2hM=;
b=TH080M2b2W5GU83fC4bkAl8rc89cXnFJ2JUZ1DQM2E1G7nxV0uZ+iMHWJDX5M/hBR0
v8Q4S1dZz9e+Wy709/pkQPJoJ382ui88GBuCa7YwB1Pwv+V08ySzbQGdCs4et9sFRxVX
1a78LWa2r/qDmkC73yn92WJjnMydzWl2HaDmNekF7y5RHwsZB7YPGLTTr3xjjmuI4LbR
sgpTrG1DSTm++FzIJZEq0knZSmQ9xxE9IezNyVfi/1ZtU95O+iPlQHI5LWAc3/YmXStT
Vgy3IZE07Q/+XWoEa8k60w3BygO7yb8zhuyYBqBwOLPUaUevbalW8R2MAA5wjUpSFz6r
zz0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793896021; x=1794500821;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=auiIKhbmoRZT4mFY+NhWtro4ChWc0LCFT6CcONkj2hM=;
b=QfFZDtQs0vZMkj8LZdqs7905yZvGxjUs3fXutLMSc9fHXO2yzuq7TjDKa0ZY8+Xb4B
VuO4x4DgBG50Bj1hNvsfzcWcRQlmFahGhNHQMHVtfYhiCEM1gx2DwT6evNN8zAI2QKfG
MR4PAvaKrJg+HrXPeENY4B+gvVx7pR9SvVavgh1NnkZNOdI5Uph/RlzkkyqkZTohiRAi
y+gZuH8clo3AzRGeY852ZvVrPSRc+EoavJsKwBpqTNsoOlxom3f8T101sXVnPJ5OTgnw
aA5+CVl3IweRlp2Hql6cb2+qdBGTK9AXbRGyUkoGU8txwgXIELd39HnXYFEtGu5aglMd
aJdw==
X-Forwarded-Encrypted: i=1; AKwUvBwK63X7hZB+gwY1cj6uMCHrHib6IiwxxWiuPgfig3ZuQXthwWMd+dCgzH/x5XdDpmMdLEauLqA=@vger.kernel.org
X-Gm-Message-State: APuU4Z/IzPHJfWvbDZodJpZY90633bE8lEWoRwuDqeXLLTBcHJcI6NIh
7CWYlv3ABnpyoqsarAzGzjakg7d0oxPmotJ1w1neakd8+xA94/rWdi0D5wi+AC/PjlM=
X-Gm-Gg: AYBFou22uD0kvhSzY9/zrRUYIYiknZAGfFyB+n2SsSvU07sQYQXYk5hTW+MH5Zgzyd4
WADu+B/wWADiItaJ4kiOHwE+pgcRc+72QCcjo7ikas9lSUxrgeooVkhUl+6KXP7yz0ye8M3o6Qj
ytD4eXdLgjUV3lMdAqrJ6ANSzArdDy3fFd+++YvfBCmM1ylPR/rzLbJmA/OBassiMSCzvbvhZHM
8vmj4gv1UhhHUggEGE0f+es8BNW9XNXLW8xzsWwYypPaKamEii+xq7KppDHMidi0cvUvZIFMdtM
AM47vstCH3Cw8zJG+xR9kjw1M+hgFZ6lfsmiKa/YQLyDabBB/fV1wtHKIjic9yIJRqdjttudCST
O26OZW33HZdKAMVoxrYJfwioYvW279fexfCYRoGLE/0e5TRnfXpQAKi4nLWNJeLvk9EKn3FzpT5
QPXEh5hAfoNfiJSA8ArLMV3Fjx/toI6NhI4jv5hIXnuBxr7ELYRgZ8KUpDaOeSpJBwefM6SY7/0
k1vvaXoiW1Zuo/m7klS9npwFTtQtH4hVKEmSXn1Pa0JZsCCtEvFbxiXhgGkFs6VbP+2Dq3zJ+pn
JcjdO3zz+Z3ZzD9bgipezRrbWeht47KKjKV7mwTPpxx1HPwYio5XdoHdglzmFZPuY3Fr0Ly3ggI
trmgpwSksB1xXKiFurmxTAQiVVagGlAM=
X-Received: by 2002:a05:6102:3f9f:b0:7cc:174b:f7bc with SMTP id ada2fe7eead31-7d2a15715c3mr29296137.15.1793896021174;
Thu, 05 Nov 2026 08:27:01 -0800 (PST)
X-Received: from ziepe.ca (hlfxns010zw-159-2-239-150.pppoe-dynamic.high-speed.ns.bellaliant.net. [159.2.239.150])
by smtp.gmail.com with ESMTPSA id ada2fe7eead31-7d26fef4ed3sm4667110137.11.2026.11.05.08.27.00
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Nov 2026 08:27:00 -0800 (PST)
X-Received: from jgg by wakko with local (Exim 4.97)
(envelope-from <jgg@ziepe.ca>)
id 1xP0Il-000000032XP-37xT;
Thu, 05 Nov 2026 12:26:59 -0400
X-Cc: Leon Romanovsky <leon@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Johannes Berg <johannes@sipsolutions.net>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Bjorn Helgaas <bhelgaas@google.com>,
"Joerg Roedel (AMD)" <joro@8bytes.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
Vasant Hegde <vasant.hegde@amd.com>, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
David Woodhouse <dwmw2@infradead.org>,
Lu Baolu <baolu.lu@linux.intel.com>,
Johan Hovold <johan@kernel.org>, Eric Dumazet <edumazet@kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Nipun Gupta <nipun.gupta@amd.com>,
Nikhil Agarwal <nikhil.agarwal@amd.com>,
Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>,
linux-kernel@vger.kernel.org, driver-core@lists.linux.dev,
linux-input@vger.kernel.org, netdev@vger.kernel.org,
linux-wireless@vger.kernel.org, linux-usb@vger.kernel.org,
linux-bluetooth@vger.kernel.org, linux-acpi@vger.kernel.org,
linux-doc@vger.kernel.org, linux-pci@vger.kernel.org,
iommu@lists.linux.dev
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <2026110558-tartar-juicy-036a@gregkh>