]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] sparse: trivial part of drivers/scsi/* annotation
Alexander Viro [Sat, 29 May 2004 09:16:34 +0000 (02:16 -0700)]
[PATCH] sparse: trivial part of drivers/scsi/* annotation

21 years ago[PATCH] sparse: cdrom_generic_command split into kernel/user
Alexander Viro [Sat, 29 May 2004 09:16:22 +0000 (02:16 -0700)]
[PATCH] sparse: cdrom_generic_command split into kernel/user

The kernel instance (packet_command) has kernel pointers, userland one -
__user ones. Surprise.

21 years ago[PATCH] more sparse checking of do_utimes()
Alexander Viro [Sat, 29 May 2004 07:33:30 +0000 (00:33 -0700)]
[PATCH] more sparse checking of do_utimes()

Speaking of conflicts...  Here's another half of a do_utimes() patch,
same story as on ppc64:

21 years agoAdd __user pointer annotations to ppc64 code
Linus Torvalds [Sat, 29 May 2004 07:32:11 +0000 (00:32 -0700)]
Add __user pointer annotations to ppc64 code

21 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sat, 29 May 2004 06:39:07 +0000 (23:39 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Sat, 29 May 2004 06:37:49 +0000 (23:37 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoadb.c needs <linux/devfs_fs_kernel.h>
Linus Torvalds [Sat, 29 May 2004 06:33:01 +0000 (23:33 -0700)]
adb.c needs <linux/devfs_fs_kernel.h>

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 29 May 2004 06:26:05 +0000 (23:26 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sat, 29 May 2004 06:25:16 +0000 (23:25 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Missed RTC_IRQ patchlet
Alexander Viro [Sat, 29 May 2004 06:18:42 +0000 (23:18 -0700)]
[PATCH] Missed RTC_IRQ patchlet

oh, hell - I missed this one when carving the thing out of big patch ;-/

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 29 May 2004 06:13:58 +0000 (23:13 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years ago[PATCH] typo in OSS sparse __user annotations
Adam Kropelin [Sat, 29 May 2004 06:12:44 +0000 (23:12 -0700)]
[PATCH] typo in OSS sparse __user annotations

Fix a missing initialization in the sparse __user annotation work for OSS.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoAdd __user pointer annotations to fs/compat.c
Linus Torvalds [Sat, 29 May 2004 06:11:39 +0000 (23:11 -0700)]
Add __user pointer annotations to fs/compat.c

21 years ago[NET]: Do net_todo_list empty check under semaphore.
David S. Miller [Sat, 29 May 2004 06:10:54 +0000 (23:10 -0700)]
[NET]: Do net_todo_list empty check under semaphore.

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 29 May 2004 06:07:59 +0000 (23:07 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Sat, 29 May 2004 05:56:15 +0000 (22:56 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years agoAdd __user pointer annotations to arch/ppc64/kernel/sys_ppc32.c
Linus Torvalds [Sat, 29 May 2004 05:53:47 +0000 (22:53 -0700)]
Add __user pointer annotations to arch/ppc64/kernel/sys_ppc32.c

This also fixes a terminally broken sys32_utimes() implementation.

21 years agoFix sparse complaint about badly typed constant
Linus Torvalds [Sat, 29 May 2004 05:52:33 +0000 (22:52 -0700)]
Fix sparse complaint about badly typed constant

21 years ago[IPSEC]: Fix ref counting in __xfrmN_bundle_create().
Herbert Xu [Sat, 29 May 2004 05:46:04 +0000 (22:46 -0700)]
[IPSEC]: Fix ref counting in __xfrmN_bundle_create().

21 years ago[NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured.
Stephen Hemminger [Sat, 29 May 2004 05:41:48 +0000 (22:41 -0700)]
[NET]: Simplify netdev_sysfs_xxx if SYSFS is not configured.

Don't need all the network sysfs code if CONFIG_SYSFS is not enabled.
Also:
* netdev_sysfs_unregister is declaration mismatch
* if netdev_sysfs_register fails print a warning.
  Need to still mark it as registered so the unregister_netdevice works,
  but we will probably end up leaking memory in that case.

21 years ago[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().
Patrick McHardy [Sat, 29 May 2004 05:40:34 +0000 (22:40 -0700)]
[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().

21 years ago[IPV4]: Fix skb leak in igmpv3_newpack.
Patrick McHardy [Sat, 29 May 2004 05:39:03 +0000 (22:39 -0700)]
[IPV4]: Fix skb leak in igmpv3_newpack.

21 years ago[IPV4,6]: Fix off-by-one in max protocol-type check
Patrick McHardy [Sat, 29 May 2004 05:38:17 +0000 (22:38 -0700)]
[IPV4,6]: Fix off-by-one in max protocol-type check

21 years ago[IPV6]: Fix memory leak in ah6.c
Patrick McHardy [Sat, 29 May 2004 05:37:22 +0000 (22:37 -0700)]
[IPV6]: Fix memory leak in ah6.c

21 years ago[NET]: Prevent future missed updates of FOO_MAX macros.
Hideaki Yoshifuji [Sat, 29 May 2004 05:35:45 +0000 (22:35 -0700)]
[NET]: Prevent future missed updates of FOO_MAX macros.

21 years ago[AF_KEY]: Set family for state selector.
Herbert Xu [Sat, 29 May 2004 05:34:25 +0000 (22:34 -0700)]
[AF_KEY]: Set family for state selector.

As the comment in the code suggests, nobody really uses this so nobody
will notice the difference :) Still, let's make it correct while we're
at it.

21 years ago[SPARC64]: compat select and futex need %o4 zero-extended.
David S. Miller [Sat, 29 May 2004 05:27:54 +0000 (22:27 -0700)]
[SPARC64]: compat select and futex need %o4 zero-extended.

21 years agoAdd __user annotations to arch/ppc64/kernel/process.c
Linus Torvalds [Sat, 29 May 2004 05:19:56 +0000 (22:19 -0700)]
Add __user annotations to arch/ppc64/kernel/process.c

21 years agoAdd __user annotations to arch/ppc64/kernel/syscalls.c
Linus Torvalds [Sat, 29 May 2004 05:17:40 +0000 (22:17 -0700)]
Add __user annotations to arch/ppc64/kernel/syscalls.c

21 years ago[TCP]: More sysctl tweakings for rcvbuf stuff.
David S. Miller [Sat, 29 May 2004 05:06:39 +0000 (22:06 -0700)]
[TCP]: More sysctl tweakings for rcvbuf stuff.

1) Add sysctl to control rcvbuf moderation, off for now.
2) Set default winscale to zero.

21 years agoAdd __user annotations to ppc64 signal.c
Linus Torvalds [Sat, 29 May 2004 05:00:58 +0000 (22:00 -0700)]
Add __user annotations to ppc64 signal.c

21 years ago[PATCH] sparse: trivial part of kernel/* __user annotation
Alexander Viro [Sat, 29 May 2004 04:15:01 +0000 (21:15 -0700)]
[PATCH] sparse: trivial part of kernel/* __user annotation

21 years ago[PATCH] sparse: partial mm/* __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:50 +0000 (21:14 -0700)]
[PATCH] sparse: partial mm/* __user annotation

21 years ago[PATCH] sparse: rtc.c __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:39 +0000 (21:14 -0700)]
[PATCH] sparse: rtc.c __user annotation

Also replacement of #if RTC_IRQ with #ifdef, moved inlined function in
front of all uses.

21 years ago[PATCH] sparse: trivial part of drivers/ide __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:28 +0000 (21:14 -0700)]
[PATCH] sparse: trivial part of drivers/ide __user annotation

21 years ago[PATCH] sparse: ide-proc.c fixes
Alexander Viro [Sat, 29 May 2004 04:14:17 +0000 (21:14 -0700)]
[PATCH] sparse: ide-proc.c fixes

Fixed dereferencing userland pointers, general idiocy in parsing.

21 years ago[PATCH] sparse: OSS __user annotation
Alexander Viro [Sat, 29 May 2004 04:14:06 +0000 (21:14 -0700)]
[PATCH] sparse: OSS __user annotation

caddr_t is gone (most of the instances were void __user * in disguise,
the rest - void *)

Fixed b0rken ioctls in mpu401 and pss - they used to dereference
userland pointers with no checks.

21 years ago[PATCH] sparse: partial serial_core.c __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:54 +0000 (21:13 -0700)]
[PATCH] sparse: partial serial_core.c __user annotation

21 years ago[PATCH] sparse: drivers/pci __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:42 +0000 (21:13 -0700)]
[PATCH] sparse: drivers/pci __user annotation

21 years ago[PATCH] sparse: partial drivers/input __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:32 +0000 (21:13 -0700)]
[PATCH] sparse: partial drivers/input __user annotation

21 years ago[PATCH] sparse: trivial part of drivers/block __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:21 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/block __user annotation

21 years ago[PATCH] sparse: trivial part of drivers/char __user annotation
Alexander Viro [Sat, 29 May 2004 04:13:10 +0000 (21:13 -0700)]
[PATCH] sparse: trivial part of drivers/char __user annotation

21 years ago[PATCH] sparse: acpi __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:58 +0000 (21:12 -0700)]
[PATCH] sparse: acpi __user annotation

21 years ago[PATCH] sparse: ipc __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:47 +0000 (21:12 -0700)]
[PATCH] sparse: ipc __user annotation

21 years ago[PATCH] sparse: ext2 __user annotation (ioctl)
Alexander Viro [Sat, 29 May 2004 04:12:36 +0000 (21:12 -0700)]
[PATCH] sparse: ext2 __user annotation (ioctl)

21 years ago[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)
Alexander Viro [Sat, 29 May 2004 04:12:25 +0000 (21:12 -0700)]
[PATCH] sparse: nfs __user annotation (client only, and not touching RPC)

21 years ago[PATCH] sparse: parport __user annotation (sysctls)
Alexander Viro [Sat, 29 May 2004 04:12:14 +0000 (21:12 -0700)]
[PATCH] sparse: parport __user annotation (sysctls)

21 years ago[PATCH] sparse: oprofile __user annotation
Alexander Viro [Sat, 29 May 2004 04:12:03 +0000 (21:12 -0700)]
[PATCH] sparse: oprofile __user annotation

21 years ago[PATCH] nfsd: missing dget()
Andrew Morton [Sat, 29 May 2004 03:59:39 +0000 (20:59 -0700)]
[PATCH] nfsd: missing dget()

From: Neil Brown <neilb@cse.unsw.edu.au>

The recentish change to fh_compose not consuming a reference to the passed
dentries missed this needed dget.

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] vt_ioctl() comment fix
Andrew Morton [Sat, 29 May 2004 03:59:28 +0000 (20:59 -0700)]
[PATCH] vt_ioctl() comment fix

From: <Andries.Brouwer@cwi.nl>

The "Probably init should be changed" happened almost ten years ago.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:18 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: Robert Love <rml@ximian.com>

Update Robert's email address

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] CREDITS file update
Andrew Morton [Sat, 29 May 2004 03:59:07 +0000 (20:59 -0700)]
[PATCH] CREDITS file update

From: <Valdis.Kletnieks@vt.edu>

Thomas Dunbar used to be working in one of the Dean's offices here.  He's
now down the hall from me (and has been for several years, actually).  So
let's fix the crufty pointers.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.
Andrew Morton [Sat, 29 May 2004 03:58:56 +0000 (20:58 -0700)]
[PATCH] fs/dcache.c: avoid race when updating nr_unused count of unused dentries.

From: NeilBrown <neilb@cse.unsw.edu.au>

d_count == 1 is no guarantee that dentry is on the dentry_unused list, even
if it has just been incremented inside dcache_lock, as dput can decrement
at any time.

This test from Greg Banks is much safer, and is more transparently correct.

Cc: Maneesh Soni <maneesh@in.ibm.com>, Dipankar Sarma <dipankar@in.ibm.com>
From: Greg Banks <gnb@melbourne.sgi.com>
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] epoll events send fix
Andrew Morton [Sat, 29 May 2004 03:58:46 +0000 (20:58 -0700)]
[PATCH] epoll events send fix

From: Davide Libenzi <davidel@xmailserver.org>

We're now sending epi->event.events while it should be sending
epi->revents.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ADT746X MAINTAINERS update
Andrew Morton [Sat, 29 May 2004 03:58:35 +0000 (20:58 -0700)]
[PATCH] ADT746X MAINTAINERS update

From: Colin Leroy <colin@colino.net>

I'm maintaining this driver i wrote :)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix unchecked return value in register_disk()
Andrew Morton [Sat, 29 May 2004 03:58:24 +0000 (20:58 -0700)]
[PATCH] fix unchecked return value in register_disk()

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] asm-i386/timer.h docu cleanup
Andrew Morton [Sat, 29 May 2004 03:58:13 +0000 (20:58 -0700)]
[PATCH] asm-i386/timer.h docu cleanup

From: Adam Lackorzynski <adam@os.inf.tu-dresden.de>

This patch fixes a typo (intruupt), a possible confusion (ms should be
microseconds here, not milli), and adds descriptions for the missing
functions.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use SLAB_PANIC for general caches
Andrew Morton [Sat, 29 May 2004 03:58:02 +0000 (20:58 -0700)]
[PATCH] use SLAB_PANIC for general caches

From: Brian Gerst <bgerst@didntduck.org>

Initialize the general caches using SLAB_PANIC instead of BUG().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: change maintainer
Andrew Morton [Sat, 29 May 2004 03:57:52 +0000 (20:57 -0700)]
[PATCH] dm: change maintainer

From: <thornber@redhat.com>

Change of device-mapper maintainer

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-table.c: proper usage of dm_vcalloc
Andrew Morton [Sat, 29 May 2004 03:57:41 +0000 (20:57 -0700)]
[PATCH] dm-table.c: proper usage of dm_vcalloc

From: Kevin Corry <kevcorry@us.ibm.com>

dm-table.c: Proper usage of dm_vcalloc. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm: add static and __init qualifiers
Andrew Morton [Sat, 29 May 2004 03:57:30 +0000 (20:57 -0700)]
[PATCH] dm: add static and __init qualifiers

From: Kevin Corry <kevcorry@us.ibm.com>

DM: Add static and __init qualifiers. [Dave Olien]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()
Andrew Morton [Sat, 29 May 2004 03:57:19 +0000 (20:57 -0700)]
[PATCH] dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event()

From: Kevin Corry <kevcorry@us.ibm.com>

Some testing of DM multipath has turned up a problem with the DEVICE_WAIT
command.  In the tests, while performing a DEVICE_WAIT on a multipath device,
the command sometimes returns immediately, even though the event-number is
correct and no path-failure has occurred to trigger an event.  The problem was
tracked down to the call to schedule() in dev_wait(), which would return even
though it was not woken up by a DM table event.

This patch moves the responsibility for waiting from the ioctl interface into
the core driver, and uses wait_event_interruptible() instead of relying on
wait-queues and schedule().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm.c: free cloned bio on error path
Andrew Morton [Sat, 29 May 2004 03:57:09 +0000 (20:57 -0700)]
[PATCH] dm.c: free cloned bio on error path

From: Kevin Corry <kevcorry@us.ibm.com>

In __map_bio(), if the target returns an error while mapping the I/O, the
cloned bio needs to be freed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dm-ioctl.c: fix off-by-one error
Andrew Morton [Sat, 29 May 2004 03:56:58 +0000 (20:56 -0700)]
[PATCH] dm-ioctl.c: fix off-by-one error

From: Kevin Corry <kevcorry@us.ibm.com>

Fix an OB1 error when calculating an output buffer size, that could cause a
missing null termininator in the 'list devices' ioctl results.  [Steffan
Paletta]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i386: put irq stacks in .bss.page_aligned section
Andrew Morton [Sat, 29 May 2004 03:56:47 +0000 (20:56 -0700)]
[PATCH] i386: put irq stacks in .bss.page_aligned section

From: Matt Mackall <mpm@selenic.com>

I noticed that my vmlinux BSS had grown from 17k to 45k between 2.6.5 and
2.6.6.  8k was moving a pair of objects in head.S from the text section to
bss, 8k was the introduction of IRQ stacks, while the remainder (12k) was
page alignment slop, some of it spurious.  The following patch brings BSS
down to the expected 33k.

Throw the IRQ stacks into the page aligned section to avoided wasted BSS
space.  While we'd expect this to save up to 4k, this saves over 10k of BSS
here due to gcc3.3 spuriously aligning other objects in the vicinity.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Add `make checkstack' target
Andrew Morton [Sat, 29 May 2004 03:56:36 +0000 (20:56 -0700)]
[PATCH] Add `make checkstack' target

Jorn Engel <joern@wohnheim.fh-wedel.de>

Adds a `make checkstack' target.  This disassembles and parses vmlinux and
*.ko, generating a sorted list of stack hogs, eg:

0xc0100663 huft_build:                                  1456
0xc01022d3 huft_build:                                  1456
0xc0103127 inflate_dynamic:                             1328
0xc0101487 inflate_dynamic:                             1324
0xc010131f inflate_fixed:                               1168
0xc0102fb7 inflate_fixed:                               1168
0x00000003 sha512_transform:                            984
0xc024aee3 Vpd:                                         952
0x00000003 twofish_setkey:                              804
0x000060c3 isd200_action:                               792
0x0000e6cb nfsd4_proc_compound:                         760
0xc0249087 SkPnmiGetStruct:                             712
....

Supported architectures are alleged to be arm, x86, ia64, mips, mips64, ppc,
ppc64 and s390x.

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: xmon fixes
Andrew Morton [Sat, 29 May 2004 03:56:25 +0000 (20:56 -0700)]
[PATCH] ppc64: xmon fixes

From: Anton Blanchard <anton@samba.org>

A few xmon fixes:

- Check we have the set-indicator property before calling rtas.
- We were printing a cpu number in one place with %s, fix.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: reorg DMA API, add coherent alloc in irq
Andrew Morton [Sat, 29 May 2004 03:56:14 +0000 (20:56 -0700)]
[PATCH] ppc32: reorg DMA API, add coherent alloc in irq

From: Matt Porter <mporter@kernel.crashing.org>

Reorg PPC DMA API. Use PCI DMA API wrapper and add coherent alloc in irq.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix PPC4xx for the handle_page_fault() change
Andrew Morton [Sat, 29 May 2004 03:41:58 +0000 (20:41 -0700)]
[PATCH] ppc32: fix PPC4xx for the handle_page_fault() change

From: Matt Porter <mporter@kernel.crashing.org>

Fixes PPC4xx from the do_page_fault()->handle_page_fault() change.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: ix compiling arch/ppc/8260_io/enet.c
Andrew Morton [Sat, 29 May 2004 03:41:47 +0000 (20:41 -0700)]
[PATCH] ppc32: ix compiling arch/ppc/8260_io/enet.c

From: Tom Rini <trini@kernel.crashing.org>

When the 826x enet driver was made to call register_netdev/free_netdev,
no one declared 'err' in the function.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] use new msleep() in ADT746x driver
Andrew Morton [Sat, 29 May 2004 03:41:36 +0000 (20:41 -0700)]
[PATCH] use new msleep() in ADT746x driver

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch replaces schedule_timeout() with the new msleep().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix non-existent /dev/adb
Andrew Morton [Sat, 29 May 2004 03:41:26 +0000 (20:41 -0700)]
[PATCH] fix non-existent /dev/adb

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch fixes the lack of /dev/adb in kernel 2.6.7-rc1.  The call to
devfs_mk_cdev() has probably been removed too soon.  Hope this one is
better than the last one ;)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix typo in pmac_zilog
Andrew Morton [Sat, 29 May 2004 03:41:15 +0000 (20:41 -0700)]
[PATCH] Fix typo in pmac_zilog

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch fixes a typo preventing channel B from working on the Rx path of
pmac zilog (never calling tty_flip_*).  I think I never tested channel B :)

Thanks to Hollis Blanchard for spotting the bug.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: remove silly debug path from get_vsid()
Andrew Morton [Sat, 29 May 2004 03:41:04 +0000 (20:41 -0700)]
[PATCH] ppc64: remove silly debug path from get_vsid()

From: David Gibson <david@gibson.dropbear.id.au>

Currently the get_vsid() and get_kernel_vsid() functions have a test which
enables a different VSID algorithm for debugging.  Using a dumb VSID
algorithm for stressing the hash table is a reasonable debugging tool, but
switching it at runtime makes no sense at all.  Plus it adds another test
and memory access to the performance critical SLB miss path.

This patch removes the test, replacing it with a compile time switch.  It
seems to make a measurable, although small speedup to the SLB miss path
(maybe 0.5%).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] d_bucket initialisation simplification
Andrew Morton [Sat, 29 May 2004 03:40:53 +0000 (20:40 -0700)]
[PATCH] d_bucket initialisation simplification

The recent nfsd fix was too fancy.  When initialising d_bucket to an "invalid"
value, all we need is a NULL in there.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 29 May 2004 01:40:48 +0000 (18:40 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

21 years agoMissing spin lock init
Steve French [Fri, 28 May 2004 19:59:09 +0000 (14:59 -0500)]
Missing spin lock init

21 years ago[PATCH] radeonfb iBook & IGP fixes
Benjamin Herrenschmidt [Fri, 28 May 2004 14:25:09 +0000 (07:25 -0700)]
[PATCH] radeonfb iBook & IGP fixes

This patch to radeonfb fixes support for the latest iBook models along
with an initialisation problem on some IGP chipsets. Please apply.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[sbp2]: Fix use-after-free bug.
Ben Collins [Fri, 28 May 2004 10:48:36 +0000 (06:48 -0400)]
[sbp2]: Fix use-after-free bug.

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 28 May 2004 08:15:40 +0000 (01:15 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Fix sparse complaint
Russell King [Fri, 28 May 2004 16:42:38 +0000 (17:42 +0100)]
[ARM] Fix sparse complaint

Sparse found an instance where we were directly dereferencing a
userspace pointer in the signal handling code.  This change
fixes that.

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Fri, 28 May 2004 08:13:49 +0000 (01:13 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-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 [Fri, 28 May 2004 08:11:27 +0000 (01:11 -0700)]
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/usb-2.6
Linus Torvalds [Fri, 28 May 2004 08:10:40 +0000 (01:10 -0700)]
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/driver-2.6
Linus Torvalds [Fri, 28 May 2004 07:55:12 +0000 (00:55 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoRevert 3c905C initialization changes that cause problems
Linus Torvalds [Fri, 28 May 2004 07:35:14 +0000 (00:35 -0700)]
Revert 3c905C initialization changes that cause problems

Cset exclude: akpm@osdl.org[torvalds]|ChangeSet|20040510205830|02933

21 years ago[WATCHDOG] v2.6.6 linux/fs.h-patch
Wim Van Sebroeck [Sat, 29 May 2004 00:18:49 +0000 (02:18 +0200)]
[WATCHDOG] v2.6.6 linux/fs.h-patch

From: Christoph Hellwig <hch@lst.de>

All watchdog drivers need linux/fs.h

21 years ago[WATCHDOG] v2.6.6 sc520_wdt.c-patch2
Sean Young [Fri, 28 May 2004 23:59:46 +0000 (01:59 +0200)]
[WATCHDOG] v2.6.6 sc520_wdt.c-patch2

This patch also removes the cbar usage which is unnecessary. The MMCR is
always available at 0xfffef000; there is no need to use the cbar register
(if mmcr aliasing is enabled, then the MMCR is _also_ available at
another address set by CBAR).

21 years ago[WATCHDOG] v2.6.6 sc520_wdt.c-patch1
Wim Van Sebroeck [Fri, 28 May 2004 23:46:05 +0000 (01:46 +0200)]
[WATCHDOG] v2.6.6 sc520_wdt.c-patch1

Clean-up (general stuff: comments, keep module parameters together, ...)
Added clear definitions for the Watchdog Timer Control Register bits
Made start, stop and keepalive return 0 if successful
Fixed nowayout behaviour so that it is consistent with other watchdog drivers
Fixed release behaviour so that it is consistent with other watchdog drivers
Added wdt_set_heartbeat function to set the timeout/heartbeat of the watchdog
Made sure that memory remapping (wdtmrctl) is done before misc_register is started
MMCR_BASE_DEFAULT was wrong (Bug 2497 reported by Sean Young)

Tested by Sean Young

21 years ago[WATCHDOG] v2.6.6 w83627hf_wdt.c
Wim Van Sebroeck [Fri, 28 May 2004 23:38:43 +0000 (01:38 +0200)]
[WATCHDOG] v2.6.6 w83627hf_wdt.c

When drivers starts show the correct watchdog driver info.

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 07:17:05 +0000 (00:17 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 28 May 2004 07:08:27 +0000 (00:08 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

21 years ago[ieee1394]: Remove unused variable.
Ben Collins [Fri, 28 May 2004 07:07:17 +0000 (03:07 -0400)]
[ieee1394]: Remove unused variable.

Signed-off-by: Ben Collins <bcollins@debian.org>
21 years ago[PATCH] I2C: add max1619 driver
Alexey Fisher [Fri, 28 May 2004 06:48:49 +0000 (23:48 -0700)]
[PATCH] I2C: add max1619 driver

This is a driver for "Remote/Local Temperature Sensor with Dual-Alarm Outputs
and SMBus Serial Interface" MAX1619. I found this chip an my Laptop SAMSUNG
NV5000. Daryng I use Linux cooling didn't worked at all, naw  with this
driwer it's working. I hope  this will be usefool for ather too.

I didn't hade any expiriens with programming, but i didn't wont to wait wann
some body make it vor me. Jean halped me correrct any mysteiks wich i made.
Thanks Jaen :)

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] I2C: i2c-parport: support the ADM1031 evaluation board
Jean Delvare [Fri, 28 May 2004 06:47:51 +0000 (23:47 -0700)]
[PATCH] I2C: i2c-parport: support the ADM1031 evaluation board

The following patch adds support for the ADM1030 and ADM1031 evaluation
boards to the i2c-parport and i2c-parport-light drivers. They are almost
compatible with the already supported ADM1025 and ADM1032 boards, except
that the ADM1032 board needs some pins to be set high to draw its power,
while the same pins power up heating resistors on the ADM1031 board. I
considered it was a bit dangerous to do that by default, so I ended up
with two different device definitions, one with powering pins set, and
one with these pins cleared.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years agoMerge
Ben Collins [Fri, 28 May 2004 06:46:38 +0000 (02:46 -0400)]
Merge

21 years ago[PATCH] PCI: fix pci/probe.c possible NULL pointer.
Luiz Capitulino [Fri, 28 May 2004 06:37:08 +0000 (23:37 -0700)]
[PATCH] PCI: fix pci/probe.c possible NULL pointer.

 In drivers/pci/probe.c::pci_scan_bridge() the call for pci_alloc_child_bus()
can return NULL, but it is not handled by the function (detected by
Coverity's checker).

 The patch bellow fix that returning `max' if we got the NULL, but
I do not know if it is right. I guess it is, because in that case
the function will act in the same way as with `pass != 0'.

Signed-off by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[PATCH] PCI: Add InfiniCon PCI ID to pci_ids.h
Todd Rimmer [Fri, 28 May 2004 06:36:07 +0000 (23:36 -0700)]
[PATCH] PCI: Add InfiniCon PCI ID to pci_ids.h

We would like to have the InfiniCon PCI Vendor ID added to pci_ids.h
Below is a context diff, which would would greatly appreciate if you
applied and included in future kernel releases.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
21 years ago[ieee1394]: Fix some possible deadlock conditions.
Ben Collins [Fri, 28 May 2004 06:33:35 +0000 (02:33 -0400)]
[ieee1394]: Fix some possible deadlock conditions.

Submitted-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ben Collins <bcollins@debian.org>
21 years ago[PATCH] USB: ftdi_sio throttling fix
Ian Abbott [Fri, 28 May 2004 06:28:41 +0000 (23:28 -0700)]
[PATCH] USB: ftdi_sio throttling fix

This patch fixes throttling problems in the ftdi_sio driver for the
2.6 kernel.  The old throttling mechanism (unlinking the read urb)
often failed to work, and even it did work, would lose any data
held in the transfer buffer.  The new mechanism presented here is
based on what the whitehead driver does (defer processing and
resubmitting of the read urb until unthrottled).

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>