]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86/intel/vsec: Set OOBMSM to CPU mapping
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 3 Jul 2025 02:28:26 +0000 (19:28 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 3 Jul 2025 08:09:36 +0000 (11:09 +0300)
commita885a2780937afac4f31f00d11663f50d05dfb35
tree15dab93b837e834d4fc0d2e7819c4958816716a1
parent934954df0f44de5e10afc1af84c06f78149f15fe
platform/x86/intel/vsec: Set OOBMSM to CPU mapping

Add functions, intel_vsec_set/get_mapping(), to set and retrieve the
OOBMSM-to-CPU mapping data in the private data of the parent Intel VSEC
driver. With this mapping information available, other Intel VSEC features
on the same OOBMSM device can easily access and use the mapping data,
allowing each of the OOBMSM features to map to the CPUs they provides data
for.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20250703022832.1302928-12-david.e.box@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/vsec.c
include/linux/intel_vsec.h