From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796560572; b=qdXZl9HtJsb3aj37x3FYRVHdT2Zm1wlZB3J8xUU88DB42iDZmSR7NqJH5w7vF9m/udYO Tso2Gr8au+cZd3VWqmrrEhmW7ztO73+2V/C93XdNVYvHRZGeaS0M+tDcABtIz8wWMIkk5 SHHsuVw2uxkWI5Vyx1xjquzwGEjesJqe3/NvQqECdfQ7z5A87xWLuTMJY1l+/uRgoooVx 9ZFss0GbzffXsJueFsOCQW18FJ+DTrRb5+BiX9nA41c4ct6hecc/Q0hrMCW/tasKiqqWx LA2tpE2ptQSfNy1JL8ukUfY7b7zbMzEapQe1zZlfx3iFLogqhoghgXndjxqQ+bmjkkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796560572; 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=+lT4onn2gPzgNxXJe50pBpV7IxyEstj2ftzMrgYxPE8=; b=VSct8t6K/952srpuGpRnbAFHezXvJzsKvfiqehhjsbi4n0yr/r1Zaf81D73RAzw4HRwl dEsCMFtQW80wpSdYzpow2pFxi5Xjv6NJSuyTk2pI/qNWhzYXVXjpqaEhaTa6fdpNoEL0J P6awPunDViichxWHRNNBgwNHCO2arO6kk05Pi7qanJRoLvkmRQBvPaWwc9Y1jVQIOLrRP ueJU7JOEmbYnIeOWvndXWaHvQ9dOKduG0Qr4xRDmB6gqwYq14IhSd+Nv3xOblk+jOs6c/ frWgmVZ3NeOseUjGVKO8husmiVyW7KabN3nDuaOczqhXS2SDJv30qD7lqW86yCVNLrA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=waxDaA0D; arc=none smtp.remote-ip=100.103.45.18 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 5536B606A33A; Sun, 6 Dec 2026 12:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=waxDaA0D Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FCBB1F00A17; Sun, 6 Dec 2026 12:36:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796560572; bh=+lT4onn2gPzgNxXJe50pBpV7IxyEstj2ftzMrgYxPE8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=waxDaA0D1n74FNUCl1gBXCrfWuf09t23ckpt75sBaZmy1+EE2Z63qzxSYwLRSybNm AfU5X0I63z5sE1ai+veby/XzP7ZFHuWds4ljNUWfOISh2CeNRaO2ns7hk1MNgBgWJ0 HSmge/V3zy2eXvHaN1HKHkbk7N41JpL2dmT+Duz4= Date: Sun, 6 Dec 2026 21:36:07 +0900 From: Greg Kroah-Hartman To: Leon Romanovsky Cc: "Rafael J. Wysocki" , Danilo Krummrich , Dmitry Torokhov , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Johannes Berg , Jonathan Corbet , Shuah Khan , Randy Dunlap , Bjorn Helgaas , "Joerg Roedel (AMD)" , Suravee Suthikulpanit , Vasant Hegde , Will Deacon , Robin Murphy , David Woodhouse , Lu Baolu , Johan Hovold , Eric Dumazet , Marcel Holtmann , Luiz Augusto von Dentz , Nipun Gupta , Nikhil Agarwal , Pieter Jansen van Vuuren , Chris Lu , Mans Rullgard , Alan Stern , Jaroslav Kysela , Takashi Iwai , Andrew Morton , Cornelia Huck , Andrew Morton , Jeff Garzik , "Rafael J. Wysocki" , Bart Van Assche , Alexander Duyck , Dan Williams , Lukas Wunner , 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 , Luiz Augusto von Dentz , Greg Kroah-Hartman , linux-sound@vger.kernel.org, Jason Gunthorpe , Takashi Iwai Subject: Re: [PATCH v5 00/33] driver core: Authorize device trust before driver binding Message-ID: <2026120645-lash-matchbox-0008@gregkh> References: <20261203-device-trust-core-v5-0-485cc6eddd46@nvidia.com> <2026120528-unsigned-carnage-fa75@gregkh> <20261205065417.GC31440@unreal> X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261205065417.GC31440@unreal> On Sat, Dec 05, 2026 at 08:54:17AM +0200, Leon Romanovsky wrote: > 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: > > > > > > > > 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. A proper emailed set of patches would be great, saves me from having to hack up just the ones to apply here, thanks! greg k-h