]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.11.1 v2.6.11.1
Greg Kroah-Hartman [Fri, 4 Mar 2005 01:15:33 +0000 (17:15 -0800)]
Linux 2.6.11.1

20 years ago[PATCH] Fix keyboards for Dell machines
Dmitry Torokhov [Fri, 4 Mar 2005 00:12:02 +0000 (16:12 -0800)]
[PATCH] Fix keyboards for Dell machines

Some ACPI-related changes were recently made to i8042 discovery for ia64.
Unfortunately this broke a significant number of Dell laptops due to their
having incorrect BIOS tables.

So, for now, arrange for the new code to be ia64-only.

From: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] Fix for trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec
Olof Johansson [Thu, 3 Mar 2005 07:14:35 +0000 (23:14 -0800)]
[PATCH] Fix for trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec

Here's a patch that will work for both PPC and PPC64. The proper way to
fix this in mainline is to merge -mm's cpu_has_feature patch, but for
the stable 2.6.11-series, this much less intrusive (i.e. just the pure
bugfix, not the cleanup part).

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec
rene@exactcode.de [Thu, 3 Mar 2005 02:58:16 +0000 (18:58 -0800)]
[PATCH] trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec

From: Rene Rebe <rene@exactcode.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years agoLinux 2.6.11
Linus Torvalds [Tue, 1 Mar 2005 15:35:15 +0000 (07:35 -0800)]
Linux 2.6.11

20 years ago[PATCH] fix module paramater permissions in radeon_base.c
Greg Kroah-Hartman [Tue, 1 Mar 2005 15:34:41 +0000 (07:34 -0800)]
[PATCH] fix module paramater permissions in radeon_base.c

You really don't want -2 (which was just a cut-and-paste of the initial
value for the parameter) for the file mode in sysfs.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] send audit reply to correct socket
Chris Wright [Tue, 1 Mar 2005 10:08:45 +0000 (02:08 -0800)]
[PATCH] send audit reply to correct socket

Send audit repsonse to socket which request came from, rather than pid that
request came from.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Tue, 1 Mar 2005 08:24:34 +0000 (00:24 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 1 Mar 2005 08:20:40 +0000 (00:20 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] sysfs: fix signedness problem
Greg Kroah-Hartman [Tue, 1 Mar 2005 08:18:03 +0000 (00:18 -0800)]
[PATCH] sysfs: fix signedness problem

count is size_t, fill_write_buffer() may return a negative number
which would evade the 'count > 0' checks and do bad things.

found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Input: add more PNP IDs to i8042 driver.
Dmitry Torokhov [Tue, 1 Mar 2005 05:13:49 +0000 (21:13 -0800)]
[PATCH] Input: add more PNP IDs to i8042 driver.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] prism54 not releasing region
takis@lumumba.luc.ac.be [Tue, 1 Mar 2005 03:48:24 +0000 (19:48 -0800)]
[PATCH] prism54 not releasing region

Remember to release the PCI regions on an error path.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix audit inode filter
Chris Wright [Tue, 1 Mar 2005 03:48:10 +0000 (19:48 -0800)]
[PATCH] fix audit inode filter

Audit inode filter drops high bits on inode number by cut 'n paste mistake.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] genhd: NULL checking fix
Andrew Morton [Tue, 1 Mar 2005 03:47:58 +0000 (19:47 -0800)]
[PATCH] genhd: NULL checking fix

Avoid a possible null-pointer deref.

Found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] SELinux: null dereference in error path
Alexander Nyberg [Tue, 1 Mar 2005 03:47:45 +0000 (19:47 -0800)]
[PATCH] SELinux: null dereference in error path

The 'bad' label will call function that unconditionally dereferences the
NULL pointer.

Found by the Coverity tool

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Acked-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] SELinux: Leak in error path
Alexander Nyberg [Tue, 1 Mar 2005 03:47:30 +0000 (19:47 -0800)]
[PATCH] SELinux: Leak in error path

There's a leak here in the first error path.

Found by the Coverity tool.

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Acked-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[IA64] pci_irq.c: need signed variable to handle error return from acpi
Kenji Kaneshige [Tue, 1 Mar 2005 00:59:37 +0000 (16:59 -0800)]
[IA64] pci_irq.c: need signed variable to handle error return from acpi

This patch fix the error check in acpi_pci_irq_disable().

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years ago[IA64] ia64 audit build fix
Andrew Morton [Tue, 1 Mar 2005 00:48:38 +0000 (16:48 -0800)]
[IA64] ia64 audit build fix

With CONFIG_AUDITSYSCALL=n:

arch/ia64/kernel/ptrace.c: In function `syscall_trace_enter':
arch/ia64/kernel/ptrace.c:1615: warning: implicit declaration of function `audit_syscall_entry'
arch/ia64/kernel/ptrace.c: In function `syscall_trace_leave':
arch/ia64/kernel/ptrace.c:1631: warning: implicit declaration of function `audit_syscall_exit'

