Re: [PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros

2007-04-06 Thread Muli Ben-Yehuda
On Fri, Apr 06, 2007 at 10:55:57AM +0200, Guillaume Thouvenin wrote: > Cleanup unneeded macros used for register space address calculation. > Now we are using the EBDA to find the space address. > > Signed-off-by: Guillaume Thouvenin <[EMAIL PROTECTED]> Applied, thank you. I'll push it out with

[PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros

2007-04-06 Thread Guillaume Thouvenin
Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address. Signed-off-by: Guillaume Thouvenin <[EMAIL PROTECTED]> --- pci-calgary.c |5 - 1 file changed, 5 deletions(-) Index: linux-2.6.20.4/arch/x86_64/kernel/pci-calgary.c

[PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros

2007-04-06 Thread Guillaume Thouvenin
Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address. Signed-off-by: Guillaume Thouvenin [EMAIL PROTECTED] --- pci-calgary.c |5 - 1 file changed, 5 deletions(-) Index: linux-2.6.20.4/arch/x86_64/kernel/pci-calgary.c

Re: [PATCH 2.6.20.4] pci-calgary: cleanup of unneeded macros

2007-04-06 Thread Muli Ben-Yehuda
On Fri, Apr 06, 2007 at 10:55:57AM +0200, Guillaume Thouvenin wrote: Cleanup unneeded macros used for register space address calculation. Now we are using the EBDA to find the space address. Signed-off-by: Guillaume Thouvenin [EMAIL PROTECTED] Applied, thank you. I'll push it out with the

Re: [PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread lepton
Yes, you are right. I need more work on my trival patch. On Thu, Apr 05, 2007 at 01:34:42PM +0600, Alexander E. Patrakov wrote: > lepton wrote: > >Hi, > > When reading corrupted reiserfs directory data, d_reclen > > could be a negative number, then memcpy will overflow > > kernel stack. This

Re: [PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread Alexander E. Patrakov
lepton wrote: Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number, then memcpy will overflow kernel stack. This can lead to kernel panic. The following patch adds a sanity check. (against 2.6.20.4) Is it possible to get a large positive number here

[PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread lepton
Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number, then memcpy will overflow kernel stack. This can lead to kernel panic. The following patch adds a sanity check. (against 2.6.20.4) Signed-off-by: Lepton Wu <[EMAIL PROTECTED]> diff -pru

[PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread lepton
Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number, then memcpy will overflow kernel stack. This can lead to kernel panic. The following patch adds a sanity check. (against 2.6.20.4) Signed-off-by: Lepton Wu [EMAIL PROTECTED] diff -pru

Re: [PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread Alexander E. Patrakov
lepton wrote: Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number, then memcpy will overflow kernel stack. This can lead to kernel panic. The following patch adds a sanity check. (against 2.6.20.4) Is it possible to get a large positive number here

Re: [PATCH] 2.6.20.4 fix kernel panic on corrupted reiserfs directory

2007-04-05 Thread lepton
Yes, you are right. I need more work on my trival patch. On Thu, Apr 05, 2007 at 01:34:42PM +0600, Alexander E. Patrakov wrote: lepton wrote: Hi, When reading corrupted reiserfs directory data, d_reclen could be a negative number, then memcpy will overflow kernel stack. This can lead

Re: [PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Greg KH
On Fri, Mar 30, 2007 at 01:33:45PM -0600, Eric W. Biederman wrote: > Greg KH <[EMAIL PROTECTED]> writes: > > > > Sorry, but this isn't going to go into 2.6.20 any time soon as it > > doesn't fit the rules for the -stable tree. > > > > But I'll take an updated version for my pci tree to go to Linus

Re: [PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > > Sorry, but this isn't going to go into 2.6.20 any time soon as it > doesn't fit the rules for the -stable tree. > > But I'll take an updated version for my pci tree to go to Linus after > 2.6.21 is out. Greg this does fix a bug that affects 2.6.21. We have

[PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Mitch Williams
This patch fixes a kernel bug which is triggered when using the irqbalance daemon with MSI-X hardware. Because both MSI-X interrupt messages and MSI-X table writes are posted, it's possible for them to cross while in-flight. This results in interrupts being received long after the kernel thinks

Re: [PATCH 2.6.20.4]

2007-03-30 Thread Mitch Williams
On Fri, 2007-03-30 at 11:56 -0700, Mitch Williams wrote: > This patch fixes a kernel bug which is triggered when using the > irqbalance daemon with MSI-X hardware. > Grrr. Evolution cut-n-sometimes-paste feature bit me. Will resend with a proper subject line. -Mitch - To unsubscribe from this

[PATCH 2.6.20.4]

2007-03-30 Thread Mitch Williams
This patch fixes a kernel bug which is triggered when using the irqbalance daemon with MSI-X hardware. Because both MSI-X interrupt messages and MSI-X table writes are posted, it's possible for them to cross while in-flight. This results in interrupts being received long after the kernel thinks

[PATCH 2.6.20.4]

2007-03-30 Thread Mitch Williams
This patch fixes a kernel bug which is triggered when using the irqbalance daemon with MSI-X hardware. Because both MSI-X interrupt messages and MSI-X table writes are posted, it's possible for them to cross while in-flight. This results in interrupts being received long after the kernel thinks

Re: [PATCH 2.6.20.4]

2007-03-30 Thread Mitch Williams
On Fri, 2007-03-30 at 11:56 -0700, Mitch Williams wrote: This patch fixes a kernel bug which is triggered when using the irqbalance daemon with MSI-X hardware. Grrr. Evolution cut-n-sometimes-paste feature bit me. Will resend with a proper subject line. -Mitch - To unsubscribe from this

[PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Mitch Williams
This patch fixes a kernel bug which is triggered when using the irqbalance daemon with MSI-X hardware. Because both MSI-X interrupt messages and MSI-X table writes are posted, it's possible for them to cross while in-flight. This results in interrupts being received long after the kernel thinks

Re: [PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Eric W. Biederman
Greg KH [EMAIL PROTECTED] writes: Sorry, but this isn't going to go into 2.6.20 any time soon as it doesn't fit the rules for the -stable tree. But I'll take an updated version for my pci tree to go to Linus after 2.6.21 is out. Greg this does fix a bug that affects 2.6.21. We have

Re: [PATCH 2.6.20.4] Flush MSI-X table writes (rev 3)

2007-03-30 Thread Greg KH
On Fri, Mar 30, 2007 at 01:33:45PM -0600, Eric W. Biederman wrote: Greg KH [EMAIL PROTECTED] writes: Sorry, but this isn't going to go into 2.6.20 any time soon as it doesn't fit the rules for the -stable tree. But I'll take an updated version for my pci tree to go to Linus after

[PATCH 2.6.20.4] ieee1394: dv1394: fix CardBus card ejection

2007-03-25 Thread Stefan Richter
Fix NULL pointer dereference on hot ejection of a FireWire card while dv1394 was loaded. http://bugzilla.kernel.org/show_bug.cgi?id=7121 I did not test card ejection with open /dev/dv1394 files yet. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Picked from 2.6.21-rc1.

[PATCH 2.6.20.4] ieee1394: dv1394: fix CardBus card ejection

2007-03-25 Thread Stefan Richter
Fix NULL pointer dereference on hot ejection of a FireWire card while dv1394 was loaded. http://bugzilla.kernel.org/show_bug.cgi?id=7121 I did not test card ejection with open /dev/dv1394 files yet. Signed-off-by: Stefan Richter [EMAIL PROTECTED] --- Picked from 2.6.21-rc1.