]> git.neil.brown.name Git - history.git/log
history.git
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 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 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 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] 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 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>
21 years ago[PATCH] iomem annotations and isa_-ectomy: media/video/pms.c
Alexander Viro [Sat, 27 Nov 2004 13:57:25 +0000 (05:57 -0800)]
[PATCH] iomem annotations and isa_-ectomy: media/video/pms.c

switched to ioremap() + normal iomem access primitives

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

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[ARM] sa1111: don't reference dev->power.saved_state if CONFIG_PM is unset
Russell King [Sat, 27 Nov 2004 12:44:34 +0000 (12:44 +0000)]
[ARM] sa1111: don't reference dev->power.saved_state if CONFIG_PM is unset

21 years ago[SERIAL] imx: remove two unnecessary includes
Russell King [Sat, 27 Nov 2004 12:19:52 +0000 (12:19 +0000)]
[SERIAL] imx: remove two unnecessary includes

21 years ago[PATCH] misc sparc iomem annotations
Alexander Viro [Sat, 27 Nov 2004 09:00:42 +0000 (01:00 -0800)]
[PATCH] misc sparc iomem annotations

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

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

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] pmac sound iomem annotations
Alexander Viro [Sat, 27 Nov 2004 08:24:18 +0000 (00:24 -0800)]
[PATCH] pmac sound iomem annotations

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

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

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (12/12) valkyriefb iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:50:49 +0000 (22:50 -0800)]
[PATCH] (12/12) valkyriefb iomem annotations

21 years ago[PATCH] (11/12) tcx iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:50:37 +0000 (22:50 -0800)]
[PATCH] (11/12) tcx iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (10/12) platinumfb iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:50:24 +0000 (22:50 -0800)]
[PATCH] (10/12) platinumfb iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (9/12) p9100 iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:50:11 +0000 (22:50 -0800)]
[PATCH] (9/12) p9100 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (8/12) offb iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:49:59 +0000 (22:49 -0800)]
[PATCH] (8/12) offb iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (7/12) leo iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:49:46 +0000 (22:49 -0800)]
[PATCH] (7/12) leo iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (6/12) hgafb iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:49:34 +0000 (22:49 -0800)]
[PATCH] (6/12) hgafb iomem annotations

switched from isa_...() to ioremap() + normal read*/write*

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (5/12) controlfb iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:49:21 +0000 (22:49 -0800)]
[PATCH] (5/12) controlfb iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (4/12) cg6 iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:49:08 +0000 (22:49 -0800)]
[PATCH] (4/12) cg6 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (3/12) cg3 iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:48:55 +0000 (22:48 -0800)]
[PATCH] (3/12) cg3 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (2/12) cg14 iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:48:42 +0000 (22:48 -0800)]
[PATCH] (2/12) cg14 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] (1/12) bw2 iomem annotations
Alexander Viro [Sat, 27 Nov 2004 06:48:30 +0000 (22:48 -0800)]
[PATCH] (1/12) bw2 iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] tpam annotations and cleanups
Alexander Viro [Sat, 27 Nov 2004 06:48:17 +0000 (22:48 -0800)]
[PATCH] tpam annotations and cleanups

annotated, sanitized casts between pointers and numbers, switched the
functions that took offsets in card memory to unsigned long (from the
void *, which was absolutely wrong and lead to bogus casts from hell all
over the place).

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

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

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

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] more sparc64 io.h annotations
Alexander Viro [Sat, 27 Nov 2004 06:47:26 +0000 (22:47 -0800)]
[PATCH] more sparc64 io.h annotations

Prototypes annotated the same way they are on other platforms.  I'm not
too fond of readb() taking const volatile void * (sic), but AFAICS
that's the only way to tell cc(1) that both volatile and const pointers
are acceptable here ;-/

