platform/x86/intel/vsec: Add support for Meteor Lake
authorGayatri Kammela <gayatri.kammela@linux.intel.com>
Fri, 3 Feb 2023 01:17:16 +0000 (17:17 -0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 6 Feb 2023 13:40:47 +0000 (14:40 +0100)
Add Meteor Lake PMT telemetry support.

Signed-off-by: Gayatri Kammela <gayatri.kammela@linux.intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20230203011716.1078003-1-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/vsec.c

index bb81b8b1f7e9b4b53296da6aca1bcd6e846fca84..89c5374e33b32a44ed52dc0e98cae6c7299797dd 100644 (file)
@@ -408,14 +408,23 @@ static const struct intel_vsec_platform_info dg1_info = {
        .quirks = VSEC_QUIRK_NO_DVSEC | VSEC_QUIRK_EARLY_HW,
 };
 
+/* MTL info */
+static const struct intel_vsec_platform_info mtl_info = {
+       .quirks = VSEC_QUIRK_NO_WATCHER | VSEC_QUIRK_NO_CRASHLOG,
+};
+
 #define PCI_DEVICE_ID_INTEL_VSEC_ADL           0x467d
 #define PCI_DEVICE_ID_INTEL_VSEC_DG1           0x490e
+#define PCI_DEVICE_ID_INTEL_VSEC_MTL_M         0x7d0d
+#define PCI_DEVICE_ID_INTEL_VSEC_MTL_S         0xad0d
 #define PCI_DEVICE_ID_INTEL_VSEC_OOBMSM                0x09a7
 #define PCI_DEVICE_ID_INTEL_VSEC_RPL           0xa77d
 #define PCI_DEVICE_ID_INTEL_VSEC_TGL           0x9a0d
 static const struct pci_device_id intel_vsec_pci_ids[] = {
        { PCI_DEVICE_DATA(INTEL, VSEC_ADL, &tgl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_DG1, &dg1_info) },
+       { PCI_DEVICE_DATA(INTEL, VSEC_MTL_M, &mtl_info) },
+       { PCI_DEVICE_DATA(INTEL, VSEC_MTL_S, &mtl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_OOBMSM, &(struct intel_vsec_platform_info) {}) },
        { PCI_DEVICE_DATA(INTEL, VSEC_RPL, &tgl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_TGL, &tgl_info) },