]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/log
mirror_ubuntu-zesty-kernel.git
18 years ago[ARM] 3280/1: OMAP: 2/3 Fix low-level io init for omap1 boards
Tony Lindgren [Wed, 8 Feb 2006 22:06:46 +0000 (22:06 +0000)]
[ARM] 3280/1: OMAP: 2/3 Fix low-level io init for omap1 boards

Patch from Tony Lindgren

This patch fixes the low-level IO init for omap1 boards.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3279/1: OMAP: 1/3 Fix low-level io init
Tony Lindgren [Wed, 8 Feb 2006 22:06:45 +0000 (22:06 +0000)]
[ARM] 3279/1: OMAP: 1/3 Fix low-level io init

Patch from Tony Lindgren

This patch adds the missing cache flushes to common low-level
init that are needed to access the IO region. These flushes
are normally done at the end of devicemaps_init(), but we
need to detect the OMAP core type early.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3299/1: S3C24XX - fix irq range on adc device
Ben Dooks [Wed, 8 Feb 2006 22:03:31 +0000 (22:03 +0000)]
[ARM] 3299/1: S3C24XX - fix irq range on adc device

Patch from Ben Dooks

Change the IRQ resource range for the ADC device
to be two distinct IRQs

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3283/1: S3C2400 - defines the number of serial ports
Lucas Correia Villa Real [Wed, 8 Feb 2006 21:31:54 +0000 (21:31 +0000)]
[ARM] 3283/1: S3C2400 - defines the number of serial ports

Patch from Lucas Correia Villa Real

This patch defines the number of serial ports on the S3C2400.

Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3313/1: Use OSC4 instead of OSC1 for CLCD
Catalin Marinas [Wed, 8 Feb 2006 21:19:39 +0000 (21:19 +0000)]
[ARM] 3313/1: Use OSC4 instead of OSC1 for CLCD

Patch from Catalin Marinas

Because of a type, OSC1 was used for setting the display clock instead of
OSC4. This patch fixes it.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3311/1: clean up include/asm-arm/mutex.h
Nicolas Pitre [Wed, 8 Feb 2006 21:19:38 +0000 (21:19 +0000)]
[ARM] 3311/1: clean up include/asm-arm/mutex.h

Patch from Nicolas Pitre

Since:

if (unlikely(__res || __ex_flag))

produces worse code on ARM than:

if (unlikely(__res | __ex_flag))

I therefore made it more explicit:

__res |= __ex_flag;
if (unlikely(__res != 0))

so it is not seen as a typo again.

Also made everything static inline rather than macros for better readability
(both produce the same code after all).

And finally added missing \t from multi-line assembly code.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3310/1: add a comment about the possible __kuser_cmpxchg transient false
Nicolas Pitre [Wed, 8 Feb 2006 21:19:37 +0000 (21:19 +0000)]
[ARM] 3310/1: add a comment about the possible __kuser_cmpxchg transient false
 negative

Patch from Nicolas Pitre

The pre ARMv5 implementation can be aborted if an exception occurs in
the middle of it.  Because of that, the ARMv6 implementation doesn't
re-attempt the operation on a failed strex either.  Let's make this
transient nature of such a false positive more explicit in the
definition.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3309/1: disable the pre-ARMv5 NPTL kernel helper in the non MMU case
Nicolas Pitre [Wed, 8 Feb 2006 21:19:37 +0000 (21:19 +0000)]
[ARM] 3309/1: disable the pre-ARMv5 NPTL kernel helper in the non MMU case

Patch from Nicolas Pitre

The cmpxchg emulation on pre-ARMv5 relies on user code executed from a
kernel address.  If the operation cannot complete atomically, it is
aborted from the usr_entry macro by clearing the Z flag.  This clearing
of the Z flag is done whenever the user pc is above TASK_SIZE.

However this "pc >= TASK_SIZE" test cannot work in the non MMU case.
Worse: the current code will corrupt the Z flag on every entry to the
kernel.

Let's disable it in the non MMU case for now.  Using NPTL on non MMU
targets needs to be worked out anyway.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3308/1: old ABI compat: struct sockaddr_un
Nicolas Pitre [Wed, 8 Feb 2006 21:19:36 +0000 (21:19 +0000)]
[ARM] 3308/1: old ABI compat: struct sockaddr_un

Patch from Nicolas Pitre

