]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] swsusp kconfig: Change in wording
Pavel Machek [Wed, 1 Dec 2004 09:08:44 +0000 (01:08 -0800)]
[PATCH] swsusp kconfig: Change in wording

Vadim says:

I was reading through the kernel/power/Kconfig file, and noticed that
the wording was slightly unclear. I poked at it a bit, hopefully making
the description a tad more straightforward, but you be the judge. :)
Diffed against 2.6.10-rc2.

From: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] md: fix jiffies handling in md.c
Neil Brown [Wed, 1 Dec 2004 09:08:30 +0000 (01:08 -0800)]
[PATCH] md: fix jiffies handling in md.c

Use time_after_eq instead of >=

From: Michal Schmidt <xschmi00@stud.feec.vutbr.cz>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] md: fix careless bug in raid10
Neil Brown [Wed, 1 Dec 2004 09:08:17 +0000 (01:08 -0800)]
[PATCH] md: fix careless bug in raid10

raid10 performs resync by reading all blocks, comparing to look for The
requires re-tasking a bio that was used to read, so that it can be re-used
for write.  So a number of fields need to be reset.

The bi_bdev field was not being reset.  However when using on a partition
of a device, it gets changed by generic_make_request.

This patch simply resets bi_bdev to the correct value.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Buffer overrun in arch/x86_64/sys_ia32.c:sys32_ni_syscall()
Jeremy Fitzhardinge [Wed, 1 Dec 2004 09:08:01 +0000 (01:08 -0800)]
[PATCH] Buffer overrun in arch/x86_64/sys_ia32.c:sys32_ni_syscall()

With Chris Wright <chrisw@osdl.org>

struct task_struct.comm is defined to be 16 chars, but
arch/x86_64/sys_ia32.c:sys32_ni_syscall() and sys32_vm86_warning() copy it
into a static 8 byte buffer, which will surely cause problems.  This patch
makes lastcomm[] the right size, and makes sure it can't be overrun.  Since
the code also goes to the effort of getting a local copy of current in "me",
we may as well use it for printing the message.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] MIPS updates
Ralf Bächle [Wed, 1 Dec 2004 09:07:46 +0000 (01:07 -0800)]
[PATCH] MIPS updates

 o General updates of MIPS to 2.6.10-rc2
 o Remove the Baget platform due to lack of maintenance over several years.
   Some of the drivers remain and will be removed in a separate patch.
 o Remove the HP Laserjet platform.  No user reports ever and no patches from
   the original submitters made this port a neat hack - and a directory full
   of clutter.
 o SMP support for the PMC-Sierra.

