Skip to content

Commit 4fecf94

Browse files
Fenghua Yuvinodkoul
authored andcommitted
dmaengine: idxd: Add new DSA and IAA device IDs for Diamond Rapids platform
A new DSA device ID, 0x1212, and a new IAA device ID, 0x1216, are introduced for Diamond Rapids platform. Add the device IDs to the IDXD driver. The name "IAA" is used in new code instead of the old name "IAX". However, the "IAX" naming (e.g., IDXD_TYPE_IAX) is retained for legacy code compatibility. Signed-off-by: Fenghua Yu <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f91f2a9 commit 4fecf94

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/dma/idxd/init.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,13 @@ static struct pci_device_id idxd_pci_tbl[] = {
7171
{ PCI_DEVICE_DATA(INTEL, DSA_SPR0, &idxd_driver_data[IDXD_TYPE_DSA]) },
7272
/* DSA on GNR-D platforms */
7373
{ PCI_DEVICE_DATA(INTEL, DSA_GNRD, &idxd_driver_data[IDXD_TYPE_DSA]) },
74+
/* DSA on DMR platforms */
75+
{ PCI_DEVICE_DATA(INTEL, DSA_DMR, &idxd_driver_data[IDXD_TYPE_DSA]) },
7476

7577
/* IAX ver 1.0 platforms */
7678
{ PCI_DEVICE_DATA(INTEL, IAX_SPR0, &idxd_driver_data[IDXD_TYPE_IAX]) },
79+
/* IAA on DMR platforms */
80+
{ PCI_DEVICE_DATA(INTEL, IAA_DMR, &idxd_driver_data[IDXD_TYPE_IAX]) },
7781
{ 0, }
7882
};
7983
MODULE_DEVICE_TABLE(pci, idxd_pci_tbl);

include/linux/pci_ids.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,6 +2707,8 @@
27072707
#define PCI_DEVICE_ID_INTEL_82815_CGC 0x1132
27082708
#define PCI_DEVICE_ID_INTEL_SST_TNG 0x119a
27092709
#define PCI_DEVICE_ID_INTEL_DSA_GNRD 0x11fb
2710+
#define PCI_DEVICE_ID_INTEL_DSA_DMR 0x1212
2711+
#define PCI_DEVICE_ID_INTEL_IAA_DMR 0x1216
27102712
#define PCI_DEVICE_ID_INTEL_82092AA_0 0x1221
27112713
#define PCI_DEVICE_ID_INTEL_82437 0x122d
27122714
#define PCI_DEVICE_ID_INTEL_82371FB_0 0x122e

0 commit comments

Comments
 (0)