summaryrefslogtreecommitdiff
path: root/security/landlock/cred.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2023-12-04 14:17:36 -0800
committerHans de Goede <hdegoede@redhat.com>2023-12-11 11:06:41 +0100
commitb87434f2e6fe81362d2ac57f3aba45ba89a11399 (patch)
treeb7f9f2f6803b880c3338d697010ee56746ad71f7 /security/landlock/cred.c
parent7973be94724464222ae0b1860a25be04ab7b0132 (diff)
platform/x86/intel/tpmi: Don't create devices for disabled features
If some TPMI features are disabled, don't create auxiliary devices. In this way feature drivers will not load. While creating auxiliary devices, call tpmi_read_feature_status() to check feature state and return if the feature is disabled without creating a device. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20231204221740.3645130-2-srinivas.pandruvada@linux.intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'security/landlock/cred.c')
0 files changed, 0 insertions, 0 deletions