diff mbox

ioatdma: Adding support for BDX-DE ioatdma.

Message ID 20150114231140.99630.26689.stgit@djiang5-desk2.amr.corp.intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Dave Jiang Jan. 14, 2015, 11:11 p.m. UTC
Adding PCI device IDs and hooks in workarounds for Broadwell DE ioatdma.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
 drivers/dma/ioat/dma_v3.c |    5 +++++
 drivers/dma/ioat/hw.h     |    5 +++++
 2 files changed, 10 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Vinod Koul Feb. 4, 2015, 1:37 a.m. UTC | #1
On Wed, Jan 14, 2015 at 04:11:40PM -0700, Dave Jiang wrote:
> Adding PCI device IDs and hooks in workarounds for Broadwell DE ioatdma.
> 
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Applied, thanks
Dave Jiang Feb. 4, 2015, 1:44 a.m. UTC | #2
> On Feb 3, 2015, at 6:39 PM, Koul, Vinod <vinod.koul@intel.com> wrote:
> 
>> On Wed, Jan 14, 2015 at 04:11:40PM -0700, Dave Jiang wrote:
>> Adding PCI device IDs and hooks in workarounds for Broadwell DE ioatdma.
>> 
>> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> Applied, thanks

I hope you applied v2 right? Thx
> 
> -- 
> ~Vinod
> 
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Vinod Koul Feb. 4, 2015, 1:49 a.m. UTC | #3
On Wed, Feb 04, 2015 at 07:14:43AM +0530, Jiang, Dave wrote:
> 
> 
> 
> 
> > On Feb 3, 2015, at 6:39 PM, Koul, Vinod <vinod.koul@intel.com> wrote:
> > 
> >> On Wed, Jan 14, 2015 at 04:11:40PM -0700, Dave Jiang wrote:
> >> Adding PCI device IDs and hooks in workarounds for Broadwell DE ioatdma.
> >> 
> >> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> > Applied, thanks
> 
> I hope you applied v2 right? Thx
I think so... Can you confirm ...
Dave Jiang Feb. 4, 2015, 4:22 p.m. UTC | #4
On 02/03/2015 06:49 PM, Koul, Vinod wrote:
> On Wed, Feb 04, 2015 at 07:14:43AM +0530, Jiang, Dave wrote:
>>
>>
>>
>>> On Feb 3, 2015, at 6:39 PM, Koul, Vinod <vinod.koul@intel.com> wrote:
>>>
>>>> On Wed, Jan 14, 2015 at 04:11:40PM -0700, Dave Jiang wrote:
>>>> Adding PCI device IDs and hooks in workarounds for Broadwell DE ioatdma.
>>>>
>>>> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
>>> Applied, thanks
>> I hope you applied v2 right? Thx
> I think so... Can you confirm ...
>
Looks good. Thanks!
diff mbox

Patch

diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c
index be307182..61510ab 100644
--- a/drivers/dma/ioat/dma_v3.c
+++ b/drivers/dma/ioat/dma_v3.c
@@ -214,6 +214,11 @@  static bool is_bwd_ioat(struct pci_dev *pdev)
 	case PCI_DEVICE_ID_INTEL_IOAT_BWD1:
 	case PCI_DEVICE_ID_INTEL_IOAT_BWD2:
 	case PCI_DEVICE_ID_INTEL_IOAT_BWD3:
+	/* even though not Atom, BDX-DE has same DMA silicon */
+	case PCI_DEVICE_ID_INTEL_IOAT_BDXDE0:
+	case PCI_DEVICE_ID_INTEL_IOAT_BDXDE1:
+	case PCI_DEVICE_ID_INTEL_IOAT_BDXDE2:
+	case PCI_DEVICE_ID_INTEL_IOAT_BDXDE3:
 		return true;
 	default:
 		return false;
diff --git a/drivers/dma/ioat/hw.h b/drivers/dma/ioat/hw.h
index 62f83e9..02177ec 100644
--- a/drivers/dma/ioat/hw.h
+++ b/drivers/dma/ioat/hw.h
@@ -57,6 +57,11 @@ 
 #define PCI_DEVICE_ID_INTEL_IOAT_BWD2	0x0C52
 #define PCI_DEVICE_ID_INTEL_IOAT_BWD3	0x0C53
 
+#define PCI_DEVICE_ID_INTEL_IOAT_BDXDE0	0x6f50
+#define PCI_DEVICE_ID_INTEL_IOAT_BDXDE1	0x6f51
+#define PCI_DEVICE_ID_INTEL_IOAT_BDXDE2	0x6f52
+#define PCI_DEVICE_ID_INTEL_IOAT_BDXDE3	0x6f53
+
 #define IOAT_VER_1_2            0x12    /* Version 1.2 */
 #define IOAT_VER_2_0            0x20    /* Version 2.0 */
 #define IOAT_VER_3_0            0x30    /* Version 3.0 */