Re: [PATCH v4 21/33] driver core: Introduce a generic device trust level
From: Randy Dunlap
Date: Tue Nov 24 2026 - 19:13:54 EST
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