🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #27271

Re: [PATCH v5 00/33] driver core: Authorize device trust before driver binding

#27271
From: Leon Romanovsky
Date: Sat, 05 Dec 2026 06:54
63 lines
12933 bytes
On Sat, Dec 05, 2026 at 05:34:13AM +0900, Greg Kroah-Hartman wrote:
> On Thu, Dec 03, 2026 at 02:03:22PM +0200, Leon Romanovsky wrote:
> > Device trust policies need to precede driver setup, including manual
> > attachment, so userspace can authorize devices before they operate.
> > 
> > This series introduces device trust policy, authorization, and lifetime
> > commitment. Authorization does not reconfigure ATS capabilities or replace
> > IOMMU domains selected during discovery and further ATS and IOMMU integration
> > will follow in a separate series.
> > 
> > The table below tries to summarize the possible kernel command line
> > options and system behavior after that:
> 
> <snip>
> 
> As many/most of these patches (or at least the start of the series),
> deal with USB locking issues, let me go take those patches now, through
> the USB tree, so that you can build on top of them for later releases.
> That way we can get this work into 7.5-rc1 and then we can go and argue
> policy and naming and the like for the rest of the series, and you
> aren't having to juggle USB stuff around.
> 
> Sound good?  I can make you a named/tagged branch for this as well
> (which I probably should anyway...)

Sounds good. I'll need a named branch so I can rebase the series and resend it
before then. We are still at v7.4-rc5, with approximately four weeks until
v7.5-rc1. I'm sure we'll receive comments by then.

It would be great if you could take patches 1 through 20, excluding patch 19:
      wifi: mac80211_hwsim: lock device for manual driver binding
      Bluetooth: btusb: Fix MediaTek ISO claim locking
      USB: Lock interfaces during manual driver binding
      USB: serial: Register USB drivers with their owning module
      USB: Reject claims of DT-disabled interfaces
      USB: Reject usbfs connect requests for unregistered interfaces
      USB: Release interface claims according to binding state
      USB: Reject claims after interface registration failure
      ALSA: usb-audio: Release interface claims when probe fails
      USB: Pin modules for unregistered interface claims
      USB: Add helpers to release unpublished interface claims
      USB: Unwind interface claims after registration or binding failure
      PNP: Attach card devices through the driver core
      cdx: Propagate DMA configuration errors
      driver core: Report deferred probes through sysfs drivers_probe
      driver core: Add a compatibility API for manual driver attachment
      Input: gameport - use the compatibility driver attachment API
      Input: serio - use the compatibility driver attachment API
      USB: Drain usbfs when a device is unregistered

Note that patch 19 is excluded from this list. I’ll need to send it separately
to trigger netdev CI, as PHY has many corner cases:
      net: phy: Use the compatibility driver attachment API

If it helps, I can prepare a proper PR for you.

Thanks a lot.

> 
> thanks,
> 
> greg k-h
Technical Details
Message-ID: <20261205065417.GC31440@unreal>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377859-linux-kernel-netdev=dewy.ru
References: <20261203-device-trust-core-v5-0-485cc6eddd46@nvidia.com> <2026120528-unsigned-carnage-fa75@gregkh>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377859-linux-kernel-netdev=dewy.ru
From: leon@kernel.org (Leon Romanovsky)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v5 00/33] driver core: Authorize device trust before
 driver binding