memcpy_toio/memcpy_fromio/memset_io made void - same as they are
elsewhere.  And no, nobody had been insane enough to use the return
values...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 26 Nov 2004 07:14:28 +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] 2269/2: Updated Pleb-1 support patch for Linux 2.6
Peter Chubb [Fri, 26 Nov 2004 21:58:12 +0000 (21:58 +0000)]
[ARM PATCH] 2269/2: Updated Pleb-1 support patch for Linux 2.6

Patch from Peter Chubb

This patch REPLACES patch #2269/1

Instead of using the almost-obsolete SMC9194 driver, use the new
SMC91xx driver.

Signed-off-by: Peter Chubb
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2273/1: S3C2410 - timex.h CLOCK_TICK_RATE fix
Ben Dooks [Fri, 26 Nov 2004 20:57:55 +0000 (20:57 +0000)]
[ARM PATCH] 2273/1: S3C2410 - timex.h CLOCK_TICK_RATE fix

Patch from Ben Dooks

CLOCK_TICK_RATE is 12MHz on at least 2 s3c2410 based
machines, or close to it. Although this doesn't seem
to have any effect on loops_per_jiffie, it is best
to try and be accurate.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2261/1: Cleanup use of ixp_reg_write in arch/arm/mach-ixp2000
Deepak Saxena [Fri, 26 Nov 2004 20:52:31 +0000 (20:52 +0000)]
[ARM PATCH] 2261/1: Cleanup use of ixp_reg_write in arch/arm/mach-ixp2000

Patch from Lennert Buytenhek

Several files in this directory directly dereference pointers
to on-chip I/O instead of using ixp_reg_write, making them
susceptible to IXP2400 erratum #66. This changset fixes those.
We do not touch any files that will only be built for IXP2800
systems as the 2800 does not have this issue.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2260/1: Rename IXP2000_IRQ_SWI to reduce user confusion
Deepak Saxena [Fri, 26 Nov 2004 20:47:14 +0000 (20:47 +0000)]
[ARM PATCH] 2260/1: Rename IXP2000_IRQ_SWI to reduce user confusion

Patch from Lennert Buytenhek

IXP2000 interrupt source zero is a software-generated interrupt source,
but it is not an SWI in the ARM sense of the word.  Rename the interrupt
source to reduce any confusion.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2259/1: Rip out ixp2000 IRQ_ERR_STATUS demultiplexing
Deepak Saxena [Fri, 26 Nov 2004 20:42:00 +0000 (20:42 +0000)]
[ARM PATCH] 2259/1: Rip out ixp2000 IRQ_ERR_STATUS demultiplexing

Patch from Lennert Buytenhek

There are thirteen different IRQs chained off IRQ_ERR_STATUS, one for
each possible error class that the IXP can signal an interrupt for, but
there are no in-tree users of these interrupts, and it doesn't make much
sense to treat them as separate interrupts if we can just have one
handler checking each of the thirteen errors in one go instead.

Besides that, the error interrupt handling can't even have been working
properly in the first place as the chained handler was testing the wrong
bits in the IRQ_ERR_STATUS register.

So this patch rips it all out.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2257/1: Add I2C device to IXDP2x01 platforms
Deepak Saxena [Fri, 26 Nov 2004 20:36:20 +0000 (20:36 +0000)]
[ARM PATCH] 2257/1: Add I2C device to IXDP2x01 platforms

Patch from Deepak Saxena

Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2255/1: Add IXDPG425 platform support
Deepak Saxena [Fri, 26 Nov 2004 20:30:27 +0000 (20:30 +0000)]
[ARM PATCH] 2255/1: Add IXDPG425 platform support

Patch from Deepak Saxena

New IXP425 based platform from Intel. This machine is similar to
an ADI Coyote except for the addition of an on-board NEC ECHI
controller. Patch also fixes issue with board setup for Coyote
(and IXDPG425) that would cause the MTD driver to fail.

Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
21 years ago[PATCH] floppy boot-time detection fix
Ingo Molnar [Fri, 26 Nov 2004 01:08:19 +0000 (17:08 -0800)]
[PATCH] floppy boot-time detection fix