Signed-Off-By: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 1 Dec 2004 08:45:06 +0000 (00:45 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2283/1: SA1100 USB Config options
Holger Freyther [Wed, 1 Dec 2004 16:23:46 +0000 (16:23 +0000)]
[ARM PATCH] 2283/1: SA1100 USB Config options

Patch from Holger Hans Peter Freyther

arch/arm/mach-sa1100/KConfig had options for USB client. The related code was removed early in 2.6. releases.
I think it is appropriate to remove the Config options for it itself, as they're void.

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[ARM] omap: remove unnecessary linux/device.h include.
Russell King [Wed, 1 Dec 2004 16:17:38 +0000 (16:17 +0000)]
[ARM] omap: remove unnecessary linux/device.h include.

21 years ago[ARM PATCH] 2201/1: OMAP timer 1/2: Clean-up MPU timer
Tony Lindgren [Wed, 1 Dec 2004 15:53:40 +0000 (15:53 +0000)]
[ARM PATCH] 2201/1: OMAP timer 1/2: Clean-up MPU timer

Patch from Tony Lindgren

This patch by Tuukka Tikkanen & me cleans up the OMAP MPU timer
code to allow adding 32KHz timer support. Functionality is the
same as earlier.

Signed-off-by: Tony Lindgren
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2287/1: remove bogus EXPORT_SYMBOL(*)
Nicolas Pitre [Wed, 1 Dec 2004 15:48:51 +0000 (15:48 +0000)]
[ARM PATCH] 2287/1: remove bogus EXPORT_SYMBOL(*)

Patch from Nicolas Pitre

Those functions are marked __init and called from __init context
as well.  They have no business with modules what so ever.

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Wed, 1 Dec 2004 08:42:58 +0000 (00:42 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2288/1: unlink MMC DMA on driver exit
Nicolas Pitre [Wed, 1 Dec 2004 16:32:14 +0000 (16:32 +0000)]
[ARM PATCH] 2288/1: unlink MMC DMA on driver exit

Patch from Nicolas Pitre

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
21 years agoMerge bk://linux-acpi.bkbits.net/26-latest-release
Linus Torvalds [Wed, 1 Dec 2004 08:40:40 +0000 (00:40 -0800)]
Merge bk://linux-acpi.bkbits.net/26-latest-release
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge intel.com:/home/lenb/src/26-stable-dev
Len Brown [Wed, 1 Dec 2004 13:28:14 +0000 (08:28 -0500)]
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev

21 years ago[ACPI] update C-state limiting patch
Len Brown [Wed, 1 Dec 2004 13:25:01 +0000 (08:25 -0500)]
[ACPI] update C-state limiting patch

Now "max_cstate=" instead of "acpi_cstate_limit="
Delete redundant static cstate flags .c2 and .c3

http://bugme.osdl.org/show_bug.cgi?id=3549

   For static processor driver, boot cmdline:
   processor.max_cstate=2

   For processor module, /etc/modprobe.conf:
   options processor max_cstate=2
   or
   # modprobe processor max_cstate=2

   From kernel or kernel module:
   #include <linux/acpi.h>
   acpi_set_cstate_limit(2);

Suggested-by: Pavel Machek
Signed-off-by: Len Brown <len.brown@intel.com>
21 years agoMerge intel.com:/home/lenb/src/26-stable-dev
Len Brown [Wed, 1 Dec 2004 09:01:40 +0000 (04:01 -0500)]
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev

21 years ago[ACPI] disable LAPIC at reboot and poweroff if Linux forced it on
Len Brown [Wed, 1 Dec 2004 08:59:57 +0000 (03:59 -0500)]
[ACPI] disable LAPIC at reboot and poweroff if Linux forced it on
http://bugzilla.kernel.org/show_bug.cgi?id=3643

Signed-off-by: Alexey Y Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Len Brown <len.brown@intel.com>
21 years agoCset exclude: len.brown@intel.com[lenb]|ChangeSet|20041109085620|42985
Len Brown [Wed, 1 Dec 2004 07:40:31 +0000 (02:40 -0500)]
Cset exclude: len.brown@intel.com[lenb]|ChangeSet|20041109085620|42985

21 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.10
Linus Torvalds [Wed, 1 Dec 2004 07:18:02 +0000 (23:18 -0800)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.10
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge intel.com:/home/lenb/bk/26-latest-ref
Len Brown [Tue, 30 Nov 2004 22:04:04 +0000 (17:04 -0500)]
Merge intel.com:/home/lenb/bk/26-latest-ref
into intel.com:/home/lenb/src/26-latest-dev

21 years agoMerge intel.com:/home/lenb/src/26-stable-dev
Len Brown [Tue, 30 Nov 2004 21:01:49 +0000 (16:01 -0500)]
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev

21 years agomerge
Len Brown [Tue, 30 Nov 2004 20:59:02 +0000 (15:59 -0500)]
merge

21 years ago[ACPI] IPMI must supply the address of its GPE handler to install or remove it
Len Brown [Tue, 30 Nov 2004 20:36:30 +0000 (15:36 -0500)]
[ACPI] IPMI must supply the address of its GPE handler to install or remove it

Signed-off-by: Len Brown <len.brown@intel.com>
21 years ago[ACPI] fix reboot on poweroff regression due to enabled wakeup GPEs
Len Brown [Tue, 30 Nov 2004 20:05:10 +0000 (15:05 -0500)]
[ACPI] fix reboot on poweroff regression due to enabled wakeup GPEs
http://bugzilla.kernel.org/show_bug.cgi?id=3669

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
21 years ago[ACPI] fix IRQ assignment regression with CONFIG_PNPACPI=y
Len Brown [Tue, 30 Nov 2004 19:46:34 +0000 (14:46 -0500)]
[ACPI] fix IRQ assignment regression with CONFIG_PNPACPI=y
http://bugzilla.kernel.org/show_bug.cgi?id=3762

Signed-off-by: Len Brown <len.brown@intel.com>
21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 30 Nov 2004 15:11:50 +0000 (07:11 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[GNET_STATS]: kernel-api doc for gnet stats/estimator
Thomas Graf [Tue, 30 Nov 2004 14:02:46 +0000 (06:02 -0800)]
[GNET_STATS]: kernel-api doc for gnet stats/estimator

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[ACPI] platform_rename_gsi() is no longer limited to ACPI specific code,
Len Brown [Tue, 30 Nov 2004 13:39:31 +0000 (08:39 -0500)]
[ACPI] platform_rename_gsi() is no longer limited to ACPI specific code,
so call it ioapic_renumber_irq().

A note to google:
GSI is a Global System Interrupt -- a flat, linear, global IRQ number.

Suggested-by: Linus Torvalds
Signed-off-by: Len Brown <len.brown@intel.com>
21 years ago[UDP]: Select handling of bad checksums.
Stephen Hemminger [Tue, 30 Nov 2004 13:26:12 +0000 (05:26 -0800)]
[UDP]: Select handling of bad checksums.

Alternate workaround for blocking usage of select() by UDP applications.
The problem is Linux optimizes the UDP receive checksum path so that checksum
validation is not performed until the application read. This is a performance win
but can cause applications that do select with blocking file descriptors to get false
positives if the received message has a checksum error.
There is a long running thread about this on LKML.

This patch makes these applications work, but keeps the one-pass performance gain
for those applications smart enough to use non-blocking file descriptors with
select/poll. There is still a possibility to get a false positive if application does
select on non-blocking fd then makes it blocking before doing the receive, but that
is unlikely.

Tested by injecting bad packets with SOCK_RAW.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Tue, 30 Nov 2004 13:16:37 +0000 (05:16 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Tue, 30 Nov 2004 13:15:28 +0000 (05:15 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Tue, 30 Nov 2004 13:12:13 +0000 (05:12 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge intel.com:/home/lenb/src/26-stable-dev
Len Brown [Tue, 30 Nov 2004 12:11:31 +0000 (07:11 -0500)]
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev

21 years agoMerge intel.com:/home/lenb/bk/26-latest-ref
Len Brown [Tue, 30 Nov 2004 08:22:54 +0000 (03:22 -0500)]
Merge intel.com:/home/lenb/bk/26-latest-ref
into intel.com:/home/lenb/src/26-latest-dev

21 years ago[ACPI] fix build errors resulting from auto-merge
Len Brown [Tue, 30 Nov 2004 08:15:50 +0000 (03:15 -0500)]
[ACPI] fix build errors resulting from auto-merge

Signed-off-by: Len Brown <len.brown@intel.com>
21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Tue, 30 Nov 2004 07:42:41 +0000 (23:42 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6

21 years ago[PATCH] W1: check nls in return path.
Evgeniy Polyakov [Tue, 30 Nov 2004 07:23:40 +0000 (23:23 -0800)]
[PATCH] W1: check nls in return path.

Check netlink socket being non NULL in error return path.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Tue, 30 Nov 2004 07:20:36 +0000 (23:20 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/pci-2.6

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Tue, 30 Nov 2004 07:14:45 +0000 (23:14 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

21 years ago[NET]: Missing security_*() check in net/compat.c
Mitchell Blank Jr. [Tue, 30 Nov 2004 05:17:23 +0000 (21:17 -0800)]
[NET]: Missing security_*() check in net/compat.c

While looking at the SCM passing code in net/core/scm.c I noticed that there's
a 32-bit compat implementation of scm_detach_fds()'s called
scm_detach_fds_compat() living in net/compat.c.  While these two functions
are mostly the same the latter does not include the call to the
security_file_receive() hook which is almost certainly a bug.

Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PKTGEN]: Clean error count before each run.
Scott Feldman [Tue, 30 Nov 2004 05:15:36 +0000 (21:15 -0800)]
[PKTGEN]: Clean error count before each run.

Signed-off-by: Scott Feldman <sfeldma@pobox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoUSB: move a internal usbfs only structure out of a public header file.
Greg Kroah-Hartman [Tue, 30 Nov 2004 04:10:16 +0000 (20:10 -0800)]
USB: move a internal usbfs only structure out of a public header file.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoPCI: fix build warning in pci-sysfs.c
Greg Kroah-Hartman [Tue, 30 Nov 2004 03:54:13 +0000 (19:54 -0800)]
PCI: fix build warning in pci-sysfs.c

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[IA64] if idle doesn't halt, it should at least relax
Tony Luck [Tue, 30 Nov 2004 01:07:03 +0000 (17:07 -0800)]
[IA64] if idle doesn't halt, it should at least relax

Asit Mallick pointed out that the ia64 idle loop needs a
"hint @pause" instruction in the cases where we don't
actually halt the cpu.

Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years ago[IA64] Bigsur config: Add CONFIG_SERIAL_8250_ACPI so we can find serial devices
Bjorn Helgaas [Tue, 30 Nov 2004 00:51:09 +0000 (16:51 -0800)]
[IA64] Bigsur config: Add CONFIG_SERIAL_8250_ACPI so we can find serial devices

In the absence of an HCDP, we used to assume there were legacy COM ports
at 0x3f8 and 0x2f8, but I recently removed that assumption.

"console=ttyS0" still works (assuming you have CONFIG_SERIAL_8250_ACPI
turned on so you can find the ttyS0 device), but the console doesn't
start working until the serial driver initializes.  If you need an
early console and you know where it lives, something like
"console=uart,io,0x3f8" will start working very early.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
21 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
Linus Torvalds [Tue, 30 Nov 2004 00:14:59 +0000 (16:14 -0800)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge http://linux-watchdog.bkbits.net/linux-2.6-watchdog-mm
Wim Van Sebroeck [Tue, 30 Nov 2004 10:01:31 +0000 (11:01 +0100)]
Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog-mm
into iguana.be:/home/wim/BitKeeper/projects/linux-2.6-watchdog

21 years ago[PATCH] cfq-iosched: kill show_status sysfs entry
Jens Axboe [Tue, 30 Nov 2004 00:12:38 +0000 (16:12 -0800)]
[PATCH] cfq-iosched: kill show_status sysfs entry

This is a debug entry that isn't of much use to the generic user or on a
production system. Additionally it can also easy overflow the sysfs
PAGE_SIZE limitation, if you have many processes doing io. So kill the
entry.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 29 Nov 2004 12:46:03 +0000 (04:46 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Remove Futex Warning
Rusty Russell [Mon, 29 Nov 2004 12:24:39 +0000 (04:24 -0800)]
[PATCH] Remove Futex Warning

If we're waiting on a futex and we are woken up, it's either because
someone did FUTEX_WAKE, we timed out, or have been signalled.  However, the
WARN_ON(!signal_pending(current)) test is overzealous: with threads (a
common use of futexes), we share the signal handler and the other
thread might get to the signal before us.  In addition, exit_notify()
can do a recalc_sigpending_tsk() on us, which will then clear our
TIF_SIGPENDING bit, making signal_pending(current) return false.

Returning EINTR is a little strange in this case, since this thread
hasn't handled a signal.  However, with threads it's the best we can
do: there's always a race where another thread could have been the
actual one to handle the signal.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[NET]: Fix inline keyword usage in skbuff.c
Jesper Juhl [Mon, 29 Nov 2004 11:45:22 +0000 (03:45 -0800)]
[NET]: Fix inline keyword usage in skbuff.c

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[DECNET]: Typo in accept causes OOPS.
Patrick Caulfield [Mon, 29 Nov 2004 11:32:57 +0000 (03:32 -0800)]
[DECNET]: Typo in accept causes OOPS.

Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[IPV6]: Fix races in ip6_route_{input,output}()
Hideaki Yoshifuji [Mon, 29 Nov 2004 11:25:06 +0000 (03:25 -0800)]
[IPV6]: Fix races in ip6_route_{input,output}()

We need to hold refcnt before releasing rt6_lock.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[IPV4]: Use schedule_timeout() instead of jiffies polling in ipconfig.
Magnus Damm [Mon, 29 Nov 2004 11:10:22 +0000 (03:10 -0800)]
[IPV4]: Use schedule_timeout() instead of jiffies polling in ipconfig.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoMerge bk://bk.skbuff.net:20610/linux-2.6-inet6/
David S. Miller [Mon, 29 Nov 2004 10:54:40 +0000 (02:54 -0800)]
Merge bk://bk.skbuff.net:20610/linux-2.6-inet6/
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PATCH] USB touchkitusb: module_param to swap axes
Daniel Ritz [Mon, 29 Nov 2004 08:10:39 +0000 (00:10 -0800)]
[PATCH] USB touchkitusb: module_param to swap axes

add a module parameter to swap the axes. many displays need this...

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoUSB: minor Makefile fix.
Greg Kroah-Hartman [Mon, 29 Nov 2004 08:09:20 +0000 (00:09 -0800)]
USB: minor Makefile fix.

This fixes http://bugme.osdl.org/show_bug.cgi?id=3813

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 29 Nov 2004 07:52:14 +0000 (23:52 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2285/1: S3C2410 - regs-sdi.h fixes
Ben Dooks [Mon, 29 Nov 2004 15:23:14 +0000 (15:23 +0000)]
[ARM PATCH] 2285/1: S3C2410 - regs-sdi.h fixes

Patch from Ben Dooks

Fixes from Koen Martens to update the
register definitions for the MMC/SD/SDIO interface,
tidied up for release with extra notes on what has
been depreceated in later silicon.

Signed-off-by: Koen Martens
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2284/1: S3C2410 - core device registration update
Ben Dooks [Mon, 29 Nov 2004 15:17:44 +0000 (15:17 +0000)]
[ARM PATCH] 2284/1: S3C2410 - core device registration update

Patch from Ben Dooks

If one of the devices fails to register, do not
remove any registered devices and continue registering
in case any more devices register.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
21 years ago[ARM] ARMv6 always selects correct user operations at runtime.
Russell King [Mon, 29 Nov 2004 15:12:19 +0000 (15:12 +0000)]
[ARM] ARMv6 always selects correct user operations at runtime.

21 years ago[PATCH] I2C: macintoch/therm_* drivers cleanups
Jean Delvare [Mon, 29 Nov 2004 07:42:04 +0000 (23:42 -0800)]
[PATCH] I2C: macintoch/therm_* drivers cleanups

This patch cleans the macintoch/therm_* drivers a bit. It removes
useless IDs, cleans names (no white space), some coding style fixes as
well, etc. It's exactly the same as what I posted yesterday as a
candidate fix to bug #3823:
http://bugzilla.kernel.org/show_bug.cgi?id=3823

Although it isn't the proper fix for that bug, as you underlined, this
still sounds like a sane set of cleanups for these drivers.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] I2C: Add support for the nForce2 Ultra 400 to i2c-nforce2
Jean Delvare [Mon, 29 Nov 2004 07:41:38 +0000 (23:41 -0800)]
[PATCH] I2C: Add support for the nForce2 Ultra 400 to i2c-nforce2

This simple patch adds support for the nForce2 Ultra 400 to i2c-nforce2.
I just made a similar update on the 2.4/CVS version of the driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] i2c-ite: get rid of cli()/sti()
Aristeu Sergio Rozanski Filho [Mon, 29 Nov 2004 07:07:15 +0000 (23:07 -0800)]
[PATCH] i2c-ite: get rid of cli()/sti()

I found only this one. Next time I'll try to make better grep
expressions :^)

[I2C] i2c-ite: get rid of cli()/sti()

Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] Change MCA maintainer
James Bottomley [Mon, 29 Nov 2004 05:40:00 +0000 (21:40 -0800)]
[PATCH] Change MCA maintainer

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] video: semicolon bug in atyfb_base.c
Domen Puncer [Mon, 29 Nov 2004 05:39:47 +0000 (21:39 -0800)]
[PATCH] video: semicolon bug in atyfb_base.c

Indentiation and logic suggest this was wrong.

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cciss: Off-by-one error causing oops in CCISS_GETLUNIFO ioctl
Andrew Patterson [Mon, 29 Nov 2004 05:39:34 +0000 (21:39 -0800)]
[PATCH] cciss: Off-by-one error causing oops in CCISS_GETLUNIFO ioctl

This patch fixes an an "off-by-one" error found in the CCISS_GETLUNIFO
ioctl in the cciss driver.  It is cycling through the part table of the
gendisk structure which is a zero-based array, not a one-based array.  This
often causes an oops when referencing the out-of-bounds element.

Signed-off by: Andrew Patterson <andrew.patterson@hp.com>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fbdev: Fix crash if fb_set_var() called before register_framebuffer()
Antonino Daplas [Mon, 29 Nov 2004 05:39:21 +0000 (21:39 -0800)]
[PATCH] fbdev: Fix crash if fb_set_var() called before register_framebuffer()

The field info->modelist is initialized during register_framebuffer.  This
field is also referred to in fb_set_var().  Thus a call to fb_set_var()
before register_framebuffer() will cause a crash.  A few drivers do this,
notably controlfb.  (This might fix reports of controlfb crashing in
powermacs).

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: Fix lost edge triggered irqs on UP kernel
Andi Kleen [Mon, 29 Nov 2004 05:39:09 +0000 (21:39 -0800)]
[PATCH] x86_64: Fix lost edge triggered irqs on UP kernel

Patch from Petr Vandrovec <vandrove@vc.cvut.cz>

Recently I've observed problems with IDE disks while running UP kernel on
x86-64 - it complained a lot about lost irq from hda/hdc.  I tracked
problem down to the problem that at enable_irq() code calls
hw_resend_irq(), but on x86-64 hw_resend_irq() does something useful only
when CONFIG_SMP is defined, on UP systems it does nothing.

Due to this IRQ is lost - and when IDE retries command, it can again happen
that IRQ is delivered before IDE code does enable_irq(), and again and
again, unless due to drive being lazy finally once kernel does enable_irq()
before drive prepares its answer, and things move forward ...  to next lost
IRQ.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] v4l: fix permissions on module parameters exported via sysfs
Dmitry Torokhov [Mon, 29 Nov 2004 05:38:56 +0000 (21:38 -0800)]
[PATCH] v4l: fix permissions on module parameters exported via sysfs

Fix permissions on module parameters exported via sysfs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] RLIMIT_MEMLOCK accounting of shmctl() SHM_LOCK is broken
Michael Kerrisk [Mon, 29 Nov 2004 05:38:43 +0000 (21:38 -0800)]
[PATCH] RLIMIT_MEMLOCK accounting of shmctl() SHM_LOCK is broken

The accounting of shmctl() SHM_LOCK memory locks against the user
structure is broken.  The check of the size of the to-be-locked region
is based on the size of the segment as specified when it was created by
shmget() (this size is *not* rounded up to a page boundary).

Fix it by rounding the size properlt.  Also, tune up the spinlock
coverage in there a little.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] e100 deadlock fix
Andrew Morton [Mon, 29 Nov 2004 05:38:30 +0000 (21:38 -0800)]
[PATCH] e100 deadlock fix

Revert my version of this fix and apply Scott's version, which was acked by
the e100 maintainers.

Also, initialise the spinlocks before calling e100_hw_reset(), so things don't
instantly deadlock on SMP.

Signed-off-by: Scott Feldman <sfeldma@pobox.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] USB: fix oops in io_edgeport.c driver
Greg Kroah-Hartman [Mon, 29 Nov 2004 03:42:17 +0000 (19:42 -0800)]
[PATCH] USB: fix oops in io_edgeport.c driver

This fixes https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=128916

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] PCI: Disable mmconfig on AMD CPUs.
Andi Kleen [Mon, 29 Nov 2004 03:13:49 +0000 (19:13 -0800)]
[PATCH] PCI: Disable mmconfig on AMD CPUs.

Disable mmconfig on AMD CPUs.

This patch fixes various problems on PCI Express boards, like the
Nforce4. They have a MCFG table in ACPI, but not all devices can be
accessed using MMCONFIG.  e.g. the CPU builtin PCI devices in the A64
Northbridge can't.  Linux happily uses mmconfig for all PCI devices and
that cause failures and memory corruption.

Right solution apparently is to get more information from MCFG which is
supposed to tell for which busses mmconfig is legal and for which ones
not. But that would be a much more complicated patch and I don't have
a specification of this enhanced table.

This patch just disable MMCONFIG on all AMD CPUs. This is a kludge,
but works around the problem for now.

Patch for both i386 and x86-64

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] PCI: Add sysfs file to map PCI busses to cpus
Andi Kleen [Mon, 29 Nov 2004 03:12:54 +0000 (19:12 -0800)]
[PATCH] PCI: Add sysfs file to map PCI busses to cpus

