mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] PCI: define macro for marvell vendor ID
@ 2013-03-07 14:28 yxlraid
  2013-03-07 16:24 ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: yxlraid @ 2013-03-07 14:28 UTC (permalink / raw)
  To: bhelgaas; +Cc: linux-pci, linux-kernel, Xiangliang Yu

From: Xiangliang Yu <yuxiangl@marvell.com>

Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID
---
 include/linux/pci_ids.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index f11c1c2..a80f9e6 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1604,6 +1604,7 @@
 #define PCI_SUBDEVICE_ID_KEYSPAN_SX2	0x5334
 
 #define PCI_VENDOR_ID_MARVELL		0x11ab
+#define PCI_VENDOR_ID_MARVELL_EXT	0x1b4b
 #define PCI_DEVICE_ID_MARVELL_GT64111	0x4146
 #define PCI_DEVICE_ID_MARVELL_GT64260	0x6430
 #define PCI_DEVICE_ID_MARVELL_MV64360	0x6460
-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PCI: define macro for marvell vendor ID
  2013-03-07 14:28 [PATCH 1/2] PCI: define macro for marvell vendor ID yxlraid
@ 2013-03-07 16:24 ` Bjorn Helgaas
  2013-03-08  2:22   ` Xiangliang Yu
  2013-03-12  5:23   ` Andrew Cooks
  0 siblings, 2 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2013-03-07 16:24 UTC (permalink / raw)
  To: yxlraid; +Cc: linux-pci, linux-kernel, Xiangliang Yu

On Thu, Mar 7, 2013 at 7:28 AM,  <yxlraid@gmail.com> wrote:
> From: Xiangliang Yu <yuxiangl@marvell.com>
>
> Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID

"PCI_VENDOR_MARVELL_ID_EXT" is not actually the symbol you defined below.

Per the comment at the top of pci_ids.h, we don't add things here
unless they are shared between multiple drivers.

That said, the 0x1b4b vendor ID is used in mv_init.c, mvumi.h,
mvumi.c, and ahci.c.  If you want to unify all those so they all use
same symbol, and define that symbol here in pci_ids.h, that would be
fine with me.

> ---
>  include/linux/pci_ids.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index f11c1c2..a80f9e6 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -1604,6 +1604,7 @@
>  #define PCI_SUBDEVICE_ID_KEYSPAN_SX2   0x5334
>
>  #define PCI_VENDOR_ID_MARVELL          0x11ab
> +#define PCI_VENDOR_ID_MARVELL_EXT      0x1b4b
>  #define PCI_DEVICE_ID_MARVELL_GT64111  0x4146
>  #define PCI_DEVICE_ID_MARVELL_GT64260  0x6430
>  #define PCI_DEVICE_ID_MARVELL_MV64360  0x6460
> --
> 1.7.5.4
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH 1/2] PCI: define macro for marvell vendor ID
  2013-03-07 16:24 ` Bjorn Helgaas
@ 2013-03-08  2:22   ` Xiangliang Yu
  2013-03-12  5:23   ` Andrew Cooks
  1 sibling, 0 replies; 5+ messages in thread
From: Xiangliang Yu @ 2013-03-08  2:22 UTC (permalink / raw)
  To: Bjorn Helgaas, yxlraid; +Cc: linux-pci, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1772 bytes --]

Hi, Bjorn
I will update mvsas and ahci with the macro, just need more time to test it.
Thanks!