And the link fails, due to audit_syscall_entry() not being present.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years ago[ARM PATCH] 2505/1: Remove FTVPCI from debug code
Ben Dooks [Mon, 28 Feb 2005 18:44:07 +0000 (18:44 +0000)]
[ARM PATCH] 2505/1: Remove FTVPCI from debug code

Patch from Ben Dooks

Remove the currently #if'ed out FTVPCI debug code
from arch/arm/kernel/debug.S as FTVPCI has no current
build candidate.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2498/1: CREDITS - add Ben Dooks
Ben Dooks [Mon, 28 Feb 2005 18:38:04 +0000 (18:38 +0000)]
[ARM PATCH] 2498/1: CREDITS - add Ben Dooks

Patch from Ben Dooks

Add Ben Dooks to the credits file

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2497/1: i.MX pll decode
Sascha Hauer [Mon, 28 Feb 2005 18:31:03 +0000 (18:31 +0000)]
[ARM PATCH] 2497/1: i.MX pll decode

Patch from Sascha Hauer

This patch provided by Pavel Pisa fixes a wrong bitmask in
imx_decode_pll.
Sascha Hauer

Signed-off-by: Pavel Pisa
Signed-off-by: Sascha Hauer
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2496/1: i.MX DMA fix
Sascha Hauer [Mon, 28 Feb 2005 18:24:24 +0000 (18:24 +0000)]
[ARM PATCH] 2496/1: i.MX DMA fix

Patch from Sascha Hauer

This patch fixes the handling of the dma interrupt acknowledge register (DISR).
A DMA interrupt is acknowledged by setting the corresponding bit in
DISR. So we are not allowed to use |= on this register because we could
lose interrupts.
Sascha Hauer

Signed-off-by: Sascha Hauer
Signed-off-by: Russell King
20 years ago[SERIAL] 8250 woraround for buggy uart
Alex Williamson [Mon, 28 Feb 2005 16:09:45 +0000 (16:09 +0000)]
[SERIAL] 8250 woraround for buggy uart

Patch from Alex Williamson

This patch adds support for detecting and working around a bug in
the A2 rev of the Exar ST16C2550 UART.  The chip incorrectly
advertises an EFR and mis-detects as having the wrong size FIFO.
Much of the patch below is Russell's proposed solution to the
problem.  The only changes I've made are to check the FIFO size
on the part (because there is a real part with the same divisor
ID and larger FIFO) and save and restore the LCR register around
the size_fifo() routine (it doesn't work correctly with a LCR
value of 0xBF).

Signed-off-by: Alex Williamson
Signed-off-by: Russell King
20 years ago[PATCH] rrunner: fix section references
Randy Dunlap [Mon, 28 Feb 2005 02:33:43 +0000 (18:33 -0800)]
[PATCH] rrunner: fix section references

rrunner: references __initdata in a __devinit function; data should
  be __devinitdata;

Error: ./drivers/net/rrunner.o .text refers to 00000000000002b2 R_X86_64_32S      .init.data

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Jes Sorensen <jes@wildopensource.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] hp100: fix section references
Randy Dunlap [Mon, 28 Feb 2005 02:33:30 +0000 (18:33 -0800)]
[PATCH] hp100: fix section references

hp100: references __init code that should be marked as __devinit;

Error: ./drivers/net/hp100.o .text refers to 0000000000000f7f R_X86_64_PC32     .init.text+0x00000000000000b8

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] dc395x: fix section references
Randy Dunlap [Mon, 28 Feb 2005 02:33:16 +0000 (18:33 -0800)]
[PATCH] dc395x: fix section references

dc395x scsi driver makes many references to __init functions &
__initdata that should be __devinit & __devinitdata.

Error: ./drivers/scsi/dc395x.o .text refers to 00000000000021ef R_X86_64_PC32     .init.text+0x00000000000000b4
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000220e R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000222e R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000022f4 R_X86_64_PC32     .init.text+0x0000000000000177
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002301 R_X86_64_32S      .init.data
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002307 R_X86_64_32S      .init.data+0x0000000000000004
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000230f R_X86_64_32S      .init.data+0x0000000000000008
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002317 R_X86_64_32S      .init.data+0x000000000000000c
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000231d R_X86_64_32S      .init.data
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000232d R_X86_64_PC32     .init.text+0xfffffffffffffffc
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000237a R_X86_64_PC32     .init.text+0x00000000000000b4
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000238c R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023ac R_X86_64_PC32     .init.text+0x00000000000000b4
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023d6 R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023e6 R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000023fe R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000240b R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002418 R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000242f R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 000000000000243f R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002469 R_X86_64_PC32     .init.text+0x00000000000000b4
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002476 R_X86_64_PC32     .init.text+0x000000000000009c
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002489 R_X86_64_PC32     .init.data+0x0000000000000060
Error: ./drivers/scsi/dc395x.o .text refers to 0000000000002494 R_X86_64_PC32     .init.text+0x0000000000000177
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000024a3 R_X86_64_32S      .init.data+0x0000000000000078
Error: ./drivers/scsi/dc395x.o .text refers to 00000000000024ac R_X86_64_PC32     .init.text+0xfffffffffffffffc

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] isdn: use __init for ICCVersion()
Randy Dunlap [Mon, 28 Feb 2005 02:33:01 +0000 (18:33 -0800)]
[PATCH] isdn: use __init for ICCVersion()