Add sysfs file to map PCI busses to cpus

Export the information from pcibus_to_cpumask() to sysfs. This
is useful for some user space programs who want to optimize their IO
using O_DIRECT.

There was some indecision on whether it's more useful to report
cpus or nodes here. In the end cpus was chosen because that is
what the existing macros report.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] usb-storage should enable scsi disk in Kconfig
Randy Dunlap [Mon, 29 Nov 2004 02:42:14 +0000 (18:42 -0800)]
[PATCH] usb-storage should enable scsi disk in Kconfig

Add comment/NOTE that USB_STORAGE probably needs BLK_DEV_SD also.
Add a few device types to help text and reformat it.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] usb_unlink_urb: ratelimit warning
Stephen Hemminger [Mon, 29 Nov 2004 02:41:15 +0000 (18:41 -0800)]
[PATCH] usb_unlink_urb: ratelimit warning

The warning about using unlink_urb needs to be rate limited, because
if a driver is still doing it will overrun the system logs.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] fix unnecessary increment in firmware_class_hotplug() and USB core
Marcel Holtmann [Mon, 29 Nov 2004 02:40:36 +0000 (18:40 -0800)]
[PATCH] fix unnecessary increment in firmware_class_hotplug() and USB core

>   This patch is to fix unnecessary increment of 'i' used to
> specify an element of an arry 'envp[]' in firmware_class_hotplug().
> The 'i' is already incremented in add_hotplug_env_var(), actually.

