Commit Graph
873808 Commits
Author SHA1 Message Date
Linus Torvalds b7ed1de0ae Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-02-08 07:58:18 -08:00
Ivan Kokshaysky 328c2a8a39 [PATCH] alpha: set cpu_possible_map much earlier
All the percpu data structure walkers want cpu_possible_map to be
initialized early, but alpha instead populated "hwrpb_cpu_present_mask"
early in setup_smp(), and then initialized cpu_possible_map only much
later.

Thanks go to Heiko Carstens and Dipankar Sarma for noticing.

This fixes it and we can get rid of hwrpb_cpu_present_mask entirely.

Signed-off-by: Linus Torvalds <[email protected]>
2006-02-08 07:57:37 -08:00
Ingo Molnar 9934a7939e [PATCH] SLOB=y && SMP=y fix
fix CONFIG_SLOB=y (when CONFIG_SMP=y): get rid of the 'align' parameter
from its __alloc_percpu() implementation. Boot-tested on x86.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-02-08 07:52:58 -08:00
Tejun Heo 30e9656cc3 [PATCH] block: implement elv_insert and use it (fix ordcolor flipping bug)
q->ordcolor must only be flipped on initial queueing of a hardbarrier
request.

Constructing ordered sequence and requeueing used to pass through
__elv_add_request() which flips q->ordcolor when it sees a barrier
request.

This patch separates out elv_insert() from __elv_add_request() and uses
elv_insert() when constructing ordered sequence and requeueing.
elv_insert() inserts the given request at the specified position and
does nothing else.

Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-02-08 07:52:58 -08:00
Linus Torvalds e5ea0a9fca ppc: fix up trivial Kconfig config selection
Quoth BenH:
  "Ok, looks like I forgot to update the Kconfig for the new i2c driver,
   it should select I2C_POWERMAC instead.  Do you want a new patch or
   can you just fix it there ?"

Signed-off-by: Linus Torvalds <[email protected]>
2006-02-08 07:51:17 -08:00
Steven Whitehouse 18ec7d5c3f [GFS2] Make journaled data files identical to normal files on disk
This is a very large patch, with a few still to be resolved issues
so you might want to check out the previous head of the tree since
this is known to be unstable. Fixes for the various bugs will be
forthcoming shortly.

This patch removes the special data format which has been used
up till now for journaled data files. Directories still retain the
old format so that they will remain on disk compatible with earlier
releases. As a result you can now do the following with journaled
data files:

 1) mmap them
 2) export them over NFS
 3) convert to/from normal files whenever you want to (the zero length
    restriction is gone)

In addition the level at which GFS' locking is done has changed for all
files (since they all now use the page cache) such that the locking is
done at the page cache level rather than the level of the fs operations.
This should mean that things like loopback mounts and other things which
touch the page cache directly should now work.

Current known issues:

 1. There is a lock mode inversion problem related to the resource
    group hold function which needs to be resolved.
 2. Any significant amount of I/O causes an oops with an offset of hex 320
    (NULL pointer dereference) which appears to be related to a journaled data
    buffer appearing on a list where it shouldn't be.
 3. Direct I/O writes are disabled for the time being (will reappear later)
 4. There is probably a deadlock between the page lock and GFS' locks under
    certain combinations of mmap and fs operation I/O.
 5. Issue relating to ref counting on internally used inodes causes a hang
    on umount (discovered before this patch, and not fixed by it)
 6. One part of the directory metadata is different from GFS1 and will need
    to be resolved before next release.

Signed-off-by: Steven Whitehouse <[email protected]>
2006-02-08 11:50:51 +00:00
Jens Axboe 01840f9c9d [PATCH] blk: Fix SG_IO ioctl failure retry looping
When issuing an SG_IO ioctl through sd that resulted in an unrecoverable
error, a nearly infinite retry loop was discovered. This is due to the
fact that the block layer SG_IO code is not setting up rq->retries. This
patch also fixes up the sg_scsi_ioctl path.