ICCVersion() is only used by init code & can be marked __init;

Error: ./drivers/isdn/hisax/icc.o .text refers to 000000000000014a R_X86_64_32S      .init.data

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sound/oss/opl3as2: fix init section reference
Randy Dunlap [Mon, 28 Feb 2005 02:32:47 +0000 (18:32 -0800)]
[PATCH] sound/oss/opl3as2: fix init section reference

sound/oss/opl3sa2:  calls __init function during probe, which may
be after init for PNP devices;

Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000204 R_X86_64_PC32     .init.text+0xfffffffffffffffc                                                   Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000210 R_X86_64_PC32     .init.text+0xfffffffffffffffc                                                   Error: ./sound/oss/opl3sa2.o .text refers to 000000000000021c R_X86_64_PC32     .init.text+0xfffffffffffffffc

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sonicvibes: fix initdata references
Randy Dunlap [Mon, 28 Feb 2005 02:32:33 +0000 (18:32 -0800)]
[PATCH] sonicvibes: fix initdata references

sonicvibes:  _devinit function was referencing __initdata (2x),
which should be __devinitdata;

Error: ./sound/oss/sonicvibes.o .text refers to 0000000000003ca7 R_X86_64_32S      .init.data+0x0000000000000080                                                Error: ./sound/oss/sonicvibes.o .text refers to 00000000000043eb R_X86_64_32S      .init.data+0x0000000000000024                                                Error: ./sound/oss/sonicvibes.o .text refers to 00000000000043f2 R_X86_64_32S      .init.data+0x0000000000000020

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sound/oss/aedsp16: init/exit section cleanups:
Randy Dunlap [Mon, 28 Feb 2005 02:32:19 +0000 (18:32 -0800)]
[PATCH] sound/oss/aedsp16: init/exit section cleanups:

Exit-only function uninit_aedsp16() was marked __init instead of __exit;
ae_config data was marked __initdata but used during exit;
several cleanup functions were marked _init but used for init or exit
  cleanups;

Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000004 R_X86_64_PC32     .init.data+0x000000000000003b
Error: ./sound/oss/aedsp16.o .exit.text refers to 000000000000000c R_X86_64_PC32     .init.text+0x00000000000001e4
Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000013 R_X86_64_PC32     .init.text+0x0000000000000034
Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000019 R_X86_64_PC32     .init.data+0x000000000000003f
Error: ./sound/oss/aedsp16.o .exit.text refers to 0000000000000023 R_X86_64_PC32     .init.text+0x00000000000001b4

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [PATCH] Fix bounced bio and dm panic
Jens Axboe [Mon, 28 Feb 2005 02:28:19 +0000 (18:28 -0800)]
[PATCH] [PATCH] Fix bounced bio and dm panic

Make sure that a bio doesn't contain NULL pages in the front of its vec,
if a device bounces a bio that doesn't start from 0.

Problem noted by Mark Haverkamp.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Make the new merged pipe writes check for SIGPIPE
Andrea Arcangeli [Mon, 28 Feb 2005 00:36:29 +0000 (16:36 -0800)]
[PATCH] Make the new merged pipe writes check for SIGPIPE

The new pipe buffer merging doesn't check for the "no readers" case, so
with small writes that coalesce, we may not get a timely SIGPIPE/EPIPE
notification to the writer.

Signed-off-by: Andrea Arcangeli <andrea@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMake pipe "poll()" take direction of pipe into account.
Linus Torvalds [Mon, 28 Feb 2005 00:36:14 +0000 (16:36 -0800)]
Make pipe "poll()" take direction of pipe into account.

The pipe code has traditionally not cared about which end-point of the
pipe you are polling, meaning that if you poll the write-only end of a
pipe, it will still set the "this pipe is readable" bits if there is
data to be read on the read side.

That makes no sense, and together with the new bigger buffers breaks
python-twisted.

Based on debugging/patch by Andrea Arcangeli and testcase from
Thomas Crhak

20 years ago[PATCH] srat: initdata section references
Randy Dunlap [Sun, 27 Feb 2005 08:10:07 +0000 (00:10 -0800)]
[PATCH] srat: initdata section references