you are right. The incrementation is wrong, but it doesn't have any
negative effect. However the same applies for the usb_hotplug() function
in drivers/usb/core/usb.c.

Signed-off-by: Keiichiro Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] USB Storage: Add unusual_devs entry for another yakumo camera
Phil Dibowitz [Mon, 29 Nov 2004 02:40:01 +0000 (18:40 -0800)]
[PATCH] USB Storage: Add unusual_devs entry for another yakumo camera

This adds an unusual devs entry for another Yakumo camera - it suffers
from the residue problem.

Originally reported by Michele Alzetta <michele.alzetta@aliceposta.it>.

Greg, please apply.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Sun, 28 Nov 2004 07:21:03 +0000 (23:21 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 28 Nov 2004 07:18:40 +0000 (23:18 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 28 Nov 2004 07:14:25 +0000 (23:14 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2280/1: [PATCH] SIMpad: Change maintainer to me
Holger Freyther [Sun, 28 Nov 2004 16:07:53 +0000 (16:07 +0000)]
[ARM PATCH] 2280/1: [PATCH] SIMpad: Change maintainer to me

Patch from Holger Hans Peter Freyther

Line numbers could depend on 2279/1

Change the maintainer of the SIMpad board to me. This change was discussed on the simpad linux mailinglist and was supported by the former maintainer of SIMpad. I'll subscribe and introduce myself shortly on the arm linux mailinglist and ask for SIMpad not to be removed.

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2279/1: [PATCH] SIMpad: Add a mq200 device to the platform bus
Holger Freyther [Sun, 28 Nov 2004 16:02:29 +0000 (16:02 +0000)]
[ARM PATCH] 2279/1: [PATCH] SIMpad: Add a mq200 device to the platform bus

Patch from Holger Hans Peter Freyther

The SIMpad uses the MediaQ 200 framebuffer device. There is no driver in the vanilla kernel for that device. But adding the device to the platform bus makes it possible to just drop the mq200 driver into the kernel and the display will work.
Please consider applying the patch.

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2278/1: [PATCH] SIMpad: add a default config
Holger Freyther [Sun, 28 Nov 2004 15:55:05 +0000 (15:55 +0000)]
[ARM PATCH] 2278/1: [PATCH] SIMpad: add a default config

Patch from Holger Hans Peter Freyther

Add a default config file for simpad

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2277/1: [PATCH] SIMpad: fix warnings emitted by the compiler
Holger Freyther [Sun, 28 Nov 2004 15:42:35 +0000 (15:42 +0000)]
[ARM PATCH] 2277/1: [PATCH] SIMpad: fix warnings emitted by the compiler

Patch from Holger Hans Peter Freyther

Fix warnings emitted by the compiler for
leds-simpad.c and sa1100_simpad.c

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2276/1: [PATCH] SIMpad: make simpad.c compile
Holger Freyther [Sun, 28 Nov 2004 15:37:02 +0000 (15:37 +0000)]
[ARM PATCH] 2276/1: [PATCH] SIMpad: make simpad.c compile

Patch from Holger Hans Peter Freyther

Fix compile of simpad.c ....

Signed-off-by: Holger Hans Peter Freyther
Signed-off-by: Russell King
21 years ago[PATCH] iomem annotations and fixes + isa_-ectomy in msnd
Alexander Viro [Sun, 28 Nov 2004 07:08:13 +0000 (23:08 -0800)]
[PATCH] iomem annotations and fixes + isa_-ectomy in msnd

 * switched to ioremap() + normal operations
 * split msnd_fifo_write() (and msnd_fifo_read()) into iomem and normal
   versions (original was even worse - it used to do __user and __iomem
   versions in the same code and in atomic context; when that bogosity
   got fixed, the difference between these cases (now normal memory and
   iomem) had been lost).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] misc drivers/atm iomem annotations and NULL noise removal
Alexander Viro [Sun, 28 Nov 2004 07:08:00 +0000 (23:08 -0800)]
[PATCH] misc drivers/atm iomem annotations and NULL noise removal

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] swim3 __user annotation
Alexander Viro [Sun, 28 Nov 2004 07:07:47 +0000 (23:07 -0800)]
[PATCH] swim3 __user annotation

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] wd7000 iomem annotations and fixes
Alexander Viro [Sun, 28 Nov 2004 07:07:35 +0000 (23:07 -0800)]
[PATCH] wd7000 iomem annotations and fixes

