Skip to content
Commit aa546b28 authored by David E. Box's avatar David E. Box Committed by Hans de Goede
Browse files

platform/x86/intel/sdsi: Hide attributes if hardware doesn't support



Provisioning capabilities are enabled by a bit set by BIOS. Read this bit
and hide the provisioning attributes if the On Demand feature is not
enabled.

Also, remove the sdsi_enabled boolean from private and instead add a
features register since this will be used for future features.

Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20221119002343.1281885-3-david.e.box@linux.intel.com
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 4ea62915
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment