LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id
@ 2008-03-07 21:05 stephane eranian
2008-03-11 16:50 ` stephane eranian
0 siblings, 1 reply; 5+ messages in thread
From: stephane eranian @ 2008-03-07 21:05 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, ak, Ingo Molnar, tglx, Robert Richter
adds AMD Northbridge PCI Id
Signed-off-by: Stephane Eranian <eranian@gmail.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -497,6 +497,8 @@
#define PCI_DEVICE_ID_AMD_K8_NB_ADDRMAP 0x1101
#define PCI_DEVICE_ID_AMD_K8_NB_MEMCTL 0x1102
#define PCI_DEVICE_ID_AMD_K8_NB_MISC 0x1103
+#define PCI_DEVICE_ID_AMD_10H_NB 0x1200
+#define PCI_DEVICE_ID_AMD_10H_NB_MISC 0x1203
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001
#define PCI_DEVICE_ID_AMD_SCSI 0x2020
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id
2008-03-07 21:05 [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id stephane eranian
@ 2008-03-11 16:50 ` stephane eranian
2008-03-11 17:12 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: stephane eranian @ 2008-03-11 16:50 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel
Greg,
Ingo suggested I send ou the following patch which adds a PCI ID
for AMD Barcelona Northbridge. This is used by the perfmon initialization
code on this platform.
Please apply to your tree.
Thanks.
---------------------------------------------------
adds AMD Northbridge PCI Id
Signed-off-by: Stephane Eranian <eranian@gmail.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -497,6 +497,8 @@
#define PCI_DEVICE_ID_AMD_K8_NB_ADDRMAP 0x1101
#define PCI_DEVICE_ID_AMD_K8_NB_MEMCTL 0x1102
#define PCI_DEVICE_ID_AMD_K8_NB_MISC 0x1103
+#define PCI_DEVICE_ID_AMD_10H_NB 0x1200
+#define PCI_DEVICE_ID_AMD_10H_NB_MISC 0x1203
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001
#define PCI_DEVICE_ID_AMD_SCSI 0x2020
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id
2008-03-11 16:50 ` stephane eranian
@ 2008-03-11 17:12 ` Greg KH
2008-03-11 23:10 ` stephane eranian
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2008-03-11 17:12 UTC (permalink / raw)
To: stephane eranian; +Cc: linux-kernel
On Tue, Mar 11, 2008 at 09:50:36AM -0700, stephane eranian wrote:
> Greg,
>
> Ingo suggested I send ou the following patch which adds a PCI ID
> for AMD Barcelona Northbridge. This is used by the perfmon initialization
> code on this platform.
>
> Please apply to your tree.
We are trying to not add pci ids that are only used in one place within
the kernel. Why can't the perfomon init code just add this value to
their code?
Or make this part of the perfmon patch itself, if you really must have
it. No need to add it to the kernel if there are no in-tree users,
right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id
2008-03-11 17:12 ` Greg KH
@ 2008-03-11 23:10 ` stephane eranian
2008-03-11 23:26 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: stephane eranian @ 2008-03-11 23:10 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel, Robert Richter
Greg,
On Tue, Mar 11, 2008 at 10:12 AM, Greg KH <gregkh@suse.de> wrote:
> On Tue, Mar 11, 2008 at 09:50:36AM -0700, stephane eranian wrote:
> > Greg,
> >
> > Ingo suggested I send ou the following patch which adds a PCI ID
> > for AMD Barcelona Northbridge. This is used by the perfmon initialization
> > code on this platform.
> >
> > Please apply to your tree.
>
> We are trying to not add pci ids that are only used in one place within
> the kernel. Why can't the perfomon init code just add this value to
> their code?
>
I thought you would want a central place where all PCI ids are defined.
But if you prefer not, then so be it. I'll put it into the perfmon code.
> Or make this part of the perfmon patch itself, if you really must have
> it. No need to add it to the kernel if there are no in-tree users,
> right?
>
I am starting to push perfmon patches upstream. So you should expect
patches which *currently* have no in-tree users. You have to start from
somewhere, right?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id
2008-03-11 23:10 ` stephane eranian
@ 2008-03-11 23:26 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2008-03-11 23:26 UTC (permalink / raw)
To: stephane eranian; +Cc: linux-kernel, Robert Richter
On Tue, Mar 11, 2008 at 04:10:41PM -0700, stephane eranian wrote:
> Greg,
>
>
> On Tue, Mar 11, 2008 at 10:12 AM, Greg KH <gregkh@suse.de> wrote:
> > On Tue, Mar 11, 2008 at 09:50:36AM -0700, stephane eranian wrote:
> > > Greg,
> > >
> > > Ingo suggested I send ou the following patch which adds a PCI ID
> > > for AMD Barcelona Northbridge. This is used by the perfmon initialization
> > > code on this platform.
> > >
> > > Please apply to your tree.
> >
> > We are trying to not add pci ids that are only used in one place within
> > the kernel. Why can't the perfomon init code just add this value to
> > their code?
> >
> I thought you would want a central place where all PCI ids are defined.
> But if you prefer not, then so be it. I'll put it into the perfmon code.
>
> > Or make this part of the perfmon patch itself, if you really must have
> > it. No need to add it to the kernel if there are no in-tree users,
> > right?
> >
> I am starting to push perfmon patches upstream. So you should expect
> patches which *currently* have no in-tree users. You have to start from
> somewhere, right?
Submit them at the same time, is that a problem? We don't want to be
accepting changes for an out-of-tree user that doesn't make it in :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-03-11 23:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-07 21:05 [PATCH 3/3] perfmon x86 infra(take 2): add AMD Northbridge PCI Id stephane eranian
2008-03-11 16:50 ` stephane eranian
2008-03-11 17:12 ` Greg KH
2008-03-11 23:10 ` stephane eranian
2008-03-11 23:26 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).