direct dereferencing of iomem pointer (by memcmp())

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] seagate iomem annotations, cleanup and isa_-ectomy
Alexander Viro [Sun, 28 Nov 2004 07:07:22 +0000 (23:07 -0800)]
[PATCH] seagate iomem annotations, cleanup and isa_-ectomy

 * switched to ioremap()
 * switched to normal iomem operations
 * killed a bunch of phys_to_virt()
 * killed open-coded (and inferior) instances of memcpy_toio()/memcpy_fromio().
 * fixed a dumb typo introduced in "kill off isa_check_signature()"
   patch (sorry - missed the fact that it was not covered by
   allmodconfig and didn't verify until after sending the patch in
   question ;-/).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dtc iomem annotations and isa_-ectomy
Alexander Viro [Sun, 28 Nov 2004 07:07:09 +0000 (23:07 -0800)]
[PATCH] dtc iomem annotations and isa_-ectomy

switched to ioremap() + normal iomem operations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] t128 iomem annotations and isa_-ectomy
Alexander Viro [Sun, 28 Nov 2004 07:06:56 +0000 (23:06 -0800)]
[PATCH] t128 iomem annotations and isa_-ectomy

switched to ioremap() + normal iomem primitives.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[ARM PATCH] 2271/3: MMC for Mainstone/PXA27x
Nicolas Pitre [Sat, 27 Nov 2004 16:43:06 +0000 (16:43 +0000)]
[ARM PATCH] 2271/3: MMC for Mainstone/PXA27x

