Article View: linux.kernel.netdev
Article #22200Re: [PATCH v4 21/33] driver core: Introduce a generic device trust level
From: Randy Dunlap
Date: Wed, 25 Nov 2026 00:13
Date: Wed, 25 Nov 2026 00:13
37 lines
10276 bytes
10276 bytes
Hi Leon,
On 11/24/26 1:43 AM, Leon Romanovsky wrote:
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 0b3c140babd94..8a94482f0b19b 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -1259,6 +1259,20 @@ Kernel parameters
> dell_smm_hwmon.fan_max=
> [HW] Maximum configurable fan speed.
>
> + device_trust [KNL]
> + Enable device trust with blocked as the implicit default.
> +
> + device_trust.default=
> + [KNL] Set initial trust policy for all devices, including
> + hotplugged devices.
> + Format: { default | blocked | adversarial | unrestricted }
> + No trust options selects legacy unrestricted mode, preserving
By "No trust options," do you mean using
"device_trust.default="
or just
"device_trust", which says above means "blocked"?
If I want the status quo (before generic trust levels), do I need to do
anything? If so, what?
> + bus policy and existing authorization. Otherwise blocked is the> + implicit default. An explicit value wins regardless of option
> + order. default preserves bus policy; other values replace it.
> + unrestricted disables runtime policy changes.
> + See Documentation/driver-api/driver-model/device-trust.rst.
thanks.
--
~Randy
Technical Details
Message-ID:
<1bc8f048-4d35-484b-af60-2d13541e683f@infradead.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370909-linux-kernel-netdev=dewy.ruReferences:
<20261124-device-trust-core-v4-0-037eb0d17b1f@nvidia.com> <20261124-device-trust-core-v4-21-037eb0d17b1f@nvidia.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370909-linux-kernel-netdev=dewy.ru From: rdunlap@infradead.org (Randy Dunlap) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v4 21/33] driver core: Introduce a generic device trust level Date: Tue, 24 Nov 2026 16:13:16 -0800 Organization: Usenet Network Message-ID: <1bc8f048-4d35-484b-af60-2d13541e683f@infradead.org> References: <20261124-device-trust-core-v4-0-037eb0d17b1f@nvidia.com> <20261124-device-trust-core-v4-21-037eb0d17b1f@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="70584"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:UXhXgE4eE4c7pHvkfCYtRdXjwxo= sha256:b6wKgypfA93qRurKeWzYtuRhDQ++nvkya64akASyg5k= sha1:WG7EvqaddPqU2E/ARP6aI8wI3ac= sha256:DKy93aaqyzQLLl9lw2FN2e94Pz7QEt1Q0UJJe9IOvZ0= Content-Language: en-US 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 43856125E36; Wed, 25 Nov 2026 03:13:56 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[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=infradead.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 BpkYlCqg6d_U; Wed, 25 Nov 2026 03:13:52 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-370909-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=infradead.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 50438125E33; Wed, 25 Nov 2026 03:13:44 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id F0335376BE; Wed, 25 Nov 2026 00:13:42 +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=1795565620; b=ewXPs7XhhX6VKMQca3rP522Ux4ARcAAW2yL1UE0ECV2Y/S+ythfD6XdZFEFQBX63KbEA vZJG1RYCwMkj4462v2Tl6NxE9B9AlNq3vhw9prG2OG7t2mPUzTSmJFarR7wonrAOwhaUV GMwP3hT/F2/4onhYX7tqX3y+gua3B/CS8iU5DC1z+bNN37gKMbyiFN981YOQX2y+95z4D gsqXxUb/RZpAY9Txji/hB8hFMgILLNCtbMWVBbKrGH/arHbRzg+3rhgA334XElW4Dr7M5 K5wc1cACzc+D0v8THeYG+hRt+HbXQCgFxoeW1ZJiT7DcVoLhTWoWtCPzMVydaKrnWNg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795565620; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received: Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=H5JA1xiHcuO5av/TCwEs6eB3F56+e7cAUCqQUzm2IKE=; b=DTsvxk7chBaFGVpqLAWXAYGtyWEF/cQbD5GFbbzKa1V0E9SDqhl8lxbdyNCmLsIGIjTj 7dHVNt7R8kb5K6azsK++EhvXqDlaNMsMbykC1E0cUHfC3bLncgyxjL3RJT/2gh6v43N5A G2B1jRGRllCkvB9m6Yk52f9lgYzAed96ogkaqLCsNG/Ztsm1fF5ulJM/UT2zjfDBDryi4 10HIuOO8+pjGNKv0aQik+r25fsMETjgBLt4GkP92Nvery9biA2bbNg6xwU8WaUlm42LBM pUN817C/OdZ7ALdqDADU7M6+2pt8pn+RvAyYV4dJlOX5EPWqABd5r/HbfzL6rwi1AHg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=v9zYfpM3; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; 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 A8BEE606A689; Wed, 25 Nov 2026 00:13:40 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=v9zYfpM3 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795565619; b=lB4Xlc8pVuj592/auq5RLnvJYYuThRy9WAbBe8ySRtG5pQ4Y+RuvpwjpKHcpQ7Buv39V cuO1pxOmQjxiklg0Xq/05yriRGLG4v3dy1ZDzUypGm3JJTEv8PrLRTjtw5aignrYCo51E FxtG+XdcpT8Gp7quPIjfl36sN9bMnL/tfnWrrKelDGdyTC0Ld+QZiC72xz/dKDdIQa8Q+ 29gvfMFe8gLxc5MjLgS9AWSw3kIo79OxTlhegzK0nsxxtR6GB/43II1Kv5zLjW9jN94P8 kTfy966oVo+aLd894RD6QaNUbJBW1GX4Paki6aag02QfENcT7xmRml+52Pb1HerQSaw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795565619; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=H5JA1xiHcuO5av/TCwEs6eB3F56+e7cAUCqQUzm2IKE=; b=z/GVWpB5shUbdYeyEc20Nni5BwyrRwGIT+Mf/H31cdKIrVJNjDaHz2tYCCeI6QKyx3Cz gBgHsPN2DaW0jqbhjZ3Qap00yfNeZUHAaA2J32M4of197qOapudL3Oj0N9rEvucSEOZDO /pUy73bIEEJq+/GS67Nl/oJfKBOI2yXFObqU3p4WNcxLhhHksW4yUZYBnKX0fWXvBpzgl cyke5zG3u21kRrgtpAAxP8MMg3Qvcfu77IqKf7GGdowkauBs4dXqPPoY0nvIRLMQvLbQo T600N55RD04Vc3aNeUU3EFT3IFWN0nyml1DyyAWq0gHvO186h2pVKIEUli+TfeouePA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=v9zYfpM3; arc=none smtp.remote-ip=198.137.202.133 X-Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5C80606A31E; Wed, 25 Nov 2026 00:13:38 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E5C80606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=H5JA1xiHcuO5av/TCwEs6eB3F56+e7cAUCqQUzm2IKE=; b=v9zYfpM32kAvGWDRKN8MU6P6/i THgQ6XYg3TtUofGeL2k7Si7qt22CXocALWePyGThKmz1qAlHdno0YaX4hMbpi9yfZlUtHK6K1eXlL GeQuqTgf4XWzLJy2chYc+tSG2mRITN+XTa5/pQFz7cU8pYCeZvHTNEpGTic0Ra3Bn7X6rG9WSY590 c+OuNmPeBIWBhoTdq/4F/GyhXL88V+9v+Cfhpu0nrLW61HOrtf46r6ZIWqNplXFPNIO5S1UpJrbac fYM0SjlPu530GhgWnDw17IOQ2+0z2pmZF19OsGitN/UbkR2o0ojmQxrw6eR3DwYptge1D3Fb5xrr6 9A7gm4og==; X-Received: from [50.53.43.113] (helo=[192.168.254.34]) by bombadil.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW0dS-000000088Rc-0EKa; Wed, 25 Nov 2026 00:13:18 +0000 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-User-Agent: Mozilla Thunderbird X-Cc: 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> X-In-Reply-To: <20261124-device-trust-core-v4-21-037eb0d17b1f@nvidia.com>