Article View: linux.kernel.netdev
Article #11768Re: [PATCH 10/17] driver core: Expose device trust authorization through sysfs
From: Jason Gunthorpe
Date: Thu, 05 Nov 2026 14:06
Date: Thu, 05 Nov 2026 14:06
14 lines
13336 bytes
13336 bytes
On Thu, Nov 05, 2026 at 01:59:20PM +0000, Robin Murphy wrote: > Yup, and that's true even in the PCI TDISP case - there's a major amount of > "communication" and "configuration" involved in that. The principle which > should (hopefully) generalise is that a bus/host controller driver can > always interrogate its child device to perform whatever attestation and > general configuration is appropriate, but we won't hand off any _control_ of > that device to a specific device driver (nor enable potentially-impactful > bus-level features like DMA, interrupts, etc. if relevant) without the > requisite agreement between the bus code and the user. +1, I think that captures the idea very well. Jason
Technical Details
Message-ID:
<20261105140630.GG3889730@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-357412-linux-kernel-netdev=dewy.ruReferences:
<20261105-device-trust-core-v1-0-1e536825b4eb@nvidia.com> <20261105-device-trust-core-v1-10-1e536825b4eb@nvidia.com> <2026110514-bunkhouse-handset-6a3a@gregkh> <20261105132729.GB8298@unreal> <2026110535-engulf-precut-cf10@gregkh> <9d896ebb-6892-4cac-a7c5-41def47f0be0@arm.com>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-357412-linux-kernel-netdev=dewy.ru
From: jgg@ziepe.ca (Jason Gunthorpe)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 10/17] driver core: Expose device trust authorization
through sysfs
Date: Thu, 5 Nov 2026 10:06:30 -0400
Organization: Usenet Network
Message-ID: <20261105140630.GG3889730@ziepe.ca>
References: <20261105-device-trust-core-v1-0-1e536825b4eb@nvidia.com>
<20261105-device-trust-core-v1-10-1e536825b4eb@nvidia.com>
<2026110514-bunkhouse-handset-6a3a@gregkh>
<20261105132729.GB8298@unreal>
<2026110535-engulf-precut-cf10@gregkh>
<9d896ebb-6892-4cac-a7c5-41def47f0be0@arm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="3658253"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Y/mbg0CVXjjyP5gj3AhX4o/uliI= sha256:su8qxutjubllfSy7J3mzfWpxilbKKOxsWdevwGUivrI=
sha1:xc9i2v79OBmf/6TWVmGE0siDBtI= sha256:5Tt8WIrwwP6PWjY75kotbLuijumwECSxdCTaIPjfo9s=
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 73716112FDF; Thu, 5 Nov 2026 17:46:25 +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 SF7eTIeyGJie;
Thu, 5 Nov 2026 17:46:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-357412-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 6A670112FD2; Thu, 5 Nov 2026 17:46:12 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 9836D38F13; Thu, 5 Nov 2026 14:07:34 +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=1793887610;
b=3RJC6yH0WHn2y9RrMjPLK3zrc5sFlVme5uFbABnjNhrRSkaVKsCVLAJ0tINDggc+Y9j9
HC7oQW03rjCgeVKMGu+1VtCBb8pxHxxFV4PSWXpsoV4Aj8IyAP6oFLf0t0N1FLQUn3isM
NGqZCnN8H198WMR7DfhJkYGAvghn9M/kPPLLY2TTF7LQ1tS591H3OWXQ4dh83IpbtU2mR
vpzxkDw66lJJw1cDMsQwBmNChu/D9FNUD65dqC6iRLgKLWRdT5FeDKfBT3JFabb7WUF1P
KuLl3b6lxWcsdAfMFUqXXpoY2UVmnsrmFg9Ym9jR4OmBM5SYHyHzyhMAAfvD0qxclDw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793887610;
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=+bxiPLBqzkOz0GIdUWUmBLaUitvgttuw9ZH2qvbUZkg=;
b=3YVt40Irdg+erl6/UrDEGsHNC6lAJyduKxlyn4rle/50Aytb307SfvUaVPgftyVoM2YI
0DT0OmFeAr/lZr04dhLQTBOdrbVPrXe7bcLE5uj2U7NYaVG9hMg1kr0uiEIiRGdh7vlEC
ZphpTZ6UwI6mXftxI3OK97mAC+wV/BtY9Ceb27Ck4owagGvEqc/yRVXHy/PWxoV81JoG7
e42yJy1PUyBSwGLBwOR6FEDyyLsC9r8kW7NRu/jdpga90o1QjF52ZSHGUQrEjfjfqFaEg
ziS2WbEyR2O5Et6PeaXQNgDVcdJjJWABum0nUy7OvjV8vcoGgk3jWaR/emuSy022Rfw==
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=RnR9WnLw;
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 5A578606A336;
Thu, 5 Nov 2026 14:06:45 +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=RnR9WnLw
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.45
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793887594;
b=4wvdROB4DuAvATH9aKKIY043MzpiqMMlLLpr9V4iBqBM70qlKU6PggFhEWfZqAwXUPMP
yFJIQCbWUSbU+zMiuk/03prH5aGer2z1D7rHwqvUB+EGuH6uQ08MV4w36sHTJClHpLR09
IFBhbWNVMsS9eZxsSAQ15++Vx4ixV1M1H487BI2/cK25LNpVD0z6i0eB9cWXm3tWZJfA/
xp9Z0LdfO+doNc2xvDnMyl6PD81bSqhHvR1KIFFRbvM0/5w1LA5cM8sRsZq44NDeRzRTY
ZJgNxwOVL+iXEB9+c7pzl7ZtaL8hOzaziLOBnILNEGohoCLhg1GrqCSdlefgzAQt3yg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793887594;
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=+bxiPLBqzkOz0GIdUWUmBLaUitvgttuw9ZH2qvbUZkg=;
b=vf/d33tYtxtx+3qoQzWwFsepsSFHLOqzUwv/6BkBScGDaPLwq/o4lqAFW35m/mfEVtWd
w1j8Ye7uO9cNHAJxpgCARbWn7CSJskIJsXcb9LixaUiaTwhZk1YUM4Q1nJODH3lcSja9g
tMHfCktk4tsNCXZFfa133NtisEPvkCsVmrULA/MAQ5c/fQ2g+BNGKQyVKNSlQbnIpMR1z
AAQHoSY32jWM4NbYHRKpbCuG8fOjB9qqOffEcTSCMZffvsWz5XFGgkWquD8WvEy0gH35k
XMFR9F9H2S1xoGJP5Wn4vkeV12rAhrU8/2xYZbKLDsxDdGZmpohgcXcQvDa9HIMFraw==
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=RnR9WnLw;
arc=none smtp.remote-ip=209.85.222.45
X-Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45])
(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 09D05606A33D
for <netdev@vger.kernel.org>; Thu, 5 Nov 2026 14:06:33 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 09D05606A33D
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-ua1-f45.google.com with SMTP id a1e0cc1a2514c-99ac154431bso113580241.0
for <netdev@vger.kernel.org>; Thu, 05 Nov 2026 06:06:33 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=ziepe.ca; s=google; t=1793887593; x=1794492393; 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=+bxiPLBqzkOz0GIdUWUmBLaUitvgttuw9ZH2qvbUZkg=;
b=RnR9WnLw6ZCMoaFK9OfD+Z3SyEdhvj+uf0rMG8hHCJ508GqyJ6ANwZoUk4+aGiOUw2
/BkiFTe3GFbXdlDhgGNTyo1p8KbFcLTeuViDrXT0G8rPqBzVVo12Ao+p4Nr1qmRZcl61
4eaArBRyBLbC70PWW9D8DSwCjUpFcwxnrtfrVG8awSc3G2DLBl7ue9/tyD5BZlfo0PwR
zdxT7MPa5WtJxCqrk+LMM1B4PGIKPha9YDx2d3ZgVPNqHnLfPw9K0SbdoIeozyBU6kJV
fXJaMOJT5b2NTv+4F4NS5Cw1swAwWPhfu1r6zxddYwAc/lzTbX1ed12Z3pRWm4FFq8m7
OBcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793887593; x=1794492393;
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:re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ze9iqHbzw/+56fJ5UzDZiYyEAg74LcR3tABLNx
jjixGvs2yshxyXdVlm2uIJgJwtoLZOs4fgSho/11GJuHJd9qG3lYW3Irjzh1nzEOLuYZMDmNRTE
XoC3dtiL9rhLSWBN60viEkTbwCPcf7sKjoB1nCmy8256seHST43s4Ab36VcCTtRNaue4I2OJOZE
tiR/0dF4btXAYDxRh44hxzN9n08oxkXHUQgI8ITkAqcZlyaL0xcs17tDvbBMSO2CLshlefPe2Ud
1nyyIaZpeaQ==
X-Received: by 2002:a05:6122:4f9f:b0:5ea:389c:51fe with SMTP id 71dfb90a1353d-5ec68949c50mr9274698e0c.17.1793887592873;
Thu, 05 Nov 2026 06:06:32 -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 71dfb90a1353d-5eca8d9d62bsm4161881e0c.8.2026.11.05.06.06.31
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Nov 2026 06:06:32 -0800 (PST)
X-Received: from jgg by wakko with local (Exim 4.97)
(envelope-from <jgg@ziepe.ca>)
id 1xOy6p-00000002ezu-00ao;
Thu, 05 Nov 2026 10:06:31 -0400
X-Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
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>,
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: <9d896ebb-6892-4cac-a7c5-41def47f0be0@arm.com>