Patch from Nicolas Pitre

... with a bit of reorg to make the core code a bit more generic too.

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
21 years ago[ARM] icside: ensure interfaces are probed and correctly setup.
Russell King [Sat, 27 Nov 2004 16:20:47 +0000 (16:20 +0000)]
[ARM] icside: ensure interfaces are probed and correctly setup.

21 years ago[ARM PATCH] 2275/1: S3C2410 - serial rx fifo full check
Ben Dooks [Sat, 27 Nov 2004 15:56:59 +0000 (15:56 +0000)]
[ARM PATCH] 2275/1: S3C2410 - serial rx fifo full check

Patch from Ben Dooks

Check for the serial rx fifo full before checking
for the fifo size.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
21 years ago[PATCH] isa_check_signature() finally gone
Alexander Viro [Sat, 27 Nov 2004 13:58:05 +0000 (05:58 -0800)]
[PATCH] isa_check_signature() finally gone

last callers of isa_check_signature() switched to ioremap() +
check_signature()

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] misc iomem annotations
Alexander Viro [Sat, 27 Nov 2004 13:57:51 +0000 (05:57 -0800)]
[PATCH] misc iomem annotations

Each chunk is independent from the rest, so it could've been split
further, but IMO there's no point.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mtd/maps trivial annotations
Alexander Viro [Sat, 27 Nov 2004 13:57:39 +0000 (05:57 -0800)]
[PATCH] mtd/maps trivial annotations

NULL noise removal, missing __iomem in a couple of declarations, removal
of bogus cast to void * in iounmap() calls.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>