srat's node_to_pxm() references pxm2node[] after init. so pxm2node[]
should not be __initdata.

Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000008 R_X86_64_32S      .init.data
Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000015 R_X86_64_32S      .init.data

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 27 Feb 2005 07:55:31 +0000 (23:55 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET.
David S. Miller [Sun, 27 Feb 2005 03:15:10 +0000 (19:15 -0800)]
[AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET.

We should report the total bytes in the whole receive
queue, not just the first packet, in these cases.

Reported by Uwe Bonnes.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4]: Fix lost routes in fn_hash netlink dumps.
David S. Miller [Sun, 27 Feb 2005 03:10:03 +0000 (19:10 -0800)]
[IPV4]: Fix lost routes in fn_hash netlink dumps.

Spotted by itkes@fat.imed.msu.ru, the fn_hash_dump_bucket() main
loop does not increment 'i' properly, and thus routes will not
be listed, when the test 'i < s_i' passes.

The bug was added when the code was converted over to
hlist_for_each_entry() by your's truly.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Sun, 27 Feb 2005 02:27:30 +0000 (18:27 -0800)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 26 Feb 2005 08:05:55 +0000 (00:05 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoProperly limit keyboard keycodes to KEY_MAX.
Linus Torvalds [Sat, 26 Feb 2005 02:12:16 +0000 (18:12 -0800)]
Properly limit keyboard keycodes to KEY_MAX.

It can only be set by root, but let's not tempt people to do
things that can't work.

20 years ago[PATCH] more apic.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:03:27 +0000 (18:03 -0800)]
[PATCH] more apic.c

setup_APIC_timer is only called in __init context and uses __initdata

20 years ago[PATCH] __initdata in apic.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:03:13 +0000 (18:03 -0800)]
[PATCH] __initdata in apic.c

wait_timer_tick refers to the __init functions wait_8254_wraparound
or wait_hpet_tick, hence must be __initdata.

20 years ago[PATCH] remove __initdata in scsi_devinfo.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:59 +0000 (18:02 -0800)]
[PATCH] remove __initdata in scsi_devinfo.c

scsi_dev_flags is referred to in
module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0);

20 years ago[PATCH] __init in cfq-iosched.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:45 +0000 (18:02 -0800)]
[PATCH] __init in cfq-iosched.c

cfq_init() calls __init cfq_slab_setup and hence must be __init itself

also made it static

20 years ago[PATCH] __devinitdata in parport_pc
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:30 +0000 (18:02 -0800)]
[PATCH] __devinitdata in parport_pc

parport_init_mode is referred to in int __devinit sio_via_probe().

20 years ago[PATCH] USB: Fix usbfs regression
Aurelien Jarno [Fri, 25 Feb 2005 12:28:59 +0000 (04:28 -0800)]
[PATCH] USB: Fix usbfs regression

I have just tested kernel version 2.6.11-rc5 and noticed it is not
possible to do an USB transfer by submitting an URB to an output
endpoint.  This breaks newest versions of libusb and thus SANE, gphoto2,
and a lot of software.

The bug was introduced in version 2.6.11-rc1 and is due to a wrong
comparison.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoFix possible pty line discipline race.
Linus Torvalds [Fri, 25 Feb 2005 11:39:39 +0000 (03:39 -0800)]
Fix possible pty line discipline race.

This ain't pretty. Real fix under discussion.

20 years ago[PATCH] Fix incorrect __init on 'modedb[]' array
Olaf Hering [Fri, 25 Feb 2005 08:51:25 +0000 (00:51 -0800)]
[PATCH] Fix incorrect __init on 'modedb[]' array

modedb can not be __init because fb_find_mode() (which is not __init)
may get db == NULL.  fb_find_mode() is called from modules.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 25 Feb 2005 08:37:17 +0000 (00:37 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 25 Feb 2005 08:35:58 +0000 (00:35 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM] Fix dma_mmap() size argument.
Russell King [Fri, 25 Feb 2005 19:47:46 +0000 (19:47 +0000)]
[ARM] Fix dma_mmap() size argument.

We were passing the size of the region in pages, where as
remap_pfn_range expected the size in bytes.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
20 years ago[PATCH] binfmt_elf build fix
Andrew Morton [Fri, 25 Feb 2005 06:17:57 +0000 (22:17 -0800)]
[PATCH] binfmt_elf build fix

The cast to void still triggers the gcc "warning: ignoring return value"
warning, which is dumb of it.  So ignore the return value differently.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] USB: fix bug in acm's open function
Greg Kroah-Hartman [Fri, 25 Feb 2005 06:17:43 +0000 (22:17 -0800)]
[PATCH] USB: fix bug in acm's open function

