mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
platform/x86/intel/tpmi: Get OOBMSM CPU mapping from TPMI
Copy TPMI’s OOBMSM platform info into a common area within VSEC private data via intel_vsec_set_mapping(). This enables other Intel VSEC features to access the CPU mapping without additional queries. Additionally, designate the TPMI driver as a supplier for the Telemetry driver, ensuring it can obtain the necessary platform information for future feature extensions. Signed-off-by: David E. Box <david.e.box@linux.intel.com> Link: https://lore.kernel.org/r/20250703022832.1302928-13-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>
This commit is contained in:
parent
a885a27809
commit
c969905752
|
|
@ -725,7 +725,7 @@ static const struct intel_vsec_platform_info mtl_info = {
|
|||
static const struct vsec_feature_dependency oobmsm_deps[] = {
|
||||
{
|
||||
.feature = VSEC_CAP_TELEMETRY,
|
||||
.supplier_bitmap = VSEC_CAP_DISCOVERY,
|
||||
.supplier_bitmap = VSEC_CAP_DISCOVERY | VSEC_CAP_TPMI,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -799,6 +799,10 @@ static int intel_vsec_tpmi_init(struct auxiliary_device *auxdev)
|
|||
ret = tpmi_process_info(tpmi_info, pfs);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = intel_vsec_set_mapping(&tpmi_info->plat_info, vsec_dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (pfs->pfs_header.tpmi_id == TPMI_CONTROL_ID)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user