struct sockaddr_un loses its padding with EABI.  Since the size of the
structure is used as a validation test in unix_mkname(), we need to
change the length argument to 110 whenever it is 112.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] Experimental config options should have (EXPERIMENTAL)
Russell King [Wed, 8 Feb 2006 21:09:55 +0000 (21:09 +0000)]
[ARM] Experimental config options should have (EXPERIMENTAL)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3307/1: old ABI compat: mark it experimental
Nicolas Pitre [Wed, 8 Feb 2006 21:09:08 +0000 (21:09 +0000)]
[ARM] 3307/1: old ABI compat: mark it experimental

Patch from Nicolas Pitre

Although OABI_COMPAT works fine in most cases, it is still experimental
and could be for ever since it is nearly impossible to handle
everything, e.g. ioctls.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3306/1: S3C24XX - update defconfig
Ben Dooks [Wed, 8 Feb 2006 21:09:07 +0000 (21:09 +0000)]
[ARM] 3306/1: S3C24XX - update defconfig

Patch from Ben Dooks

Bring s3c2410 defconfig up to date

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3305/1: Minor typographical and spelling fixes in Konfig
Martin Michlmayr [Wed, 8 Feb 2006 21:09:07 +0000 (21:09 +0000)]
[ARM] 3305/1: Minor typographical and spelling fixes in Konfig

Patch from Martin Michlmayr

Minor typographical and spelling fixes in Konfig

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
---

 Kconfig |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3304/1: Add help descriptions to ARCH config items that don't have one
Martin Michlmayr [Wed, 8 Feb 2006 21:09:05 +0000 (21:09 +0000)]
[ARM] 3304/1: Add help descriptions to ARCH config items that don't have one

Patch from Martin Michlmayr

Add help descriptions to ARCH config items that don't have one.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
---

 Kconfig               |   32 ++++++++++++++++++++++++++++++--
 mach-clps711x/Kconfig |    2 ++
 2 files changed, 32 insertions(+), 2 deletions(-)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3303/1: S3C24XX - add clock enable usage counting
Ben Dooks [Wed, 8 Feb 2006 21:09:05 +0000 (21:09 +0000)]
[ARM] 3303/1: S3C24XX - add clock enable usage counting

Patch from Ben Dooks

Move to using an enable count for the shared clocks
and protect the clock system using a mutex instead
of just disabling IRQs during the clock update.

Since there is little more code in the path for
non-shared clocks, the enable and disable calls
use the same code for each.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3302/1: make pci=firmware the default for ixp2000
Lennert Buytenhek [Wed, 8 Feb 2006 21:09:04 +0000 (21:09 +0000)]
[ARM] 3302/1: make pci=firmware the default for ixp2000

Patch from Lennert Buytenhek

Most ixp2000 boards don't actually work if pci=firmware isn't used, so
the defconfig isn't really the right place to specify this.  Instead of
specifying it in the defconfigs, make the relevant board code take care
of setting pci=firmware.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3301/1: remove unnecessary clock default from ixdp2801 defconfig
Lennert Buytenhek [Wed, 8 Feb 2006 21:09:03 +0000 (21:09 +0000)]
[ARM] 3301/1: remove unnecessary clock default from ixdp2801 defconfig

Patch from Lennert Buytenhek

The ixdp2x01_clock is already 50MHz by default, so no need to
override it with 50MHz in the ixdp2801 defconfig as is done now,
which is confusing as well.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[ARM] 3300/1: make ixdp2x01 co-exist with other ixp2000 machine types
Lennert Buytenhek [Wed, 8 Feb 2006 21:09:02 +0000 (21:09 +0000)]
[ARM] 3300/1: make ixdp2x01 co-exist with other ixp2000 machine types

Patch from Lennert Buytenhek

The ixdp2x01 pci init call doesn't check whether it's really running
on an ixdp2x01, making it impossible to compile one kernel that works
on both the ixdp2x01 and another ixp2000 board.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 years ago[PATCH] powerpc: Thermal control for dual core G5s
Benjamin Herrenschmidt [Wed, 8 Feb 2006 05:42:51 +0000 (16:42 +1100)]
[PATCH] powerpc: Thermal control for dual core G5s