Here's a patch for 2.6.11-rc5 that a lot of cdc-acm driver users are
clamoring for.

There's a bug introduced in a cleanup which will lead to a race making
reopenings fail.  This fix is by Alexander Lykanov.

Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Make keyctl(KEYCTL_JOIN_SESSION_KEYRING) use the correct arg
David Howells [Fri, 25 Feb 2005 06:17:30 +0000 (22:17 -0800)]
[PATCH] Make keyctl(KEYCTL_JOIN_SESSION_KEYRING) use the correct arg

The attached patch makes keyctl() use the correct argument when invoking
the KEYCTL_JOIN_SESSION_KEYRING function.

I'm not sure how this evaded testing before, but I suspect the compiler was
kind and made both argument registers hold the same value.

Thanks to Kevin Coffman <kwc@citi.umich.edu> for spotting this.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: hugepage hash flushing bugfix
David Gibson [Fri, 25 Feb 2005 00:48:33 +0000 (16:48 -0800)]
[PATCH] ppc64: hugepage hash flushing bugfix

This fixes a potentially bad (although very rarely triggered) bug in the
ppc64 hugepage code.

hpte_update() did not correctly calculate the address for hugepages, so
pte_clear() (which we use for hugepage ptes as well as normal ones)
would not correctly flush the hash page table entry.  Under the right
circumstances this could potentially lead to duplicate hash entries,
which is very bad.

davem's upcoming patch to pass the virtual address directly to set_pte()
and its ilk will obsolete this, but this is bad enough it should
probably be fixed in the meantime.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[ide] fix IRQ masking in ide_do_request()
Bartlomiej Zolnierkiewicz [Thu, 24 Feb 2005 13:02:05 +0000 (14:02 +0100)]
[ide] fix IRQ masking in ide_do_request()

Revert to previous way of handling masked_irq argument.
Reported to fix problems with shared PCI IRQs.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] fix build for built-in hpt366 and modular ide-disk
Bartlomiej Zolnierkiewicz [Thu, 24 Feb 2005 12:14:08 +0000 (13:14 +0100)]
[ide] fix build for built-in hpt366 and modular ide-disk

* always call __ide_do_rw_disk() in ide_do_rw_disk()
* modify ide_hwif_t->rw_disk hook accordingly
* update and cleanup hpt372n_rw_disk()
  (the only user of ide_hwif_t->rw_disk hook)
* make __ide_do_rw_disk() static + fix comment

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] make 1-bit fields unsigned
Randy Dunlap [Thu, 24 Feb 2005 12:01:48 +0000 (13:01 +0100)]
[ide] make 1-bit fields unsigned

It's a bit difficult to have a value and a sign bit in a
1-bit field.

Fix (90) boolean/bitfield sparse warnings:
include/linux/ide.h:937:18: warning: dubious one-bit signed bitfield
include/linux/ide.h:939:17: warning: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years agoMerge bk://bk.skbuff.net:20611/linux-2.6-sysctl/
David S. Miller [Wed, 23 Feb 2005 12:02:03 +0000 (04:02 -0800)]
Merge bk://bk.skbuff.net:20611/linux-2.6-sysctl/
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years ago[PKTGEN]: reduce stack usage
Robert Olsson [Wed, 23 Feb 2005 11:59:02 +0000 (03:59 -0800)]
[PKTGEN]: reduce stack usage

From Randy Dunlap

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NETFILTER]: ipt_hashlimit rule load time race condition
Harald Welte [Wed, 23 Feb 2005 11:50:04 +0000 (03:50 -0800)]
[NETFILTER]: ipt_hashlimit rule load time race condition

This is the best we've got: We cannot release and re-grab lock,
since checkentry() is called before ip_tables.c grabs ipt_mutex.
We also cannot grab the hashtable spinlock, since htable_create will
call vmalloc, and that can sleep.  And we cannot just re-search
the list of htable's in htable_create(), since then we would
create duplicate proc files.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKTGEN]: Replace interruptible_sleep_on_timeout()
Robert Olsson [Wed, 23 Feb 2005 11:48:15 +0000 (03:48 -0800)]
[PKTGEN]: Replace interruptible_sleep_on_timeout()

From Nishanth Aravamudan <nacc@us.ibm.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV6]: Unregister per-device snmp6 proc entry earlier.
Hideaki Yoshifuji [Wed, 23 Feb 2005 11:44:58 +0000 (03:44 -0800)]
[IPV6]: Unregister per-device snmp6 proc entry earlier.

Do it in addrconf_ifdown.  This fixes OOPSes on shutdown
with 2.6.10

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NETFILTER]: Prevent NAT from seeing fragments
Patrick McHardy [Wed, 23 Feb 2005 11:38:18 +0000 (03:38 -0800)]
[NETFILTER]: Prevent NAT from seeing fragments