> -----Original Message-----
> From: Bjorn Helgaas [mailto:bhelgaas@google.com]
> Sent: 2013Äê3ÔÂ8ÈÕ 0:25
> To: yxlraid@gmail.com
> Cc: linux-pci@vger.kernel.org; linux-kernel@vger.kernel.org; Xiangliang Yu
> Subject: Re: [PATCH 1/2] PCI: define macro for marvell vendor ID
> 
> On Thu, Mar 7, 2013 at 7:28 AM,  <yxlraid@gmail.com> wrote:
> > From: Xiangliang Yu <yuxiangl@marvell.com>
> >
> > Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID
> 
> "PCI_VENDOR_MARVELL_ID_EXT" is not actually the symbol you defined below.
> 
> Per the comment at the top of pci_ids.h, we don't add things here
> unless they are shared between multiple drivers.
> 
> That said, the 0x1b4b vendor ID is used in mv_init.c, mvumi.h,
> mvumi.c, and ahci.c.  If you want to unify all those so they all use
> same symbol, and define that symbol here in pci_ids.h, that would be
> fine with me.
> 
> > ---
> >  include/linux/pci_ids.h |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> > index f11c1c2..a80f9e6 100644
> > --- a/include/linux/pci_ids.h
> > +++ b/include/linux/pci_ids.h
> > @@ -1604,6 +1604,7 @@
> >  #define PCI_SUBDEVICE_ID_KEYSPAN_SX2   0x5334
> >
> >  #define PCI_VENDOR_ID_MARVELL          0x11ab
> > +#define PCI_VENDOR_ID_MARVELL_EXT      0x1b4b
> >  #define PCI_DEVICE_ID_MARVELL_GT64111  0x4146
> >  #define PCI_DEVICE_ID_MARVELL_GT64260  0x6430
> >  #define PCI_DEVICE_ID_MARVELL_MV64360  0x6460
> > --
> > 1.7.5.4
> >
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PCI: define macro for marvell vendor ID
  2013-03-07 16:24 ` Bjorn Helgaas
  2013-03-08  2:22   ` Xiangliang Yu
@ 2013-03-12  5:23   ` Andrew Cooks
  2013-03-21 15:50     ` Myron Stowe
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Cooks @ 2013-03-12  5:23 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: yxlraid, linux-pci, linux-kernel, Xiangliang Yu

On Fri, Mar 8, 2013 at 12:24 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> On Thu, Mar 7, 2013 at 7:28 AM,  <yxlraid@gmail.com> wrote:
>> From: Xiangliang Yu <yuxiangl@marvell.com>
>>
>> Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID
>
> "PCI_VENDOR_MARVELL_ID_EXT" is not actually the symbol you defined below.
>
> Per the comment at the top of pci_ids.h, we don't add things here
> unless they are shared between multiple drivers.
>
> That said, the 0x1b4b vendor ID is used in mv_init.c, mvumi.h,
> mvumi.c, and ahci.c.  If you want to unify all those so they all use
> same symbol, and define that symbol here in pci_ids.h, that would be
> fine with me.
>

This symbol will also be useful for the quirk that creates iommu
context entries for Marvell devices that use incorrect dma source
tags. I'll update and resend that patch when this change has been
merged.

Thanks
Andrew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] PCI: define macro for marvell vendor ID
  2013-03-12  5:23   ` Andrew Cooks
@ 2013-03-21 15:50     ` Myron Stowe
  0 siblings, 0 replies; 5+ messages in thread
From: Myron Stowe @ 2013-03-21 15:50 UTC (permalink / raw)
  To: Andrew Cooks
  Cc: Bjorn Helgaas, yxlraid, linux-pci, linux-kernel, Xiangliang Yu

On Mon, Mar 11, 2013 at 11:23 PM, Andrew Cooks <acooks@gmail.com> wrote:
> On Fri, Mar 8, 2013 at 12:24 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
>> On Thu, Mar 7, 2013 at 7:28 AM,  <yxlraid@gmail.com> wrote:
>>> From: Xiangliang Yu <yuxiangl@marvell.com>
>>>
>>> Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID
>>
>> "PCI_VENDOR_MARVELL_ID_EXT" is not actually the symbol you defined below.
>>
>> Per the comment at the top of pci_ids.h, we don't add things here
>> unless they are shared between multiple drivers.
>>
>> That said, the 0x1b4b vendor ID is used in mv_init.c, mvumi.h,
>> mvumi.c, and ahci.c.  If you want to unify all those so they all use
>> same symbol, and define that symbol here in pci_ids.h, that would be
>> fine with me.
>>
>
> This symbol will also be useful for the quirk that creates iommu
> context entries for Marvell devices that use incorrect dma source
> tags. I'll update and resend that patch when this change has been
> merged.

Andrew -
  A new series that includes the 0x1b4b vendor ID change was posted
last night so you may want to follow that:
https://lkml.org/lkml/2013/3/21/12

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-21 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-07 14:28 [PATCH 1/2] PCI: define macro for marvell vendor ID yxlraid
2013-03-07 16:24 ` Bjorn Helgaas
2013-03-08  2:22   ` Xiangliang Yu
2013-03-12  5:23   ` Andrew Cooks
2013-03-21 15:50     ` Myron Stowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®