]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86/intel/vsec: Add Diamond Rapids support
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 26 Feb 2025 21:47:27 +0000 (13:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:37:37 +0000 (14:37 +0200)
[ Upstream commit f317f38e7fbb15a0d8329289fef8cf034938fb4f ]

Add PCI ID for the Diamond Rapids Platforms

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20250226214728.1256747-1-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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel/vsec.c

index 343ab6a82c01773b33c1bae3df5e2f1e7503e269..666ed3698afe75d50d773bfc360fc5920fb04ec2 100644 (file)
@@ -420,6 +420,11 @@ static const struct intel_vsec_platform_info oobmsm_info = {
        .caps = VSEC_CAP_TELEMETRY | VSEC_CAP_SDSI | VSEC_CAP_TPMI,
 };
 
+/* DMR OOBMSM info */
+static const struct intel_vsec_platform_info dmr_oobmsm_info = {
+       .caps = VSEC_CAP_TELEMETRY | VSEC_CAP_TPMI,
+};
+
 /* TGL info */
 static const struct intel_vsec_platform_info tgl_info = {
        .caps = VSEC_CAP_TELEMETRY,
@@ -431,6 +436,7 @@ static const struct intel_vsec_platform_info tgl_info = {
 #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_OOBMSM_DMR    0x09a1
 #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[] = {
@@ -439,6 +445,7 @@ static const struct pci_device_id intel_vsec_pci_ids[] = {
        { PCI_DEVICE_DATA(INTEL, VSEC_MTL_M, &mtl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_MTL_S, &mtl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_OOBMSM, &oobmsm_info) },
+       { PCI_DEVICE_DATA(INTEL, VSEC_OOBMSM_DMR, &dmr_oobmsm_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_RPL, &tgl_info) },
        { PCI_DEVICE_DATA(INTEL, VSEC_TGL, &tgl_info) },
        { }