When the FDC hardware is initialized, it sometimes generates a floppy
interrupt right away - without being told to.  This interrupt can hit
the detection code that executes right after the initialization code, in
particular it can get intermixed with user_reset_fdc() that the
detection code uses.  The fd driver is fundamentally single-threaded
when it comes to handling events: an unexpected irq that arrives in the
wrong moment can confuse the reset_fdc() code, which, with softirq and
hardirq threading on, executes in keventd.

In the stock kernel this stale irq doesnt seem to hit the detection code
in the wrong moment, but i think under certain circumstances it may
still happen.  One of the typical incarnations of the race was the
following message:

 reset set in interrupt, calling c0258400

and googling for "reset set in interrupt, calling" does turn up a fair
number of bootlogs (most of them 2.4 ones) that show such a detection
failure, so i think upstream wants to have the fix too.

the fix is simple: delay a bit after initialization, to make sure the
stale irq does not interfere with the detection code. It will be safely
ignored, since do_floppy is still NULL. It might look sloppy that i went
for a delay, but delay i think it is better than waiting for the irq to
occur, because i dont think there's a guarantee that fdc initialization
triggers an interrupt, so waiting for it could hang the boot process. A
delay OTOH is totally harmless.

The attached patch implements this fix, which resolves the detection
problem on my testbox.

here's again how a failure looks like:

 Floppy drive(s): fd0 is 1.44M
 reset set in interrupt, calling c0258400
 floppy0: no floppy controllers found

and this is how it works with the fix:

 Floppy drive(s): fd0 is 1.44M
 FDC 0 is a post-1991 82077

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] bio: fix leak in failure case in bio_copy_user()
Jens Axboe [Fri, 26 Nov 2004 01:08:06 +0000 (17:08 -0800)]
[PATCH] bio: fix leak in failure case in bio_copy_user()

There's a leak in the error case in bio_copy_user().  If we fail
allocating a page or adding a page to the bio, we will leak the bio map
data.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] cfq-iosched: fix allocation increment race #3
Jens Axboe [Fri, 26 Nov 2004 01:07:53 +0000 (17:07 -0800)]
[PATCH] cfq-iosched: fix allocation increment race #3

There is a stupid error in cfq-iosched that spews a warning on
(typically) SMP systems because cfqq->allocated[rw] goes below zero. The
error is that the increment on alloc happens outside of the queue lock.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: fix hang on legacy iSeries
Paul Mackerras [Fri, 26 Nov 2004 00:45:43 +0000 (16:45 -0800)]
[PATCH] ppc64: fix hang on legacy iSeries

Recently we have uncovered a bug in the kernel exception exit path
which can cause iSeries machines to hang with interrupts disabled,
typically when unloading a module.  This patch fixes the bug and
should go in 2.6.10.  Here is the detailed explanation:

There are a couple of places in the exception exit path in entry.S
where we disable interrupts and then later reenable them.  We
hard-disable interrupts even on legacy iSeries (rather than
soft-disabling them) because the final part of the exception exit path
needs interrupts hard-disabled (even on legacy iSeries), because
otherwise an incoming interrupt could trash SRR0 and SRR1 and cause us
to lose state.

The intention was that each path that hard-disabled interrupts would
hard-enable them again, either explicitly or by executing an rfid
instruction (return from interrupt, doubleword).  However there was
one path where we didn't correctly hard-enable interrupts.  This meant
we could end up calling schedule() with interrupts hard-disabled and
then switch to the stopmachine thread (used in removing a module),
which spins polling a variable until another cpu changes it.  Since
local_irq_enable() etc. on legacy iSeries only soft-enable interrupts,
we got into the stopmachine thread with interrupts hard-disabled, and
the machine hung at that point.