Signed-off-by: Brian King <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
2006-02-08 10:07:13 +01:00
Al Viro 63f716b941 [PATCH] sh: lvalues abuse in arch/sh/boards/renesas/rts7751r2d/io.c
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:06:09 -05:00
Al Viro 6881761e63 [PATCH] m32r_sio iomem annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:05:47 -05:00
Al Viro 90f46a5845 [PATCH] mark HISAX_AMD7930 as broken
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:05:34 -05:00
Al Viro bf82a44949 [PATCH] type-safe min() in prism54
we do min() on u8 and small integer constant; cast the latter to u8.

Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:05:26 -05:00
Benjamin Herrenschmidt ac171c4666 [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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-02-07 22:05:14 -08:00
Al Viro 97fa5a664e [PATCH] s390 __get_user() bogus warnings removal
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:59 -05:00
Al Viro 8ef9cf3181 [PATCH] synclink_gt is PCI-only
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:50 -05:00
Al Viro e795638bb9 [PATCH] __user annotations in powerpc thread_info
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:36 -05:00
Al Viro 6fa2ffe901 [PATCH] fix iomem annotations in dart_iommu
it's int __iomem *, not int * __iomem...

Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:30 -05:00
Al Viro 793af24409 [PATCH] s390 misc __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:23 -05:00
Al Viro 6b2b4e5a26 [PATCH] compat_ioctl __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:04:01 -05:00
Al Viro d656101009 [PATCH] sn3 iomem annotations and fixes
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:52 -05:00
Al Viro 29e646df78 [PATCH] powerpc signal __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:46 -05:00
Al Viro 5b1a43d7df [PATCH] drivers/media/video __user annotations and fixes
* compat_alloc_user_space() returns __user pointer
* copying between two userland areas is copy_in_user(), not copy_from_user()
* dereferencing userland pointers is bad
* so's get_user() from local variables

... plus usual __user annotations

Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:39 -05:00
Al Viro de125bf395 [PATCH] powermac pci iomem annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:33 -05:00
Al Viro 24954a1418 [PATCH] s390x compat __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:26 -05:00
Al Viro 290f10ae42 [PATCH] mips: namespace pollution - mem_... -> __mem_... in io.h
A pile of internal functions use only inside mips io.h has names starting
with mem_... and clashing with names in drivers; renamed to __mem_....

Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:03:06 -05:00
Al Viro 034d2f5af1 [PATCH] arm: fix dependencies for MTD_XIP
MTD_XIP depends on having working asm/mtd-xip.h; it's not just per-architecture
(arm-only, as current Kconfig would have it), but actually per-subarch as
well.  Introduced a new symbol (ARCH_MTD_XIP) set by arch Kconfig; MTD_XIP
depends on it.

Signed-off-by: Al Viro <[email protected]>
2006-02-08 01:02:58 -05:00
Linus Torvalds 746f956beb Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2006-02-07 20:34:29 -08:00
Benjamin Herrenschmidt 367636e8a9 [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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-02-07 20:33:36 -08:00
Linus Torvalds fe69102188 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-02-07 20:32:13 -08:00
David S. Miller 0fc9b55606 [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 <[email protected]>
2006-02-07 18:12:34 -08:00
David S. Miller 1b9a428901 [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 <[email protected]>
2006-02-07 18:11:24 -08:00
Al Viro f30ac319f1 [PATCH] umount_tree() decrements mount count on wrong dentry
Signed-off-by: Al Viro <[email protected]>
2006-02-07 21:01:15 -05:00
Al Viro 8854eddbdb [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 (<[email protected]>,
AFAICS).

Signed-off-by: Al Viro <[email protected]>
2006-02-07 21:00:42 -05:00
Al Viro cc59853b4a [PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:59:01 -05:00
Al Viro e80e28b6b6 [PATCH] net/ipv6/mcast.c NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:56 -05:00
Al Viro bee14e1f8a [PATCH] __user annotations of video_spu_palette
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:50 -05:00
Al Viro dd42b15186 [PATCH] amd64 time.c __iomem annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:45 -05:00
Al Viro 1d0bd717c8 [PATCH] bogus extern in low_i2c.c
extern in function definition is an odd thing..

Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:39 -05:00
Al Viro d04e4e115b [PATCH] eeh_driver NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:33 -05:00
Al Viro 2d20eaf942 [PATCH] sg gfp_t annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:27 -05:00
Al Viro e5fb81bd89 [PATCH] scsi_transport_iscsi gfp_t annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:21 -05:00
Al Viro aaedd944d4 [PATCH] cmm NULL noise removal, __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:15 -05:00
Al Viro 6d57348d7d [PATCH] drivers/edac/i82875p_edac.c __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:09 -05:00
Al Viro be7ee9b2f5 [PATCH] fix __user annotations in drivers/base/memory.c
sysfs store doesn't deal with userland pointers

Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:58:04 -05:00
Al Viro 73a09e626b [PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:58 -05:00
Al Viro dad08dfc48 [PATCH] dvb NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:52 -05:00
Al Viro 4bb8089c86 [PATCH] kernel/sys.c NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:47 -05:00
Al Viro 53f087febf [PATCH] timer.c NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:42 -05:00
Al Viro 76edc6051e [PATCH] ipv4 NULL noise removal
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:37 -05:00
Al Viro e110ab94eb [PATCH] fix __user annotations in fs/select.c
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:31 -05:00
Al Viro 3023b438c4 [PATCH] missing include in ser_a2232
Signed-off-by: Al Viro <[email protected]>
2006-02-07 20:57:25 -05:00