Date: Sat, 5 Dec 2026 08:54:17 +0200
Organization: Usenet Network
Message-ID: <20261205065417.GC31440@unreal>
References: <20261203-device-trust-core-v5-0-485cc6eddd46@nvidia.com>
 <2026120528-unsigned-carnage-fa75@gregkh>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2971393"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kEMlgXQ42ZIUnh4YPV+RqYdz9gE= sha256:PT714C2dKO30d3tMz+abYSTESzS2yhs+taAlyEHDNEU=
	sha1:PzVB91PWWa0HxiOfygU64QoWcw8= sha256:9fviHzfwnnUtJaNGfenMcWIQmsKcKYS/wiZfMRSSZ14=
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 D0D21117D8A; Sat,  5 Dec 2026 09:54:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.442
X-Spam-Status: No, score=-2.442 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.142,
	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 b61xp449iD7e;
	Sat,  5 Dec 2026 09:54:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377859-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 51808117D1F; Sat,  5 Dec 2026 09:54:39 +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 8F55F34085; Sat,  5 Dec 2026 06:54:29 +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=1796453667;
	b=g6OlhChK4weKB3Qrxi3fkUsSyvkB4J16lmBhrt2kR1o7C7Zj+xUKF9iHLxC49AWvkTi2
	 PZxgrNF5Vkhlmkmx//+fcsmyK355DE9rFT3ZcDYnRfJV13TunAoQ2zFnXq2uTGOpvaiph
	 0DB2oqc8DsxZx4gJg8X6S9fY5wwXQvfF14MX2oLjNOYY3fAgFWi9+LlGmqVRA/eZa7pLn
	 w33G3+pYA+v4f1DN+RqqIz7qoo8DSsiwv6yAyvQF52B2OE7wCoMrSFkzwBZGXiQMVZ81k
	 IecWgjj5bPNqgRWwE3Db5nkZywAbBbDU1ZBP/L6btTxJAgG6Y8hILsfZh5a8aWPVq/Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796453667;
	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:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=+8XUU/i+aE1Dtv5N3neG63h4XIyOG7Vo9DTvrx4Y1bY=;
	b=cV9fPZw8TB1rDz8SJfoYU25AQAwiPRLusgU8X9kPAYa9QTCUOcw841EKLwaNoIm3Rg3W
	 RSPjV/J7+fk0/3DBG0Rh8ZMt4W3VOtkL8011b8ryhhjCvEzmL0BknqQvg2QHzSYMe2EXa
	 T9gydqBnADiDqTazAb4XjgDkuDZtpN7U5Ny02grPQzTEFBDTnkAjl3E6gmNS5vvTONCGA
	 XflwgFzvmFBct62fugGpSeCy+ON+EoXB/obKATXjD/7cnnB1wZ8Zo77Dcq4rTjite08z2
	 0TSuGEfWrd7rqTE2UQCedrkPyz7U5Y0vHH0qmVq0lBtbLhZi1mU4rErM1L+e3fM4CjA==
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=lBuoA43m;
	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 E0454606A696;
	Sat,  5 Dec 2026 06:54:26 +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=lBuoA43m
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=1796453666;
	b=Si/Ci3Y6evCiq//pY//mo2xlTGOZn/NOPHzRX3nKjDcsvudpBREg7C/dLRP8jb2zBuXW
	 TVuUPe25xeXETF6OqOcKjXx78xa9ZfzQfc+iccEqp0r3qJ5UGUrbBREYaqgDQ3FnPggak
	 YjNk/0JJe/nSNpbUVE5GpRqfcT9Q/ohGAMxvaxg+gwPE8R+5SSgznKA0OnA41OUX/ytzT
	 eXvOWczg2B5zr2BpvP//gsjn7zd1kTdFTzMdsv1qf8/IjZ3hqIDQzf0FK7NgWjz0u2vpX
	 cY6oIABZRcsQL8B6srnkIN9FDYyw0WDavoOtPmBZl2PfselAFZRsBoRSa0N+sAld2VA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796453666;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=+8XUU/i+aE1Dtv5N3neG63h4XIyOG7Vo9DTvrx4Y1bY=;
	b=lOeaH8y6Ax4a4Kmo8lhDTo99y40fwqWZoijr8wYd59bHIpxpzjzTROQgY3Do7x0Zp1Uv
	 09gPbBwJ7sgs9FVq+iQ43JBWUNTOY01qrnyJdO75KPTbJ6VZpDzti2/PAEu2RO1Gnu2hC
	 oDX79DbFVPrr0XVsqpu2AMI2LF7FRDfeNOzEdPKU9Xd1vawTpc5FuHnebuZ2PgnyOW8jm
	 2vBb2dEYrYFh/Y4p0sAdaCmolOenqY4NmQL9gIpiZsDWXp0DGFr32TBUbqUBlizjZgws/
	 TuJZ3fTI34mCEB8cPmjOTb9a4ypdxJcZjvA4hKJkvb5XU6pRf+Znm8Ribv0NDCQsvsA==
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=lBuoA43m;
	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 068C0606A322;
	Sat,  5 Dec 2026 06:54:25 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4BBA1F00A07;
	Sat,  5 Dec 2026 06:54:24 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796453665;
	bh=+8XUU/i+aE1Dtv5N3neG63h4XIyOG7Vo9DTvrx4Y1bY=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=lBuoA43mSb1FIboHk10oXfzn8dzB7BfEvSV3VKwzffUPkIrqNMZitK+d1Nqk7FKrs
	 p6jqSo5Zr37potoKRTbPFAgLnKXP6+nuWB93myQzqW7v1GpaccRQ4hposcHCwMIjuJ
	 B+LHWJhO0dWQ/KQiE0NqsQ//QLgW+nHBVUuCBwlJgnNebHy9zK/dinUydRKD6BLPVH
	 KEwiiYLoh5FQesa5GTVh/MQ4DoVlVRE/yFgzzHN77lwLCew4zfO7lBScAYccfOV0M1
	 qJQP4IXAzVb4WslZbMM9HChEBhFTVuedpYB0wn35rOJd7yILM3xzu2b2qJbUbIbFA7
	 X1GpKO+1Q1+Qg==
X-Cc: "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>,
	Chris Lu <chris.lu@mediatek.com>, Mans Rullgard <mans@mansr.com>,
	Alan Stern <stern@rowland.harvard.edu>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	Andrew Morton <akpm@osdl.org>, Jeff Garzik <jeff@garzik.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Bart Van Assche <bvanassche@acm.org>,
	Alexander Duyck <alexander.h.duyck@linux.intel.com>,
	Dan Williams <djbw@kernel.org>, Lukas Wunner <lukas@wunner.de>,
	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, linux-coco@lists.linux.dev,
	Alexey Kardashevskiy <aik@amd.com>,
	Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,
	Greg Kroah-Hartman <gregkh@suse.de>, linux-sound@vger.kernel.org,
	Jason Gunthorpe <jgg@ziepe.ca>, Takashi Iwai <tiwai@suse.de>
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: <2026120528-unsigned-carnage-fa75@gregkh>