Skip to contentSkip to conversation

dmaengine: dw: Enable iDMA 32-bit on Intel Elkhart Lake

PATCH Applied Andy Shevchenko 3 participants 3 messages Jun 21, 2019 – Jun 25, 2019

Subsystems (2)
lore
Share & tools
lore

Andy Shevchenko

author reviewer
#0 lore raw

PATCH 1/1 dmaengine: dw: Enable iDMA 32-bit on Intel Elkhart Lake

Intel Elkhart Lake OSE (Offload Service Engine) provides few DMA controllers to the host. Enable them in the driver.

---
 drivers/dma/dw/pci.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/dma/dw/pci.c +5 -0
index c69e80d97220..7a53c6a94957 100644
@@ -143,6 +143,11 @@ static const struct pci_device_id dw_pci_id_table[] = {
 	{ PCI_VDEVICE(INTEL, 0x2286), (kernel_ulong_t)&dw_pci_data },
 	{ PCI_VDEVICE(INTEL, 0x22c0), (kernel_ulong_t)&dw_pci_data },
 
+	/* Elkhart Lake iDMA 32-bit (OSE DMA) */
+	{ PCI_VDEVICE(INTEL, 0x4bb4), (kernel_ulong_t)&idma32_pci_data },
+	{ PCI_VDEVICE(INTEL, 0x4bb5), (kernel_ulong_t)&idma32_pci_data },
+	{ PCI_VDEVICE(INTEL, 0x4bb6), (kernel_ulong_t)&idma32_pci_data },
+
 	/* Haswell */
 	{ PCI_VDEVICE(INTEL, 0x9c60), (kernel_ulong_t)&dw_pci_data },
 
Signature · 1 line
2.20.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Andy Shevchenko

Intel Elkhart Lake OSE (Offload Service Engine) provides few DMA controllers to the host. Enable them in the driver.

---
 drivers/dma/dw/pci.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/dma/dw/pci.c +0 -0
index c69e80d97220..7a53c6a94957 100644
@@ -143,6 +143,11 @@ static const struct pci_device_id dw_pci_id_table[] = {
 	{ PCI_VDEVICE(INTEL, 0x2286), (kernel_ulong_t)&dw_pci_data },

drivers/dma/dw/pci.c static const struct pci_device_id dw_pci_id_table[] = { · line 153

Quoted 10 lines
drivers/dma/dw/pci.c +5 -0
 	{ PCI_VDEVICE(INTEL, 0x22c0), (kernel_ulong_t)&dw_pci_data },
 
+	/* Elkhart Lake iDMA 32-bit (OSE DMA) */
+	{ PCI_VDEVICE(INTEL, 0x4bb4), (kernel_ulong_t)&idma32_pci_data },
+	{ PCI_VDEVICE(INTEL, 0x4bb5), (kernel_ulong_t)&idma32_pci_data },
+	{ PCI_VDEVICE(INTEL, 0x4bb6), (kernel_ulong_t)&idma32_pci_data },
+
 	/* Haswell */
 	{ PCI_VDEVICE(INTEL, 0x9c60), (kernel_ulong_t)&dw_pci_data },
 
Signature · 1 line
viresh
maintainer Applied
#2 lore raw
In reply to Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

Intel Elkhart Lake OSE (Offload Service Engine) provides few DMA controllers to the host. Enable them in the driver.

Applied, thanks

Signature · 1 line
~Vinod