This patch fixes it by making sure that when we go to re-enable
interrupts, the MSR value we are loading up actually does have the
MSR.EE (external interrupt enable) bit set.  Stephen Rothwell has
verified that this actually does fix the bug on iSeries.  The bug
also potentially exists on pSeries (and this patch fixes it), but
there it doesn't really matter, because schedule() will enable
interrupts (and on pSeries that means hard-enabling them), and because
the hypervisor doesn't mind you having interrupts hard-disabled for
extended periods on pSeries.  Note that all these comments about
pSeries also apply to POWER5 iSeries (i5) machines.

While I was there I noticed that we were jumping to ret_from_except
after calling do_IRQ on iSeries, rather than ret_from_except_lite,
meaning that we will restore registers 14-31 twice, unnecessarily.  I
changed it to jump to ret_from_except_lite instead, and Stephen
checked that this change doesn't cause any breakage.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Thu, 25 Nov 2004 14:24:35 +0000 (06:24 -0800)]
Merge bk://linux-sam.bkbits.net/kbuild
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 25 Nov 2004 14:21:21 +0000 (06:21 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] i8k: fix 'power_status' sysfs permissions
Dmitry Torokhov [Thu, 25 Nov 2004 08:00:41 +0000 (00:00 -0800)]
[PATCH] i8k: fix 'power_status' sysfs permissions

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] ia64/x86_64/s390 overlapping vma fix
Zou Nanhai [Thu, 25 Nov 2004 08:00:28 +0000 (00:00 -0800)]
[PATCH] ia64/x86_64/s390 overlapping vma fix

IA64 is also vulnerable to the huge-vma-in-executable bug in 64 bit elf
support, it just insert a vma of zero page without checking overlap, so user
can construct a elf with section begin from 0x0 to trigger this BUGON().

However, I think it's safe to check overlap before we actually insert a vma
into vma list.  And I also feel check vma overlap everywhere is unnecessary,
because invert_vm_struct will check it again, so the check is duplicated.
It's better to have invert_vm_struct return a value then let caller check if
it successes.  Here is a patch against 2.6.10.rc2-mm3 I have tested it on
i386, x86_64 and ia64 machines.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Zou Nan hai <Nanhai.zou@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: Fix an IRQ issue with cpufreq
Benjamin Herrenschmidt [Thu, 25 Nov 2004 08:00:14 +0000 (00:00 -0800)]
[PATCH] ppc32: Fix an IRQ issue with cpufreq

The ppc32 PowerMac cpufreq code, when using the PMU to switch the
frequency, would eventually lose interrupts.  The solution is to raise the
CPU priority at the controller level.  It's also unnecessary to call the
full PIC suspend/resume code in this case as the IO chip isn't reset,
unlike the sleep code.

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] ppc32: Fix __iomem warnings in TODC code
Tom Rini [Thu, 25 Nov 2004 08:00:01 +0000 (00:00 -0800)]
[PATCH] ppc32: Fix __iomem warnings in TODC code

A trivial fix for the __iomem warnings in arch/ppc/syslib/todc_time.c

Signed-off-by: Randy Vinson <rvinson@mvista.com>
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] ppc32: Have the 8260 board-hook happen a bit later
Tom Rini [Thu, 25 Nov 2004 07:59:48 +0000 (23:59 -0800)]
[PATCH] ppc32: Have the 8260 board-hook happen a bit later

Borut Lukic <borutlukic@email.si> brought to my attention that in
platform_init() on 8260 the board hook was being called too early to allow for
overrides (e.g.  different memory sizings functions or rtc, or anything else).
 This moves the call to the end of platform_init() and I suspect fixes some
unnoticed yet bugs in a number of 8260 platforms.

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] ppc32: Fix uninitialized PPC40x vars
Matt Porter [Thu, 25 Nov 2004 07:59:34 +0000 (23:59 -0800)]
[PATCH] ppc32: Fix uninitialized PPC40x vars

