🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17136

Re: [PATCH v2 11/19] driver core: Introduce a generic device trust level

#17136
From: Leon Romanovsky
Date: Mon, 16 Nov 2026 12:11
21 lines
10005 bytes
On Fri, Nov 13, 2026 at 10:30:23PM +1100, Alexey Kardashevskiy wrote:
> On 9/11/26 18:33, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@nvidia.com>
> > 
> > Device setup needs a common operating policy before driver probing or DMA
> > configuration. Userspace must be able to hold devices disabled until it
> > authorizes them.
> > 
> > Add generic trust admission with an immutable global boot policy. Restrict
> > the compatibility attachment API to explicit global full policy and full
> > operation, checking admission before probe. Keep the operating level
> > stable until teardown and retain normal locked admission for other callers.
> > 
> > Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> 
> this got many CCs except the one where I was (eagerly) looking for it: linux-coco@lists.linux.dev :)

I will pay more attention next time and will CC CoCo list.

Thanks
Technical Details
Message-ID: <20261116121108.GK11319@unreal>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364293-linux-kernel-netdev=dewy.ru
References: <20261109-device-trust-core-v2-0-3b12d9a9f861@nvidia.com> <20261109-device-trust-core-v2-11-3b12d9a9f861@nvidia.com> <de5772b3-c340-4822-a49a-1434ece1b144@ozlabs.ru>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364293-linux-kernel-netdev=dewy.ru
From: leon@kernel.org (Leon Romanovsky)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 11/19] driver core: Introduce a generic device trust
 level
