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=1796453666; b=Si/Ci3Y6evCiq//pY//mo2xlTGOZn/NOPHzRX3nKjDcsvudpBREg7C/dLRP8jb2zBuXW TVuUPe25xeXETF6OqOcKjXx78xa9ZfzQfc+iccEqp0r3qJ5UGUrbBREYaqgDQ3FnPggak YjNk/0JJe/nSNpbUVE5GpRqfcT9Q/ohGAMxvaxg+gwPE8R+5SSgznKA0OnA41OUX/ytzT eXvOWczg2B5zr2BpvP//gsjn7zd1kTdFTzMdsv1qf8/IjZ3hqIDQzf0FK7NgWjz0u2vpX cY6oIABZRcsQL8B6srnkIN9FDYyw0WDavoOtPmBZl2PfselAFZRsBoRSa0N+sAld2VA== 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== 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 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) 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 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4BBA1F00A07; Sat, 5 Dec 2026 06:54:24 +0000 (UTC) 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== Date: Sat, 5 Dec 2026 08:54:17 +0200 From: Leon Romanovsky To: Greg Kroah-Hartman 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: <20261205065417.GC31440@unreal> References: <20261203-device-trust-core-v5-0-485cc6eddd46@nvidia.com> <2026120528-unsigned-carnage-fa75@gregkh> X-Mailing-List: linux-wireless@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: <2026120528-unsigned-carnage-fa75@gregkh> 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. Thanks a lot. > > thanks, > > greg k-h