This patch adds a windfarm module, windfarm_pm112, for the dual core G5s
(both 2 and 4 core models), keeping the machine from getting into
vacuum-cleaner mode ;) For proper credits, the patch was initially
written by Paul Mackerras, and slightly reworked by me to add overtemp
handling among others. The patch also removes the sysfs attributes from
windfarm_pm81 and windfarm_pm91 and instead adds code to the windfarm
core to automagically expose attributes for sensor & controls.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Wed, 8 Feb 2006 04:34:29 +0000 (20:34 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

18 years ago[PATCH] powerpc: Fix sound driver use of i2c
Benjamin Herrenschmidt [Wed, 8 Feb 2006 04:04:18 +0000 (15:04 +1100)]
[PATCH] powerpc: Fix sound driver use of i2c

The PowerMac sound drivers used to rely on a "bug" of the i2c-keywest
driver that implemented I2C_SMBUS_BLOCK_DATA incorrectly, that is it did
what I2C_SMBUS_I2C_BLOCK_DATA should have done. The new i2c-powermac
driver that replaces keywest has this bug fixed, thus the sound drivers
must be fixed too.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
Linus Torvalds [Wed, 8 Feb 2006 04:32:13 +0000 (20:32 -0800)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge

18 years ago[SPARC64]: Update defconfig.
David S. Miller [Wed, 8 Feb 2006 02:12:34 +0000 (18:12 -0800)]
[SPARC64]: Update defconfig.

Do not enable CONFIG_LOCALVERSION_AUTO by default.
When doing kernel development it just leaves a ton
of crap around.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC]: Wire up sys_unshare().
David S. Miller [Wed, 8 Feb 2006 02:11:24 +0000 (18:11 -0800)]
[SPARC]: Wire up sys_unshare().

Also, the Solaris syscall table is sized differrently,
and does not go beyond entry 255, so trim off the excess
entries.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[PATCH] umount_tree() decrements mount count on wrong dentry
Al Viro [Wed, 1 Feb 2006 12:53:21 +0000 (07:53 -0500)]
[PATCH] umount_tree() decrements mount count on wrong dentry

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] nfsroot port= parameter fix [backport of 2.4 fix]
Al Viro [Wed, 4 Jan 2006 06:44:17 +0000 (01:44 -0500)]
[PATCH] nfsroot port= parameter fix [backport of 2.4 fix]

Direct backport of 2.4 fix that didn't get propagated to 2.6; original
comment follows:
<quote>
   When I specify the NFS port for nfsroot (e.g.,
   nfsroot=<dir>,port=2049), the
   kernel uses the wrong port. In my case it tries to use 264 (0x108)
   instead
   of 2049 (0x801).

   This patch adds the missing htons().

   Eric
</quote>

Patch got applied in 2.4.21-pre6.  Author: Eric Lammerts (<eric@lammerts.org>,
AFAICS).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Al Viro [Sat, 4 Feb 2006 01:28:01 +0000 (20:28 -0500)]
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] net/ipv6/mcast.c NULL noise removal
Al Viro [Sat, 4 Feb 2006 01:10:03 +0000 (20:10 -0500)]
[PATCH] net/ipv6/mcast.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] __user annotations of video_spu_palette
Al Viro [Wed, 1 Feb 2006 12:33:44 +0000 (07:33 -0500)]
[PATCH] __user annotations of video_spu_palette

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] amd64 time.c __iomem annotations
Al Viro [Wed, 1 Feb 2006 12:30:33 +0000 (07:30 -0500)]
[PATCH] amd64 time.c __iomem annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] bogus extern in low_i2c.c
Al Viro [Wed, 1 Feb 2006 12:25:14 +0000 (07:25 -0500)]
[PATCH] bogus extern in low_i2c.c

extern in function definition is an odd thing..

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] eeh_driver NULL noise removal
Al Viro [Wed, 1 Feb 2006 12:23:24 +0000 (07:23 -0500)]
[PATCH] eeh_driver NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] sg gfp_t annotations
Al Viro [Wed, 1 Feb 2006 11:31:40 +0000 (06:31 -0500)]
[PATCH] sg gfp_t annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] scsi_transport_iscsi gfp_t annotations
Al Viro [Wed, 1 Feb 2006 11:30:45 +0000 (06:30 -0500)]
[PATCH] scsi_transport_iscsi gfp_t annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] cmm NULL noise removal, __user annotations
Al Viro [Wed, 1 Feb 2006 11:29:14 +0000 (06:29 -0500)]
[PATCH] cmm NULL noise removal, __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] drivers/edac/i82875p_edac.c __user annotations
Al Viro [Wed, 1 Feb 2006 11:10:08 +0000 (06:10 -0500)]
[PATCH] drivers/edac/i82875p_edac.c __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] fix __user annotations in drivers/base/memory.c
Al Viro [Wed, 1 Feb 2006 11:06:16 +0000 (06:06 -0500)]
[PATCH] fix __user annotations in drivers/base/memory.c

sysfs store doesn't deal with userland pointers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations
Al Viro [Wed, 1 Feb 2006 11:04:15 +0000 (06:04 -0500)]
[PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] dvb NULL noise removal
Al Viro [Wed, 1 Feb 2006 11:02:50 +0000 (06:02 -0500)]
[PATCH] dvb NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] kernel/sys.c NULL noise removal
Al Viro [Wed, 1 Feb 2006 10:57:32 +0000 (05:57 -0500)]
[PATCH] kernel/sys.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] timer.c NULL noise removal
Al Viro [Wed, 1 Feb 2006 10:56:41 +0000 (05:56 -0500)]
[PATCH] timer.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] ipv4 NULL noise removal
Al Viro [Wed, 1 Feb 2006 10:54:35 +0000 (05:54 -0500)]
[PATCH] ipv4 NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] fix __user annotations in fs/select.c
Al Viro [Wed, 1 Feb 2006 10:26:09 +0000 (05:26 -0500)]
[PATCH] fix __user annotations in fs/select.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] missing include in ser_a2232
Al Viro [Mon, 30 Jan 2006 06:40:35 +0000 (01:40 -0500)]
[PATCH] missing include in ser_a2232

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] fallout from ptrace consolidation patch: cris/arch-v10
Al Viro [Sun, 29 Jan 2006 03:17:11 +0000 (22:17 -0500)]
[PATCH] fallout from ptrace consolidation patch: cris/arch-v10

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] drivers/scsi/mac53c94.c __iomem annotations
Al Viro [Tue, 6 Dec 2005 11:01:14 +0000 (06:01 -0500)]
[PATCH] drivers/scsi/mac53c94.c __iomem annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] ppc: last_task_.... is defined only on non-SMP
Al Viro [Thu, 19 Jan 2006 03:34:20 +0000 (22:34 -0500)]
[PATCH] ppc: last_task_.... is defined only on non-SMP

... so it should be exported only on non-SMP.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] restore power-off on sparc32
Al Viro [Thu, 19 Jan 2006 00:40:48 +0000 (19:40 -0500)]
[PATCH] restore power-off on sparc32

Damn you, Eric

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] fix breakage in ocp.c
Al Viro [Wed, 18 Jan 2006 23:40:16 +0000 (18:40 -0500)]
[PATCH] fix breakage in ocp.c

it's ocp_device_...., not ocp_driver_....

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] missing includes in drivers/net/mv643xx_eth.c
Al Viro [Thu, 19 Jan 2006 00:35:54 +0000 (19:35 -0500)]
[PATCH] missing includes in drivers/net/mv643xx_eth.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] drive_info removal outside of arch/i386
Al Viro [Wed, 21 Dec 2005 18:24:46 +0000 (13:24 -0500)]
[PATCH] drive_info removal outside of arch/i386

drive_info is used only by hd.c and that happens under #ifdef __i386__.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] bogus asm/delay.h includes
Al Viro [Thu, 1 Dec 2005 04:47:05 +0000 (23:47 -0500)]
[PATCH] bogus asm/delay.h includes

asm/delay.h is non-portable; linux/delay.h should be used in generic code.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years ago[PATCH] remove bogus asm/bug.h includes.
Al Viro [Thu, 15 Dec 2005 06:07:03 +0000 (01:07 -0500)]
[PATCH] remove bogus asm/bug.h includes.

