commit 418aade459f03318defd18ef0b11981a63bd81b0 tree b13a46e3d7050fa92e390b3374910882ae867254 parent 8977d929e49021d9a6e031310aab01fa72f849c2 author Christoph Lameter Fri, 10 Feb 2006 01:51:15 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:13 -0800 [PATCH] Updates for page migration This adds some additional comments in order to help others figure out how exactly the code works. And fix a variable name. Also swap_page does need to ignore all reference bits when unmapping a page. Otherwise we may have to repeatedly unmap a frequently touched page. So change the try_to_unmap parameter to 1. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8977d929e49021d9a6e031310aab01fa72f849c2 tree 13697e607b1153666139114242964f9982acc328 parent f0188f47482efdbd2e005103bb4f0224a835dfad author Paul Fulghum Fri, 10 Feb 2006 01:51:14 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] tty buffering stall fix Prevent stalled processing of received data when a driver allocates tty buffer space but does not immediately follow the allocation with more data and a call to schedule receive tty processing. (example: hvc_console) This bug was introduced by the first locking patch for the new tty buffering. Signed-off-by: Paul Fulghum Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0188f47482efdbd2e005103bb4f0224a835dfad tree 4d08110ea4560b433eecb4fa4de05dae6ea103e9 parent 8e36709d8cea48a4d341294ce2b46678a2e77159 author Ravikiran G Thirumalai Fri, 10 Feb 2006 01:51:13 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] slab: Avoid deadlock at kmem_cache_create/kmem_cache_destroy Prevents deadlock situation between kmem_cache_create()/kmem_cache_destory(), and kmem_cache_create() /cpu hotplug. The locking order probably got moved over time. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e36709d8cea48a4d341294ce2b46678a2e77159 tree bfb3f096c111e2feaab53e386e199d553df36482 parent c22db9412736204b25aeba19d18e5ea922f7d632 author KAMEZAWA Hiroyuki Fri, 10 Feb 2006 01:51:12 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] shmdt cannot detach not-alined shm segment cleanly. sys_shmdt() can manage shm segments which are covered by multiple vmas. (This can happen when a user uses mprotect() after shmat().) This works well if shm is aligned to PAGE_SIZE, but if not, the last segment cannot be detached. It is because a comparison in sys_shmdt() (vma->vm_end - addr) < size addr == return address of shmat() size == shmsize, argments to shmget() size should be aligned to PAGE_SIZE before being compared with vma->vm_end, which is aligned. Signed-off-by: KAMEZAWA Hiroyuki Cc: Manfred Spraul Acked-by: Hugh Dickins Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c22db9412736204b25aeba19d18e5ea922f7d632 tree 22a3c9526ebdd1562f4160a09389011ef6039ee7 parent 7a8ef1cb774e5438d292365626f9b96616283706 author Jan Beulich Fri, 10 Feb 2006 01:51:11 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] prevent recursive panic from softlockup watchdog When panic_timeout is zero, suppress triggering a nested panic due to soft lockup detection. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a8ef1cb774e5438d292365626f9b96616283706 tree 82d085204e8728d28a5267fb39aa2e26ea8824c9 parent 705672935f8a9e661264e34cd8c409e8cddcc7db author Andrew Morton Fri, 10 Feb 2006 01:51:08 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] x86: don't initialise cpu_possible_map to all ones Initialising cpu_possible_map to all-ones with CONFIG_HOTPLUG_CPU means that a) All for_each_cpu() loops will iterate across all NR_CPUS CPUs, rather than over possible ones. That can be quite expensive. b) Soon we'll be allocating per-cpu areas only for possible CPUs. So with CPU_MASK_ALL, we'll be wasting memory. I also switched voyager over to not use CPU_MASK_ALL in the non-CPU-hotplug case. Should be OK.. I note that parisc is also using CPU_MASK_ALL. Suggest that it stop doing that. Cc: James Bottomley Cc: Kyle McMartin Cc: Paul Jackson Cc: Ashok Raj Cc: Zwane Mwaikambo Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705672935f8a9e661264e34cd8c409e8cddcc7db tree f4e3b2a3af5f066fc75fc484ae88fce80826d477 parent 02df360bf38ca2acb78ddee9fd28262e9474153c author Andreas Gruenbacher Fri, 10 Feb 2006 01:51:07 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] Fix building external modules on ppc32 We are setting up sources for building external modules like this: /usr/src/linux-obj> # create a .config file /usr/src/linux-obj> make -C /usr/src/linux O=$PWD oldconfig /usr/src/linux-obj> make -C /usr/src/linux O=$PWD prepare /usr/src/linux-obj> make -C /usr/src/linux O=$PWD scripts /usr/src/linux-obj> make -C /usr/src/linux O=$PWD clean After that, external modules can be built with: /usr/src/module> make -C /usr/src/linux-obj M=$PWD This fails for ppc32 because the `make clean' removes the arch/powerpc/include directory. This should be done in archmrproper instead of in archclean. Signed-off-by: Andreas Gruenbacher Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02df360bf38ca2acb78ddee9fd28262e9474153c tree a52dd8accc1b86d0ff7c6af0f19b331e199f0bc0 parent 9c15e852a524d55ab768cf48c97f5c684f876af2 author Heiko Carstens Fri, 10 Feb 2006 01:51:06 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] remove bogus comment from init/main.c Remove bogus comment from init function which could lead to the assumption that cpu_possible_map is setup in smp_prepare_cpus(). Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c15e852a524d55ab768cf48c97f5c684f876af2 tree 897cc70b792652599e7f135e4cb4aeff82a3f2b8 parent afcd024183d8a6eae7e489ce50b2485c5ae4f662 author Haren Myneni Fri, 10 Feb 2006 01:51:05 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] kexec: fix in free initrd when overlapped with crashkernel region It is possible that the reserved crashkernel region can be overlapped with initrd since the bootloader sets the initrd location. When the initrd region is freed, the second kernel memory will not be contiguous. The Kexec_load can cause an oops since there is no contiguous memory to write the second kernel or this memory could be used in the first kernel itself and may not be part of the dump. For example, on powerpc, the initrd is located at 36MB and the crashkernel starts at 32MB. The kexec_load caused panic since writing into non-allocated memory (after 36MB). We could see the similar issue even on other archs. One possibility is to move the initrd outside of crashkernel region. But, the initrd region will be freed anyway before the system is up. This patch fixes this issue and frees only regions that are not part of crashkernel memory in case overlaps. Signed-off-by: Haren Myneni Acked-by: "Eric W. Biederman" Cc: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afcd024183d8a6eae7e489ce50b2485c5ae4f662 tree c9c6ec6c59461229f48238582a4bf3e9209f5ae1 parent a2000572ad511f5f43091ed7bd2cc3b913104a1e author Jesper Juhl Fri, 10 Feb 2006 01:51:03 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:12 -0800 [PATCH] wrong firmware location in IPW2100 Kconfig entry Firmware should go into /lib/firmware, not /etc/firmware. Found by Alejandro Bonilla. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Acked-by: Zhu Yi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2000572ad511f5f43091ed7bd2cc3b913104a1e tree 56279392dece8e11c33d3754854551aa6773095b parent 4b0955a6edb9b058ca1314ca210a92ee166c4d9a author Nick Piggin Fri, 10 Feb 2006 01:51:02 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:13:11 -0800 [PATCH] sched: remove smpnice I don't think the code is quite ready, which is why I asked for Peter's additions to also be merged before I acked it (although it turned out that it still isn't quite ready with his additions either). Basically I have had similar observations to Suresh in that it does not play nicely with the rest of the balancing infrastructure (and raised similar concerns in my review). The samples (group of 4) I got for "maximum recorded imbalance" on a 2x2 SMP+HT Xeon are as follows: | Following boot | hackbench 20 | hackbench 40 -----------+----------------+---------------------+--------------------- 2.6.16-rc2 | 30,37,100,112 | 5600,5530,6020,6090 | 6390,7090,8760,8470 +nosmpnice | 3, 2, 4, 2 | 28, 150, 294, 132 | 348, 348, 294, 347 Hackbench raw performance is down around 15% with smpnice (but that in itself isn't a huge deal because it is just a benchmark). However, the samples show that the imbalance passed into move_tasks is increased by about a factor of 10-30. I think this would also go some way to explaining latency blips turning up in the balancing code (though I haven't actually measured that). We'll probably have to revert this in the SUSE kernel. Cc: "Siddha, Suresh B" Acked-by: Ingo Molnar Cc: Peter Williams Cc: "Martin J. Bligh" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b0955a6edb9b058ca1314ca210a92ee166c4d9a tree 735e60ef67484b67432f2c81babab5bd37cb60ab parent 5bc159e6cb7ca8d173195919ee935885c129011e parent bab1deea308afcf9200837d6ac20aefe92972efb author Linus Torvalds Fri, 10 Feb 2006 08:09:41 -0800 committer Linus Torvalds Fri, 10 Feb 2006 08:09:41 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit bab1deea308afcf9200837d6ac20aefe92972efb tree bcf3d6ecb431b7b94cdd2a68e12b97abe3c2ebba parent 5dce971acf2ae20c80d5e9d1f6bbf17376870911 author Stephen Hemminger Thu, 09 Feb 2006 17:10:12 -0800 committer David S. Miller Thu, 09 Feb 2006 17:10:12 -0800 [BRIDGE]: fix error handling for add interface to bridge Refactor how the bridge code interacts with kobject system. It should still use kobjects even if not using sysfs. Fix the error unwind handling in br_add_if. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 5dce971acf2ae20c80d5e9d1f6bbf17376870911 tree 9d5e6809e839f18a2dfe51d2a1d0ff43a17c26bf parent b3f1be4b5412e34647764457bec901e06b03e624 author Stephen Hemminger Thu, 09 Feb 2006 17:09:38 -0800 committer David S. Miller Thu, 09 Feb 2006 17:09:38 -0800 [BRIDGE]: netfilter handle RCU during removal Bridge netfilter code needs to handle the case where device is removed from bridge while packet in process. In these cases the bridge_parent can become null while processing. This should fix: http://bugzilla.kernel.org/show_bug.cgi?id=5803 Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b3f1be4b5412e34647764457bec901e06b03e624 tree b3f1529ff0882ebb5aed190d8a61b52f703503ce parent 6fcf9412de64056238a6295f21db7aa9c37a532e author Stephen Hemminger Thu, 09 Feb 2006 17:08:52 -0800 committer David S. Miller Thu, 09 Feb 2006 17:08:52 -0800 [BRIDGE]: fix for RCU and deadlock on device removal Change Bridge receive path to correctly handle RCU removal of device from bridge. Also fixes deadlock between carrier_check and del_nbp. This replaces the previous deleted flag fix. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 5bc159e6cb7ca8d173195919ee935885c129011e tree 664360df9314d9c338a089da52bb3f2b97d5cdba parent ad91e6fa0d331e419e4692d146cdc04e594a5bea parent 65b78722ce2a2dc76108b467f79b2c5b4864af82 author Linus Torvalds Thu, 09 Feb 2006 17:08:09 -0800 committer Linus Torvalds Thu, 09 Feb 2006 17:08:09 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 6fcf9412de64056238a6295f21db7aa9c37a532e tree 06cd8f20551ce8173e8cccb8ecd628f955f7db6e parent 80ba250e59ced808a8c9b79560938bbe4509c0a7 author John Heffner Thu, 09 Feb 2006 17:06:57 -0800 committer David S. Miller Thu, 09 Feb 2006 17:06:57 -0800 [TCP]: rcvbuf lock when tcp_moderate_rcvbuf enabled The rcvbuf lock should probably be honored here. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 80ba250e59ced808a8c9b79560938bbe4509c0a7 tree 017c64acb3a5d5a43a495ea1e58b2dc270e2441e parent d93077fb0e7cb9d4f4094a649501d840c55fdc8b author David Binderman Thu, 09 Feb 2006 16:59:48 -0800 committer David S. Miller Thu, 09 Feb 2006 16:59:48 -0800 [IRDA]: out of range array access This patch fixes an out of range array access in irnet_irda.c. Author: David Binderman Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit d93077fb0e7cb9d4f4094a649501d840c55fdc8b tree 4786704b28bdddd2696e2791ea1dc641bf134cb3 parent 28633514afd68afa77ed2fa34fa53626837bf2d5 author Samuel Ortiz Thu, 09 Feb 2006 16:58:46 -0800 committer David S. Miller Thu, 09 Feb 2006 16:58:46 -0800 [IRDA]: Set proper IrLAP device address length This patch set IrDA's addr_len properly, i.e to 4 bytes, the size of the IrLAP device address. Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 28633514afd68afa77ed2fa34fa53626837bf2d5 tree 5f816a81d5aad85521b0c092885bd2b735bafd1d parent a70ea994a0d83fd0151a070be72b87d014ef0a7e author Alexey Kuznetsov Thu, 09 Feb 2006 16:40:58 -0800 committer David S. Miller Thu, 09 Feb 2006 16:43:41 -0800 [NETLINK]: illegal use of pid in rtnetlink When a netlink message is not related to a netlink socket, it is issued by kernel socket with pid 0. Netlink "pid" has nothing to do with current->pid. I called it incorrectly, if it was named "port", the confusion would be avoided. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit a70ea994a0d83fd0151a070be72b87d014ef0a7e tree 40e3bf28a3fa36f20b4625c241ca14abb0c1a00d parent ad91e6fa0d331e419e4692d146cdc04e594a5bea author Alexey Kuznetsov Thu, 09 Feb 2006 16:40:11 -0800 committer David S. Miller Thu, 09 Feb 2006 16:43:38 -0800 [NETLINK]: Fix a severe bug netlink overrun was broken while improvement of netlink. Destination socket is used in the place where it was meant to be source socket, so that now overrun is never sent to user netlink sockets, when it should be, and it even can be set on kernel socket, which results in complete deadlock of rtnetlink. Suggested fix is to restore status quo passing source socket as additional argument to netlink_attachskb(). A little explanation: overrun is set on a socket, when it failed to receive some message and sender of this messages does not or even have no way to handle this error. This happens in two cases: 1. when kernel sends something. Kernel never retransmits and cannot wait for buffer space. 2. when user sends a broadcast and the message was not delivered to some recipients. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit ad91e6fa0d331e419e4692d146cdc04e594a5bea tree 315363d4002ee449a8a754628c2f26d324157caf parent b481b4ecf5205f8e73e8f618085dbe3e070e9e31 parent 642fe301c3fbfe5e328a7a597c4dca41790edbbb author Linus Torvalds Thu, 09 Feb 2006 16:19:06 -0800 committer Linus Torvalds Thu, 09 Feb 2006 16:19:06 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit b481b4ecf5205f8e73e8f618085dbe3e070e9e31 tree 08b008dca74ff9cd2a3eaa0d777c2249565f6365 parent 9ac95f2f90e022c16d293d7978faddf7e779a1a9 parent 9caafa6c8686e319cf4d5f3757b3972c6c522b7c author Linus Torvalds Thu, 09 Feb 2006 16:18:19 -0800 committer Linus Torvalds Thu, 09 Feb 2006 16:18:19 -0800 Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 9ac95f2f90e022c16d293d7978faddf7e779a1a9 tree dcc1769ed614585e956c20c718506cdfe4b0bf92 parent c70d3d703ad94727dab2a3664aeee33d71e00715 author Oleg Nesterov Thu, 09 Feb 2006 22:41:50 +0300 committer Linus Torvalds Thu, 09 Feb 2006 16:17:36 -0800 [PATCH] do_sigaction: cleanup ->sa_mask manipulation Clear unblockable signals beforehand. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit c70d3d703ad94727dab2a3664aeee33d71e00715 tree c809680e7ea5167087d9ce77b2743e7fdf921b5b parent 15508d22d00277a1f2a1022dce38f2772c810d32 author Oleg Nesterov Thu, 09 Feb 2006 22:41:41 +0300 committer Linus Torvalds Thu, 09 Feb 2006 16:17:36 -0800 [PATCH] sys_signal: initialize ->sa_mask Pointed out by Linus Torvalds. sys_signal() forgets to initialize ->sa_mask. ( I suspect arch/ia64/ia32/ia32_signal.c:sys32_signal() also needs this fix ) Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit 642fe301c3fbfe5e328a7a597c4dca41790edbbb tree c1d19f5f83949d091e0ca3c3bfeabc73a09ec111 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 author Heiko Carstens Thu, 09 Feb 2006 15:09:15 -0800 committer David S. Miller Thu, 09 Feb 2006 15:09:15 -0800 [SPARC64]: Fix sys_newfstatat syscall table entry for 64-bit. The sparc64 64 bit syscall table seems to be broken as it has compat_sys_newfstatat in its syscall table instead of sys_newfstatat. Signed-off-by: Heiko Carstens Signed-off-by: David S. Miller commit 65b78722ce2a2dc76108b467f79b2c5b4864af82 tree a5296112d759443f84e6f334703dc330be903d8e parent a94746461765dae41fb82e4dac027d14af4d80d8 parent 9621a4ef8a29d11118f44def053931bcafb0dfc2 author Tony Luck Thu, 09 Feb 2006 14:43:58 -0800 committer Tony Luck Thu, 09 Feb 2006 14:43:58 -0800 Pull new-syscalls into release branch commit a94746461765dae41fb82e4dac027d14af4d80d8 tree ce7fa53c3509c6564fad23e42c7737560b085b2d parent 1ff0be1534839dabec85f6d16dc36734f4e158bf author Hidetoshi Seto Thu, 09 Feb 2006 14:42:55 -0800 committer Tony Luck Thu, 09 Feb 2006 14:42:55 -0800 [IA64] mca_drv: Add minstate validation MCA driver can cause panic if kernel gets a state info with no minstate. This patch adds minstate validation before handling it. Signed-off-by: Hidetoshi Seto Signed-off-by: Tony Luck commit 1ff0be1534839dabec85f6d16dc36734f4e158bf tree 43877a8d27b81716f4b7a2ea2cf638186764b0ce parent b6bb761897d3b0225fa9d61fc4782b02bab9a6e1 author Tony Luck Thu, 09 Feb 2006 14:41:41 -0800 committer Tony Luck Thu, 09 Feb 2006 14:41:41 -0800 [IA64] sys32_signal() forgets to initialize ->sa_mask Pointed out by Oleg Nesterov , who in turn got the hint from Linus. Signed-off-by: Tony Luck commit b6bb761897d3b0225fa9d61fc4782b02bab9a6e1 tree 79e3ace3f1bf58f52d635ccee3d27866678d5ce4 parent 8b34ff427d6f3b0a1207829350b9db16376f88c5 author Prarit Bhargava Thu, 09 Feb 2006 14:14:52 -0800 committer Tony Luck Thu, 09 Feb 2006 14:14:52 -0800 [IA64-SGI] Small cleanup for misuse of list_for_each to list_for_each_safe. Patch was suggested by Kenneth W. Chen here Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 8b34ff427d6f3b0a1207829350b9db16376f88c5 tree a3f33ef514dc2da5aa098686acc00cfaf1eaa98b parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 author Prarit Bhargava Thu, 09 Feb 2006 14:12:24 -0800 committer Tony Luck Thu, 09 Feb 2006 14:12:24 -0800 [IA64-SGI] Hotplug driver related fix in the SN ia64 code. Remove an erroneous kfree, and unlink the pcidev_info struct from the pcidev_info list prior to free'ing the pcidev_info struct. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 15508d22d00277a1f2a1022dce38f2772c810d32 tree b9aa22a9fc97ff54bc5677df5624b4ee91b56fe2 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 author Linus Torvalds Thu, 09 Feb 2006 08:00:14 -0800 committer Linus Torvalds Thu, 09 Feb 2006 08:00:14 -0800 Revert "[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf" This reverts commit 5e375bc7d586e0df971734a5a5f1f080ffd89b68. Kyle McMartin steps on his soap-box: "Sigh. Can everyone please stop assuming gcc can output to /dev/null? On several platforms, ld tries to lseek in the output file, and fails if it can't." Signed-off-by: Linus Torvalds commit 9caafa6c8686e319cf4d5f3757b3972c6c522b7c tree b38979b835b5d22e681b175d0b98a3c7560d9c59 parent 51e9f2ff83df6b1c81c5c44f4486c68ed87aa20e parent cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa author Jeff Garzik Thu, 09 Feb 2006 04:29:00 -0500 committer Jeff Garzik Thu, 09 Feb 2006 04:29:00 -0500 Merge branch 'upstream-fixes' commit cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa tree 73cd85e5529a01fa2338ab6d58b99c36dd666cbe parent ddef9bb367b19383df627e388cb4c01c86ddba6c parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 author Jeff Garzik Thu, 09 Feb 2006 00:58:59 -0500 committer Jeff Garzik Thu, 09 Feb 2006 00:58:59 -0500 Merge branch 'master' commit 0bdd340c092b0936f78a54bdbd3927463ed4fca3 tree d9215d382cdc4c2dc6366a2c551079590e8b8216 parent 9908104935325bd6beba67d637b6f5396d47075c parent f478af9dc58c01880832a321c3eea7703772c420 author Linus Torvalds Wed, 08 Feb 2006 17:06:51 -0800 committer Linus Torvalds Wed, 08 Feb 2006 17:06:51 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 9908104935325bd6beba67d637b6f5396d47075c tree ec3bf2213993e21598403e4aeb68ba1e92d536b5 parent 4b88f09364e94b05b66fb1441131e8460495a2f8 author Kristian Slavov Wed, 08 Feb 2006 16:10:53 -0800 committer David S. Miller Wed, 08 Feb 2006 16:13:28 -0800 [IPV6]: Address autoconfiguration does not work after device down/up cycle If you set network interface down and up again, the IPv6 address autoconfiguration does not work. 'ip addr' shows that the link-local address is in tentative state. We don't even react to periodical router advertisements. During NETDEV_DOWN we clear IF_READY, and we don't set it back in NETDEV_UP. While starting to perform DAD on the link-local address, we notice that the device is not in IF_READY, and we abort autoconfiguration process (which would eventually send router solicitations). Acked-by: Juha-Matti Tapio Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 4b88f09364e94b05b66fb1441131e8460495a2f8 tree 006c9594aa26a8ee6805b337901ecf7823c17dd9 parent ca76a2f3a5202ec1618cb7e76aa8a573235e469f author Andi Kleen Thu, 09 Feb 2006 00:35:50 +0100 committer Linus Torvalds Wed, 08 Feb 2006 15:52:15 -0800 [PATCH] x86-64: Add sys_unshare Add unshare syscall for x86-64 ppoll/pselect are not ready yet, but add reservations. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9621a4ef8a29d11118f44def053931bcafb0dfc2 tree b1e0a0214bddd5f23133e5b12fdf8f8d24188bcd parent 9ed2ad8648eb974ee670045d41b5a51b763e3aa1 author Janak Desai Wed, 08 Feb 2006 15:43:38 -0800 committer Tony Luck Wed, 08 Feb 2006 15:43:38 -0800 [IA64] unshare system call registration for ia64 Registers system call for the ia64 architecture. Reserves space for ppoll and pselect, and adds unshare at system call number 1296. Signed-off-by: Janak Desai Signed-off-by: Tony Luck commit ca76a2f3a5202ec1618cb7e76aa8a573235e469f tree 187df44d575b484f6016c728dd379f10aaaa4c6d parent 17be03f0a1f42ccfccb38f7d0a94c0f0169634a6 parent be92cbb99654f02a49edbeda84f17e8d61727518 author Linus Torvalds Wed, 08 Feb 2006 15:22:00 -0800 committer Linus Torvalds Wed, 08 Feb 2006 15:22:00 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 17be03f0a1f42ccfccb38f7d0a94c0f0169634a6 tree 8fe4fc7a987547c546e7b493eecb3607a9583795 parent cce0cac125623f9b68f25dd1350f6d616220a8dd parent 85d1494e5ff8e20a52ce514584ffda4f0265025e author Linus Torvalds Wed, 08 Feb 2006 15:21:22 -0800 committer Linus Torvalds Wed, 08 Feb 2006 15:21:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit cce0cac125623f9b68f25dd1350f6d616220a8dd tree 123a4dd9f040d05e42cadb6b01f301d6863b897f parent f564c5fe29d3fa9adc6d839714521b0554c62598 parent 18f49ea207fbcf37f81395037f0dc1cacb2aac3c author Linus Torvalds Wed, 08 Feb 2006 15:20:40 -0800 committer Linus Torvalds Wed, 08 Feb 2006 15:20:40 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm Manual conflict merge of arch/arm/Kconfig commit be92cbb99654f02a49edbeda84f17e8d61727518 tree 24c763208119c991736ba9b0cce7a0f7c103e8b0 parent ac171c46667c1cb2ee9e22312291df6ed78e1b6e author Jordan Crouse Wed, 08 Feb 2006 22:23:05 +0000 committer Russell King Wed, 08 Feb 2006 22:23:05 +0000 [MMC] Remove extra character in AU1XXX MMC Kconfig entry An obvious vi fat finger on my part. Signed-off-by: Jordan Crouse Signed-off-by: Russell King commit 18f49ea207fbcf37f81395037f0dc1cacb2aac3c tree 8c68c2093940b64924ea806d4cc2f5386ad42fc9 parent 87bd63f64790eb01a963e05fc5e9fbf366c9de6e author Tony Lindgren Wed, 08 Feb 2006 22:06:47 +0000 committer Russell King Wed, 08 Feb 2006 22:06:47 +0000 [ARM] 3278/1: OMAP: 3/3 Fix low-level io init for omap2 boards Patch from Tony Lindgren This patch fixes the low-level IO init for omap2 boards. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 87bd63f64790eb01a963e05fc5e9fbf366c9de6e tree a8861405cdacb10b1373bca72b9abd40d64c8f39 parent 53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f author Tony Lindgren Wed, 08 Feb 2006 22:06:46 +0000 committer Russell King Wed, 08 Feb 2006 22:06:46 +0000 [ARM] 3280/1: OMAP: 2/3 Fix low-level io init for omap1 boards Patch from Tony Lindgren This patch fixes the low-level IO init for omap1 boards. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f tree 5ff13b4064bfee3b5149aa49c806d5db36e5e7f4 parent 083d06edfda28fdee41ac46dc57ad4949927acd9 author Tony Lindgren Wed, 08 Feb 2006 22:06:45 +0000 committer Russell King Wed, 08 Feb 2006 22:06:45 +0000 [ARM] 3279/1: OMAP: 1/3 Fix low-level io init Patch from Tony Lindgren This patch adds the missing cache flushes to common low-level init that are needed to access the IO region. These flushes are normally done at the end of devicemaps_init(), but we need to detect the OMAP core type early. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 083d06edfda28fdee41ac46dc57ad4949927acd9 tree 01757c54299fcf8b97199de109dcd4b1e5b2bf77 parent 5cba742935ee7aee6f70d35da83e6398408418f7 author Ben Dooks Wed, 08 Feb 2006 22:03:31 +0000 committer Russell King Wed, 08 Feb 2006 22:03:31 +0000 [ARM] 3299/1: S3C24XX - fix irq range on adc device Patch from Ben Dooks Change the IRQ resource range for the ADC device to be two distinct IRQs Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 85d1494e5ff8e20a52ce514584ffda4f0265025e tree de0ee6ba613cbaaeee1a6c0a10b4b4a936d716dd parent 7369a8b39ce4be117b0f12bda4e34a1d1789dfe3 author Yoichi Yuasa Wed, 08 Feb 2006 21:46:24 +0000 committer Russell King Wed, 08 Feb 2006 21:46:24 +0000 [SERIAL] 8250_pci: add new PCI serial card support This patch adds new PCI serial card support. Signed-off-by: Yoichi Yuasa Signed-off-by: Russell King commit 7369a8b39ce4be117b0f12bda4e34a1d1789dfe3 tree 17d0e393d661debf587b83b10d04f5684764e2cd parent 76a55431cc7237f018c7c667860d60e2b6427bf1 author Ralf Baechle Wed, 08 Feb 2006 21:43:03 +0000 committer Russell King Wed, 08 Feb 2006 21:43:03 +0000 [SERIAL] ip22zilog: Whitespace cleanup. Signed-off-by: Ralf Baechle Signed-off-by: Russell King commit 76a55431cc7237f018c7c667860d60e2b6427bf1 tree a294ca801340802b50015944d5cf6874b7ae0f7f parent deb37bb7a94c052140d1461a09b877a00e7e2476 author Vitaly Bordug Wed, 08 Feb 2006 21:40:13 +0000 committer Russell King Wed, 08 Feb 2006 21:40:13 +0000 [SERIAL] PPC32 CPM_UART: update to utilize the new TTY flip API This replaces old direct usage of tty->flip stuff with relative flip API calls. Signed-off-by: Vitaly Bordug Signed-off-by: Russell King commit deb37bb7a94c052140d1461a09b877a00e7e2476 tree 9b09dd030abe3472899084dd2790e4f76d3b371f parent f5968b37b3ad35b682b574b578843a0361218aff author Jordan Crouse Wed, 08 Feb 2006 21:36:28 +0000 committer Russell King Wed, 08 Feb 2006 21:36:28 +0000 [SERIAL] Fix compile error in 8250_au1x00.c The DB1550 actually doesn't have a UART2. Remove it from the list. Signed-off-by: Jordan Crouse Signed-off-by: Russell King commit f5968b37b3ad35b682b574b578843a0361218aff tree 59bd62257053a4252cf7b01a675b577a93e313d2 parent 620739025b94fe472c845ce013bff62716d3c576 author Kumar Gala Wed, 08 Feb 2006 21:34:35 +0000 committer Russell King Wed, 08 Feb 2006 21:34:35 +0000 [SERIAL] 8250 serial console update uart_8250_port ier On some embedded PowerPC (MPC834x) systems an extra byte would some times be required to flush data out of the fifo. serial8250_console_write() was updating the IER in hardware without also updating the copy in uart_8250_port. This causes issues functions like serial8250_start_tx() and __stop_tx() to misbehave. Signed-off-by: Kumar Gala Signed-off-by: Russell King commit 5cba742935ee7aee6f70d35da83e6398408418f7 tree 4a5d706a3ebb9861d9676ce58bf03b18114815ac parent f557f5e51db47887eab170084bbcf9685b48fa06 author Lucas Correia Villa Real Wed, 08 Feb 2006 21:31:54 +0000 committer Russell King Wed, 08 Feb 2006 21:31:54 +0000 [ARM] 3283/1: S3C2400 - defines the number of serial ports Patch from Lucas Correia Villa Real This patch defines the number of serial ports on the S3C2400. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f557f5e51db47887eab170084bbcf9685b48fa06 tree 5ebd382d8d8a9f4432fdd07e42cb6ac753e7cfcd parent 365bf8ac6f5b3d3187cb39444fa87a5b38683ff4 author Catalin Marinas Wed, 08 Feb 2006 21:19:39 +0000 committer Russell King Wed, 08 Feb 2006 21:19:39 +0000 [ARM] 3313/1: Use OSC4 instead of OSC1 for CLCD Patch from Catalin Marinas Because of a type, OSC1 was used for setting the display clock instead of OSC4. This patch fixes it. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 365bf8ac6f5b3d3187cb39444fa87a5b38683ff4 tree 6b0e8234ca75d6b5b155c652028a0506875099a9 parent 5964eae835c3b98c69d338950651f7f414f96477 author Nicolas Pitre Wed, 08 Feb 2006 21:19:38 +0000 committer Russell King Wed, 08 Feb 2006 21:19:38 +0000 [ARM] 3311/1: clean up include/asm-arm/mutex.h Patch from Nicolas Pitre Since: if (unlikely(__res || __ex_flag)) produces worse code on ARM than: if (unlikely(__res | __ex_flag)) I therefore made it more explicit: __res |= __ex_flag; if (unlikely(__res != 0)) so it is not seen as a typo again. Also made everything static inline rather than macros for better readability (both produce the same code after all). And finally added missing \t from multi-line assembly code. Signed-off-by: Nicolas Pitre Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 5964eae835c3b98c69d338950651f7f414f96477 tree c4ea7c8a3447dc7f41d6cce5b6dc96000e7dc159 parent 49bca4c2815feafd5f999bf43baf87e0dd8d1d08 author Nicolas Pitre Wed, 08 Feb 2006 21:19:37 +0000 committer Russell King Wed, 08 Feb 2006 21:19:37 +0000 [ARM] 3310/1: add a comment about the possible __kuser_cmpxchg transient false negative Patch from Nicolas Pitre The pre ARMv5 implementation can be aborted if an exception occurs in the middle of it. Because of that, the ARMv6 implementation doesn't re-attempt the operation on a failed strex either. Let's make this transient nature of such a false positive more explicit in the definition. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 49bca4c2815feafd5f999bf43baf87e0dd8d1d08 tree 6bc9a59e2fa217d346841418fd45dd704cf61071 parent 99595d0237926b5aba1fe4c844a011a1ba1ee1f8 author Nicolas Pitre Wed, 08 Feb 2006 21:19:37 +0000 committer Russell King Wed, 08 Feb 2006 21:19:37 +0000 [ARM] 3309/1: disable the pre-ARMv5 NPTL kernel helper in the non MMU case Patch from Nicolas Pitre The cmpxchg emulation on pre-ARMv5 relies on user code executed from a kernel address. If the operation cannot complete atomically, it is aborted from the usr_entry macro by clearing the Z flag. This clearing of the Z flag is done whenever the user pc is above TASK_SIZE. However this "pc >= TASK_SIZE" test cannot work in the non MMU case. Worse: the current code will corrupt the Z flag on every entry to the kernel. Let's disable it in the non MMU case for now. Using NPTL on non MMU targets needs to be worked out anyway. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 99595d0237926b5aba1fe4c844a011a1ba1ee1f8 tree a879592fe82042e78304919532aeaa89fcf98ce5 parent a73a3ff127df1b35d6771f7d3ce36373def8398f author Nicolas Pitre Wed, 08 Feb 2006 21:19:36 +0000 committer Russell King Wed, 08 Feb 2006 21:19:36 +0000 [ARM] 3308/1: old ABI compat: struct sockaddr_un Patch from Nicolas Pitre struct sockaddr_un loses its padding with EABI. Since the size of the structure is used as a validation test in unix_mkname(), we need to change the length argument to 110 whenever it is 112. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit a73a3ff127df1b35d6771f7d3ce36373def8398f tree d0d97c74336b81e0b673029c80f0e7d0b0fde4ea parent 61c484d41f0e5fb44f9a32cd3352734a04aae3ef author Russell King Wed, 08 Feb 2006 21:09:55 +0000 committer Russell King Wed, 08 Feb 2006 21:09:55 +0000 [ARM] Experimental config options should have (EXPERIMENTAL) Signed-off-by: Russell King commit 61c484d41f0e5fb44f9a32cd3352734a04aae3ef tree 796024e9aa942d95c44ce4e33fd6317848676bd6 parent 29fe3cf384e69cec98b638cae6ad5811705a0f3f author Nicolas Pitre Wed, 08 Feb 2006 21:09:08 +0000 committer Russell King Wed, 08 Feb 2006 21:09:08 +0000 [ARM] 3307/1: old ABI compat: mark it experimental Patch from Nicolas Pitre Although OABI_COMPAT works fine in most cases, it is still experimental and could be for ever since it is nearly impossible to handle everything, e.g. ioctls. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 29fe3cf384e69cec98b638cae6ad5811705a0f3f tree 01d381a70d56aecf9651f650667e66649c26ef90 parent f6c8965ab8de61e26875d48c9e00a018c44d74f7 author Ben Dooks Wed, 08 Feb 2006 21:09:07 +0000 committer Russell King Wed, 08 Feb 2006 21:09:07 +0000 [ARM] 3306/1: S3C24XX - update defconfig Patch from Ben Dooks Bring s3c2410 defconfig up to date Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f6c8965ab8de61e26875d48c9e00a018c44d74f7 tree e293043888e1a27df04d7c284c06894c355c1708 parent f999b8bdec299bb20be21482640208c3574b16fa author Martin Michlmayr Wed, 08 Feb 2006 21:09:07 +0000 committer Russell King Wed, 08 Feb 2006 21:09:07 +0000 [ARM] 3305/1: Minor typographical and spelling fixes in Konfig Patch from Martin Michlmayr Minor typographical and spelling fixes in Konfig Signed-off-by: Martin Michlmayr --- Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Russell King commit f999b8bdec299bb20be21482640208c3574b16fa tree 02e419e402e5c11e8b1b5dc8b16c0367c2a4cedd parent 2a513ce79958d47b72a11c76ec291c8c1169214c author Martin Michlmayr Wed, 08 Feb 2006 21:09:05 +0000 committer Russell King Wed, 08 Feb 2006 21:09:05 +0000 [ARM] 3304/1: Add help descriptions to ARCH config items that don't have one Patch from Martin Michlmayr Add help descriptions to ARCH config items that don't have one. Signed-off-by: Martin Michlmayr --- Kconfig | 32 ++++++++++++++++++++++++++++++-- mach-clps711x/Kconfig | 2 ++ 2 files changed, 32 insertions(+), 2 deletions(-) Signed-off-by: Russell King commit 2a513ce79958d47b72a11c76ec291c8c1169214c tree 2698cdc04f710d80da77ed36f6e3aad6d5e9fa57 parent f8e5b28413a8bf0b421dd116b30ab2d3befec629 author Ben Dooks Wed, 08 Feb 2006 21:09:05 +0000 committer Russell King Wed, 08 Feb 2006 21:09:05 +0000 [ARM] 3303/1: S3C24XX - add clock enable usage counting Patch from Ben Dooks Move to using an enable count for the shared clocks and protect the clock system using a mutex instead of just disabling IRQs during the clock update. Since there is little more code in the path for non-shared clocks, the enable and disable calls use the same code for each. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f8e5b28413a8bf0b421dd116b30ab2d3befec629 tree d2bad12a64b9b654ec881fc535a8fb6820c33a1d parent a6b3300609b277989644ed4cc2f9d7c4b623f904 author Lennert Buytenhek Wed, 08 Feb 2006 21:09:04 +0000 committer Russell King Wed, 08 Feb 2006 21:09:04 +0000 [ARM] 3302/1: make pci=firmware the default for ixp2000 Patch from Lennert Buytenhek Most ixp2000 boards don't actually work if pci=firmware isn't used, so the defconfig isn't really the right place to specify this. Instead of specifying it in the defconfigs, make the relevant board code take care of setting pci=firmware. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a6b3300609b277989644ed4cc2f9d7c4b623f904 tree 08d315dbf673073bb263c5212e461ff99925cef5 parent 1b3940130415d9b338ad4e13d4b82498baef21fe author Lennert Buytenhek Wed, 08 Feb 2006 21:09:03 +0000 committer Russell King Wed, 08 Feb 2006 21:09:03 +0000 [ARM] 3301/1: remove unnecessary clock default from ixdp2801 defconfig Patch from Lennert Buytenhek The ixdp2x01_clock is already 50MHz by default, so no need to override it with 50MHz in the ixdp2801 defconfig as is done now, which is confusing as well. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1b3940130415d9b338ad4e13d4b82498baef21fe tree 8cde48008539221f296b0d5ab7c57e94e41ba0dc parent ac171c46667c1cb2ee9e22312291df6ed78e1b6e author Lennert Buytenhek Wed, 08 Feb 2006 21:09:02 +0000 committer Russell King Wed, 08 Feb 2006 21:09:02 +0000 [ARM] 3300/1: make ixdp2x01 co-exist with other ixp2000 machine types Patch from Lennert Buytenhek The ixdp2x01 pci init call doesn't check whether it's really running on an ixdp2x01, making it impossible to compile one kernel that works on both the ixdp2x01 and another ixp2000 board. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f478af9dc58c01880832a321c3eea7703772c420 tree 17890ca8be3629452259039bf4377868a9fff0b6 parent d6e56a2a088935f3c1feee5ff5a06c67f2ec6002 author Jes Sorensen Wed, 08 Feb 2006 10:19:28 -0500 committer Tony Luck Wed, 08 Feb 2006 11:57:16 -0800 [IA64] prevent sn2 specific code to be run in generic kernels Prevent SN2 specific code to be executed on non SN2 platforms when running a generic kernel. Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit f564c5fe29d3fa9adc6d839714521b0554c62598 tree d112824129cd01ee05acce915b32477718a62312 parent 423ab71a8bd2345f87724abe320092a3a516b0bb parent b887d3f2c63543dce1a0825e41be3a8d3ebef78d author Linus Torvalds Wed, 08 Feb 2006 09:58:27 -0800 committer Linus Torvalds Wed, 08 Feb 2006 09:58:27 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit b887d3f2c63543dce1a0825e41be3a8d3ebef78d tree 63cb4806c98edae6fdddda410550a1570b7da99e parent be6e518b625a90e84d26371f722474e239c01e4c author Atsushi Nemoto Thu, 09 Feb 2006 00:57:44 +0900 committer Ralf Baechle Wed, 08 Feb 2006 17:52:27 +0000 [MIPS] Add 'const' to readb and friends Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- commit be6e518b625a90e84d26371f722474e239c01e4c tree 4e975caae198b5a45a8e8af6d1a0d90cb26419bd parent 72bf891421e261262c4e614c051a68093baddd21 author Atsushi Nemoto Wed, 08 Feb 2006 23:39:49 +0900 committer Ralf Baechle Wed, 08 Feb 2006 17:52:26 +0000 [MIPS] Sparse: Add __user tags to syscall.c Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- commit 72bf891421e261262c4e614c051a68093baddd21 tree ac79385833fa2ff940f078af56d418eee34eecdc parent 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f author Ralf Baechle Wed, 08 Feb 2006 13:38:50 +0000 committer Ralf Baechle Wed, 08 Feb 2006 17:52:25 +0000 [MIPS] Wire up new syscalls. Signed-off-by: Ralf Baechle --- commit 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f tree a73e16545a2653c5737526f44e77752425d27430 parent 7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b author Ralf Baechle Wed, 08 Feb 2006 13:38:18 +0000 committer Ralf Baechle Wed, 08 Feb 2006 17:52:25 +0000 [MIPS] Make do_signal return void. It's return value is ignored everywhere. Signed-off-by: Ralf Baechle --- commit 7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b tree b6e8728ad6cbf756f049b9dea106b679230710a7 parent ac171c46667c1cb2ee9e22312291df6ed78e1b6e author Ralf Baechle Wed, 08 Feb 2006 12:58:41 +0000 committer Ralf Baechle Wed, 08 Feb 2006 17:52:24 +0000 [MIPS] Add support for TIF_RESTORE_SIGMASK. Signed-off-by: Ralf Baechle --- commit 423ab71a8bd2345f87724abe320092a3a516b0bb tree 5d5eb306001e4341c3c073777f4d0b9e05ccd454 parent b7ed1de0ae4edb3fd2c53fa3dd7e6f104beb6d00 parent 63f716b9419420defb3e550a1e5f526c11b2ed2d author Linus Torvalds Wed, 08 Feb 2006 08:06:09 -0800 committer Linus Torvalds Wed, 08 Feb 2006 08:06:09 -0800 Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird commit b7ed1de0ae4edb3fd2c53fa3dd7e6f104beb6d00 tree 998cc8b411555c7225260b7f7cf8e03cb648f37f parent 328c2a8a39e1ba43a6e54e43fc752f7035779561 parent 01840f9c9d7ae366311302077ace6bc39169399b author Linus Torvalds Wed, 08 Feb 2006 07:58:18 -0800 committer Linus Torvalds Wed, 08 Feb 2006 07:58:18 -0800 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block commit 328c2a8a39e1ba43a6e54e43fc752f7035779561 tree 4d59799c3208fe2c08ceb0faad7a6f3db0e975df parent 9934a7939e1cdce62ece9ef7d25ebb3c55547fac author Ivan Kokshaysky Wed, 08 Feb 2006 11:55:06 +0300 committer Linus Torvalds Wed, 08 Feb 2006 07:57:37 -0800 [PATCH] alpha: set cpu_possible_map much earlier All the percpu data structure walkers want cpu_possible_map to be initialized early, but alpha instead populated "hwrpb_cpu_present_mask" early in setup_smp(), and then initialized cpu_possible_map only much later. Thanks go to Heiko Carstens and Dipankar Sarma for noticing. This fixes it and we can get rid of hwrpb_cpu_present_mask entirely. Signed-off-by: Linus Torvalds commit 9934a7939e1cdce62ece9ef7d25ebb3c55547fac tree 89925b09c257207f4d839c68a4d2f9a764f4c8cc parent 30e9656cc340035e102fea46e1908689494b042d author Ingo Molnar Wed, 08 Feb 2006 10:11:56 +0100 committer Linus Torvalds Wed, 08 Feb 2006 07:52:58 -0800 [PATCH] SLOB=y && SMP=y fix fix CONFIG_SLOB=y (when CONFIG_SMP=y): get rid of the 'align' parameter from its __alloc_percpu() implementation. Boot-tested on x86. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 30e9656cc340035e102fea46e1908689494b042d tree 5fc623ccad5a1f5b09ebc4b7e8d7c6bec8e485ac parent e5ea0a9fca5612808839dd4bcc41c46fc02451f9 author Tejun Heo Wed, 08 Feb 2006 01:01:31 -0800 committer Linus Torvalds Wed, 08 Feb 2006 07:52:58 -0800 [PATCH] block: implement elv_insert and use it (fix ordcolor flipping bug) q->ordcolor must only be flipped on initial queueing of a hardbarrier request. Constructing ordered sequence and requeueing used to pass through __elv_add_request() which flips q->ordcolor when it sees a barrier request. This patch separates out elv_insert() from __elv_add_request() and uses elv_insert() when constructing ordered sequence and requeueing. elv_insert() inserts the given request at the specified position and does nothing else. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5ea0a9fca5612808839dd4bcc41c46fc02451f9 tree c881059465c38945df517521a33cf310c4b032ac parent ac171c46667c1cb2ee9e22312291df6ed78e1b6e author Linus Torvalds Wed, 08 Feb 2006 07:51:17 -0800 committer Linus Torvalds Wed, 08 Feb 2006 07:51:17 -0800 ppc: fix up trivial Kconfig config selection Quoth BenH: "Ok, looks like I forgot to update the Kconfig for the new i2c driver, it should select I2C_POWERMAC instead. Do you want a new patch or can you just fix it there ?" Signed-off-by: Linus Torvalds commit 01840f9c9d7ae366311302077ace6bc39169399b tree de26c62e94ab279e18b8278cb7d74f1d14290a0c parent ac171c46667c1cb2ee9e22312291df6ed78e1b6e author Jens Axboe Fri, 03 Feb 2006 08:37:08 +0100 committer Jens Axboe Wed, 08 Feb 2006 10:07:13 +0100 [PATCH] blk: Fix SG_IO ioctl failure retry looping When issuing an SG_IO ioctl through sd that resulted in an unrecoverable error, a nearly infinite retry loop was discovered. This is due to the fact that the block layer SG_IO code is not setting up rq->retries. This patch also fixes up the sg_scsi_ioctl path. Signed-off-by: Brian King Signed-off-by: Jens Axboe commit 63f716b9419420defb3e550a1e5f526c11b2ed2d tree 8e066138950551200e699b91d0c32ee4345b2dc2 parent 6881761e63ac95fda3073443781ea928682fa600 author Al Viro Thu, 29 Dec 2005 11:45:52 -0500 committer Al Viro Wed, 08 Feb 2006 01:06:09 -0500 [PATCH] sh: lvalues abuse in arch/sh/boards/renesas/rts7751r2d/io.c Signed-off-by: Al Viro commit 6881761e63ac95fda3073443781ea928682fa600 tree f4a3c4b78ce43f64ac53dfb29ca541513d3f925f parent 90f46a5845596f0bf99f3a07dd4c7775dcbb40c4 author Al Viro Fri, 03 Feb 2006 20:15:52 -0500 committer Al Viro Wed, 08 Feb 2006 01:05:47 -0500 [PATCH] m32r_sio iomem annotations Signed-off-by: Al Viro commit 90f46a5845596f0bf99f3a07dd4c7775dcbb40c4 tree 0289eb42d5b46daff9b71784518131e2c1232823 parent bf82a44949339c9af7bd61bb58847774e42e531e author Al Viro Wed, 01 Feb 2006 06:45:37 -0500 committer Al Viro Wed, 08 Feb 2006 01:05:34 -0500 [PATCH] mark HISAX_AMD7930 as broken Signed-off-by: Al Viro commit bf82a44949339c9af7bd61bb58847774e42e531e tree 91e3617d89d5ac48108d85082ae6bd55cc03c812 parent 97fa5a664e69f2fcdd2120e7f4765f8c1df56282 author Al Viro Wed, 01 Feb 2006 06:42:28 -0500 committer Al Viro Wed, 08 Feb 2006 01:05:26 -0500 [PATCH] type-safe min() in prism54 we do min() on u8 and small integer constant; cast the latter to u8. Signed-off-by: Al Viro commit ac171c46667c1cb2ee9e22312291df6ed78e1b6e tree 86ca722abc1ddceb0887b3ed6a195d77bb200dc2 parent 746f956beb534ddf73da4346de81f2941c8573f8 author Benjamin Herrenschmidt Wed, 08 Feb 2006 16:42:51 +1100 committer Linus Torvalds Tue, 07 Feb 2006 22:05:14 -0800 [PATCH] powerpc: Thermal control for dual core G5s This patch adds a windfarm module, windfarm_pm112, for the dual core G5s (both 2 and 4 core models), keeping the machine from getting into vacuum-cleaner mode ;) For proper credits, the patch was initially written by Paul Mackerras, and slightly reworked by me to add overtemp handling among others. The patch also removes the sysfs attributes from windfarm_pm81 and windfarm_pm91 and instead adds code to the windfarm core to automagically expose attributes for sensor & controls. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 97fa5a664e69f2fcdd2120e7f4765f8c1df56282 tree 8b8a2eb0be8e2a114d257476922915cca49558ca parent 8ef9cf318152d864d6694b19e655cbefa1e85256 author Al Viro Fri, 03 Feb 2006 20:11:52 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:59 -0500 [PATCH] s390 __get_user() bogus warnings removal Signed-off-by: Al Viro commit 8ef9cf318152d864d6694b19e655cbefa1e85256 tree 9c7b98a9b43379d59f52fe7b5e3092ff716ea77a parent e795638bb9e81bae80bbe88b74c8ee0d1b1d8d3c author Al Viro Wed, 01 Feb 2006 06:07:15 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:50 -0500 [PATCH] synclink_gt is PCI-only Signed-off-by: Al Viro commit e795638bb9e81bae80bbe88b74c8ee0d1b1d8d3c tree 46b1ba2f6be09a9c9308cabc48219a8df04bb211 parent 6fa2ffe901c77cdd8db9616db66894e96c12143d author Al Viro Wed, 01 Feb 2006 07:29:34 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:36 -0500 [PATCH] __user annotations in powerpc thread_info Signed-off-by: Al Viro commit 6fa2ffe901c77cdd8db9616db66894e96c12143d tree 28be6bb017914959381214c100880846e2d7870f parent 793af244090ccb5f99091c5a999ce97e4d017834 author Al Viro Wed, 01 Feb 2006 07:28:02 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:30 -0500 [PATCH] fix iomem annotations in dart_iommu it's int __iomem *, not int * __iomem... Signed-off-by: Al Viro commit 793af244090ccb5f99091c5a999ce97e4d017834 tree 070649219443dde1e484718114515e425cb26628 parent 6b2b4e5a26fe3795b1c6711cee0eae057844491d author Al Viro Wed, 01 Feb 2006 06:55:59 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:23 -0500 [PATCH] s390 misc __user annotations Signed-off-by: Al Viro commit 6b2b4e5a26fe3795b1c6711cee0eae057844491d tree c0eef6250226c6107c83dde5290a822138c0709c parent d656101009d76000b8fc0998a33d592100334d52 author Al Viro Wed, 01 Feb 2006 06:33:33 -0500 committer Al Viro Wed, 08 Feb 2006 01:04:01 -0500 [PATCH] compat_ioctl __user annotations Signed-off-by: Al Viro commit d656101009d76000b8fc0998a33d592100334d52 tree 0b177d19889bc1e0861af5f6951a3bd4701dee68 parent 29e646df7829e41a6b0db32fd50ae6376640cd13 author Al Viro Wed, 01 Feb 2006 05:59:06 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:52 -0500 [PATCH] sn3 iomem annotations and fixes Signed-off-by: Al Viro commit 29e646df7829e41a6b0db32fd50ae6376640cd13 tree 4a1bcfdc58034417e9e8b0cbc3a96b1556e36706 parent 5b1a43d7df65689b4c3b5a1c5c8158f1d4f74fbd author Al Viro Wed, 01 Feb 2006 05:28:09 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:46 -0500 [PATCH] powerpc signal __user annotations Signed-off-by: Al Viro commit 5b1a43d7df65689b4c3b5a1c5c8158f1d4f74fbd tree 651e2320ff4633507243cf2e353d9ba6b8017cc1 parent de125bf395df34892862d76580ce3a153e80f151 author Al Viro Wed, 01 Feb 2006 05:24:20 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:39 -0500 [PATCH] drivers/media/video __user annotations and fixes * compat_alloc_user_space() returns __user pointer * copying between two userland areas is copy_in_user(), not copy_from_user() * dereferencing userland pointers is bad * so's get_user() from local variables ... plus usual __user annotations Signed-off-by: Al Viro commit de125bf395df34892862d76580ce3a153e80f151 tree 844e89e4aa504ea5cb8f751b232746d7e05765b5 parent 24954a1418298058399581d6fcc4d46e928e1bf5 author Al Viro Wed, 01 Feb 2006 05:18:43 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:33 -0500 [PATCH] powermac pci iomem annotations Signed-off-by: Al Viro commit 24954a1418298058399581d6fcc4d46e928e1bf5 tree 73674aefd63d1559f532ae3e4ad7328d17b3d458 parent 290f10ae4230ef06b71e57673101b7e70c1b29a6 author Al Viro Wed, 01 Feb 2006 05:16:15 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:26 -0500 [PATCH] s390x compat __user annotations Signed-off-by: Al Viro commit 290f10ae4230ef06b71e57673101b7e70c1b29a6 tree c7ba76982024c9ac8c202f4b25d9825779a16ab0 parent 034d2f5af1b97664381c00b827b274c95e22c397 author Al Viro Wed, 07 Dec 2005 23:12:54 -0500 committer Al Viro Wed, 08 Feb 2006 01:03:06 -0500 [PATCH] mips: namespace pollution - mem_... -> __mem_... in io.h A pile of internal functions use only inside mips io.h has names starting with mem_... and clashing with names in drivers; renamed to __mem_.... Signed-off-by: Al Viro commit 034d2f5af1b97664381c00b827b274c95e22c397 tree a72b9caba33ecf1fe47193c1fe5a6c0844e84341 parent 746f956beb534ddf73da4346de81f2941c8573f8 author Al Viro Mon, 19 Dec 2005 16:27:59 -0500 committer Al Viro Wed, 08 Feb 2006 01:02:58 -0500 [PATCH] arm: fix dependencies for MTD_XIP MTD_XIP depends on having working asm/mtd-xip.h; it's not just per-architecture (arm-only, as current Kconfig would have it), but actually per-subarch as well. Introduced a new symbol (ARCH_MTD_XIP) set by arch Kconfig; MTD_XIP depends on it. Signed-off-by: Al Viro commit 746f956beb534ddf73da4346de81f2941c8573f8 tree 5d47c5fa7645fd9f0dedcbfb997f8cbc6e074e72 parent 367636e8a9ef250d5b255f9d299e1c27cb3d7ea3 parent 0fc9b55606662c4763a4f37add889cfd6a66247a author Linus Torvalds Tue, 07 Feb 2006 20:34:29 -0800 committer Linus Torvalds Tue, 07 Feb 2006 20:34:29 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 367636e8a9ef250d5b255f9d299e1c27cb3d7ea3 tree 19a8a96154d2a318a2dbd02d5dfab8530e0b8606 parent fe69102188cde0700cddd8d4cda0b77d68284884 author Benjamin Herrenschmidt Wed, 08 Feb 2006 15:04:18 +1100 committer Linus Torvalds Tue, 07 Feb 2006 20:33:36 -0800 [PATCH] powerpc: Fix sound driver use of i2c The PowerMac sound drivers used to rely on a "bug" of the i2c-keywest driver that implemented I2C_SMBUS_BLOCK_DATA incorrectly, that is it did what I2C_SMBUS_I2C_BLOCK_DATA should have done. The new i2c-powermac driver that replaces keywest has this bug fixed, thus the sound drivers must be fixed too. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit fe69102188cde0700cddd8d4cda0b77d68284884 tree ae2f88c810ff48f040a808a924585000b52082e9 parent f30ac319f1b91878cdc57a50930f15c36e0e103a parent 7d4d61544a12333600bdb9b018a149868418692e author Linus Torvalds Tue, 07 Feb 2006 20:32:13 -0800 committer Linus Torvalds Tue, 07 Feb 2006 20:32:13 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit 0fc9b55606662c4763a4f37add889cfd6a66247a tree 86a82cf2a342a628f323f7c61150bff8cb93d7b7 parent 1b9a4289017c8ab77b063a968c9df7e5a193e495 author David S. Miller Tue, 07 Feb 2006 18:12:34 -0800 committer David S. Miller Tue, 07 Feb 2006 18:12:34 -0800 [SPARC64]: Update defconfig. Do not enable CONFIG_LOCALVERSION_AUTO by default. When doing kernel development it just leaves a ton of crap around. Signed-off-by: David S. Miller commit 1b9a4289017c8ab77b063a968c9df7e5a193e495 tree 10edffb52f78707ddaf6abdd4e3dfb9884f853b6 parent 92118c739df879497b8cc5a2eb3a9dc255f01b20 author David S. Miller Tue, 07 Feb 2006 18:11:24 -0800 committer David S. Miller Tue, 07 Feb 2006 18:11:24 -0800 [SPARC]: Wire up sys_unshare(). Also, the Solaris syscall table is sized differrently, and does not go beyond entry 255, so trim off the excess entries. Signed-off-by: David S. Miller commit f30ac319f1b91878cdc57a50930f15c36e0e103a tree edc7cd2d72281a5ae6e80ae4fecdc5d926921db8 parent 8854eddbdb3e45b8d381ecff2937a942d0cb2067 author Al Viro Wed, 01 Feb 2006 07:53:21 -0500 committer Al Viro Tue, 07 Feb 2006 21:01:15 -0500 [PATCH] umount_tree() decrements mount count on wrong dentry Signed-off-by: Al Viro commit 8854eddbdb3e45b8d381ecff2937a942d0cb2067 tree 25e8a0d272ed0edadb13b00e271d9933b8df34fa parent cc59853b4a9973126e15e0e6bdddf0627d4b99c4 author Al Viro Wed, 04 Jan 2006 01:44:17 -0500 committer Al Viro Tue, 07 Feb 2006 21:00:42 -0500 [PATCH] nfsroot port= parameter fix [backport of 2.4 fix] Direct backport of 2.4 fix that didn't get propagated to 2.6; original comment follows: When I specify the NFS port for nfsroot (e.g., nfsroot=,port=2049), the kernel uses the wrong port. In my case it tries to use 264 (0x108) instead of 2049 (0x801). This patch adds the missing htons(). Eric Patch got applied in 2.4.21-pre6. Author: Eric Lammerts (, AFAICS). Signed-off-by: Al Viro commit cc59853b4a9973126e15e0e6bdddf0627d4b99c4 tree 21e0f3e860c30f9913372c76c3e212d13c0f60de parent e80e28b6b67ecc25fa89c9129a5f70de6389b2a6 author Al Viro Fri, 03 Feb 2006 20:28:01 -0500 committer Al Viro Tue, 07 Feb 2006 20:59:01 -0500 [PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal Signed-off-by: Al Viro commit e80e28b6b67ecc25fa89c9129a5f70de6389b2a6 tree 69f66c7089a57baec38d2275ba6757d15582c1ba parent bee14e1f8ae2d5fd3f324e0c8562f791537160b2 author Al Viro Fri, 03 Feb 2006 20:10:03 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:56 -0500 [PATCH] net/ipv6/mcast.c NULL noise removal Signed-off-by: Al Viro commit bee14e1f8ae2d5fd3f324e0c8562f791537160b2 tree 8a51cebf64b1130c4f5d6d97c43e2ac87276c00f parent dd42b1518666132c21e7348c4b599c501f0021a1 author Al Viro Wed, 01 Feb 2006 07:33:44 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:50 -0500 [PATCH] __user annotations of video_spu_palette Signed-off-by: Al Viro commit dd42b1518666132c21e7348c4b599c501f0021a1 tree b868c13c0f0b7893e86acd03c2ec7cf310e04d99 parent 1d0bd717c86949e97a11855482b4a118029c10a9 author Al Viro Wed, 01 Feb 2006 07:30:33 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:45 -0500 [PATCH] amd64 time.c __iomem annotations Signed-off-by: Al Viro commit 1d0bd717c86949e97a11855482b4a118029c10a9 tree 4ac9a392cb3b1f60b6fd3746a36d356c6aa145ea parent d04e4e115bd9df2b748cb30abd610f3c0eb1e303 author Al Viro Wed, 01 Feb 2006 07:25:14 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:39 -0500 [PATCH] bogus extern in low_i2c.c extern in function definition is an odd thing.. Signed-off-by: Al Viro commit d04e4e115bd9df2b748cb30abd610f3c0eb1e303 tree d21c4e204266a36b8e7cc7d5bb86a02d05c16d61 parent 2d20eaf9426598ef156b941bcfa44e867452b770 author Al Viro Wed, 01 Feb 2006 07:23:24 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:33 -0500 [PATCH] eeh_driver NULL noise removal Signed-off-by: Al Viro commit 2d20eaf9426598ef156b941bcfa44e867452b770 tree de49f5ee4078c75cbf38ff9e6ef1b30f2344ec06 parent e5fb81bd895041230dfaeb8f8f498b85b4705988 author Al Viro Wed, 01 Feb 2006 06:31:40 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:27 -0500 [PATCH] sg gfp_t annotations Signed-off-by: Al Viro commit e5fb81bd895041230dfaeb8f8f498b85b4705988 tree 6d8b07a4d57fddb4faa5ea4b36c3b7a139661cc2 parent aaedd944d4dd25fdfafb10db65544e98eb66857d author Al Viro Wed, 01 Feb 2006 06:30:45 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:21 -0500 [PATCH] scsi_transport_iscsi gfp_t annotations Signed-off-by: Al Viro commit aaedd944d4dd25fdfafb10db65544e98eb66857d tree b8511870a520f16258dd48748e5c1c327cc02df9 parent 6d57348d7d65ba6f2f42a24b0c7527e0f7470a84 author Al Viro Wed, 01 Feb 2006 06:29:14 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:15 -0500 [PATCH] cmm NULL noise removal, __user annotations Signed-off-by: Al Viro commit 6d57348d7d65ba6f2f42a24b0c7527e0f7470a84 tree a98391e1989ef0572e21bca3db2029104f9ec760 parent be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4 author Al Viro Wed, 01 Feb 2006 06:10:08 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:09 -0500 [PATCH] drivers/edac/i82875p_edac.c __user annotations Signed-off-by: Al Viro commit be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4 tree f077992aa0fdef2f9aee1c095dc142c2f839e4e2 parent 73a09e626b9717851d3f7fd0230e401492ee326b author Al Viro Wed, 01 Feb 2006 06:06:16 -0500 committer Al Viro Tue, 07 Feb 2006 20:58:04 -0500 [PATCH] fix __user annotations in drivers/base/memory.c sysfs store doesn't deal with userland pointers Signed-off-by: Al Viro commit 73a09e626b9717851d3f7fd0230e401492ee326b tree 0ef9368493ab13981f0c8821c9b64896b0b359e9 parent dad08dfc48529e3f907c2680f8b34f1fe2d75880 author Al Viro Wed, 01 Feb 2006 06:04:15 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:58 -0500 [PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations Signed-off-by: Al Viro commit dad08dfc48529e3f907c2680f8b34f1fe2d75880 tree 1909f4d9fc84cf80137ee4b46f5925c1e8c56205 parent 4bb8089c86b95b4f6bbd839cb83ca4556b06a031 author Al Viro Wed, 01 Feb 2006 06:02:50 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:52 -0500 [PATCH] dvb NULL noise removal Signed-off-by: Al Viro commit 4bb8089c86b95b4f6bbd839cb83ca4556b06a031 tree 86069d7b4063f30a37ece5c27372b8a4414f1ede parent 53f087febfd12e74ba9f1082e71e9a45adc039ad author Al Viro Wed, 01 Feb 2006 05:57:32 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:47 -0500 [PATCH] kernel/sys.c NULL noise removal Signed-off-by: Al Viro commit 53f087febfd12e74ba9f1082e71e9a45adc039ad tree 8908ff3ecc3c97fb536c616df0f9d46356c4739f parent 76edc6051e02186fe664ab880447e2d1f96fd884 author Al Viro Wed, 01 Feb 2006 05:56:41 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:42 -0500 [PATCH] timer.c NULL noise removal Signed-off-by: Al Viro commit 76edc6051e02186fe664ab880447e2d1f96fd884 tree 988170b801f03e7701eb0ceaa856891934539101 parent e110ab94ebc714de57f75f0c7c576dde8cf80944 author Al Viro Wed, 01 Feb 2006 05:54:35 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:37 -0500 [PATCH] ipv4 NULL noise removal Signed-off-by: Al Viro commit e110ab94ebc714de57f75f0c7c576dde8cf80944 tree c07b5f010d244cb11afeb50becdb1d7256a8560d parent 3023b438c4b6103d520690cfa8b790bdd3868dc2 author Al Viro Wed, 01 Feb 2006 05:26:09 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:31 -0500 [PATCH] fix __user annotations in fs/select.c Signed-off-by: Al Viro commit 3023b438c4b6103d520690cfa8b790bdd3868dc2 tree 8c5dc92f5acfd4d7a6ac380ec81f05b2c693ba66 parent c350885854c231810c06aa166b46eab039e80d97 author Al Viro Mon, 30 Jan 2006 01:40:35 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:25 -0500 [PATCH] missing include in ser_a2232 Signed-off-by: Al Viro commit c350885854c231810c06aa166b46eab039e80d97 tree dcb076d26ed8925b01a7491ef3fcc18c68e4345d parent 7be7cbf684b372abaa8d6723eabedfa6ad79ee43 author Al Viro Sat, 28 Jan 2006 22:17:11 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:19 -0500 [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 Signed-off-by: Al Viro commit 7be7cbf684b372abaa8d6723eabedfa6ad79ee43 tree 6f07c03b21fff9ac1314acfa4926f0509f8dae2f parent 3ba9d91208a71947b69d52e3ca2142306457d816 author Al Viro Tue, 06 Dec 2005 06:01:14 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:14 -0500 [PATCH] drivers/scsi/mac53c94.c __iomem annotations Signed-off-by: Al Viro commit 3ba9d91208a71947b69d52e3ca2142306457d816 tree 9a26103b26b6dfb9c402993c61988e1794e1504d parent 304cd3efe6f2aefdb568d201aba55d1400915ca2 author Al Viro Wed, 18 Jan 2006 22:34:20 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:08 -0500 [PATCH] ppc: last_task_.... is defined only on non-SMP ... so it should be exported only on non-SMP. Signed-off-by: Al Viro commit 304cd3efe6f2aefdb568d201aba55d1400915ca2 tree 9b78b51fe2bd3d45521393bb8b74f9734bc3cfac parent 83ec98be051b277635bc7379b863b25f6dbe54ce author Al Viro Wed, 18 Jan 2006 19:40:48 -0500 committer Al Viro Tue, 07 Feb 2006 20:57:02 -0500 [PATCH] restore power-off on sparc32 Damn you, Eric Signed-off-by: Al Viro commit 83ec98be051b277635bc7379b863b25f6dbe54ce tree a7241067736140be670fc01a53eae33275213abb parent b6298c22c5e9f698812e2520003ee178aad50c10 author Al Viro Wed, 18 Jan 2006 18:40:16 -0500 committer Al Viro Tue, 07 Feb 2006 20:56:57 -0500 [PATCH] fix breakage in ocp.c it's ocp_device_...., not ocp_driver_.... Signed-off-by: Al Viro commit b6298c22c5e9f698812e2520003ee178aad50c10 tree e31d7bf39381dc738a9452e00db92717e39a0d98 parent 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe author Al Viro Wed, 18 Jan 2006 19:35:54 -0500 committer Al Viro Tue, 07 Feb 2006 20:56:52 -0500 [PATCH] missing includes in drivers/net/mv643xx_eth.c Signed-off-by: Al Viro commit 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe tree d10d90be7cb8fef4d6358f52d6a6fe6b59d2e6af parent 164006da316a22eaaa9fbe36f835a01606436c66 author Al Viro Wed, 21 Dec 2005 13:24:46 -0500 committer Al Viro Tue, 07 Feb 2006 20:56:47 -0500 [PATCH] drive_info removal outside of arch/i386 drive_info is used only by hd.c and that happens under #ifdef __i386__. Signed-off-by: Al Viro commit 164006da316a22eaaa9fbe36f835a01606436c66 tree 0855203dc4a14aa68bf83c70077f38ab250dd6cd parent 1b8623545b42c03eb92e51b28c84acf4b8ba00a3 author Al Viro Wed, 30 Nov 2005 23:47:05 -0500 committer Al Viro Tue, 07 Feb 2006 20:56:41 -0500 [PATCH] bogus asm/delay.h includes asm/delay.h is non-portable; linux/delay.h should be used in generic code. Signed-off-by: Al Viro commit 1b8623545b42c03eb92e51b28c84acf4b8ba00a3 tree 071045ad9c60d2697292c523c77322a70a248fb9 parent 92118c739df879497b8cc5a2eb3a9dc255f01b20 author Al Viro Thu, 15 Dec 2005 01:07:03 -0500 committer Al Viro Tue, 07 Feb 2006 20:56:35 -0500 [PATCH] remove bogus asm/bug.h includes. A bunch of asm/bug.h includes are both not needed (since it will get pulled anyway) and bogus (since they are done too early). Removed. Signed-off-by: Al Viro commit 92118c739df879497b8cc5a2eb3a9dc255f01b20 tree da556ca2f8afa1b43ca0626c9426f6634c64d32d parent b4669d66fb1488fd9cebe0b8da447cfeb86109ba parent 276e0c75f1e9a8b34b7b19e8fe188be958d420dd author Linus Torvalds Tue, 07 Feb 2006 16:29:55 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:29:55 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit b4669d66fb1488fd9cebe0b8da447cfeb86109ba tree 2beaba0e7d8acac9703667aff5f9bc9f4d4357d6 parent b43d4ddaec2b33fd6eaf0bed970c86ab08a52aaf parent c5e3fbf22ccba0879b174fab7ec0e322b1266c2c author Linus Torvalds Tue, 07 Feb 2006 16:29:27 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:29:27 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit b43d4ddaec2b33fd6eaf0bed970c86ab08a52aaf tree 1d319bfaae322c348e31e59b5eddc4ec3f427e3b parent 8e63e66b4cd066fe6c2d962460e286c2a61d3fe8 parent 9bd6f13dfd1dfb2e8f20df50581ebe7344ba97bd author Linus Torvalds Tue, 07 Feb 2006 16:28:26 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:28:26 -0800 Merge git://oss.sgi.com:8090/oss/git/rc-fixes-xfs-2.6 commit 8e63e66b4cd066fe6c2d962460e286c2a61d3fe8 tree d413ccce6ae840ad53d17aecd91eb9ebdfdc91c3 parent e39485636b6db2def114f38104fe132af73ff0f5 author Greg Ungerer Wed, 08 Feb 2006 09:19:17 +1000 committer Linus Torvalds Tue, 07 Feb 2006 16:19:15 -0800 [PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit e39485636b6db2def114f38104fe132af73ff0f5 tree 7afd8391b1ccf95b8778dae65386b81fa890747d parent 230afb065bfe05887dd83a0fbb149dc2bff7d63e author Greg Ungerer Wed, 08 Feb 2006 09:19:17 +1000 committer Linus Torvalds Tue, 07 Feb 2006 16:16:54 -0800 [PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 230afb065bfe05887dd83a0fbb149dc2bff7d63e tree bfda231ac9d6252f616471fb97530f9d1e07a7e7 parent 10c1f71caa7801fde7dcb103eda90117c6c9bb04 author Greg Ungerer Wed, 08 Feb 2006 09:19:17 +1000 committer Linus Torvalds Tue, 07 Feb 2006 16:16:54 -0800 [PATCH] m68knommu: hardirq.h needs definition of NR_IRQS Need to include the local asm/irq.h to get the NR_IRQS definition. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 10c1f71caa7801fde7dcb103eda90117c6c9bb04 tree 4be9325e27040523f88bbc76adfb1a4f8ff327a8 parent a9cdffb14ae8a95335ba4e9add1f1086c4d65372 author Greg Ungerer Wed, 08 Feb 2006 09:19:17 +1000 committer Linus Torvalds Tue, 07 Feb 2006 16:16:53 -0800 [PATCH] m68knommu: need pm_power_off in m68knommu Need place holders for the power management power off and idle functions. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit a9cdffb14ae8a95335ba4e9add1f1086c4d65372 tree 6af2ce52f38caf63e78eb2eee34efddeff5d2bb7 parent 2da436e00f9a5fdd0fb6b31e4b2b2ba82e8f5ab8 author Greg Ungerer Wed, 08 Feb 2006 09:19:17 +1000 committer Linus Torvalds Tue, 07 Feb 2006 16:16:53 -0800 [PATCH] m68knommu: compile fixes for mcfserial.c Re-organize the default CONSOLE baud rate define setting so that it is only set once. Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 2da436e00f9a5fdd0fb6b31e4b2b2ba82e8f5ab8 tree bce3223b55b14a995a0c60bc1403376fab3c6c97 parent a016f3389c06606dd80e687942ff3c71d41823c4 author JANAK DESAI Tue, 07 Feb 2006 12:59:03 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: system call registration for i386 Registers system call for the i386 architecture. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a016f3389c06606dd80e687942ff3c71d41823c4 tree c6fdc00cc6762d98fea1fad64d851119d5e7aa45 parent a0a7ec308f1be5957b20a1a535d21f683dfd83f0 author JANAK DESAI Tue, 07 Feb 2006 12:59:02 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: unshare files If the file descriptor structure is being shared, allocate a new one and copy information from the current, shared, structure. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0a7ec308f1be5957b20a1a535d21f683dfd83f0 tree 3814ee7b6aa51558d7c2200e41d587c9150389e5 parent 741a295130606143edbf9fc740f633dbc1e6225f author JANAK DESAI Tue, 07 Feb 2006 12:59:01 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: unshare vm If vm structure is being shared, allocate a new one and copy information from the current, shared, structure. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 741a295130606143edbf9fc740f633dbc1e6225f tree 3679047dd44e94ba94ee1487880a94def93a06f9 parent 99d1419d96d7df9cfa56bc977810be831bd5ef64 author JANAK DESAI Tue, 07 Feb 2006 12:59:00 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: unshare namespace If the namespace structure is being shared, allocate a new one and copy information from the current, shared, structure. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99d1419d96d7df9cfa56bc977810be831bd5ef64 tree 994e2fe33cef91933d299af9c26ddb9a92da58f4 parent cf2e340f4249b781b3d2beb41e891d08581f0e10 author JANAK DESAI Tue, 07 Feb 2006 12:58:59 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: unshare filesystem info If filesystem structure is being shared, allocate a new one and copy information from the current, shared, structure. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf2e340f4249b781b3d2beb41e891d08581f0e10 tree 77130c96dbf86a2659bd346f14ccc3b0857a3e7c parent 0d4c3e7a8c65892c7d6a748fdbb4499e988880db author JANAK DESAI Tue, 07 Feb 2006 12:58:58 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: system call handler function sys_unshare system call handler function accepts the same flags as clone system call, checks constraints on each of the flags and invokes corresponding unshare functions to disassociate respective process context if it was being shared with another task. Here is the link to a program for testing unshare system call. http://prdownloads.sourceforge.net/audit/unshare_test.c?download Please note that because of a problem in rmdir associated with bind mounts and clone with CLONE_NEWNS, the test fails while trying to remove temporary test directory. You can remove that temporary directory by doing rmdir, twice, from the command line. The first will fail with EBUSY, but the second will succeed. I have reported the problem to Ram Pai and Al Viro with a small program which reproduces the problem. Al told us yesterday that he will be looking at the problem soon. I have tried multiple rmdirs from the unshare_test program itself, but for some reason that is not working. Doing two rmdirs from command line does seem to remove the directory. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d4c3e7a8c65892c7d6a748fdbb4499e988880db tree cd0f2375fd4d1cc682c0959474ee1c14e10194e0 parent e0a602963485a2f109ae1521c0c55507304c63ed author JANAK DESAI Tue, 07 Feb 2006 12:58:56 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:34 -0800 [PATCH] unshare system call -v5: Documentation file Documents the new feature, why it is needed, it's cost, design, implementation, and test plan. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Andi Kleen Cc: Paul Mackerras Acked-by: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0a602963485a2f109ae1521c0c55507304c63ed tree 38900590f1d4f129cfd8748949ff62f7d3296aee parent 8519fb30e438f8088b71a94a7d5a660a814d3872 author Ingo Molnar Tue, 07 Feb 2006 12:58:54 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] Fix spinlock debugging delays to not time out too early The spinlock-debug wait-loop was using loops_per_jiffy to detect too long spinlock waits - but on fast CPUs this led to a way too fast timeout and false messages. The fix is to include a __delay(1) call in the loop, to correctly approximate the intended delay timeout of 1 second. The code assumes that every architecture implements __delay(1) to last around 1/(loops_per_jiffy*HZ) seconds. Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8519fb30e438f8088b71a94a7d5a660a814d3872 tree 8d29a7b1fa33e5f65e649d363cfa10e83c4fab97 parent 99f6d61bda82d09b2d94414d413d39f66a0b7da2 author Nick Piggin Tue, 07 Feb 2006 12:58:52 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] mm: compound release fix Compound pages on SMP systems can now often be freed from pagetables via the release_pages path. This uses put_page_testzero which does not handle compound pages at all. Releasing constituent pages from process mappings decrements their count to a large negative number and leaks the reference at the head page - net result is a memory leak. The problem was hidden because the debug check in put_page_testzero itself actually did take compound pages into consideration. Fix the bug and the debug check. Signed-off-by: Nick Piggin Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99f6d61bda82d09b2d94414d413d39f66a0b7da2 tree 7e204d1b3ffa642889905aa3a86c84d98e0c0af9 parent 46cd2f32baf181b74b16cceb123bab6fe1f61f85 author Stephen Smalley Tue, 07 Feb 2006 12:58:51 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] selinux: require AUDIT Make SELinux depend on AUDIT as it requires the basic audit support to log permission denials at all. Note that AUDITSYSCALL remains optional for SELinux, although it can be useful in providing further information upon denials. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46cd2f32baf181b74b16cceb123bab6fe1f61f85 tree 6f6c7b370e4004c629bb6c6cab3f822951eb9a26 parent 7b4fe29e00a5ab4e778bb24be86d836a25570bc9 author Rafael J. Wysocki Tue, 07 Feb 2006 12:58:50 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] Fix build failure in recent pm_prepare_* changes. Fix compilation problem in PM headers. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b4fe29e00a5ab4e778bb24be86d836a25570bc9 tree 3bdde16b7bcaab953674c24f358c6346829995c8 parent 1fcbf053e55e961112f237dc690129f0858156f1 author Dave Jones Tue, 07 Feb 2006 12:58:48 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] More informative message on umount failure We had a user trigger this message on a box that had a lot of different mounts, all with different options. It might help narrow down wtf happened if we print out which device failed. Signed-off-by: Dave Jones Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fcbf053e55e961112f237dc690129f0858156f1 tree c352b63dc2d73e4033d064bb4b5437d76157bfa8 parent b5173119ff10c5538e92a7957a50887ae170b8da author Kyle McMartin Tue, 07 Feb 2006 12:58:47 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] sys_hpux: fix strlen_user() race Userspace can alter the string after the kernel has run strlen_user(). Also: the strlen_user() return value includes the \0, so fix that. Also: handle EFAULT from strlen_user(). It's unlikely anyone is using this code. Very, very unlikely. If I remember correctly, CONFIG_HPUX turns this code on, but one would actually need CONFIG_BINFMT_SOM to load a binary that could cause a problem, and BINFMT_SOM has had an #error in it for quite some time. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5173119ff10c5538e92a7957a50887ae170b8da tree 5b5af4e03e627b66a9f37d25dd370a145ec72438 parent 8e08b756869eeb08ace17ad64c2a8cb97b18e856 author Robert Love Tue, 07 Feb 2006 12:58:45 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:33 -0800 [PATCH] inotify: fix one-shot support Fix one-shot support in inotify. We currently drop the IN_ONESHOT flag during watch addition. Fix is to not do that. Signed-off-by: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e08b756869eeb08ace17ad64c2a8cb97b18e856 tree f25b68e82001f1abaa9e9c25e663f8945d37c96d parent 48b8c10056d22ecc070bbfcbbfc8f84d13181178 author Andrew Morton Tue, 07 Feb 2006 12:58:45 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] module: strlen_user() race fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48b8c10056d22ecc070bbfcbbfc8f84d13181178 tree 9be17274d1560d25bc04fdf1cae9ce3e8ecb8d3d parent e2216feb37f1df65a29fb1e5ed41d9f7ba657b2c author Jeff Dike Tue, 07 Feb 2006 12:58:44 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: remove a dead file A previous patch removed a file from the build without removing it from the tree. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2216feb37f1df65a29fb1e5ed41d9f7ba657b2c tree 445da277a6f0202c6de853474f846467bf2dd7b7 parent 43b00fdbb13bfc1b2f4a8e5b65315db6d9c479a3 author Jeff Dike Tue, 07 Feb 2006 12:58:43 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: initialize process FP registers properly We weren't making sure that we initialized the FP registers of new processes to sane values. This patch also moves some defines in the affected area closer to where they are used. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43b00fdbb13bfc1b2f4a8e5b65315db6d9c479a3 tree 259d8a28854c007d2e0ee7ca0b0eba7e0f220a0d parent 14d9ead05ec925f299ae5cfe948c180c88ec842e author Jeff Dike Tue, 07 Feb 2006 12:58:42 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: block SIGWINCH in ptrace tester child The process that UML uses to probe the host's ptrace capabilities can (rarely) receive a SIGWINCH, confusing the parent. This fixes that by blocking SIGWINCH. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14d9ead05ec925f299ae5cfe948c180c88ec842e tree 88901eee9fb3d4b332b8cf96ffd91d0f9cbe2d2f parent 1d2ddcfb1935c9c0e98c4295458b01f24e3274f9 author Jeff Dike Tue, 07 Feb 2006 12:58:42 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: balance list_add and list_del in the network driver The network driver added an interface to the "opened" list when it was configured, not when it was brought up, and removed it when it was taken down. A sequence of ifconfig up, ifconfig down, ... caused it to be removed multiple times from the list without being added in between, resulting in a crash. This patch moves the add to when the interface is brought up. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d2ddcfb1935c9c0e98c4295458b01f24e3274f9 tree 94bc4ad32840430b22e22057dbf8deb70e72492a parent fbd5577901388ff9306a05eb63648c30e4722134 author Jeff Dike Tue, 07 Feb 2006 12:58:41 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: close TUN/TAP file descriptors When UML opens a TUN/TAP device, the file descriptor could be copied into later, long-lived threads, holding the device open even after the interface is taken down, preventing it from being brought up again. This patch makes these descriptors close-on-exec so that they disappear from helper processes, and adds CLONE_FILES to a UML helper thread so that the descriptors are closed in the thread when they are closed elsewhere in UML. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fbd5577901388ff9306a05eb63648c30e4722134 tree d114c2eed68da9bf7f435fe02dc39caa92a7c0d0 parent 3bc8414b079ec372485c99ed1f33c6c42ca9d756 author Jeff Dike Tue, 07 Feb 2006 12:58:40 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] uml: add debug switch for skas mode It doesn't do anything but emit a warning, but there's a user population that's used to adding 'debug' to the UML command line in order to gdb it. With skas0 mode, that's not necessary, but these users need some indication that 'debug' doesn't do what they want. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3bc8414b079ec372485c99ed1f33c6c42ca9d756 tree bdb939f8ef5ad746ac61948c8476683c9e83334f parent c00a76aea339b427b47ddc28de06dee0a652e801 author Suzuki Tue, 07 Feb 2006 12:58:36 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:32 -0800 [PATCH] Fix do_path_lookup() to add the check for error in link_path_walk() Fix do_path_lookup() to avoid accessing invalid dentry or inode when the link_path_walk() has failed. This should fix Bugme #5897. Signed-off-by: Suzuki K P Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c00a76aea339b427b47ddc28de06dee0a652e801 tree be6267266d399952f54a2fd4d991a610bb42b43a parent c2f8311d3168ed7d391ba5df5b80f4af0a3457d0 author Steve Langasek Tue, 07 Feb 2006 12:58:35 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] __cmpxchg() must really always be inlined on alpha With the latest 2.6.15 kernel builds for alpha on Debian, we ran into a problem with undefined references to __cmpxchg_called_with_bad_pointer() in a couple of kernel modules (xfs.ko and drm.ko; see http://bugs.debian.org/347556). It looks like people have been trying to out-clever each other wrt the definition of "inline" on this architecture :), with the result that __cmpxchg(), which must be inlined so the compiler can see its argument is const, is not guaranteed to be inlined. Indeed, it was not being inlined when building with -Os. The attached patch fixes the issue by adding an __attribute__((always_inline)) explicitly to the definition of __cmpxchg() instead of relying on redefines of "inline" elsewhere to make this happen. Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2f8311d3168ed7d391ba5df5b80f4af0a3457d0 tree 08d9638a748da146d3d91cce2a64555aa9670282 parent cbd0d51a3318583fabf03bccc7a987e158482361 author Michael Richardson Tue, 07 Feb 2006 12:58:33 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] ide: cast arguments to pr_debug() properly This does not show up unless you #define DEBUG in the file, which most people wouldn't do. On PPC405, at least, "sector_t" is unsigned long, which doesn't match %llx/%llu. Since sector# may well be >32 bits, promote the value to match the format. Signed-off-by: Michael Richardson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbd0d51a3318583fabf03bccc7a987e158482361 tree 62a7d1d2bb6cd9f11536c2b9873a46b81fcac2a8 parent 0df420d8b6c718d9a5e37531c3a9a6804493e9f4 author J. Bruce Fields Tue, 07 Feb 2006 12:58:32 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] knfsd: fix nfs4_open lock leak I just noticed that my patch "don't create on open that fails due to ERR_GRACE" (recently commited as fb553c0f17444e090db951b96df4d2d71b4f4b6b) had an obvious problem that causes a deadlock on reboot recovery. Sending in this now since it seems like a clear 2.6.16 candidate.--b. We're returning with a lock held in some error cases. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0df420d8b6c718d9a5e37531c3a9a6804493e9f4 tree 6b8edbb55eb8d5e84fb223bbcef7c54789270cde parent a2dfef6947139db9b886fce510c4d0c913beb5f0 author Christoph Lameter Tue, 07 Feb 2006 12:58:30 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] hugetlbpage: return VM_FAULT_OOM on oom Remove wrong and misleading comments. Return VM_FAULT_OOM if the hugetlbpage fault handler cannot allocate a page. do_no_page will end up doing do_exit(SIGKILL). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2dfef6947139db9b886fce510c4d0c913beb5f0 tree 096e9110d897e6b946fdae9e9e17ad5c7832fd8a parent 488fc08d914f2b07b701c9b9c811437cc1c1c518 author David Gibson Tue, 07 Feb 2006 12:58:25 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] Hugepages need clear_user_highpage() not clear_highpage() When hugepages are newly allocated to a file in mm/hugetlb.c, we clear them with a call to clear_highpage() on each of the subpages. We should be using clear_user_highpage(): on powerpc, at least, clear_highpage() doesn't correctly mark the page as icache dirty so if the page is executed shortly after it's possible to get strange results. Signed-off-by: David Gibson Acked-by: William Lee Irwin III Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 488fc08d914f2b07b701c9b9c811437cc1c1c518 tree e84cdb61842a6b6f3286a83aad34f9e87857c32c parent 7714d5985bb7101a90fb427dc29dc592cf1b960e author Ravikiran G Thirumalai Tue, 07 Feb 2006 12:58:23 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] x86_64: Fix the node cpumask of a cpu going down Currently, x86_64 and ia64 arches do not clear the corresponding bits in the node's cpumask when a cpu goes down or cpu bring up is cancelled. This is buggy since there are pieces of common code where the cpumask is checked in the cpu down code path to decide on things (like in the slab down path). PPC does the right thing, but x86_64 and ia64 don't (This was the reason Sonny hit upon a slab bug during cpu offline on ppc and could not reproduce on other arches). This patch fixes it for x86_64. I won't attempt ia64 as I cannot test it. Credit for spotting this should go to Alok. (akpm: this was applied, then reverted. But it's OK now because we now use for_each_cpu() in the right places). Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7714d5985bb7101a90fb427dc29dc592cf1b960e tree 60079a07fcbe5ac38c48e0ddc24d8132c66abe8c parent 2139bdd5b15a4cc450adb17da836f33c16477188 author Pavel Machek Tue, 07 Feb 2006 12:58:22 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] swsusp: kill unneeded/unbalanced bio_get - Remove unneeded bio_get() which would cause a bio leak - Writing doesn't dirty pages. Reading dirties pages. - We should dirty the pages after the IO completion, not before (Busy-waiting for disk I/O completion isn't very polite.) Signed-off-by: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2139bdd5b15a4cc450adb17da836f33c16477188 tree 16ef47b6bf3f0720fdda857ff66395b0c3634186 parent ce4b50f2fc62267eeaf331c41bc11b92d9bc7865 author Russell King Tue, 07 Feb 2006 12:58:20 -0800 committer Linus Torvalds Tue, 07 Feb 2006 16:12:31 -0800 [PATCH] drivers/base/bus.c warning fixes drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used Looks like these two attributes and supporting functions want to be #ifdef HOTPLUG'd Signed-off-by: Russell King Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6e56a2a088935f3c1feee5ff5a06c67f2ec6002 tree ab9fd17a56f81a7662aab8f135be7ed0f3c707c5 parent 9d78f43d1fd3e028bfd37510ce847d0896f71f78 author Tony Luck Tue, 07 Feb 2006 15:25:57 -0800 committer Tony Luck Tue, 07 Feb 2006 15:25:57 -0800 [IA64] Fix CONFIG_PRINTK_TIME There were two problems with enabling the PRINTK_TIME config option: 1) The first calls to printk() occur before per-cpu data virtual address is pinned into the TLB, so sched_clock() can fault. 2) sched_clock() is based on ar.itc, which may not be synchronized across cpus. Ken Chen started this patch, Tony Luck tinkered with it, and Jes Sorensen perfected it. Signed-off-by: Tony Luck commit 9d78f43d1fd3e028bfd37510ce847d0896f71f78 tree 0eab1902fecc563d500a3147344d6940e46171c4 parent ecdd5dabd33d67066d476467e447cdcadab90550 author Zou Nan hai Tue, 07 Feb 2006 11:35:46 +0800 committer Tony Luck Tue, 07 Feb 2006 14:13:09 -0800 [IA64] Fix wrong use of memparse in efi.c The check of (end != cp) after memparse in efi.c looks wrong to me. The result is that we can't use mem= and max_addr= kernel parameter at the same time. The following patch removed the check just like other arches do. Signed-off-by: Zou Nan hai Signed-off-by: Tony Luck commit ecdd5dabd33d67066d476467e447cdcadab90550 tree c2387dcd3e1926193cec6db89ceac75dd63e207c parent d43da75fd6be4197c280903e1553eafcc39218e2 author Zou Nan hai Tue, 07 Feb 2006 11:25:55 +0800 committer Tony Luck Tue, 07 Feb 2006 10:59:37 -0800 [IA64] Fix a possible buffer overflow in efi.c Make sure to save space for the trailing '\0'. Signed-off-by: Zou Nan hai Signed-off-by: Tony Luck commit ce4b50f2fc62267eeaf331c41bc11b92d9bc7865 tree 1a83f7d019b134d3c9581e7796eb98feab98f36c parent d43da75fd6be4197c280903e1553eafcc39218e2 parent 34218e06688341bd05a41425b745c7812d118de0 author Linus Torvalds Tue, 07 Feb 2006 10:13:39 -0800 committer Linus Torvalds Tue, 07 Feb 2006 10:13:39 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb commit d43da75fd6be4197c280903e1553eafcc39218e2 tree b53eb1ec81f712bbc1312fd24fd41aeafa3caa59 parent e8a82fd030c2e0ba4d4169cc4257ef174ff6f6b4 author Jens Axboe Tue, 07 Feb 2006 15:00:01 +0100 committer Linus Torvalds Tue, 07 Feb 2006 10:11:19 -0800 [PATCH] cciss: softirq handler needs to save interrupt flags The softirq rq completion handler needs to save/restore interrupt flags appropriately. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit e8a82fd030c2e0ba4d4169cc4257ef174ff6f6b4 tree 0515ffe68d9a88eda2d16f45e6391b05475fd9d1 parent e1a8e6c9b757c09249ab29fc6da12d9ab64567e1 parent b38c73995f63fe205c0068cb0ce3131895244068 author Linus Torvalds Tue, 07 Feb 2006 10:10:09 -0800 committer Linus Torvalds Tue, 07 Feb 2006 10:10:09 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit e1a8e6c9b757c09249ab29fc6da12d9ab64567e1 tree 3f99a8c08be4ffcdf4403eb61bcfad1b46dd2c53 parent 50753817a3043e0621e99f329514c0c7003563b2 author Andi Kleen Tue, 07 Feb 2006 12:48:00 +0100 committer Linus Torvalds Tue, 07 Feb 2006 10:08:38 -0800 [PATCH] Fix bad apic fix on i386 Fix wrong '!' in bad apic fix I forgot to remove the ! when moving the code from x86-64 to i386 x86-64 tested !disable_apic, but of course for cpu_has_apic it shouldn't be negated. Credit goes to Jan Beulich for spotting it with eagle eyes. Cc: Jan Beulich Cc: Ingo Molnar Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 50753817a3043e0621e99f329514c0c7003563b2 tree 8db82800dc6673c76d48eaca5177c3d5dc119683 parent eeb059e0a69369753b3e45426958f751f0b8fc89 parent 6967bd81d883ed325fd58840ee02a8da60458e6b author Linus Torvalds Tue, 07 Feb 2006 10:04:04 -0800 committer Linus Torvalds Tue, 07 Feb 2006 10:04:04 -0800 Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit eeb059e0a69369753b3e45426958f751f0b8fc89 tree 311290c94e692a7495c71c9f62ab2c239b1470de parent c03296a868ae7c91aa2d8b372184763b18f16d7a parent 8c7f75d3257fe466b34abf290c8b177c106c3769 author Linus Torvalds Tue, 07 Feb 2006 10:01:43 -0800 committer Linus Torvalds Tue, 07 Feb 2006 10:01:43 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-bugfix commit b38c73995f63fe205c0068cb0ce3131895244068 tree d562c06e5639fbe08d7bee7b5ef471e7769ecf4e parent f09678af51caf93cbbb253b298be995e1145a577 author Ralf Baechle Tue, 07 Feb 2006 01:20:43 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] Clear ST0_RE on bootup. The reset state is undefined and some firmware doesn't clear this bit possibly resulting in crashes on entry into userland. Signed-off-by: Ralf Baechle commit f09678af51caf93cbbb253b298be995e1145a577 tree 62ae8ee7154fa82b1ed756030728009c1fcddeec parent c226f2601f55010936f0f3c77ae167a02339f566 author Sergei Shtylylov Sat, 04 Feb 2006 15:11:14 +0300 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] TX49x7: Fix reporting of the CPU name and PCI clock I've noticed that PCI clock was incorrectly reported as 66 MHz while being mere 33 MHz on RBTX4937 board -- this was due to the different encoding of the PCI divisor field in CCFG register between TX4927 and TX4937 chips... Also, RBTX49x7 was printed out as a CPU name (e.g., "CPU is RBTX4937"); and some debug printk() were duplicating each other... Signed-off-by: Konstantin Baydarov Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle commit c226f2601f55010936f0f3c77ae167a02339f566 tree a0b178eef5c305881beaf0e76c8e82a03b74772d parent dbee90b7f90df6398f0877cd38dfaa76addb0619 author Atsushi Nemoto Fri, 03 Feb 2006 01:34:01 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] TX49 MFC0 bug workaround If mfc0 $12 follows store and the mfc0 is last instruction of a page and fetching the next instruction causes TLB miss, the result of the mfc0 might wrongly contain EXL bit. ERT-TX49H2-027, ERT-TX49H3-012, ERT-TX49HL3-006, ERT-TX49H4-008 Workaround: mask EXL bit of the result or place a nop before mfc0. It doesn't harm to always clear those bits, so we change the code to do so. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit dbee90b7f90df6398f0877cd38dfaa76addb0619 tree 27b9a417f94ff8ea4364a5f8f9806909fd85709a parent fcfd980c833bd5ca1df9ca877b3e968e4da05b24 author Ralf Baechle Thu, 02 Feb 2006 14:31:16 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] Fix linker script to work for non-4K page size. Very much to my surprise Fuxin Zhang reports this is all it takes to get the kernel to work for page sizes larger than 4kB. This also paves the way for support for the R6000 and R8000 which don't support 4kB page size. Signed-off-by: Ralf Baechle commit fcfd980c833bd5ca1df9ca877b3e968e4da05b24 tree ca485cf9452316c160e52c58ef1ba6941b1d3184 parent d1e30a6347630ca7eeee2f46f826f05bbe80bb25 author Ralf Baechle Wed, 01 Feb 2006 17:54:30 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] Oprofile: Support for 34K UP kernels. Signed-off-by: Ralf Baechle commit d1e30a6347630ca7eeee2f46f826f05bbe80bb25 tree fff9475b0b70d96989c5a3143f2448f995f24ac4 parent 5665a0ac59a656b94cbf3c4642b32024a6c1cf75 author Atsushi Nemoto Thu, 02 Feb 2006 01:29:14 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] Fix dump_tlb.c warning and cleanup. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 5665a0ac59a656b94cbf3c4642b32024a6c1cf75 tree ded491db3767bbe3d9b3de3ff88d60b9a20ab3ca parent 1e32ceeca25ea30cabce137fac7e2f58fe8847db author Atsushi Nemoto Thu, 02 Feb 2006 01:26:34 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:26 +0000 [MIPS] Fix minor sparse warnings Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 1e32ceeca25ea30cabce137fac7e2f58fe8847db tree 603e9388af3bf1043d0039198bbb236d6b4a41dd parent 7e5b24ac759176e55c8a535fff6533366168cbe9 author Ralf Baechle Wed, 01 Feb 2006 15:29:21 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] MIPS R2 optimized endianess swapping. From Franck Bui-Huu with modifications by me. Signed-off-by: Ralf Baechle commit 7e5b24ac759176e55c8a535fff6533366168cbe9 tree dfd1b9b2ee7e2213826f508813c18de3cffdf144 parent 9bbf28a36cae08817ac3a3f98fde329b02c89f4a author Ralf Baechle Tue, 31 Jan 2006 17:07:53 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] Remove buggy inline version of memscan. Signed-off-by: Ralf Baechle commit 9bbf28a36cae08817ac3a3f98fde329b02c89f4a tree c040508718623f0d2fb158352dd3130da4223fc7 parent 5be0f654a9d14c0c5aa031a3396ea8b9f2162cb9 author Atsushi Nemoto Wed, 01 Feb 2006 01:41:09 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] Sparse: Add some __user tags to signal functions. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 5be0f654a9d14c0c5aa031a3396ea8b9f2162cb9 tree a75128a42a0a14159a794ad251637ecb402939d1 parent 3d503753b40469b6a19dcc3511f6eb8c55f6d122 author Ralf Baechle Tue, 31 Jan 2006 01:40:55 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] Shrink Qemu configuration to the bare minimum that is need and tested. Signed-off-by: Ralf Baechle commit 3d503753b40469b6a19dcc3511f6eb8c55f6d122 tree e4c3f167c94633e2b10dede3ed80c2c03807c6ec parent e9feeb207e55373f718b33e0d6cb0c2f8b58f3c1 author Daniel Jacobowitz Thu, 20 Jan 2005 19:59:54 -0500 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] Support /proc/kcore for MIPS I'm pretty sure that the CKSEG0 bits are wrong, but I did need to cover that region - because the SB-1 kernel links at 0xffffffff80100000 or so, disassembly and printing static variables don't work unless the debugger can read that region. Signed-off-by: Daniel Jacobowitz Signed-off-by: Ralf Baechle commit e9feeb207e55373f718b33e0d6cb0c2f8b58f3c1 tree ac2471665c7eb808a15150364bec6bfa8e8d1b38 parent c5033d780310ddc5b679ed37ccefcdb87a30ef0c author Ralf Baechle Mon, 30 Jan 2006 17:48:27 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] IP22: Fix serial console detection From: Kaj-Michael Lang In ip22-setup.c the checks for serial/graphics console logic does not check if ARCS console=g but the machine is using serial console, as it does if no keyboard is attached. This patch adds a check if ConsoleOut is serial. There might also be support for other graphics than Newport soon... Signed-off-by: Ralf Baechle commit c5033d780310ddc5b679ed37ccefcdb87a30ef0c tree 76d4dbd9b8a34a5540f94abf45a4ecb73ae2d0f0 parent d4264f183967db9c2dae4275abb98eb1f79facb2 author Atsushi Nemoto Mon, 02 Jan 2006 21:59:49 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] ieee754[sd]p_neg workaround It looks glibc's pow() assumes an unary '-' operation for any number (including NaNs) always inverts its sign bit (though IEEE754 does not specify the sign bit for NaNs). This patch make the kernel math-emu emulates real MIPS neg.[ds] instruction. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit d4264f183967db9c2dae4275abb98eb1f79facb2 tree 8fdbc5254428255171665c18bfedcb00222b9d43 parent 2caf190002770b53fdb263ed744802a1b5e81649 author Atsushi Nemoto Sun, 29 Jan 2006 02:27:51 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:25 +0000 [MIPS] Remove wrong __user tags. This fixes sparse warnings 'dereference of noderef expression'. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 2caf190002770b53fdb263ed744802a1b5e81649 tree af9cc05155d5c456b5c93263ae4a7ebe719e327e parent 2e66fe24d6faa287088ff18051dd423a32b60502 author Ralf Baechle Mon, 30 Jan 2006 17:14:41 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Cleanup fls implementation. fls was the only called of flz, so fold flz into fls, same for the __ilog2 call. Delete the now unused flz function. Signed-off-by: Ralf Baechle commit 2e66fe24d6faa287088ff18051dd423a32b60502 tree fb2fcfd609b44f0ae415e0961843e1de6eccaaee parent 75bdb426a16e81adcbc4c3d7f946018cd47830d1 author Ralf Baechle Mon, 30 Jan 2006 16:48:26 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] local_irq_restore wasn't safe to be used in other macros mode. It always left the assembler in reorder mode possibly causing disaster. Signed-off-by: Ralf Baechle commit 75bdb426a16e81adcbc4c3d7f946018cd47830d1 tree d932971386425cb7f61b6d3a3c61b423bb31d940 parent 52378445da0253d5031590e5e9186ee448dc0b4a author Ralf Baechle Mon, 30 Jan 2006 04:07:39 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Remove commented out code to add -mmad for Nevada. Adding -mmad is not usable since over half a decade in gcc and when fixed the proper -march option values should enable the use of the mad, madu and mul instructions of the R5500, RM5200, RM7000 and RM9000 families. Signed-off-by: Ralf Baechle commit 52378445da0253d5031590e5e9186ee448dc0b4a tree bb4028a9ff2543e29c5f31863a441f1f9d7608f5 parent c315a2b5fed42aea4dda98b5ced35d1d1a3a8349 author Peter Horton Sun, 29 Jan 2006 21:33:48 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Fix Cobalt PCI cache line sizes Signed-off-by: Ralf Baechle commit c315a2b5fed42aea4dda98b5ced35d1d1a3a8349 tree e5503c9619ab581fbdb6c716836bff6778943a9b parent 76f072a46f179be371aa10a84c85db06a387713b author Atsushi Nemoto Sun, 29 Jan 2006 02:31:17 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Sparse: Add _MIPS_SZINT and _MIPS_ISA to CHECKFLAGS to fix sparse warnings. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 76f072a46f179be371aa10a84c85db06a387713b tree 3236c419f754dcc0c5356d4c47f389d8362793e9 parent 3055acb07a248324c9338c0624d26a6fdd9c2bf6 author Atsushi Nemoto Sun, 29 Jan 2006 02:30:55 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Build blast_cache routines from template Build blast_xxx, blast_xxx_page, blast_xxx_page_indexed from template. Easier to maintaina and saves 300 lines. Generated code should be unchanged. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 3055acb07a248324c9338c0624d26a6fdd9c2bf6 tree 44b050f19dc3c4e16c620770bd10adbf71670680 parent b6f7880b6c6ccb9f51adecf706109e15ad911bcc author Atsushi Nemoto Sun, 29 Jan 2006 22:34:32 +0900 committer Ralf Baechle Tue, 07 Feb 2006 13:30:24 +0000 [MIPS] Sparse: Fix some compiler/sparse warnings in ptrace32.c Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b6f7880b6c6ccb9f51adecf706109e15ad911bcc tree 452072c122dcb821f5ca24f6d6331e6d51c40482 parent 5ac71fd1cf9976f5269e1c3cb34bbf6c454427a4 author Ralf Baechle Sun, 29 Jan 2006 21:01:42 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Reformat to 80 columns. Patch courtesy of Emily Postnews ;-) Signed-off-by: Ralf Baechle commit 5ac71fd1cf9976f5269e1c3cb34bbf6c454427a4 tree b43a8c7a9c8778c52d10fad23802daeeeb313e01 parent 010b853b3aab980a55a8dd34ce18aa23e9f2347a author Ralf Baechle Sun, 29 Jan 2006 20:56:43 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Sibyte: Make all setup functions __init. Signed-off-by: Ralf Baechle commit 010b853b3aab980a55a8dd34ce18aa23e9f2347a tree 652bdc6fbb6c6f722e4e85202ae9bc9a7bfa93ff parent 492fd5f2fdbc1bb7e1d517fd5e9b0cd9f3d0b623 author Ralf Baechle Sun, 29 Jan 2006 18:42:08 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Get rid of CONFIG_SB1_PASS_1_WORKAROUNDS #ifdef crapola. Signed-off-by: Ralf Baechle commit 492fd5f2fdbc1bb7e1d517fd5e9b0cd9f3d0b623 tree c47fbeab46e23106b3a843a05625a3248b82c13c parent 80730555af2ef1932bd8b9943333e8837dddfacc author Sergei Shtylylov Thu, 26 Jan 2006 04:36:25 +0300 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Au1200: Make KGDB compile AMD Au1200 SOC just doesn't have UART3, so KGDB won't even compile for it as is, here's the fix to make KGDB use UART1. Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle commit 80730555af2ef1932bd8b9943333e8837dddfacc tree 881772d4c6d1b59bc7d3d101dad9465a2af1c682 parent 6fe2a5681fff0cbeaf9a2d3778661be62a7f2f06 author Sergei Shtylylov Wed, 25 Jan 2006 21:27:10 +0300 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Au1xx0: really set KSEG0 to uncached on reboot Fix a really old buglet in AMD Au1xx0 restart code: instead of modifying the whole CP0 Config.K0 field to 010b (meaning KSEG0 uncached) before flushing the caches and resetting a board, it only sets bit 1 of that reg. which is effectively a NOP since Config.K0 == 011b as the kernel sets it up (which is also its default value for Au1xx0). Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle commit 6fe2a5681fff0cbeaf9a2d3778661be62a7f2f06 tree cc91f40b6a5603e8c6f37eec3de3c995dd06e3c0 parent 4feb8f8f4589d1cb1594e344c9672ec40f627ab4 author Sergei Shtylylov Wed, 25 Jan 2006 21:24:57 +0300 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] TX49x7: Fix timer register #define's Fix the #define's for TX4927/37 timer reg's to match the datasheets (those Signed-off-by: Konstantin Baydarov Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle commit 4feb8f8f4589d1cb1594e344c9672ec40f627ab4 tree 21f603c3537c2533b68ce1e7f3adfa7b950dbdbc parent c03bc121212ecb36120b118a94c1b91a2e07b7b2 author Ralf Baechle Mon, 23 Jan 2006 16:15:30 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:23 +0000 [MIPS] Bullet proof uaccess.h against 4.0.1 miss-compilation. Signed-off-by: Ralf Baechle commit c03bc121212ecb36120b118a94c1b91a2e07b7b2 tree f75749e5c04e01dbc5e7e56e6c5a4d36f718a6be parent 4c91cc57bc9cfd337804d70bc9bff6a012aa8b83 author Mark Mason Tue, 17 Jan 2006 12:06:32 -0800 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] SB1: Add oprofile support. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit 4c91cc57bc9cfd337804d70bc9bff6a012aa8b83 tree 681b1e0b7cc99d11005cdfd5918fde4ef0577d7b parent 80f834e6877ce57e19b9de8cea69f81453907586 author Mark Mason Tue, 17 Jan 2006 12:02:17 -0800 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] BCM1480: Cleanup debug code left behind in the PCI driver. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit 80f834e6877ce57e19b9de8cea69f81453907586 tree cc3f26760c3e725bfc1118264c625344729d0f41 parent dd2f18fe5af54ea8928f175d3bff9401a0fb6b83 author Mark Mason Tue, 17 Jan 2006 11:55:52 -0800 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] BCM1125 PCI fixes Make BCM1125 targets to link again. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit dd2f18fe5af54ea8928f175d3bff9401a0fb6b83 tree 34545005e0066fc7e092f32bb2f4ba49ed7ae672 parent c011db451bcce468a6f999949fbdbc2fec1167d2 author Ralf Baechle Thu, 19 Jan 2006 14:55:42 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] Nevada support for SGI O2. Signed-off-by: Ralf Baechle commit c011db451bcce468a6f999949fbdbc2fec1167d2 tree 8173e3ad4841db35734e959009132ece4e69096c parent 11ed6d5bb01c5f347fd5c47e0005f06687c66f1f author Ralf Baechle Thu, 19 Jan 2006 00:49:32 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] CPU definitions for Cobalt. Signed-off-by: Ralf Baechle commit 11ed6d5bb01c5f347fd5c47e0005f06687c66f1f tree 868463de2ab1cca80911108e72cc383a7771a412 parent fcdb27ad1d5c66611d3df6400a9b559186f266fe author Ralf Baechle Wed, 18 Jan 2006 23:26:43 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] Rename include/asm-mips/cobalt to include/asm-mips/mach-cobalt. Signed-off-by: Ralf Baechle commit fcdb27ad1d5c66611d3df6400a9b559186f266fe tree 96560c96bb962a63ed7dd3f56d50b4a8ae41f035 parent 9414d3628abb646834965b6c23b8e9064729b110 author Ralf Baechle Wed, 18 Jan 2006 17:37:07 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again. Signed-off-by: Ralf Baechle commit 9414d3628abb646834965b6c23b8e9064729b110 tree 7169a54a5b8e2aab003b3bcfbe60de5169400edc parent a3305a8835ed039363822523a3cac24e990083dc author Ralf Baechle Tue, 17 Jan 2006 21:14:01 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:22 +0000 [MIPS] Check function pointers are non-zero before calling. Several boards don't initialize the pointers, so let's play safe. Signed-off-by: Ralf Baechle commit a3305a8835ed039363822523a3cac24e990083dc tree 7549fa6171d1a60f64085a1795157c1878f4a4e6 parent a84c96e202c286c1d56fed4a81bd850017aa2c64 author Ralf Baechle Fri, 03 Feb 2006 16:47:44 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:21 +0000 [MIPS] Revert "mips: add pm_power_off" pm_power_off duplicates the functionality of _machine_restart. This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit. commit a84c96e202c286c1d56fed4a81bd850017aa2c64 tree cfcc8642d1af216018176b08b979c6ca59bb9cba parent 71baa1a599c04ab56ebf5fdb8d03abd0d601462f author Ralf Baechle Sun, 15 Jan 2006 18:11:28 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:21 +0000 [MIPS] RTLX compile fixes. Signed-off-by: Ralf Baechle commit 71baa1a599c04ab56ebf5fdb8d03abd0d601462f tree 7bd66279248bd78c73156bf71982239eca8a8e2f parent 05faa7b758e4f23b66c5a776a338f2348cbbc4af author Ralf Baechle Sun, 15 Jan 2006 18:10:39 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:21 +0000 [MIPS] Get rid of unnecessary prototypes. Fixes and optimizations for HZ > 100. Signed-off-by: Ralf Baechle commit 05faa7b758e4f23b66c5a776a338f2348cbbc4af tree aac100fe8d35630e5912d0a314976f9680a1e164 parent 4f0638ba9e3825d21d41e98d04faa6b74a05c624 author Ralf Baechle Wed, 11 Jan 2006 18:23:00 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:21 +0000 [MIPS] Fix C version of ssnop to use the right opcode. Signed-off-by: Ralf Baechle commit 4f0638ba9e3825d21d41e98d04faa6b74a05c624 tree a62a7edacb4fe0bb35bb29925a72d922dcdfbfcb parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author Ralf Baechle Mon, 09 Jan 2006 20:09:36 +0000 committer Ralf Baechle Tue, 07 Feb 2006 13:30:21 +0000 [MIPS] Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels. Only the NMI handler was affected so this is a low impact bug. Signed-off-by: Ralf Baechle commit 7d4d61544a12333600bdb9b018a149868418692e tree ef645b27fcfbcad4ccf870cfb1832a14c1aadee6 parent 4dc43256931db60d02d76bacf3cf03b5d79aa33a author Nathan Lynch Mon, 06 Feb 2006 22:44:23 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:51:54 +1100 [PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu When a cpu is hotplug-onlined, if we don't set per_cpu(last_jiffy) to something sane, timer_interrupt will execute its while loop for every tick missed since the cpu was last online (or since the system was booted, if we're adding a new cpu). This can cause weird hangs, ssh sessions dropping, and we can even go xmon if we take a global IPI at the wrong time. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 4dc43256931db60d02d76bacf3cf03b5d79aa33a tree 797e316f2b8e4f30bbe6b84a08f52d453c75f34f parent 7d4b95ae8e946e5754122220644c865ec3735428 author Michael Neuling Tue, 07 Feb 2006 10:58:21 +1100 committer Paul Mackerras Tue, 07 Feb 2006 21:51:53 +1100 [PATCH] powerpc: hypervisor check in pseries_kexec_cpu_down We call unregister_vpa but we don't check to see if the hypervisor supports this. Signed-off-by: Michael Neuling Acked-by: Anton Blanchard -- arch/powerpc/platforms/pseries/setup.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Paul Mackerras commit 7d4b95ae8e946e5754122220644c865ec3735428 tree 4a6fbee1bf0a8d23742290bd7b0061bffdf1c7e9 parent f9b4045d6bbb109d066d127549b2beb38fd9bfc4 author Becky Bruce Mon, 06 Feb 2006 14:26:31 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:51:53 +1100 [PATCH] documentation/powerpc: add bus-frequency property to SOC node Updated SOC node definition in documentation to include bus-frequency property. Also extended mdio example to match specification. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f9b4045d6bbb109d066d127549b2beb38fd9bfc4 tree d7e45a43f9cf8270c2f37f5d62a92004fa5afa2c parent 09f5dc44aeff9f792a807a7dca64c1791d98d8c8 author Michael Ellerman Tue, 07 Feb 2006 13:26:14 +1100 committer Paul Mackerras Tue, 07 Feb 2006 21:51:53 +1100 [PATCH] powerpc: Don't use toc in decrementer_iSeries_masked Since 404849bbd2bfd62e05b36f4753f6e1af6050a824 we've been using LOAD_REG_ADDRBASE, which uses the toc pointer, in decrementer_iSeries_masked. This can explode if we take the decrementer interrupt while we're in a module, because the toc pointer in r2 will be the module's toc pointer. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 09f5dc44aeff9f792a807a7dca64c1791d98d8c8 tree 9cc57118c3ce54087ecfff0870432313fc733edf parent 95eff20feb679a2223a6da1e7f272fe9aa99591e author David Gibson Mon, 06 Feb 2006 13:24:53 +1100 committer Paul Mackerras Tue, 07 Feb 2006 21:51:53 +1100 [PATCH] powerpc: Cleanup, consolidating icache dirtying logic The code to mark a page as icache dirty (so that it will later be icache-dcache flushed when we try to execute from it) is duplicated in three places: flush_dcache_page() does this marking and nothing else, but clear_user_page() and copy_user_page() duplicate it, since those functions make the page icache dirty themselves. This patch makes those other functions call flush_dcache_page() instead, so the logic's all in one place. This will make life less confusing if we ever need to tweak the details of the the lazy icache flush mechanism. arch/powerpc/mm/mem.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 95eff20feb679a2223a6da1e7f272fe9aa99591e tree 1a4e2a5d8c5d8a4f8511e491705e2e220065ce5d parent 4009d980224389c33dce1565e0ac9f673354c43f author Jesper Juhl Sat, 04 Feb 2006 20:35:59 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:51:53 +1100 [PATCH] Don't check pointer for NULL before passing it to kfree [arch/powerpc/kernel/rtas_flash.c] Checking a pointer for NULL before passing it to kfree is pointless, kfree does its own NULL checking of input. Signed-off-by: Jesper Juhl Signed-off-by: Paul Mackerras commit 4009d980224389c33dce1565e0ac9f673354c43f tree 7d3768b25a8c07b449fc41b642918c5e3873bbb2 parent d60dcd9450cf1c4d6482f7cd9c73366c07931bf6 author Olaf Hering Sat, 04 Feb 2006 13:33:46 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:51:52 +1100 [PATCH] powerpc: fix compile warning in udbg_init_maple_realmode arch/powerpc/kernel/udbg_16550.c: In function `udbg_init_maple_realmode': arch/powerpc/kernel/udbg_16550.c:162: warning: assignment from incompatible pointer type Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit d60dcd9450cf1c4d6482f7cd9c73366c07931bf6 tree ea35490f83572ad55c3d247b721fa4080044a1af parent 090db7c86d5df0161135793063e75bc1abddaa6f author Olaf Hering Sat, 04 Feb 2006 12:55:41 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:32:45 +1100 [PATCH] powerpc: add refcounting to setup_peg2 and of_get_pci_address setup_peg2 must do some refcounting. of_get_pci_address may need to drop the node Pegasos l2cr : L2 cache was not active, activating PCI bus 0 controlled by pci at 80000000 Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32 Call Trace: [C037BD00] [C0007934] show_stack+0x5c/0x184 (unreliable) [C037BD30] [C000E068] program_check_exception+0x184/0x584 [C037BD90] [C000F5F0] ret_from_except_full+0x0/0x4c --- Exception: 700 at kref_get+0xc/0x24 LR = of_node_get+0x24/0x3c [C037BE50] [C004FD94] __pte_alloc_kernel+0x64/0x80 (unreliable) [C037BE70] [C000CA18] of_get_parent+0x34/0x58 [C037BE90] [C0009B18] of_get_address+0x24/0x174 [C037BED0] [C000A108] of_address_to_resource+0x24/0x68 [C037BF00] [C038B128] chrp_find_bridges+0x114/0x470 [C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c [C037BFB0] [C03849B0] setup_arch+0x144/0x188 [C037BFD0] [C037C45C] start_kernel+0x34/0x1a8 [C037BFF0] [000037A0] 0x37a0 Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32 Call Trace: [C037BC90] [C0007934] show_stack+0x5c/0x184 (unreliable) [C037BCC0] [C000E068] program_check_exception+0x184/0x584 [C037BD20] [C000F5F0] ret_from_except_full+0x0/0x4c --- Exception: 700 at kref_get+0xc/0x24 LR = of_node_get+0x24/0x3c [C037BDE0] [00000000] 0x0 (unreliable) [C037BE00] [C000CA18] of_get_parent+0x34/0x58 [C037BE20] [C0009CE8] of_translate_address+0x2c/0x2fc [C037BEA0] [C0009FE8] __of_address_to_resource+0x30/0xc4 [C037BED0] [C000A130] of_address_to_resource+0x4c/0x68 [C037BF00] [C038B128] chrp_find_bridges+0x114/0x470 [C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c [C037BFB0] [C03849B0] setup_arch+0x144/0x188 [C037BFD0] [C037C45C] start_kernel+0x34/0x1a8 [C037BFF0] [000037A0] 0x37a0 PCI bus 0 controlled by pci at c0000000 Top of RAM: 0x10000000, Total RAM: 0x10000000 Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 090db7c86d5df0161135793063e75bc1abddaa6f tree ebefa631f29aaddb575479be1a633c499cde7abb parent 03478804920a53405dfff73a0b23e9dcbbbee1c1 author Olaf Hering Sat, 04 Feb 2006 12:44:56 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:32:44 +1100 [PATCH] powerpc: remove pointer/integer confusion in of_find_node_by_name remove pointer/integer confusion Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 03478804920a53405dfff73a0b23e9dcbbbee1c1 tree 43c431ea5beffffc571b029e9896921d4d4c5a2e parent d8a8188ded1251afc6a2ec8a668b0bdf038b64a1 author Olaf Hering Sat, 04 Feb 2006 11:05:33 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:32:44 +1100 [PATCH] powerpc: restore clock speed in /proc/cpuinfo Use generic_calibrate_decr to restore missing clock: speed in /proc/cpuinfo Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit d8a8188ded1251afc6a2ec8a668b0bdf038b64a1 tree f80686e930a20ca33f34bf1eedcd8e9199b716ce parent b68239ee746760bd99a68692f4c97a28f08a5d01 author Olaf Hering Sat, 04 Feb 2006 10:34:56 +0100 committer Paul Mackerras Tue, 07 Feb 2006 21:32:44 +1100 [PATCH] powerpc: remove pointer/integer confusion in generic_calibrate_decr remove pointer/integer confusion Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit b68239ee746760bd99a68692f4c97a28f08a5d01 tree 716746e0faca1db7691f53c8d85ae72bddc5d001 parent b4fd884a037c791a39f2f03da719e251af176a97 author Michael Ellerman Fri, 03 Feb 2006 19:05:47 +1100 committer Paul Mackerras Tue, 07 Feb 2006 21:32:44 +1100 [PATCH] powerpc: Don't overwrite flat device tree with kdump kernel It's possible for prom_init to allocate the flat device tree inside the kdump crash kernel region. If this happens, when we load the kdump kernel we overwrite the flattened device tree, which is bad. We could make prom_init try and avoid allocating inside the crash kernel region, but then we run into issues if the crash kernel region uses all the space inside the RMO. The easiest solution is to move the flat device tree once we're running in the kernel. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit b4fd884a037c791a39f2f03da719e251af176a97 tree 46762b131dd357f04b474acc30a5ea9b2b9499b3 parent 82a4df74628a3bf0ac762be198b45e02a7c5879f author Dave C Boutcher Fri, 03 Feb 2006 01:18:36 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:32:44 +1100 [PATCH] powerpc: remove useless call to touch_softlockup_watchdog It turns out that we can't stop the watchdog from triggering here. If we touch the timer (which just uses the current jiffie value) before we enable interrupts, it does nothing because jiffies are not mass-updated until after we enable interrupts. If we touch the timer after we enable interrupts, its too late because the softlockup watchdog will already have triggered. The touch_softlockup_watchdog call removed below does nothing. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 82a4df74628a3bf0ac762be198b45e02a7c5879f tree 4aa144d331a3d5701bfc78349c8935bf5de01bf6 parent c4cb8ecca66e3f136f66b5b30ec189530290a9b9 author Dave C Boutcher Fri, 03 Feb 2006 01:18:39 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:32:43 +1100 [PATCH] powerpc: prod all processors after ibm,suspend-me We need to prod everyone here since this is the only CPU that is guaranteed to be running after the ibm,suspend-me RTAS call returns. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit c4cb8ecca66e3f136f66b5b30ec189530290a9b9 tree a52794685fafc99bfa749b5499603fc40d11be29 parent 31a7f67e587aa0745a132ae68efa7f15dac677f9 author Dave C Boutcher Fri, 03 Feb 2006 01:18:46 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:32:43 +1100 [PATCH] powerpc: return correct rtas status from ibm,suspend-me Correctly return the status from the RTAS call. rtas_call expects to return the status as a return value. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 31a7f67e587aa0745a132ae68efa7f15dac677f9 tree 49300256994704784d10102efa51b0ccaa45ab23 parent a958a2648602aaa8f98aeb3c1c914f1b8096bfdc author Michael Ellerman Tue, 31 Jan 2006 17:17:47 +1100 committer Paul Mackerras Tue, 07 Feb 2006 21:28:38 +1100 [PATCH] powerpc: Fix !SMP build of rtas.c arch/powerpc/kernel/rtas.c is getting hvcall.h via spinlock.h, but when we're building for UP we don't include spinlock.h. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a958a2648602aaa8f98aeb3c1c914f1b8096bfdc tree 9cb3390ce32ae3292a5bcffe72b0acbab0920957 parent cdc3ee8f2061bafe7593bab0096a0e711408b0f9 author Jake Moilanen Mon, 30 Jan 2006 21:51:54 -0600 committer Paul Mackerras Tue, 07 Feb 2006 21:28:38 +1100 [PATCH] powerpc: IOMMU SG paranoia This addresses two items, which are unlikely to be hit if we trust drivers. The first is moving a memory barrier below where the vmerged SG count is passed back, but before the list is set to end. If those instructions were reordered, there could be an issue in iommu_unmap_sg(). The second is making sure we terminate the list on the failure case of iommu_map_sg(). If a driver does not look at the failure return code, it could pass a ill-formed SG list to iommu_unmap_sg(). Signed-off-by: Jake Moilanen Acked-by: Olof Johansson Signed-off-by: Paul Mackerras commit cdc3ee8f2061bafe7593bab0096a0e711408b0f9 tree 82cd90ed8d38f27e76a06a0049660be092fdd9a4 parent 8c20fafa8548917fdbbd95588494498dd901b375 author Michael Ellerman Wed, 25 Jan 2006 21:48:48 +1300 committer Paul Mackerras Tue, 07 Feb 2006 21:28:38 +1100 [PATCH] powerpc: Refuse to boot a kdump kernel via OF You can't boot a kdump kernel via OF, not reliably anyway, the kernel being at 32 MB conflicts with the zImage wrapper etc. and it blows up. It's trivial to check in prom_init though, and this is early enough that we can actually drop back to OF where a reset-all will get you going again, which is kinda nice. I think this should go in for 2.6.16. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 8c20fafa8548917fdbbd95588494498dd901b375 tree 37cbfdc145261c0bb292320bbeaa75699942717b parent fa93895329b87112cb1fd784db969e60b5b46af6 author Michael Ellerman Wed, 25 Jan 2006 21:31:26 +1300 committer Paul Mackerras Tue, 07 Feb 2006 21:28:38 +1100 [PATCH] powerpc: Make sure we don't create empty lmb regions To prevent problems later in boot, make sure we don't create zero-size lmb regions. I've checked all the callers, and at the moment no one should ever hit this. All callers use a constant size, or they check the computed size before they call us. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit fa93895329b87112cb1fd784db969e60b5b46af6 tree ed6d137b47ebcae1de85a21dc387b452fe728163 parent 3ea4807de7b2c5c903380ba2c2e7150bee942f42 author Michael Ellerman Wed, 25 Jan 2006 21:31:25 +1300 committer Paul Mackerras Tue, 07 Feb 2006 21:28:38 +1100 [PATCH] powerpc: Don't allocate zero bytes in finish_device_tree() In prom.c we run finish_node() on allnodes twice. The first time we just calculate how much memory we'll need, the second time we do the actual work. If the calculation stage determines that we need 0 bytes, then we should skip the lmb allocation. Although an alloc of zero will work, it has been seen to lead to a BUG_ON() in reserve_bootmem() on at least one machine. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3ea4807de7b2c5c903380ba2c2e7150bee942f42 tree 2e354cb0e3126ef47bf833bfe9e8eccd523091ad parent aee9f26542cc27a37d593f1790b84cd57801a7c7 author Marcelo Tosatti Mon, 23 Jan 2006 13:57:06 -0200 committer Paul Mackerras Tue, 07 Feb 2006 21:28:37 +1100 [PATCH] powerpc/8xx: last two 8MB D-TLB entries are incorrectly set The last two 8MB TLB entries are being incorrectly set by initial_mmu on 8xx. The first entry is written with the same virtual/physical address, which renders it invalid: BDI>rms 792 0x00001e00 BDI>rms 824 1 BDI>rds 824 SPR 824 : 0xc08000c0 -1065353024 BDI>rds 825 SPR 825 : 0xc0800de0 -1065349664 BDI>rds 826 SPR 826 : 0x00000000 0 And the second entry, in addition, does not have its TLB index set correctly. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit aee9f26542cc27a37d593f1790b84cd57801a7c7 tree 1a4b72a69d0c90c425b5986528bea69c6a7c2416 parent e2f5a3c1bec1cf3e7c76c080fd7f21476f05008a author Geoff Levand Mon, 23 Jan 2006 17:37:11 -0800 committer Paul Mackerras Tue, 07 Feb 2006 21:27:50 +1100 [PATCH] powerpc: Fix spufs initialization sequence. This is a small fix to get the spufs init sequence right. init_spu_base() in spu_base.c should be called (via module_init(init_spu_base)) before spufs_init() (via module_init(spufs_init)) in spufs/inode.c gets called. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit 34218e06688341bd05a41425b745c7812d118de0 tree 5b2940e1e4666223956a71a03606960ebd4ee939 parent dece696076936434eb49e43eb2d59ca35cb94376 parent 67264484fac91db58fee9eb3bf1e3aaeaa3e7169 author Mauro Carvalho Chehab Tue, 07 Feb 2006 08:11:31 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 08:11:31 -0200 Merge branch 'work-fixes' commit dece696076936434eb49e43eb2d59ca35cb94376 tree 1ac54cdb0d5c0b3b2afe0f7f9f3e1165704cbc82 parent fc3fba60f5d292a3b875e2498577fc35bd68b9da parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Mauro Carvalho Chehab Tue, 07 Feb 2006 08:11:05 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 08:11:05 -0200 Merge branch 'origin' commit 67264484fac91db58fee9eb3bf1e3aaeaa3e7169 tree ed49eac05dca9be25c1917c203d06ad4be07f526 parent ed2099293627a1f6220c711b265528128f8ad50e author Markus Rechberger Tue, 07 Feb 2006 04:01:19 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:46:03 -0200 V4L/DVB (3325): Disabled debug on by default in tvp5150 disabled debug on by default in tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 9bd6f13dfd1dfb2e8f20df50581ebe7344ba97bd tree 9c726f8831ade876012136a626e2e7e9ad052de4 parent 9fddaca2293d768eb21ea115e5eedec7f1c13c1c author Nathan Scott Tue, 07 Feb 2006 20:27:44 +1100 committer Nathan Scott Tue, 07 Feb 2006 20:27:44 +1100 [XFS] Fix missing inode atime update from the utime syscall. SGI-PV: 949214 SGI-Modid: xfs-linux-melb:xfs-kern:25136a Signed-off-by: Nathan Scott commit 9fddaca2293d768eb21ea115e5eedec7f1c13c1c tree 5be386559a0baea812e9e29b0c20036d34c977fc parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author David Chinner Tue, 07 Feb 2006 20:27:24 +1100 committer Nathan Scott Tue, 07 Feb 2006 20:27:24 +1100 [XFS] Account for the page we just wrote when we detect congestion during the clustering of extra pages in a buffered write. SGI-PV: 949210 SGI-Modid: xfs-linux-melb:xfs-kern:25130a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit ed2099293627a1f6220c711b265528128f8ad50e tree ed49eac05dca9be25c1917c203d06ad4be07f526 parent 62b2c00addf2e7d441c4f29e2dd804110b9d9475 author Adrian Bunk Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:55:43 -0200 V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends The at76c651 and tda80xx frontends are currently completely unused, IOW their only effect is making the kernel larger for people accitentially enabling them. The current in-kernel drivers differ from the drivers at cvs.tuxbox.org, and re-adding them when parts of the dbox2 project get merged should be trivial. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 62b2c00addf2e7d441c4f29e2dd804110b9d9475 tree 1a9d191582b6d023da18e696b3f077b8f522c497 parent be8a82d181147b9a6033ca9df870ca9fa0b0c515 author Dave Jones Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:55:32 -0200 V4L/DVB (3318c): fix saa7146 kobject register failure Whoops. kobject_register failed for hexium HV-PCI6/Orion (-13) [] kobject_register+0x31/0x47 [] bus_add_driver+0x4a/0xfd [] __pci_register_driver+0x82/0xa4 [] hexium_init_module+0xa/0x47 [hexium_orion] [] sys_init_module+0x167b/0x1822 [] do_sync_read+0xb8/0xf3 [] autoremove_wake_function+0x0/0x2d [] audit_syscall_entry+0x118/0x13f [] do_syscall_trace+0x104/0x14a [] syscall_call+0x7/0xb slashes in kobject names aren't allowed. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit be8a82d181147b9a6033ca9df870ca9fa0b0c515 tree 61914fe6e7d5e55897b0f79dc914bda5bb342b47 parent 9366865fdd9fd4fb9e7a81ce3678cc253c89ab9d author Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:55:13 -0200 V4L/DVB (3318a): Makes Some symbols static. Some symbols at cx88-alsa were global. Making those static. Signed-off-by: Mauro Carvalho Chehab commit 9366865fdd9fd4fb9e7a81ce3678cc253c89ab9d tree 565a2c04a20ecb49f0e77ca7d91f2a1f7d988812 parent eba841ed1d00e13144c1063b304c1537b774a747 author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:53:22 -0200 V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file - When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. - A new firmware should be used with digitv devices. - It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit eba841ed1d00e13144c1063b304c1537b774a747 tree 9ded43e6b6789163169e75e8521ee33ed4a4d39a parent 63631366dc3e159d1209838fb074d5df4edac76a author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:53:05 -0200 V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices Reassigning function pointers in a static led to infinite loops when using multiple VP7045-based device at the same time on one system. Using kmalloc'd copies for reassignments is better. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 63631366dc3e159d1209838fb074d5df4edac76a tree d1cf7d82a4ee4f25d2f28d71ea88c89b487d8858 parent 4055d392aa0256462758b40cedb9eb7d564de93a author Michael Krufky Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:52:42 -0200 V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes. Use the parallel transport function of the MT352 demodulator in TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4055d392aa0256462758b40cedb9eb7d564de93a tree 28927ce67391f192dac044ba69f3d9f4df9cc94b parent 9ead9bd1079b4b7ba45589f6495e79ec50237aed author Chris Pascoe Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:52:30 -0200 V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB Use the parallel transport function of the MT352 in USB demodulator of the Dual Digital board. Signed-off-by: Chris Pascoe Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9ead9bd1079b4b7ba45589f6495e79ec50237aed tree 7af1e5facd110abf8a582a7123951543953464a5 parent 9f38724a6f9a436ce25cb0dfceea4a615ee44fb6 author Oliver Endriss Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:52:10 -0200 V4L/DVB (3307): Support for Galaxis DVB-S rev1.3 support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004) Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 9f38724a6f9a436ce25cb0dfceea4a615ee44fb6 tree e3f04f9cab42d8b20256ab655ba1979da599afa4 parent 0dfd812d4b2afc797310943b451608d347854e76 author Markus Rechberger Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:51:36 -0200 V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep fixed i2c return value, conversion mdelay to msleep Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 0dfd812d4b2afc797310943b451608d347854e76 tree d9ef7a4cc48a9252ddecdb802cc491f9a26c70eb parent a77a922fcc56fe44fd8f65c041a52ff48474fafe author Hans Verkuil Tue, 07 Feb 2006 06:45:34 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:47:49 -0200 V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio. South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio chips need this information in order to set the correct audio processing registers. Acked-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a77a922fcc56fe44fd8f65c041a52ff48474fafe tree 53ccba90e32f6d7fa3b109aa3752fb37c23bc743 parent 815a3caf36def2297ba49a2e3d485c432e21ddec author Marco Manenti Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:46:19 -0200 V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based) add IR support to KWorld DVB-T (cx22702-based) Signed-off-by: Marco Manenti Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 815a3caf36def2297ba49a2e3d485c432e21ddec tree 6919a47c77e0611da74874c6152d8ac707accc9c parent ac2523014234004413c252e1aa9c12774b7a502d author Manu Abraham Tue, 07 Feb 2006 06:38:45 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:42:49 -0200 V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect With DVB drivers enabled snd_87x (ALSA) don't detect. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit ac2523014234004413c252e1aa9c12774b7a502d tree c11991b0b6d0a0380ea604f9a137ebceb2e7d1ca parent 1b0bb68d30b27b067fc654a0668d02c5bfc653a2 author Markus Rechberger Tue, 07 Feb 2006 06:25:42 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:36:49 -0200 V4L/DVB (3281): Added signal detection support to tvp5150 - added signal detection support to tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 1b0bb68d30b27b067fc654a0668d02c5bfc653a2 tree 4d57b8fc9a2bec0cc79dfef7cd3bbbe780dcc6e0 parent 36377a19a00202153c72b9496ec0609c9aad0ec9 author Marcin Rudowski Mon, 06 Feb 2006 09:15:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:30:17 -0200 V4L/DVB (3266): Fix NICAM buzz on analog sound Apparently, having the number of lines fixed at 4 reduces (or even kills) the buzz found in NICAM stereo with analog sound. Signed-off-by: Marcin Rudowski Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 36377a19a00202153c72b9496ec0609c9aad0ec9 tree 63d0ca13b7b235b6a64f4ecfcad658db27c481f9 parent 8d58d773b745950ac912e028b3c81f4902fbf91d author Michael Krufky Tue, 07 Feb 2006 06:25:47 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:27:53 -0200 V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352 - rename DVB_USB_CXUSB one-liner description to: Conexant USB2.0 hybrid reference design support. - with the addition of bluebird support to dvb-usb-cxusb, it now depends on lgdt330x and mt352 modules. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6967bd81d883ed325fd58840ee02a8da60458e6b tree 56a541a014fada6a9d657243a5de940587cdd2a4 parent 99bb25793e4bb8e9b633ea001dd7312b5967385a author Paolo 'Blaisorblade' Giarrusso Fri, 03 Feb 2006 01:45:21 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:53:12 -0500 [PATCH] Kbuild menu - hide empty NETDEVICES menu when NET is disabled Make the whole netdevices menu depend on NET, rather than having an empty submenu when networking is disabled. Indeed, almost the whole body of the menu was surrounded by if NETDEVICES, and what was outside depended on NETCONSOLE which is inside the menu. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 99bb25793e4bb8e9b633ea001dd7312b5967385a tree f394c1a36b88781ae69260ef4d48852979cd529e parent 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 author Andrew Morton Fri, 03 Feb 2006 01:45:20 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:53:11 -0500 [PATCH] uli526x warning fix drivers/net/tulip/uli526x.c: In function `__check_mode': drivers/net/tulip/uli526x.c:1693: warning: return from incompatible pointer type Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 tree 73e0e3b3fe0e381ec9f7e511dcd99326fe4d89f6 parent cc8c6e379ca30a18cb18553abeb15fe19120bf7b parent 371e8bc2af11b0571982390932bc07b5ffed9aba author Jeff Garzik Tue, 07 Feb 2006 02:05:17 -0500 committer Jeff Garzik Tue, 07 Feb 2006 02:05:17 -0500 Merge branch 'for-jeff' of git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6 commit cc8c6e379ca30a18cb18553abeb15fe19120bf7b tree b3b43e6496a364bba9121036c97e02af4b9cb8d2 parent 3e710bfa6d92e777050f19a52b4fbbb7eeffb3a0 author Kumar Gala Wed, 01 Feb 2006 15:18:03 -0600 committer Jeff Garzik Tue, 07 Feb 2006 02:04:33 -0500 [PATCH] gianfar: Fix sparse warnings Fixed sparse warnings mainly due to lack of __iomem. Signed-off-by: Jeff Garzik commit 3e710bfa6d92e777050f19a52b4fbbb7eeffb3a0 tree 849b5a705ec79ffab2be7acd59b463c325f8319d parent 3418db7cfacffcf120996b10a785b7315bf0df82 author Alexey Dobriyan Wed, 01 Feb 2006 00:54:41 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:03:29 -0500 [PATCH] dscc4: fix dscc4_init_dummy_skb check It returns a pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3418db7cfacffcf120996b10a785b7315bf0df82 tree 4a4c2c8fb9bd622c96fd15e4128ecb494247f578 parent a0de3adf8f4e5618c5bd62db08ed293042c8e454 author Luiz Fernando Capitulino Wed, 01 Feb 2006 00:54:34 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:03:29 -0500 [PATCH] bonding: Sparse warnings fix drivers/net/bonding/bond_sysfs.c:263:27: warning: Using plain integer as NULL pointer drivers/net/bonding/bond_sysfs.c:998:26: warning: Using plain integer as NULL pointer drivers/net/bonding/bond_sysfs.c:1126:26: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a0de3adf8f4e5618c5bd62db08ed293042c8e454 tree 1cdca0a48abfb24d07919bbeb8db5c3a592f6e89 parent fa8d3549b591b6da943bad2928f994de07eaecef author Jay Vosburgh Mon, 30 Jan 2006 15:40:59 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:03:28 -0500 [PATCH] bonding: allow bond to use TSO if slaves support it Add NETIF_F_TSO (NETIF_F_UFO) to BOND_INTERSECT_FEATURES so that it can be used by a bonding device iff all its slave devices support TSO (UFO). Signed-off-by: Arthur Kepner Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit fa8d3549b591b6da943bad2928f994de07eaecef tree 0d12dcf9228a4cd9523e4e60358a8b1b01292255 parent 4d52b48b43d0d1d5959fa722ee0046e3542e5e1b author Stephen Hemminger Mon, 30 Jan 2006 11:38:01 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:36 -0500 [PATCH] sky2: version 0.15 update Increase version, and get rid of out-dated comment. Speed setting has worked for quite a while. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 4d52b48b43d0d1d5959fa722ee0046e3542e5e1b tree ce8c99092e5039e2827d072a0ecbb5013f16f8e0 parent db992c970dcfbbf24e6a681e66d22ddda62452c4 author Stephen Hemminger Mon, 30 Jan 2006 11:38:00 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:36 -0500 [PATCH] sky2: support msi interrupt (revised) This hardware supports Message Signaled interrupts. When setting up, use software interrupt to check for bad hardware. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit db992c970dcfbbf24e6a681e66d22ddda62452c4 tree 1a3186762cf68745e346bb55f9453bcdf3753602 parent f9a66c7f5fa2262656a1a38ae9b57a2a89980f36 author Stephen Hemminger Mon, 30 Jan 2006 11:37:59 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:36 -0500 [PATCH] sky2: add irq to entropy pool The sky2 interrupt can be used to add entropy. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f9a66c7f5fa2262656a1a38ae9b57a2a89980f36 tree 84c9b58afbeaabc9d8468b6783d7bc827f7eeeae parent a8ab1ec0c3ef4ce2033abe3441d032fe1490a71a author Stephen Hemminger Mon, 30 Jan 2006 11:37:58 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:35 -0500 [PATCH] sky2: clear irq race Move the interrupt clear to before processing, this avoids a possible races with status delaying. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a8ab1ec0c3ef4ce2033abe3441d032fe1490a71a tree 0f21945a91501921dfed6f891e05c2fe70b1865c parent d28d4870279c5d184804b6ac1775b130972ffecd author Stephen Hemminger Mon, 30 Jan 2006 11:37:57 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:35 -0500 [PATCH] sky2: set mac address fix Using the sky2 driver with bonding can result in oopses related to reinitializing the PHY when the MAC address is changed (which bonding is wont to do). This patch changes sky2_set_mac_address to take less drastic measures. This is analagous to the skge patch here: http://lkml.org/lkml/2005/9/29/399 which fixed the issue here: http://bugzilla.kernel.org/show_bug.cgi?id=5271 Signed-off-by: John W. Linville Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d28d4870279c5d184804b6ac1775b130972ffecd tree 5d90ca3cb1dc15b3131ad519ecf4ebba01b9fc97 parent 2d42d21f11c20b94ea0222637e20e2630845afe4 author Stephen Hemminger Mon, 30 Jan 2006 11:37:56 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:35 -0500 [PATCH] sky2: ethtool rx_coalesce settings fix This fixes setting rx_coalesce_usecs_irq via ethtool in sky2. The write was directed to the wrong register. Signed-off-by: Stephen Hemminger Signed-off-by: Carl-Daniel Hailfinger Signed-off-by: Jeff Garzik commit 2d42d21f11c20b94ea0222637e20e2630845afe4 tree ed740ea45977801bb9017291449a8c8fa57bb4fe parent 08c06d8a9063c81f6a21c9f275aa1ee49d4bf380 author Stephen Hemminger Mon, 30 Jan 2006 11:37:55 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:35 -0500 [PATCH] sky2: pci config space checking There were bugs in mmconfig access to PCI space, up to and include 2.6.16-rc1. These prevented the sky2 driver from being able to clear PCI express errors. This patch makes the driver check (during probe), for errors in PCI config access and fail. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 08c06d8a9063c81f6a21c9f275aa1ee49d4bf380 tree 342a3ee4bee534bdf3a836a85c08d8d853bd1255 parent d561514f616504c0962f22d51d165f7b6e1bae1b author Stephen Hemminger Mon, 30 Jan 2006 11:37:54 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:00:35 -0500 [PATCH] sky2: power management fix Fix suspend/resume for sky2. The status ring was getting reallocated and a bunch of other mistakes. Also, check return from power_state on resume. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d561514f616504c0962f22d51d165f7b6e1bae1b tree fb79eab1de9a8e97eb2c02adea5f5dac0a1e711b parent 471ef051bc3b980e2f38cbe9112eac7bfe4d6633 author Lennert Buytenhek Sun, 29 Jan 2006 20:33:52 +0100 committer Jeff Garzik Tue, 07 Feb 2006 01:58:36 -0500 [PATCH] sis900: remove cfgpmcsr I/O space register define sis900 defines 'cfgpmcsr' as an I/O space register, but CFGPMCSR is in fact a config space register, and there is no register at offset 0x44 in I/O space, so delete the enum. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 471ef051bc3b980e2f38cbe9112eac7bfe4d6633 tree 05f8ab666ba3c3ff7964b8a6551707977ada9177 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Jesse Brandeburg Tue, 07 Feb 2006 01:50:45 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:50:45 -0500 e100: remove init_hw call to fix panic e100 seems to have had a long standing bug where e100_init_hw was being called when it should not have been. This caused a panic due to recent changes that rely on correct set up in the driver, and more robust error paths. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Garzik commit e2f5a3c1bec1cf3e7c76c080fd7f21476f05008a tree fb4112db5b2528b6a04fc6be9665213abc004042 parent 6cb6524d90b6e5497e79a1474bdb2f26755d1c02 author Paul Mackerras Tue, 07 Feb 2006 13:55:30 +1100 committer Paul Mackerras Tue, 07 Feb 2006 13:55:30 +1100 powerpc/64: Fix bug in setting floating-point exception mode When loading up the FPU, we were using a 'ld' (load doubleword) instruction to get the FP exception mode from the thread_struct, but it's only an int field. This changes the ld to lwz (load word and zero-extend). Signed-off-by: Paul Mackerras commit c03296a868ae7c91aa2d8b372184763b18f16d7a tree 57ff0b44a412b78fe598a49cc28b3cebf51f1154 parent e3f749c4af69c4344d89f11e2293e3790eb4eaca parent 913e4a75572354995b330f57082d9a86250cd75f author Linus Torvalds Mon, 06 Feb 2006 15:46:39 -0800 committer Linus Torvalds Mon, 06 Feb 2006 15:46:39 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 6cb6524d90b6e5497e79a1474bdb2f26755d1c02 tree fd475ac8f57a6bd39c976056324d1bc79d11b4c9 parent 837e9594fc3cb9a06bddd7ecf66151334a2e13d2 parent 410c05427a69f53851637ccb85c2212131409fbd author Paul Mackerras Tue, 07 Feb 2006 10:43:36 +1100 committer Paul Mackerras Tue, 07 Feb 2006 10:43:36 +1100 Merge ../linux-2.6 commit 276e0c75f1e9a8b34b7b19e8fe188be958d420dd tree f44e4dbc0da80ab6d732a8715f0be3ffbcdff79b parent d87499ed1a3ba0f6dbcff8d91c96ef132c115d08 author Vincent Hanquez Wed, 25 Jan 2006 14:49:13 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:18 -0800 [PATCH] debugfs: trivial comment fix Fix trivial type mixup in the debugfs function comments. Signed-off-by: Vincent Hanquez Signed-off-by: Greg Kroah-Hartman commit d87499ed1a3ba0f6dbcff8d91c96ef132c115d08 tree 5baebb0e2b8b821940acc943227b18782c342bac parent 9c1da3cb46316e40bac766ce45556dc4fd8df3ca author Benjamin Herrenschmidt Wed, 25 Jan 2006 10:21:32 +1100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:18 -0800 [PATCH] Fix uevent buffer overflow in input layer The buffer used for kobject uevent is too small for some of the events generated by the input layer. Bump it to 2k. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 9c1da3cb46316e40bac766ce45556dc4fd8df3ca tree d2ab578f2601383f39d316dfca0f00d12da21dba parent 022f7b07bf2b384ece7fbd7edb90e54cd78db252 author David Brownell Sat, 21 Jan 2006 13:21:43 -0800 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] SPI: spi_butterfly, restore lost deltas This resolves some minor version skew glitches that accumulated for the AVR Butterfly adapter driver, which caused among other things the existence of a duplicate Kconfig entry. Most of it boils down to comment updates, but in one case it removes some now-superfluous code that would be better if not copied into other controller-level drivers. Signed-off-by: David Brownell commit 022f7b07bf2b384ece7fbd7edb90e54cd78db252 tree 7eae52ca103253babb194b8bae92c15340d82c0b parent 68f5f996347dc2724a0dd511683643a2b6912380 author Pavel Machek Sun, 22 Jan 2006 22:38:52 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] Fix Userspace interface breakage in power/state Prevent passing invalid values down to the drivers. Signed-off-by: Pavel Machek Signed-off-by: Greg Kroah-Hartman commit 68f5f996347dc2724a0dd511683643a2b6912380 tree 1a1131ef78c81129791c2c3b3cf365c7e35283aa parent 0650fd5824e07570f0c43980b81bb23ae917f1d7 author Greg Kroah-Hartman Fri, 20 Jan 2006 14:08:59 -0800 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] IB: fix up major/minor sysfs interface for IB core Current IB code doesn't work with userspace programs that listen only to the kernel event netlink socket as it is trying to create its own dev interface. This small patch fixes this problem, and removes some unneeded code as the driver core handles this logic for you automatically. Acked-by: Sean Hefty Signed-off-by: Greg Kroah-Hartman commit 0650fd5824e07570f0c43980b81bb23ae917f1d7 tree 97f586939d119045900e84808e5d1b1d2342c08c parent f67d115fe48f494d4b7f4f2024217fe52578915f author Greg Kroah-Hartman Fri, 20 Jan 2006 14:08:59 -0800 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] DRM: fix up classdev interface for drm core Current drm code doesn't work with userspace programs that listen only to the kernel event netlink socket as it is trying to create its own dev interface. Turns out lots of code can just be deleted as the driver core can do all of this work automatically for you. Signed-off-by: Greg Kroah-Hartman commit f67d115fe48f494d4b7f4f2024217fe52578915f tree 80c9ef160714e121b582a901d00bf792373780d3 parent e485981e52b476c1b6a00873c2f8b75b3168718f author Adrian Bunk Thu, 19 Jan 2006 17:30:17 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] drivers/base/: proper prototypes This patch contains the following changes: - move prototypes to base.h - sys.c should #include "base.h" for getting the prototype of it's global function system_bus_init() Note that hidden in this patch there's a bugfix: Caller and callee disagreed regarding the return type of sysdev_shutdown(). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit e485981e52b476c1b6a00873c2f8b75b3168718f tree 37c0f979c90bbee395ff26d65a6ce3651cdcf423 parent b365b3daf2a9e2a8b002ea9fef877af1c71513fd author Russell King Sat, 14 Jan 2006 20:01:02 +0000 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] Fix compiler warning in driver core for CONFIG_HOTPLUG=N FYI, while running a build test, I found: drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used Looks like these two attributes and supporting functions want to be #ifdef HOTPLUG'd Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b365b3daf2a9e2a8b002ea9fef877af1c71513fd tree dcd673d830b61ee37ab433af60c0f81ffaa86779 parent c171fef5c8566cf5f57877e7832fa696ecdf5228 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 12 Jan 2006 20:02:00 -0500 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] kobject: don't oops on null kobject.name kobject_get_path() will oops if one of the component names is NULL. Fix that by returning NULL instead of oopsing. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Greg Kroah-Hartman commit c171fef5c8566cf5f57877e7832fa696ecdf5228 tree c599efed9172ce2f31835d4df01936063fad3a77 parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author Greg Kroah-Hartman Fri, 20 Jan 2006 14:08:59 -0800 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:17:17 -0800 [PATCH] kobject_add() must have a valid name in order to succeed. So we might as well check to verify this, and let the user know that something is wrong if they didn't do it correctly, instead of oopsing later on in kobject_get_name() or somewhere else. Signed-off-by: Greg Kroah-Hartman commit c5e3fbf22ccba0879b174fab7ec0e322b1266c2c tree 37529cd21d0f546a4e5578a554cac0371dbf4e85 parent e53004e20a58e9d28347e02adccb37a33e0d771a author Jean Delvare Wed, 18 Jan 2006 22:39:48 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] hwmon: Fix reboot on it87 driver load Only scan I2C address 0x2d. This is the default address and no IT87xxF chip was ever seen on I2C at a different address. These chips are better accessed through their ISA interface anyway. This fixes bug #5889, although it doesn't address the whole class of problems. We'd need the ability to blacklist arbitrary I2C addresses on systems known to contain I2C devices which behave badly when probed. Plan the I2C interface for removal as well. If nobody complains within a year, it will confirm my impression that the I2C interface isn't actually needed by anyone. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e53004e20a58e9d28347e02adccb37a33e0d771a tree fb9f6c25ad12d7dda91f09ac28b901ea3fe76955 parent 5db3d3da93fb93875c719239892ac526cfd2d584 author Jean Delvare Mon, 09 Jan 2006 23:26:14 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] hwmon: New f71805f driver This is my f71805f hardware monitoring driver ported from lm_sensors to Linux 2.6. This new driver differs from the other hardware monitoring drivers in that it is implemented as a platform driver. This might not be optimal yet (we would probably need a generic infrastructure and bus type for Super-I/O logical devices) but it is certainly much better than the i2c-isa solution. Note that this driver requires lm_sensors CVS. I hope to get it released as 2.10.0 soon. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5db3d3da93fb93875c719239892ac526cfd2d584 tree 07af0954704006b2c0e77fe2840c3432bc34a971 parent 7e3d7db52469f6bcfbfd2d3d00dd17da573facd9 author Jean Delvare Mon, 09 Jan 2006 23:32:57 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] hwmon: Add f71805f documentation Add some documentation for the new f71805f driver. This is almost the same help that was present in lm_sensors, with a few minor layout fixes. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7e3d7db52469f6bcfbfd2d3d00dd17da573facd9 tree c6090fda544c24ddf169177ee4596121b8bd10a6 parent 8104a9a9c9ad8c849d931c46ef6841b23d1fc729 author Tobias Klauser Mon, 09 Jan 2006 23:19:51 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] i2c: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Some trailing whitespaces are also removed. Signed-off-by: Tobias Klauser Signed-off-by: Jean Delvare Cc: Russell King Signed-off-by: Greg Kroah-Hartman commit 8104a9a9c9ad8c849d931c46ef6841b23d1fc729 tree aa3eedb4db3ab3cb79a74208971f756b3ab99155 parent 0d0ab7fe4c009c40dc485731f9ad98e1d336ddae author Eric Sesterhenn Mon, 09 Jan 2006 23:09:57 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] i2c: Use module_param in i2c-algo-sibyte this patch changes MODULE_PARM usage to module_param in i2c-algo-sibyte.c Signed-off-by: Eric Sesterhenn Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0d0ab7fe4c009c40dc485731f9ad98e1d336ddae tree d459f9a5551643307c92a790969ea6a181cadc68 parent 806ba6409061ae49421319e3745026014abc49c2 author Jean Delvare Mon, 09 Jan 2006 23:07:05 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:15 -0800 [PATCH] hwmon: Inline w83792d register access functions Inline w83792d_{read,write}_value for better performance. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit 806ba6409061ae49421319e3745026014abc49c2 tree c23a62bb0d8367d38b3e75841d72881d882391c8 parent 413b64515079a4063776d81067f69cc41bdb34ad author Rudolf Marek Mon, 09 Jan 2006 22:46:14 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:14 -0800 [PATCH] i2c: Rename i2c-sis96x documentation file This patch just renames the documentation file to correct file name. i2c-sis69x -> i2c-sis96x. Signed-off-by: Rudolf Marek Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 413b64515079a4063776d81067f69cc41bdb34ad tree 1353d1b285b84963ad48abac3327a397cbc818d2 parent 21bbd691827e3610ef975a88863859381ac8d8e0 author Jean Delvare Mon, 09 Jan 2006 22:43:08 +0100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:14 -0800 [PATCH] hwmon: Fix negative temperature readings in lm77 driver Fix negative temperature readings in lm77 driver. Signed-off-by: Jean Delvare Acked-by: Michael Renzmann Signed-off-by: Greg Kroah-Hartman commit 21bbd691827e3610ef975a88863859381ac8d8e0 tree 3fc8283b25f55f4f216b4fc1bda64fd10335861e parent 8254fc4afcc81e69428c453cc216aa612c80e98b author Jean Delvare Mon, 09 Jan 2006 15:19:18 +1100 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:14 -0800 [PATCH] I2C: Resurrect i2c_smbus_write_i2c_block_data. Signed-off-by: Jean Delvare commit 8254fc4afcc81e69428c453cc216aa612c80e98b tree 812d22ca03a3fd1067136061c47d3c93e9be97fa parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author Jason Gaston Mon, 09 Jan 2006 10:58:08 -0800 committer Greg Kroah-Hartman Mon, 06 Feb 2006 12:02:14 -0800 [PATCH] i2c-i801: I2C patch for Intel ICH8 This patch adds the Intel ICH8 DID to the i2c-i801.c and Kconfig files for I2C support. Signed-off-by: Jason Gaston Signed-off-by: Greg Kroah-Hartman commit 9ed2ad8648eb974ee670045d41b5a51b763e3aa1 tree 80e98f48b6a7538d2b7d74f67c7ce3c5bab35ea6 parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author Chen, Kenneth W Tue, 31 Jan 2006 14:26:25 -0800 committer Tony Luck Mon, 06 Feb 2006 10:42:46 -0800 [IA64] add syscall entry for *at() Wire up the ia64 syscalls for *at() functions. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 913e4a75572354995b330f57082d9a86250cd75f tree d7652ef6b9bc0cf3e579deaf9483e5f61f03c20b parent 27ee6e0592c7d624836835dd8d2f0f74e9d289f6 author Russ Anderson Fri, 03 Feb 2006 14:47:15 -0600 committer Tony Luck Mon, 06 Feb 2006 09:28:10 -0800 [IA64-SGI] Shub2 BTE address fix After converting the cpu physical address to shub2 physical addressing, the address was run through TO_PHYS() which clobbered a high node offset bit causing the BTE to fail on shub2 nodes with large memory. This fix corrects that problem. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 27ee6e0592c7d624836835dd8d2f0f74e9d289f6 tree 55370cbbcade1e674d60175e143f1e3441ceebaf parent 7c6c66362941df847957766ad133ff5fde67579c parent 103ec0910d6b9401b7f72ba3ac71fed88306d2d0 author Tony Luck Mon, 06 Feb 2006 09:23:51 -0800 committer Tony Luck Mon, 06 Feb 2006 09:23:51 -0800 Pull sn-recursive-flags-for-select-builds into release branch commit fc3fba60f5d292a3b875e2498577fc35bd68b9da tree 09a020ee7bf4f02d8ce0f5e5d8ce331e792db707 parent b2faf597d93bdf5e2d12d93ea0815935a73f749e parent e3f749c4af69c4344d89f11e2293e3790eb4eaca author Mauro Carvalho Chehab Mon, 06 Feb 2006 14:35:35 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 14:35:35 -0200 Merge branch 'origin' commit b2faf597d93bdf5e2d12d93ea0815935a73f749e tree 1876616290ff282b8a0814e2429d23e0104f3701 parent 638e174688f58200d0deb7435093435e7d737b09 parent 410c05427a69f53851637ccb85c2212131409fbd author Mauro Carvalho Chehab Mon, 06 Feb 2006 10:43:13 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 10:43:13 -0200 Merge branch 'origin' commit e3f749c4af69c4344d89f11e2293e3790eb4eaca tree b418be396db3ec7486767b93239da208662017bb parent 410c05427a69f53851637ccb85c2212131409fbd author Herbert Xu Sun, 05 Feb 2006 20:23:33 -0800 committer David S. Miller Sun, 05 Feb 2006 20:23:33 -0800 [PPP]: Fixed hardware RX checksum handling When we pull the PPP protocol off the skb, we forgot to update the hardware RX checksum. This may lead to messages such as dsl0: hw csum failure. Similarly, we need to clear the hardware checksum flag when we use the existing packet to store the decompressed result. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 410c05427a69f53851637ccb85c2212131409fbd tree baaa6598d79f94decad1d29857b5fcbfaea20d97 parent 7a21ef6fe902ac0ad53b45af6851ae5ec3a64299 author Greg KH Sun, 05 Feb 2006 14:16:08 -0800 committer Linus Torvalds Sun, 05 Feb 2006 14:20:14 -0800 [PATCH] USB: Fix GPL markings on usb core functions. I thought we had fixed up all non-gpl USB drivers, and was wrong to do this. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 7a21ef6fe902ac0ad53b45af6851ae5ec3a64299 tree 1e8c690f6fb644c8ce8873c7907ef0ed934446df parent c265c46bbb8c53db0bd084261ab2996c6d74aebf author Linus Torvalds Sun, 05 Feb 2006 11:26:38 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:26:38 -0800 mm/slab.c (non-NUMA): Fix compile warning and clean up code The non-NUMA case would do an unmatched "free_alien_cache()" on an alien pointer that had never been allocated. It might not matter from a code generation standpoint (since in the non-NUMA case, the code doesn't actually _do_ anything), but it not only results in a compiler warning, it's really really ugly too. Fix the compiler warning by just having a matching dummy allocation. That also avoids an unnecessary #ifdef in the code. Signed-off-by: Linus Torvalds commit c265c46bbb8c53db0bd084261ab2996c6d74aebf tree 7eb8a877df7e2e89f6d907037becb55de740f21a parent 98bd0c07b60e029cf53eb76c027c27548dd66e9b parent 7f7ff6bf0279ccb3d56f2b07c4cc88327c932a80 author Linus Torvalds Sun, 05 Feb 2006 11:10:54 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:10:54 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 98bd0c07b60e029cf53eb76c027c27548dd66e9b tree 8542c44cc8d1f05a533fb82e04173549196f112d parent 5e375bc7d586e0df971734a5a5f1f080ffd89b68 parent 7918d212df31fb7ddfb317c5a8dccdcec647d754 author Linus Torvalds Sun, 05 Feb 2006 11:10:29 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:10:29 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 5e375bc7d586e0df971734a5a5f1f080ffd89b68 tree 274d5ac5c9bf0e157c67461bd0e609c495e7b2e4 parent 4be68a783d25b4dab0ef4077a4c6b13161a2d6e4 author Robb, Sam Sat, 04 Feb 2006 23:28:06 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:54 -0800 [PATCH] kconfig: detect if -lintl is needed when linking conf,mconf On a system where libintl.h is present, but the NLS functionality is supplied by a separate library instead of the system C library, an attempt to "make config" or "make menuconfig" will fail with link errors, ex: scripts/kconfig/mconf.o:mconf.c:(.text+0xf63): undefined reference to `_libintl_gettext' This patch attempts to correct the problem by detecting whether or not NLS support requires linking with libintl. Signed-off-by: Samuel J Robb Cc: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4be68a783d25b4dab0ef4077a4c6b13161a2d6e4 tree af7be4624c765688ce95d65a900c0fde87416958 parent 911b0ad25d167fede6aadc05065b414ec7ab5086 author Adrian Bunk Sat, 04 Feb 2006 23:28:05 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:54 -0800 [PATCH] i386: HIGHMEM64G must depend on X86_CMPXCHG64 Due to the usage of set_64bit in include/asm-i386/pgtable-3level.h, HIGHMEM64G must depend on X86_CMPXCHG64. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 911b0ad25d167fede6aadc05065b414ec7ab5086 tree 8e85fd8a70a75aa8b2d18b89b2ebd8fc843c361c parent b53e8f68e07fb8f3ba9ab1812c9c186c09a50c16 author Takashi Iwai Sat, 04 Feb 2006 23:28:05 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:54 -0800 [PATCH] Fix "value computed is not used" compile warnings with gcc-4.1 Fix gcc4.1 compile warnings "value computed is not used" with set_current_state() and set_task_state() on i386/SMP and x86-64. Signed-off-by: Takashi Iwai Cc: Nick Piggin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b53e8f68e07fb8f3ba9ab1812c9c186c09a50c16 tree 5227b7093fd0a0e319c086ccf93917331e076148 parent fe38d8553ccb5237bf0eddda9e94fbca7288551c author Chuck Ebbert <76306.1226@compuserve.com> Sat, 04 Feb 2006 23:28:04 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] i386: print kernel version in register dumps Show first field of kernel version in register dumps like x86_64 does. Changes output from e.g.: (2.6.16-rc1) to: (2.6.16-rc1 #12) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe38d8553ccb5237bf0eddda9e94fbca7288551c tree 4ebdcf473fcf7e429536e86346c258514671f044 parent 170aa3d02614ae621d54af10555e2f48977ae8de author Chuck Ebbert <76306.1226@compuserve.com> Sat, 04 Feb 2006 23:28:03 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] i386 cpu hotplug: don't access freed memory i386 CPU init code accesses freed init memory when booting a newly-started processor after CPU hotplug. The cpu_devs array is searched to find the vendor and it contains pointers to freed data. Fix that by: 1. Zeroing entries for freed vendor data after bootup. 2. Changing Transmeta, NSC and UMC to all __init[data]. 3. Printing a warning (once only) and setting this_cpu to a safe default when the vendor is not found. This does not change behavior for AMD systems. They were broken already but no error was reported. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 170aa3d02614ae621d54af10555e2f48977ae8de tree c1a93a5c95ccc2225639a7c878f6c16b7c317924 parent f55eab822b93864ef4eef3bd7eadac2a727c914b author Ulrich Drepper Sat, 04 Feb 2006 23:28:02 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] namei.c: unlock missing in error case Signed-off-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f55eab822b93864ef4eef3bd7eadac2a727c914b tree ab5103610ecc7699a7307c157c517f2ad790e3a7 parent 4484ebf12bdb0ebcdc6e8951243cbab3d7f6f4c1 author Trond Myklebust Sat, 04 Feb 2006 23:28:01 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] VFS: Ensure LOOKUP_CONTINUE flag is preserved by link_path_walk() When walking a path, the LOOKUP_CONTINUE flag is used by some filesystems (for instance NFS) in order to determine whether or not it is looking up the last component of the path. It this is the case, it may have to look at the intent information in order to perform various tasks such as atomic open. A problem currently occurs when link_path_walk() hits a symlink. In this case LOOKUP_CONTINUE may be cleared prematurely when we hit the end of the path passed by __vfs_follow_link() (i.e. the end of the symlink path) rather than when we hit the end of the path passed by the user. The solution is to have link_path_walk() clear LOOKUP_CONTINUE if and only if that flag was unset when we entered the function. Signed-off-by: Trond Myklebust Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4484ebf12bdb0ebcdc6e8951243cbab3d7f6f4c1 tree 9feabea0bac1e6401742bc95bf381e36d2651fbc parent ca3b9b91735316f0ec7f01976f85842e0bfe5c6e author Ravikiran G Thirumalai Sat, 04 Feb 2006 23:27:59 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] NUMA slab locking fixes: fix cpu down and up locking This fixes locking and bugs in cpu_down and cpu_up paths of the NUMA slab allocator. Sonny Rao reported problems sometime back on POWER5 boxes, when the last cpu on the nodes were being offlined. We could not reproduce the same on x86_64 because the cpumask (node_to_cpumask) was not being updated on cpu down. Since that issue is now fixed, we can reproduce Sonny's problems on x86_64 NUMA, and here is the fix. The problem earlier was on CPU_DOWN, if it was the last cpu on the node to go down, the array_caches (shared, alien) and the kmem_list3 of the node were being freed (kfree) with the kmem_list3 lock held. If the l3 or the array_caches were to come from the same cache being cleared, we hit on badness. This patch cleans up the locking in cpu_up and cpu_down path. We cannot really free l3 on cpu down because, there is no node offlining yet and even though a cpu is not yet up, node local memory can be allocated for it. So l3s are usually allocated at keme_cache_create and destroyed at kmem_cache_destroy. Hence, we don't need cachep->spinlock protection to get to the cachep->nodelist[nodeid] either. Patch survived onlining and offlining on a 4 core 2 node Tyan box with a 4 dbench process running all the time. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca3b9b91735316f0ec7f01976f85842e0bfe5c6e tree fc58744ab0371adb5942462ceab3fa70d0ef9375 parent 2e1217cf96b54d3b2d0162930608159e73507fbf author Ravikiran G Thirumalai Sat, 04 Feb 2006 23:27:58 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] NUMA slab locking fixes: irq disabling from cahep->spinlock to l3 lock Earlier, we had to disable on chip interrupts while taking the cachep->spinlock because, at cache_grow, on every addition of a slab to a slab cache, we incremented colour_next which was protected by the cachep->spinlock, and cache_grow could occur at interrupt context. Since, now we protect the per-node colour_next with the node's list_lock, we do not need to disable on chip interrupts while taking the per-cache spinlock, but we just need to disable interrupts when taking the per-node kmem_list3 list_lock. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e1217cf96b54d3b2d0162930608159e73507fbf tree ac4eba17cc9cec38e003a4bbabb5dae63934f4ac parent 64b4a954b03a1153fb8ae38d6ffbd991e01a1e80 author Ravikiran G Thirumalai Sat, 04 Feb 2006 23:27:56 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] NUMA slab locking fixes: move color_next to l3 colour_next is used as an index to add a colouring offset to a new slab in the cache (colour_off * colour_next). Now with the NUMA aware slab allocator, it makes sense to colour slabs added on the same node sequentially with colour_next. This patch moves the colouring index "colour_next" per-node by placing it on kmem_list3 rather than kmem_cache. This also helps simplify locking for CPU up and down paths. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64b4a954b03a1153fb8ae38d6ffbd991e01a1e80 tree 0436a6f23e46d9fcb6caf5b1216fe212be3fbc3f parent fe1dcbc4f311c2e6c23b33c0fa8572461618ab3e author Christoph Lameter Sat, 04 Feb 2006 23:27:55 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] hugetlb: add comment explaining reasons for Bus Errors I just spent some time researching a Bus Error. Turns out that the huge page fault handler can return VM_FAULT_SIGBUS for various conditions where no huge page is available. Add a note explaining the reasoning in the source. Signed-off-by: Christoph Lameter Acked-by: William Lee Irwin III Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe1dcbc4f311c2e6c23b33c0fa8572461618ab3e tree 189e935ff275bba20629e46e2832bd523acf6cff parent bc5e483da61eb5ab8d24b4a919fb512e5886d02c author Andrew Morton Sat, 04 Feb 2006 23:27:54 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:53 -0800 [PATCH] jbd: fix transaction batching Ben points out that: When writing files out using O_SYNC, jbd's 1 jiffy delay results in a significant drop in throughput as the disk sits idle. The patch below results in a 4-5x performance improvement (from 6.5MB/s to ~24-30MB/s on my IDE test box) when writing out files using O_SYNC. So optimise the batching code by omitting it entirely if the process which is doing a sync write is the same as the one which did the most recent sync write. If that's true, we're unlikely to get any other processes joining the transaction. (Has been in -mm for ages - it took me a long time to get on to performance testing it) Numbers, on write-cache-disabled IDE: /usr/bin/time -p synctest -n 10 -uf -t 1 -p 1 dir-name Unpatched: 40 seconds Patched: 35 seconds Batching disabled: 35 seconds This is the problematic single-process-doing-fsync case. With multiple fsyncing processes the numbers are AFACIT unaltered by the patch. Aside: performance testing and instrumentation shows that the transaction batching almost doesn't help (testing with synctest -n 1 -uf -t 100 -p 10 dir-name on non-writeback-caching IDE). This is because by the time one process is running a synchronous commit, a bunch of other processes already have a transaction handle open, so they're all going to batch into the same transaction anyway. The batching seems to offer maybe 5-10% speedup with this workload, but I'm pretty sure it was more important than that when it was first developed 4-odd years ago... Cc: "Stephen C. Tweedie" Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc5e483da61eb5ab8d24b4a919fb512e5886d02c tree 06ab71794171e9839f3e50674a115d017b35b8ab parent 165a2c1d514892ae917cdf80be9e5269015c1034 author Andrew Morton Sat, 04 Feb 2006 23:27:51 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] reiserfs_get_acl() build fix With CONFIG_REISERFS_FS_XATTR=y, CONFIG_REISERFS_FS_POSIX_ACL=n: fs/reiserfs/xattr.c: In function `reiserfs_check_acl': fs/reiserfs/xattr.c:1330: called object is not a function Cc: Chris Mason Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165a2c1d514892ae917cdf80be9e5269015c1034 tree c092522208b8a8dad09fd9ad4cd116edb6ce6cbe parent c2b507fda390b8ae90deba9b8cdc3fe727482193 author Hugh Dickins Sat, 04 Feb 2006 23:27:51 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] x86: fix stack trace facility level dump_stack() on page allocation failure presently has an irritating habit of shouting just "====" at everyone: please stop it. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2b507fda390b8ae90deba9b8cdc3fe727482193 tree 6c839e9682fd1610dc6a9fb7cca9df2899ff05ca parent 5c0d5d262aa4c5e93f9f5de298cf25d6d8b558c4 author Stephen Smalley Sat, 04 Feb 2006 23:27:50 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] selinux: require SECURITY_NETWORK Make SELinux depend on SECURITY_NETWORK (which depends on SECURITY), as it requires the socket hooks for proper operation even in the local case. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c0d5d262aa4c5e93f9f5de298cf25d6d8b558c4 tree 9ec671c1b012effe22726a6a5d5a4e20d2dcfc33 parent 5c55ac9bbca22ee134408f83de5f2bda3b1b2a53 author Dave Jones Sat, 04 Feb 2006 23:27:49 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] missing license tag in intermodule It may suck something awful, but it shouldn't taint the kernel. Signed-off-by: Dave Jones Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c55ac9bbca22ee134408f83de5f2bda3b1b2a53 tree 31b0cdd704204a9c02c6c7e9cc3e6035526d76f5 parent e1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc author Phillip Susi Sat, 04 Feb 2006 23:27:48 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] pktcdvd: Allow larger packets The pktcdvd driver uses a compile time macro constant to define the maximum supported packet length. I changed this from 32 sectors to 128 sectors because that allows over 100 MB of additional usable space on a 700 MB cdrw, and increases throughput. Note that you need a modified cdrwtool program that can format a CDRW disc with larger packets to benefit from this change. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc tree 22816d5b1979961ec60507e8b6783a02c7fdb283 parent b566ccefd7814e4fa403de81aea299bdc11ceed5 author Peter Osterlund Sat, 04 Feb 2006 23:27:47 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] pktcdvd: Don't waste kernel memory Allocate memory for read-gathering at open time, when it is known just how much memory is needed. This avoids wasting kernel memory when the real packet size is smaller than the maximum packet size supported by the driver. This is always the case when using DVD discs. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b566ccefd7814e4fa403de81aea299bdc11ceed5 tree 1e18f19a677562fa28a2dadb3a0d0f644db7c8f0 parent 11edefd8c828961686a2ea0093da0e19b3f5a3bf author Adrian Bunk Sat, 04 Feb 2006 23:27:45 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] Let CDROM_PKTCDVD_WCACHE depend on EXPERIMENTAL Unless the help text is outdated, this seems to be logical. Signed-off-by: Adrian Bunk Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11edefd8c828961686a2ea0093da0e19b3f5a3bf tree 0d9222240cf29b5da012a8b53373d27a3d4015a8 parent a460ad62260def15c42130de253d6cfc32528a2f author Peter Osterlund Sat, 04 Feb 2006 23:27:45 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] pktcdvd: remove version string The version information is not useful for a driver that is maintained in Linus' kernel tree. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a460ad62260def15c42130de253d6cfc32528a2f tree 6fd5b90db456ae6a333a224b8c1c975474bb3c27 parent bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4 author Phillip Susi Sat, 04 Feb 2006 23:27:44 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:52 -0800 [PATCH] pktcdvd: Fix overflow for discs with large packets The pktcdvd driver was using an 8 bit field to store the packet length obtained from the disc track info. This causes it to overflow packet length values of 128KB or more. I changed the field to 32 bits to fix this. The pktcdvd driver defaulted to its maximum allowed packet length when it detected a 0 in the track info field. I changed this to fail the operation and refuse to access the media. This seems more sane than attempting to access it with a value that almost certainly will not work. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4 tree 0433ff1a1d417c29f94f05cb6ed83fca32eb7a62 parent 62cfe7efc4e6ba44b0903c53f09d37de59160afa author Chuck Ebbert <76306.1226@compuserve.com> Sat, 04 Feb 2006 23:27:42 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] sched: only print migration_cost once per boot migration_cost prints after every CPU hotplug event. Make it print only once at boot. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62cfe7efc4e6ba44b0903c53f09d37de59160afa tree 20cd9287e5acf9d057d1b0784df8514bdec3da90 parent 7128ec2a747d7a5f3c764c37bef17081ccc2374c author Stephen Smalley Sat, 04 Feb 2006 23:27:42 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] MAINTAINERS/CREDITS: Update SELinux contact info Update my contact info. Please apply. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7128ec2a747d7a5f3c764c37bef17081ccc2374c tree 10781a63d46811789e1cd26964f1d0a9eb963ce2 parent e22bec266cd6f540da2a61db216914c3473135cc author Miklos Szeredi Sat, 04 Feb 2006 23:27:40 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] fuse: fix request_end() vs fuse_reset_request() race The last fix for this function in fact opened up a much more often triggering race. It was uncommented tricky code, that was buggy. Add comment, make it less tricky and fix bug. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e22bec266cd6f540da2a61db216914c3473135cc tree 9b84d8ecefa37a63929b34af78ca1b344eaeab49 parent 238e7db9357bfe1ce3d6f7ac1e60e595e9d46b7b author Markus Lidel Sat, 04 Feb 2006 23:27:39 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] Fix i2o_scsi oops on abort Fix http://bugzilla.kernel.org/show_bug.cgi?id=5923 When a scsi command failed, an oops would result. Back-to-back SMART queries would make the Seagate drives unhappy. The second SMART query would timeout, and the command would be aborted. Acked-by: Markus Lidel Cc: Kenny Simpson Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 238e7db9357bfe1ce3d6f7ac1e60e595e9d46b7b tree 3688c8145e4bfa61a387137dafc966470569d2b8 parent 9a7a67af8bb02106f0fb01dd9d237332f874be9a author Tejun Heo Sat, 04 Feb 2006 23:27:38 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] block: request_queue->ordcolor must not be flipped on SOFTBARRIER q->ordcolor must not be flipped on SOFTBARRIER. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a7a67af8bb02106f0fb01dd9d237332f874be9a tree 6ad56122d38d118e6d53caa94a60037291294a25 parent 88a2a4ac6b671a4b0dd5d2d762418904c05f4104 author Jens Axboe Sat, 04 Feb 2006 23:27:38 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] fix ordering on requeued request drainage Previously, if a fs request which was being drained failed and got requeued, blk_do_ordered() didn't allow it to be reissued, which causes queue stall. This patch makes blk_do_ordered() use the sequence of each request to determine whether a request can be issued or not. This fixes the bug and simplifies code. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88a2a4ac6b671a4b0dd5d2d762418904c05f4104 tree 8c30052a0d7fadec37c785a42a71b28d0a9c5fcf parent cef5076987dd545ac74f4efcf1c962be8eac34b0 author Eric Dumazet Sat, 04 Feb 2006 23:27:36 -0800 committer Linus Torvalds Sun, 05 Feb 2006 11:06:51 -0800 [PATCH] percpu data: only iterate over possible CPUs percpu_data blindly allocates bootmem memory to store NR_CPUS instances of cpudata, instead of allocating memory only for possible cpus. As a preparation for changing that, we need to convert various 0 -> NR_CPUS loops to use for_each_cpu(). (The above only applies to users of asm-generic/percpu.h. powerpc has gone it alone and is presently only allocating memory for present CPUs, so it's currently corrupting memory). Signed-off-by: Eric Dumazet Cc: "David S. Miller" Cc: James Bottomley Acked-by: Ingo Molnar Cc: Jens Axboe Cc: Anton Blanchard Acked-by: William Irwin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cef5076987dd545ac74f4efcf1c962be8eac34b0 tree d404e17d44665c39006d6a5f25cd6b02819a4772 parent 5b7b644ca9a12396a46fad825a973fb8bed17102 author Linus Torvalds Sun, 05 Feb 2006 10:51:57 -0800 committer Linus Torvalds Sun, 05 Feb 2006 10:51:57 -0800 Revert "[PATCH] x86_64: Fix the node cpumask of a cpu going down" This reverts commit 10f4dc8b27ac42f930ac55adb8c521264dc997f8. Quoth Andi Kleen: "Kiran decided that it makes the problem worse than it was before. Fixing it fully requires more work which is too much for 2.6.16. So please revert that commit for now." Signed-off-by: Linus Torvalds commit 620739025b94fe472c845ce013bff62716d3c576 tree 9c5718244a1c5b8637a9e343ea8391bdde40b57a parent 59a675b22026e29e7f281d7b832de67dd8559b83 author Russell King Sun, 05 Feb 2006 11:11:20 +0000 committer Russell King Sun, 05 Feb 2006 11:11:20 +0000 [SERIAL] Remove unnecessary serial.h include imx.c does not use anything from serial.h, so remove it. Signed-off-by: Russell King commit 59a675b22026e29e7f281d7b832de67dd8559b83 tree 2f4174947b04a7e988cc476414ecafb5f7c46dbb parent 9b4a1617772d6d5ab5eeda0cd95302fae119e359 author Russell King Sun, 05 Feb 2006 10:52:29 +0000 committer Russell King Sun, 05 Feb 2006 10:52:29 +0000 [SERIAL] uart_port flags member should use UPF_* Convert usage of ASYNC_* to UPF_*. Signed-off-by: Russell King commit 9b4a1617772d6d5ab5eeda0cd95302fae119e359 tree 5104ea63a01c995036947998016e3205cff3a61d parent 53ea68ecea11bcbb3451c2758ce181bd97b569a9 author Russell King Sun, 05 Feb 2006 10:48:10 +0000 committer Russell King Sun, 05 Feb 2006 10:48:10 +0000 [SERIAL] uart_port iotype member should use UPIO_* Convert usage of SERIAL_IO_* to UPIO_*. Signed-off-by: Russell King commit 7f7ff6bf0279ccb3d56f2b07c4cc88327c932a80 tree a32593c2b0f8c0429b6f61c965a65634d7936a38 parent 3794689dba4288f2ab6ec74657a07c41031ac376 author David S. Miller Sat, 04 Feb 2006 02:49:23 -0800 committer David S. Miller Sun, 05 Feb 2006 00:15:12 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 3794689dba4288f2ab6ec74657a07c41031ac376 tree f9db8435cf4012b2cee8fb80118dee5c908bd9af parent 5b7b644ca9a12396a46fad825a973fb8bed17102 author David S. Miller Sat, 04 Feb 2006 02:49:03 -0800 committer David S. Miller Sun, 05 Feb 2006 00:15:11 -0800 [SPARC64]: Add .gitignore file for sparc64 boot images. Signed-off-by: David S. Miller commit 7918d212df31fb7ddfb317c5a8dccdcec647d754 tree f3742fc5901dc7a367d6b6d6d47b09782c01eb43 parent 0047c65a60fa3b6607b55e058ea6a89f39cb3f28 author Patrick McHardy Sat, 04 Feb 2006 02:19:46 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:29 -0800 [NETFILTER]: Fix check whether dst_entry needs to be released after NAT After DNAT the original dst_entry needs to be released if present so the packet doesn't skip input routing with its new address. The current check for DNAT in ip_nat_in is reversed and checks for SNAT. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0047c65a60fa3b6607b55e058ea6a89f39cb3f28 tree 27fd894c370f7930e38c9e0e83cf9b572b51f4ba parent 878c41ce5747e1b417bdd92a694c33dc4bd6ec02 author Patrick McHardy Sat, 04 Feb 2006 02:19:09 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:28 -0800 [NETFILTER]: Prepare {ipt,ip6t}_policy match for x_tables unification The IPv4 and IPv6 version of the policy match are identical besides address comparison and the data structure used for userspace communication. Unify the data structures to break compatiblity now (before it is released), so we can port it to x_tables in 2.6.17. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 878c41ce5747e1b417bdd92a694c33dc4bd6ec02 tree fac206db8511afd50f8486dd8de8a4a3a7528c74 parent e55f1bc5dcb60a47764f6eabd1501d2cb98fb2c4 author Patrick McHardy Sat, 04 Feb 2006 02:17:55 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:27 -0800 [NETFILTER]: Fix ip6t_policy address matching Fix two bugs in ip6t_policy address matching: - misorder arguments to ip6_masked_addrcmp, mask must be the second argument - inversion incorrectly applied to the entire expression instead of just the address comparison Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e55f1bc5dcb60a47764f6eabd1501d2cb98fb2c4 tree e1737c03ad3d4843601d2eeef99f46d9064abfe0 parent ee4bb818ae35f68d1f848eae0a7b150a38eb4168 author Patrick McHardy Sat, 04 Feb 2006 02:17:26 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:26 -0800 [NETFILTER]: Check policy length in policy match strict mode Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee4bb818ae35f68d1f848eae0a7b150a38eb4168 tree 85a6ba60fc5782d77779f466f1ad5f2ec4330914 parent df4e9574a36748c3a4d9b03ffca6b42321a797a9 author Kirill Korotaev Sat, 04 Feb 2006 02:16:56 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:25 -0800 [NETFILTER]: Fix possible overflow in netfilters do_replace() netfilter's do_replace() can overflow on addition within SMP_ALIGN() and/or on multiplication by NR_CPUS, resulting in a buffer overflow on the copy_from_user(). In practice, the overflow on addition is triggerable on all systems, whereas the multiplication one might require much physical memory to be present due to the check above. Either is sufficient to overwrite arbitrary amounts of kernel memory. I really hate adding the same check to all 4 versions of do_replace(), but the code is duplicate... Found by Solar Designer during security audit of OpenVZ.org Signed-Off-By: Kirill Korotaev Signed-Off-By: Solar Designer Signed-off-by: Patrck McHardy Signed-off-by: David S. Miller commit df4e9574a36748c3a4d9b03ffca6b42321a797a9 tree 7710a26a7b5b491eafe6d1d7fef896b25631c248 parent 19ea7302df2eb4f2ad7f29af814d8cf55fc8b9c9 author Samir Bellabes Sat, 04 Feb 2006 02:16:06 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:23 -0800 [NETFILTER]: nf_conntrack: fix incorrect memset() size in FTP helper This memset() is executing with a bad size. According to Yasuyuki Kozakai, this memset() can be deleted, as 'ftp' is declared in global area. Signed-off-by: Samir Bellabes Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 19ea7302df2eb4f2ad7f29af814d8cf55fc8b9c9 tree b8dcef5684d443cb83c745129facec8f00b5a048 parent 6f169300787ddb07326cc0338434a162dbab8539 author Yasuyuki Kozakai Sat, 04 Feb 2006 02:15:36 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:22 -0800 [NETFILTER]: iptables: fix typos in ipt_connbytes.h Fix some typos that make iptables userspace compilation fail. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6f169300787ddb07326cc0338434a162dbab8539 tree 010f9f7e2af3fec48393a1e2b1137ef2f442326a parent a706124d0a4d9daaf6b705d01de3aff18deecea8 author Patrick McHardy Sat, 04 Feb 2006 02:14:51 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:21 -0800 [NETFILTER]: Fix missing src port initialization in tftp expectation mask Reported by David Ahern , netfilter bugzilla #426. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a706124d0a4d9daaf6b705d01de3aff18deecea8 tree f462b07dabcc529267afbf417acb16b08aded47d parent ad2ad0f96546d6d56b2665bcc863c33ae57c49c4 author Patrick McHardy Sat, 04 Feb 2006 02:14:24 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:20 -0800 [NETFILTER]: nfnetlink_queue: fix packet marking over netlink The packet marked is the netlink skb, not the queued skb. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ad2ad0f96546d6d56b2665bcc863c33ae57c49c4 tree 9c5f6357bd7a0ecb4748acfaf19a04ea3149707b parent c2db292438c20c3f13db6e5563e0ce5b449bedac author Patrick McHardy Sat, 04 Feb 2006 02:13:57 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:19 -0800 [NETFILTER]: Fix undersized skb allocation in ipt_ULOG/ebt_ulog/nfnetlink_log The skb allocated is always of size nlbufsize, even if that is smaller than the size needed for the current packet. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c2db292438c20c3f13db6e5563e0ce5b449bedac tree 775c7aa2e2e6069cb238833e5328a7b42b23041a parent ddc8d029ac6813827849801bce2d8c8813070db6 author Holger Eitzenberger Sat, 04 Feb 2006 02:13:14 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:18 -0800 [NETFILTER]: ULOG/nfnetlink_log: Use better default value for 'nlbufsiz' Performance tests showed that ULOG may fail on heavy loaded systems because of failed order-N allocations (N >= 1). The default value of 4096 is not optimal in the sense that it actually allocates _two_ contigous physical pages. Reasoning: ULOG uses alloc_skb(), which adds another ~300 bytes for skb_shared_info. This patch sets the default value to NLMSG_GOODSIZE and adds some documentation at the top. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ddc8d029ac6813827849801bce2d8c8813070db6 tree f0ae3607018873a8ed3594b9d81f155aed75b906 parent 34f9a2e4deb760ddcb94cd0cd4f9ce18070d53d9 author Yasuyuki Kozakai Sat, 04 Feb 2006 02:12:14 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:17 -0800 [NETFILTER]: nf_conntrack: check address family when finding protocol module __nf_conntrack_{l3}proto_find() doesn't check the passed protocol family, then it's possible to touch out of the array which has only AF_MAX items. Spotted by Pablo Neira Ayuso. Signed-off-by: Yasuyuki Kozakai Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 34f9a2e4deb760ddcb94cd0cd4f9ce18070d53d9 tree 8ab1f53445e3b422b72987e2e99d13ffe13dab0c parent b633ad5fbf9e534142208700c58a530a4091eaab author Pablo Neira Ayuso Sat, 04 Feb 2006 02:11:41 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:16 -0800 [NETFILTER]: ctnetlink: add MODULE_ALIAS for expectation subsystem Add load-on-demand support for expectation request. eg. conntrack -L expect Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b633ad5fbf9e534142208700c58a530a4091eaab tree e848b88ce0b820bd1193c8a3d0ecea4eb5a39be0 parent fa60cf7f64a00c16e95717e8dccdb128877e342a author Marcus Sundberg Sat, 04 Feb 2006 02:11:09 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:15 -0800 [NETFILTER]: ctnetlink: Fix subsystem used for expectation events The ctnetlink expectation events should use the NFNL_SUBSYS_CTNETLINK_EXP subsystem, not NFNL_SUBSYS_CTNETLINK. Signed-off-by: Marcus Sundberg Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit fa60cf7f64a00c16e95717e8dccdb128877e342a tree ec8ca75f79971c6bd2b3754b6207a4adce51e37c parent 5b7b644ca9a12396a46fad825a973fb8bed17102 author Herbert Xu Sat, 04 Feb 2006 02:09:34 -0800 committer David S. Miller Sat, 04 Feb 2006 23:51:14 -0800 [ICMP]: Fix extra dst release when ip_options_echo fails When two ip_route_output_key lookups in icmp_send were combined I forgot to change the error path for ip_options_echo to not drop the dst reference since it now sits before the dst lookup. To fix it we simply jump past the ip_rt_put call. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5b7b644ca9a12396a46fad825a973fb8bed17102 tree 39d6a2b1644e4c5ab17da7e82a09f37a65211b23 parent 14c3f8558717adb192c364f58b0d63dfc850ecca author Jon Mason Fri, 03 Feb 2006 21:51:59 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: IOMMU printk cleanup This patch contains a printk reorder to remove the current problem of displaying "PCI-DMA: Disabling IOMMU." and then "PCI-DMA: using GART IOMMU" 20 lines later in dmesg. It also constains a printk reorder in swiotlb to state swiotlb enablement prior to describing the location of the bounce buffers, and a printk reorder to state gart enablement prior to describing the aperature. Also constains a whitespace cleanup in arch/x86_64/kernel/setup.c Tested (along with patch 2/2) on dual opteron with gart enabled, iommu=soft, and iommu=off. Signed-off-by: Jon Mason Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 14c3f8558717adb192c364f58b0d63dfc850ecca tree 16e04e07d4212217e597d79432ad03c2b3856855 parent 3777a95903953c55f2309a89679b73c19ae5535b author Andi Kleen Fri, 03 Feb 2006 21:51:56 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: Let impossible CPUs point to reference per cpu data Hack for 2.6.16. In 2.6.17 all code that uses NR_CPUs should be audited and changed to only touch possible CPUs. Don't mark the reference per cpu data init data (so it stays around after boot) and point all impossible CPUs to it. This way they reference some valid - although shared memory. Usually this is only initialization like INIT_LIST_HEADs and there won't be races because these CPUs never run. Still somewhat hackish. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3777a95903953c55f2309a89679b73c19ae5535b tree 45a922a1ff82fc0f3d2a3865bfcb23d68c12792c parent 7f66ae48de27bc9506cff0f2991d74901a0c2f8d author Andi Kleen Fri, 03 Feb 2006 21:51:53 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] i386/x86-64: Don't ack the APIC for bad interrupts when the APIC is not enabled It's bad juju to touch the APIC when it hasn't been enabled. I also moved ack_bad_irq for x86-64 out of line following i386. Signed-off-by: Andi Kleen Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 7f66ae48de27bc9506cff0f2991d74901a0c2f8d tree ec38f237d1b32f051ce4eed4e1a5bdcae148f6c7 parent d646bce4c77af72f5a293a96fbf14174c9f2a9c2 author Ashok Raj Fri, 03 Feb 2006 21:51:50 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: Dont record local apic ids when they are disabled in MADT Some broken BIOS's had processors disabled, but same apic id as a valid processor. This causes acpi_processor_start() to think this disabled cpu is ok, and croak. So we dont record bad apicid's anymore. http://bugzilla.kernel.org/show_bug.cgi?id=5930 Signed-off-by: Ashok Raj Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d646bce4c77af72f5a293a96fbf14174c9f2a9c2 tree c931154a172dd17a242c455c23d21c2adf7240df parent 91522a964b295e7bccb173218cc00adadfc77bbf author Jan Beulich Fri, 03 Feb 2006 21:51:47 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: minor odering correction to dump_pagetable() Checking of the validity of pointers should be consistently done before dereferencing the pointer. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 91522a964b295e7bccb173218cc00adadfc77bbf tree c31d9a47b3ef774c20d29a94ffe26ee157d9c7ee parent 0c3749c41f5eee0da36bbf92b2793338b4d8574f author Jan Beulich Fri, 03 Feb 2006 21:51:44 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: small fix for CFI annotations Conditionalize two unwind directives to match other similarly conditional code. Signed-Off-By: Jan Beulich Cc: Jim Houston Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0c3749c41f5eee0da36bbf92b2793338b4d8574f tree 3af004c5533ab04297004f5ec40da4c6801b8fda parent 099f318b8d97490e58c595eb1b6d3415da5ccc03 author Andi Kleen Fri, 03 Feb 2006 21:51:41 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:15 -0800 [PATCH] x86_64: Calibrate APIC timer using PM timer On some broken motherboards (at least one NForce3 based AMD64 laptop) the PIT timer runs at a incorrect frequency. This patch adds a new option "apicpmtimer" that allows to use the APIC timer and calibrate it using the PMTimer. It requires the earlier patch that allows to run the main timer from the APIC. Specifying apicpmtimer implies apicmaintimer. The option defaults to off for now. I tested it on a few systems and the resulting APIC timer frequencies were usually a bit off, but always <1%, which should be tolerable. TBD figure out heuristic to enable this automatically on the affected systems TBD perhaps do it on all NForce3s or using DMI? Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 099f318b8d97490e58c595eb1b6d3415da5ccc03 tree 48a621571d97cf72b0ade93033ef6d68d2b676b8 parent 16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4 author Andi Kleen Fri, 03 Feb 2006 21:51:38 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: Don't allow kprobes on __switch_to kprobes cannot deal with the funny calling conventions when it runs on a different stack when it returns. If someone wants to instrument context switch they can add a probe to schedule() instead. Cc: jkenisto@us.ibm.com, prasanna@in.ibm.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4 tree c1e6ae0b4f666a3e85b12b9280d1bff63104cf9e parent a1002a48e1af5ff8d02bfe79536e6fce3a0ec369 author Zach Brown Fri, 03 Feb 2006 21:51:35 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: align per-cpu section to configured cache bytes Align the start of the per-cpu section to the configured number of bytes in a cache line. This stops a BUG_ON() from triggering in load_module() when DEFINE_PER_CPU() is used in a module and the section isn't cacheline-aligned. Rusty also found this and sent a patch in a while ago (http://lkml.org/lkml/2004/10/19/17), I don't know what came of that. Signed-off-by: Zach Brown Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit a1002a48e1af5ff8d02bfe79536e6fce3a0ec369 tree 0e6988d51b37185dac2e9b92d86091fb224c75ff parent 1de6bf33bc4601d856c286ad5c7d515468e24bbb author Kevin VanMaren Fri, 03 Feb 2006 21:51:32 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: When allocation of merged SG lists fails in the IOMMU don't merge [ AK: I redid Kevin's fix to be simpler, but the idea and original analysis of the problem is from Kevin] This avoid allocation failures on some SATA systems like Nvidia CK8 when the IOMMU gets fragmented. Modern SATA devices have quite large queues (128 entries) and the FS with ext2/3 is good enough now that it often passes whole 128 page sg lists down to the driver. These require 512K of continuous free space in the IOMMU aperture to map when merged. When the IOMMU is fragmented this could lead to spurious IO errors due to failing mappings. Short term fix is to just try to map the SG list again unmerged page by page - this way fragmentation doesn't matter anymore. The code for that was already there, but it just wasn't enabled for the merge case. According to Kevin at least the Nvidia device doesn't seem to benefit from merging much anyways, so the only slowdown is from trying to do an unnecessary merge attempt. Kevin plans to implement better fragmentation avoidance in the future, but that wouldn't be 2.6.16 material. TBD: should add some statistic counters to count how often that really happens. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1de6bf33bc4601d856c286ad5c7d515468e24bbb tree 7ce51e6a5592ee90b065963d8a72e754e58c5e4a parent d22fe808449cd3b5bacd5c0d447e3675f9ab7619 author Andi Kleen Fri, 03 Feb 2006 21:51:29 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: Fix zero mcfg entry workaround on x86-64 I broke this earlier when moving the patch from i386 to x86-64. Need to return the virtual address here, not the physical address. This fixes some boot time crashes on x86-64. Cc: gregkh@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d22fe808449cd3b5bacd5c0d447e3675f9ab7619 tree 25aa14735359aa4fe24a28439efa672850828bbf parent 7ded56895c11a656408b6ff21086ae04a6a7cda0 author Andi Kleen Fri, 03 Feb 2006 21:51:26 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: Do more checking in the SRAT header code - Check if the processor/memory affinity entries are long enough according to the ACPI 3.0 spec. - Ignore memory affinity entries that define a zero length region. All based on BIOS issues found in the field @) Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7ded56895c11a656408b6ff21086ae04a6a7cda0 tree e12b7105ee50a86573594b803e55270abf5dbc3c parent 396bd50fed9c91f7aa1ac66f4b2880ca58c332ff author Ashok Raj Fri, 03 Feb 2006 21:51:23 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. attached patch is 2 more cases i found via running the reference_init.pl script. These were easy to spot just knowing the file names. There is one another about init/main.c that i cant exactly zero in. (partly because i dont know how to interpret the data thats spewed out of the tool). Signed-off-by: Ashok Raj Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 396bd50fed9c91f7aa1ac66f4b2880ca58c332ff tree 4af5353b10a1e67087815a6e838614f02bd7cbc3 parent 9391a3f9c7f17bdd82adf9a98905450642cc8970 author Shaohua Li Fri, 03 Feb 2006 21:51:20 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: mark two routines as __cpuinit SIgned-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9391a3f9c7f17bdd82adf9a98905450642cc8970 tree b3bba1689a0af3233a5d055e43ec5a67a8e775f0 parent 00ac59adfca8f2f339beb0b67054e786c275553e author Andi Kleen Fri, 03 Feb 2006 21:51:17 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: Clear more state when ignoring empty node in SRAT parsing Might fix boot failures on systems with empty PXMs in SRAT Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 00ac59adfca8f2f339beb0b67054e786c275553e tree 96489ebcdebec957f94de44940e10b3935bc3c18 parent 9e8c34edfd7ae97d0e3391f34d9d26a0167912bf author Chen, Kenneth W Fri, 03 Feb 2006 21:51:14 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:14 -0800 [PATCH] x86_64: Fix memory policy build without CONFIG_HUGETLBFS > mm/mempolicy.c: In function `huge_zonelist': > mm/mempolicy.c:1045: error: `HPAGE_SHIFT' undeclared (first use in this function) > mm/mempolicy.c:1045: error: (Each undeclared identifier is reported only once > mm/mempolicy.c:1045: error: for each function it appears in.) > make[1]: *** [mm/mempolicy.o] Error 1 Need to wrap huge_zonelist function with CONFIG_HUGETLBFS. Signed-off-by: Ken Chen Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9e8c34edfd7ae97d0e3391f34d9d26a0167912bf tree 7b26b9b3939d32f69af5c133e99de6f730e04b16 parent 7115125057cf72dcc0b9ded1e12128e1abfa8586 author Andi Kleen Fri, 03 Feb 2006 21:51:11 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Remove rogue default y in EDAC Kconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7115125057cf72dcc0b9ded1e12128e1abfa8586 tree 9b619a2f45d665a1fdc2af08dc43bacbf38e18a5 parent 10f4dc8b27ac42f930ac55adb8c521264dc997f8 author Andi Kleen Fri, 03 Feb 2006 21:51:08 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Remove CONFIG_INIT_DEBUG It has been enabled by default for some time now and is cheap enough so it doesn't matter anyways. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 10f4dc8b27ac42f930ac55adb8c521264dc997f8 tree 88d56b784d7ae5d84fd5e486f666b779c161d8af parent 7bcd3f34e262bbebffa954d80eab3a84f053da31 author Ravikiran G Thirumalai Fri, 03 Feb 2006 21:51:05 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Fix the node cpumask of a cpu going down Currently, x86_64 and ia64 arches do not clear the corresponding bits in the node's cpumask when a cpu goes down or cpu bring up is cancelled. This is buggy since there are pieces of common code where the cpumask is checked in the cpu down code path to decide on things (like in the slab down path). PPC does the right thing, but x86_64 and ia64 don't (This was the reason Sonny hit upon a slab bug during cpu offline on ppc and could not reproduce on other arches). This patch fixes it for x86_64. I won't attempt ia64 as I cannot test it. Credit for spotting this should go to Alok. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7bcd3f34e262bbebffa954d80eab3a84f053da31 tree f0765da9eaa8024a2b1d67d3e43730cb32f99fa7 parent 6bca52b544489b626c7d0db801df6b4aa3d5adb5 author Andi Kleen Fri, 03 Feb 2006 21:51:02 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Undo the earlier changes to remove unrolled copy/memset functions They cause quite bad performance regressions on Netburst This is temporary until we can get new optimized functions for these CPUs. This undoes changes that were done in 2.6.15 and in 2.6.16-rc1, essentially bringing the code back to 2.6.14 level. Only change is I renamed the X86_FEATURE_K8_C flag to X86_FEATURE_REP_GOOD and fixed the check for the flag and also fixed some comments. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6bca52b544489b626c7d0db801df6b4aa3d5adb5 tree 6011b1cec5ffae37ed499013908e38cbdeaf651b parent 0dd2ea9af8f0eca43cf6200baa182b3aba307049 author Andi Kleen Fri, 03 Feb 2006 21:50:59 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Fix swiotlb dma_alloc_coherent fallback This avoids BUG_ONs in the low level allocator when an illegal GFP mask is added. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0dd2ea9af8f0eca43cf6200baa182b3aba307049 tree 68d19724e9c50e14ea7d900493a9af37ff26c948 parent 6f3814cd2fb5ea4d53a7fa5b0635d68fa4036c1b author Shaohua Li Fri, 03 Feb 2006 21:50:56 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: [PATCH] timer resume At resume time, TSC's value or something similar might be changed a lot against suspend time. This could make system gets a very big lost ticks. See http://bugzilla.kernel.org/show_bug.cgi?id=5825 Signed-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6f3814cd2fb5ea4d53a7fa5b0635d68fa4036c1b tree 8a0ad07a141e00243f3a65f2a026c8c6f0ce8c11 parent 73dea47faeb96d54a984b9d7f4de564816966354 author Andi Kleen Fri, 03 Feb 2006 21:50:53 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Automatically enable apicmaintimer on ATI boards They all have problems with IRQ 0 routing, so just use the APIC on them. Can be overwritten with "noapicmaintimer" Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 73dea47faeb96d54a984b9d7f4de564816966354 tree 6b1f090e9071e281367bc106c1b2ab05cb43e459 parent 76b461c21468f41837283b7888d55f1c0671f719 author Andi Kleen Fri, 03 Feb 2006 21:50:50 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Allow to run main time keeping from the local APIC interrupt Another piece from the no-idle-tick patch. This can be enabled with the "apicmaintimer" option. This is mainly useful when the PIT/HPET interrupt is unreliable. Note there are some systems that are known to stop the APIC timer in C3. For those it will never work, but this case should be automatically detected. It also only works with PM timer right now. When HPET is used the way the main timer handler computes the delay doesn't work. It should be a bit more efficient because there is one less regular interrupt to process on the boot processor. Requires earlier bugfix from Venkatesh Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 76b461c21468f41837283b7888d55f1c0671f719 tree 3df6a35fe789dbc70db4ae6e32c8e694079e97d8 parent 226d780909f71bebfa4dfffa21493244aa22dfdc author Venkatesh Pallipadi Fri, 03 Feb 2006 21:50:47 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:13 -0800 [PATCH] x86_64: Only switch to IPI broadcast timer on Intel when C3 is supported Bug in apic timer removal on C3 patch. We should switch to IPI from APIC timer only when C3 state is valid. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 226d780909f71bebfa4dfffa21493244aa22dfdc tree ae9f0ff1e2b62076585825379c3b859ad3f3a1af parent eddb6fb9a54cdc8c7c37e056a2b4bbbc8a128a36 author Andi Kleen Fri, 03 Feb 2006 21:50:44 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:12 -0800 [PATCH] x86_64: Define pmtmr_ioport to 0 when PM_TIMER is not available Avoids some ifdef mess later. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit eddb6fb9a54cdc8c7c37e056a2b4bbbc8a128a36 tree c8b9a0773518f45aa86d861fce959c3c4f946b06 parent 2f01942536d8c686a3f6b3b38f1257caa2fb763e author Andi Kleen Fri, 03 Feb 2006 21:50:41 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:12 -0800 [PATCH] x86_64: Disallow kprobes on NMI handlers A kprobe executes IRET early and that could cause NMI recursion and stack corruption. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2f01942536d8c686a3f6b3b38f1257caa2fb763e tree b2304fcb39d1709dd90061ac9be975a15a22beae parent 53ea68ecea11bcbb3451c2758ce181bd97b569a9 author Andi Kleen Fri, 03 Feb 2006 21:50:38 +0100 committer Linus Torvalds Sat, 04 Feb 2006 16:43:12 -0800 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 53ea68ecea11bcbb3451c2758ce181bd97b569a9 tree 4e754db2a21db5b90a1650f2993d0b76c00cbd53 parent 89a2fa5f2139be35e214bcf86a8291d6a1da75f2 author Stephen Smalley Fri, 03 Feb 2006 08:21:12 -0500 committer Linus Torvalds Fri, 03 Feb 2006 18:31:33 -0800 [PATCH] SELinux: fix size-128 slab leak Remove private inode tests from security_inode_alloc and security_inode_free, as we otherwise end up leaking inode security structures for private inodes. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Linus Torvalds commit 89a2fa5f2139be35e214bcf86a8291d6a1da75f2 tree 850ea412b013360bcace751db91cac6fb0067535 parent 27266a18dc56611e2f2ec4e8aced0fe221e9b4b8 parent 68ee3eb8295c9c164071fcbd367c419121bd55f8 author Linus Torvalds Fri, 03 Feb 2006 18:17:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 18:17:47 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 commit 27266a18dc56611e2f2ec4e8aced0fe221e9b4b8 tree 838a597782ea49356da72298626574e22351522d parent f3e39e67b9b6ad6a51d13be902e8341f13b93531 parent 9a8ffccf3d282ee749210232465f61e1c48b7a86 author Linus Torvalds Fri, 03 Feb 2006 15:51:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:51:48 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f3e39e67b9b6ad6a51d13be902e8341f13b93531 tree dd0d21776b936fdff1bd1e1ba762fc47e94259cf parent 1a56f54c351d8d2e276aefc4f4094037c178d6c7 parent e92251762d02a46177d4105d1744041e3f8bc465 author Linus Torvalds Fri, 03 Feb 2006 15:51:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:51:13 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 1a56f54c351d8d2e276aefc4f4094037c178d6c7 tree 88abb7801141db3d03079bd0ef2a903cbf3a1aba parent d1ffa5669cd834f901141756e63195f48c1bfbf9 parent 2c4c6b27028b38204de8ade505f925d53d234422 author Linus Torvalds Fri, 03 Feb 2006 15:50:35 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:50:35 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit d1ffa5669cd834f901141756e63195f48c1bfbf9 tree f0bed266c1f3fef528bbced56b48aac63e0a26b1 parent d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f parent 6eff5790d57a5c9c01489c95946881808a4b2a2c author Linus Torvalds Fri, 03 Feb 2006 15:21:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:21:40 -0800 Merge branch 'upstream-linus' of git://oss.oracle.com/home/sourcebo/git/ocfs2 commit 2c4c6b27028b38204de8ade505f925d53d234422 tree 87ed99e0cf5109a822f76cc625f920ca9dc8acd8 parent 83f755f5a66a5393c3ae8925719fde0c740ac04e author Russell King Fri, 03 Feb 2006 23:03:21 +0000 committer Russell King Fri, 03 Feb 2006 23:03:21 +0000 [ARM] Remove ARCH_CAMELOT from at91 defconfigs ARCH_CAMELOT (excalibur) got removed; remove it from the AT91 defconfigs Signed-off-by: Russell King commit 9a8ffccf3d282ee749210232465f61e1c48b7a86 tree d876e49754fc796473a115fe7b679febd5fc646a parent 9c0f4755bd5a117595761c95b93c29e8d9ca07b5 author Russell King Fri, 03 Feb 2006 22:05:42 +0000 committer Russell King Fri, 03 Feb 2006 22:05:42 +0000 [SERIAL] 8250: limit range of runtime ports Prevent SERIAL_8250_RUNTIME_UARTS being larger than SERIAL_8250_NR_UARTS. Signed-off-by: Russell King commit 6eff5790d57a5c9c01489c95946881808a4b2a2c tree 2b96da58c99b27945e8c9bffb0ae48a97c4231be parent 1a1974fd4533afdb73873cdacb942d9a79ff7c9b author Mark Fasheh Wed, 18 Jan 2006 10:31:47 -0800 committer Mark Fasheh Fri, 03 Feb 2006 14:05:14 -0800 [PATCH] ocfs2: don't wait on recovery when locking journal The mount path had incorrectly asked the locking code to wait for recovery completion, which deadlocks things because recovery waits for mount to complete first. Signed-off-by: Mark Fasheh commit 1a1974fd4533afdb73873cdacb942d9a79ff7c9b tree 2ca6e62b007f54a4b4d755bb98ad9692e4547395 parent 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d author Eric Sesterhenn / snakebyte Fri, 27 Jan 2006 10:32:24 +0100 committer Mark Fasheh Fri, 03 Feb 2006 14:03:09 -0800 [PATCH] BUG_ON() Conversion in fs/configfs/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d tree 2d2317ce1417202322e3f715534fab80394bd5d2 parent 62ca3d2603571dc2b1b4c1368e19d44b599062e2 author Joel Becker Wed, 25 Jan 2006 13:31:07 -0800 committer Mark Fasheh Fri, 03 Feb 2006 14:01:05 -0800 configfs: Add permission and ownership to configfs objects. configfs always made item and attribute ownership root.root and permissions based on a umask of 022. Add ->setattr() to allow chown(2)/chmod(2), and persist the changes for the lifetime of the items and attributes. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 62ca3d2603571dc2b1b4c1368e19d44b599062e2 tree 8fe17f9846fcadfc508ebfa92b4196b3a934719e parent 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a author Joel Becker Fri, 27 Jan 2006 11:04:12 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:59:05 -0800 configfs: Clean up MAINTAINERS entry Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a tree 873d9a2d1b345567c1c6b51f8aab83b034fff922 parent ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187 author Mark Fasheh Wed, 01 Feb 2006 16:42:10 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:55:26 -0800 [PATCH] ocfs2: fix compile warnings Fix a couple of compile warnings found when compiling on a ppc64 build box. Signed-off-by: Mark Fasheh commit ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187 tree acd18f3170c1de8295375cadb0a33fa23066524e parent b4c7f538508adcde7a0a5162faec0b2ab19b90bd author Eric Sesterhenn / snakebyte Fri, 27 Jan 2006 10:32:52 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:54:22 -0800 [PATCH] BUG_ON() Conversion in fs/ocfs2/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Mark Fasheh commit b4c7f538508adcde7a0a5162faec0b2ab19b90bd tree 143ce7f02ffa904cf770960c495d672b81710f21 parent c74ec2f77a7763a4a56c6cb13ecab961e1bbb456 author Adrian Bunk Sat, 14 Jan 2006 20:55:10 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:47:21 -0800 [PATCH] fs/ocfs2/dlm/dlmrecovery.c must #include fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore need to #include for getting the prototype of this function. Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit c74ec2f77a7763a4a56c6cb13ecab961e1bbb456 tree aa1ce70fae2b098a4e452fd065581268ba8a6d5c parent e2faea4ce340f199c1957986c4c3dc2de76f5746 author Arjan van de Ven Fri, 13 Jan 2006 21:54:23 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:21 -0800 [PATCH] ocfs2: Semaphore to mutex conversion. Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mark Fasheh commit e2faea4ce340f199c1957986c4c3dc2de76f5746 tree 2336b06cf270b3cff2ff39ba75fc67639dc63df9 parent 0d419a6a95ee158675aa184c6c3e476b22d02145 author Kurt Hackel Thu, 12 Jan 2006 14:24:55 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:20 -0800 [PATCH] ocfs2/dlm: fixes * fix a hang which can occur during shutdown migration * do not allow nodes to join during recovery * when restarting lock mastery, do not ignore nodes which come up * more than one node could become recovery master, fix this * sleep to allow some time for heartbeat state to catch up to network * extra debug info for bad recovery state problems * make DLM_RECO_NODE_DATA_DONE a valid state for non-master recovery nodes * prune all locks from dead nodes on $RECOVERY lock resources * do NOT automatically add new nodes to mle nodemaps until they have properly joined the domain * make sure dlm_pick_recovery_master only exits when all nodes have synced * properly handle dlmunlock errors in dlm_pick_recovery_master * do not propagate network errors in dlm_send_begin_reco_message * dead nodes were not being put in the recovery map sometimes, fix this * dlmunlock was failing to clear the unlock actions on DLM_DENIED Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 0d419a6a95ee158675aa184c6c3e476b22d02145 tree e57df9cbddc68e9b6e2f702537328b619529c783 parent 251b6eccbeff4f0f8a3509769b327705e899f5dd author J. Bruce Fields Wed, 11 Jan 2006 16:55:00 -0500 committer Mark Fasheh Fri, 03 Feb 2006 13:47:19 -0800 [OCFS2] Documentation Fix Update ocfs2.txt to add "cluster aware lockf" under missing features. Signed-off-by: J. Bruce Fields Signed-off-by: Mark Fasheh commit 251b6eccbeff4f0f8a3509769b327705e899f5dd tree 7da835c3bebc8150a1a1ae6abb681a1e1a9c5f36 parent aee93ac4b7ad461255939248d0d51566cff77e05 author Mark Fasheh Tue, 10 Jan 2006 15:41:43 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:19 -0800 [OCFS2] Make ip_io_sem a mutex ip_io_sem is now ip_io_mutex. Signed-off-by: Mark Fasheh commit aee93ac4b7ad461255939248d0d51566cff77e05 tree c5b1bda905d89548bd052eaf040da6eb287ee44b parent 0c6c98fb187524935a93fdd4f9a7193e7b110782 author Jeff Mahoney Mon, 09 Jan 2006 12:36:40 -0500 committer Mark Fasheh Fri, 03 Feb 2006 13:47:18 -0800 [PATCH] ocfs2/dlm: fix compilation on ia64 Including results in compilation failure on ia64 due to not including Including corrects the problem. Please apply. Signed-off-by: Jeff Mahoney Signed-off-by: Mark Fasheh commit 0c6c98fb187524935a93fdd4f9a7193e7b110782 tree d26e99e927cecafb3f56611fab83f7d0d5c8f39f parent 8c5a950c9693aa24828d16dd7bc38bced3f37d48 author Adrian Bunk Sat, 07 Jan 2006 20:07:02 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:47:18 -0800 [PATCH] OCFS2: __init / __exit problem Functions called by __init funtions mustn't be __exit. Reported by Jan-Benedict Glaw . Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit 8c5a950c9693aa24828d16dd7bc38bced3f37d48 tree 22ae4a6459d2f8d7a46bb8adac11aec65460dbb4 parent 826eeb53a6f264842200d3311d69107d2eb25f5e author Joel Becker Fri, 06 Jan 2006 13:46:31 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:17 -0800 o Remove confusing Kconfig text for CONFIGFS_FS. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f tree 8c21cc2ceaa11b7a6b023da6c8794f1e24eb0354 parent d540c7428d297ab041e6cac72b9045e7b8f93f2b parent 0dec456d1fe73e0539625f0973ee8ef8fb805943 author Linus Torvalds Fri, 03 Feb 2006 08:33:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:33:06 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit d540c7428d297ab041e6cac72b9045e7b8f93f2b tree 6a8dd4040568124b2ff6ff375f2ef00f347f531c parent 9ea244b4b545ecb323d042a0df5c080edefcd1fc author Adrian Bunk Fri, 03 Feb 2006 03:05:00 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:13 -0800 [PATCH] IDE: always enable CONFIG_PDC202XX_FORCE Remove the CONFIG_PDC202XX_FORCE=n case. Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ea244b4b545ecb323d042a0df5c080edefcd1fc tree 65e219ea529ac8089fa5415d8b350cf0fd3c62e5 parent 0c866b5103ad65de04a2a211f8db56820179cb53 author Loren M. Lang Fri, 03 Feb 2006 03:04:59 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] RocketPoint 1520 [hpt366] fails clock stabilization I just purchased a HighPoint Rocket 1520 SATA controller. There seems to be no libata driver (yet), but there is an ide driver, hpt366. When the driver gets loaded, it causes a kernel NULL pointer dereference in pci_bus_clock_list. It seems to be because the driver is waiting for clock stabilization in init_hpt37x() which never comes. The driver just continues on with the pci drvdata set to NULL, instead of a valid clock entry. The following patch prevents the NULL dereference from happening, but instead exit with an error. Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c866b5103ad65de04a2a211f8db56820179cb53 tree 5858b7b9a41cc9f72d2e3d6cdd0e2ca29271e07b parent f7ad836c4442e1d146b11cf359432aa68c7ed95d author Alan Cox Fri, 03 Feb 2006 03:04:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] ide: set latency when resetting it821x out of firmware mode Signed-off-by: Alan Cox Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7ad836c4442e1d146b11cf359432aa68c7ed95d tree e2cb81f7447a2be5ab85da7c6eef1624fe764eca parent a7ff7d41fec06c518caa82a818a70610a29d0e75 author Jean Delvare Fri, 03 Feb 2006 03:04:57 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] ide-disk: Restore missing space in log message Restore a missing space in a log message, which was accidentally removed by a previous change: 3e087b575496b8aa445192f58e7d996b1cdfa121 Signed-off-by: Jean Delvare Cc: Tejun Heo Cc: Jens Axboe Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7ff7d41fec06c518caa82a818a70610a29d0e75 tree 3da27f3fa33d6bd61d690e89c44e6acf0b008394 parent 6842f8c8dac7c06cbf0aac87824f1ff337be31cb author Adrian Bunk Fri, 03 Feb 2006 03:04:56 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] drivers/ide/ide-io.c: make __ide_end_request() static Since there's no longer any external user, we can make __ide_end_request() static. Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6842f8c8dac7c06cbf0aac87824f1ff337be31cb tree 7e1e185607d4c6134963d6106af7b3f311c9e976 parent 9810933701a09f9c4dd0ad963d5ec2efb7df07b7 author Ingo Molnar Fri, 03 Feb 2006 03:04:55 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] solve false-positive soft lockup messages during IDE init Signed-off-by: Ingo Molnar Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Cc: Rogio Brito Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9810933701a09f9c4dd0ad963d5ec2efb7df07b7 tree a82e186d96e443099fc67d9788943befcba996b3 parent 3b6ce2497f091620dd4c172fc11d867a9b072dc5 author Richard Purdie Fri, 03 Feb 2006 03:04:55 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] stop CompactFlash devices being marked as removable This patch stops CompactFlash devices being marked as removable. They are not removable (as defined by Linux) as the media and device are inseparable. When a card is removed, the whole device is removed from the system and never sits in a media-less state. This stops some nasty udev device creation/destruction loops. Further, once this change is made, there is no need for ide to can be removed from ide_drive_t. Signed-off-by: Richard Purdie Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b6ce2497f091620dd4c172fc11d867a9b072dc5 tree ed2a92b744a129847e5c42ec26c9eeae04074de8 parent d57d39c81271a0808eabcf7bdc409312b5262b69 author Andreas Mohr Fri, 03 Feb 2006 03:04:54 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] ide Kconfig fixes CONFIG_BLK_DEV_IDECS docu mentions everything and the kitchen sink, yet fails to list the most important/widespread (IMHO) device: Compact Flash PCMCIA adapters. This incomplete description recently caused me to deselect the ide_cs module, causing great pain soon thereafter when I realized why I had actually enabled it some years ago. Updates: - make sure to mention Compact Flash adapters - fix some random typos in ide Kconfig Signed-off-by: Andreas Mohr Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d57d39c81271a0808eabcf7bdc409312b5262b69 tree 7c3bd49624969c0d4e67a75acc8676945a900cc3 parent b7bed9ec44cb282425f56033e5fb5448086cd758 author Bjorn Helgaas Fri, 03 Feb 2006 03:04:53 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] ia64: drop arch-specific IDE MAX_HWIFS definition There's no reason MAX_HWIFS needs to be ia64-specific, so set MAX_HWIFS from CONFIG_IDE_MAX_HWIFS. This reduces the default from 10 to 4, but I don't think that's a problem. Signed-off-by: Bjorn Helgaas Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7bed9ec44cb282425f56033e5fb5448086cd758 tree e41cbb456d0e313997b7e16f7a3fed9848530aaf parent 12fc1d7b4b08a80776de3073439a09f54ce31f8f author Jason Gaston Fri, 03 Feb 2006 03:04:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] piix: add Intel ICH8M device IDs Signed-off-by: Jason Gaston Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12fc1d7b4b08a80776de3073439a09f54ce31f8f tree d98b6605704016950afab7cf60c60cafc78e5b60 parent db9a369ec172c8251dbc6f7bf6bf13f6c5b6e7f5 author Jayachandran C Fri, 03 Feb 2006 03:04:51 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] IPMI: fix issues reported by Coverity in ipmi_msghandler.c While looking to the report by Coverity in ipmi, I came across the following issue: The IPMI message handler relies on two defines which are the same -one in include/linux/ipmi.h #define IPMI_NUM_CHANNELS 0x10 and one in drivers/char/ipmi/ipmi_msghandler. #define IPMI_MAX_CHANNELS 16 These are used interchangeably in ipmi_msghandler.c, but since the array addr->channels[] is of size IPMI_MAX_CHANNELS, I have made a patch that uses IPMI_MAX_CHANNELS for all the checks for the array index. NOTE: You could probably remove the line that defines IPMI_NUM_CHANNELS from ipmi.h, or move IPMI_MAX_CHANNELS to ipmi.h Signed-off-by: Jayachandran C. Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db9a369ec172c8251dbc6f7bf6bf13f6c5b6e7f5 tree 66d4b2367e7f308efd11b354d47b398796c4986c parent 99603966f5b44693901ea68cef2c1c21ce6a49c3 author Jayachandran C Fri, 03 Feb 2006 03:04:50 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] UDF: Fix issues reported by Coverity in namei.c This patch fixes an issue in fs/udf/namei.c reported by Coverity: Error reported(1776) CID: 1776 Checker: UNUSED_VALUE (help) File: fs/udf/namei.c Function: udf_lookup Description: Pointer returned from "udf_find_entry" is never used Patch description: remove unused variable fi. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99603966f5b44693901ea68cef2c1c21ce6a49c3 tree 3d2e45673794c8d5d6a3627ec1843dc14cb994eb parent 7656f328f68b351a8bb71ad465cedc8d0a039f9e author KAMBAROV, ZAUR Fri, 03 Feb 2006 03:04:49 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] coverity: udf/balloc.c null deref fix It's doing if (obh) else dereference obh So presumably `obh' is never null in there. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7656f328f68b351a8bb71ad465cedc8d0a039f9e tree 178a98c7619a943f06f3c5a286add5140d7b8229 parent ddca2488a2a69421924485bbcec39b512b580d0e author Vincent Hanquez Fri, 03 Feb 2006 03:04:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] debugfs: hard link count wrong Fix incorrect nlink of root inode for filesystems that use simple_fill_super(). Signed-off-by: Vincent Hanquez Cc: Greg KH Cc: Heiko Carstens Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca2488a2a69421924485bbcec39b512b580d0e tree 97a6798ce4481c485a4d258e656be08c90636299 parent def9391c561c60e9d0aab58abca5404acef1de4b author Karsten Keil Fri, 03 Feb 2006 03:04:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] i4l: warning fixes drivers/isdn/hisax/hscx_irq.c: In function `hscx_interrupt': drivers/isdn/hisax/hscx_irq.c:201: warning: comparison is always 1 due to width of bit-field It's due to (PACKET_NOACK != bcs->tx_skb->pkt_type) pkt_type is only three bit wide. I think this should fix it for the moment, pkt_type 7 is not used yet and this is only used internal in hisax. Signed-off-by: Karsten keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit def9391c561c60e9d0aab58abca5404acef1de4b tree c5c8f5785290d2e7d255b065ebfe9df6e9713316 parent 6d94074f0804143eac6bce72dc04447c0040e7d8 author Andrew Morton Fri, 03 Feb 2006 03:04:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] ip2main.c warning fixes With Eric's "i386: Add a temporary to make put_user more type safe" patch we get a pile of warnings out of ip2m1in.c: drivers/char/ip2main.c: In function `ip2_ipl_ioctl': drivers/char/ip2main.c:2910: warning: assignment makes integer from pointer without a cast drivers/char/ip2main.c:2911: warning: assignment makes integer from pointer without a cast drivers/char/ip2main.c:2912: warning: assignment makes integer from pointer without a cast etc. This ioctl is copying the kernel virtual address of a large number of functions out to userspace. Heaven knows why. Rather than fixing the warnings, I think we'll just nuke that code. The patch also fixes a couple of `defined but not used' warnings. Cc: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d94074f0804143eac6bce72dc04447c0040e7d8 tree 2833a03682e12d81d4bd849435cd9f95e64e9350 parent 353368dffb56b066cbe00264581a56caf0241b29 author Davi Arnaut Fri, 03 Feb 2006 03:04:46 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] Fix keyctl usage of strnlen_user() In the small window between strnlen_user() and copy_from_user() userspace could alter the terminating `\0' character. Signed-off-by: Davi Arnaut Cc: David Howells Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 353368dffb56b066cbe00264581a56caf0241b29 tree 3792cc37a8269804f213ecd0c1e9a3948fb44109 parent 3b641407a1447759ac8159180e90ed2e4387a0b6 author Eric W. Biederman Fri, 03 Feb 2006 03:04:45 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] edac_mc: Remove include of version.h By including version.h edac_mc was rebuilding on every incremental build. Which defeats the point of incremental builds. Signed-off-by: Eric W. Biederman Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b641407a1447759ac8159180e90ed2e4387a0b6 tree 1cf86560c28701cdff32366a5070781319da53a1 parent e60e5c50aa5389db86e96fc52d02bc7db3d23f4a author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:44 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] fat: Fix truncate() write ordering The truncate() should write the file size before writing the new EOF entry. This patch fixes it. This bug was pointed out by Machida Hiroyuki. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e60e5c50aa5389db86e96fc52d02bc7db3d23f4a tree dcf9d09c7fed328628750023fecaf3eef4ad8624 parent 5b00226d4d3aa7969d84e16f857ea100465d9c98 author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:43 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] Trivial optimization of ll_rw_block() The ll_rw_block() needs to get ref-count only if it submits a buffer(). This patch avoids the needless get/put of ref-count. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b00226d4d3aa7969d84e16f857ea100465d9c98 tree bb40304b944606518b723e5f1ce136f13effb2f2 parent 514a01b880d28a3029d9e35de72ad8d2f95b31d0 author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:42 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] fat: Replace an own implementation with ll_rw_block(SWRITE,) This patch replaces an own implementation with LL_RW_BLOCK(SWRITE,) which was newly added. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 514a01b880d28a3029d9e35de72ad8d2f95b31d0 tree df6db749acdf0548bde145d2467ebfc894a736a9 parent 808249ceba49cdb3054c0aa5b75a61862d6cab94 author Andrew Morton Fri, 03 Feb 2006 03:04:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] uninline __sigqueue_free() Five callsites. I dunno how all this crap got back in there :( Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 808249ceba49cdb3054c0aa5b75a61862d6cab94 tree 246d11a687db3e8a775e746ed8f0da1aeedae70c parent 546cfdf47f2ea2438b01f8626a60b87f9d8d1e53 author Paul Fulghum Fri, 03 Feb 2006 03:04:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] new tty buffering locking fix Change locking in the new tty buffering facility from using tty->read_lock, which is currently ignored by drivers and thus ineffective. New locking uses a new tty buffering specific lock enforced centrally in the tty buffering code. Two drivers (esp and cyclades) are updated to use the tty buffering functions instead of accessing tty buffering internals directly. This is required for the new locking to work. Minor checks for NULL buffers added to tty_prepare_flip_string/tty_prepare_flip_string_flags Signed-off-by: Paul Fulghum Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 546cfdf47f2ea2438b01f8626a60b87f9d8d1e53 tree 35c6ccd5a5469f98a36432daad158f991aa844a5 parent 2c5d81a58106fa333467beab5f11dafab07b3e66 author Alexey Dobriyan Fri, 03 Feb 2006 03:04:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] ipmi: mem_{in,out}[bwl] => intf_mem_{in,out}[bwl] On mips: drivers/char/ipmi/ipmi_si_intf.c:1274: error: conflicting types for 'mem_inb' include/asm/io.h:436: error: previous definition of 'mem_inb' was here Don't look at line 436 unless you really know what you're doing. Move those static functions out of more or less generic namespace. Signed-off-by: Alexey "## should be banned" Dobriyan Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c5d81a58106fa333467beab5f11dafab07b3e66 tree 7fabac3f87c1c0d385569cbc127df36e5ff6a05f parent bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447 author Fernando Luis Vazquez Cao Fri, 03 Feb 2006 03:04:39 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Compilation of kexec/kdump broken The compilation of kexec/kdump seems to be broken for x86_64. Remove the dependency of kexec on CONFIG_IA32_EMULATION. Signed-off-by: Fernando Vazquez Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447 tree 4032cc19712ff78f532d2071f15a317e026da15b parent 9d9c0531c91755a90b646b27bb722d59ee3eb46d author Paul E. McKenney Fri, 03 Feb 2006 03:04:38 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Fix comment to synchronize_sched() Fix to broken comment to synchronize_rcu() noted by Keith Owens. Also add sentence noting that synchronize_sched() and synchronize_rcu() are not necessarily identical. Signed-off-by: Paul E. McKenney Cc: Keith Owens Cc: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d9c0531c91755a90b646b27bb722d59ee3eb46d tree 662992e8d6336171f6c09a13f57c96ddb017b9d3 parent 69dcc99199fe29b0a29471a3488d39d9d33b25fc author Herbert Poetzl Fri, 03 Feb 2006 03:04:37 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] quota: fix error code for ext2_new_inode() The quota check in ext2_new_inode() returns ENOSPC where it should return EDQUOT instead. Signed-off-by: Herbert Pötzl Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69dcc99199fe29b0a29471a3488d39d9d33b25fc tree 4232ad9a782dee6abfe7fa20c95a49249195de8f parent 66ac5a294db70aa377c0d7bbdb0c4e3ef2349b7b author Zhang, Yanmin Fri, 03 Feb 2006 03:04:36 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Export cpu topology in sysfs The patch implements cpu topology exportation by sysfs. Items (attributes) are similar to /proc/cpuinfo. 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id: represent the physical package id of cpu X; 2) /sys/devices/system/cpu/cpuX/topology/core_id: represent the cpu core id to cpu X; 3) /sys/devices/system/cpu/cpuX/topology/thread_siblings: represent the thread siblings to cpu X in the same core; 4) /sys/devices/system/cpu/cpuX/topology/core_siblings: represent the thread siblings to cpu X in the same physical package; To implement it in an architecture-neutral way, a new source file, driver/base/topology.c, is to export the 5 attributes. If one architecture wants to support this feature, it just needs to implement 4 defines, typically in file include/asm-XXX/topology.h. The 4 defines are: #define topology_physical_package_id(cpu) #define topology_core_id(cpu) #define topology_thread_siblings(cpu) #define topology_core_siblings(cpu) The type of **_id is int. The type of siblings is cpumask_t. To be consistent on all architectures, the 4 attributes should have deafult values if their values are unavailable. Below is the rule. 1) physical_package_id: If cpu has no physical package id, -1 is the default value. 2) core_id: If cpu doesn't support multi-core, its core id is 0. 3) thread_siblings: Just include itself, if the cpu doesn't support HT/multi-thread. 4) core_siblings: Just include itself, if the cpu doesn't support multi-core and HT/Multi-thread. So be careful when declaring the 4 defines in include/asm-XXX/topology.h. If an attribute isn't defined on an architecture, it won't be exported. Thank Nathan, Greg, Andi, Paul and Venki. The patch provides defines for i386/x86_64/ia64. Signed-off-by: Zhang, Yanmin Cc: Ingo Molnar Cc: Nick Piggin Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66ac5a294db70aa377c0d7bbdb0c4e3ef2349b7b tree 15af88490e32c4d2f0c8a7350da701595a746b07 parent f0c00257d63463fa9d692e632fae037d6c0e67b0 author Alexey Dobriyan Fri, 03 Feb 2006 03:04:35 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] ixj: fix writing silence check j->write_buffer_rp is a pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0c00257d63463fa9d692e632fae037d6c0e67b0 tree 94ca16b28d70eb96155974909560cced8a3cf383 parent 6bf8d889ed453f709dedacabdcf5db47470fdae9 author Peter Williams Fri, 03 Feb 2006 03:04:33 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] lib: Fix bug in int_sqrt() for 64 bit longs The implementation of int_sqrt() assumes that longs have 32 bits. On systems that have 64 bit longs this will result in gross errors when the argument to the function is greater than 2^32 - 1 on such systems. I doubt whether any such use is currently made of int_sqrt() but the attached patch fixes the problem anyway. Signed-off-by: Peter Williams Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bf8d889ed453f709dedacabdcf5db47470fdae9 tree f28c0b85f67393eca83757853a9c4a13d0d56ea0 parent 1374ae8b9a3789695962a0f3fd4c6eb7aff881bc author Herbert Poetzl Fri, 03 Feb 2006 03:04:32 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] quota: remove unused sync_dquots_dev() The already removed sync_dquots_dev(dev,type) is still defined in the no-quota case. Signed-off-by: Herbert Pötzl Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1374ae8b9a3789695962a0f3fd4c6eb7aff881bc tree 7bed559af16279923855624ee9a52f6d102b7fb7 parent 0a577ce34f703c885f807e2abc77dff02c7857af author Adrian Bunk Fri, 03 Feb 2006 03:04:31 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] drivers/serial/jsm/: cleanups - jsm_driver.c: remove the now unused jsm_rawreadok module_param - jsm_tty.c: remove a now unused variable Is there any problem with removing the now useless jsm_rawreadok module_param? Signed-off-by: Adrian Bunk Cc: V. Ananda Krishnan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a577ce34f703c885f807e2abc77dff02c7857af tree a2bfd15ca0ffe4ecc65c769008c9bfa8e0b107c9 parent 7d95c8f27d9be65bf160f1edaf653d33dfceb58c author V. Ananda Krishnan Fri, 03 Feb 2006 03:04:30 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] jsm: update for tty buffering revamp Signed-off-by: V. Ananda Krishnan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d95c8f27d9be65bf160f1edaf653d33dfceb58c tree 2e232ef2fccb1e6c81616bd9f3a56a0676549a8a parent 8b3e09e19932835fb77c63aaf3b1af6117e78871 author dean gaudet Fri, 03 Feb 2006 03:04:30 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] fcntl F_SETFL and read-only IS_APPEND files There is code in setfl() which attempts to preserve the O_APPEND flag on IS_APPEND files... however IS_APPEND files could also be opened O_RDONLY and in that case setfl() should not require O_APPEND... coreutils 5.93 tail -f attempts to set O_NONBLOCK even on regular files... unfortunately if you try this on an append-only log file the result is this: fcntl64(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = -1 EPERM (Operation not permitted) I offer up the patch below as one way of fixing the problem... i've tested it fixes the problem with tail -f but haven't really tested beyond that. (I also reported the coreutils bug upstream... it shouldn't fail imho... ) Signed-off-by: dean gaudet Cc: Al Viro Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b3e09e19932835fb77c63aaf3b1af6117e78871 tree d98125db1fe2ee0c82426cac98c954cd62842e88 parent 15d8ec7d08fbb7876e292b42bc92da8d82df7ea9 author Markus Lidel Fri, 03 Feb 2006 03:04:29 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] I2O: fix and workaround for Motorola/Freescale controller - This controller violates the I2O spec for the I/O registers. The patch contains a workaround which moves the registers to the proper location. (originally author: Matthew Starzewski) - If a message frame is beyond the mapped address range a error is returned. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15d8ec7d08fbb7876e292b42bc92da8d82df7ea9 tree 7e9f217d0022728ed3205abc403e05620993ff9e parent 35dc8161d0a6fa5e654bcb3d6240acc9ecb0a259 author Markus Lidel Fri, 03 Feb 2006 03:04:28 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] I2O: don't disable PCI device if it is enabled before probing If PCI device is enabled before probing, it will not be disabled at exit. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35dc8161d0a6fa5e654bcb3d6240acc9ecb0a259 tree 0c688ffc3adc127f5cf9f35ff93e6072e1f42438 parent 835417967c10b6dfaffdffddba59196196e5d431 author Jeff Moyer Fri, 03 Feb 2006 03:04:27 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] fix O_DIRECT read of last block in a sparse file Currently, if you open a file O_DIRECT, truncate it to a size that is not a multiple of the disk block size, and then try to read the last block in the file, the read will return 0. The problem is in do_direct_IO, here: /* Handle holes */ if (!buffer_mapped(map_bh)) { char *kaddr; ... if (dio->block_in_file >= i_size_read(dio->inode)>>blkbits) { /* We hit eof */ page_cache_release(page); goto out; } We shift off any remaining bytes in the final block of the I/O, resulting in a 0-sized read. I've attached a patch that fixes this. I'm not happy about how ugly the math is getting, so suggestions are more than welcome. I've tested this with a simple program that performs the steps outlined for reproducing the problem above. Without the patch, we get a 0-sized result from read. With the patch, we get the correct return value from the short read. Signed-off-by: Jeff Moyer Cc: Badari Pulavarty Cc: Suparna Bhattacharya Cc: Mingming Cao Cc: Joel Becker Cc: "Chen, Kenneth W" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 835417967c10b6dfaffdffddba59196196e5d431 tree 086fdbcd063c7f7615067323f73751c9f9d2d15e parent a18546110ed6bec483d55bfffccb2487dfbd77af author Carsten Otte Fri, 03 Feb 2006 03:04:25 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] ext2: print xip mount option in ext2_show_options In case we have CONFIG_FS_XIP, ext2_show_options shows "xip" if EXT2_MOUNT_XIP mount flag is set. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a18546110ed6bec483d55bfffccb2487dfbd77af tree 7363fe19d01ac7fd7c8de7cbee874999c78ab232 parent 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a author schwab@suse.de Fri, 03 Feb 2006 03:04:24 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] disable per cpu intr in /proc/stat Don't compute and display the per-irq sums on ia64 either, too much overhead for mostly useless figures. Cc: Olaf Hering Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a tree 8a4a72ab172202f29ba0c2020cb44d7f893cdf43 parent fe85a998ca64a067e58ca9240ec54a95994d78ee author Randy Dunlap Fri, 03 Feb 2006 03:04:24 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] edac: use C99 initializers (sparse warnings) drivers/edac/e752x_edac.c:1042:7: warning: obsolete struct initializer, use C99 syntax Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe85a998ca64a067e58ca9240ec54a95994d78ee tree 6856b5b7e8aa8724abe9103737c71ef055e158c8 parent 778116920e89b91b19d2b488a0d6fe63cf43379c author Randy Dunlap Fri, 03 Feb 2006 03:04:23 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] cpuset: fix sparse warning kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function 'cpuset_update_task_memory_state' Signed-off-by: Randy Dunlap Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 778116920e89b91b19d2b488a0d6fe63cf43379c tree 43a8144d5f19baec1e9f5a4616702be8299488fc parent 0ef3b49cc24963a11125971b8deaa8b46209d113 author Arnaud Giersch Fri, 03 Feb 2006 03:04:22 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] parport: remove dead address in MAINTAINERS Remove dead address for David Campbell in MAINTAINERS. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ef3b49cc24963a11125971b8deaa8b46209d113 tree bb568031614c455c6cd471232da96bec8f8eeea7 parent 88fc3897e3219e63ae6e2d180a6c87d033ef9f3b author Arnaud Giersch Fri, 03 Feb 2006 03:04:21 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] parport: fix documentation Fix documentation to actually match the code. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fc3897e3219e63ae6e2d180a6c87d033ef9f3b tree 4443e273b15c2f07229d65b90df2ae3579afb80d parent 034b91a3b66cf9d2983ac45f73162395c0936c36 author George Anzinger Fri, 03 Feb 2006 03:04:20 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] Normalize timespec for negative values in ns_to_timespec - In case of a negative nsec value the result of the division must be normalized. - Remove inline from an exported function. Signed-off-by: George Anzinger Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 034b91a3b66cf9d2983ac45f73162395c0936c36 tree d8d731e5ef3dbe3cea129c48d5c1bc245414f189 parent 05818a004a84951fd383694f3b35d89eb49fa308 author Latchesar Ionkov Fri, 03 Feb 2006 03:04:20 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: fix corner cases when flushing request When v9fs_mux_rpc sends a 9P message, it may be put in the queue of unsent request. If the user process receives a signal, v9fs_mux_rpc sets the request error to ERREQFLUSH and assigns NULL to request's send message. If the message was still in the unsent queue, v9fs_write_work would produce an oops while processing it. The patch makes sure that requests that are being flushed are moved to the pending requests queue safely. If a request is being flushed, don't remove it from the list of pending requests even if it receives a reply before the flush is acknoledged. The request will be removed during from the Rflush handler (v9fs_mux_flush_cb). Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05818a004a84951fd383694f3b35d89eb49fa308 tree a9c18d8cbcd565ac5d1bf833af8d5161dbca18d3 parent 93c615feffbcea4f09ecee154f46062f6041776e author Latchesar Ionkov Fri, 03 Feb 2006 03:04:18 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: v9fs_put_str fix v9fs_put_str used to store pointer to the source string, instead of the cbuf copy. This patch corrects it. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c615feffbcea4f09ecee154f46062f6041776e tree e2f125d960d288cad271b72173f8cfd4476bcc11 parent 8e75f744289f0a1c38b669e39a489af460640881 author Latchesar Ionkov Fri, 03 Feb 2006 03:04:17 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: symlink support fixes Two symlink fixes, v9fs_readlink didn't copy the last character of the symlink name, v9fs_vfs_follow_link incorrectly called strlen of newly allocated buffer instead of PATH_MAX. Signed-off-by: Latchesar Ionkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e75f744289f0a1c38b669e39a489af460640881 tree a9e7e67187d6076698dfc466752e161f7cbb0031 parent bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b author Arnaud Giersch Fri, 03 Feb 2006 03:04:16 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] parport: add parallel port support for SGI O2 Add support for the built-in parallel port on SGI O2 (a.k.a. IP32). Define a new configuration option: PARPORT_IP32. The module is named parport_ip32. Hardware support for SPP, EPP and ECP modes along with DMA support when available are currently implemented. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b tree 0e28c95b1f94f10e0bceb9a424b6a293b8b3ec7a parent abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d author Felix Oxley Fri, 03 Feb 2006 03:04:15 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] fs/jffs/intrep.c: 255 is unsigned char Signed-off-by: Felix Oxley Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d tree f28e90613a3f01b9d867adecab778ade0c4fbf85 parent 74adb52797a7cde217a8ceeaf254a5441a42a72c author Domen Puncer Fri, 03 Feb 2006 03:04:14 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix A few lines above the patch we have: char *srec; srec = kmalloc(SCIOC_SRECSIZE, GFP_KERNEL); sizeof pointer is probably not meant here. Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74adb52797a7cde217a8ceeaf254a5441a42a72c tree 805ec25448f1c4bf88b35ade8c2885687a6dc66a parent dfa08592ca0440d793ecc8dfc6277dd2aa4b8dda author Tobias Klauser Fri, 03 Feb 2006 03:04:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] umem: check pci_set_dma_mask return value correctly Signed-off-by: Tobias Klauser Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfa08592ca0440d793ecc8dfc6277dd2aa4b8dda tree 93bcf1323962aba32957093d6f04c0c8cdbb41fe parent 9d923a0603b5909a6758cfaec503955775cb7ab1 author Andreas Gruenbacher Fri, 03 Feb 2006 03:04:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] Fix two ext[23] uninitialized warnings There is a code path that passed size to ext2_xattr_set (ext3_xattr_set_handle) before initializing it. The callees don't use the value in that case, but gcc cannot tell. Always initialize size to get rid of the warnings. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d923a0603b5909a6758cfaec503955775cb7ab1 tree 5aa12488890ed9d4be2fb86eb54622d4d4a61f94 parent 90cbc45b1d8a81e661a981ddd69f95d6915f1574 author Andreas Schwab Fri, 03 Feb 2006 03:04:12 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] ufs: fix char vs. __s8 clash in ufs Fix this warning: fs/ufs/super.c: In function ‘ufs_fill_super’: fs/ufs/super.c:858: warning: case label value exceeds maximum value for type which happens because __s8 != char. These macros are used for struct ufs_super_block.fs_clean which is declared as __s8. Signed-off-by: Andreas Schwab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90cbc45b1d8a81e661a981ddd69f95d6915f1574 tree 0355d353a44bb7efcd1a36969dfcb3bc70c5e0b1 parent 23332c2e9da16b717f18fd95bc90211a663aa6ee author Dave Jones Fri, 03 Feb 2006 03:04:11 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] EDAC config cleanup The AMD76x chipsets aren't used in 64-bit, so don't offer the driver to the user. Signed-off-by: Dave Jones Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23332c2e9da16b717f18fd95bc90211a663aa6ee tree 873e445688472fd1726c0e48113f63a585d03b39 parent 8145916996b91d42b8bb4b0fcd508af295222c7c author Tong Li Fri, 03 Feb 2006 03:04:09 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] OProfile: fixed x86_64 incorrect kernel call graphs Fix the problem in kernel 2.6.15.1 (and early versions) that OProfile on x86_64 does not correctly collect the stack traces for kernel functions. The original code in valid_kernel_stack() in arch/i386/oprofile/backtrace.c assumes that the frame pointer (headaddr) should be greater than stack (i.e., regs). This assumption is wrong for x86_64 because NMIs in x86_64 use a seperate stack different from the kernel stack. Therefore, the variable stack now points to some location on the NMI stack, which turns out to be at a higher address than the frame pointer (headaddr) on the kernel stack. The correct comparison here should be between headaddr and regs->rsp for x86_64. Signed-off-by: Tong Li Cc: John Levon Cc: Philippe Elie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8145916996b91d42b8bb4b0fcd508af295222c7c tree 298ec43ab4e40888d142ffd5e84be67c80e07c9f parent 84542838a3829f34630c589c1eb570656c455a1c author Alan Cox Fri, 03 Feb 2006 03:04:08 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] Fix some ucLinux breakage from the tty updates Breakage reported by Adrian Bunk Untested (no hardware) Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84542838a3829f34630c589c1eb570656c455a1c tree 401218ce579c354427522d116f67d0bc1cb706ed parent 47ba87e0b1269698801310bfd1716b0538282405 author Alan Cox Fri, 03 Feb 2006 03:04:07 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] rio cleanups INKERNEL is always defined HOST is never defined therefore RTA is also never defined Strip the relevant garbage out of the headers on this basis. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47ba87e0b1269698801310bfd1716b0538282405 tree be429e822401e9f1a213b008b5e6e2f538754888 parent 09114eb8c53d2d3b2ff9523e011cb68b2e245dce author Marcelo Tosatti Fri, 03 Feb 2006 03:04:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] make "struct d_cookie" depend on CONFIG_PROFILING Shrinks "struct dentry" from 128 bytes to 124 on x86, allowing 31 objects per slab instead of 30. Cc: John Levon Cc: Philippe Elie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09114eb8c53d2d3b2ff9523e011cb68b2e245dce tree c66d4590814072f91d74f185c798a3935d933209 parent e295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657 author Evgeniy Dushistov Fri, 03 Feb 2006 03:04:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] ufs: fix hang during `rm' This fixes the code like this: bh = sb_find_get_block (sb, tmp + j); if ((bh && DATA_BUFFER_USED(bh)) || tmp != fs32_to_cpu(sb, *p)) { retry = 1; brelse (bh); goto next1; } bforget (bh); sb_find_get_block() ordinarily returns a buffer_head with b_count>=2, and this code assume that in case if "b_count>1" buffer is used, so this caused infinite loop. (akpm: that is-the-buffer-busy code is incomprehensible. Good riddance. Use of block_truncate_page() seems sane). Signed-off-by: Evgeniy Dushistov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657 tree a28ca6bf5ba0c3e1e03e12eb5067727028bb6452 parent 19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52 author Evgeniy Dushistov Fri, 03 Feb 2006 03:04:04 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] ufs: fix oops with `ufs1' type "rm" command, on file system with "ufs1" type cause system hang up. This is, in fact, not so bad as it seems to be, because of after that in "kernel control path" there are 3-4 places which may cause "oops". So the first patch fix oopses, and the second patch fix "kernel hang up". "oops" appears because of reading of group's summary info partly wrong, and access to not first group's summary info cause "oops". Signed-off-by: Evgeniy Dushistov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52 tree ac41d7f180f0453f58c87313d2ba74f00135016a parent 8c17e1eb05977283bc7ad94d16ace3a0d586921a author Andrew Morton Fri, 03 Feb 2006 03:04:04 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] sx.c printk warning fixes drivers/char/sx.c: In function `sx_set_real_termios': drivers/char/sx.c:934: warning: long unsigned int format, different type arg (arg 2) drivers/char/sx.c:961: warning: long unsigned int format, different type arg (arg 2) drivers/char/sx.c:976: warning: long unsigned int format, different type arg (arg 2) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c17e1eb05977283bc7ad94d16ace3a0d586921a tree 717a9bed6c94bda73b738f2a9610ff4a7b09dea3 parent f4f64e9ded28bcdb2cb57438bd1721579f8b28c0 author Andrew Morton Fri, 03 Feb 2006 03:04:03 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] quota_v2: printk warning fixes fs/quota_v2.c: In function `v2_check_quota_file': fs/quota_v2.c:39: warning: int format, different type arg (arg 2) fs/quota_v2.c:39: warning: int format, different type arg (arg 3) Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4f64e9ded28bcdb2cb57438bd1721579f8b28c0 tree 08d9f88145bc100fc54904d6519f5a71ef2abbe7 parent d35c602870ece3166cff3d25fbc687a7f707acf3 author Andrew Morton Fri, 03 Feb 2006 03:04:02 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] parport_serial: printk warning fix drivers/parport/parport_serial.c: In function `parport_register': drivers/parport/parport_serial.c:334: warning: unsigned int format, different type arg (arg 3) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d35c602870ece3166cff3d25fbc687a7f707acf3 tree 345bb168a75e37848921428c29b01d65a75479d1 parent 3636641bb2c7a806c1099ca092ec8cd180063f9b author Vitaly Fertman Fri, 03 Feb 2006 03:04:01 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] someone broke reiserfs V3 mount options, this fixes it Signed-off-by: Hans Reiser Signed-off-by: Vitaly Fertman Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3636641bb2c7a806c1099ca092ec8cd180063f9b tree cea6933f946da514169009e5e3b02c48de60aab1 parent 145046d31ecf9f4f1ba80c8d21225158f6d1738c author Adrian Bunk Fri, 03 Feb 2006 03:04:00 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] don't allow users to set CONFIG_BROKEN=y Do not allow people to create configurations with CONFIG_BROKEN=y. The sole reason for CONFIG_BROKEN=y would be if you are working on fixing a broken driver, but in this case editing the Kconfig file is trivial. Never ever should a user enable CONFIG_BROKEN. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 145046d31ecf9f4f1ba80c8d21225158f6d1738c tree a95112bb148b8accf8a04c5b5f931ab1fd5de680 parent de6c642ca9566ed358e1cde5fa0e25f7788a5566 author Randy Dunlap Fri, 03 Feb 2006 03:03:59 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] parport: fix printk format warning Fix printk format warning: drivers/parport/probe.c:205: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Randy Dunlap Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de6c642ca9566ed358e1cde5fa0e25f7788a5566 tree efba9a9cc23f0f7351a7ea01c29bcdd400698744 parent 5423980245c56fd968840b6d36bbddc2719084e4 author Alan Cox Fri, 03 Feb 2006 03:03:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] SBC EPX does not check/claim I/O ports it uses (2nd Edition) Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5423980245c56fd968840b6d36bbddc2719084e4 tree 2a2b4616145ca641935eea84f31ae73aa7293ecc parent 8d1d0340da3fc7d1a8d9198e74e97d2db6c3f86f author Andrew Morton Fri, 03 Feb 2006 03:03:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] sx.c warning fixes drivers/char/sx.c: In function `sx_set_real_termios': drivers/char/sx.c:934: warning: int format, long unsigned int arg (arg 2) drivers/char/sx.c:961: warning: unsigned int format, tcflag_t arg (arg 2) drivers/char/sx.c:976: warning: unsigned int format, tcflag_t arg (arg 2) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d1d0340da3fc7d1a8d9198e74e97d2db6c3f86f tree f2af2677f96339ae550f5c55deb3bb8f259cb854 parent 490d6ab170c94a7a59870f528d765131b8963e79 author Steffen Klassert Fri, 03 Feb 2006 03:03:57 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] 3c59x: collision statistic fix Count the total number of packets with collisions during transmission in vp->stats.collisions. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 490d6ab170c94a7a59870f528d765131b8963e79 tree 909deca0ac2476a839b446de382a4866dccf0196 parent bcc68b8616bcac47dbfc414398e382b3b10faf4c author Zach Brown Fri, 03 Feb 2006 03:03:56 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] list.h: don't evaluate macro args multiple times I noticed that list.h init functions were evaluating macro arguments multiple times and thought it might be nice to protect the unsuspecting caller. Converting the macros to inline functions seems to reduce code size, too. A i386 defconfig build with gcc 3.3.3 from fc4: text data bss dec hex filename 3573148 565664 188828 4327640 4208d8 vmlinux.before 3572177 565664 188828 4326669 42050d vmlinux add/remove: 0/0 grow/shrink: 11/144 up/down: 88/-1016 (-928) There was no difference in checkstack output. Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcc68b8616bcac47dbfc414398e382b3b10faf4c tree b636e8378c1823d75f2f6512cb2eb6c4f52d2dd9 parent 54e8ce463a7e21dbe9dad57723ed47653ee5db15 author Alexey Dobriyan Fri, 03 Feb 2006 03:03:54 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos "[PATCH] m68knommu: fix find_next_zero_bit in bitops.h" fixed a typo in m68knommu implementation of find_next_zero_bit(). grep(1) shows that cris, frv, h8300, v850 are also affected. Signed-off-by: Alexey Dobriyan Cc: Mikael Starvik Cc: David Howells Cc: Yoshinori Sato Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54e8ce463a7e21dbe9dad57723ed47653ee5db15 tree fff09c6b173bfbf1657edad2bca53db9e2f2bb53 parent 501fe31df4bb94999fbe9bb42f05527df5525683 author Keith Owens Fri, 03 Feb 2006 03:03:53 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] Tell kallsyms_lookup_name() to ignore type U entries When one module exports a function symbol and another module uses that symbol then kallsyms shows the symbol twice. Once from the consumer with a type of 'U' and once from the provider with a type of 't' or 'T'. On most architectures, both entries have the same address so it does not matter which one is returned by kallsyms_lookup_name(). But on architectures with function descriptors, the 'U' entry points to the descriptor, not to the code body, which is not what we want. IA64 # grep -w qla2x00_remove_one /proc/kallsyms a000000208c25ef8 U qla2x00_remove_one [qla2300] <= descriptor a000000208bf44c0 t qla2x00_remove_one [qla2xxx] <= function body Tell kallsyms_lookup_name() to ignore type U entries in modules. Signed-off-by: Keith Owens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 501fe31df4bb94999fbe9bb42f05527df5525683 tree 01cf726e2ac5ced909582228156e884b35e367b5 parent cd2d2bf657ef1f376def6f8281202f20800fee7d author Cornelia Huck Fri, 03 Feb 2006 03:03:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: fix to_channelpath macro Fix broken to_channelpath macro (fortunately worked in all current cases...). Signed-off-by: Cornelia Huck Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd2d2bf657ef1f376def6f8281202f20800fee7d tree dcce983ab8bdd4881aecaf5b5435e951014caaab parent 6ff290a0c0dec40eb6f80efbb0ac88f518bbb2a7 author Heiko Carstens Fri, 03 Feb 2006 03:03:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: fix compat syscall wrapper Patch 9ad11ab48b1ad618bf47076e9e579f267f5306c2 changes the type of the first argument of some compat syscalls from int to unsigned int. Add these changes to the s390 compat wrapper as well. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ff290a0c0dec40eb6f80efbb0ac88f518bbb2a7 tree 2104a0923095681204896057429afabd3e700314 parent 6d7bfd14e593455a0801c62db86f82912c52c3a1 author Heiko Carstens Fri, 03 Feb 2006 03:03:51 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: compile fix: missing defines in asm-s390/io.h Compile fix: add missing __raw_read* and __raw_write* defines to include/asm-s390/io.h. These are mandatory since patch c27a0d75b33c030965cc97d3d7f571107a673fb4 was merged. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d7bfd14e593455a0801c62db86f82912c52c3a1 tree 364541b34fcafa5b47d7ee04a930471d969906d0 parent 12c3a54848a6eba2b38cd92ba5925433d223332b author Jan Glauber Fri, 03 Feb 2006 03:03:50 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: timer interface visibility Avoid visibility of kernel internal interface to user space. Signed-off-by: Jan Glauber Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12c3a54848a6eba2b38cd92ba5925433d223332b tree 79f06b7bfc761610d38a2bd27774d691e45ca55f parent d237bf49261ed812a17f7123fea9b80ef673ca0f author Stefan Weinhuber Fri, 03 Feb 2006 03:03:49 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: dasd extended error reporting module The DASD extended error reporting is a facility that allows to get detailed information about certain problems in the DASD I/O. This information can be used to implement fail-over applications that can recover these problems. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d237bf49261ed812a17f7123fea9b80ef673ca0f tree e0ac0c126e5705cc7f9116211994195bfca2d652 parent 75b84e94aa9fa74bda9a393b55ef6778b90eb1a8 author Thibaut VARENE Fri, 03 Feb 2006 03:03:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] ide: restore support for AEC6280M cards in aec62xx.c This patch adds missing initialization sequence, necessary to get the "Macintosh" version of AEC6280 cards to work in Linux. Without this patch, the driver hangs for several minutes trying to initialize the card and the kernel is left in an unstable state. This patch has been tested fine on ppc and i386. Signed-off-by: Thibaut VARENE Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75b84e94aa9fa74bda9a393b55ef6778b90eb1a8 tree 80554e6194e28d5ee4ec99392794f4635bcecba8 parent f434baf4c6ae4a392b7c34843825af0894c89db2 author Martin Michlmayr Fri, 03 Feb 2006 03:03:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] Fix compilation errors in maps/dc21285.c CC drivers/mtd/maps/dc21285.o drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_32': drivers/mtd/maps/dc21285.c:113: error: invalid lvalue in increment drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_16': drivers/mtd/maps/dc21285.c:124: error: invalid lvalue in increment drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_8': drivers/mtd/maps/dc21285.c:134: error: invalid lvalue in increment make[3]: *** [drivers/mtd/maps/dc21285.o] Error 1 Signed-off-by: Martin Michlmayr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f434baf4c6ae4a392b7c34843825af0894c89db2 tree 1b2773fde539d62d3a19ba11ac5828d3fb20340d parent c9ab8b68e2abb1eff7ac0f8d118a8765130b967d author Akinobu Mita Fri, 03 Feb 2006 03:03:46 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] fix generic_fls64() Noticed by Rune Torgersen. Fix generic_fls64(). tcp_cubic is using fls64(). Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9ab8b68e2abb1eff7ac0f8d118a8765130b967d tree f316acae1a19f539bd30437b172de6987d1f4ca0 parent c0c1633bdb844ec5b4ac15c97ab8927d80550c42 author Linas Vepstas Fri, 03 Feb 2006 03:03:45 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Documentation: Updated PCI Error Recovery This patch is a cleanup/restructuring/clarification of the PCI error handling doc. It should look rather professional at this point. Signed-off-by: Linas Vepstas Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0c1633bdb844ec5b4ac15c97ab8927d80550c42 tree 8f70444139c8564c0f1e88e1f33adda036ae6a96 parent 278ff9537030bbb292b33504f5e1f6e0126793eb author Dave Jones Fri, 03 Feb 2006 03:03:44 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Fix build failure in recent pm_prepare_* changes. kernel/power/power.h:49: error: static declaration of 'pm_prepare_console' follows non-static declaration include/linux/suspend.h:46: error: previous declaration of 'pm_prepare_console' was here kernel/power/power.h:50: error: static declaration of 'pm_restore_console' follows non-static declaration include/linux/suspend.h:47: error: previous declaration of 'pm_restore_console' was here Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 278ff9537030bbb292b33504f5e1f6e0126793eb tree 0087828bdf4d9a4fb57c9bcafd068ff058b39797 parent e65cefe87beda627c0bfba39b387ee4bffedc93c author Ananth N Mavinakayanahalli Fri, 03 Feb 2006 03:03:43 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Kprobes: Fix deadlock in function-return probes When two function-return probes are inserted on kfree()[1] and the second on say, sys_link()[2], and later [2] is unregistered, we have a deadlock as kfree is called with the kretprobe_lock held and the function-return probe on kfree will also try to grab the same lock. However, we can move the kfree() during unregistration to outside the spinlock as we are sure that no instances from the free list will be used after synchronized_sched() returns during the unregistration process. Thanks to Masami Hiramatsu for spotting this. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65cefe87beda627c0bfba39b387ee4bffedc93c tree f44c1d29edcfe271261bd1a36ba9ec12db53489e parent 8ed75463b969f72fd724ba0c01107fa443522321 author Adrian Bunk Fri, 03 Feb 2006 03:03:42 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] kernel/kprobes.c: fix a warning #ifndef ARCH_SUPPORTS_KRETPROBES kernel/kprobes.c:353: warning: 'pre_handler_kretprobe' defined but not used Signed-off-by: Adrian Bunk Acked-by: Ananth N Mavinakayanahalli Acked-by: "Keshavamurthy, Anil S" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ed75463b969f72fd724ba0c01107fa443522321 tree 4d14d9a4374ea981e3e3f5e94cc292c392fff222 parent 29fc7e3e70a05e9eea28afb6707a39c1a53e2f66 author NeilBrown Fri, 03 Feb 2006 03:03:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] md: Make sure rdev->size gets set for version-1 superblocks Sometimes it doesn't so make the code more like the version-0 code which works. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29fc7e3e70a05e9eea28afb6707a39c1a53e2f66 tree 4e8bc28c717116ade3cd723a921f3260656327aa parent 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c author NeilBrown Fri, 03 Feb 2006 03:03:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] md: Assorted little md fixes - version-1 superblock + The default_bitmap_offset is in sectors, not bytes. + the 'size' field in the superblock is in sectors, not KB - raid0_run should return a negative number on error, not '1' - raid10_read_balance should not return a valid 'disk' number if ->rdev turned out to be NULL - kmem_cache_destroy doesn't like being passed a NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c tree bc74bef37ecdceed31a15b4aefd1defccecf4a40 parent ab11f89929b785daaa428801bd8b7e65241d7913 author NeilBrown Fri, 03 Feb 2006 03:03:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] md: Handle overflow of mdu_array_info_t->size better mdu_array_info_t->size is 'int', which isn't big enough for the size (in KB of each component in) some arrays. So rather than a random overflow, set size to -1 when it cannot be set correctly. To update aspect on an array, userspace will sometimes: get_array_info change one field set_array_info in this case, we don't want the '-1' in 'size' to change to size, or look like a size change at all. So test for that in update_array_info. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab11f89929b785daaa428801bd8b7e65241d7913 tree 490adc87a0dafd1085ce872818e19285c09c576a parent 1989e20cc1e7491232795f9dac9b745e4329dfd8 author Linas Vepstas Fri, 03 Feb 2006 03:03:38 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] Clean up Documentation/driver-model/overview.txt Edits to the driver-model documentation for grammar, clarity and content. These docs haven't been updated in years, and some of the technical content and discussion has become stale; this patch updates these. In addition, some of the language is awkward. Fix this. (I'm trying to cleanup the other files in this directory also, patches for these will come a bit later). Signed-off-by: Linas Vepstas Acked-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1989e20cc1e7491232795f9dac9b745e4329dfd8 tree 0cc80048b8068bde1088246db3dff3bf42ecf4a7 parent 826eeb53a6f264842200d3311d69107d2eb25f5e author Michal Ostrowski Fri, 03 Feb 2006 03:03:37 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] Fix RocketPort driver Call "ld->receive_buf" using the start of the character and flag buffers, rather than the ends. Signed-off-by: Michal Ostrowski Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dec456d1fe73e0539625f0973ee8ef8fb805943 tree 56d37da8d8e37154030d3f45224ae852195977e6 parent 6e2be3ea4fab4d1c02e369719311e8d7ae6cc7c1 author Stephen Hemminger Thu, 02 Feb 2006 20:40:09 -0800 committer David S. Miller Thu, 02 Feb 2006 20:40:09 -0800 [NET]: Add CONFIG_NETDEBUG to suppress bad packet messages. If you are on a hostile network, or are running protocol tests, you can easily get the logged swamped by messages about bad UDP and ICMP packets. This turns those messages off unless a config option is enabled. Signed-off-by: Stephen Hemminger Acked-by: Dave Jones Signed-off-by: David S. Miller commit 6e2be3ea4fab4d1c02e369719311e8d7ae6cc7c1 tree e8f036af13821f9e5ee5062fa50f3c30a5c4ebee parent 7faa006f94fda56a587242b2a22fa19abf840222 author David S. Miller Thu, 02 Feb 2006 17:29:59 -0800 committer David S. Miller Thu, 02 Feb 2006 17:29:59 -0800 [TG3]: Update driver version and release date. Signed-off-by: David S. Miller commit 7faa006f94fda56a587242b2a22fa19abf840222 tree b1354b391829bc3f1d83fd3121167318f8472147 parent 3f330317ab4973178423aba750d6d0ca5ce0024a author Michael Chan Thu, 02 Feb 2006 17:29:28 -0800 committer David S. Miller Thu, 02 Feb 2006 17:29:28 -0800 [TG3]: Flush tg3_reset_task() Make sure tg3_reset_task() is flushed in the close and suspend paths as noted by Jeff Garzik. In the close path, calling flush_scheduled_work() may cause deadlock if linkwatch_event() is on the workqueue. linkwatch_event() will try to get the rtnl_lock() which is already held by tg3_close(). So instead, we set a flag in tg3_reset_task() and tg3_close() polls the flag until it is cleared. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3f330317ab4973178423aba750d6d0ca5ce0024a tree 177b1a3f213410bc526fda0cdb1b0568ea282d82 parent f00c401b9b5f0a90e2eb05705f5988fbda0b082b author Pablo Neira Ayuso Thu, 02 Feb 2006 17:15:41 -0800 committer David S. Miller Thu, 02 Feb 2006 17:15:41 -0800 [TEXTSEARCH]: Fix broken good shift array calculation in Boyer-Moore The current logic does not calculate correctly the good shift array: Let x be the pattern that is being searched. Let y be the block of data. The good shift array aligns the segment: x[i+1 ... m-1] = y[i+j+1 ... j+m-1] with its rightmost occurrence in x that fulfils x[i] neq y[i+j]. In previous version, the good shift array for the pattern ANPANMAN is: [1, 8, 3, 8, 8, 8, 8, 8] and should be: [1, 8, 3, 6, 6, 6, 6, 6] Signed-off-by: Pablo Neira Ayuso Signed-off-by: David S. Miller commit f00c401b9b5f0a90e2eb05705f5988fbda0b082b tree 0ab0be0da08318dd87b5c9190247f6381ceb0abb parent 95f7daf1c058dc6afbc2d33b6a65ce1bae132dc8 author Horms Thu, 02 Feb 2006 17:03:18 -0800 committer David S. Miller Thu, 02 Feb 2006 17:03:18 -0800 [IPV4]: Remove suprious use of goto out: in icmp_reply This seems to be an artifact of the follwoing commit in February '02. e7e173af42dbf37b1d946f9ee00219cb3b2bea6a In a nutshell, goto out and return actually do the same thing, and both are called in this function. This patch removes out. Signed-Off-By: Horms Signed-off-by: David S. Miller commit 95f7daf1c058dc6afbc2d33b6a65ce1bae132dc8 tree 47b6d056cba5339643ac39775864aeb904f0f848 parent 6f4b6ec1cffcbb12cc47244381496d59b6a5a790 author Horms Thu, 02 Feb 2006 17:02:25 -0800 committer David S. Miller Thu, 02 Feb 2006 17:02:25 -0800 [IPV4]: Document icmp_errors_use_inbound_ifaddr sysctl Taken largely from the commit of the patch that added this feature: 1c2fb7f93cb20621772bf304f3dba0849942e5db I'm not sure about the ordering of the options in sysctl.txt, so I took a wild guess about where it fits. Signed-Off-By: Horms Signed-off-by: David S. Miller commit 6f4b6ec1cffcbb12cc47244381496d59b6a5a790 tree d43bba50024fcbe32faae70a5574aba45f2709ab parent f8addb3215bf58154f189017d934dfc06b62c75e author Herbert Xu Thu, 02 Feb 2006 17:01:13 -0800 committer David S. Miller Thu, 02 Feb 2006 17:01:13 -0800 [IPV6]: Fix illegal dst locking in softirq context. On Tue, Jan 31, 2006 at 10:24:32PM +0100, Ingo Molnar wrote: > > [] _write_lock+0x8/0x10 > [] inet6_destroy_sock+0x25/0x100 > [] tcp_v6_destroy_sock+0x12/0x20 > [] inet_csk_destroy_sock+0x4a/0x150 > [] tcp_rcv_state_process+0xd4c/0xdd0 > [] tcp_v4_do_rcv+0xa9/0x340 > [] tcp_v4_rcv+0x8eb/0x9d0 OK this is definitely broken. We should never touch the dst lock in softirq context. Since inet6_destroy_sock may be called from that context due to the asynchronous nature of sockets, we can't take the lock there. In fact this sk_dst_reset is totally redundant since all IPv6 sockets use inet_sock_destruct as their socket destructor which always cleans up the dst anyway. So the solution is to simply remove the call. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit f8addb3215bf58154f189017d934dfc06b62c75e tree 408ad5d1eac85858c44b68b957ae235a4ce41eed parent 27852c26baab8b95fc9a2b3e8a18770ecd553f10 author Herbert Xu Thu, 02 Feb 2006 16:59:16 -0800 committer David S. Miller Thu, 02 Feb 2006 16:59:16 -0800 [IPV4] multipath_wrandom: Fix softirq-unsafe spin lock usage The spin locks in multipath_wrandom may be obtained from either process context or softirq context depending on whether the packet is locally or remotely generated. Therefore we need to disable BH processing when taking these locks. This bug was found by Ingo's lock validator. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 27852c26baab8b95fc9a2b3e8a18770ecd553f10 tree f07d3c696598ce6e7181ee30344bce899971e062 parent 4641e7a334adf6856300a98e7296dfc886c446af author Vlad Yasevich Thu, 02 Feb 2006 16:57:31 -0800 committer David S. Miller Thu, 02 Feb 2006 16:57:31 -0800 [SCTP]: Fix 'fast retransmit' to send a TSN only once. SCTP used to "fast retransmit" a TSN every time we hit the number of missing reports for the TSN. However the Implementers Guide specifies that we should only "fast retransmit" a given TSN once. Subsequent retransmits should be timeouts only. Also change the number of missing reports to 3 as per the latest IG(similar to TCP). Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 4641e7a334adf6856300a98e7296dfc886c446af tree 39030c280f6fbfa183c2ce5a0db37118ce5a7810 parent 42c5e15f18d63c1ecf79d52bdaf4ea31cd22416d author Herbert Xu Thu, 02 Feb 2006 16:55:45 -0800 committer David S. Miller Thu, 02 Feb 2006 16:55:45 -0800 [IPV6]: Don't hold extra ref count in ipv6_ifa_notify Currently the logic in ipv6_ifa_notify is to hold an extra reference count for addrconf dst's that get added to the routing table. Thus, when addrconf dst entries are taken out of the routing table, we need to drop that dst. However, addrconf dst entries may be removed from the routing table by means other than __ipv6_ifa_notify. So we're faced with the choice of either fixing up all places where addrconf dst entries are removed, or dropping the extra reference count altogether. I chose the latter because the ifp itself always holds a dst reference count of 1 while it's alive. This is dropped just before we kfree the ifp object. Therefore we know that in __ipv6_ifa_notify we will always hold that count. This bug was found by Eric W. Biederman. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 42c5e15f18d63c1ecf79d52bdaf4ea31cd22416d tree 1f93d1430321312857a93157276aa94c2b5db14d parent 1113a7e92e483074c6235da59460759e33b9b144 author Stephen Hemminger Thu, 02 Feb 2006 16:53:26 -0800 committer David S. Miller Thu, 02 Feb 2006 16:53:26 -0800 [NET] snap: needs hardware checksum fix The SNAP code pops off it's 5 byte header, but doesn't adjust the checksum. This would cause problems when using device that does IP over SNAP and hardware receive checksums. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 7c6c66362941df847957766ad133ff5fde67579c tree d9f548837ca949603aef0d25739fff514e631e2f parent 9a52bbed905fa41ca10f4db2e845b588f0fdfbef author Robin Holt Thu, 02 Feb 2006 12:30:21 -0600 committer Tony Luck Thu, 02 Feb 2006 13:37:46 -0800 [IA64-SGI] Fix XPC code which sleeps with spin_lock_irqsave(). During some testing, we got a warning about trying to allocate memory while holding a lock. This fixes that problem. Signed-off-by: Robin Holt Acked-by: Dean Nelson Signed-off-by: Tony Luck commit 9a52bbed905fa41ca10f4db2e845b588f0fdfbef tree 6caee8f97528a14af745d50a7cec452342d96d5f parent 2fcc3db0ccee9b47df7a4f732e6624f4f643c035 author Jes Sorensen Thu, 02 Feb 2006 05:50:05 -0500 committer Tony Luck Thu, 02 Feb 2006 13:36:50 -0800 [IA64-SGI] include/asm-ia64/sn/intr.h more sn2 housekeeping House keeping - eliminate unneeded parenthesis in macro defines. Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 2fcc3db0ccee9b47df7a4f732e6624f4f643c035 tree ead470915fdf782c1357ddc07baac22ec4136a6e parent 41db6112a5558bd09c8ec5b0e61566db11f0d86d author Jes Sorensen Thu, 02 Feb 2006 05:15:51 -0500 committer Tony Luck Thu, 02 Feb 2006 13:35:59 -0800 [IA64-SGI] sn2 housekeeping Maintenance patch: - Add missing __init calls - Do not zero initialize global variables - No need to typecast function call returns to void - Some formatting Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 41db6112a5558bd09c8ec5b0e61566db11f0d86d tree 9d17f274bc6bc9737c911bc0010fec790d7b7892 parent a58786917ce23c2a26c3e099c3cdba32a35eeceb parent 466575f4e975db1207c5e1a7be34aeaec6ddba1e author Tony Luck Thu, 02 Feb 2006 13:30:59 -0800 committer Tony Luck Thu, 02 Feb 2006 13:30:59 -0800 Pull sgi-drivers-makefile-cleanup into release branch commit a58786917ce23c2a26c3e099c3cdba32a35eeceb tree 4740de51febbe16934d24d94cb80432a7547cb26 parent af14aca90e0cdfccd71f9947c45b6ea2cf321dcb author Bjorn Helgaas Mon, 30 Jan 2006 16:32:31 -0700 committer Tony Luck Thu, 02 Feb 2006 13:25:54 -0800 [IA64] avoid broken SAL_CACHE_FLUSH implementations If SAL_CACHE_FLUSH drops interrupts, complain about it and fall back to using PAL_CACHE_FLUSH instead. This is to work around a defect in HP rx5670 firmware: when an interrupt occurs during SAL_CACHE_FLUSH, SAL drops the interrupt but leaves it marked "in-service", which leaves the interrupt (and others of equal or lower priority) masked. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit af14aca90e0cdfccd71f9947c45b6ea2cf321dcb tree fe071a17a7c08b6f4ca4b80e3643a97d640bcf20 parent a80dcc0b9660b01a2cc1c0faa8f6095970f38730 author Kyle McMartin Sat, 28 Jan 2006 00:02:52 -0500 committer Tony Luck Thu, 02 Feb 2006 13:23:55 -0800 [IA64] Remove stale comment from ia64/Kconfig Somehow I doubt this comment is meant to be here anymore... It's been floating after the L1_CACHE_SHIFT entry since before Linux moved to bitkeeper. Signed-off-by: Kyle McMartin Signed-off-by: Tony Luck commit a80dcc0b9660b01a2cc1c0faa8f6095970f38730 tree 6daa36d0ba71642872e775de6d39a61146a89ffd parent 689388bbf8c5c1966b6a67fa427299f90cf83b99 author Mark Maule Fri, 27 Jan 2006 13:59:07 -0600 committer Tony Luck Thu, 02 Feb 2006 13:23:02 -0800 [IA64-SGI] disable msi for all altix pci devices Temporary patch to make pci_enable_msi() fail gracefully on altix. Will be removed after 2.6.16 releases and the msi abstraction patches start flowing. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 689388bbf8c5c1966b6a67fa427299f90cf83b99 tree c6d84992dbdba3705ece5e9f2cd512e59503d771 parent f8efa27662532ad5adb2790bfc3f4c78e019cfad author Mark Maule Fri, 27 Jan 2006 11:55:34 -0600 committer Tony Luck Thu, 02 Feb 2006 13:22:15 -0800 [IA64-SGI] fix smp_affinity redirection when using CONFIG_PCI_MSI Redirecting interrupts using smp_affinity on altix does not work on kernels built with CONFIG_PCI_MSI. The problem is that move_irq() turns into a noop if MSI is built in. This patch calls move_native_irq() instead of move_irq() to get around that. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit f8efa27662532ad5adb2790bfc3f4c78e019cfad tree 848c4935674ed965256ef328a6b69316ebad6a8c parent df080e7c94c8f4b8334614159fa079aaeece5670 author Chen, Kenneth W Thu, 26 Jan 2006 18:24:59 -0800 committer Tony Luck Thu, 02 Feb 2006 13:20:42 -0800 [IA64] remove staled comments in asm/system.h With the recent optimization made to wrap_mmu_context function, we don't hold tasklist_lock anymore when wrapping context id. The comments in asm/system.h must fall through the crack earlier. Remove staled comments. I believe it is still beneficial to unlock the runqueue lock across context switch. So leave __ARCH_WANT_UNLOCKED_CTXSW on. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit ddef9bb367b19383df627e388cb4c01c86ddba6c tree 6cb2b3315ee11037c92971255638b340e69a849f parent b4103333d7904310d34de18d85e51e3d74f00a3b author Jeff Garzik Thu, 02 Feb 2006 16:17:06 -0500 committer Jeff Garzik Thu, 02 Feb 2006 16:17:06 -0500 [libata sata_mv] do not enable PCI MSI by default Several bug reports have come in, noting that disabling CONFIG_PCI_MSI has fixed their problems with this driver. This may be generic system issues, but there is also the probability of unimplemented hardware errata workarounds. Until this ream of bug reports is sorted out, we can get them going in non-MSI interrupt mode. As such, this change adds an 'msi' module option, which defaults to off. commit df080e7c94c8f4b8334614159fa079aaeece5670 tree a2108d6db9a3b7d2124645bd63bb025ef3c8a5e4 parent 0271fc2db6260dd46f196191e24281af2fddb879 parent 61a34a024fcd61ef7207405b2e4cef2c073b220c author Tony Luck Thu, 02 Feb 2006 13:16:29 -0800 committer Tony Luck Thu, 02 Feb 2006 13:16:29 -0800 Pull update-tlbflush-sn into release branch commit 9c0f4755bd5a117595761c95b93c29e8d9ca07b5 tree 33737024ea3ad4dd9d1cfe4a043fb947f00059db parent 3ec9c59449744dcc390d593a017d30671546fd9e author Atsushi Nemoto Thu, 02 Feb 2006 20:53:39 +0000 committer Russell King Thu, 02 Feb 2006 20:53:39 +0000 [SERIAL] initialize spinlock for port failed to setup console It seems serial_core intend to initialize port->lock just once for each ports. This is done in uart_set_options() for console, and in uart_add_one_port() for other ports. But there is a case the port->lock is not initialized by serial_core. If the setup function for the console was failed, it will not call uart_set_options() but the port is marked as console (uart_console(port) returns 1). It can happen if console was PCI port which can not detected at the time of register_console. This patch is to initialize port->lock for such console port. With this change, most of spin_lock_init() (some of them are labeled "Temporary fix.") in low-level serial drivers can be omitted. Signed-off-by: Atsushi Nemoto Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 3ec9c59449744dcc390d593a017d30671546fd9e tree c478df4c56fcf92ae614463542b27b6f40f7a6a1 parent b4103333d7904310d34de18d85e51e3d74f00a3b author Andrey Panin Thu, 02 Feb 2006 20:15:09 +0000 committer Russell King Thu, 02 Feb 2006 20:15:09 +0000 [SERIAL] SIIG 8-port serial boards support This patch adds support for SIIG 8-port boards. These boards have 4 ports in separate bars and another 4 ports in the single bar. Because of this strange port arrangement these cards need special setup function. Fortunately no other SIIG cards have more than 4 port, so this setup function could be used for them too. Signed-off-by: Andrey Panin Signed-off-by: Russell King commit e92251762d02a46177d4105d1744041e3f8bc465 tree 4696c14854b2a5f3982a613fed63e01d941727f3 parent a6df590dd8b7644c8e298e3b13442bcd6ceeb739 author Russell King Thu, 02 Feb 2006 12:23:12 +0000 committer Russell King Thu, 02 Feb 2006 12:23:12 +0000 [MMC] Add MMC command type flags Some hosts need to know the command type, so pass it via a set of flags in cmd->flags. Signed-off-by: Russell King commit 83f755f5a66a5393c3ae8925719fde0c740ac04e tree 077f98ab5fe9a9af548a5efbe1b67730c193ad9f parent 0ca5bc3de715f6e031d44ffecdd2d127891eccf5 author Lucas Correia Villa Real Wed, 01 Feb 2006 21:24:24 +0000 committer Russell King Wed, 01 Feb 2006 21:24:24 +0000 [ARM] 3286/2: S3C2400 - adds to the table of supported CPUs Patch from Lucas Correia Villa Real Oops, sorry for the typo on name_s3c2400, a new patch is attached. About GSTATUS1, S3C2400 doesn't have that register, so it's not safe to use that memory address to identify its CPU. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit 0ca5bc3de715f6e031d44ffecdd2d127891eccf5 tree ec963c52b7c60d1cd6862798f5bdfce87387082b parent 7610dfa3723e87705964b29db9775620d96bf618 author Lucas Correia Villa Real Wed, 01 Feb 2006 21:24:23 +0000 committer Russell King Wed, 01 Feb 2006 21:24:23 +0000 [ARM] 3284/1: S3C2400 - adds support to GPIO Patch from Lucas Correia Villa Real This patch adds support to GPIO on the S3C2400, which is going to be used by the GP32 machine and the SMDK2400 development board. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 7610dfa3723e87705964b29db9775620d96bf618 tree 14e05b6c04bd4d0971320d425a30cd71d72a4866 parent 18afea04f1dfc5d52fd2579cd17adc3956acd4ad author Russ Dill Wed, 01 Feb 2006 21:07:28 +0000 committer Russell King Wed, 01 Feb 2006 21:07:28 +0000 [ARM] 3295/1: Fix oprofile init return value Patch from Russ Dill The oprofile init code was broken in commit c6b9da. The new logic will always return -ENODEV. This fixes oprofile_arch_init to return 0 on success, and return the return value of spec->init() if applicable. Signed-off-by: Russ Dill Signed-off-by: Russell King commit 371e8bc2af11b0571982390932bc07b5ffed9aba tree bf474e4de38792fc48833f26cabff286c0f50573 parent 8351538db6613f40089789ec90e1b58304eb7ffd author Francois Romieu Tue, 31 Jan 2006 01:04:33 +0100 committer Francois Romieu Wed, 01 Feb 2006 22:04:37 +0100 8139too: fix a TX timeout watchdog thread against NAPI softirq race Ingo's stealth lock validator detected that both thread acquire dev->xmit_lock and tp->rx_lock in reverse order. Signed-off-by: Francois Romieu commit 8351538db6613f40089789ec90e1b58304eb7ffd tree e52f19bff0847a2aa5a35d23588efd7df61a79e0 parent 726ecdcf688314aa8d4a4841f5f126c2cb4ecbf5 author Alexey Dobriyan Mon, 30 Jan 2006 01:23:56 +0100 committer Francois Romieu Wed, 01 Feb 2006 22:03:54 +0100 dscc4: fix dscc4_init_dummy_skb check It returns a pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: Francois Romieu commit 18afea04f1dfc5d52fd2579cd17adc3956acd4ad tree 45b56a2a6c16662bfd135637295798a9fba3ac69 parent 8a052e0bc25ff52f17b3dff150846ca9eb969162 author Nicolas Pitre Wed, 01 Feb 2006 19:26:01 +0000 committer Russell King Wed, 01 Feb 2006 19:26:01 +0000 [ARM] 3294/1: don't invalidate individual BTB entries on ARMv6 Patch from Nicolas Pitre Doing so adds a much larger cost to the loop than the cost implied by simply invalidating the whole BTB at once. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8a052e0bc25ff52f17b3dff150846ca9eb969162 tree 607355bc9ce1ac2d6f5611287cf89fa473d48d02 parent 62500d1f8eadff078cca462dc4df035a29180383 author Nicolas Pitre Wed, 01 Feb 2006 19:26:01 +0000 committer Russell King Wed, 01 Feb 2006 19:26:01 +0000 [ARM] 3293/1: don't invalidate the whole I-cache with xscale_coherent_user_range Patch from Nicolas Pitre The mini I-cache issue is valid only for kernel space since debuggers would not fly if they used user space addresses for their stubs. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 62500d1f8eadff078cca462dc4df035a29180383 tree 774ad280d77841292b0fb7bd1fe6f99251aa38c2 parent afe5df208e6ecd09b7d1acf36eb2cf945842bee5 author Richard Purdie Wed, 01 Feb 2006 19:26:00 +0000 committer Russell King Wed, 01 Feb 2006 19:26:00 +0000 [ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum() Patch from Richard Purdie ip_fast_csum() accesses memory via a pointer (iph) within an asm function. To prevent memory corruption when the function is inlined, it needs "memory" on the clobber list. This fixes ip checksum errors reported by a Zaurus user. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit afe5df208e6ecd09b7d1acf36eb2cf945842bee5 tree 8724b581df17f8c9bbfd38563788845335a77e8f parent f27f218cdfb12c9d2b285ec4a0bce588b5c531d3 author Richard Purdie Wed, 01 Feb 2006 19:25:59 +0000 committer Russell King Wed, 01 Feb 2006 19:25:59 +0000 [ARM] 3291/1: PXA27x: Correct get_clk_frequency_khz turbo flag handling Patch from Richard Purdie The turbo flag is in bit 0 of the CLKCFG register, not bit 1. This patch corrects this so get_clk_frequency_khz returns a correct value. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f27f218cdfb12c9d2b285ec4a0bce588b5c531d3 tree 38e2663bb2cfe2f4af663b837288d6d6b069bafb parent a6df590dd8b7644c8e298e3b13442bcd6ceeb739 author Catalin Marinas Wed, 01 Feb 2006 19:25:58 +0000 committer Russell King Wed, 01 Feb 2006 19:25:58 +0000 [ARM] 3290/1: Fix the FIFO size detection Patch from Catalin Marinas AACI reports TX FIFO full after the first write to it if the AC97 is not enabled. This patch enables the AC97 probing before the check for the TX FIFO size. The patch also adds a warning if the TX FIFO size is not multiple of 16. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 638e174688f58200d0deb7435093435e7d737b09 tree a2cd32dbb41daf0a5d4e69eff1805fd5574c292a parent 8d58d773b745950ac912e028b3c81f4902fbf91d parent d195ea4b1456192abe780fd773778cbe9f6d77ea author Mauro Carvalho Chehab Tue, 31 Jan 2006 18:49:28 -0200 committer Mauro Carvalho Chehab Tue, 31 Jan 2006 18:49:28 -0200 Merge branch 'origin' commit 726ecdcf688314aa8d4a4841f5f126c2cb4ecbf5 tree 60135898b5f8b584bcb4925b450b2f1b4b60ac38 parent 2371408c021f961b92fd2c42480cfddc9c6254f0 author Andy Gospodarek Tue, 31 Jan 2006 19:16:52 +0100 committer Francois Romieu Tue, 31 Jan 2006 19:16:52 +0100 r8169: fix forced-mode link settings Allow the r8169 driver to set devices to be full-duplex only when auto-negotiate is disabled. Signed-off-by: Andy Gospodarek Signed-off-by: Francois Romieu commit 68ee3eb8295c9c164071fcbd367c419121bd55f8 tree 63fa7c1e4637042f0da3b43b996d714e3f1ff2cc parent a2ba82cd7de281721a875a73a5a5894882760fab author Kyle McMartin Sun, 29 Jan 2006 20:25:49 -0700 committer Kyle McMartin Mon, 30 Jan 2006 00:53:14 -0500 [PARISC] New syscalls (inotify, *at, pselect6/ppoll, migrate_pages) Wire up some new syscalls that have been merged upstream, o inotify o openat et al o pselect6/ppoll o migrate_pages Signed-off-by: Kyle McMartin commit a2ba82cd7de281721a875a73a5a5894882760fab tree dd38f58c17a6a6b0630bbff13d8efeeae9979dad parent f671c45df23005692daa200aba768c642fb14ef2 author Kyle McMartin Fri, 27 Jan 2006 23:59:36 -0700 committer Kyle McMartin Sun, 29 Jan 2006 19:33:40 -0500 [PARISC] Simplify DISCONTIGMEM in Kconfig parisc was previously displaying both the mm/Kconfig memory model menu, and its own prompt. Remove prompt and have CONFIG_64BIT toggle between DISCONTIGMEM and FLATMEM. Also remove the EXPERIMENTAL from discontigmem support... It's been running fine for months (years?) now. Signed-off-by: Kyle McMartin commit 2371408c021f961b92fd2c42480cfddc9c6254f0 tree a3a1af14f9048a3492faf1ce044caea5236f84e1 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Francois Romieu Sun, 29 Jan 2006 00:49:09 +0100 committer Francois Romieu Sun, 29 Jan 2006 00:49:09 +0100 r8169: prevent excessive busy-waiting The MII registers read/write function blindly busy waits for an amount of 1000 us (1 ms), then up to 200 ms. These functions are called from irq disabled context. Depending on the clock management, it triggers lost ticks events. Since the value is way above the standard delay required for mii register access, it strangely looks like a bandaid against posted writes. Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5947 Signed-off-by: Francois Romieu commit 51e9f2ff83df6b1c81c5c44f4486c68ed87aa20e tree e6f54581c145ad1849bc1b2e4c3dbd2ccead405b parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jeff Garzik Fri, 27 Jan 2006 16:50:27 -0500 committer Jeff Garzik Fri, 27 Jan 2006 16:50:27 -0500 [libata sata_sil] implement 'slow_down' module parameter On occasion, a user will submit a patch that enables the "mod15write" quirk for their device. Enabling this quirk has the effect of clamping all ATA commands to no more than 15 sectors. The intended use of this quirk is to stop the controller from generating FIS's of unusual size ("but Wesley, what about the FOUS's?"), which in turn works around problems in a of hard drives. One side effect of this quirk is greatly decreased performance. Users often enable the mod15write quirk to fix various system, power, chip, and/or driver problems. For a few rare problematic cases, enabling this has cured lockups or data corruption. Rather than add bogus listings to the mod15write quirk list (I get a patch every month doing such), we add a 'slow_down' module parameter. This allows users to employ a performance sledgehammer in the hopes of curing a problem. It defaults to off (0), of course. commit 8d58d773b745950ac912e028b3c81f4902fbf91d tree ed04341c3b426823982237a204d0d112c3eb6d64 parent a54dfd2ce03446a180e5fb7c30e8a5307f276567 author Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 committer Mauro Carvalho Chehab Fri, 27 Jan 2006 16:33:00 -0200 V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email - V4L/DVB Maintainers list changed. This patch alters the email to the new address. Signed-off-by: Mauro Carvalho Chehab Acked-By: Johannes Stezenbach commit 61a34a024fcd61ef7207405b2e4cef2c073b220c tree bd4b43256189c4656a838311d69e49183b4d676a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jack Steiner Thu, 26 Jan 2006 15:03:41 -0800 committer Tony Luck Thu, 26 Jan 2006 15:03:41 -0800 [IA64-SGI] Update TLB flushing code for SN platform This patch finishes support for SHUB2 (the new chipset). Most of the changes are performance related. A few changes are workarounds for "interesting" chipset features. Some temporary debugging code has also been deleted. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 466575f4e975db1207c5e1a7be34aeaec6ddba1e tree 37c0053f75f824d2df33c6f9962d6b4b102c1c8c parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jes Sorensen Thu, 19 Jan 2006 04:54:00 -0500 committer Tony Luck Thu, 26 Jan 2006 13:22:03 -0800 [PATCH] drivers/sn/ must be entered for CONFIG_SGI_IOC3 Actually I think this is more appropriate so we don't end up with 17 cases that add drivers/sn to the build lib. Include drivers/sn when CONFIG_IA64_SGI_SN2 or CONFIG_IA64_GENERIC is enabled. Acked-by: Dave Jones Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 103ec0910d6b9401b7f72ba3ac71fed88306d2d0 tree f55019b6236cdde4dca5b176495265e8096f0a9b parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Keith Owens Wed, 18 Jan 2006 15:38:14 +1100 committer Tony Luck Thu, 26 Jan 2006 13:17:34 -0800 [IA64-SGI] Recursive flags do not work for selective builds arch/ia64/sn/Makefile sets CPPFLAGS, expecting that setting to propogate to all the subdirectories. For a normal build with its recursive descent it does work, but doing a selective build like 'make arch/ia64/sn/kernel/io_init.i' does not do a recursive descent, it goes directly to arch/ia64/sn/kernel/Makefile so the flags do not get set. To support selective builds, set the flags in all the subordinate Makefiles. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit a54dfd2ce03446a180e5fb7c30e8a5307f276567 tree 3c771a347f0ca2fb69aa5e47639efb980ace695c parent 805f123d5026ed1e4c01c3ed4f7c23ca663ac727 author Michael Krufky Thu, 26 Jan 2006 04:37:19 -0200 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:41:57 -0200 V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c - allow tristate build for cx88-vp3054-i2c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 805f123d5026ed1e4c01c3ed4f7c23ca663ac727 tree 7d9adae1a946bc59763743b61cd63167440ffc77 parent 65f17ee28ef497f437ee82700dde2908ec7f6271 author Jiri Slaby Tue, 24 Jan 2006 13:15:06 -0800 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:41:32 -0200 V4L/DVB (3439a): media video stradis memory fix memset clears once set structure, there is actually no need for memset, because configure function do it for us. Next, vfree(NULL) is legal, so avoid useless labels. Thanks Dave Jones for reporting this. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 65f17ee28ef497f437ee82700dde2908ec7f6271 tree 5c697f12e878708257d88f3fb09d685147996f4f parent 608268b2d3e593897b4480311c8c633d9fd1dddf author Markus Rechberger Mon, 23 Jan 2006 10:02:35 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:32:02 -0200 V4L/DVB (3434): changed comment in tuner-core.c - changed comment in tuner-core.c Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 608268b2d3e593897b4480311c8c633d9fd1dddf tree e2fa1100d67c50f70160ba2251af76ada6a72ec7 parent 3875818f832f568b1755d8a0ba20166cae5cd414 author Randy Dunlap Mon, 23 Jan 2006 10:01:59 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:32:02 -0200 V4L/DVB (3433): Fix printk type warning - Fix printk type warning: drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t' Signed-off-by: Randy Dunlap Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3875818f832f568b1755d8a0ba20166cae5cd414 tree 3b2a900dd7833ddc6b03335006c89d720d965a3d parent c73e4486bca4108cdc2dcc080306af4d7d75c1db author Michael Krufky Mon, 23 Jan 2006 09:59:19 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:30 -0200 V4L/DVB (3431): fixed spelling error, exectuted --> executed. - fixed spelling error, exectuted --> executed. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit c73e4486bca4108cdc2dcc080306af4d7d75c1db tree bccc3c18499ce8e674defccc5893e84f663ad9dc parent a22a68653d46caba4b6d22c111beba794ab5bae0 author Markus Rechberger Mon, 23 Jan 2006 09:58:32 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:29 -0200 V4L/DVB (3429): Missing break statement on tuner-core - default_tuner_init was called twice due to a missing break statement. Signed-off-by: Markus Rechberger Acked-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a22a68653d46caba4b6d22c111beba794ab5bae0 tree 538fe1a941456bf04f6580c8bb30d127ae7f4dca parent 20c40878e40581d847adc93d2b23411b5c3028fc author Adrian Bunk Mon, 23 Jan 2006 09:58:17 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:28 -0200 V4L/DVB (3428): drivers/media/dvb/ possible cleanups - Make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 20c40878e40581d847adc93d2b23411b5c3028fc tree ca1d6bb46d15cc0b774dc6ad6e7ae26c8c63d36b parent aad99f39bd6e2cd45d19d12fd5af9e5577186553 author Mike Isely Mon, 23 Jan 2006 09:54:33 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:28 -0200 V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887 - The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit aad99f39bd6e2cd45d19d12fd5af9e5577186553 tree a247d9fd2ed297a7d6cf3986b71d35ee18d31890 parent 1bacb9f3aa327202ef779a1a073d5162148bf4d7 author Michael Krufky Mon, 23 Jan 2006 09:54:12 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:27 -0200 V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option. - make VP-3054 Secondary I2C Bus Support a Kconfig option. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 1bacb9f3aa327202ef779a1a073d5162148bf4d7 tree b15486bf68277a62688e99165843dea5060a94fc parent f69b5d9b7ba26af63807f57a00d86c9a124bdca8 author Ian Pickworth Mon, 23 Jan 2006 09:53:35 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:27 -0200 V4L/DVB (3416): Recognise Hauppauge card #34519 - Recognise Hauppauge card #34519 Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f69b5d9b7ba26af63807f57a00d86c9a124bdca8 tree 22bf32ba82f108e7d5328e0985447af899318e23 parent 46365f3c15c93706df2cc19fa1a38902d8b29e85 author Michael Krufky Mon, 23 Jan 2006 09:52:57 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:27 -0200 V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv - rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 46365f3c15c93706df2cc19fa1a38902d8b29e85 tree 2f508abcb411a2bf86f2dee624bc9b37d71249d4 parent de7e8d78fca428c205ec1f81c0083570ec479c4e author Michael Krufky Mon, 23 Jan 2006 09:52:39 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:26 -0200 V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module - Kill nxt2002 module in favor of nxt200x. - Repair broken nxt2002 support in the nxt200x module. - Make the flexcop driver use nxt200x instead of the nxt2002 module for the Air2PC 2nd generation PCI card. - Remove the nxt2002 module from cvs and kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit de7e8d78fca428c205ec1f81c0083570ec479c4e tree 52a0d51ee9c6e309cda4ab3538b24d9e2f772485 parent bd7db9790038c25e1726c93e2e88667f1d58c108 author Peter Missel Mon, 23 Jan 2006 09:51:17 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:26 -0200 V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's - Mark Typhoon cards as OEM of Lifeview. Signed-off-by: Peter Missel Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit bd7db9790038c25e1726c93e2e88667f1d58c108 tree 4d6493b46f9f7855d7feccdb639806660d02bf27 parent e94785c9a1da97495129dfa18f5db27870adc115 author Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:25 -0200 V4L/DVB (3405): Fixes tvp5150a/am1 detection. - Tvp5150 type were determined by a secondary register instead of using ROM code. - tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal). All other ROM versions are reported as unknown tvp5150. - Except for reporting, current code doesn't enable any special feature for tvp5150am1 or tvp5150a. Code should work for both models (but were tested only for tvp5150am1). Signed-off-by: Mauro Carvalho Chehab commit e94785c9a1da97495129dfa18f5db27870adc115 tree c2cb86d97dda6229fc3df56f2bfcd38e16a8a81d parent 2ecdd76e9bac4c0d2e934ab153793afafadaaa62 author Adrian Bunk Mon, 23 Jan 2006 09:48:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:25 -0200 VIDEO_CX88_ALSA must select SND_PCM - VIDEO_CX88_ALSA must select SND_PCM Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2ecdd76e9bac4c0d2e934ab153793afafadaaa62 tree b5142ce2d36912acd26c5a296c7ddc6b794ac68e parent 9a610033977886d5d62e8b86a16956f30bdd30bd author Hans Verkuil Mon, 23 Jan 2006 09:47:40 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:24 -0200 V4L/DVB (3403): Add probe check for the tda9840. - Add probe check for the tda9840 to prevent misdetection of a Micronas dpl3518a as a tda9840. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 9a610033977886d5d62e8b86a16956f30bdd30bd tree dc8f786845756ffb0b8ccd835080c4d08b8a7cd0 parent 5a880279dc89cb9771dabc0d19b7f4341b8c7983 author Michael Krufky Tue, 17 Jan 2006 03:50:23 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:24 -0200 V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. - Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5a880279dc89cb9771dabc0d19b7f4341b8c7983 tree 925711acb28b20201f286c749ffa42e6b751fb7b parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:19 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:06:19 -0200 V4L/DVB (3406): Added credits for em28xx-video.c - Added credits for sn9c102 kernel module and his author as some parts of em28xx-video were based. Acked-by: Luca Risolia Acked-by: Markus Rechberger Acked-by: Ludovico Cavedon Acked-by: Sascha Sommer Signed-off-by: Mauro Carvalho Chehab commit f671c45df23005692daa200aba768c642fb14ef2 tree fbc882669f06171cd1a8be2ad7b99f062a6e1e57 parent 16541c8745e28f62b3dcb6cb354b73c9c01ea178 author Kyle McMartin Sun, 15 Jan 2006 14:10:29 -0500 committer Kyle McMartin Sun, 22 Jan 2006 20:57:42 -0500 [PARISC] Arch-specific compat signals Add enough arch-specific compat signals code to enable parisc64 to compile and boot out of the mainline tree. There are likely still many dragons here, but this is a start to squashing the last big difference between the mainline tree and the parisc-linux tree. The remaining bugs can be squashed as they come up. Signed-off-by: Kyle McMartin commit 16541c8745e28f62b3dcb6cb354b73c9c01ea178 tree 6ac1bd2fec52c395a4e2809736b14cc366726725 parent 81a3de3efd61c2483a303cf0b6227525d2f28df7 author Kyle McMartin Sat, 21 Jan 2006 21:55:06 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:57 -0500 [PARISC] Clean up printk in superio.c Clean up some of the messages printed by the superio driver by defining a prefix instead of duplicating it in every message. Also some small coding style cleanups. Signed-off-by: Kyle McMartin commit 81a3de3efd61c2483a303cf0b6227525d2f28df7 tree 038a7c16bab46260fa2e9cce6890ab4e042fc332 parent 1bcdd8548286743e1d6b3d53c96a90c6da975620 author Helge Deller Sun, 15 Jan 2006 12:11:50 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:55 -0500 [PARISC] Use DEBUG_KERNEL to catch used-after-free __init data Use CONFIG_DEBUG_KERNEL to catch kernel code which tries to access __init data after it is freed. When CONFIG_DEBUG_KERNEL is not set this also cleans up a WARN_ON at boot time. Also remove some dead code from mm/init.c Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 1bcdd8548286743e1d6b3d53c96a90c6da975620 tree b244aa416992bbd06c4153ec2c97022629826ef2 parent a2bb214dcd1db862fdb6421e21f1cff0c3535162 author Helge Deller Fri, 13 Jan 2006 13:21:06 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:54 -0500 [PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data Add the parisc version of the "mark rodata section read only" patches. Based on code from and Signed-off-by Arjan van de Ven , Ingo Molnar , Andi Kleen , Andrew Morton , Linus Torvalds . Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit a2bb214dcd1db862fdb6421e21f1cff0c3535162 tree 9b02ac6c10ebe82d47fbffc8b990808fa8919274 parent 85509c00073d4bdd1f4b7796180a15198f2e62da author Matthew Wilcox Tue, 17 Jan 2006 11:43:48 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:52 -0500 [PARISC] Remove {,un}lock_kernel from perf ioctl Remove the lock_kernel/unlock_kernel pair in the ioctl method. It plainly wasn't protecting anything. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 85509c00073d4bdd1f4b7796180a15198f2e62da tree 0249b9515dac45bd2adb645e05706eee0ef807e3 parent 526110f8c8d2326413e2de5496d196ee9d4856ad author Kyle McMartin Tue, 17 Jan 2006 22:33:32 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:50 -0500 [PARISC] Add chassis_power_off routine Define a chassis_power_off routine that machines which have a way to turn off the power supply can hook into. Formerly they were using pm_power_off, which is now being used by generic code. Make lasi.c use chassis_power_off instead of pm_power_off. Note, all machines need to call machine_power_off so that the switch can power off the machine, though halt -p may not necessarily be able to work properly on the machine. Signed-off-by: Kyle McMartin commit 526110f8c8d2326413e2de5496d196ee9d4856ad tree f233775851b14064d3ec942a5d32515f16df4175 parent 9073315bbc3e2149d8ffcc4b86932ca6497c94ce author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:48 -0500 [PARISC] Remove obsolete _hlt cruft Remove a bunch of obsolete code from process.c, these routines were likely imported from the i386 version of process.c when the port started. The routines are only used in floppy.c, which I seriously doubt will ever work on parisc, due to architectural assumptions. Signed-off-by: Kyle McMartin commit 9073315bbc3e2149d8ffcc4b86932ca6497c94ce tree 830ef74fc9ca5be7019fece4cdd586d9f3926856 parent 2e13b31e5b0ff0b1f1e3359ebf8ca46c356e9391 author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:46 -0500 [PARISC] Move pm_power_off export to process.c Move the EXPORT_SYMBOL() of pm_power_off from parisc_ksyms.c to the location of its definition in process.c Signed-off-by: Kyle McMartin commit 2e13b31e5b0ff0b1f1e3359ebf8ca46c356e9391 tree f6bbc910ab5df736eb979ee5178f611f33f686b1 parent 96629c0b111dbb31d14338a55b7f650e9c490284 author Kyle McMartin Tue, 17 Jan 2006 08:33:01 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:44 -0500 [PARISC] atomic64 support Implement atomic64_t so atomic_long_t works on parisc. Also clean up some of the coding style in atomic.h, and make sure ATOMIC_INIT is cast properly. Signed-off-by: Kyle McMartin commit 96629c0b111dbb31d14338a55b7f650e9c490284 tree d60fb9813eb0f6a0bfa528eccf1d16d2a696fabb parent 10992092a8a6e445199f30e56789322851479019 author Helge Deller Sun, 15 Jan 2006 11:52:22 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:43 -0500 [PARISC] Clean up compiler warning in pci.c Avoid compiler warning for unused variables on 32bit kernels by conditionalizing the local variables on CONFIG_64BIT. PCI_HOST_ADDR() only uses the hba argument on 64bit compiles. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 10992092a8a6e445199f30e56789322851479019 tree 22bee56057fd82642b641e0c2ae72bb7d0f2508d parent 370361f884c032216ece841ac5328393b136f0bb author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:41 -0500 [PARISC] Use F_EXTEND() for COMMAND_GLOBAL Instead of wrapping the define of COMMAND_GLOBAL in #ifdef __LP64__ use the F_EXTEND() macro defined in asm/io.h, which is the preferred way of extending mmio space addresses for either 32 or 64 bit machines. Signed-off-by: Kyle McMartin commit 370361f884c032216ece841ac5328393b136f0bb tree acc941df08f10c51bae4a976d1ba93585de3c389 parent c475eea2929a7f0dac21d20e10562a491fcf7c45 author James Bottomley Wed, 11 Jan 2006 15:11:30 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:39 -0500 [PARISC] Fix floating point invalid exception trap handler Fix our trap handler to issue the correct floating point exception for both types of invalid trap. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit c475eea2929a7f0dac21d20e10562a491fcf7c45 tree c26fc757139765e338181f52e3b3d4177f969ea1 parent c742842223269eb8eb4b86ac05ad07e6e156526b author Helge Deller Sun, 15 Jan 2006 12:11:50 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:37 -0500 [PARISC] Drop unused do_check_pgt_cache() Drop the unused do_check_pgt_cache routine from mm/init.c and its prototype in asm/pgalloc.h Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit c742842223269eb8eb4b86ac05ad07e6e156526b tree 8d851f54bde748f33ba5be4b0d23189fa696a652 parent 2c9aadabf454fb07b8f7533096e22bf005dd08df author Thibaut VARENE Wed, 11 Jan 2006 13:59:53 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:35 -0500 [PARISC] pdc_stable version 0.22 pdc_stable v0.22, changes since v0.10: o renamed root subsystem from 'pdc' to 'stable' o split 'info' into several files, one per PDC field o implemented 'autoboot' and 'autosearch' write calls to toggle these flags o grant read permission to all users on "safe" files o more code cleanup (removed duplicate code) o avoid bad stable storage clobbering by write locking critical sections o print consistent data as well o SMP cleanups Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 2c9aadabf454fb07b8f7533096e22bf005dd08df tree fdc041a98022f348808aab1084b3ef2a39c71ee8 parent cb6fc18e9ca615f03d18e60c49855b434ca2e51e author Grant Grundler Thu, 19 Jan 2006 23:38:03 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:34 -0500 [PARISC] Remove unnecessary extern declarations from asm/pci.h Remove two unnecessary extern declarations from asm/pci.h. They collide with what gcc4.0 assumed was static (and should be static). Found by Joel Soete. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit cb6fc18e9ca615f03d18e60c49855b434ca2e51e tree c35af13054f8eeb7a24c928edf55fdc69c912562 parent a1c744439591b1d4350f0926615d501e7cfbb708 author Helge Deller Tue, 17 Jan 2006 12:40:40 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:31 -0500 [PARISC] Use kzalloc and other janitor-style cleanups Helge, o Convert a bunch of kmalloc/memset uses to kzalloc. o pci.c: Add some __read_mostly annotations. o pci.c: Move constant pci_post_reset_delay to asm/pci.h o grfioctl.h: Add A4450A to comment of CRT_ID_VISUALIZE_EG. o Add some consts to perf.c/perf_images.h Matthew, o sticore.c: Add some consts to suppress compile warnings. Signed-off-by: Helge Deller Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit a1c744439591b1d4350f0926615d501e7cfbb708 tree 3c1f1bd9a3e8f876233d05f247a922246a6ed0df parent ce33941f027bc1853ceb43d04d6204f45181703d author Matthew Wilcox Tue, 17 Jan 2006 11:05:35 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:29 -0500 [PARISC] Update b180_defconfig Update b180_defconfig to be more usable on other similar machines. Enabling Lasi 82596, Harmony, Mux console, CCIO, HPPB, etc., means this config is suitable for not only BXXX machines, but also CXXX and JXXX class machines. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit ce33941f027bc1853ceb43d04d6204f45181703d tree 3c55fe5a797f5e128a748d0c7a133b1fca03a384 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Matthew Wilcox Tue, 10 Jan 2006 20:47:49 -0500 committer Kyle McMartin Sat, 21 Jan 2006 20:46:31 -0500 [PARISC] Make flush_tlb_all_local take a void * Make flush_tlb_all_local take a void * so it doesn't have to be cast when using on_each_cpu(). This becomes a problem when on_each_cpu is a macro. Also remove the prototype of flush_tlb_all_local from .c files. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 8c7f75d3257fe466b34abf290c8b177c106c3769 tree 92657537cd517085fe10d727d3b2f006b20a3528 parent aa6ba2faec346a3f59bf4130060108e6433ad907 author Sam Ravnborg Sat, 21 Jan 2006 12:07:56 +0100 committer Sam Ravnborg Sat, 21 Jan 2006 12:07:56 +0100 kbuild: fix build with O=.. .kernelrelease was saved in same directory as kernel source also with make O=... Make sure we kick in the normal logic to shift to the output directory when we build .kernelrelease after executing *config. Signed-off-by: Sam Ravnborg --- commit aa6ba2faec346a3f59bf4130060108e6433ad907 tree 4d83469fd44405e1023aa104eaec3db61a4727a6 parent 3835f82183eab8b67ddda6b32c127859a546c82d author Al Viro Thu, 19 Jan 2006 19:03:15 +0000 committer Sam Ravnborg Sat, 21 Jan 2006 12:04:14 +0100 cris: asm-offsets related build failure fallout from "kbuild: cris use generic asm-offsets.h support" - symlink target was wrong Signed-off-by: Al Viro Signed-off-by: Sam Ravnborg commit 3835f82183eab8b67ddda6b32c127859a546c82d tree 25d3e5179e13548b034213c54ed0a17db448e9b2 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Sam Ravnborg Sat, 21 Jan 2006 12:03:09 +0100 committer Sam Ravnborg Sat, 21 Jan 2006 12:03:09 +0100 kconfig: fix /dev/null breakage While running "make menuconfig" and "make mrproper" some people experienced that /dev/null suddenly changed permissions or suddenly became a regular file. The main reason was that /dev/null was used as output to gcc in the check-lxdialog.sh script and gcc did some strange things with the output file; in this case /dev/null when it errorred out. Following patch implements a suggestion from Bryan O'Sullivan to use gcc -print-file-name=libxxx.so. Also the Makefile is adjusted to not resolve value of HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used. This prevents us from calling gcc when running make *clean/mrproper Thanks to Eyal Lebedinsky and Jean Delvare for the first error reports. Signed-off-by: Sam Ravnborg --- commit 837e9594fc3cb9a06bddd7ecf66151334a2e13d2 tree 25361ce95b3fd1c0cf79e1b656c12feea7b6f744 parent 0f36b018b2e314d45af86449f1a97facb1fbe300 author Ingo Molnar Sat, 14 Jan 2006 16:18:45 +0100 committer Paul Mackerras Fri, 20 Jan 2006 16:01:15 +1100 [PATCH] sem2mutex: drivers/macintosh/windfarm_core.c semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Paul Mackerras