* [GIT PATCH] PCI patches for 2.6.24-rc1
@ 2007-11-05 21:56 Greg KH
2007-11-05 22:13 ` Linus Torvalds
0 siblings, 1 reply; 12+ messages in thread
From: Greg KH @ 2007-11-05 21:56 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, linux-pci, pcihpd-discuss
Here are a some PCI patches against your 2.6.24-rc1 git tree.
They are a bunch of quirk updates from David Miller, a new config item
to help Jeff Garzik start to cleanup the isdn drivers and let him take
those patches through his tree, and a few other minor bugfixes.
All of these have been in the -mm tree for a while.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/
The full patches will be sent to the linux-pci mailing list, if anyone
wants to see them.
thanks,
greg k-h
-------------
drivers/isdn/hisax/Kconfig | 18 ++++++------
drivers/isdn/hisax/avm_pci.c | 4 +-
drivers/isdn/hisax/diva.c | 6 ++--
drivers/isdn/hisax/elsa.c | 4 +-
drivers/isdn/hisax/gazel.c | 4 ++-
drivers/isdn/hisax/niccy.c | 7 +++--
drivers/isdn/hisax/sedlbauer.c | 4 +-
drivers/net/tg3.c | 9 ------
drivers/pci/Kconfig | 11 ++++++++
drivers/pci/hotplug/Kconfig | 6 ++--
drivers/pci/hotplug/cpqphp_ctrl.c | 16 +++++------
drivers/pci/msi.c | 18 ++++++++----
drivers/pci/pci-driver.c | 5 +--
drivers/pci/quirks.c | 51 ++++++++++++++++++++++++++++++++++---
drivers/pci/search.c | 9 ++++++
drivers/scsi/Kconfig | 2 +-
drivers/serial/8250_pci.c | 5 +++-
include/linux/pci.h | 14 ++++++++-
include/linux/pci_ids.h | 5 +---
19 files changed, 134 insertions(+), 64 deletions(-)
---------------
Adrian Bunk (2):
PCI: make pci_match_device() static
PCI Hotplug: cpqhp_pushbutton_thread(): remove a pointless if() check
David Miller (5):
PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips"
PCI: Add MSI quirk for ServerWorks HT1000 PCIX bridge.
PCI: Add quirk for devices which disable MSI when INTX_DISABLE is set.
PCI: Add MSI INTX_DISABLE quirks for ATI SB700/800 SATA and IXP SB400 USB
PCI: Remove 3 incorrect MSI quirks.
Dirk Hohndel (1):
PCI: pciserial_resume_one ignored return value of pci_enable_device
Jeff Garzik (1):
PCI: Add Kconfig option to disable deprecated pci_find_* API
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 21:56 [GIT PATCH] PCI patches for 2.6.24-rc1 Greg KH
@ 2007-11-05 22:13 ` Linus Torvalds
2007-11-05 22:16 ` Linus Torvalds
2007-11-05 22:17 ` Greg KH
0 siblings, 2 replies; 12+ messages in thread
From: Linus Torvalds @ 2007-11-05 22:13 UTC (permalink / raw)
To: Greg KH; +Cc: Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Mon, 5 Nov 2007, Greg KH wrote:
>
> They are a bunch of quirk updates from David Miller, a new config item
> to help Jeff Garzik start to cleanup the isdn drivers and let him take
> those patches through his tree, and a few other minor bugfixes.
This one is bogus:
PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips"
This reverts commit e3008dedff4bdc96a5f67224cd3d8d12237082a0.
The real bug was an INTX issue in the tg3 ethernet chip, and
cured by commit c129d962a66c76964954a98b38586ada82cf9381
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
It says "cured by commit c129d962a66c76964954a98b38586ada82cf9381", but no
such commit exists. What?
Did you mean commit ba698ad4b7e466cbb4a8bde6b9da8080ab06808d, and if so,
where did that c129d.. come from?
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:13 ` Linus Torvalds
@ 2007-11-05 22:16 ` Linus Torvalds
2007-11-05 22:28 ` Greg KH
2007-11-06 16:14 ` Theodore Tso
2007-11-05 22:17 ` Greg KH
1 sibling, 2 replies; 12+ messages in thread
From: Linus Torvalds @ 2007-11-05 22:16 UTC (permalink / raw)
To: Greg KH; +Cc: Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Mon, 5 Nov 2007, Linus Torvalds wrote:
>
> This one is bogus:
Side note: I pulled and pushed out, since I assume the *code* is correct,
but please double-check the commit messages for things like this.
gitk makes it really easy, since it will highlight valid commit ID's. It
looks lik eyou may have re-ordered the commits or something?
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:13 ` Linus Torvalds
2007-11-05 22:16 ` Linus Torvalds
@ 2007-11-05 22:17 ` Greg KH
2007-11-05 22:37 ` Linus Torvalds
2007-11-05 23:23 ` David Miller
1 sibling, 2 replies; 12+ messages in thread
From: Greg KH @ 2007-11-05 22:17 UTC (permalink / raw)
To: Linus Torvalds, David S. Miller
Cc: Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Mon, Nov 05, 2007 at 02:13:58PM -0800, Linus Torvalds wrote:
> On Mon, 5 Nov 2007, Greg KH wrote:
> >
> > They are a bunch of quirk updates from David Miller, a new config item
> > to help Jeff Garzik start to cleanup the isdn drivers and let him take
> > those patches through his tree, and a few other minor bugfixes.
>
> This one is bogus:
>
> PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips"
>
> This reverts commit e3008dedff4bdc96a5f67224cd3d8d12237082a0.
>
> The real bug was an INTX issue in the tg3 ethernet chip, and
> cured by commit c129d962a66c76964954a98b38586ada82cf9381
>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> Acked-by: Jeff Garzik <jgarzik@redhat.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
>
> It says "cured by commit c129d962a66c76964954a98b38586ada82cf9381", but no
> such commit exists. What?
>
> Did you mean commit ba698ad4b7e466cbb4a8bde6b9da8080ab06808d, and if so,
> where did that c129d.. come from?
I'll defer to David on this one, as he sent it to me.
David?
greg k-h
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:16 ` Linus Torvalds
@ 2007-11-05 22:28 ` Greg KH
2007-11-05 22:42 ` Linus Torvalds
2007-11-06 16:14 ` Theodore Tso
1 sibling, 1 reply; 12+ messages in thread
From: Greg KH @ 2007-11-05 22:28 UTC (permalink / raw)
To: Linus Torvalds, davem, jgarzik
Cc: Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Mon, Nov 05, 2007 at 02:16:05PM -0800, Linus Torvalds wrote:
>
>
> On Mon, 5 Nov 2007, Linus Torvalds wrote:
> >
> > This one is bogus:
>
> Side note: I pulled and pushed out, since I assume the *code* is correct,
> but please double-check the commit messages for things like this.
>
> gitk makes it really easy, since it will highlight valid commit ID's. It
> looks lik eyou may have re-ordered the commits or something?
Wow, that's cool, I never noticed that.
I'm guessing that David is referring to a commit in his tree, not in
yours yet.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:17 ` Greg KH
@ 2007-11-05 22:37 ` Linus Torvalds
2007-11-05 23:24 ` David Miller
2007-11-05 23:23 ` David Miller
1 sibling, 1 reply; 12+ messages in thread
From: Linus Torvalds @ 2007-11-05 22:37 UTC (permalink / raw)
To: Greg KH
Cc: David S. Miller, Andrew Morton, linux-kernel, linux-pci,
pcihpd-discuss
On Mon, 5 Nov 2007, Greg KH wrote:
> >
> > This one is bogus:
> >
> > PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips"
> >
> > This reverts commit e3008dedff4bdc96a5f67224cd3d8d12237082a0.
> >
> > The real bug was an INTX issue in the tg3 ethernet chip, and
> > cured by commit c129d962a66c76964954a98b38586ada82cf9381
> >
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> > Acked-by: Jeff Garzik <jgarzik@redhat.com>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
>
> I'll defer to David on this one, as he sent it to me.
Btw, I'd also like to take the opportunitity to ask people to always
include the explanation of the commit when you give a commit ID.
"git revert" does that for the commit it reverts, but the (bogus) commit
ID that was apparently added by David (c129d962a) didn't get the
explanation for it, so now it's totally impossible to match it up with
anything at all..
So let me one more say:
- don't just say
.. was cured by commit xyz
- but add the one-liner description of the commit, something along the
lines of
.. was cured by commit xyz ("PCI: Add quirk for devices which
disable MSI when INTX_DISABLE is set.")
so that the commit messages are readable even outside git.
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:28 ` Greg KH
@ 2007-11-05 22:42 ` Linus Torvalds
2007-11-05 23:28 ` David Miller
0 siblings, 1 reply; 12+ messages in thread
From: Linus Torvalds @ 2007-11-05 22:42 UTC (permalink / raw)
To: Greg KH
Cc: davem, jgarzik, Andrew Morton, linux-kernel, linux-pci,
pcihpd-discuss
On Mon, 5 Nov 2007, Greg KH wrote:
>
> I'm guessing that David is referring to a commit in his tree, not in
> yours yet.
Well, I suspect that David referred to a commit that he just sent by
email. Which obviously will have a *different* commit ID once you commit
it - so it probably made sense in his tree, but not once he exported it
as an email instead of syncing with git natively.
I also suspect that the whole series was re-ordered in email (or by you
reading/applying them in a different order). Since now the revert of the
"disable MSI" happens *before* the patch that looks like it will fix the
issue.
So I think David also probably didn't number his patches.
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:17 ` Greg KH
2007-11-05 22:37 ` Linus Torvalds
@ 2007-11-05 23:23 ` David Miller
1 sibling, 0 replies; 12+ messages in thread
From: David Miller @ 2007-11-05 23:23 UTC (permalink / raw)
To: gregkh; +Cc: torvalds, akpm, linux-kernel, linux-pci, pcihpd-discuss
From: Greg KH <gregkh@suse.de>
Date: Mon, 5 Nov 2007 14:17:52 -0800
> On Mon, Nov 05, 2007 at 02:13:58PM -0800, Linus Torvalds wrote:
> > On Mon, 5 Nov 2007, Greg KH wrote:
> > >
> > > They are a bunch of quirk updates from David Miller, a new config item
> > > to help Jeff Garzik start to cleanup the isdn drivers and let him take
> > > those patches through his tree, and a few other minor bugfixes.
> >
> > This one is bogus:
> >
> > PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips"
> >
> > This reverts commit e3008dedff4bdc96a5f67224cd3d8d12237082a0.
> >
> > The real bug was an INTX issue in the tg3 ethernet chip, and
> > cured by commit c129d962a66c76964954a98b38586ada82cf9381
> >
> > Signed-off-by: David S. Miller <davem@davemloft.net>
> > Acked-by: Jeff Garzik <jgarzik@redhat.com>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> >
> > It says "cured by commit c129d962a66c76964954a98b38586ada82cf9381", but no
> > such commit exists. What?
> >
> > Did you mean commit ba698ad4b7e466cbb4a8bde6b9da8080ab06808d, and if so,
> > where did that c129d.. come from?
>
> I'll defer to David on this one, as he sent it to me.
At the time I originally wrote that patch, that was the commit ID in
my net-2.6 tree, but I rebased net-2.6 before final submittion of the
tg3 patch and I didn't update the commit log for this patch to match.
Sorry.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:37 ` Linus Torvalds
@ 2007-11-05 23:24 ` David Miller
0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2007-11-05 23:24 UTC (permalink / raw)
To: torvalds; +Cc: gregkh, akpm, linux-kernel, linux-pci, pcihpd-discuss
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Mon, 5 Nov 2007 14:37:31 -0800 (PST)
> So let me one more say:
>
> - don't just say
>
> .. was cured by commit xyz
>
> - but add the one-liner description of the commit, something along the
> lines of
>
> .. was cured by commit xyz ("PCI: Add quirk for devices which
> disable MSI when INTX_DISABLE is set.")
>
> so that the commit messages are readable even outside git.
I agree, and I've been trying to get into the habit of
doing this even though I didn't this time.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:42 ` Linus Torvalds
@ 2007-11-05 23:28 ` David Miller
0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2007-11-05 23:28 UTC (permalink / raw)
To: torvalds; +Cc: gregkh, jgarzik, akpm, linux-kernel, linux-pci, pcihpd-discuss
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Mon, 5 Nov 2007 14:42:15 -0800 (PST)
>
>
> On Mon, 5 Nov 2007, Greg KH wrote:
> >
> > I'm guessing that David is referring to a commit in his tree, not in
> > yours yet.
>
> Well, I suspect that David referred to a commit that he just sent by
> email. Which obviously will have a *different* commit ID once you commit
> it - so it probably made sense in his tree, but not once he exported it
> as an email instead of syncing with git natively.
>
> I also suspect that the whole series was re-ordered in email (or by you
> reading/applying them in a different order). Since now the revert of the
> "disable MSI" happens *before* the patch that looks like it will fix the
> issue.
>
> So I think David also probably didn't number his patches.
They were in the correct order, and I did number them.
The commit with the invalid commit ID in question went in a long time
ago, into 2.6.23 in fact, and as I explained in another email I
rebased by net-2.6 tree before I had sent that patch in, but I forgot
to update the commit log in these PCI layer changes.
I was not referencing a commit ID within the PCI patch set itself.
I just did a pull and verified that the commits are in the correct
order.
For reference the commit I meant to reference was:
commit 2fbe43f6f631dd7ce19fb1499d6164a5bdb34568
Author: Michael Chan <mchan@broadcom.com>
Date: Thu Sep 6 12:04:29 2007 +0100
[TG3]: Workaround MSI bug on 5714/5780.
A hardware bug was revealed after a recent PCI MSI patch was made to
always disable legacy INTX when enabling MSI. The 5714/5780 chips
will not generate MSI when INTX is disabled, causing MSI failure
messages to be reported, and another patch was made to workaround the
problem by disabling MSI on ServerWorks HT1000 bridge chips commonly
found with the 5714.
We workaround this chip bug by enabling INTX after we enable MSI and
after we resume from suspend.
Update version to 3.81.
This problem was discovered by David Miller.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-05 22:16 ` Linus Torvalds
2007-11-05 22:28 ` Greg KH
@ 2007-11-06 16:14 ` Theodore Tso
2007-11-06 16:47 ` Linus Torvalds
1 sibling, 1 reply; 12+ messages in thread
From: Theodore Tso @ 2007-11-06 16:14 UTC (permalink / raw)
To: Linus Torvalds
Cc: Greg KH, Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Mon, Nov 05, 2007 at 02:16:05PM -0800, Linus Torvalds wrote:
>
>
> On Mon, 5 Nov 2007, Linus Torvalds wrote:
> >
> > This one is bogus:
>
> Side note: I pulled and pushed out, since I assume the *code* is correct,
> but please double-check the commit messages for things like this.
>
> gitk makes it really easy, since it will highlight valid commit ID's. It
> looks lik eyou may have re-ordered the commits or something?
hmm, I wonder if it would be a good idea to put together a git hook
script that looks for things that look like git commit ID's, and if
they aren't valid commit ID's that appear in the repository, the
maintainer gets a warning when they do a "git am" or otherwise suck in
a patch that was sent via e-mail...
- Ted
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PATCH] PCI patches for 2.6.24-rc1
2007-11-06 16:14 ` Theodore Tso
@ 2007-11-06 16:47 ` Linus Torvalds
0 siblings, 0 replies; 12+ messages in thread
From: Linus Torvalds @ 2007-11-06 16:47 UTC (permalink / raw)
To: Theodore Tso
Cc: Greg KH, Andrew Morton, linux-kernel, linux-pci, pcihpd-discuss
On Tue, 6 Nov 2007, Theodore Tso wrote:
>
> hmm, I wonder if it would be a good idea to put together a git hook
> script that looks for things that look like git commit ID's, and if
> they aren't valid commit ID's that appear in the repository, the
> maintainer gets a warning when they do a "git am" or otherwise suck in
> a patch that was sent via e-mail...
Well, the thing is, sometimes it makes sense.
In the stable tree, for example, the commits often point to the particular
commit in the *development* tree that the particular stable commit was
cherry-picked from. And that all makes perfect sense - but such a commit
will not even exist in that tree (very much by definition: the whole point
of a stable tree is to *not* have all the development commits in that
tree, so just individual commits get moved over).
So it does make sense to point to commits in totally independent trees at
times.
Yes, it could be an option, and yes, you could probably enable/disable it
on a per-repository basis (ie the above kind of thing tens to make sense
for certain repositories but not others). But it's definitely not
something that necessarily always makes sense to do, so it's likely not a
good default (and if it's not a default, then mistakes will continue to
happen).
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-11-06 16:47 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 21:56 [GIT PATCH] PCI patches for 2.6.24-rc1 Greg KH
2007-11-05 22:13 ` Linus Torvalds
2007-11-05 22:16 ` Linus Torvalds
2007-11-05 22:28 ` Greg KH
2007-11-05 22:42 ` Linus Torvalds
2007-11-05 23:28 ` David Miller
2007-11-06 16:14 ` Theodore Tso
2007-11-06 16:47 ` Linus Torvalds
2007-11-05 22:17 ` Greg KH
2007-11-05 22:37 ` Linus Torvalds
2007-11-05 23:24 ` David Miller
2007-11-05 23:23 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.