Fix more uninitialized variables in the PPC40x code.

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] ppc64: Make early processor spinup based on physical ids
Olof Johansson [Thu, 25 Nov 2004 07:59:21 +0000 (23:59 -0800)]
[PATCH] ppc64: Make early processor spinup based on physical ids

This changes the early CPU spinup code to be based on physical CPU ID
instead of logical.  This will make it possible to kexec off of a
different cpu than 0, for example after it's been hot-unplugged.

The booted cpu will still be mapped as logical cpu 0, since there's various
stuff in the early boot that assumes logical boot cpuid is 0.

Also, it expands the kexec boot param structure to allow the booted physical
cpuid to be passed in.  This includes bumping the version number to 2 for
backwards compat.

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
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] ppc64: linux,tce* changes
Anton Blanchard [Thu, 25 Nov 2004 07:59:08 +0000 (23:59 -0800)]
[PATCH] ppc64: linux,tce* changes

Remove linux,has-tce-table since we can just look for linux,tce-base and
linux,tce-size.  Make linux,tce-base store real addresses instead of virtual
ones, the wrapper may not know the translation the kernel will use.

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] ppc64: Reserve kernel memory in kernel instead of wrapper
Anton Blanchard [Thu, 25 Nov 2004 07:58:54 +0000 (23:58 -0800)]
[PATCH] ppc64: Reserve kernel memory in kernel instead of wrapper

Reserve the kernel memory (0 - klimit) in the kernel instead of the wrapper.
Remove an old comment that incorrectly referred to klimit.

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] ppc64: linux,rtas* fixes
Anton Blanchard [Thu, 25 Nov 2004 07:58:40 +0000 (23:58 -0800)]
[PATCH] ppc64: linux,rtas* fixes

Move the linux,rtas* properties into the /rtas node and make them 32bit.  Use
rtas-size and avoid duplicating it in linux,rtas-size.

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] dont deprecate MODULE_PARM
Andrew Morton [Thu, 25 Nov 2004 07:58:26 +0000 (23:58 -0800)]
[PATCH] dont deprecate MODULE_PARM

Let's revert this for now so all those warnings do not soil our 2.6.10
release.  We'll get Rusty's kernel-wide-sweep fixup patches in for 2.6.11, and
then we can put this warning back.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: remove the volatile from cpus_in_xmon
Paul Mackerras [Thu, 25 Nov 2004 07:58:13 +0000 (23:58 -0800)]
[PATCH] ppc64: remove the volatile from cpus_in_xmon

Remove the volatile from cpus_in_xmon, and put a barrier() in the loop that
waits for the other cpus to come in to xmon.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: fix compilation with recent toolchains
Paul Mackerras [Thu, 25 Nov 2004 07:58:00 +0000 (23:58 -0800)]
[PATCH] ppc64: fix compilation with recent toolchains

The ppc64 toolchains don't create dot symbols (i.e. a globally
visible ".foo" symbol for the text of function foo) any more.

This breaks the kernel compile because we refer to function text
addresses in the system call table.

Fortunately there is an option, -mcall-aixdesc, which restores the
previous behaviour, and even more fortunately, old ppc64 toolchains
understand the option as well as new ones.

This patch adds -mcall-aixdesc to CFLAGS in arch/ppc64/Makefile.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[IPV6] improve ipv6_ifa_notify() readability.
Brian Haley [Wed, 24 Nov 2004 12:34:53 +0000 (21:34 +0900)]
[IPV6] improve ipv6_ifa_notify() readability.

21 years ago[IPV6] Clean-up locking in ipv6_add_addr().
Hideaki Yoshifuji [Wed, 24 Nov 2004 06:50:01 +0000 (15:50 +0900)]
[IPV6] Clean-up locking in ipv6_add_addr().

Use addrconf_hash_lock instead of private lock.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 24 Nov 2004 05:28:15 +0000 (21:28 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux