Commit c00493dc authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Hans de Goede

platform/x86/intel/vsec: Add TPMI ID

Add TPMI (Topology Aware Register and PM Capsule Interface) VSEC ID to
create an aux device. This will allow TPMI driver to enumerate on this
aux device.
Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20230202010738.2186174-2-srinivas.pandruvada@linux.intel.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 7a88de31
...@@ -64,6 +64,7 @@ enum intel_vsec_id { ...@@ -64,6 +64,7 @@ enum intel_vsec_id {
VSEC_ID_WATCHER = 3, VSEC_ID_WATCHER = 3,
VSEC_ID_CRASHLOG = 4, VSEC_ID_CRASHLOG = 4,
VSEC_ID_SDSI = 65, VSEC_ID_SDSI = 65,
VSEC_ID_TPMI = 66,
}; };
static enum intel_vsec_id intel_vsec_allow_list[] = { static enum intel_vsec_id intel_vsec_allow_list[] = {
...@@ -71,6 +72,7 @@ static enum intel_vsec_id intel_vsec_allow_list[] = { ...@@ -71,6 +72,7 @@ static enum intel_vsec_id intel_vsec_allow_list[] = {
VSEC_ID_WATCHER, VSEC_ID_WATCHER,
VSEC_ID_CRASHLOG, VSEC_ID_CRASHLOG,
VSEC_ID_SDSI, VSEC_ID_SDSI,
VSEC_ID_TPMI,
}; };
static const char *intel_vsec_name(enum intel_vsec_id id) static const char *intel_vsec_name(enum intel_vsec_id id)
...@@ -88,6 +90,9 @@ static const char *intel_vsec_name(enum intel_vsec_id id) ...@@ -88,6 +90,9 @@ static const char *intel_vsec_name(enum intel_vsec_id id)
case VSEC_ID_SDSI: case VSEC_ID_SDSI:
return "sdsi"; return "sdsi";
case VSEC_ID_TPMI:
return "tpmi";
default: default:
return NULL; return NULL;
} }
......
Markdown is supported
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