The path for loopback is:
LOCAL_OUT: conntrack defrags
POST_ROUTING: conntrack refrags
PRE_ROUTING: skip conntrack defrag because skb->nfct != NULL
PRE_ROUTING: NAT gets hit by fragments

Always defrag on loopback if NAT is compiled in.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoLinux 2.6.11-rc5 v2.6.11-rc5
Linus Torvalds [Wed, 23 Feb 2005 09:44:08 +0000 (01:44 -0800)]
Linux 2.6.11-rc5

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/r8169
Jeff Garzik [Wed, 23 Feb 2005 13:20:22 +0000 (08:20 -0500)]
Merge pobox.com:/garz/repo/netdev-2.6/r8169
into pobox.com:/garz/repo/net-drivers-2.6

20 years ago[PATCH] r8169: factor out some code.
François Romieu [Wed, 23 Feb 2005 13:19:32 +0000 (08:19 -0500)]
[PATCH] r8169: factor out some code.

Factor out some code

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: IRQ races during change of mtu
François Romieu [Wed, 23 Feb 2005 13:19:19 +0000 (08:19 -0500)]
[PATCH] r8169: IRQ races during change of mtu

IRQ races during change of mtu
- NAPI poll must be enabled prior to IRQ activation or the IRQ handler
  will not know what to do with an incoming packet;
- rtl8169_down() needs to try twice to sync with the IRQ handler when
  it is not issued under !netif_running() protection.

Both changes make it safe to request a change of mtu on a live device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] Fix possible futex mmap_sem deadlock
Olof Johansson [Wed, 23 Feb 2005 05:56:33 +0000 (21:56 -0800)]
[PATCH] Fix possible futex mmap_sem deadlock

Some futex functions do get_user calls while holding mmap_sem for
reading.  If get_user() faults, and another thread happens to be in mmap
(or somewhere else holding waiting on down_write for the same
semaphore), then do_page_fault will deadlock.  Most architectures seem
to be exposed to this.

To avoid it, make sure the page is available.  If not, release the
semaphore, fault it in and retry.

