commit cfe91f9ce297e23e6fbdf61c02bdd8ab9af7c8a8 tree 55ce8c6305fc70b1b544ce7365abd6054e9b5f61 parent d30864392823d5f38002fa32950689e651ee11da author Chuck Ebbert <76306.1226@compuserve.com> Fri, 17 Feb 2006 03:16:55 -0500 committer Linus Torvalds Fri, 17 Feb 2006 08:55:21 -0800 [PATCH] i386: fix singlestepping though a syscall Do not mask TIF_SINGLESTEP bit in _TIF_WORK_MASK. Masking this stopped do_notify_resume() from being called when it should have been. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit d30864392823d5f38002fa32950689e651ee11da tree a86d135ae9206890a925bb97ce8146af56d77ef3 parent 726c14bf499e91e7ede4f1728830aba05c675061 author Joshua Kinard Fri, 17 Feb 2006 03:52:25 +0000 committer Linus Torvalds Fri, 17 Feb 2006 08:53:58 -0800 [PATCH] Fix SGI O2 compile error in drivers/video/gbefb.c A sysfs function call uses the wrong parameter, and thus breaks a build on SGI O2. CC drivers/video/gbefb.o drivers/video/gbefb.c: In function ‘gbefb_remove’: drivers/video/gbefb.c:1246: error: ‘dev’ undeclared (first use in this function) drivers/video/gbefb.c:1246: error: (Each undeclared identifier is reported only once drivers/video/gbefb.c:1246: error: for each function it appears in.) make[2]: *** [drivers/video/gbefb.o] Error 1 Signed-off-by: Joshua Kinard Signed-off-by: Antonino Daplas Signed-off-by: Martin Michlmayr Signed-off-by: Linus Torvalds commit 726c14bf499e91e7ede4f1728830aba05c675061 tree c9dfbc8f8fe7facc58e07e5699b6d97c41bd2b8e parent dd942ae331425812930cd01766178b7e28e65f2d author Paul Mackerras Fri, 17 Feb 2006 10:30:23 +1100 committer Linus Torvalds Fri, 17 Feb 2006 08:24:29 -0800 [PATCH] Provide an interface for getting the current tick length This provides an interface for arch code to find out how many nanoseconds are going to be added on to xtime by the next call to do_timer. The value returned is a fixed-point number in 52.12 format in nanoseconds. The reason for this format is that it gives the full precision that the timekeeping code is using internally. The motivation for this is to fix a problem that has arisen on 32-bit powerpc in that the value returned by do_gettimeofday drifts apart from xtime if NTP is being used. PowerPC is now using a lockless do_gettimeofday based on reading the timebase register and performing some simple arithmetic. (This method of getting the time is also exported to userspace via the VDSO.) However, the factor and offset it uses were calculated based on the nominal tick length and weren't being adjusted when NTP varied the tick length. Note that 64-bit powerpc has had the lockless do_gettimeofday for a long time now. It also had an extremely hairy routine that got called from the 32-bit compat routine for adjtimex, which adjusted the factor and offset according to what it thought the timekeeping code was going to do. Not only was this only called if a 32-bit task did adjtimex (i.e. not if a 64-bit task did adjtimex), it was also duplicating computations from kernel/timer.c and it wasn't clear that it was (still) correct. The simple solution is to ask the timekeeping code how long the current jiffy will be on each timer interrupt, after calling do_timer. If this jiffy will be a different length from the last one, we then need to compute new values for the factor and offset used in the lockless do_gettimeofday. In this way we can keep xtime and do_gettimeofday in sync, even when NTP is varying the tick length. Note that when adjtimex varies the tick length, it almost always introduces the variation from the next tick on. The only case I could see where adjtimex would vary the length of the current tick is when an old-style adjtime adjustment is being cancelled. (It's not clear to me why the adjustment has to be cancelled immediately rather than from the next tick on.) Thus I don't see any real need for a hook in adjtimex; the rare case of an old-style adjustment being cancelled can be fixed up at the next tick. Signed-off-by: Paul Mackerras Acked-by: john stultz Signed-off-by: Linus Torvalds commit dd942ae331425812930cd01766178b7e28e65f2d tree b513bcfa00c1fc0f78e06b7f4c8d999275b64dfb parent 759b650f54ed13e9b3d6c064c763a72ee09c74dd author Andi Kleen Fri, 17 Feb 2006 01:39:16 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:18:14 -0800 [PATCH] Handle all and empty zones when setting up custom zonelists for mbind The memory allocator doesn't like empty zones (which have an uninitialized freelist), so a x86-64 system with a node fully in GFP_DMA32 only would crash on mbind. Fix that up by putting all possible zones as fallback into the zonelist and skipping the empty ones. In fact the code always enough allocated space for all zones, but only used it for the highest. This change just uses all the memory that was allocated before. This should work fine for now, but whoever implements node hot removal needs to fix this somewhere else too (or make sure zone datastructures by itself never go away, only their memory) Signed-off-by: Andi Kleen Acked-by: Christoph Lameter Signed-off-by: Linus Torvalds commit 759b650f54ed13e9b3d6c064c763a72ee09c74dd tree 173f08e5432e169c00a40a4d2296d965fe8f9c22 parent 69454e6991091d0d6eb7461653f2695d985e1a74 parent 8f8b1138fc9f65e3591aac83a4ee394fef34ac1d author Linus Torvalds Fri, 17 Feb 2006 08:16:35 -0800 committer Linus Torvalds Fri, 17 Feb 2006 08:16:35 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 69454e6991091d0d6eb7461653f2695d985e1a74 tree 4b67b8a5a306f3f24dfc8f7c8d2883a0423e98c3 parent a5222049f3e26c21ecd65bfcc9b666d4c813933b parent dc7bf130b8552a218e2f3ea0b58268e469f335da author Linus Torvalds Fri, 17 Feb 2006 08:13:38 -0800 committer Linus Torvalds Fri, 17 Feb 2006 08:13:38 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit a5222049f3e26c21ecd65bfcc9b666d4c813933b tree f4474d66f0150b8dba8675b373a90d5509af9d75 parent 7054ec7f86cada917626c05fe461abccca816d3b parent d9db950cfa3d674ee834d980c329efdf8e4a0568 author Linus Torvalds Fri, 17 Feb 2006 08:13:11 -0800 committer Linus Torvalds Fri, 17 Feb 2006 08:13:11 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 7054ec7f86cada917626c05fe461abccca816d3b tree 5c5e0710e9bce24e6c8b720fc31cfbe6173fac1c parent 2aed711a399cbc4a9bf239c13f05a8a8b460f215 parent 0425a14213f373595bd23cacdc675f2b973a28d4 author Linus Torvalds Fri, 17 Feb 2006 08:12:08 -0800 committer Linus Torvalds Fri, 17 Feb 2006 08:12:08 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 2aed711a399cbc4a9bf239c13f05a8a8b460f215 tree 4df37199d4383107573b0cf3bf406590c3e81bfd parent fdb9df942437c6c5d1a6928d5fff824466c3af67 author Andi Kleen Thu, 16 Feb 2006 23:42:16 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:41 -0800 [PATCH] x86_64: Always pass full number of nodes to NUMA hash computation Previously the numa hash code would be confused by holes in the node space and stop early. This is the first part of the fix for the non boot issue with empty nodes on Opterons. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit fdb9df942437c6c5d1a6928d5fff824466c3af67 tree b9f357f5f563a444dde16f1ffbf9bc503a55b9c6 parent 6574ffd74b03e35026f428a2c820e6ddf45d426c author Andi Kleen Thu, 16 Feb 2006 23:42:13 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:41 -0800 [PATCH] x86_64: Relax SRAT covers all memory check a bit Code was refusing good SRATs because about 12K got lost somewhere. Allow less than 1MB of difference before rejecting it. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6574ffd74b03e35026f428a2c820e6ddf45d426c tree 5e02a440a8499d0ac8e41a9dd7d4e74dbbe1ea19 parent 7fd67843b96f90f59c9a244a1bc25137978a3ff9 author Andi Kleen Thu, 16 Feb 2006 23:42:10 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Resolve the RIP of an early exception using kallsyms But do it after everything else to risk less from recursive crashes. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7fd67843b96f90f59c9a244a1bc25137978a3ff9 tree 600a7951745cc67f36075e5d60c30bd5ea842112 parent ab68805955ee3dd84a6aa76cd70e61fde996968d author Andi Kleen Thu, 16 Feb 2006 23:42:07 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Disable tsc when apicpmtimer is active Otherwise it has no effect anyways. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ab68805955ee3dd84a6aa76cd70e61fde996968d tree abeaadcc28a6d60ca31fe85a732ace6a6df1232e parent 2391c4b594eb28abd58102de8f4e5d7a4fa39f4c author Andi Kleen Thu, 16 Feb 2006 23:42:04 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Don't enable ATI apicmaintimer workaround when the machine has C2 or C3 Many laptops have problems with ticking the local APIC timer in C2/C3. The code added earlier to use it by default on ATI didn't really work for them. Don't enable it when the system supports C2/C3. This doesn't fix the problem fully, but at least it's not worse than before. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2391c4b594eb28abd58102de8f4e5d7a4fa39f4c tree 0f39ddc11525a757d55e4f02f15377acc035aca9 parent a62eaf151d9cb478d127cfbc2e93c498869785b0 author Andi Kleen Thu, 16 Feb 2006 23:42:01 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Don't call do_exit with interrupts disabled after IRET exception This caused a sigreturn with bad argument on a preemptible kernel to complain with Debug: sleeping function called from invalid context at /home/lsrc/quilt/linux/include/linux/rwsem.h:43 in_atomic():0, irqs_disabled():1 Call Trace: {__might_sleep+190} {profile_task_exit+21} {__do_exit+34} {do_wait+0} Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit a62eaf151d9cb478d127cfbc2e93c498869785b0 tree b13d62257ada7e0a9d37fdc9a69a7afa6f028b30 parent 99019e919969be88e7e4042f3afa296bd55ad9ec author Andi Kleen Thu, 16 Feb 2006 23:41:58 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Add boot option to disable randomized mappings and cleanup AMD SimNow!'s JIT doesn't like them at all in the guest. For distribution installation it's easiest if it's a boot time option. Also I moved the variable to a more appropiate place and make it independent from sysctl And marked __read_mostly which it is. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 99019e919969be88e7e4042f3afa296bd55ad9ec tree 00252ca01f780abc5458f2a288f7bf3434e37924 parent e4444d1a3039354c388135073786efeb64d8ef0c author Jan Beulich Thu, 16 Feb 2006 23:41:55 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: make touch_nmi_watchdog() not touch impossible cpus' private data Along with that, also suppress the memory touching altogether when the watchdog is not running, to eliminate needless crosstalk. Plus ad a call to it to make things consistent (one could also consider removing the call in enable_timer_nmi_watchdog()). Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e4444d1a3039354c388135073786efeb64d8ef0c tree 771177d94ed6e979716554d4a1351d2680be9407 parent ab479995b191b4256183956c13caabb86331af8e author Andi Kleen Thu, 16 Feb 2006 23:41:52 +0100 committer Linus Torvalds Fri, 17 Feb 2006 08:00:40 -0800 [PATCH] x86_64: Update defconfig ... and enable 1394 by default. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d9db950cfa3d674ee834d980c329efdf8e4a0568 tree e30c8ce04b2de5d01df22bb30b25276eaa81d365 parent 6c0fa49b18b09ba9e69c0999f89bc38fad95d8a6 author Nicolas Pitre Thu, 16 Feb 2006 22:36:15 +0000 committer Russell King Thu, 16 Feb 2006 22:36:15 +0000 [ARM] 3339/1: ARM EABI: make unmuxed syscalls visible Patch from Nicolas Pitre With EABI the multiplex sys_ipc and sys_socketcall syscalls are unavailable and their support code even removed from the compiled kernel, and the new unmuxed syscalls must be used instead. Make those syscall numbers visible. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 6c0fa49b18b09ba9e69c0999f89bc38fad95d8a6 tree e5fe86ca5e8e4e4ad3b53f0b87f1cc644e9d940f parent 3dfaf7a68e275a1a6bee4861fdd61f911e6eb7a2 author Nicolas Pitre Thu, 16 Feb 2006 22:36:13 +0000 committer Russell King Thu, 16 Feb 2006 22:36:13 +0000 [ARM] 3338/1: old ABI compat: sys_socketcall Patch from Nicolas Pitre Commit 99595d0237926b5aba1fe4c844a011a1ba1ee1f8 forgot to intercept sys_socketcall as well. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3dfaf7a68e275a1a6bee4861fdd61f911e6eb7a2 tree 651a4d79de5e7032928290f103fd5d1ab4dc6d00 parent 7bbb79403163e047c6e333ff169db34e3c969e65 author Martin Michlmayr Thu, 16 Feb 2006 22:36:12 +0000 committer Russell King Thu, 16 Feb 2006 22:36:12 +0000 [ARM] 3337/1: Fix NSLU2 flash support according to window size configuration patch Patch from Martin Michlmayr ARM patch 3226/1 (IXP4xx runtime expansion bus window size configuration) forgot to update mach-ixp4xx/nslu2-setup.c which leads to the following compilation error. Update NSLU2 flash support following patch 3226/1. CC arch/arm/mach-ixp4xx/nslu2-setup.o arch/arm/mach-ixp4xx/nslu2-setup.c:30: error: ‘NSLU2_FLASH_BASE’ undeclared here (not in a function) arch/arm/mach-ixp4xx/nslu2-setup.c:31: error: ‘NSLU2_FLASH_SIZE’ undeclared here (not in a function) make[1]: *** [arch/arm/mach-ixp4xx/nslu2-setup.o] Error 1 make: *** [arch/arm/mach-ixp4xx] Error 2 Signed-off-by: Martin Michlmayr --- nslu2-setup.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Signed-off-by: Russell King commit 8f8b1138fc9f65e3591aac83a4ee394fef34ac1d tree 2c4d34391681cb5aa5ed8e5f2def1502a8a4b333 parent 6f6d75825dc49b082906b84537b4df28293c2977 author Ashok Raj Thu, 16 Feb 2006 14:01:48 -0800 committer Tony Luck Thu, 16 Feb 2006 14:10:50 -0800 [IA64] Count disabled cpus as potential hot-pluggable CPUs Minor updates to earlier patch. - Added to documentation to add ia64 as well. - Minor clarification on how to use disabled cpus - used plain max instead of max_t per Andew Morton. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit ab479995b191b4256183956c13caabb86331af8e tree 2ea790675933d907d6d6b549de22b940c6ce76b7 parent 26d451b603e754ded83f0e5becab2a78253ad100 parent f671c09bce88ea253d576c842f8f39d9a2a29028 author Linus Torvalds Thu, 16 Feb 2006 14:04:08 -0800 committer Linus Torvalds Thu, 16 Feb 2006 14:04:08 -0800 Merge branch 'upstream-linus' of git://oss.oracle.com/home/sourcebo/git/ocfs2 commit 26d451b603e754ded83f0e5becab2a78253ad100 tree 99209544823dbdb5735ae5f7234c83beea2f6a22 parent 90f9dd8f72773152b69042debd6b9ed6d224703a parent 65110b2168950a19cc78b5027ed18cb811fbdae8 author Linus Torvalds Thu, 16 Feb 2006 12:47:44 -0800 committer Linus Torvalds Thu, 16 Feb 2006 12:47:44 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 commit f671c09bce88ea253d576c842f8f39d9a2a29028 tree af1ddeb0a068ca869c4a74f8eef88e1d6aa825bb parent 745ae8ba29e729ec922393fa4d9448c385673599 author Kurt Hackel Tue, 14 Feb 2006 11:45:21 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:04:55 -0800 [PATCH] ocfs2: detach from heartbeat events before freeing mle Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 745ae8ba29e729ec922393fa4d9448c385673599 tree 280e0a766e5b008648942172517b491d6c585a39 parent 558c70c59b75a5a53ba496fe3bccea80a9e3e6fb author Mark Fasheh Thu, 09 Feb 2006 13:23:39 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:04:10 -0800 [PATCH] ocfs2: only checkpoint journal when asked to Disable automatic checkpointing of the journal - this is a relic from older ocfs2 days. Worth quite a bit of performance on longer running single node tests. Signed-off-by: Mark Fasheh commit 558c70c59b75a5a53ba496fe3bccea80a9e3e6fb tree 4120f862eda3b1141fb29e07febaddb568f8c297 parent 44465a7daf7c4e34199b2b0ebb3c5101619dcb9d author Kurt Hackel Wed, 18 Jan 2006 17:07:47 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:02:13 -0800 [PATCH] ocfs2: manually grant remote recovery lock * fix a hang in recovery that occurred in dlmlock_remote. the $RECOVERY lock was never moved to the granted queue even after getting DLM_NORMAL back from the master node. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 44465a7daf7c4e34199b2b0ebb3c5101619dcb9d tree ec10b2c1a93a41b16abeb1535c25944c628b447c parent e2b5e4506f5c5187b91d7a79fbad28fe3ebd2fc5 author Kurt Hackel Wed, 18 Jan 2006 17:05:38 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:01:38 -0800 [PATCH] ocfs2: add dlm_wait_for_node_death * add dlm_wait_for_node_death function to be used after receiving a network error. this will wait for the given timeout to allow the heartbeat callbacks to update the domain map. without this, some paths may spin and consume enough cpu that the heartbeat gets starved and never updates. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit e2b5e4506f5c5187b91d7a79fbad28fe3ebd2fc5 tree 4a00cffdfa93009639da2f3edfc5c9797f33608e parent 898efface1a5076cbae5af87b935212b1869971b author Kurt Hackel Wed, 18 Jan 2006 17:02:56 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:00:48 -0800 [PATCH] ocfs2: fix release of ast never reserved * fix a bug in dlm_convert_lock_handler where dlm_lockres_release_ast was being called even if no ast was ever reserved Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 898efface1a5076cbae5af87b935212b1869971b tree 7d8cf71f88238ccdcc2fc537087dbe3643815470 parent 90f9dd8f72773152b69042debd6b9ed6d224703a author Kurt Hackel Wed, 18 Jan 2006 17:01:25 -0800 committer Mark Fasheh Thu, 16 Feb 2006 12:00:16 -0800 [PATCH] ocfs2: recheck recovery state after getting lock * after successfully taking the $RECOVERY lock in EX mode, recheck to make sure that recovery has not already begun or completed on another node Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 6f6d75825dc49b082906b84537b4df28293c2977 tree f695ee2c9f493d4b67cc932f281753c9a4373caa parent 72166c35f0e15e5081e51304de48e73f8fdf5498 author Jack Steiner Wed, 15 Feb 2006 19:46:50 -0600 committer Tony Luck Thu, 16 Feb 2006 10:20:08 -0800 [IA64] Missing check for TIF_WORK if trace/audit enabled It appears that if auditing is enabled, the kernel fails to check for pending signals before returning to user mode. Signed-off-by: Jack Steiner Acked-by: Ken Chen Signed-off-by: Tony Luck commit 0425a14213f373595bd23cacdc675f2b973a28d4 tree e575c9628b9aaf847469875aecec92afa6de8e47 parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Russell King Thu, 16 Feb 2006 16:48:31 +0000 committer Russell King Thu, 16 Feb 2006 16:48:31 +0000 [MMC] mmci: allow small data transfers If a data transfer is small (less than a FIFO size) we would hang waiting for the data to be read due to the PIO interrupt not occuring. We allowed for this in our PIO interrupt handler, but not when setting up a data transfer. Apply the "fix" when setting up a data transfer as well. Signed-off-by: Russell King commit 90f9dd8f72773152b69042debd6b9ed6d224703a tree 36a122a5672e0bb5f8f77e19619954f6073985b3 parent d89b8f40fca43cab829fea5c0e7d3951db2fb4bd author NeilBrown Thu, 16 Feb 2006 14:43:01 +1100 committer Linus Torvalds Thu, 16 Feb 2006 08:45:50 -0800 [PATCH] Fix over-zealous tag clearing in radix_tree_delete If a tag is set for a node being deleted from a radix_tree, then that tag gets cleared from the parent of the node, even if it is set for some siblings of the node begin deleted. This patch changes the logic to include a test for any_tag_set similar to the logic a little futher down. Care is taken to ensure that 'nr_cleared_tags' remains equals to the number of entries in the 'tags' array which are set to '0' (which means that this tag is not set in the tree below pathp->node, and should be cleared at pathp->node and possibly above. [ Nick says: "Linus FYI, I was able to modify the radix tree test harness to catch the bug and can no longer trigger it after the fix. Resulting code passes all other harness tests as well of course." ] Signed-off-by: Neil Brown Acked-by: Nick Piggin Signed-off-by: Linus Torvalds commit 7bbb79403163e047c6e333ff169db34e3c969e65 tree 423e32c02baa1d61085c67865d11a448db34857a parent ba09cf2bcf9b74d852dcb5ea957ac6af2bc0e057 author Russell King Thu, 16 Feb 2006 11:08:09 +0000 committer Russell King Thu, 16 Feb 2006 11:08:09 +0000 [ARM] Fix SMP initialisation oops A change to the SMP initialisation caused the following oops: CPU1: Booted secondary processor CPU1: D VIPT write-back cache CPU1: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets CPU1: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets <7>Calibrating delay loop... 83.14 BogoMIPS (lpj=415744) <1>Unable to handle kernel NULL pointer dereference at virtual address 0000001c ... PC is at enqueue_task+0x1c/0x64 LR is at activate_task+0xcc/0xe4 SMP initialisation now requires cpu_possible_map to be initialised in setup_arch(). Move this from smp_prepare_cpus() to smp_init_cpus() and call it from our setup_arch() if CONFIG_SMP is enabled. Signed-off-by: Russell King commit d89b8f40fca43cab829fea5c0e7d3951db2fb4bd tree 7f40618ad5df75d0364de99527d362b909f7d62c parent 0b60afba5397a3e63264463cde49426d8dcb0de4 parent 02860ab6cd2c71dbe42fa70a65a97823c213635b author Linus Torvalds Wed, 15 Feb 2006 20:00:48 -0800 committer Linus Torvalds Wed, 15 Feb 2006 20:00:48 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input commit 0b60afba5397a3e63264463cde49426d8dcb0de4 tree 28be3921afff08fa3478afa5d84f36aaf18b1abf parent 61be6d660093edde709ed638c7e1c458bd88c941 parent 7c6de05884b9fcc7ef621e2ab198ba93d85f46aa author Linus Torvalds Wed, 15 Feb 2006 19:56:33 -0800 committer Linus Torvalds Wed, 15 Feb 2006 19:56:33 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 61be6d660093edde709ed638c7e1c458bd88c941 tree 984ccc2e1cb071951c7a54c0bbdd6d074cca4433 parent c8adb494a6df6b2be8e50a8dafd5bab231df3505 author Bjorn Helgaas Wed, 15 Feb 2006 15:17:43 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:22 -0800 [PATCH] mmconfig: add kernel parameter documentation Mention the "pci=nommconf" option in kernel-parameters.txt. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8adb494a6df6b2be8e50a8dafd5bab231df3505 tree e72592b1cf94a8018dfebd723870c6d8cf83f0ae parent d1db4ec86c7b1bf5b44d2ed3bf84a4bb53c33b1c author Andrew Morton Wed, 15 Feb 2006 15:17:42 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:22 -0800 [PATCH] swsusp: nuke noisy message I get about 88 squillion of these when suspending an old ad450nx server. Cc: Pavel Roskin Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1db4ec86c7b1bf5b44d2ed3bf84a4bb53c33b1c tree 66f8ce135645da89365410006a5dcdf0fa6a091d parent b2ee9dbfad14ba8e34a589d552ddc67300a26bec author Daniel Yeisley Wed, 15 Feb 2006 15:17:41 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:22 -0800 [PATCH] x86_64: early initialization of cpu_to_node The early initialization of cpu_to_node code as it is now only updates the cpu_to_node array, and does not update cpu_pda()->nodemember. This will cause numa_node_id() to return 0 on systems where CPU 0 is not on Node 0. This leads to a kernel panic in slab.c. I've tested the patch below on a 16 processor x86_64 ES7000-600 server, and no longer see the panic I saw with the original 2.6.16-rc3. Signed-off-by: Dan Yeisley Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2ee9dbfad14ba8e34a589d552ddc67300a26bec tree 64614faee4f35bb14e3de655f4b276ad14c0ccc5 parent 5f6164f3092832e0d9b12eed52e09a76bf39c64a author Roman Zippel Wed, 15 Feb 2006 15:17:40 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:22 -0800 [PATCH] hrtimer: fix multiple macro argument expansion For two macros the arguments were expanded twice, change them to inline functions to avoid it. Signed-off-by: Roman Zippel Acked-by: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f6164f3092832e0d9b12eed52e09a76bf39c64a tree 507043c3eafa00ad7241f1102c860e486f8dc544 parent 06fed33849c13af637c4d09e9ba27828fac9edd5 author Michael S. Tsirkin Wed, 15 Feb 2006 15:17:39 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:22 -0800 [PATCH] add asm-generic/mman.h Make new MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK consistent across all arches. The idea is to make it possible to use them portably even before distros include them in libc headers. Move common flags to asm-generic/mman.h Signed-off-by: Michael S. Tsirkin Cc: Roland Dreier Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06fed33849c13af637c4d09e9ba27828fac9edd5 tree 0dd2fa91503250edc94ec58b23fbb3e9ad6100f4 parent 651c29a17f7ea0204dacbc2a5042d57b1c9e2e37 author Paul Jackson Wed, 15 Feb 2006 15:17:38 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:21 -0800 [PATCH] cpuset: oops in exit on null cpuset fix Fix a latent bug in cpuset_exit() handling. If a task tried to allocate memory after calling cpuset_exit(), it oops'd in cpuset_update_task_memory_state() on a NULL cpuset pointer. So set the exiting tasks cpuset to the root cpuset instead of to NULL. A distro kernel hit this with an added kernel package that had just such a hook (allocating memory) in the exit code path. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 651c29a17f7ea0204dacbc2a5042d57b1c9e2e37 tree 38f2a6be82ceb75a42f217dd46bc033a613919ec parent 36cbbe5eb9857730768aa5f54ad94d69e0b2133d author Andrew Morton Wed, 15 Feb 2006 15:17:37 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:21 -0800 [PATCH] ide: touch softlockup detector during pio We're getting some softlockup false positives during heavy PIO operations. So poke the lockup detector. Cc: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36cbbe5eb9857730768aa5f54ad94d69e0b2133d tree 19b894c7ef1bcdfa519a5c9ad6d1a35f71e99578 parent 9f672004ab1a8094bec1785b39ac683ab9eebebc author Benjamin LaHaise Wed, 15 Feb 2006 15:17:35 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:21 -0800 [PATCH] kbuild: revert "fix make -jN with multiple targets with O=..." Commit 296e0855b0f9a4ec9be17106ac541745a55b2ce1: "kbuild: fix make -jN with multiple targets with O=..." causes a ~95% increase in build time for the kernel. Before: 4m21s after: 8m1.403s. Can we revert this until another approach is found? Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f672004ab1a8094bec1785b39ac683ab9eebebc tree 75fc630226b2401ed7d2b5d15c2b149f2645cfd6 parent 5ecfbae093f0c37311e89b29bfc0c9d586eace87 author Christian Trefzer Wed, 15 Feb 2006 15:17:34 -0800 committer Linus Torvalds Wed, 15 Feb 2006 15:32:21 -0800 [PATCH] neofb: avoid resetting display config on unblank (v2) There were two mistakes in the register-read-on-(un)blank approach. - First, without proper register (un)locking the value read back will always be zero, and this is what I missed entirely until just now. Due to this, the logic could not be verified at all and I tried some bogus checks which are completely stupid. - Second, the LCD status bit will always be set to zero when the backlight has been turned off. Reading the value back during unblank will disable the LCD unconditionally, regardless of the state it is supposed to be in, since we set it to zero beforehand. So this is what we do now: - create a new variable in struct neofb_par, and use that to determine whether to read back registers (initialized to true) - before actually blanking the screen, read back the register to sense any possible change made through Fn key combo - use proper neoUnlock() / neoLock() to actually read something - every call to neofb_blank() determines if we read back next time: blanking disables readback, unblanking (FB_BLANK_UNBLANK) enables it This should give us a nice and clean state machine. Has been thoroughly tested on a Dell Latitude CPiA / NM220 Chip docked to a C/Dock2 with attached CRT in all possible combinations of LCD/CRT on/off. I changed the config via Fn key, let the console blank, unblanked by keypress - works flawlessly. Signed-off-by: Christian Trefzer Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c6de05884b9fcc7ef621e2ab198ba93d85f46aa tree 0ed6f6709aa703691be1292d2cb1a60ab338bdec parent 763ecff1879b3877f57f20fc9e79599aef59359f author Yasuyuki Kozakai Wed, 15 Feb 2006 15:25:18 -0800 committer David S. Miller Wed, 15 Feb 2006 15:25:18 -0800 [NETFILTER]: nf_conntrack: Fix TCP/UDP HW checksum handling for IPv6 packet If skb->ip_summed is CHECKSUM_HW here, skb->csum includes checksum of actual IPv6 header and extension headers. Then such excess checksum must be subtruct when nf_conntrack calculates TCP/UDP checksum with pseudo IPv6 header. Spotted by Ben Skeggs. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 763ecff1879b3877f57f20fc9e79599aef59359f tree ac347004ebbc1778ffb3dae786d13ada023ecb98 parent 08857fa745ab6ce46601960d2774490e1cef2cff author Yasuyuki Kozakai Wed, 15 Feb 2006 15:24:15 -0800 committer David S. Miller Wed, 15 Feb 2006 15:24:15 -0800 [NETFILTER]: nf_conntrack: attach conntrack to locally generated ICMPv6 error Locally generated ICMPv6 errors should be associated with the conntrack of the original packet. Since the conntrack entry may not be in the hash tables (for the first packet), it must be manually attached. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 08857fa745ab6ce46601960d2774490e1cef2cff tree 8a7c4e341441bc5acc76f9fcf8b75de0086ff060 parent 7d3cdc6b554137a7a0534ce38b155a63a3117f27 author Yasuyuki Kozakai Wed, 15 Feb 2006 15:23:28 -0800 committer David S. Miller Wed, 15 Feb 2006 15:23:28 -0800 [NETFILTER]: nf_conntrack: attach conntrack to TCP RST generated by ip6t_REJECT TCP RSTs generated by the REJECT target should be associated with the conntrack of the original TCP packet. Since the conntrack entry is usually not is the hash tables, it must be manually attached. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7d3cdc6b554137a7a0534ce38b155a63a3117f27 tree af96ac02ab7884384e2a4e5ac62f8343ee0b463d parent deac0ccdb4da16b68539d75edecf26162de05150 author Yasuyuki Kozakai Wed, 15 Feb 2006 15:22:21 -0800 committer David S. Miller Wed, 15 Feb 2006 15:22:21 -0800 [NETFILTER]: nf_conntrack: move registration of __nf_ct_attach Move registration of __nf_ct_attach to nf_conntrack_core to make it usable for IPv6 connection tracking as well. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit deac0ccdb4da16b68539d75edecf26162de05150 tree ec79f4d4fa6f26b7a00fb5346c4d48f97867e246 parent 9c92d3486434e7310cb288587953e2dae4a79701 author Yasuyuki Kozakai Wed, 15 Feb 2006 15:21:31 -0800 committer David S. Miller Wed, 15 Feb 2006 15:21:31 -0800 [NETFILTER]: x_tables: fix dependencies of conntrack related modules NF_CONNTRACK_MARK is bool and depends on NF_CONNTRACK which is tristate. If a variable depends on NF_CONNTRACK_MARK and doesn't take care about NF_CONNTRACK, it can be y even if NF_CONNTRACK isn't y. NF_CT_ACCT have same issue, too. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9c92d3486434e7310cb288587953e2dae4a79701 tree 33bbc2088b4250339ea5f18f8eaad99ee6c34ab8 parent 48d5cad87c3a4998d0bda16ccfb5c60dfe4de5fb author Patrick McHardy Wed, 15 Feb 2006 15:18:19 -0800 committer David S. Miller Wed, 15 Feb 2006 15:18:19 -0800 [NETFILTER]: Don't invoke okfn in CONFIG_NETFILTER=n variant of nf_hook() nf_hook() is supposed to call the netfilter hook and return control of the packet back to the caller in case it may pass, the okfn is only used for queueing. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 72166c35f0e15e5081e51304de48e73f8fdf5498 tree 0515dfa0fc442f92ecbb9add2bc53ca86016a8d6 parent b05de01ae1c76b7d61da21bbcc26345bf7a9052f parent a6b14fa6fdc01ab3519c2729624f808677539b59 author Tony Luck Wed, 15 Feb 2006 15:17:57 -0800 committer Tony Luck Wed, 15 Feb 2006 15:17:57 -0800 Pull fix-cpu-possible-map into release branch commit b05de01ae1c76b7d61da21bbcc26345bf7a9052f tree fe5f3f24f79af12853f142f1545703b1abe69895 parent defbb2c929cbe89dc92239b303cd33d3c85e9a83 author Horms Wed, 15 Feb 2006 17:23:09 +0900 committer Tony Luck Wed, 15 Feb 2006 15:16:50 -0800 [IA64] support panic_on_oops sysctl Trivial port of this feature from i386 As it stands, panic_on_oops but does nothing on ia64 Signed-Off-By: Horms Signed-off-by: Tony Luck commit 48d5cad87c3a4998d0bda16ccfb5c60dfe4de5fb tree bfad91af72f4c522a44bab6133b540cda365d8c1 parent 5ecfbae093f0c37311e89b29bfc0c9d586eace87 author Patrick McHardy Wed, 15 Feb 2006 15:10:22 -0800 committer David S. Miller Wed, 15 Feb 2006 15:10:22 -0800 [XFRM]: Fix SNAT-related crash in xfrm4_output_finish When a packet matching an IPsec policy is SNATed so it doesn't match any policy anymore it looses its xfrm bundle, which makes xfrm4_output_finish crash because of a NULL pointer dereference. This patch directs these packets to the original output path instead. Since the packets have already passed the POST_ROUTING hook, but need to start at the beginning of the original output path which includes another POST_ROUTING invocation, a flag is added to the IPCB to indicate that the packet was rerouted and doesn't need to pass the POST_ROUTING hook again. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit defbb2c929cbe89dc92239b303cd33d3c85e9a83 tree 85dbcfa407d4bfaecbce4f3556a73033b8f70caf parent 4c2cd96696ae0896ce4bcf725b9f0eaffafeb640 author hawkes@sgi.com Tue, 14 Feb 2006 10:40:17 -0800 committer Tony Luck Wed, 15 Feb 2006 13:37:04 -0800 [IA64] ia64: simplify and fix udelay() The original ia64 udelay() was simple, but flawed for platforms without synchronized ITCs: a preemption and migration to another CPU during the while-loop likely resulted in too-early termination or very, very lengthy looping. The first fix (now in 2.6.15) broke the delay loop into smaller, non-preemptible chunks, reenabling preemption between the chunks. This fix is flawed in that the total udelay is computed to be the sum of just the non-premptible while-loop pieces, i.e., not counting the time spent in the interim preemptible periods. If an interrupt or a migration occurs during one of these interim periods, then that time is invisible and only serves to lengthen the effective udelay(). This new fix backs out the current flawed fix and returns to a simple udelay(), fully preemptible and interruptible. It implements two simple alternative udelay() routines: one a default generic version that uses ia64_get_itc(), and the other an sn-specific version that uses that platform's RTC. Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit 4c2cd96696ae0896ce4bcf725b9f0eaffafeb640 tree 12b7d967d677e8e8ea154b0b4ae957df6cc43e39 parent c2a4969ba14e852bf4ee92c7db3b0cf82405a0c9 author Dean Nelson Wed, 15 Feb 2006 08:02:21 -0600 committer Tony Luck Wed, 15 Feb 2006 13:35:03 -0800 [IA64-SGI] enforce proper ordering of callouts by XPC Fix XPC so that it does not deliver any messages until the connected callout has returned, as well as, prevent the disconnected callout to occur before the disconnecting callout has returned. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit c2a4969ba14e852bf4ee92c7db3b0cf82405a0c9 tree a79b5559260fb09525e764ab41366ff75f3f6677 parent 9c65cb9be62ac4993a5b392304b82e4f04f010fd author Dean Roe Tue, 14 Feb 2006 15:01:23 -0600 committer Tony Luck Wed, 15 Feb 2006 13:33:48 -0800 [IA64-SGI] fix the size of __sn_cnodeid_to_nasid The __sn_cnodeid_to_nasid array was incorrectly sized at MAX_NUMNODES. On a large system, this array could overflow. The following patch corrects this by defining it to MAX_COMPACT_NODES. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 9c65cb9be62ac4993a5b392304b82e4f04f010fd tree 7efde55ab0db2295060d63196238605498c4599f parent 26d10915de3030a55253dba3b2b145402cdf6429 author Mark Maule Tue, 14 Feb 2006 10:23:37 -0600 committer Tony Luck Wed, 15 Feb 2006 13:28:48 -0800 [IA64-SGI] export sn_pcidev_info_get Export sn_pcidev_info_get. Signed-off-by Mark Maule Signed-off-by: Tony Luck commit 26d10915de3030a55253dba3b2b145402cdf6429 tree f2e2861985d0f897ccbe2f8dcbbf5f5a9839d182 parent d3454344b3507042e5d561d0cfed19e99cf2fc88 author Jes Sorensen Mon, 13 Feb 2006 05:35:01 -0500 committer Tony Luck Wed, 15 Feb 2006 13:27:02 -0800 [IA64-SGI] remove compile time warning This one falls into the "present for Andrew Morton" category to address his wishlist for a compiler warning free build ;-) Signed-off-by: Tony Luck commit d3454344b3507042e5d561d0cfed19e99cf2fc88 tree 3dff5713282f454c5e73eb4b08d829cfa4cf9211 parent 8ed9b2c7a804335004e4bd3b4c6989c5b6bc243f author Jes Sorensen Mon, 13 Feb 2006 05:32:09 -0500 committer Tony Luck Wed, 15 Feb 2006 13:25:37 -0800 [IA64] remove obsolete corporate address Remove obsolete SGI address Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 8ed9b2c7a804335004e4bd3b4c6989c5b6bc243f tree f7420b3fe8ad59ad23707ccbfd7ccaef7abe2a70 parent 50d8e59038703c4da5acaed9afaa37ae416d3153 author Jes Sorensen Mon, 13 Feb 2006 05:29:57 -0500 committer Tony Luck Wed, 15 Feb 2006 13:24:45 -0800 [IA64-SGI] sn2 minor fixes and cleanups General SN2 code cleanup: - Do not initialize global variables to zero - Use kzalloc instead of kmalloc+memset - Check kmalloc return values - Do not obfuscate spin lock calls - Remove some unused code - Various formatting cleanups Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 50d8e59038703c4da5acaed9afaa37ae416d3153 tree ac5d60966f91e67b46b87ee85825c96a8650214e parent 5ecfbae093f0c37311e89b29bfc0c9d586eace87 author Andreas Schwab Sun, 12 Feb 2006 17:01:35 +0100 committer Tony Luck Wed, 15 Feb 2006 13:23:32 -0800 [IA64] Remove duplicate EXPORT_SYMBOLs Remove symbol exports from ia64_ksyms.c that are already exported in lib/string.c. Signed-off-by: Andreas Schwab Signed-off-by: Tony Luck commit 5ecfbae093f0c37311e89b29bfc0c9d586eace87 tree eabd0a145af64e26c900578c95175ab313828661 parent dadac81b1b86196fcc48fb87620403c4a7174f06 author Oleg Nesterov Wed, 15 Feb 2006 22:50:10 +0300 committer Linus Torvalds Wed, 15 Feb 2006 11:05:43 -0800 [PATCH] fix zap_thread's ptrace related problems 1. The tracee can go from ptrace_stop() to do_signal_stop() after __ptrace_unlink(p). 2. It is unsafe to __ptrace_unlink(p) while p->parent may wait for tasklist_lock in ptrace_detach(). Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Ingo Molnar Cc: Christoph Hellwig Cc: Eric W. Biederman Signed-off-by: Linus Torvalds commit dadac81b1b86196fcc48fb87620403c4a7174f06 tree fc19d44716915e55b237af3fb01a09f5be6d91c3 parent 3f17da699431ec48540beabc55c54d4b5e66c8e7 author Oleg Nesterov Wed, 15 Feb 2006 22:13:26 +0300 committer Linus Torvalds Wed, 15 Feb 2006 10:21:24 -0800 [PATCH] fix kill_proc_info() vs fork() theoretical race copy_process: attach_pid(p, PIDTYPE_PID, p->pid); attach_pid(p, PIDTYPE_TGID, p->tgid); What if kill_proc_info(p->pid) happens in between? copy_process() holds current->sighand.siglock, so we are safe in CLONE_THREAD case, because current->sighand == p->sighand. Otherwise, p->sighand is unlocked, the new process is already visible to the find_task_by_pid(), but have a copy of parent's 'struct pid' in ->pids[PIDTYPE_TGID]. This means that __group_complete_signal() may hang while doing do ... while (next_thread() != p) We can solve this problem if we reverse these 2 attach_pid()s: attach_pid() does wmb() group_send_sig_info() calls spin_lock(), which provides a read barrier. // Yes ? I don't think we can hit this race in practice, but still. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Ingo Molnar Signed-off-by: Linus Torvalds commit 3f17da699431ec48540beabc55c54d4b5e66c8e7 tree 0cc68e5daea5d4532a0225aa47cce193a32f6655 parent 7775aa7690c26b3c5606090a43533a7a7429eb91 author Oleg Nesterov Wed, 15 Feb 2006 22:13:24 +0300 committer Linus Torvalds Wed, 15 Feb 2006 10:21:23 -0800 [PATCH] fix kill_proc_info() vs CLONE_THREAD race There is a window after copy_process() unlocks ->sighand.siglock and before it adds the new thread to the thread list. In that window __group_complete_signal(SIGKILL) will not see the new thread yet, so this thread will start running while the whole thread group was supposed to exit. I beleive we have another good reason to place attach_pid(PID/TGID) under ->sighand.siglock. We can do the same for release_task()->__unhash_process() de_thread()->switch_exec_pids() After that we don't need tasklist_lock to iterate over the thread list, and we can simplify things, see for example do_sigaction() or sys_times(). Signed-off-by: Oleg Nesterov Cc: Roland McGrath Cc: Ingo Molnar Signed-off-by: Linus Torvalds commit 7775aa7690c26b3c5606090a43533a7a7429eb91 tree c7589a023107babbe88be1d03ab77c1838435629 parent 93544cc6486bea12e127ed58ca33477bb6ceafe6 parent 78872ccb68335b14f0d1ac7338ecfcbf1cba1df4 author Linus Torvalds Wed, 15 Feb 2006 08:49:23 -0800 committer Linus Torvalds Wed, 15 Feb 2006 08:49:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit ba09cf2bcf9b74d852dcb5ea957ac6af2bc0e057 tree 94b74c3ba4522b2ce38492a07c3cce051e7a4b7d parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Herbert Poetzl Wed, 15 Feb 2006 10:13:02 +0000 committer Russell King Wed, 15 Feb 2006 10:13:02 +0000 [ARM] remove duplicate #includes Signed-off-by: Herbert P?tzl Signed-off-by: Russell King commit dc7bf130b8552a218e2f3ea0b58268e469f335da tree d397922a0efcbeb14271063f4c15e31a94112096 parent a5f1e4edb3cdd90733893b8aec38fac5553db60a author Ralf Baechle Wed, 15 Feb 2006 09:59:47 +0000 committer Russell King Wed, 15 Feb 2006 09:59:47 +0000 [SERIAL] Fix typo in comment Signed-off-by: Ralf Baechle Signed-off-by: Russell King commit a5f1e4edb3cdd90733893b8aec38fac5553db60a tree 72f54a041b846ce0c2e3072bceb00259dc627caa parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Arthur Othieno Wed, 15 Feb 2006 09:52:46 +0000 committer Russell King Wed, 15 Feb 2006 09:52:46 +0000 [SERIAL] Documentation/jsm.txt is a no show. In kernel bugzilla #5176 (http://bugzilla.kernel.org/show_bug.cgi?id=5176) Harry R\374ter points out Documentation/jsm.txt is missing. No one at Digi seems to care, so just remove the stale reference. Signed-off-by: Arthur Othieno Signed-off-by: Russell King commit 78872ccb68335b14f0d1ac7338ecfcbf1cba1df4 tree 20f39c4cddd8f4d461977dc0ed334e61b6c1d431 parent ee68cea2c26b7a8222f9020f54d22c6067011e8b author Adrian Drzewiecki Wed, 15 Feb 2006 01:47:48 -0800 committer David S. Miller Wed, 15 Feb 2006 01:47:48 -0800 [BRIDGE]: Fix deadlock in br_stp_disable_bridge Looks like somebody forgot to use the _bh spin_lock variant. We ran into a deadlock where br->hello_timer expired while br_stp_disable_br() walked br->port_list. Signed-off-by: Adrian Drzewiecki Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit ee68cea2c26b7a8222f9020f54d22c6067011e8b tree e99b13be0392532d17a133fe6b9e7edb0a7a4de9 parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Patrick McHardy Wed, 15 Feb 2006 01:34:23 -0800 committer David S. Miller Wed, 15 Feb 2006 01:34:23 -0800 [NETFILTER]: Fix xfrm lookup after SNAT To find out if a packet needs to be handled by IPsec after SNAT, packets are currently rerouted in POST_ROUTING and a new xfrm lookup is done. This breaks SNAT of non-unicast packets to non-local addresses because the packet is routed as incoming packet and no neighbour entry is bound to the dst_entry. In general, it seems to be a bad idea to replace the dst_entry after the packet was already sent to the output routine because its state might not match what's expected. This patch changes the xfrm lookup in POST_ROUTING to re-use the original dst_entry without routing the packet again. This means no policy routing can be used for transport mode transforms (which keep the original route) when packets are SNATed to match the policy, but it looks like the best we can do for now. Signed-off-by: Patrick McHardy Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 02860ab6cd2c71dbe42fa70a65a97823c213635b tree 8072d525113f842022da1f006600c27ef55db267 parent d93f70b2d758e79ee4ac9d6d982e3f532453911f author Arthur Othieno Wed, 15 Feb 2006 00:49:48 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:49:48 -0500 Input: kill remnants of 98kbd{,-io} and 98spkr 98kbd{,-io} and 98spkr all went out with PC98 subarch. Remove stale Makefile entries that remained. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit d93f70b2d758e79ee4ac9d6d982e3f532453911f tree e750009a833dae745e4c5a93997454c7a1228130 parent a90f7e98b7df3309ebc0e389076990456db20989 author David Brownell Wed, 15 Feb 2006 00:49:35 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:49:35 -0500 Input: ads7846 - assorted updates This updates the ads7846 touchscreen driver: - to allow faster clocking (this driver doesn't push sample rates); - bugfixes the conversion of spi_transfer to lists; - some dma-unsafe command buffers are fixed. Signed-off-by: David Brownell Signed-off-by: Dmitry Torokhov commit a90f7e98b7df3309ebc0e389076990456db20989 tree 98b22f5a6262a0a00772f6f7a2659507327db572 parent b8044c74bcd64bd1a9d2e8cec58fdcd40f16f5a4 author Dmitry Torokhov Wed, 15 Feb 2006 00:49:22 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:49:22 -0500 Input: ads7846 - convert to to dynamic input_dev allocation Signed-off-by: Dmitry Torokhov commit b8044c74bcd64bd1a9d2e8cec58fdcd40f16f5a4 tree e43dd609208393e6cac2e5b9a450daee7dbf37f8 parent 50f6dde0ad05ee4ee8450feb731b15b716115c4d author Dmitry Torokhov Wed, 15 Feb 2006 00:49:09 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:49:09 -0500 Input: trackpoint - enable devices connected to external port Signed-off-by: Dmitry Torokhov commit 50f6dde0ad05ee4ee8450feb731b15b716115c4d tree 3f3d6a2d958a91c210d5300df7baaef30c0ca0b7 parent a09d31ff762a3671f2ae41b3bca50a100c5e4da6 author Meelis Roos Wed, 15 Feb 2006 00:48:58 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:48:58 -0500 Input: logips2pp - add new signature (99) Add Logitech mouse type 99 (Premium Optical Wheel Mouse, model M-BT58, plain 3 buttons + wheel) to cure the following message: logips2pp: Detected unknown logitech mouse model 99 Signed-off-by: Meelis Roos Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit a09d31ff762a3671f2ae41b3bca50a100c5e4da6 tree ad4f8cc4cd0f795bb119ccbd222414595bc358f1 parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Alessandro Zummo Wed, 15 Feb 2006 00:48:40 -0500 committer Dmitry Torokhov Wed, 15 Feb 2006 00:48:40 -0500 Input: ixp4xx-beeper - fix compile error Signed-off-by: Alessandro Zummo Signed-off-by: Dmitry Torokhov commit 93544cc6486bea12e127ed58ca33477bb6ceafe6 tree 94eda2f741603fbf350bb8849b3291920d991d52 parent 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd author Steve French Tue, 14 Feb 2006 22:30:52 -0600 committer Linus Torvalds Tue, 14 Feb 2006 19:46:25 -0800 [PATCH] CIFS: fix cifs_user_read oops when null SMB response on forcedirectio mount This patch fixes an oops reported by Adrian Bunk in cifs_user_read when a null read response is returned on a forcedirectio mount. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French Signed-off-by: Linus Torvalds commit 10ee39fe3ff618d274e1cd0f6abbc2917b736bfd tree 8479297b76b427b713ac18a96911ef9ec09f7b33 parent e2fbf1ace5cfefdd192f29fd4a027422f567c62d author Christian Trefzer Tue, 14 Feb 2006 13:53:26 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] neofb: avoid resetting display config on unblank Fix issues with the NeoMagic framebuffer driver. It nicely complements my previous fix already in linus' tree. The only thing missing now is that the external CRT will not be activated at neofb init when external-only is selected, either by register read or module/kernel parameter. Testing was done on a Dell Latitude CPi-A/NM2200 chip. Previous behaviour: - before booting linux, set the preferred display config X via FN+F8 - boot linux, neofb stores the register values in a private variable - change the display config to Y via keystroke - leave the machine in peace until display is blanked - touching any key will result in display config X being restored - booting up, the BIOS will acknowledge config Y, though... Current behaviour: At the time of unblanking, config Y is honoured because we now read back register contents instead of just overwriting them with outdated values. Signed-off by: Christian Trefzer Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2fbf1ace5cfefdd192f29fd4a027422f567c62d tree d82d72e4b3f2966e926dd346d3f79a14e747242c parent 581141cb4b10ebd865dcb7b80f5e712e2def5408 author Thomas Meyer Tue, 14 Feb 2006 13:53:21 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] x86: gitignore some autogenerated files for i386 Add some more gitignore files for i386 architecture. This files are created during the build process of a i386 kernel. Signed-off-by: Thomas Meyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 581141cb4b10ebd865dcb7b80f5e712e2def5408 tree cd9c6e4ac3c53196586f1246439e417410b90a4f parent 28baebae73c3ea8b75c7cae225a7db817ab825a9 author Albert D. Cahalan Tue, 14 Feb 2006 13:53:20 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] x86: document sysenter path This path isn't obvious. It looks as if the kernel will be taking three args from the user stack, but it only takes one from there. Signed-off-by: Albert Cahalan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28baebae73c3ea8b75c7cae225a7db817ab825a9 tree 940476b4d03b96480d451b7b5b6f3df3f0ff18dc parent 68f624fc8b9fa50de9cc0ebd612ef7b7b9fa32d0 author David Howells Tue, 14 Feb 2006 13:53:20 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] FRV: Use virtual interrupt disablement Make the FRV arch use virtual interrupt disablement because accesses to the processor status register (PSR) are relatively slow and because we will soon have the need to deal with multiple interrupt controls at the same time (separate h/w and inter-core interrupts). The way this is done is to dedicate one of the four integer condition code registers (ICC2) to maintaining a virtual interrupt disablement state whilst inside the kernel. This uses the ICC2.Z flag (Zero) to indicate whether the interrupts are virtually disabled and the ICC2.C flag (Carry) to indicate whether the interrupts are physically disabled. ICC2.Z is set to indicate interrupts are virtually disabled. ICC2.C is set to indicate interrupts are physically enabled. Under normal running conditions Z==0 and C==1. Disabling interrupts with local_irq_disable() doesn't then actually physically disable interrupts - it merely sets ICC2.Z to 1. Should an interrupt then happen, the exception prologue will note ICC2.Z is set and branch out of line using one instruction (an unlikely BEQ). Here it will physically disable interrupts and clear ICC2.C. When it comes time to enable interrupts (local_irq_enable()), this simply clears the ICC2.Z flag and invokes a trap #2 if both Z and C flags are clear (the HI integer condition). This can be done with the TIHI conditional trap instruction. The trap then physically reenables interrupts and sets ICC2.C again. Upon returning the interrupt will be taken as interrupts will then be enabled. Note that whilst processing the trap, the whole exceptions system is disabled, and so an interrupt can't happen till it returns. If no pending interrupt had happened, ICC2.C would still be set, the HI condition would not be fulfilled, and no trap will happen. Saving interrupts (local_irq_save) is simply a matter of pulling the ICC2.Z flag out of the CCR register, shifting it down and masking it off. This gives a result of 0 if interrupts were enabled and 1 if they weren't. Restoring interrupts (local_irq_restore) is then a matter of taking the saved value mentioned previously and XOR'ing it against 1. If it was one, the result will be zero, and if it was zero the result will be non-zero. This result is then used to affect the ICC2.Z flag directly (it is a condition code flag after all). An XOR instruction does not affect the Carry flag, and so that bit of state is unchanged. The two flags can then be sampled to see if they're both zero using the trap (TIHI) as for the unconditional reenablement (local_irq_enable). This patch also: (1) Modifies the debugging stub (break.S) to handle single-stepping crossing into the trap #2 handler and into virtually disabled interrupts. (2) Removes superseded fixup pointers from the second instructions in the trap tables (there's no a separate fixup table for this). (3) Declares the trap #3 vector for use in .org directives in the trap table. (4) Moves irq_enter() and irq_exit() in do_IRQ() to avoid problems with virtual interrupt handling, and removes the duplicate code that has now been folded into irq_exit() (softirq and preemption handling). (5) Tells the compiler in the arch Makefile that ICC2 is now reserved. (6) Documents the in-kernel ABI, including the virtual interrupts. (7) Renames the old irq management functions to different names. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68f624fc8b9fa50de9cc0ebd612ef7b7b9fa32d0 tree 2e25482dd6a482ccf1378d2b01b863f99603bab5 parent 06027bdd278a32a84b273e41db68a5db8ffd2bb6 author David Howells Tue, 14 Feb 2006 13:53:18 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] FRV: Miscellaneous fixes Make various alterations and fixes to the FRV arch: (1) Resyncs the FRV system call collection with the i386 arch. (2) Discards __iounmap() as it's not used. (3) Fixes the use of the SWAP/SWAPI instruction to get the arguments the right way around in atomic.h, and also to get the asm constraints correct. (4) Moves copy_to/from_user_page() to asm/cacheflush.h to be consistent with other archs. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06027bdd278a32a84b273e41db68a5db8ffd2bb6 tree d22c98848c3964104fc5c617da60c14af5b4a1f0 parent e35a6619e7be59aa38249346327c89207663bb37 author Ingo Molnar Tue, 14 Feb 2006 13:53:15 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] hrtimer: round up relative start time on low-res arches CONFIG_TIME_LOW_RES is a temporary way for architectures to signal that they simply return xtime in do_gettimeoffset(). In this corner-case we want to round up by resolution when starting a relative timer, to avoid short timeouts. This will go away with the GTOD framework. Signed-off-by: Ingo Molnar Cc: Roman Zippel Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e35a6619e7be59aa38249346327c89207663bb37 tree 937b4ef45b317dd1b6854c9c5682af3ddeb55faf parent 5a1342f77304da8dc698e0ecf09925438764d80f author Heiko Carstens Tue, 14 Feb 2006 13:53:14 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] s390: fix __delay implementation Fix __delay implementation. Called with an argument "1" or "0" it would loop nearly forever (since (1/2)-1 = 0xffffffff). Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a1342f77304da8dc698e0ecf09925438764d80f tree d9370a39cda0c855fadacfb80611a6e0a2988595 parent d6077cb80cde4506720f9165eba99ee07438513f author Adrian Bunk Tue, 14 Feb 2006 13:53:10 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:35 -0800 [PATCH] fix a typo in the CPU_H8300H dependencies Jean-Luc Leger found this obvious typo. Signed-off-by: Adrian Bunk Cc: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6077cb80cde4506720f9165eba99ee07438513f tree f4462e51cf0a14a113c0c524711636c8429424bb parent f822566165dd46ff5de9bf895cfa6c51f53bb0c4 author Chen, Kenneth W Tue, 14 Feb 2006 13:53:10 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] sched: revert "filter affine wakeups" Revert commit d7102e95b7b9c00277562c29aad421d2d521c5f6: [PATCH] sched: filter affine wakeups Apparently caused more than 10% performance regression for aim7 benchmark. The setup in use is 16-cpu HP rx8620, 64Gb of memory and 12 MSA1000s with 144 disks. Each disk is 72Gb with a single ext3 filesystem (courtesy of HP, who supplied benchmark results). The problem is, for aim7, the wake-up pattern is random, but it still needs load balancing action in the wake-up path to achieve best performance. With the above commit, lack of load balancing hurts that workload. However, for workloads like database transaction processing, the requirement is exactly opposite. In the wake up path, best performance is achieved with absolutely zero load balancing. We simply wake up the process on the CPU that it was previously run. Worst performance is obtained when we do load balancing at wake up. There isn't an easy way to auto detect the workload characteristics. Ingo's earlier patch that detects idle CPU and decide whether to load balance or not doesn't perform with aim7 either since all CPUs are busy (it causes even bigger perf. regression). Revert commit d7102e95b7b9c00277562c29aad421d2d521c5f6, which causes more than 10% performance regression with aim7. Signed-off-by: Ken Chen Acked-by: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f822566165dd46ff5de9bf895cfa6c51f53bb0c4 tree e052f406d5a14140d17f76dc8914d33bbc8e5f1d parent 8861da31e3b3e3df7b05e7b157230de3d486e53b author Michael S. Tsirkin Tue, 14 Feb 2006 13:53:08 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] madvise MADV_DONTFORK/MADV_DOFORK Currently, copy-on-write may change the physical address of a page even if the user requested that the page is pinned in memory (either by mlock or by get_user_pages). This happens if the process forks meanwhile, and the parent writes to that page. As a result, the page is orphaned: in case of get_user_pages, the application will never see any data hardware DMA's into this page after the COW. In case of mlock'd memory, the parent is not getting the realtime/security benefits of mlock. In particular, this affects the Infiniband modules which do DMA from and into user pages all the time. This patch adds madvise options to control whether memory range is inherited across fork. Useful e.g. for when hardware is doing DMA from/into these pages. Could also be useful to an application wanting to speed up its forks by cutting large areas out of consideration. Signed-off-by: Michael S. Tsirkin Acked-by: Hugh Dickins Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8861da31e3b3e3df7b05e7b157230de3d486e53b tree 15b8874fbad4dc1170f64cd8a5be7df4eced9686 parent 61b9a26ae6d308ade964db122e0e89299586422c author Jim Keniston Tue, 14 Feb 2006 13:53:06 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] kprobes: Update Documentation/kprobes.txt Update Documentation/kprobes.txt to reflect Kprobes enhancements and other recent developments. Acked-by: Ananth Mavinakayanahalli Signed-off-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b9a26ae6d308ade964db122e0e89299586422c tree c44154348b93b8ab95772b482f43ae4274b1f977 parent 8b09fb34513225d87d511c7e8f29c0fd3cf860e0 author Karsten Keil Tue, 14 Feb 2006 13:53:06 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] Fix NULL pointer dereference in isdn_tty_at_cout The changes in the tty related code introduced wrong parenthesis in a if condition in the isdn_tty_at_cout function. This caused access to index -1 in the dev->drv[] array. This patch change it back to the correct condition from the previous versions. Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b09fb34513225d87d511c7e8f29c0fd3cf860e0 tree 3742919b1f14cd0edd2c6584703ebcc8b9ff134e parent 5ac5f9d1ce8492163dbde5d357dc5d03becf7e36 author James Bottomley Tue, 14 Feb 2006 13:53:05 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] fix x86 topology export in sysfs for subarchitectures The correct way to export hyperthreading based functions is to predicate them on CONFIG_X86_HT. Without this, the topology exporting patch breaks the build on all non-PC x86 subarchitectures. Signed-off-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac5f9d1ce8492163dbde5d357dc5d03becf7e36 tree 3ce7f36c074e37dd565b91490582c4a4902f2b18 parent 7c8903f6373f9abecf060bad53ca36bc4ac037f2 author Trond Myklebust Tue, 14 Feb 2006 13:53:04 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] NLM: Fix the NLM_GRANTED callback checks If 2 threads attached to the same process are blocking on different locks on different files (maybe even on different servers) but have the same lock arguments (i.e. same offset+length - actually quite common, since most processes try to lock the entire file) then the first GRANTED call that wakes one up will also wake the other. Currently when the NLM_GRANTED callback comes in, lockd walks the list of blocked locks in search of a match to the lock that the NLM server has granted. Although it checks the lock pid, start and end, it fails to check the filehandle and the server address. By checking the filehandle and server IP address, we ensure that this only happens if the locks truly are referencing the same file. Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c8903f6373f9abecf060bad53ca36bc4ac037f2 tree 473644b1f2999e3e516cd4f55a3535d9bb29595d parent be5efffb762fa4a7b9a7a45ebf34b13e3bf5a2d8 author Mark Fasheh Tue, 14 Feb 2006 13:53:03 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] jbd: revert checkpoint list changes This patch reverts commit f93ea411b73594f7d144855fd34278bcf34a9afc: [PATCH] jbd: split checkpoint lists This broke journal_flush() for OCFS2, which is its method of being sure that metadata is sent to disk for another node. And two related commits 8d3c7fce2d20ecc3264c8d8c91ae3beacdeaed1b and 43c3e6f5abdf6acac9b90c86bf03f995bf7d3d92 with the subjects: [PATCH] jbd: log_do_checkpoint fix [PATCH] jbd: remove_transaction fix These seem to be incremental bugfixes on the original patch and as such are no longer needed. Signed-off-by: Mark Fasheh Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be5efffb762fa4a7b9a7a45ebf34b13e3bf5a2d8 tree b5bf63cab3daf805c89d8a3438b19bd96964d64c parent da965822abd18a17d7cffe1d511f48951c82dfb6 author Bjorn Helgaas Tue, 14 Feb 2006 13:53:02 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:34 -0800 [PATCH] HPET: handle multiple ACPI EXTENDED_IRQ resources When the _CRS for a single HPET contains multiple EXTENDED_IRQ resources, we overwrote hdp->hd_nirqs every time we found one. So the driver worked when all the IRQs were described in a single EXTENDED_IRQ resource, but failed when multiple resources were used. (Strictly speaking, I think the latter is actually more correct, but both styles have been used.) Someday we should remove all the ACPI stuff from hpet.c and use PNP driver registration instead. But currently PNP_MAX_IRQ is 2, and HPETs often have more IRQs. Hint, hint, Adam :-) Signed-off-by: Bjorn Helgaas Acked-by: Bob Picco Cc: Venkatesh Pallipadi Cc: Len Brown Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da965822abd18a17d7cffe1d511f48951c82dfb6 tree b5a64fd33374661dbc689d3192a5c9134b3672e5 parent 16bf134840da3920ded1290973c56ec214636f12 author Paul Fulghum Tue, 14 Feb 2006 13:53:00 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] tty reference count fix Fix hole where tty structure can be released when reference count is non zero. Existing code can sleep without tty_sem protection between deciding to release the tty structure (setting local variables tty_closing and otty_closing) and setting TTY_CLOSING to prevent further opens. An open can occur during this interval causing release_dev() to free the tty structure while it is still referenced. This should fix bugzilla.kernel.org [Bug 6041] New: Unable to handle kernel paging request In Bug 6041, tty_open() oopes on accessing the tty structure it has successfully claimed. Bug was on SMP machine with the same tty being opened and closed by multiple processes, and DEBUG_PAGEALLOC enabled. Signed-off-by: Paul Fulghum Cc: Alan Cox Cc: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16bf134840da3920ded1290973c56ec214636f12 tree 1aacddb873bd383030a65e13e78c2ced38edfa23 parent d98c7a09843621f1b145ca5ae8ed03ff04085edb author Hugh Dickins Tue, 14 Feb 2006 13:52:59 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] compound page: no access_process_vm check The PageCompound check before access_process_vm's set_page_dirty_lock is no longer necessary, so remove it. But leave the PageCompound checks in bio_set_pages_dirty, dio_bio_complete and nfs_free_user_pages: at least some of those were introduced as a little optimization on hugetlb pages. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d98c7a09843621f1b145ca5ae8ed03ff04085edb tree 764b943efb177ca506fad61a63bb9e8cbf56a3a7 parent 41d78ba55037468e6c86c53e3076d1a74841de39 author Hugh Dickins Tue, 14 Feb 2006 13:52:59 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] compound page: default destructor Somehow I imagined that calling a NULL destructor would free a compound page rather than oopsing. No, we must supply a default destructor, __free_pages_ok using the order noted by prep_compound_page. hugetlb can still replace this as before with its own free_huge_page pointer. The case that needs this is not common: rarely does put_compound_page's put_page_testzero bring the count down to 0. But if get_user_pages is applied to some part of a compound page, without immediate release (e.g. AIO or Infiniband), then it's possible for its put_page to come after the containing vma has been unmapped and the driver done its free_pages. That's just the kind of case compound pages are supposed to be guarding against (but Nick points out, nor did PageReserved handle this right). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41d78ba55037468e6c86c53e3076d1a74841de39 tree d970f18d18532009b17c736583429401dbd64ade parent 7277232374680595cdbc774fd246b206f56db015 author Hugh Dickins Tue, 14 Feb 2006 13:52:58 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] compound page: use page[1].lru If a compound page has its own put_page_testzero destructor (the only current example is free_huge_page), that is noted in page[1].mapping of the compound page. But that's rather a poor place to keep it: functions which call set_page_dirty_lock after get_user_pages (e.g. Infiniband's __ib_umem_release) ought to be checking first, otherwise set_page_dirty is liable to crash on what's not the address of a struct address_space. And now I'm about to make that worse: it turns out that every compound page needs a destructor, so we can no longer rely on hugetlb pages going their own special way, to avoid further problems of page->mapping reuse. For example, not many people know that: on 50% of i386 -Os builds, the first tail page of a compound page purports to be PageAnon (when its destructor has an odd address), which surprises page_add_file_rmap. Keep the compound page destructor in page[1].lru.next instead. And to free up the common pairing of mapping and index, also move compound page order from index to lru.prev. Slab reuses page->lru too: but if we ever need slab to use compound pages, it can easily stack its use above this. (akpm: decoded version of the above: the tail pages of a compound page now have ->mapping==NULL, so there's no need for the set_page_dirty[_lock]() caller to check that they're not compund pages before doing the dirty). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7277232374680595cdbc774fd246b206f56db015 tree de128d380c1aae7f826aebc645a9c29f38dff0ee parent 948423e5ccc33bc257384ad4b339214c577bc926 author Peter Osterlund Tue, 14 Feb 2006 13:52:56 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] pktcdvd: Reduce stack usage Reduce stack usage in the pkt_start_write() function. Even though it's not currently a real problem, the pages and offsets arrays can be eliminated, which saves approximately 1000 bytes of stack space. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 948423e5ccc33bc257384ad4b339214c577bc926 tree fca922bbce34cf69c561b34bb40c796cd982ae27 parent 01fd9fda2ce462b44bafdac2fe6aacacf23531f2 author Peter Osterlund Tue, 14 Feb 2006 13:52:56 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] pktcdvd: Don't unlock the door if the disc is in use Unlocking the door when the disc is in use is obviously not good, because then it's possible to eject the disc at the wrong time and cause severe disc data corruption. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01fd9fda2ce462b44bafdac2fe6aacacf23531f2 tree c587c37f36d3800fae2fbfd0007f983b646a4c6c parent 61a34937982cace51853b5dc88f86380e31998c0 author Peter Osterlund Tue, 14 Feb 2006 13:52:55 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] pktcdvd: Allow non-writable media to be mounted If opening for write fails, the open method should return -EROFS. This makes "mount" try again with a read-only mount, instead of just giving up. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61a34937982cace51853b5dc88f86380e31998c0 tree f99d8c86a769d42a22091c29ec3f30d3f0047e88 parent f78cf0dc7b7b13d0550d1e02cf221b65969ff926 author Peter Osterlund Tue, 14 Feb 2006 13:52:54 -0800 committer Linus Torvalds Tue, 14 Feb 2006 16:09:33 -0800 [PATCH] pktcdvd: Don't spam the kernel log when nothing is wrong Change some messages that don't indicate an error so that they are only printed when debugging is enabled. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6b14fa6fdc01ab3519c2729624f808677539b59 tree 5bf76be44b0c9c7f80612ac71a1b1a4390decd7d parent 69aa234b918c0d9bc4a20cd6d4453aaa3418f457 author Ashok Raj Tue, 14 Feb 2006 15:01:12 -0800 committer Tony Luck Tue, 14 Feb 2006 15:37:58 -0800 [IA64] Count disabled cpus as potential hot-pluggable CPUs Have a facility to account for potentially hot-pluggable CPUs. ACPI doesnt give a determinstic method to find hot-pluggable CPUs. Hence we use 2 methods to assist. - BIOS can mark potentially hot-pluggable CPUs as disabled in the MADT tables. - User can specify the number of hot-pluggable CPUs via parameter additional_cpus=X The option is enabled only if ACPI_CONFIG_HOTPLUG_CPU=y which enables the physical hotplug option. Without which user can still use logical onlining and offlining of CPUs by enabling CONFIG_HOTPLUG_CPU=y Adds more bits to cpu_possible_map for potentially hot-pluggable cpus. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 69aa234b918c0d9bc4a20cd6d4453aaa3418f457 tree 1cd27b7c2e346fad517f6d0916f75d419015f82a parent 303794400992b907b7cac0d91788603636c7e0fe author Ashok Raj Tue, 14 Feb 2006 15:01:11 -0800 committer Tony Luck Tue, 14 Feb 2006 15:35:10 -0800 [IA64] Dont set NR_CPUS for cpu_possible_map when CPU hotplug is enabled. Do not set cpu_possible_map for NR_CPUS when ACPI_CONFIG_HOTPLUG_CPU is set. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit f78cf0dc7b7b13d0550d1e02cf221b65969ff926 tree d2bb41e6edb5f70ccb09ed50f5cfb35eda22f844 parent 4cbf8767902c578481ff3df366c77d24fe68fd26 parent 7d2babc4874825027848db04d11784070da4456d author Linus Torvalds Tue, 14 Feb 2006 13:49:37 -0800 committer Linus Torvalds Tue, 14 Feb 2006 13:49:37 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband commit 4cbf8767902c578481ff3df366c77d24fe68fd26 tree 761833a5031845e5b21f5cb16128a0c47629699d parent 9cf8ff96447f995d5ea18ec9f25dc8dae26501a2 author Atsushi Nemoto Tue, 14 Feb 2006 22:40:45 +0900 committer Ralf Baechle Tue, 14 Feb 2006 19:13:26 +0000 [MIPS] Fix typo in _sys32_rt_sigreturn and _sysn32_rt_sigreturn. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9cf8ff96447f995d5ea18ec9f25dc8dae26501a2 tree 62e9c25e9e471da770500891e8357c85f9070bff parent 387a154d0db113690ce85185a003e39e7c87009e author Maciej W. Rozycki Mon, 13 Feb 2006 09:15:49 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:25 +0000 [MIPS] Fix CPU type bitmasks for MIPS III, IV and V. Signed-off-by: Maciej W. Rozycki Signed-off-by: Ralf Baechle commit 387a154d0db113690ce85185a003e39e7c87009e tree 58e0ef97b1cbf5f42421092d8d58224ada3c818f parent 74a96d943ac96ce607a841a74ff0f84eeb0c3343 author Thomas Koeller Fri, 10 Feb 2006 17:36:27 +0100 committer Ralf Baechle Tue, 14 Feb 2006 19:13:25 +0000 [MIPS] RM9000: Fix buggy I-cache workaround. Signed-off-by: Thomas Koeller Signed-off-by: Ralf Baechle commit 74a96d943ac96ce607a841a74ff0f84eeb0c3343 tree fbd438db5e470dedf5f9b723be8b28071658c85f parent fdc9bb16d3e16f674e52aa69306df5732d7f951b author Ralf Baechle Fri, 10 Feb 2006 16:03:47 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:25 +0000 [MIPS] MT: Propagate config7 into VPE. Signed-off-by: Ralf Baechle commit fdc9bb16d3e16f674e52aa69306df5732d7f951b tree 67e7b262ed114462cf716d6e43fdd9e31f825693 parent fbb6b3a4ac0ccf12a97c98881d9d873d6dc26fe5 author Ralf Baechle Fri, 10 Feb 2006 14:25:16 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:25 +0000 [MIPS] MT: Fix c0 back-to-back hazard. Signed-off-by: Ralf Baechle commit fbb6b3a4ac0ccf12a97c98881d9d873d6dc26fe5 tree 142b03c1852dec27cbb3a3654c34679e19617a2b parent 3218357c94af92478ef39163163a81e654385320 author Ralf Baechle Fri, 10 Feb 2006 14:13:08 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:25 +0000 [MIPS] Get rid of kludgery needed to keep stdargs of old compilers working. Signed-off-by: Ralf Baechle commit 3218357c94af92478ef39163163a81e654385320 tree 459be556900bb4a78d93e0185d49df8ed8a7aff4 parent 41700e73995d6c814932cb55e12525bd34be1ca5 author Ralf Baechle Fri, 10 Feb 2006 01:31:24 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:24 +0000 [MIPS] More uaccess.h fixes with gcc >= 4.0.1. From Richard Sandiford : This patch caused a miscompilation of the restore_gp_regs() block in restore_sigcontext(). This was in a 32-bit kernel compiled with GCC CVS head. restore_gp_regs() copies 64-bit user fields into 32-bit variables, and in this combination, the new __get_user_asm_ll32() clobbers too many registers. It says: /* * Get a long long 64 using 32 bit registers. */ { \ __asm__ __volatile__( \ "1: lw %1, (%3) \n" \ "2: lw %D1, 4(%3) \n" \ " move %0, $0 \n" \ "3: .section .fixup,\"ax\" \n" \ "4: li %0, %4 \n" \ " move %1, $0 \n" \ " move %D1, $0 \n" \ " j 3b \n" \ " .previous \n" \ " .section __ex_table,\"a\" \n" \ " " __UA_ADDR " 1b, 4b \n" \ " " __UA_ADDR " 2b, 4b \n" \ " .previous \n" \ : "=r" (__gu_err), "=&r" (val) \ : "0" (0), "r" (addr), "i" (-EFAULT)); \ } and this requires val (%1) to be a 64-bit value. In the case I saw, gcc was using $3 for the 32-bit val, and wasn't expecting $4 to be clobbered. Signed-off-by: Ralf Baechle commit 41700e73995d6c814932cb55e12525bd34be1ca5 tree 559759cbda13bb50720cfd0e317fa65a467d59fa parent 63077519899721120b61d663a68adced068a459d author Atsushi Nemoto Fri, 10 Feb 2006 00:39:06 +0900 committer Ralf Baechle Tue, 14 Feb 2006 19:13:24 +0000 [MIPS] Add protected_blast_icache_range, blast_icache_range, etc. Add blast_xxx_range(), protected_blast_xxx_range() etc. for common use. They are built by __BUILD_BLAST_CACHE_RANGE(). Use protected_cache_op() macro for various protected_ routines. Output code should be logically same. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 63077519899721120b61d663a68adced068a459d tree 54ed1587edae13a209f4cd2754ce4487fc3d6376 parent 1bdfd0d9632f0254a4fc01d17c9933ae6107dec4 author Atsushi Nemoto Wed, 08 Feb 2006 01:48:03 +0900 committer Ralf Baechle Tue, 14 Feb 2006 19:13:24 +0000 [MIPS] Rewrite get_wchan and its helper functions using kallsyms_lookup. Implement get_wchan() and frame_info_init() using kallsyms_lookup(). This fixes problem with static sched/lock functions and mfinfo[] maintenance issue. If CONFIG_KALLSYMS was disabled, get_wchan() just returns thread_saved_pc() value. Also unwind stackframe based on "addiu sp,-imm" analysis instead of frame pointer. This fixes problem with functions compiled without -fomit-frame-pointer. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 1bdfd0d9632f0254a4fc01d17c9933ae6107dec4 tree fd38736a1a9ca5e9668964055b04c88fc1a63ee7 parent 359bbd42a5a205234d5943571fc7bf946967ee59 author Ralf Baechle Thu, 09 Feb 2006 12:26:35 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:24 +0000 [MIPS] Remove commented out function prom_build_cpu_map. Signed-off-by: Ralf Baechle commit 359bbd42a5a205234d5943571fc7bf946967ee59 tree 01e7ea8ebeb7baf7ae4505675e749e02f6cb5060 parent a3c9dc38313d05e4254c100e86af205cf33e8cd3 author Ralf Baechle Thu, 09 Feb 2006 12:13:28 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:23 +0000 [MIPS] Fold non-__mips64 case into CONFIG_32BIT case. Signed-off-by: Ralf Baechle commit a3c9dc38313d05e4254c100e86af205cf33e8cd3 tree dbcff76f99b43708f30cd973bd84c0df23466d43 parent f32ec77b421ee15bf5a42082b60679e997c07993 author Ralf Baechle Tue, 14 Feb 2006 19:13:23 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:23 +0000 [MIPS] Update docs to reflect the latest status of the Alchemy IDE driver. Signed-off-by: Ralf Baechle commit f32ec77b421ee15bf5a42082b60679e997c07993 tree 5e395bf5cdb39bc297a5b4f5ff506a4ad6ac531d parent 5552c28f6937d2a2b873d06c6d09b96204722dd0 author Ralf Baechle Mon, 28 Nov 2005 13:10:54 +0000 committer Ralf Baechle Tue, 14 Feb 2006 19:13:23 +0000 [MIPS] RM200: Give RM200 it's own timex.h. So we can get rid of config.h and the #ifdef crapola in the generic timex.h. Signed-off-by: Ralf Baechle commit 5552c28f6937d2a2b873d06c6d09b96204722dd0 tree 041a8ba94166d9c75c34dc385d5298ae4d59d9fe parent 303794400992b907b7cac0d91788603636c7e0fe author Alan Cox Tue, 14 Feb 2006 17:50:54 +0000 committer Linus Torvalds Tue, 14 Feb 2006 10:01:39 -0800 [PATCH] Fix locking error in esp Noted by Al Viro. Also remove unused tmp_buf Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 65110b2168950a19cc78b5027ed18cb811fbdae8 tree 8cdf4fc26b707e0e6ba988fd56da118d3206dceb parent faead26d7a06605add627f29aee73ba654ce11f9 author James Bottomley Tue, 14 Feb 2006 10:48:46 -0600 committer Tue, 14 Feb 2006 11:15:11 -0600 [SCSI] fix wrong context bugs in SCSI There's a bug in releasing scsi_device where the release function actually frees the block queue. However, the block queue release calls flush_work(), which requires process context (the scsi_device structure may release from irq context). Update the release function to invoke via the execute_in_process_context() API. Also clean up the scsi_target structure releasing via this API. Signed-off-by: James Bottomley commit faead26d7a06605add627f29aee73ba654ce11f9 tree cd809c6e5601caefb66e614ee1f06417819d2151 parent e2230eac17486e2ee07091d54d898eb40bcd0fdd author James Bottomley Tue, 14 Feb 2006 10:42:07 -0600 committer Tue, 14 Feb 2006 11:14:26 -0600 [PATCH] add scsi_execute_in_process_context() API We have several points in the SCSI stack (primarily for our device functions) where we need to guarantee process context, but (given the place where the last reference was released) we cannot guarantee this. This API gets around the issue by executing the function directly if the caller has process context, but scheduling a workqueue to execute in process context if the caller doesn't have it. Unfortunately, it requires memory allocation in interrupt context, but it's better than what we have previously. The true solution will require a bit of re-engineering, so isn't appropriate for 2.6.16. Signed-off-by: James Bottomley commit 303794400992b907b7cac0d91788603636c7e0fe tree 012781f808f48d80b32e435a4f27b6e8524d0ff0 parent b739db79a434aec89027a109d85de305e6bdeb93 author Gerald Britton Tue, 14 Feb 2006 10:19:04 -0500 committer Linus Torvalds Tue, 14 Feb 2006 08:25:29 -0800 [PATCH] x86: fix oprofile kernel callgraph regression Fix x86 oprofile regression introduced by: commit c34d1b4d165c67b966bca4aba026443d7ff161eb [PATCH] mm: kill check_user_page_readable That commit reorganized tests for the userspace stack walking moving all those tests into dump_backtrace(), however, dump_backtrace() was used for both userspace and kernel stalk walking. The result is typically no recorded callgraph information for kernel samples. Revive the original function as dump_kernel_backtrace() and rename the other to dump_user_backtrace() to avoid future confusion. Signed-off-by: Gerald Britton Apology-from: Hugh Dickins Signed-off-by: Linus Torvalds commit b739db79a434aec89027a109d85de305e6bdeb93 tree e67bdf2272e9a3deedef7d65dfde03ccafb85074 parent 18539966bc1d663eb232877bb3e9e7dca67e89e6 parent 41d9c98fe76298cebc5907bcebfb2db28017a277 author Linus Torvalds Tue, 14 Feb 2006 08:22:57 -0800 committer Linus Torvalds Tue, 14 Feb 2006 08:22:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit 18539966bc1d663eb232877bb3e9e7dca67e89e6 tree 2ecc65bc92766a5c684bc51f30601421170f07f2 parent 108dff7d2b721759b5e025ab18024967c1294792 parent 16f05be7be0bf121491d83bd97337fe179b3b323 author Linus Torvalds Tue, 14 Feb 2006 08:21:57 -0800 committer Linus Torvalds Tue, 14 Feb 2006 08:21:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 41d9c98fe76298cebc5907bcebfb2db28017a277 tree 6b794e2fb6b3ae58d1f2d67db6e6003efd4ef197 parent be79c383254cd3eb50953d8c0a7cacdbf6db31c0 author Jean Delvare Wed, 08 Feb 2006 20:38:29 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 22:30:10 -0800 [PATCH] i2c: Drop outdated probe/remove code in i2c-isa Probe and remove methods are now defined at bus level. No more need to redefine them at driver level in i2c-isa. This lets us get rid of these annoying messages: Driver 'it87-isa' needs updating - please use bus_type methods Thanks to Nicolas Mailhot for reporting the problem and testing the fix. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit be79c383254cd3eb50953d8c0a7cacdbf6db31c0 tree 18c8be9725b3e315f6acbb445e94744917e23d63 parent a40f0b0f2466483fad94e62177272d6a5711e50a author Jean Delvare Tue, 07 Feb 2006 17:53:32 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 22:30:10 -0800 [PATCH] it87: Fix oops on removal Fix an oops on it87 module removal when no supported hardware was found. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a40f0b0f2466483fad94e62177272d6a5711e50a tree 79ffb1c4639767a448f34521c6921fbec057db02 parent c7f5d7edd8b3fa4204389efc4c9081cc90a811d2 author Jean Delvare Sun, 05 Feb 2006 23:17:34 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 22:30:09 -0800 [PATCH] w83627hf: Document the reset module parameter Document the reset module parameter which was recently added to the w83627hf driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c7f5d7edd8b3fa4204389efc4c9081cc90a811d2 tree 1264bb18887b398ea2dccbba03ade05bf9fe9539 parent e3efa5a7392e07471b5d0ef7e7cd7ab862f70284 author Jean Delvare Sun, 05 Feb 2006 23:13:48 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 22:30:09 -0800 [PATCH] w83781d: Use real-time status registers Use the real-time status registers of the Winbond W83782D, W83783S and W83627HF chips, instead of the interrupt status registers. Interrupts cannot be trusted at least for voltage inputs, as they are two-times triggers (as opposed to comparator mode, which we want.) The w83627hf driver was fixed in a similar way some times ago. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e3efa5a7392e07471b5d0ef7e7cd7ab862f70284 tree c4b118150c8d78d7220669144d83559aafcab5a4 parent 75c0141ca2fdae7c332d8f17412fbe0939dd005f author Jean Delvare Sun, 05 Feb 2006 23:11:16 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 22:30:09 -0800 [PATCH] vt8231: Fix sysfs temperature interface The VT8231 low temperature limits are actually hysteresis temperatures to the high limits. Signed-off-by: Jean Delvare Cc: Roger Lucas Signed-off-by: Greg Kroah-Hartman commit 16f05be7be0bf121491d83bd97337fe179b3b323 tree c33fdb0065cbaff83900becbf46480c914d75ca2 parent 982db2a127b29c9e1f5896d2ba691e84446cc858 author Phil Dibowitz Mon, 13 Feb 2006 15:59:42 -0800 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:40 -0800 [PATCH] USB: unusual-devs bugfix The following patch looks good to me. It adds an unusual_devs entry as well as fixing an ordering bug. Please apply. From: Bohdan Linda Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 982db2a127b29c9e1f5896d2ba691e84446cc858 tree 4e64b464d4f79e092f50e9ad908a1d0da01deab3 parent 1d614a4b0d2613d83f7bf0978e213ba29aebc44f author Alan Stern Mon, 13 Feb 2006 10:16:04 -0500 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:40 -0800 [PATCH] USB: unusual_devs.h entry: iAUDIO M5 Another unusual_devs.h entry (as652). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 1d614a4b0d2613d83f7bf0978e213ba29aebc44f tree 4dddb4fa0505b350f803d2df4252cb350f03c811 parent ba3e93ad3c6e511f68c1b3e46954feff6cdd5a62 author Alan Stern Mon, 13 Feb 2006 10:15:22 -0500 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:40 -0800 [PATCH] USB: unusual_devs.h entry: TrekStor i.Beat A new unusual_devs.h entry (as651). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit ba3e93ad3c6e511f68c1b3e46954feff6cdd5a62 tree 4248f96e5ad174e3ae9d917988ce97e4d7a32159 parent a2149bce2535047371a1309f032f0320b05db791 author Alan Stern Mon, 30 Jan 2006 10:19:43 -0500 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:40 -0800 [PATCH] usb-storage: unusual_devs entry Here is a new entry for unusual_devs.h (as630). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a2149bce2535047371a1309f032f0320b05db791 tree 0d38aed6149c4368136fac9032a4ec61d7c630ff parent a0c53f1dca10acc93462339cbd0bf24b10d60a13 author Alan Stern Thu, 02 Feb 2006 09:52:45 -0500 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:40 -0800 [PATCH] usb-storage: new unusual_devs entry This patch (as631) for unusual_devs.h fixes bugzilla entry 5913. Signed-off-by: Alan Stern Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit a0c53f1dca10acc93462339cbd0bf24b10d60a13 tree 99b5e0d6bc58a0b38cfc98ee0c2b09049c5db462 parent c6c27721a42b991965bb792d5c196b8331d008d5 author David Brownell Mon, 06 Feb 2006 12:15:15 -0800 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:39 -0800 [PATCH] USB: sl811_cs needs platform_device conversion too The switchover to "platform_driver" from "device_driver" missed one rather essential usage, which broke the sl811_cs driver ... this resolves the omission. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit c6c27721a42b991965bb792d5c196b8331d008d5 tree 24f84202e04931c8943e3257632b2e82d2fd1353 parent 343a65cadb3a6a102f08513d9c64eb7e317478f0 author Christian Lindner Wed, 01 Feb 2006 14:10:52 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:39 -0800 [PATCH] USB: PL2303: Leadtek 9531 GPS-Mouse The patch adds the USB ID (0413:2101) for the Leadtek GPS-Mouse 9531 to the driver pl2303. Signed-off-by: Christian Lindner Signed-off-by: Greg Kroah-Hartman commit 343a65cadb3a6a102f08513d9c64eb7e317478f0 tree b4fb5906ebed9c64566565958c302427aa9e344b parent ba3e66e94b9fb8c2a370a90729e068314845549d author Michael Hund Thu, 02 Feb 2006 09:37:02 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:39 -0800 [PATCH] USB: change ldusb's experimental state Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman commit ba3e66e94b9fb8c2a370a90729e068314845549d tree f021a85387443d00be8d6b108579a38cec63e37c parent a38408cd8d6bc0e5d16e609d4b1fdf9ba2e099ce author Michael Hund Thu, 02 Feb 2006 09:36:43 +0100 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:39 -0800 [PATCH] USB: add new device ids to ldusb Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman commit a38408cd8d6bc0e5d16e609d4b1fdf9ba2e099ce tree 5a559a05117c481f0cefd3c67a1d01e744cf7946 parent 75c0141ca2fdae7c332d8f17412fbe0939dd005f author David Brownell Thu, 09 Feb 2006 16:35:31 -0500 committer Greg Kroah-Hartman Mon, 13 Feb 2006 21:33:39 -0800 [PATCH] USB: fix up the usb early handoff logic for EHCI Disable some dubious "early" USB handoff code that allegedly works around bugs on some systems (we don't know which ones) but rudely breaks some others. Also make the kernel warnings reporting BIOS handoff problems be more useful, reporting the register whose value displays the trouble. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 108dff7d2b721759b5e025ab18024967c1294792 tree 463be206b5c354fa652890f0bae132b5fb57fedd parent a110d514a582553e7439e92d92fb062d80b3e21d author Kyle McMartin Mon, 13 Feb 2006 22:44:22 -0500 committer Linus Torvalds Mon, 13 Feb 2006 19:58:47 -0800 [PATCH] sys_newfstatat -> sys_fstatat64 parisc defines ARCH_WANT_STAT64, so we want to use fstatat64. It does not appear that it needs to be ENTRY_COMP, because struct stat64 is the same on both 32-bit and 64-bit (unlike on other platforms which did define a compat_sys_fstatat64.) Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Linus Torvalds commit a110d514a582553e7439e92d92fb062d80b3e21d tree aa8fd4abd430fa393c00e880d7d8145e4f7ee0a2 parent 934a3595b30c986bab52bc9c08d12c8962c88c8a parent 28b2425ac76b0f043f2efd34521f2a3c7ec8ccc5 author Linus Torvalds Mon, 13 Feb 2006 19:40:19 -0800 committer Linus Torvalds Mon, 13 Feb 2006 19:40:19 -0800 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 commit 934a3595b30c986bab52bc9c08d12c8962c88c8a tree 1aa2acda1b45d97ce7b4027327a23a2a3c8dc81a parent b4d9eda028e8becbb5057b554e63eea12e496a88 parent 7d5e350fab47f1273bc8b52d5f133ed6e4baeb7f author Linus Torvalds Mon, 13 Feb 2006 19:10:43 -0800 committer Linus Torvalds Mon, 13 Feb 2006 19:10:43 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit b4d9eda028e8becbb5057b554e63eea12e496a88 tree f3dfa4aa380fe89a4aeff049c2f5b13b72404a1b parent 00de651d14baabc5c1d2f32c49d9a984d8891c8e author David S. Miller Mon, 13 Feb 2006 16:06:10 -0800 committer David S. Miller Mon, 13 Feb 2006 16:06:10 -0800 [NET]: Revert skb_copy_datagram_iovec() recursion elimination. Revert the following changeset: bc8dfcb93970ad7139c976356bfc99d7e251deaf Recursive SKB frag lists are really possible and disallowing them breaks things. Noticed by: Jesse Brandeburg Signed-off-by: David S. Miller commit 00de651d14baabc5c1d2f32c49d9a984d8891c8e tree dee86291586baf00e9c34dd8f4545088a36877ef parent 6d3e85ecf22a5e3610df47b9c3fb2fc32cfd35bf author Herbert Xu Mon, 13 Feb 2006 16:01:27 -0800 committer David S. Miller Mon, 13 Feb 2006 16:01:27 -0800 [IPSEC]: Fix strange IPsec freeze. Problem discovered and initial patch by Olaf Kirch: there's a problem with IPsec that has been bugging some of our users for the last couple of kernel revs. Every now and then, IPsec will freeze the machine completely. This is with openswan user land, and with kernels up to and including 2.6.16-rc2. I managed to debug this a little, and what happens is that we end up looping in xfrm_lookup, and never get out. With a bit of debug printks added, I can this happening: ip_route_output_flow calls xfrm_lookup xfrm_find_bundle returns NULL (apparently we're in the middle of negotiating a new SA or something) We therefore call xfrm_tmpl_resolve. This returns EAGAIN We go to sleep, waiting for a policy update. Then we loop back to the top Apparently, the dst_orig that was passed into xfrm_lookup has been dropped from the routing table (obsolete=2) This leads to the endless loop, because we now create a new bundle, check the new bundle and find it's stale (stale_bundle -> xfrm_bundle_ok -> dst_check() return 0) People have been testing with the patch below, which seems to fix the problem partially. They still see connection hangs however (things only clear up when they start a new ping or new ssh). So the patch is obvsiouly not sufficient, and something else seems to go wrong. I'm grateful for any hints you may have... I suggest that we simply bail out always. If the dst decides to die on us later on, the packet will be dropped anyway. So there is no great urgency to retry here. Once we have the proper resolution queueing, we can then do the retry again. Signed-off-by: Herbert Xu Acked-by: Olaf Kirch Signed-off-by: David S. Miller commit 6d3e85ecf22a5e3610df47b9c3fb2fc32cfd35bf tree d82d346f7b4c03f1e323cec0df8ee74052f0a31c parent 72fb630dad170084026bda6728b8d8f21ed48ff1 author Nicolas DICHTEL Mon, 13 Feb 2006 15:56:13 -0800 committer David S. Miller Mon, 13 Feb 2006 15:56:13 -0800 [IPV6] Don't store dst_entry for RAW socket Signed-off-by: Nicolas DICHTEL Signed-off-by: David S. Miller commit 72fb630dad170084026bda6728b8d8f21ed48ff1 tree 0330cc2c63332eb5d0a561447f505324de14ae56 parent e200bd8065e4db6297cd8db071a9188cf9aa6b56 author Andrew Morton Mon, 13 Feb 2006 15:53:41 -0800 committer David S. Miller Mon, 13 Feb 2006 15:53:41 -0800 [APPLETALK]: warning fix drivers/net/appletalk/cops.c: In function `cops_load': drivers/net/appletalk/cops.c:539: warning: assignment discards qualifiers from pointer target type drivers/net/appletalk/cops.c:547: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit e200bd8065e4db6297cd8db071a9188cf9aa6b56 tree 80c9ced19aa5a0fa0cc9be69d34ca45cf92394ad parent 178a3259f2508e786fb1bd6538365a167cee35c1 author Jamal Hadi Salim Mon, 13 Feb 2006 15:51:24 -0800 committer David S. Miller Mon, 13 Feb 2006 15:51:24 -0800 [NETLINK] genetlink: Fix bugs spotted by Andrew Morton. - panic() doesn't return. - Don't forget to unlock on genl_register_family() error path - genl_rcv_msg() is called via pointer so there's no point in declaring it `inline'. Notes: genl_ctrl_event() ignores the genlmsg_multicast() return value. lots of things ignore the genl_ctrl_event() return value. Signed-off-by: Jamal Hadi Salim Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 178a3259f2508e786fb1bd6538365a167cee35c1 tree 3736fd620ecdec6193b52505982e8fa12698c695 parent a6c1cd572642478528165ac44db4d2daae125a21 author Stephen Hemminger Mon, 13 Feb 2006 15:43:58 -0800 committer David S. Miller Mon, 13 Feb 2006 15:43:58 -0800 [BRIDGE]: Better fix for netfilter missing symbol has_bridge_parent Horms patch was the best of the three fixes. Dave, already applied Harald's version, so this patch converts that to the better one. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a6c1cd572642478528165ac44db4d2daae125a21 tree c622476fd8a0092710dd325d5154c2b49fc7a898 parent 15c38c6ecd772ae4cc497955f916f40e803e7528 author Harald Welte Mon, 13 Feb 2006 15:42:48 -0800 committer David S. Miller Mon, 13 Feb 2006 15:42:48 -0800 [NETFILTER] Fix Kconfig menu level for x_tables The new x_tables related Kconfig options appear at the wrong menu level without this patch. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 15c38c6ecd772ae4cc497955f916f40e803e7528 tree f3a967377a58a2e6aae2cfd7f72400deee6a2433 parent 99e382afd297d91ab150ae46c28c4585f925818c parent 9225806386e398eeba46958a7befa017bda73f58 author David S. Miller Mon, 13 Feb 2006 15:40:55 -0800 committer David S. Miller Mon, 13 Feb 2006 15:40:55 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6 commit 99e382afd297d91ab150ae46c28c4585f925818c tree 8a2ab5c8437bff91919588976294f7b38b7e57e8 parent 77decfc716d460b3f7037bb19bd4eb12cd0dc996 author Dave Jones Mon, 13 Feb 2006 15:38:42 -0800 committer David S. Miller Mon, 13 Feb 2006 15:38:42 -0800 [P8023]: Fix tainting of kernel. Missing license tag. I've assumed this is GPL. (It could also use a MODULE_AUTHOR) Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 77decfc716d460b3f7037bb19bd4eb12cd0dc996 tree e6fca07597e12c07af4bd90cfffc80a3f694387e parent bf3883c12fece9189ab4f7bb6e2690451db1366e author Dave Jones Mon, 13 Feb 2006 15:36:21 -0800 committer David S. Miller Mon, 13 Feb 2006 15:36:21 -0800 [IPV4] ICMP: Invert default for invalid icmp msgs sysctl isic can trigger these msgs to be spewed at a very high rate. There's already a sysctl to turn them off. Given these messages aren't useful for most people, this patch disables them by default. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit bf3883c12fece9189ab4f7bb6e2690451db1366e tree 044a6678fff7b3325169794d2a06f2d25ef95616 parent 7a11c4d0635d9f6995736390b8c3346fe6f63d57 author Dave Jones Mon, 13 Feb 2006 15:34:58 -0800 committer David S. Miller Mon, 13 Feb 2006 15:34:58 -0800 [ATM]: Ratelimit atmsvc failure messages This seems to be trivial to trigger. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 7a11c4d0635d9f6995736390b8c3346fe6f63d57 tree 462aa4a17b5ef59350f726ca39035c513bd2e5a5 parent 75c0141ca2fdae7c332d8f17412fbe0939dd005f author Joe Perches Mon, 13 Feb 2006 15:34:11 -0800 committer David S. Miller Mon, 13 Feb 2006 15:34:11 -0800 [IRDA]: Ratelimit messages. From: Joe Perches Based upon a patch by Dave Jones. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 7d2babc4874825027848db04d11784070da4456d tree e97b125497031f13b974db376df1b80e04dd166f parent 20b83382d1c5d4d1a73fc5671261db5239d1dbb3 author Roland Dreier Mon, 13 Feb 2006 12:19:44 -0800 committer Roland Dreier Mon, 13 Feb 2006 12:19:44 -0800 IB/mthca: bump driver version and release date Signed-off-by: Roland Dreier commit 75c0141ca2fdae7c332d8f17412fbe0939dd005f tree 42c793ae47f694ebfbd6b2feb26c8c93280d5978 parent 90947ef26fa689a3252aa8282a01f60648e70fdb author Dave Jones Mon, 13 Feb 2006 12:46:58 -0500 committer Linus Torvalds Mon, 13 Feb 2006 11:14:45 -0800 [PATCH] Remove "RV370 5B60 [Radeon X300 (PCIE)]" from DRI list I get a machine check exception, triple fault, or NMI watchdog lockup when DRI gets enabled on this card. (And Mauro Tassinari reports hung kernels too in http://lkml.org/lkml/2006/1/26/97) [ Adrian Bunk also states that this is the only RV350 entry for an RV370 in our lists, which implies that it's just buggy ] Cc: Adrian Bunk Cc: Dave Jones Cc: Mauro Tassinari Cc: Dave Airlie Signed-off-by: Linus Torvalds commit 90947ef26fa689a3252aa8282a01f60648e70fdb tree 317ab8984d68fed9e4ad6e259c44134907b3021a parent 326a625748535c4cdb1c632b1dcb07030989a393 author Jeff Mahoney Mon, 13 Feb 2006 11:12:36 -0500 committer Linus Torvalds Mon, 13 Feb 2006 08:56:01 -0800 [PATCH] reiserfs: fix potential (unlikely) oops in reiserfs_get_acl This fixes a potential oops if there is an error reported by posix_acl_from_disk(). This is mostly theoretical due to the use of magics and checksums in xattrs, but is still possible. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 326a625748535c4cdb1c632b1dcb07030989a393 tree 1615fa184eac201aca79b569727b7769415a8b82 parent 40ad7a6afc53217ad95b5ae2221e42d7655e057b author Yoichi Yuasa Mon, 13 Feb 2006 18:07:30 +0900 committer Linus Torvalds Mon, 13 Feb 2006 07:47:03 -0800 [PATCH] MIPS 32bit machines need fstatat64 support. As noted by Jan Dittmer Signed-off-by: Yoichi Yuasa Signed-off-by: Linus Torvalds commit 9225806386e398eeba46958a7befa017bda73f58 tree 425bb3d66554d10f45138795335545615cace048 parent 7b005bd34c895ebeefd1c62f90a329730b88946b author Marcel Holtmann Mon, 13 Feb 2006 11:40:07 +0100 committer Marcel Holtmann Mon, 13 Feb 2006 11:40:07 +0100 [Bluetooth] Fix firmware loading problem of BT3C driver Before the PCMCIA subsystem was fully integrated into the device and driver model, the BT3C driver had to workaround this when loading the firmware. This workaround is broken and makes the driver oops when loading the firmware. This patch removes this workaround and uses now the provided device structure from the PCMCIA subsystem. Signed-off-by: Marcel Holtmann commit 7b005bd34c895ebeefd1c62f90a329730b88946b tree 7a7143c1b29b902122fe5e17a10ad4cb2ec66291 parent 56f3a40a5e7586043260669cc794e56fa58339e1 author Marcel Holtmann Mon, 13 Feb 2006 11:40:03 +0100 committer Marcel Holtmann Mon, 13 Feb 2006 11:40:03 +0100 [Bluetooth] Fix NULL pointer dereferences of the HCI socket This patch fixes the two NULL pointer dereferences found by the sfuzz tool from Ilja van Sprundel. The first one was a call of getsockname() for an unbound socket and the second was calling accept() while this operation isn't implemented for the HCI socket interface. Signed-off-by: Marcel Holtmann commit 56f3a40a5e7586043260669cc794e56fa58339e1 tree a2a756d86f8ff9da8d5668d2dfbf51f5107c53ce parent e9bb4c9929a63b23dcc637fae312b36b038bdc61 author Marcel Holtmann Mon, 13 Feb 2006 11:39:57 +0100 committer Marcel Holtmann Mon, 13 Feb 2006 11:39:57 +0100 [Bluetooth] Reduce L2CAP MTU for RFCOMM connections This patch reduces the default L2CAP MTU for all RFCOMM connections from 1024 to 1013 to improve the interoperability with some broken RFCOMM implementations. To make this more flexible the L2CAP MTU becomes also a module parameter and so it can changed at runtime. Signed-off-by: Marcel Holtmann commit 40ad7a6afc53217ad95b5ae2221e42d7655e057b tree a164f00f514bb816abe370b1050c88799a8572f4 parent e9bb4c9929a63b23dcc637fae312b36b038bdc61 author David S. Miller Sun, 12 Feb 2006 23:30:11 -0800 committer David S. Miller Sun, 12 Feb 2006 23:30:11 -0800 [SPARC]: sys_newfstatat --> sys_fstatat64 Signed-off-by: David S. Miller commit e2230eac17486e2ee07091d54d898eb40bcd0fdd tree ad0a561db979d344239dde2ce7632345cdb8f870 parent 61c41823c50302ca6cd455c48a1395f944c61f8f author Matthew Wilcox Sun, 12 Feb 2006 09:28:19 -0700 committer Sun, 12 Feb 2006 11:13:09 -0600 [SCSI] sym2: Mask off opcode from RBC pm->sg.size is set from the Residual Byte Count register. However, the upper byte of the RBC is the opcode of the instruction that was executing, so we need to mask it off. This fixes some spurious rejects of IGNORE WIDE RESIDUE messages. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 61c41823c50302ca6cd455c48a1395f944c61f8f tree 1a6826ea48b9860717d9e57e9d05d655565bbec8 parent ed829ad607a9c334cea490d3a8c0f874153fb42d author Andreas Herrmann Sat, 11 Feb 2006 01:43:55 +0100 committer Sun, 12 Feb 2006 11:12:38 -0600 [SCSI] zfcp: fix: avoid race between fc_remote_port_add and scsi_add_device Flush workqueue of a scsi host after a remote port for that host is registered at the fc transport class. Otherwise immediate registration of a scsi device on that host is racy. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit ed829ad607a9c334cea490d3a8c0f874153fb42d tree 7abbf2eb353ee64d330ac423fe42b3524f409eec parent 2f8f3ed5fc566700cf45d422f4cf1624bd123d93 author Maxim Shchetynin Sat, 11 Feb 2006 01:42:58 +0100 committer Sun, 12 Feb 2006 11:12:20 -0600 [SCSI] zfcp: fix logging during device reset Avoid access to old fsf_requests if device reset is logged. Signed-off-by: Maxim Shchetynin Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 2f8f3ed5fc566700cf45d422f4cf1624bd123d93 tree b319da619c080aa27f00afa9105c526157fc4a87 parent c8024eb549f0c701e6d1c46c32e997f06f05d76d author Andreas Herrmann Sat, 11 Feb 2006 01:41:50 +0100 committer Sun, 12 Feb 2006 11:11:58 -0600 [SCSI] zfcp: fix adapter erp when link is unplugged Remove endless polling for replug of the local link. Just wait for link up notification. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit c8024eb549f0c701e6d1c46c32e997f06f05d76d tree 28cc1d7926472b64ec850190cae99431bfe9c29f parent 3542adcb354fea4fca792d36b91cb44d0da147e5 author Andreas Herrmann Sat, 11 Feb 2006 01:40:11 +0100 committer Sun, 12 Feb 2006 11:11:41 -0600 [SCSI] zfcp: get rid of physical_wwpn and physical_s_id Remove all remainders of obsolete zfcp adapter attributes physical_wwpn and physical_s_id. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 3542adcb354fea4fca792d36b91cb44d0da147e5 tree b567c729100959f70c92df5cce55283f63dca367 parent 4733804c9f62fbc17ba69e8654a5fdf465f5bc41 author Ju, Seokmann Thu, 09 Feb 2006 12:32:59 -0700 committer Sun, 12 Feb 2006 11:11:09 -0600 [SCSI] megaraid_legacy: kobject_register failure Attached patch fixes problem that cause kobject_register failure during loading. Kobject_register would fail when there are more than 1 module with same module name. This patch will change module name of megaraid_legacy from 'megaraid' to 'megaraid_legacy'. Signed-Off-by: Seokmann Ju Signed-off-by: James Bottomley commit 4733804c9f62fbc17ba69e8654a5fdf465f5bc41 tree 4ed2f54a67b5529d7b017c8044264041d0bdaa81 parent 0d4be1240b2668b6a3ffadb15eb660baf52f8377 author Brian King Wed, 08 Feb 2006 20:57:42 -0600 committer Sun, 12 Feb 2006 11:05:44 -0600 [SCSI] ipr: Fix adapter initialization failure Since scsi core is always sending scatterlists now, remove some code which was written with the bad assumption that a small transfer would not be sent down in a scatterlist. Without this fix, the ipr driver ends up sending garbage data to the adapter following a reset, causing it to fail the reset and take the adapter offline. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 20b83382d1c5d4d1a73fc5671261db5239d1dbb3 tree 331685789ab2d86b1e126b0eb7c997642150d5d8 parent f295c79b6766b25fe8c1aad88211c54d1caa7e0b author Roland Dreier Sat, 11 Feb 2006 12:22:12 -0800 committer Roland Dreier Sat, 11 Feb 2006 12:22:12 -0800 IPoIB: Yet another fix for send-only joins Even after the last fix, it's still possible for a send-only join to start before the join for the broadcast group has finished. This could cause us to create a multicast group using attributes from the broadcast group that haven't been initialized yet, so we would use garbage for the Q_Key, etc. Fix this by waiting until the broadcast group's attached flag is set before starting send-only joins. Signed-off-by: Roland Dreier commit f295c79b6766b25fe8c1aad88211c54d1caa7e0b tree 116e8255895a00c133637b3b7aa9559daba02a94 parent 7bcb974ef6a0ae903888272c92c66ea779388c01 author Roland Dreier Fri, 10 Feb 2006 18:02:44 -0800 committer Roland Dreier Fri, 10 Feb 2006 18:02:44 -0800 IB/mthca: Don't print debugging info until we have all values When debugging is enabled, the mthca_QUERY_DEV_LIM() firmware command function prints out some of the device limits that it queries. However the debugging prints happen before all of the fields are extracted from the firmware response, so some of the values that get printed are uninitialized junk. Move the prints to the end of the function to fix this. Signed-off-by: Roland Dreier commit 28b2425ac76b0f043f2efd34521f2a3c7ec8ccc5 tree 042919a71832de77463ab0ca77c1983e7951477d parent 7ec14e49b72da20d7212c707f226271525aee4ae author Kyle McMartin Wed, 08 Feb 2006 23:33:15 -0500 committer Kyle McMartin Wed, 08 Feb 2006 23:27:58 -0500 [PARISC] Stub out pselect6/ppoll until TIF_RESTORE_SIGMASK is done Swap out pselect6/ppoll for ni_syscall for now. We also have to switch the macro to ENTRY_SAME since compat_sys_ni_syscall does not exist. Signed-off-by: Kyle McMartin commit 7ec14e49b72da20d7212c707f226271525aee4ae tree 2cc1345d2ebb9259dc951fe3a492b7ff2b185ff9 parent f823bcae2b9f194cfc164b8cbb87d71695dec563 author Kyle McMartin Mon, 06 Feb 2006 10:10:15 -0700 committer Kyle McMartin Wed, 08 Feb 2006 22:56:22 -0500 [PARISC] Convert sba_iommu.c to use seq_file Use seq_file interface for proc output in sba_iommu. Also clean up the bus root assignment, and give the proc files a more logical name. Tested on my J6000. Signed-off-by: Kyle McMartin commit f823bcae2b9f194cfc164b8cbb87d71695dec563 tree 7a6d5e8c65069c29539e8edc7c0117176b13a532 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 author Kyle McMartin Sun, 05 Feb 2006 20:37:53 -0700 committer Kyle McMartin Wed, 08 Feb 2006 22:56:16 -0500 [PARISC] Convert ccio-dma.c to use seq_file Gut ccio-dma.c of the ugly proc append and snprintf cruft and just use seq_printf instead. Tested on a K-class. Signed-off-by: Kyle McMartin commit 7bcb974ef6a0ae903888272c92c66ea779388c01 tree 926245a2e120dd5884f3bab92020612fcfbd78bf parent 479a079663bd4c5f3d2714643b1b8c406aaba3e0 author Michael S. Tsirkin Tue, 07 Feb 2006 16:39:26 -0800 committer Roland Dreier Tue, 07 Feb 2006 16:39:26 -0800 IPoIB: Fix another send-only join race Further, there's an additional issue that I saw in testing: ipoib_mcast_send may get called when priv->broadcast is NULL (e.g. if the device was downed and then upped internally because of a port event). If this happends and the send-only join request gets completed before priv->broadcast is set, we get an oops. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 479a079663bd4c5f3d2714643b1b8c406aaba3e0 tree e484f9a2dce6ee68f1c328d54f18acbf137c1999 parent 8cf3f04f45694db0699f608c0e3fb550c607cc88 author Michael S. Tsirkin Tue, 07 Feb 2006 16:37:08 -0800 committer Roland Dreier Tue, 07 Feb 2006 16:37:08 -0800 IPoIB: Don't start send-only joins while multicast thread is stopped Fix the following race scenario: - Device is up. - Port event or set mcast list triggers ipoib_mcast_stop_thread, this cancels the query and waits on mcast "done" completion. - Completion is called and "done" is set. - Meanwhile, ipoib_mcast_send arrives and starts a new query, re-initializing "done". Fix this by adding a "multicast started" bit and checking it before starting a send-only join. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0d4be1240b2668b6a3ffadb15eb660baf52f8377 tree 71ace6b819e5efe8951c99baaeadf0bfc56c6123 parent 247ec457ce108000987be517c83868f6361d9f76 author andrew.vasquez@qlogic.com Tue, 07 Feb 2006 08:45:35 -0800 committer Tue, 07 Feb 2006 10:54:07 -0600 [PATCH] qla2xxx: Correct lun assignment during IOCB submission. 4gb products require an IOCB's FCP-LUN to be formatted in wire-format prior to submission. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 247ec457ce108000987be517c83868f6361d9f76 tree 6b6cfc25232e8b9a2d43d484d3ee09d6f981b107 parent f7757a5f0fa94a0ce4d6ea55f440845bb3faf712 author andrew.vasquez@qlogic.com Tue, 07 Feb 2006 08:45:40 -0800 committer Tue, 07 Feb 2006 10:54:05 -0600 [PATCH] qla2xxx: Pass input-buffer length to Get-ID-List mailbox command. Recent ISP24xx firmwares require that mailbox register 8 be set to the maximum number of bytes to transfer during DMA copying of the list. We safely set this value to zero (infinite), since the call is *only* made in FCAL topologies. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f7757a5f0fa94a0ce4d6ea55f440845bb3faf712 tree d4bf2378064586cfb316aaa8c0a259cd99c279ac parent 387f96b4d9391bf3ce6928fb9cd90c9c7df37291 author andrew.vasquez@qlogic.com Tue, 07 Feb 2006 08:45:30 -0800 committer Tue, 07 Feb 2006 10:54:02 -0600 [PATCH] qla2xxx: Remove bogus debug-code. Commit 854165f4245c4a3b4a8cc363ba2050033151e196 inadvertently added some code meant only for testing -- the driver was ignoring the non-zero function numbers of a multi-port HBA. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 387f96b4d9391bf3ce6928fb9cd90c9c7df37291 tree b2c1af3552d6cd98d67913be741f50a5d76cd9a2 parent 62288f105b3cad0b8643526d2a41b5503d0a1476 author andrew.vasquez@qlogic.com Tue, 07 Feb 2006 08:45:45 -0800 committer Tue, 07 Feb 2006 10:53:56 -0600 [PATCH] qla2xxx: Close window on race between rport removal and fcport transition. Fcport visibility is recognized during interrupt time, but, rport removal can only occur during a process (sleeping)-context. Return a DID_IMM_RETRY status for commands submitted within this window to insure I/Os do not prematurely run-out of retries. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 62288f105b3cad0b8643526d2a41b5503d0a1476 tree 748417665b1dc2717f7ce50208573c6993f973fd parent 40cdc840dc337cb17d81bcf028b40834e78c1038 author adam radford Sun, 05 Feb 2006 14:51:43 -0800 committer Sun, 05 Feb 2006 17:15:15 -0600 [SCSI] 3ware 9000 driver >4GB memory fix The attached patch fixes a bug in the 3ware 9000 series driver: - Fix use_sg == 0 mapping on systems with 4GB or higher. This fixes REPORT_LUNS (0xa0) failing with 3ware 9000 controllers on systems with lots of ram, mentioned in bugzilla # 6009: http://bugzilla.kernel.org/show_bug.cgi?id=6009 Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit 40cdc840dc337cb17d81bcf028b40834e78c1038 tree 6d8bb794620cfe0c1daf3d35cb7ac8ab5d95ebf9 parent f9876f0b67c3f0b04ee2167602df54e7ae139ad7 author Jenx Axboe Sun, 05 Feb 2006 16:36:23 +0100 committer Sun, 05 Feb 2006 12:59:29 -0600 [SCSI] gdth: don't map zero-length requests Don't map zero-length requests in gdth, zome architectures don't like that in their dma mapping routines. [ I'm pretty sure Jens posted this before, but for some reason it got forgotten --hch ] Signed-off-by: James Bottomley commit f9876f0b67c3f0b04ee2167602df54e7ae139ad7 tree 7d82ef9fa3e19f837c4aa69a0f168fbf5f6e8114 parent 122da30223c06cee181044af6d32e88b256d10df author Sumant Patro Fri, 03 Feb 2006 15:34:35 -0800 committer Sat, 04 Feb 2006 16:38:41 -0600 [SCSI] megaraid_sas: support for 1078 type controller added This patch adds support for 1078 type controller (device id : 0x60). Signed-off-by: Sumant Patro Signed-off-by: James Bottomley commit 122da30223c06cee181044af6d32e88b256d10df tree 4f56cd9af050aa1beaf8d053eae4f4ed38c115fc parent ea5a7a82f9d2d8a81f8fa541c34a12b43d390f61 author Joshua Giles Fri, 03 Feb 2006 15:34:17 -0800 committer Sat, 04 Feb 2006 16:37:29 -0600 [SCSI] megaraid_sas: register 16 byte CDB capability This patch properly registers the 16 byte command length capability of the megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas hardware supports 16 byte CDB's. Signed-off-by: Joshua Giles Signed-off-by: Sumant Patro Signed-off-by: James Bottomley commit ea5a7a82f9d2d8a81f8fa541c34a12b43d390f61 tree 3f8c20eb726abd6994f16d3938ff760fe25bafce parent 946cbf040adb9db05bb895a4b629537fd2d03b0e author Moore, Eric Thu, 02 Feb 2006 17:20:01 -0700 committer Sat, 04 Feb 2006 16:33:24 -0600 [SCSI] fusion - mptctl -adding asyn event notification support Adding aen support. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 946cbf040adb9db05bb895a4b629537fd2d03b0e tree 69268cb71f6fa5d61dd6be8fb112e6e9b54817e5 parent 592f9c2fc9725b922ba8c4b1d67318ea4a301b59 author Moore, Eric Thu, 02 Feb 2006 17:19:50 -0700 committer Sat, 04 Feb 2006 16:33:07 -0600 [SCSI] fusion - mptctl -firmware download fix Fix's firmware download ioctl to work with SAS. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 592f9c2fc9725b922ba8c4b1d67318ea4a301b59 tree c6412bd0074ee48693d4560bcbe28927c95de3bb parent 5f07e2499d629045f7f8a60a5b442792f08732cb author Moore, Eric Thu, 02 Feb 2006 17:19:47 -0700 committer Sat, 04 Feb 2006 16:32:51 -0600 [SCSI] fusion - mptctl - backplane istwi fix Moving the toolbox call from mptbase.c, over to mptctl.c, and using the mptctl infastructure to issue the call. The existing code is hanging on certain HP platforms when this ioctl is issued, and this patch fix's that. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5f07e2499d629045f7f8a60a5b442792f08732cb tree a616bec57aece4c528ced7a0f130dd5f62446f28 parent 5b5ef4f617f1706a23b0433d89a9c02ceb0980a5 author Moore, Eric Thu, 02 Feb 2006 17:19:44 -0700 committer Sat, 04 Feb 2006 16:32:32 -0600 [SCSI] fusion - mptctl -sense width fix Bug fix for correctly setting sense width for the MPTCOMMAND ioctl. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5b5ef4f617f1706a23b0433d89a9c02ceb0980a5 tree 9ee0d3c2590af2ebd0dd542bf2803e8d909b551f parent 86a7dcaae9c67a344e51190734b98684072d181c author Moore, Eric Thu, 02 Feb 2006 17:19:40 -0700 committer Sat, 04 Feb 2006 16:32:18 -0600 [SCSI] fusion - mptctl - Event Log Fix Use the hard coded value MPTCTL_EVENT_LOG_SIZE to fix bug where in certain cases, the ioc->eventLogSize was initialized. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 86a7dcaae9c67a344e51190734b98684072d181c tree 7de380c56e4f0ec2235e92633e6285fe226e62dd parent 9cc1cfbc67d77164f5b612fcf833460eca4d81e9 author Moore, Eric Thu, 02 Feb 2006 17:19:37 -0700 committer Sat, 04 Feb 2006 16:31:50 -0600 [SCSI] fusion - mtctl - change to wait_event_timeout Change from using wait_event_interruptible_timeout to wait_event_timeout. Also delete white space and duplicate line of code. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 9cc1cfbc67d77164f5b612fcf833460eca4d81e9 tree d2706627405b95fdfd22dcb14d2b9d06d9ac42c0 parent 096f7a2a094af3007937d6fd21560e28dca0994d author Moore, Eric Thu, 02 Feb 2006 17:19:33 -0700 committer Sat, 04 Feb 2006 16:31:29 -0600 [SCSI] fusion - mptctl - adding support for bus_type=SAS Add bus_type recognization in ioctl path for SAS. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 096f7a2a094af3007937d6fd21560e28dca0994d tree 2128295ad5178e0677d0cef7e966f35de92d2730 parent b5b81016538cf84a10c80438b7aa750dd375ba93 author Moore, Eric Thu, 02 Feb 2006 17:19:30 -0700 committer Sat, 04 Feb 2006 16:31:12 -0600 [SCSI] fusion - mptctl - MPTCOMMAND - adding function types. This adds support for new function types in the existing MPTCOMMAND ioctl. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit b5b81016538cf84a10c80438b7aa750dd375ba93 tree 9f025331f9584bf09652d984bc471caa1bf6205b parent 28e5554df63085be3b8bd2aee6ddbc479f0d136e author Mike Christie Wed, 01 Feb 2006 21:07:14 -0600 committer Sat, 04 Feb 2006 16:30:37 -0600 [SCSI] iscsi update: rm unused sessions list rm unused sessions list. This patch is last becuase I was not sure if this patchset was going to be applied over the kmalloc2kzalloc one by JesS. If it is then this patch will not apply and can be dropped for now. I will resend later when things setttle down. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 28e5554df63085be3b8bd2aee6ddbc479f0d136e tree ec390d19b12368574dcee4146b15bfa918d3dbf6 parent b36ae07cb7757bd3eabd13c79844083dccac2f77 author Mike Christie Wed, 01 Feb 2006 21:07:11 -0600 committer Sat, 04 Feb 2006 16:20:12 -0600 [SCSI] iscsi update: use gfp_t Use gfp_t. I accidentally removed this in our last update. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit b36ae07cb7757bd3eabd13c79844083dccac2f77 tree a30d2a7d105591f24046d987a0db46108e41f256 parent 351f739e68e97a0316136a5bda145b952d99a989 author Mike Christie Wed, 01 Feb 2006 21:07:09 -0600 committer Sat, 04 Feb 2006 16:19:53 -0600 [SCSI] iscsi update: fix mgmt pool err path release >From ogerlitz@voltaire.com: mgmtpool shoild be frees in immdata_alloc_fail label. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 351f739e68e97a0316136a5bda145b952d99a989 tree eed8597fe46a5e4cfa41edcafeedbd91292a66f9 parent 1fd459e367657f595ddf192b9a46298e18d4fc13 author Mike Christie Wed, 01 Feb 2006 21:07:06 -0600 committer Sat, 04 Feb 2006 16:19:31 -0600 [SCSI] iscsi update: set correct state at creation time >From erezz@voltaire.com: We are still in ISCSI_STATE_FREE state at create time. The addition of the first connection puts us in ISCSI_STATE_LOGGED_IN. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 1fd459e367657f595ddf192b9a46298e18d4fc13 tree 471aac962b34cdf3ec6ccf2249ca90f94148c8dc parent ee7f8e405342722e42c15fe8e841a679f8951eea author Mike Christie Wed, 01 Feb 2006 21:07:03 -0600 committer Sat, 04 Feb 2006 16:19:08 -0600 [SCSI] iscsi update: rm conn lock >From erezz@voltaire.com: rm conn->lock since it is not used anymore. The dataqueue is protected by the session lock and xmitmutex. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit ee7f8e405342722e42c15fe8e841a679f8951eea tree 3b21836a9bee874442817ac8f4433f552c6ccb26 parent 142e301fc818de9b116706835cd9fc864e73f203 author Mike Christie Wed, 01 Feb 2006 21:07:01 -0600 committer Sat, 04 Feb 2006 16:18:51 -0600 [SCSI] iscsi update: set deamon pid earlier >From michaelc@cs.wisc.edu: If the transport lookup fails we set the daemon pid too late. This can cause us deadlock since the netlink code will think we meant to call back into our iscsi_if_rx function. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 142e301fc818de9b116706835cd9fc864e73f203 tree b37eb345383e77a6dc1bc27b33c2db22f5af0000 parent 5b940adf5b341b12dbb94e7cbdb416b35f52017b author Mike Christie Wed, 01 Feb 2006 21:06:58 -0600 committer Sat, 04 Feb 2006 16:18:27 -0600 [SCSI] iscsi update: setup pool before using >From andmike@us.ibm.com: Ensure that pool data is setup prior to calling mempool_create as it will call the the alloc function during create. Signed-off-by: Mike Anderson Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 5b940adf5b341b12dbb94e7cbdb416b35f52017b tree 8f436052e75128929ffd30b32118f694eea56d10 parent 7b7232f3fb5ecd7c30cb52df368070cc5f5ca614 author Mike Christie Wed, 01 Feb 2006 21:06:56 -0600 committer Sat, 04 Feb 2006 16:18:09 -0600 [SCSI] iscsi update: pass correct skb to skb_trim >From da-x@monatomic.org: Wrong skb is passed to skb_trim in iscsi_if_get_stats. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 7b7232f3fb5ecd7c30cb52df368070cc5f5ca614 tree c7430280a69e587575bba336259e11a7aec8674e parent bb08f92ebd75704e07d69bb9d8ee234d1a500b98 author Mike Christie Wed, 01 Feb 2006 21:06:49 -0600 committer Sat, 04 Feb 2006 16:17:03 -0600 [SCSI] iscsi update: cleanup iscsi class interface From: michaelc@cs.wisc.edu fujita.tomonori@lab.ntt.co.jp da-x@monatomic.org and err path fixup from: ogerlitz@voltaire.com This patch cleans up that interface by having the lld and class pass a iscsi_cls_session or iscsi_cls_conn between each other when the function is used by HW and SW iscsi llds. This way the lld does not have to remember if it has to send a handle or pointer and a handle or pointer to connection, session or host. This also has the class verify the session handle that gets passed from userspace instead of using the pointer passed into the kernel directly. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit bb08f92ebd75704e07d69bb9d8ee234d1a500b98 tree 9756f6c6a18574264e889aa9af408ce60ca59fbb parent bfb35aa85057da4336af56a7f26e08031f4e3468 author Mark Haverkamp Wed, 01 Feb 2006 09:30:44 -0800 committer Sat, 04 Feb 2006 16:16:14 -0600 [SCSI] aacraid: use no_uld_attach flag Received From Mark Salyzyn. In order to support user tools accessing the array components (SMART, Mode Page information, Cache page adjustments, WWN determination, Firmware updates etc), we take advantage of the no_uld_attach flag and deprecate the code that filters Inquiries to block the requests to array components. The quirk prevents the sd layer from attaching to the components. We also took the opportunity to balance the queue depths based on the total adapter queue depth to the array devices to reduce the chances of starvation. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit bfb35aa85057da4336af56a7f26e08031f4e3468 tree bd603a7e6df5a3e232b520bf4aa3804b89046c68 parent d8a571135aad527e5984c8094b7977c6914f2550 author Mark Haverkamp Wed, 01 Feb 2006 09:30:55 -0800 committer Sat, 04 Feb 2006 16:16:07 -0600 [SCSI] aacraid: Update global function names Received from Mark Salyzyn, Reduce the possibility of namespace collision. Prefix with aac_. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit d8a571135aad527e5984c8094b7977c6914f2550 tree 7e3fc04c48cac74eedbdcfb49fd96c2905dab0b9 parent 854165f4245c4a3b4a8cc363ba2050033151e196 author Mark Haverkamp Wed, 01 Feb 2006 09:30:31 -0800 committer Sat, 04 Feb 2006 16:15:56 -0600 [SCSI] aacraid: reduce device probe warnings Received from Mark Salyzyn. This patch sets up some device quirks surrounding arrays to inform the scsi layer that various mode pages are not supported. This reduces the severity of the complaints that show up in the logs as the array devices are enumerated. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 854165f4245c4a3b4a8cc363ba2050033151e196 tree 0f2a19b829eaca15d3d406cfae6b77660858c7ff parent 1b3f63659bd353ae460c35f5793a9fd46cc95014 author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:05:17 -0800 committer Sat, 04 Feb 2006 16:12:41 -0600 [SCSI] qla2xxx: Add support to retrieve/update HBA option-rom. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1b3f63659bd353ae460c35f5793a9fd46cc95014 tree 2dc8d328efbca2a23cd374c3ef5db74207f4f26d parent f6df144cca19cc60dda6dcce65d236b70cc46494 author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:05:12 -0800 committer Sat, 04 Feb 2006 16:12:19 -0600 [SCSI] qla2xxx: Return correct data-len during NVRAM retrieval. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f6df144cca19cc60dda6dcce65d236b70cc46494 tree 2cd4ae47df5808e46e0387c44ff436879b0e0111 parent 392e2f651c8a83484116a407a9f121e534c22b5a author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:05:07 -0800 committer Sat, 04 Feb 2006 16:11:57 -0600 [SCSI] qla2xxx: Add beacon support via class-device attribute. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 392e2f651c8a83484116a407a9f121e534c22b5a tree 7e36db1064949fe3ec4d6e6cd51b4ef1f70b5c70 parent 8d067623adf119081b7a2683cdc6ee90eb8a70b2 author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:05:02 -0800 committer Sat, 04 Feb 2006 16:11:35 -0600 [SCSI] qla2xxx: Add host-statistics FC transport attributes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8d067623adf119081b7a2683cdc6ee90eb8a70b2 tree aa08e89b8cff1524ebc348fc0132afa1f74763a1 parent 04414013bbda644b65537e73f1dacb2821b36811 author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:04:56 -0800 committer Sat, 04 Feb 2006 16:10:28 -0600 [SCSI] qla2xxx: Add host port-type FC transport attribute. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 04414013bbda644b65537e73f1dacb2821b36811 tree d8859176c167bff43bfb929657a32da3bb814749 parent 53ea68ecea11bcbb3451c2758ce181bd97b569a9 author andrew.vasquez@qlogic.com Tue, 31 Jan 2006 16:04:51 -0800 committer Sat, 04 Feb 2006 16:10:07 -0600 [SCSI] qla2xxx: Add port-speed FC transport attribute. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8cf3f04f45694db0699f608c0e3fb550c607cc88 tree aab58ffbfc1650e66251b46eb1e4bef24ec82ec4 parent 3c3b809e256c417847f1a96b2f9d9f66c7fcb02c author Ralph Campbell Fri, 03 Feb 2006 14:28:48 -0800 committer Roland Dreier Fri, 03 Feb 2006 14:28:48 -0800 IB/mad: Handle DR SMPs with a LID routed part Fix handling of directed route SMPs with a beginning or ending LID routed part. Signed-off-by: Ralph Campbell Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 7d5e350fab47f1273bc8b52d5f133ed6e4baeb7f tree 24318712260f30ea36db8e47c40a1ba5f0dd66a5 parent a85f7bd310dbc9010309bfe70b6b02432a11ef59 author Dave Jones Thu, 02 Feb 2006 17:03:42 -0500 committer Dave Jones Thu, 02 Feb 2006 17:03:42 -0500 [CPUFREQ] Whitespace/CodingStyle cleanups Signed-off-by: Dave Jones commit a85f7bd310dbc9010309bfe70b6b02432a11ef59 tree 569a7cb38a5f99579a693749508fd01a9e9912c7 parent 9d2725bb815d915fc6c8531097d9e71b579a8763 author Thomas Renninger Wed, 01 Feb 2006 11:36:04 +0100 committer Dave Jones Thu, 02 Feb 2006 16:56:41 -0500 [CPUFREQ] Check whether driver init did not initialize current freq Check whether driver init did not initialize current freq Signed-off-by: Thomas Renninger Signed-off-by: Dave Jones commit 9d2725bb815d915fc6c8531097d9e71b579a8763 tree 0183fb3860cef820a15b5f66ca5d574918c16640 parent e4472cb3706ceea42797ae1dc79d624026986694 author Thomas Renninger Wed, 01 Feb 2006 11:38:37 +0100 committer Dave Jones Thu, 02 Feb 2006 16:51:44 -0500 [CPUFREQ] Check for not initialized freq on cpufreq changes Test for old_freq equals 0 to insure not to divide by 0: ______________________________________________ Check for not initialized freq on cpufreq changes Signed-off-by: Thomas Renninger Signed-off-by: Dave Jones commit e4472cb3706ceea42797ae1dc79d624026986694 tree 3b6276a2c0caca47fbf7b53f9ec26593ff0cf5fa parent c0672860199ac009af7cf198a134ee7a4c3a9bb3 author Dave Jones Tue, 31 Jan 2006 15:53:55 -0800 committer Dave Jones Tue, 31 Jan 2006 15:53:55 -0800 [CPUFREQ] cpufreq_notify_transition cleanup. Introduce caching of cpufreq_cpu_data[freqs->cpu], which allows us to make the function a lot more readable, and as a nice side-effect, it now fits in < 80 column displays again. Signed-off-by: Dave Jones