A bunch of asm/bug.h includes are both not needed (since it will get
pulled anyway) and bogus (since they are done too early).  Removed.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
Linus Torvalds [Wed, 8 Feb 2006 00:29:55 +0000 (16:29 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6
Linus Torvalds [Wed, 8 Feb 2006 00:29:27 +0000 (16:29 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6

18 years agoMerge git://oss.sgi.com:8090/oss/git/rc-fixes-xfs-2.6
Linus Torvalds [Wed, 8 Feb 2006 00:28:26 +0000 (16:28 -0800)]
Merge git://oss.sgi.com:8090/oss/git/rc-fixes-xfs-2.6

18 years ago[PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c
Greg Ungerer [Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)]
[PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c

Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c
Greg Ungerer [Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)]
[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c

Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68knommu: hardirq.h needs definition of NR_IRQS
Greg Ungerer [Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)]
[PATCH] m68knommu: hardirq.h needs definition of NR_IRQS

Need to include the local asm/irq.h to get the NR_IRQS definition.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68knommu: need pm_power_off in m68knommu
Greg Ungerer [Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)]
[PATCH] m68knommu: need pm_power_off in m68knommu

Need place holders for the power management power off and idle functions.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68knommu: compile fixes for mcfserial.c
Greg Ungerer [Tue, 7 Feb 2006 23:19:17 +0000 (09:19 +1000)]
[PATCH] m68knommu: compile fixes for mcfserial.c

Re-organize the default CONSOLE baud rate define setting so that
it is only set once.

Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: system call registration for i386
JANAK DESAI [Tue, 7 Feb 2006 20:59:03 +0000 (12:59 -0800)]
[PATCH] unshare system call -v5: system call registration for i386

Registers system call for the i386 architecture.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: unshare files
JANAK DESAI [Tue, 7 Feb 2006 20:59:02 +0000 (12:59 -0800)]
[PATCH] unshare system call -v5: unshare files

If the file descriptor structure is being shared, allocate a new one and copy
information from the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: unshare vm
JANAK DESAI [Tue, 7 Feb 2006 20:59:01 +0000 (12:59 -0800)]
[PATCH] unshare system call -v5: unshare vm

If vm structure is being shared, allocate a new one and copy information from
the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: unshare namespace
JANAK DESAI [Tue, 7 Feb 2006 20:59:00 +0000 (12:59 -0800)]
[PATCH] unshare system call -v5: unshare namespace

If the namespace structure is being shared, allocate a new one and copy
information from the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: unshare filesystem info
JANAK DESAI [Tue, 7 Feb 2006 20:58:59 +0000 (12:58 -0800)]
[PATCH] unshare system call -v5: unshare filesystem info

If filesystem structure is being shared, allocate a new one and copy
information from the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: system call handler function
JANAK DESAI [Tue, 7 Feb 2006 20:58:58 +0000 (12:58 -0800)]
[PATCH] unshare system call -v5: system call handler function

sys_unshare system call handler function accepts the same flags as clone
system call, checks constraints on each of the flags and invokes corresponding
unshare functions to disassociate respective process context if it was being
shared with another task.

Here is the link to a program for testing unshare system call.

http://prdownloads.sourceforge.net/audit/unshare_test.c?download

Please note that because of a problem in rmdir associated with bind mounts and
clone with CLONE_NEWNS, the test fails while trying to remove temporary test
directory.  You can remove that temporary directory by doing rmdir, twice,
from the command line.  The first will fail with EBUSY, but the second will
succeed.  I have reported the problem to Ram Pai and Al Viro with a small
program which reproduces the problem.  Al told us yesterday that he will be
looking at the problem soon.  I have tried multiple rmdirs from the
unshare_test program itself, but for some reason that is not working.  Doing
two rmdirs from command line does seem to remove the directory.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] unshare system call -v5: Documentation file
JANAK DESAI [Tue, 7 Feb 2006 20:58:56 +0000 (12:58 -0800)]
[PATCH] unshare system call -v5: Documentation file

Documents the new feature, why it is needed, it's cost, design,
implementation, and test plan.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Fix spinlock debugging delays to not time out too early
Ingo Molnar [Tue, 7 Feb 2006 20:58:54 +0000 (12:58 -0800)]
[PATCH] Fix spinlock debugging delays to not time out too early

The spinlock-debug wait-loop was using loops_per_jiffy to detect too long
spinlock waits - but on fast CPUs this led to a way too fast timeout and false
messages.

The fix is to include a __delay(1) call in the loop, to correctly approximate
the intended delay timeout of 1 second.  The code assumes that every
architecture implements __delay(1) to last around 1/(loops_per_jiffy*HZ)
seconds.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] mm: compound release fix
Nick Piggin [Tue, 7 Feb 2006 20:58:52 +0000 (12:58 -0800)]
[PATCH] mm: compound release fix

Compound pages on SMP systems can now often be freed from pagetables via
the release_pages path.  This uses put_page_testzero which does not handle
compound pages at all.  Releasing constituent pages from process mappings
decrements their count to a large negative number and leaks the reference
at the head page - net result is a memory leak.

The problem was hidden because the debug check in put_page_testzero itself
actually did take compound pages into consideration.

Fix the bug and the debug check.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] selinux: require AUDIT
Stephen Smalley [Tue, 7 Feb 2006 20:58:51 +0000 (12:58 -0800)]
[PATCH] selinux: require AUDIT