I also found another exposure by inspection, moving some of the code
around avoids the possible deadlock there.

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Wed, 23 Feb 2005 05:36:17 +0000 (21:36 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[libata] Add missing hooks, to avoid oops in advanced SATA drivers
Jeff Garzik [Wed, 23 Feb 2005 09:47:10 +0000 (04:47 -0500)]
[libata] Add missing hooks, to avoid oops in advanced SATA drivers

Advanced SATA drivers should not (and cannot) use the basic
PCI IDE hooks for checking the Status and Error registers, as these
registers are either in non-standard locations, or simply don't
exist.

In the error handling path, libata was unconditionally calling some
PCI IDE hardware bitbanging functions, which would cause an oops
in the AHCI driver and any other advanced libata driver.

20 years agoagp: aper_base is unsigned
Linus Torvalds [Wed, 23 Feb 2005 02:33:11 +0000 (18:33 -0800)]
agp: aper_base is unsigned

Not that anybody cares about the sign, but the signed type does
the wrong thing for right shifts. Which we had.

20 years ago[PATCH] device-mapper: dm-raid1 deadlock fix
Alasdair G. Kergon [Wed, 23 Feb 2005 00:42:01 +0000 (16:42 -0800)]
[PATCH] device-mapper: dm-raid1 deadlock fix

Fix a dm-raid1 deadlock: nested spinlocks with _irq.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
From: Tim Burgess <tim.burgess@anu.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ALPS: do not activate on unsupported models
Dmitry Torokhov [Wed, 23 Feb 2005 00:41:49 +0000 (16:41 -0800)]
[PATCH] ALPS: do not activate on unsupported models

It feels like 2.6.11 is right around the corner.  I would like to disable
ALPS suport for some devices we don't know how to handle properly yet to
cut down on number of complaints that we broke mouse support.

Input: ALPS - do not activate native mode for devices whose data
       we can not handle yet.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix compilation for Maple board
Paul Mackerras [Wed, 23 Feb 2005 00:41:36 +0000 (16:41 -0800)]
[PATCH] ppc64: fix compilation for Maple board

A patch that I sent in earlier to allow the use of the data address
breakpoint on machines with a hypervisor happened to break things for those
configs, such as for the Maple board, where we don't compile in the
routines for calling the hypervisor.  This patch fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()
Benjamin Herrenschmidt [Tue, 22 Feb 2005 23:36:23 +0000 (15:36 -0800)]
[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()

Reworking the ppc32 mm helps me find interesting bugs in the existing bug,
well, brown paper bag for me, I made this one a while ago.

The routine flush_hash_one_pte() used by ptep_test_and_clear_young()
wasn't properly recaclulating the vaddr from the pte pointer &
page->index.  The result is that we probably never flushed things from
the hash, so that's at least the _second_ bug affecting
ptep_test_and_clear_young(), swap on ppc32 must have been really broken
:(

This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 16:19:43 +0000 (11:19 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-2.6

20 years ago[PATCH] r8169: uniformize comments
François Romieu [Tue, 22 Feb 2005 15:44:49 +0000 (10:44 -0500)]
[PATCH] r8169: uniformize comments

Uniformize comments

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: removal of unused #define
François Romieu [Tue, 22 Feb 2005 15:44:37 +0000 (10:44 -0500)]
[PATCH] r8169: removal of unused #define

Removal of unused #define

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: skb alignment nitpicking
François Romieu [Tue, 22 Feb 2005 15:44:25 +0000 (10:44 -0500)]
[PATCH] r8169: skb alignment nitpicking

Nail an overrun in skb alignment and remove the relevant magic variable.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: fix rx skb allocation error logging
François Romieu [Tue, 22 Feb 2005 15:44:13 +0000 (10:44 -0500)]
[PATCH] r8169: fix rx skb allocation error logging

Fix rx skb allocation error logging

Signed arithmetic is not required as rtl8169_rx_fill() return belongs
to the [0; NUM_RX_DESC] interval.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 15:33:13 +0000 (10:33 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/netdev-2.6/r8169

20 years ago[PATCH] NFS: Further fixes for the -onolock case.
Trond Myklebust [Tue, 22 Feb 2005 12:22:00 +0000 (04:22 -0800)]
[PATCH] NFS: Further fixes for the -onolock case.

Duh... GETLK returns F_UNLCK if and only if the lock could be placed.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: kernel mapping breakage
Benjamin Herrenschmidt [Tue, 22 Feb 2005 12:21:46 +0000 (04:21 -0800)]
[PATCH] ppc32: kernel mapping breakage

Christoph Lameter's patch that change page allocators to use GFP_ZERO
broke ppc32 in a subtle way. Our allocator is designed to work before
mem_init_done, in which cases it uses a ppc specific early_get_page()
which doesn't return zeroed pages. However, he removed the call to
clear_page() unconditionally, thus causing the kernel initial page
tables to have random data in them.

They are initialized with set_pte, which means it's _mostly_ harmless,
except that set_pte on ppc32 preserves the _PAGE_HASHPTE bit, thus we
end up with random bits there, which can cause issues with further
manipulation of the kernel page tables and will slow down all hash
faults to them causing unnecessary searches.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix NR_OPEN header order dependency
Tom Rini [Tue, 22 Feb 2005 08:32:48 +0000 (00:32 -0800)]
[PATCH] Fix NR_OPEN header order dependency

Move <linux/limits.h> back up in <linux/fs.h>, to get the right ordering
for the NR_OPEN dual define (ugh).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Re-order <linux/fs.h> includes to fix userland breakage
Tom Rini [Tue, 22 Feb 2005 06:12:49 +0000 (22:12 -0800)]
[PATCH] Re-order <linux/fs.h> includes to fix userland breakage

The following moves all includes <linux/fs.h> (except <linux/ioctl.h>
and <linux/config.h> down to below the existing __KERNEL__ test.  None
of these includes are needed by the user-visible portions of the header,
and in some cases can cause userland apps to break.

For example, LTP and sash with an empty <linux/autoconf.h> will fail
thusly:

  cc -Wall  -I../../include -g -Wall -I../../../../include -Wall    setrlimit02.c -L../../../../lib -lltp  -o setrlimit02
  In file included from /usr/include/asm/atomic.h:6,
                   from /usr/include/linux/fs.h:20,
                   from setrlimit02.c:46:
  /usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
  /usr/include/asm/processor.h:68: error: requested alignment is not a constant

Build/run tested with a glibc rebuild as well.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.
Arnaldo Carvalho de Melo [Tue, 22 Feb 2005 02:48:28 +0000 (18:48 -0800)]
[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.

Various routines were putting a full struct tcp_sock on
the local stack.  What they really wanted was a subset
of this information when doing TCP options processing
when we only have a mini-socket (for example in SYN-RECVD
and TIME_WAIT states).

Therefore pull out the needed information into a sub-struct
and use that in the TCP options processing routines.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y
Mika Kukkonen [Mon, 21 Feb 2005 23:30:32 +0000 (15:30 -0800)]
[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y

Trying to build latest BK-kernel with !CONFIG_PCI and with CONFIG_ISAPNP=y
and CONFIG_PNPBIOS=y I got the following build error:

  LD    vmlinux
drivers/built-in.o(.text+0x5486): In function
'pnpbios_parse_allocated_irqresource':
: undefined reference to 'pcibios_penalize_isa_irq'

Clearly pcibios_penalize_isa_irq() is meant to be called only with
CONFIG_PCI=y.

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Fix 32bit largepage issue
Anton Blanchard [Mon, 21 Feb 2005 23:30:18 +0000 (15:30 -0800)]
[PATCH] ppc64: Fix 32bit largepage issue

The paca holds a shadow of the context struct, used for the real mode SLB
handler.  When we open up a new segment we have to sync up the paca copy
otherwise we will instantiate small page SLB entries until the next context
switch (at which point we resync the paca copy).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] x86_64: resource layout fix
Andrew Morton [Mon, 21 Feb 2005 23:30:04 +0000 (15:30 -0800)]
[PATCH] x86_64: resource layout fix

Greg's tree changes the order of fields in struct reasource, causing x86_64 to
explode nastily.  Fix.

Cc: Greg KH <greg@kroah.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] au1100: fix io_remap_page_range() arg. list
Randy Dunlap [Mon, 21 Feb 2005 23:29:51 +0000 (15:29 -0800)]
[PATCH] au1100: fix io_remap_page_range() arg. list

Fix io_remap_page_range() call to pass a missing arg.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc64 usb build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:37 +0000 (15:29 -0800)]
[PATCH] sparc64 usb build fix

We need asm/irq.h for __irq_itoa() on sparc[64].

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc64 rusage build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:24 +0000 (15:29 -0800)]
[PATCH] sparc64 rusage build fix

Some patch in -mm causes the sparc64 build to explode because `struct rusage'
isn't defined or declared in compat.h.   So forward-declare it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: resource layout fixes
Andrew Morton [Mon, 21 Feb 2005 23:29:10 +0000 (15:29 -0800)]
[PATCH] ppc32: resource layout fixes

Use named initialisers.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha: struct resource fix
Andrew Morton [Mon, 21 Feb 2005 23:28:56 +0000 (15:28 -0800)]
[PATCH] alpha: struct resource fix

Used named initialisers in this declaration before Greg's tree's struct
resource layout changes come in and break it.

(Probably "dma page reg" shouldn't have spaces in the name - be friendly to
/proc/ioports parsers?)

Cc: Richard Henderson <rth@twiddle.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TCP]: Fix BIC max_cwnd calculation error.
Stephen Hemminger [Mon, 21 Feb 2005 08:33:57 +0000 (00:33 -0800)]
[TCP]: Fix BIC max_cwnd calculation error.

The BIC TCP cwnd problem as identified by Yee-Ting Li and Doug Leith
is that the computation is recalc_ssthresh is incorrect and
BICTCP_1_OVER_BETA/2 should be BICTCP_1_OVER_BETA*2.

My fix is to implement the code from BIC TCP 1.1 which uses a sysctl
to set the beta.  There are a few variable name changes from the 1.1
code, and made the scaling factor a #define instead of hardcoded.

I validated this using netem and kprobes, for more details see
http://developer.osdl.org/shemminger/bic-beta-patch.pdf

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] libata kfree fix
Jeff Garzik [Mon, 21 Feb 2005 06:48:18 +0000 (22:48 -0800)]
[PATCH] libata kfree fix

Fixes double-kfree that caused slab corruption.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: fix ptep_test_and_clear_young
Benjamin Herrenschmidt [Mon, 21 Feb 2005 01:37:02 +0000 (17:37 -0800)]
[PATCH] ppc32: fix ptep_test_and_clear_young

ppc32's implementation of ptep_test_and_clear_young() has a logic error
which makes it fail to flush the hash table. Thus PAGE_ACCESSED is
almost never set again after beeing cleared (unless something else cause
that hash entry to be flushed).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] natsemi long cable fix
Gary N. Spiess [Sun, 20 Feb 2005 16:18:44 +0000 (11:18 -0500)]
[PATCH] natsemi long cable fix

This is a minor modification to the previous patch submission that does
not assume the default contents of the DSPCFG register are zero.

When used with Revision D of the DP83815, the "Recommended Registers
Configuration" from page 78 of the DP83815 data sheet is not entirely
compatible with the driver's "short cable patch".  When the DSPCFG
register is written with the value suggested in the document, then
do_cable_magic() can't read the DSP coefficient and determines that all
cables attached to the DP83815D are 'short', regardless of actual
length.  Short cables (< 30m) cause do_cable_magic to enable additional
attenuation to reduce CRC and idle errors.  If the extra attenuation is
unintentionally enabled for long cables (> 50m?), they will not operate
properly.  The National Semiconductor driver, 'dp83815.c' from
http://www.national.com/appinfo/networks/files/linux_2_4.tar.gz was used
as a basis for this modification.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] S2io: Multicast fix
Ravinandan Arakali [Sun, 20 Feb 2005 15:46:04 +0000 (10:46 -0500)]
[PATCH] S2io: Multicast fix

Attached is the patch to address the incorrect programming of
individual multicast address into the NIC.

Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>