Date: Mon, 16 Nov 2026 14:11:08 +0200
Organization: Usenet Network
Message-ID: <20261116121108.GK11319@unreal>
References: <20261109-device-trust-core-v2-0-3b12d9a9f861@nvidia.com>
 <20261109-device-trust-core-v2-11-3b12d9a9f861@nvidia.com>
 <de5772b3-c340-4822-a49a-1434ece1b144@ozlabs.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2055816"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:m2F6dJisQXr/+gQj2Jis8AIbmgU= sha256:Cdbi6j5g8gzkcLnmiDNnFVgHj/sXc4Yz8az9NfPOBN8=
	sha1:pj4f9U+imoTLG1Cw0oOXGZdXMYM= sha256:5pLhDU3lgwZOJg27KNH9KIG8d6w1FmBfDNIBVblKd4k=
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 6D06B114BF8; Mon, 16 Nov 2026 15:11:36 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 wnAK1Kjb4oMS;
	Mon, 16 Nov 2026 15:11:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364293-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 3AAC8114BEF; Mon, 16 Nov 2026 15:11:22 +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 3A7A733F63; Mon, 16 Nov 2026 12:11:19 +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=1794831078;
	b=mOvoS3cudSqEJ2nC72NLTWS4E0s+J2VEQUgGS9ALTnLAGyWgdPDuA4+SvR4nBWcf0AJD
	 8duanuue++goxZsxlDqelwG9xSMgKSmstBpoD6171UCdSNyrMv0o4ZqEAyGV15c9ZdqtI
	 yhobs0onG1Gzv4WPb4qeaH0/1wQGtLncoxRKQGr04fCcGpnEkqvpHou+YLGNiCSGno6t9
	 W7mrg0LAE6iIDNtruP2A4zKNnVKCj6fNUDfcBug6h3d3S2EBJdk89eMRjIN6ju+i3VFie
	 VYhsxEqwvUyx9dBrrkQOpus8pGIxThHBWDPzGOd8gzqHG47BeOQ+LSBEJUFaV1PVQQw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794831078;
	h=X-Original-To:Received:Received:DKIM-Signature: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=d1QNaqA4UuxT165UtFo9MygMRqXbXgGBeQ/kJMNr1F4=;
	b=LPsu+GQ/b2VkltFOOJgajoZTuMEft+0h6IfpkI4GqdmxkXMM6zLUpnnj1iJk0S/Rx2Ui
	 lvtBGVGxC7Yt7tJpeuSOUqmoQyuzT27d5SF0XU3DtuCkUHsM+0YlkHldJ5IPp3LQge2Ve
	 Fu9G6Pl9KR731aNE5aYNi8z/9RD28ixM2rhDO6z+d/N+r1ZyZwAwjeJdC0U+5x5bUuMP6
	 JodOcLkXZeEY90rz81EnsG35LBUoXpMRqAXEsBzBAMYUzX+KCFzQ+VK24g5iTtyF6DncG
	 VdjMuMQNgKPdaT9s2QvH/AYodPzukJD45ymEY+lXROdaRKclFu2sG5J09Gii85YcuEA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JkukwzGb;
	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 0A15E606A333;
	Mon, 16 Nov 2026 12:11:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JkukwzGb
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794831072;
	b=CgD79C9EbZqbQdb056FQSlsEeaHs8MwfiT9uEX2NUr6KftHEU9qfmSyLqCYkhfrZTzYD
	 C96/MCqywQqeyXIvZ+5whi3j7qZQ6oEL1YwVVzKwTa0tqiXjtX1QUQmllGtyX6Os2xC5Y
	 RU/eVtFC4dIy+TnTyLzUXtwFKWNCy0ot+mlrqx1/ygmXc4FJcwUwi9uTw1SyjPebesGyO
	 ib+lGMaOPV/H+BPS0tLJ7tYD1yyWQ6BeN27gNOubsZrXSuJ7nqkbv2icIYTrkw3MNGkmw
	 wZopufI9GJA2ESS16RDwj84nKJTYWo2rxqXOi54M5mBcgxX+YWSNmyde7k5ZZMbvANg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794831072;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=d1QNaqA4UuxT165UtFo9MygMRqXbXgGBeQ/kJMNr1F4=;
	b=xGYMSqwMFYHMGZcPCU1WsO892slI06zNDHiZR8SDVELP9lb+dSmPcHCAVi1qPPMftqty
	 1ULWGMVHV5kc3OiKeiqJf29Y92qz9ZtpVea2Dk3oJK0iRRW0pKiqIXYrFvEKiJi88WDRm
	 bRmgMXDxPgUowTngTFa+DNmWjVJ99nPEUzwhepuR7s9nhTTfoaBaKSMe5tBOeSRyfmLR8
	 Wz7YuVURdqyX1gCLJXtyo/Hzg3suGvpttPczcPtjGntW7LmYuk/xbFuXI7+FXfUBdZsxJ
	 aI4Wp80trDIUod6XAWJYFpHMBbNEkjceodSHinbusnmpHT/oAccFjm79tDB9cJjOm3Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JkukwzGb;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DE9C606A31C;
	Mon, 16 Nov 2026 12:11:12 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CF391F000C5;
	Mon, 16 Nov 2026 12:11:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794831072;
	bh=d1QNaqA4UuxT165UtFo9MygMRqXbXgGBeQ/kJMNr1F4=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=JkukwzGbEvTcRYQiQbZwmA/mk2PVHTyXM6F56jbB+ZEQcpOrHLIY5pxO7kKiM6rQz
	 0EwP5ZgG9DLK7jFGiSx9rNSP3jecoIEKdDYTO14xW1IttoAG5v+N1Aez3pwlJjjX4h
	 b9xMXEbfDclbyVeamtQyzfwSgbEfbMjF9uY6+FyAidTnAxdoFPAPVSLekGMi7QSJU1
	 emdILX1T7g10aAXHkb+Ax2GF/b+k8KVztp14ydhiNTchkHtPM7YD2i4zOANkI1QD4j
	 LDuHomhf5257ArYnxVdxwLVpbtGt22Thq3Isp2WsCen8vZYobgCtY7pslu+Kg9qXRm
	 chRxB8ZndPC5g==
X-Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.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, Jason Gunthorpe <jgg@ziepe.ca>,
	Alexey Kardashevskiy <aik@amd.com>
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: <de5772b3-c340-4822-a49a-1434ece1b144@ozlabs.ru>