Make SELinux depend on AUDIT as it requires the basic audit support to log
permission denials at all.  Note that AUDITSYSCALL remains optional for
SELinux, although it can be useful in providing further information upon
denials.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Fix build failure in recent pm_prepare_* changes.
Rafael J. Wysocki [Tue, 7 Feb 2006 20:58:50 +0000 (12:58 -0800)]
[PATCH] Fix build failure in recent pm_prepare_* changes.

Fix compilation problem in PM headers.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] More informative message on umount failure
Dave Jones [Tue, 7 Feb 2006 20:58:48 +0000 (12:58 -0800)]
[PATCH] More informative message on umount failure

We had a user trigger this message on a box that had a lot of different
mounts, all with different options.  It might help narrow down wtf happened
if we print out which device failed.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] sys_hpux: fix strlen_user() race
Kyle McMartin [Tue, 7 Feb 2006 20:58:47 +0000 (12:58 -0800)]
[PATCH] sys_hpux: fix strlen_user() race

Userspace can alter the string after the kernel has run strlen_user().

Also: the strlen_user() return value includes the \0, so fix that.

Also: handle EFAULT from strlen_user().

It's unlikely anyone is using this code.  Very, very unlikely.  If I
remember correctly, CONFIG_HPUX turns this code on, but one would actually
need CONFIG_BINFMT_SOM to load a binary that could cause a problem, and
BINFMT_SOM has had an #error in it for quite some time.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] inotify: fix one-shot support
Robert Love [Tue, 7 Feb 2006 20:58:45 +0000 (12:58 -0800)]
[PATCH] inotify: fix one-shot support

Fix one-shot support in inotify.  We currently drop the IN_ONESHOT flag
during watch addition.  Fix is to not do that.

Signed-off-by: Robert Love <rml@novell.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] module: strlen_user() race fix
Andrew Morton [Tue, 7 Feb 2006 20:58:45 +0000 (12:58 -0800)]
[PATCH] module: strlen_user() race fix

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: remove a dead file
Jeff Dike [Tue, 7 Feb 2006 20:58:44 +0000 (12:58 -0800)]
[PATCH] uml: remove a dead file

A previous patch removed a file from the build without removing it from the
tree.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: initialize process FP registers properly
Jeff Dike [Tue, 7 Feb 2006 20:58:43 +0000 (12:58 -0800)]
[PATCH] uml: initialize process FP registers properly

We weren't making sure that we initialized the FP registers of new processes
to sane values.

This patch also moves some defines in the affected area closer to where they
are used.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: block SIGWINCH in ptrace tester child
Jeff Dike [Tue, 7 Feb 2006 20:58:42 +0000 (12:58 -0800)]
[PATCH] uml: block SIGWINCH in ptrace tester child

The process that UML uses to probe the host's ptrace capabilities can (rarely)
receive a SIGWINCH, confusing the parent.  This fixes that by blocking
SIGWINCH.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: balance list_add and list_del in the network driver
Jeff Dike [Tue, 7 Feb 2006 20:58:42 +0000 (12:58 -0800)]
[PATCH] uml: balance list_add and list_del in the network driver

The network driver added an interface to the "opened" list when it was
configured, not when it was brought up, and removed it when it was taken down.
 A sequence of ifconfig up, ifconfig down, ...  caused it to be removed
multiple times from the list without being added in between, resulting in a
crash.  This patch moves the add to when the interface is brought up.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: close TUN/TAP file descriptors
Jeff Dike [Tue, 7 Feb 2006 20:58:41 +0000 (12:58 -0800)]
[PATCH] uml: close TUN/TAP file descriptors

