Skip to contentSkip to conversation

dmaengine: idxd: Add a new IAA device ID on Panther Lake family platforms

PATCH Superseded Fenghua Yu 2 participants 3 messages Sep 11, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fenghua Yu

author
#0 lore raw

PATCH 1/1 dmaengine: idxd: Add a new IAA device ID on Panther Lake family platforms

A new IAA device ID, 0xb02d, is introduced across all Panther Lake family platforms. Add the device ID to the IDXD driver.

---
Hi, Vinod,

This patch is applied cleanly on the next branch in the dmaengine repo.

The next branch already includes a few new DSA/IAA device IDs in IDXD driver.

Please check the patches and the reasons why the new IDs should be added:
https://lore.kernel.org/lkml/[email protected]/

 drivers/dma/idxd/init.c | 2 ++
 include/linux/pci_ids.h | 1 +
 2 files changed, 3 insertions(+)
drivers/dma/idxd/init.c +2 -0
index 0f693b27879c..3ae494a7a706 100644
@@ -78,6 +78,8 @@ static struct pci_device_id idxd_pci_tbl[] = {
 	{ PCI_DEVICE_DATA(INTEL, IAX_SPR0, &idxd_driver_data[IDXD_TYPE_IAX]) },
 	/* IAA on DMR platforms */
 	{ PCI_DEVICE_DATA(INTEL, IAA_DMR, &idxd_driver_data[IDXD_TYPE_IAX]) },
+	/* IAX PTL platforms */
+	{ PCI_DEVICE_DATA(INTEL, IAX_PTL, &idxd_driver_data[IDXD_TYPE_IAX]) },
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, idxd_pci_tbl);
include/linux/pci_ids.h +1 -0
index 8139231d0e86..e598d6ff58bf 100644
@@ -3117,6 +3117,7 @@
 #define PCI_DEVICE_ID_INTEL_HDA_CNL_H	0xa348
 #define PCI_DEVICE_ID_INTEL_HDA_CML_S	0xa3f0
 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
+#define PCI_DEVICE_ID_INTEL_IAX_PTL	0xb02d
 #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
 #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
 #define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
Signature · 1 line
2.37.1
reviewer
#1 lore raw
Quoted 24 lines · Fenghua Yu

A new IAA device ID, 0xb02d, is introduced across all Panther Lake family platforms. Add the device ID to the IDXD driver.

---
Hi, Vinod,

This patch is applied cleanly on the next branch in the dmaengine repo.

The next branch already includes a few new DSA/IAA device IDs in IDXD driver.

Please check the patches and the reasons why the new IDs should be added:
https://lore.kernel.org/lkml/[email protected]/

 drivers/dma/idxd/init.c | 2 ++
 include/linux/pci_ids.h | 1 +
 2 files changed, 3 insertions(+)
drivers/dma/idxd/init.c +0 -0
index 0f693b27879c..3ae494a7a706 100644

drivers/dma/idxd/init.c static struct pci_device_id idxd_pci_tbl[] = { · line 82

Quoted 5 lines
drivers/dma/idxd/init.c +2 -0
@@ -78,6 +78,8 @@ static struct pci_device_id idxd_pci_tbl[] = {
 	{ PCI_DEVICE_DATA(INTEL, IAX_SPR0, &idxd_driver_data[IDXD_TYPE_IAX]) },
 	/* IAA on DMR platforms */
 	{ PCI_DEVICE_DATA(INTEL, IAA_DMR, &idxd_driver_data[IDXD_TYPE_IAX]) },
+	/* IAX PTL platforms */
+	{ PCI_DEVICE_DATA(INTEL, IAX_PTL, &idxd_driver_data[IDXD_TYPE_IAX]) },

Use IAA going forward?

include/linux/pci_ids.h line 3120

Quoted 12 lines
drivers/dma/idxd/init.c +0 -0
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, idxd_pci_tbl);
include/linux/pci_ids.h +1 -0
index 8139231d0e86..e598d6ff58bf 100644
@@ -3117,6 +3117,7 @@
 #define PCI_DEVICE_ID_INTEL_HDA_CNL_H	0xa348
 #define PCI_DEVICE_ID_INTEL_HDA_CML_S	0xa3f0
 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
+#define PCI_DEVICE_ID_INTEL_IAX_PTL	0xb02d

What is using this devid beyond the driver that needs pci_ids.h addition?

Quoted 3 lines
include/linux/pci_ids.h +0 -0
 #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
 #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
 #define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
author
#2 lore raw
Quoted 22 lines · Dave Jiang
Quoted 19 lines · Fenghua Yu

A new IAA device ID, 0xb02d, is introduced across all Panther Lake family platforms. Add the device ID to the IDXD driver.

---
Hi, Vinod,

This patch is applied cleanly on the next branch in the dmaengine repo.

The next branch already includes a few new DSA/IAA device IDs in IDXD driver.

Please check the patches and the reasons why the new IDs should be added:
https://lore.kernel.org/lkml/[email protected]/

  drivers/dma/idxd/init.c | 2 ++
  include/linux/pci_ids.h | 1 +
  2 files changed, 3 insertions(+)
Quoted 12 lines

drivers/dma/idxd/init.c static struct pci_device_id idxd_pci_tbl[] = { · line 82

Quoted 10 lines
drivers/dma/idxd/init.c +2 -0
index 0f693b27879c..3ae494a7a706 100644
@@ -78,6 +78,8 @@ static struct pci_device_id idxd_pci_tbl[] = {
  	{ PCI_DEVICE_DATA(INTEL, IAX_SPR0, &idxd_driver_data[IDXD_TYPE_IAX]) },
  	/* IAA on DMR platforms */
  	{ PCI_DEVICE_DATA(INTEL, IAA_DMR, &idxd_driver_data[IDXD_TYPE_IAX]) },
+	/* IAX PTL platforms */
+	{ PCI_DEVICE_DATA(INTEL, IAX_PTL, &idxd_driver_data[IDXD_TYPE_IAX]) },

Use IAA going forward?

Will fix it in v2.

Quoted 15 lines

include/linux/pci_ids.h line 3120

Quoted 13 lines
drivers/dma/idxd/init.c +0 -0
  	{ 0, }
  };
  MODULE_DEVICE_TABLE(pci, idxd_pci_tbl);
include/linux/pci_ids.h +1 -0
index 8139231d0e86..e598d6ff58bf 100644
@@ -3117,6 +3117,7 @@
  #define PCI_DEVICE_ID_INTEL_HDA_CNL_H	0xa348
  #define PCI_DEVICE_ID_INTEL_HDA_CML_S	0xa3f0
  #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
+#define PCI_DEVICE_ID_INTEL_IAX_PTL	0xb02d

What is using this devid beyond the driver that needs pci_ids.h addition?

No other usage beyond the driver. Will move it inside the driver.

Quoted 4 lines

include/linux/pci_ids.h line 3123

Quoted 4 lines
include/linux/pci_ids.h +0 -0
  #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
  #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
  #define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428

Thanks.

-Fenghua