2012-08-24 23:36:36

by Dave Jiang

[permalink] [raw]
Subject: [PATCH] ioat: Adding Ivy Bridge IOATDMA PCI device IDs

Signed-off-by: Dave Jiang <[email protected]>
---

drivers/dma/ioat/pci.c | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c
index 5e3a40f..c057306 100644
--- a/drivers/dma/ioat/pci.c
+++ b/drivers/dma/ioat/pci.c
@@ -40,6 +40,17 @@ MODULE_VERSION(IOAT_DMA_VERSION);
MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Intel Corporation");

+#define PCI_DEVICE_ID_INTEL_IOAT_IVB0 0x0e20
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB1 0x0e21
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB2 0x0e22
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB3 0x0e23
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB4 0x0e24
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB5 0x0e25
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB6 0x0e26
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB7 0x0e27
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB8 0x0e2e
+#define PCI_DEVICE_ID_INTEL_IOAT_IVB9 0x0e2f
+
static struct pci_device_id ioat_pci_tbl[] = {
/* I/OAT v1 platforms */
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT) },
@@ -83,6 +94,17 @@ static struct pci_device_id ioat_pci_tbl[] = {
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_SNB8) },
{ PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_SNB9) },

+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB0) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB1) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB2) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB3) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB4) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB5) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB6) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB7) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB8) },
+ { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB9) },
+
{ 0, }
};
MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);


2012-08-31 00:30:36

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] ioat: Adding Ivy Bridge IOATDMA PCI device IDs

On Fri, 2012-08-24 at 16:36 -0700, Dave Jiang wrote:
> Signed-off-by: Dave Jiang <[email protected]>
Sounds okay to me, I can carry it once Dan acks it
> ---
>
> drivers/dma/ioat/pci.c | 22 ++++++++++++++++++++++
> 1 files changed, 22 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c
> index 5e3a40f..c057306 100644
> --- a/drivers/dma/ioat/pci.c
> +++ b/drivers/dma/ioat/pci.c
> @@ -40,6 +40,17 @@ MODULE_VERSION(IOAT_DMA_VERSION);
> MODULE_LICENSE("Dual BSD/GPL");
> MODULE_AUTHOR("Intel Corporation");
>
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB0 0x0e20
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB1 0x0e21
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB2 0x0e22
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB3 0x0e23
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB4 0x0e24
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB5 0x0e25
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB6 0x0e26
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB7 0x0e27
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB8 0x0e2e
> +#define PCI_DEVICE_ID_INTEL_IOAT_IVB9 0x0e2f
> +
> static struct pci_device_id ioat_pci_tbl[] = {
> /* I/OAT v1 platforms */
> { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT) },
> @@ -83,6 +94,17 @@ static struct pci_device_id ioat_pci_tbl[] = {
> { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_SNB8) },
> { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_SNB9) },
>
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB0) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB1) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB2) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB3) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB4) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB5) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB6) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB7) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB8) },
> + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_IVB9) },
> +
> { 0, }
> };
> MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
~Vinod Koul
Intel Corp.

2012-08-31 15:29:09

by Dan Williams

[permalink] [raw]
Subject: Re: [PATCH] ioat: Adding Ivy Bridge IOATDMA PCI device IDs



On Aug 30, 2012, at 5:30 PM, "Vinod Koul" <[email protected]> wrote:

> On Fri, 2012-08-24 at 16:36 -0700, Dave Jiang wrote:
>> Signed-off-by: Dave Jiang <[email protected]>
> Sounds okay to me, I can carry it once Dan acks it

Thanks Vinod.

Acked-by: Dan Williams <[email protected]>

2012-08-31 15:43:16

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] ioat: Adding Ivy Bridge IOATDMA PCI device IDs

On Fri, 2012-08-31 at 15:28 +0000, Dan Williams wrote:
>
> On Aug 30, 2012, at 5:30 PM, "Vinod Koul" <[email protected]> wrote:
>
> > On Fri, 2012-08-24 at 16:36 -0700, Dave Jiang wrote:
> >> Signed-off-by: Dave Jiang <[email protected]>
> > Sounds okay to me, I can carry it once Dan acks it
>
> Thanks Vinod.
>
> Acked-by: Dan Williams <[email protected]>
Applied, now

--
~Vinod Koul
Intel Corp.