When UML opens a TUN/TAP device, the file descriptor could be copied into
later, long-lived threads, holding the device open even after the interface is
taken down, preventing it from being brought up again.  This patch makes these
descriptors close-on-exec so that they disappear from helper processes, and
adds CLONE_FILES to a UML helper thread so that the descriptors are closed in
the thread when they are closed elsewhere in UML.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] uml: add debug switch for skas mode
Jeff Dike [Tue, 7 Feb 2006 20:58:40 +0000 (12:58 -0800)]
[PATCH] uml: add debug switch for skas mode

It doesn't do anything but emit a warning, but there's a user population
that's used to adding 'debug' to the UML command line in order to gdb it.
With skas0 mode, that's not necessary, but these users need some indication
that 'debug' doesn't do what they want.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Fix do_path_lookup() to add the check for error in link_path_walk()
Suzuki [Tue, 7 Feb 2006 20:58:36 +0000 (12:58 -0800)]
[PATCH] Fix do_path_lookup() to add the check for error in link_path_walk()

Fix do_path_lookup() to avoid accessing invalid dentry or inode when the
link_path_walk() has failed.  This should fix Bugme #5897.

Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] __cmpxchg() must really always be inlined on alpha
Steve Langasek [Tue, 7 Feb 2006 20:58:35 +0000 (12:58 -0800)]
[PATCH] __cmpxchg() must really always be inlined on alpha

With the latest 2.6.15 kernel builds for alpha on Debian, we ran into a
problem with undefined references to __cmpxchg_called_with_bad_pointer() in
a couple of kernel modules (xfs.ko and drm.ko; see
http://bugs.debian.org/347556).

It looks like people have been trying to out-clever each other wrt the
definition of "inline" on this architecture :), with the result that
__cmpxchg(), which must be inlined so the compiler can see its argument is
const, is not guaranteed to be inlined.  Indeed, it was not being inlined
when building with -Os.

The attached patch fixes the issue by adding an
__attribute__((always_inline)) explicitly to the definition of __cmpxchg()
instead of relying on redefines of "inline" elsewhere to make this happen.

Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] ide: cast arguments to pr_debug() properly
Michael Richardson [Tue, 7 Feb 2006 20:58:33 +0000 (12:58 -0800)]
[PATCH] ide: cast arguments to pr_debug() properly

This does not show up unless you #define DEBUG in the file, which most
people wouldn't do.  On PPC405, at least, "sector_t" is unsigned long,
which doesn't match %llx/%llu.  Since sector# may well be >32 bits, promote
the value to match the format.

Signed-off-by: Michael Richardson <mcr@xelerance.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] knfsd: fix nfs4_open lock leak
J. Bruce Fields [Tue, 7 Feb 2006 20:58:32 +0000 (12:58 -0800)]
[PATCH] knfsd: fix nfs4_open lock leak

I just noticed that my patch "don't create on open that fails due to
ERR_GRACE" (recently commited as fb553c0f17444e090db951b96df4d2d71b4f4b6b)
had an obvious problem that causes a deadlock on reboot recovery.  Sending
in this now since it seems like a clear 2.6.16 candidate.--b.

We're returning with a lock held in some error cases.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] hugetlbpage: return VM_FAULT_OOM on oom
Christoph Lameter [Tue, 7 Feb 2006 20:58:30 +0000 (12:58 -0800)]
[PATCH] hugetlbpage: return VM_FAULT_OOM on oom

Remove wrong and misleading comments.

Return VM_FAULT_OOM if the hugetlbpage fault handler cannot allocate a
page.  do_no_page will end up doing do_exit(SIGKILL).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Hugepages need clear_user_highpage() not clear_highpage()
David Gibson [Tue, 7 Feb 2006 20:58:25 +0000 (12:58 -0800)]
[PATCH] Hugepages need clear_user_highpage() not clear_highpage()

When hugepages are newly allocated to a file in mm/hugetlb.c, we clear them
with a call to clear_highpage() on each of the subpages.  We should be
using clear_user_highpage(): on powerpc, at least, clear_highpage() doesn't
correctly mark the page as icache dirty so if the page is executed shortly
after it's possible to get strange results.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] x86_64: Fix the node cpumask of a cpu going down
Ravikiran G Thirumalai [Tue, 7 Feb 2006 20:58:23 +0000 (12:58 -0800)]
[PATCH] x86_64: Fix the node cpumask of a cpu going down

Currently, x86_64 and ia64 arches do not clear the corresponding bits in
the node's cpumask when a cpu goes down or cpu bring up is cancelled.  This
is buggy since there are pieces of common code where the cpumask is checked
in the cpu down code path to decide on things (like in the slab down path).
 PPC does the right thing, but x86_64 and ia64 don't (This was the reason
Sonny hit upon a slab bug during cpu offline on ppc and could not reproduce
on other arches).  This patch fixes it for x86_64.  I won't attempt ia64 as
I cannot test it.

Credit for spotting this should go to Alok.

(akpm: this was applied, then reverted.  But it's OK now because we now use
for_each_cpu() in the right places).

Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] swsusp: kill unneeded/unbalanced bio_get
Pavel Machek [Tue, 7 Feb 2006 20:58:22 +0000 (12:58 -0800)]
[PATCH] swsusp: kill unneeded/unbalanced bio_get

- Remove unneeded bio_get() which would cause a bio leak

- Writing doesn't dirty pages.  Reading dirties pages.

- We should dirty the pages after the IO completion, not before

(Busy-waiting for disk I/O completion isn't very polite.)

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] drivers/base/bus.c warning fixes
Russell King [Tue, 7 Feb 2006 20:58:20 +0000 (12:58 -0800)]
[PATCH] drivers/base/bus.c warning fixes

drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used
drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used

Looks like these two attributes and supporting functions want to be
#ifdef HOTPLUG'd

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
Linus Torvalds [Tue, 7 Feb 2006 18:13:39 +0000 (10:13 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb

18 years ago[PATCH] cciss: softirq handler needs to save interrupt flags
Jens Axboe [Tue, 7 Feb 2006 14:00:01 +0000 (15:00 +0100)]
[PATCH] cciss: softirq handler needs to save interrupt flags

The softirq rq completion handler needs to save/restore interrupt flags
appropriately.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
Linus Torvalds [Tue, 7 Feb 2006 18:10:09 +0000 (10:10 -0800)]
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

18 years ago[PATCH] Fix bad apic fix on i386
Andi Kleen [Tue, 7 Feb 2006 11:48:00 +0000 (12:48 +0100)]
[PATCH] Fix bad apic fix on i386

Fix wrong '!' in bad apic fix

I forgot to remove the ! when moving the code from x86-64 to i386 x86-64
tested !disable_apic, but of course for cpu_has_apic it shouldn't be
negated.

Credit goes to Jan Beulich for spotting it with eagle eyes.

Cc: Jan Beulich <jbeulich@novell.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
Linus Torvalds [Tue, 7 Feb 2006 18:04:04 +0000 (10:04 -0800)]
Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

18 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-bugfix
Linus Torvalds [Tue, 7 Feb 2006 18:01:43 +0000 (10:01 -0800)]
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-bugfix

18 years ago[MIPS] Clear ST0_RE on bootup.
Ralf Baechle [Tue, 7 Feb 2006 01:20:43 +0000 (01:20 +0000)]
[MIPS] Clear ST0_RE on bootup.

The reset state is undefined and some firmware doesn't clear this bit
possibly resulting in crashes on entry into userland.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] TX49x7: Fix reporting of the CPU name and PCI clock
Sergei Shtylylov [Sat, 4 Feb 2006 12:11:14 +0000 (15:11 +0300)]
[MIPS] TX49x7: Fix reporting of the CPU name and PCI clock

I've noticed that PCI clock was incorrectly reported as 66 MHz while being
mere 33 MHz on RBTX4937 board -- this was due to the different encoding of
the PCI divisor field in CCFG register between TX4927 and TX4937 chips...

Also, RBTX49x7 was printed out as a CPU name (e.g., "CPU is RBTX4937");
and some debug printk() were duplicating each other...

Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] TX49 MFC0 bug workaround
Atsushi Nemoto [Thu, 2 Feb 2006 16:34:01 +0000 (01:34 +0900)]
[MIPS] TX49 MFC0 bug workaround

If mfc0 $12 follows store and the mfc0 is last instruction of a
page and fetching the next instruction causes TLB miss, the result
of the mfc0 might wrongly contain EXL bit.

ERT-TX49H2-027, ERT-TX49H3-012, ERT-TX49HL3-006, ERT-TX49H4-008

Workaround: mask EXL bit of the result or place a nop before mfc0.  It
doesn't harm to always clear those bits, so we change the code to do so.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>