commit e9bb4c9929a63b23dcc637fae312b36b038bdc61 Author: Linus Torvalds Date: Sun Feb 12 16:27:25 2006 -0800 Linux v2.6.16-rc3 commit 0d541064e8f58858e11cd34d81b6e83617f6eb4a Author: Andi Kleen Date: Sun Feb 12 14:34:59 2006 -0800 [PATCH] x86_64: GART DMA merging fix Don't touch the non DMA members in the sg list in dma_map_sg in the IOMMU Some drivers (in particular ST) ran into problems because they reused the sg lists after passing them to pci_map_sg(). The merging procedure in the K8 GART IOMMU corrupted the state. This patch changes it to only touch the dma* entries during merging, but not the other fields. Approach suggested by Dave Miller. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a65d17c9d27a85782cfe1bbc36c747ffa1f81814 Author: John Blackwood Date: Sun Feb 12 14:34:58 2006 -0800 [PATCH] arch/x86_64/kernel/traps.c PTRACE_SINGLESTEP oops We found a problem with x86_64 kernels with preemption enabled, where having multiple tasks doing ptrace singlesteps around the same time will cause the system to 'oops'. The problem seems that a task can get preempted out of the do_debug() processing while it is running on the DEBUG_STACK stack. If another task on that same cpu then enters do_debug() and uses the same per-cpu DEBUG_STACK stack, the previous preempted tasks's stack contents can be corrupted, and the system will oops when the preempted task is context switched back in again. The typical oops looks like the following: Unable to handle kernel paging request at ffffffffffffffae RIP: {thread_return+34} PGD 103027 PUD 102429067 PMD 0 Oops: 0002 [1] PREEMPT SMP CPU 0 Modules linked in: Pid: 3786, comm: ssdd Not tainted 2.6.15.2 #1 RIP: 0010:[] {thread_return+34} RSP: 0018:ffffffff80824058 EFLAGS: 000136c2 RAX: ffff81017e12cea0 RBX: 0000000000000000 RCX: 00000000c0000100 RDX: 0000000000000000 RSI: ffff8100f7856e20 RDI: ffff81017e12cea0 RBP: 0000000000000046 R08: ffff8100f68a6000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff81017e12cea0 R12: ffff81000c2d53e8 R13: ffff81017f5b3be8 R14: ffff81000c0036e0 R15: 000001056cbfc899 FS: 00002aaaaaad9b00(0000) GS:ffffffff80883800(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: ffffffffffffffae CR3: 00000000f6fcf000 CR4: 00000000000006e0 Process ssdd (pid: 3786, threadinfo ffff8100f68a6000, task ffff8100f7856e20) Stack: ffffffff808240d8 ffffffff8012a84a ffff8100055f6c00 0000000000000020 0000000000000001 ffff81000c0036e0 ffffffff808240b8 0000000000000000 0000000000000000 0000000000000000 Call Trace: <#DB> {try_to_wake_up+985} {kick_process+87} {signal_wake_up+48} {specific_send_sig_info+179} {_spin_unlock_irqrestore+27} {force_sig_info+159} {do_debug+289} {sync_regs+103} {paranoid_userspace+35} Unable to handle kernel paging request at 00007fffffb7d000 RIP: {show_trace+465} PGD f6f25067 PUD f6fcc067 PMD f6957067 PTE 0 Oops: 0000 [2] PREEMPT SMP This patch disables preemptions for the task upon entry to do_debug(), before interrupts are reenabled, and then disables preemption before exiting do_debug(), after disabling interrupts. I've noticed that the task can be preempted either at the end of an interrupt, or on the call to force_sig_info() on the spin_unlock_irqrestore() processing. It might be better to attempt to code a fix in entry.S around the code that calls do_debug(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f6da52aeff1fd7272ff5082552a39c050565b57 Author: Jesse Allen Date: Sun Feb 12 14:34:56 2006 -0800 [PATCH] orinoco: support smc2532w The orinoco wireless driver can support the SMC 2532W-B PC Card, so add the id for it. Signed-off-by: Jesse Allen Cc: Pavel Roskin Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89edc3d2b429136a0e25f40275fd82dc58f147fd Author: Jeff Mahoney Date: Sun Feb 12 14:34:55 2006 -0800 [PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes Unfortunately, the reiserfs_attrs_cleared bit in the superblock flag can lie. File systems have been observed with the bit set, yet still contain garbage in the stat data field, causing unpredictable results. This patch backs out the enable-by-default behavior. It eliminates the changes from: d50a5cd860ce721dbeac6a4f3c6e42abcde68cd8, and ef5e5414e7a83eb9b4295bbaba5464410b11e030. Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c791925da0e6108cda15e3c2c7bfaebcd9ab9cf Author: Jesper Juhl Date: Sun Feb 12 14:34:53 2006 -0800 [PATCH] netfilter: fix build error due to missing has_bridge_parent macro net/bridge/br_netfilter.c: In function `br_nf_post_routing': net/bridge/br_netfilter.c:808: warning: implicit declaration of function `has_bridge_parent' Signed-off-by: Jesper Juhl Cc: Harald Welte Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19bf9cbf6b313ae79a0c7278ccaa9c72c86931bd Author: Heiko Carstens Date: Sun Feb 12 12:35:03 2006 +0100 [PATCH] s390: fstatat64 support Add fstatat64 support to s390 in order to follow changes with commit cff2b760096d1e6feaa31948e7af4abbefe47822 . Also fixes compilation for 31 bit. Signed-off-by: Heiko Carstens Signed-off-by: Linus Torvalds commit a7122f916978a6cd58b765949cb315aabcddf151 Author: Wim Van Sebroeck Date: Mon Jan 9 22:07:22 2006 +0100 [WATCHDOG] pcwd.c - update module version info Update the module version defines. Signed-off-by: Wim Van Sebroeck commit af3b38d99d7d52340cf59a06ff90d90e0fa25b6d Author: Wim Van Sebroeck Date: Mon Jan 9 22:03:41 2006 +0100 [WATCHDOG] pcwd.c show card info patch Put all code for showing the card's boot info in one sub-routine. Signed-off-by: Wim Van Sebroeck commit 85875211acc94ecb76fe04fbebc6aca12b6da60d Author: Wim Van Sebroeck Date: Mon Jan 9 21:59:39 2006 +0100 [WATCHDOG] pcwd.c move get_support to pcwd_check_temperature_support Rename get_support function to pcwd_check_temperature_support so that it is clearer what the function does. Signed-off-by: Wim Van Sebroeck commit 8f0235dccc3f7bffc32abcef2aec3d1b15c61927 Author: Wim Van Sebroeck Date: Mon Jan 9 21:56:09 2006 +0100 [WATCHDOG] pcwd.c Control Status #2 patch Add Control Status #2 bits (with defines) Signed-off-by: Wim Van Sebroeck commit a2be8786006ec0d21dcb1d322fc480b85ea82c66 Author: Wim Van Sebroeck Date: Mon Jan 9 21:53:33 2006 +0100 [WATCHDOG] pcwd.c private data struct patch more private data of the card to one struct. Signed-off-by: Wim Van Sebroeck commit f1c3a0567aa5086e755e58385740f9ece911c06e Author: Wim Van Sebroeck Date: Sat Dec 10 14:36:24 2005 +0100 [WATCHDOG] pcwd.c card_found-- fix. When doing a __devexit from a card we should also decrement the cards_found counter. Signed-off-by: Wim Van Sebroeck commit fd41fa616f21efc36eb80696475ceb33ea047a6a Author: Wim Van Sebroeck Date: Sat Dec 10 14:22:37 2005 +0100 [WATCHDOG] pcwd.c add comments + tabs add extra comments for the include files changes spaces by tabs where it is appropriate. Signed-off-by: Wim Van Sebroeck commit 3a69e5791379a7c7d23c531a7679428300bb5072 Author: Ian Campbell Date: Mon Nov 7 10:21:24 2005 +0000 [WATCHDOG] sa1100_wdt.c sparse clean (2) The following makes drivers/char/watchdog/sa1100_wdt.c sparse clean. (similar to the other watchdog drivers) Signed-off-by: Ian Campbell Signed-off-by: Wim Van Sebroeck commit bc6d7fdf460ec5292d66bb551dbfa49ca682bebf Author: Andrew Morton Date: Sat Feb 11 17:56:08 2006 -0800 [PATCH] fbdev: video_setup() warning fix drivers/video/fbmem.c:1567: warning: 'video_setup' defined but not used Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc7fc0601b3eb2254f080492f3fd69e319ed32d0 Author: Antonino A. Daplas Date: Sat Feb 11 17:56:07 2006 -0800 [PATCH] nvidiafb: Add support for Geforce4 MX 4000 Add support for Geforce4 MX 4000 (0x185) Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 891e5e5edaf13216f9f4c2710aebd066b1d98583 Author: Adrian Bunk Date: Sat Feb 11 17:56:05 2006 -0800 [PATCH] drivers/video/Kconfig: remove unused BUS_I2C option The BUS_I2C option is neither available (since there is no VISWS option in the kernel) nor does it have any effect - so why not remove it? Based on a report by Jean-Luc Leger . Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d30883942cfe8a1e3f88f8b7f4c292aeba3db5a Author: Andrew Morton Date: Sat Feb 11 17:56:05 2006 -0800 [PATCH] tipar fixes - tipar_open(): fix unsigned comparison - tipar_open(): don't permit NULL pardevice (probably unneeded given the above fix). - tipar_init_module(): handle the situation where parport_register_driver() failed to register any devices (parport_register_driver() drops the ->attach return value on the floor). This probably makes fixes #1 and #2 unneeded. - tipar_init_module(): fix various error-path resource leaks. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef1bea9e2a5a72d2c3362522e0a09099406732ff Author: Eric Paris Date: Sat Feb 11 17:56:04 2006 -0800 [PATCH] s390: remove one set of brackets in __constant_test_bit() Right now in __constant_test_bit for the s390 there is an extra set of () surrounding the calculation. This patch simply removes one set of () that is surrounding the whole clause. Signed-off-by: Eric Paris Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0defa3c19e7792001df09d6fa5ab461d3599ff6d Author: Heiko Carstens Date: Sat Feb 11 17:56:03 2006 -0800 [PATCH] s390: add #ifdef __KERNEL__ to asm-s390/setup.h Based on a patch from Maximilian Attems . Nothing in asm-s390/setup.h is of interest for user space. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7684277f6882a23cfb734cb7450c3a469e6e8b1 Author: Heiko Carstens Date: Sat Feb 11 17:56:02 2006 -0800 [PATCH] s390: add support for unshare system call Add support for unshare system call. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a386fba2516b5404864647906219ced57bf2f2b7 Author: Heiko Carstens Date: Sat Feb 11 17:56:01 2006 -0800 [PATCH] s390: fix non smp build of kexec Add missing smp_cpu_not_running define to avoid build warnings in the non smp case. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5238da45f345898a8bfcd14e53b0431fcee36a04 Author: Heiko Carstens Date: Sat Feb 11 17:56:01 2006 -0800 [PATCH] s390: update maintainers file Update URL for s390 and add maintainers for s390 networking and zfcp driver. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9733e2407ad2237867cb13c04e7d619397fa3090 Author: Heiko Carstens Date: Sat Feb 11 17:56:00 2006 -0800 [PATCH] s390: earlier initialization of cpu_possible_map Initiliazing of cpu_possible_map was done in smp_prepare_cpus which is way too late. Therefore assign a static value to cpu_possible_map, since we don't have access to max_cpus in setup_arch. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25fab9ebac445d57b656f5faabac5a195bed2f82 Author: Peter Oberparleiter Date: Sat Feb 11 17:55:59 2006 -0800 [PATCH] s390: fix sclp memory corruption in tty pages list When the sclp interface takes very long to serve a request, the sclp core driver will report a failed request to the sclp tty driver even though the request is still being processed by the sclp interface. Eventually the sclp interface completes the request and updates some fields in the request buffer which leads to a corrupted tty pages list. The next time function sclp_tty_write_room is called, the corrupted list will be traversed, resulting in an oops. To avoid this remove the busy retry limit and increase retry intervals. Signed-off-by: Peter Oberparleiter Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6f3601a7275216c48c2635f46b388d970901bb9 Author: Heiko Carstens Date: Sat Feb 11 17:55:58 2006 -0800 [PATCH] s390: update default configuration Switch on CONFIG_DEBUG_FS again. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c48d865c50e8626372a52094385fb1f5a2d2a7fd Author: Cornelia Huck Date: Sat Feb 11 17:55:57 2006 -0800 [PATCH] s390: fix locking in __chp_add() and s390_subchannel_remove_chpid() Fix locking in __chp_add() and s390_subchannel_remove_chpid(): Need to disable/enable because they are always called from a thread (and not directly from a machine check...) Signed-off-by: Cornelia Huck Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0cdf1935cf328730fa068e0f39a22e6149555aa Author: Ingo Molnar Date: Sat Feb 11 17:55:56 2006 -0800 [PATCH] x86: print out early faults via early_printk() Lost a few hours debugging an early-bootup fault within printk itself, which manifested itself as a hard to debug early hang. This patch makes it much easier by printing out early faults via early_printk(), which function is a lot simpler than a full printk, and hence more likely to succeed in emergencies. (We do not recover from early faults anyway, so there's no loss from not having these messages in the normal printk buffer.) Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2903fb1694dcb08a3c1d9d823cfae7ba30e66cd3 Author: Christoph Lameter Date: Sat Feb 11 17:55:55 2006 -0800 [PATCH] vmscan: skip reclaim_mapped determination if we do not swap This puts the variables and the way to get to reclaim_mapped in one block. And allows zone_reclaim or other things to skip the determination (maybe this whole block of code does not belong into refill_inactive_zone()?) Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 072eaa5d9cc3e63f567ffd9ad87b36194fdd8010 Author: Christoph Lameter Date: Sat Feb 11 17:55:54 2006 -0800 [PATCH] vmscan: remove duplicate increment of reclaim_in_progress shrink_zone() already increments reclaim_in_progress. No need to do it in balance_pgdat. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80e4342601abfafacb5f20571e40b56d73d10819 Author: Christoph Lameter Date: Sat Feb 11 17:55:53 2006 -0800 [PATCH] zone reclaim: do not check references to a page during zone reclaim shrink_list() and refill_inactive() check all ptes pointing to a page for reference bits in order to decide if the page should be put on the active list. This is not necessary for zone_reclaim since we are only interested in removing unmapped pages. Skip the checks in both functions. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 643a654540579b0dcc7a206a4a7475276a41aff0 Author: Andrew Morton Date: Sat Feb 11 17:55:52 2006 -0800 [PATCH] select: fix returned timeval With David Woodhouse select() presently has a habit of increasing the value of the user's `timeout' argument on return. We were writing back a timeout larger than the original. We _deliberately_ round up, since we know we must wait at _least_ as long as the caller asks us to. The patch adds a couple of helper functions for magnitude comparison of timespecs and of timevals, and uses them to prevent the various poll and select functions from returning a timeout which is larger than the one which was passed in. The patch also fixes a bug in compat_sys_pselect7(): it was adding the new timeout value to the old one and was returning that. It should just return the new timeout value. (We have various handy timespec/timeval-to-from-nsec conversion functions in time.h. But this code open-codes it all). Cc: "David S. Miller" Cc: Andi Kleen Cc: Ulrich Drepper Cc: Thomas Gleixner Cc: george anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33042a9ff4d126ba944b9dc3076665a2029e0a34 Author: Chris McDermott Date: Sat Feb 11 17:55:50 2006 -0800 [PATCH] x86-64: Fix HPET timer on x460 [description from AK] The IBM Summit 3 chipset doesn't implement the HPET timer replacement option. Since the current Linux code relies on it use a mixed mode with both PIT for the interrupt and HPET counters for the time keeping. That was already implemented, but didn't work properly because it was still using the last interrupt offset in HPET. This resulted in x460 not booting. Fix this up by using the free running HPET counter. Shouldn't affect any other machine because they either use full HPET mode or no HPET at all. TBD needs a similar 32bit fix. Signed-off-by: Andi Kleen Cc: Pallipadi, Venkatesh" Cc: Bob Picco Cc: Bjorn Helgaas Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e00d82d07fb112446586d225763d3572e64b7abf Author: Matt Waddel Date: Sat Feb 11 17:55:48 2006 -0800 [PATCH] Add wording to m68k .S files to help clarify license info Acked-by: Alan Cox Signed-off-by: Matt Waddel Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cff2b760096d1e6feaa31948e7af4abbefe47822 Author: Ulrich Drepper Date: Sat Feb 11 17:55:47 2006 -0800 [PATCH] fstatat64 support The *at patches introduced fstatat and, due to inusfficient research, I used the newfstat functions generally as the guideline. The result is that on 32-bit platforms we don't have all the information needed to implement fstatat64. This patch modifies the code to pass up 64-bit information if __ARCH_WANT_STAT64 is defined. I renamed the syscall entry point to make this clear. Other archs will continue to use the existing code. On x86-64 the compat code is implemented using a new sys32_ function. this is what is done for the other stat syscalls as well. This patch might break some other archs (those which define __ARCH_WANT_STAT64 and which already wired up the syscall). Yet others might need changes to accomodate the compatibility mode. I really don't want to do that work because all this stat handling is a mess (more so in glibc, but the kernel is also affected). It should be done by the arch maintainers. I'll provide some stand-alone test shortly. Those who are eager could compile glibc and run 'make check' (no installation needed). The patch below has been tested on x86 and x86-64. Signed-off-by: Ulrich Drepper Cc: Christoph Hellwig Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e19816808346cc1619733532a267a11dce8f8a12 Author: Ben Dooks Date: Fri Feb 10 22:40:51 2006 +0000 [ARM] 3326/1: H1940 - Control latches Patch from Ben Dooks Define the bits for the two board control latches that control various items on the H1940 iPAQ. Signed-off-by: Ben Dooks Signed-off-by: Arnaud Patard Signed-off-by: Russell King commit fd401aee6273e869e2711de498e28f5208184797 Author: Russell King Date: Fri Feb 10 21:50:43 2006 +0000 [SERIAL] Remove incorrect code from ioc4 serial driver Serial drivers in general should not write uart_info->flags - they're private to serial_core. Serial drivers have no need to fiddle with tty->alt_speed, nor manipulate TTY_IO_ERROR in tty->flags. Fix the ioc4 serial driver for both these points by simply removing the offending code. Acked-by: pfg@sgi.com Signed-off-by: Russell King commit 21b4da78c941f292f6daf87abb562d6285216e51 Author: Dave Jones Date: Fri Feb 10 16:27:11 2006 -0500 [PATCH] Fix s390 build failure. arch/s390/kernel/compat_signal.c:199: error: conflicting types for 'do_sigaction' include/linux/sched.h:1115: error: previous declaration of 'do_sigaction' was here Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 418aade459f03318defd18ef0b11981a63bd81b0 Author: Christoph Lameter Date: Fri Feb 10 01:51:15 2006 -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 Author: Paul Fulghum Date: Fri Feb 10 01:51:14 2006 -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 Author: Ravikiran G Thirumalai Date: Fri Feb 10 01:51:13 2006 -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 Author: KAMEZAWA Hiroyuki Date: Fri Feb 10 01:51:12 2006 -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 Author: Jan Beulich Date: Fri Feb 10 01:51:11 2006 -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 Author: Andrew Morton Date: Fri Feb 10 01:51:08 2006 -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 Author: Andreas Gruenbacher Date: Fri Feb 10 01:51:07 2006 -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 Author: Heiko Carstens Date: Fri Feb 10 01:51:06 2006 -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 Author: Haren Myneni Date: Fri Feb 10 01:51:05 2006 -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 Author: Jesper Juhl Date: Fri Feb 10 01:51:03 2006 -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 Author: Nick Piggin Date: Fri Feb 10 01:51:02 2006 -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 00adbf62bd16f6527e046b422349a54d783a3d86 Author: Kumar Gala Date: Mon Jan 16 10:53:22 2006 -0600 [PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE for embedded boards Embedded boards that u-boot require a kernel image in the uImage format. This allows a given board to specify it wants a uImage built by default. This also fixes a warning at config time, as this symbol is referred to in arch/powerpc/platforms/83xx/Kconfig. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit ad71f123a9e9b809f6c829db1222ce0423a1153c Author: Becky Bruce Date: Tue Feb 7 13:44:08 2006 -0600 [PATCH] powerpc: Add FSL USB node to documentation Updated the documentation to include the definition of the USB device node format for Freescale SOC devices. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b37ce281d729181b9862c4e3e112f9b5eea74ac9 Author: JANAK DESAI Date: Tue Feb 7 12:59:11 2006 -0800 [PATCH] powerpc: unshare system call registration Registers system call for the powerpc architecture. Signed-off-by: Janak Desai Cc: Al Viro Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Benjamin Herrenschmidt Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8568daa49063fd84b52b9e22b4e2422417b4d483 Author: Paul Mackerras Date: Fri Feb 10 16:02:20 2006 +1100 ppc: Use the system call table from arch/powerpc/kernel/systbl.S With this, new system calls only have to be wired up in one place for ARCH=ppc and ARCH=powerpc, rather than 2. Signed-off-by: Paul Mackerras commit bab1deea308afcf9200837d6ac20aefe92972efb Author: Stephen Hemminger Date: Thu Feb 9 17:10:12 2006 -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 Author: Stephen Hemminger Date: Thu Feb 9 17:09:38 2006 -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 Author: Stephen Hemminger Date: Thu Feb 9 17:08:52 2006 -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 6fcf9412de64056238a6295f21db7aa9c37a532e Author: John Heffner Date: Thu Feb 9 17:06:57 2006 -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 Author: David Binderman Date: Thu Feb 9 16:59:48 2006 -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 Author: Samuel Ortiz Date: Thu Feb 9 16:58:46 2006 -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 Author: Alexey Kuznetsov Date: Thu Feb 9 16:40:58 2006 -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 Author: Alexey Kuznetsov Date: Thu Feb 9 16:40:11 2006 -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 9ac95f2f90e022c16d293d7978faddf7e779a1a9 Author: Oleg Nesterov Date: Thu Feb 9 22:41:50 2006 +0300 [PATCH] do_sigaction: cleanup ->sa_mask manipulation Clear unblockable signals beforehand. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit c70d3d703ad94727dab2a3664aeee33d71e00715 Author: Oleg Nesterov Date: Thu Feb 9 22:41:41 2006 +0300 [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 Author: Heiko Carstens Date: Thu Feb 9 15:09:15 2006 -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 a94746461765dae41fb82e4dac027d14af4d80d8 Author: Hidetoshi Seto Date: Thu Feb 9 14:42:55 2006 -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 Author: Tony Luck Date: Thu Feb 9 14:41:41 2006 -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 Author: Prarit Bhargava Date: Thu Feb 9 14:14:52 2006 -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 Author: Prarit Bhargava Date: Thu Feb 9 14:12:24 2006 -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 b514d3192736563dee3f4ba4b659558b3cadc7f7 Author: Lucas Correia Villa Real Date: Thu Feb 9 16:47:58 2006 +0000 [ARM] 3314/1: S3C2400 - adds s3c2400.h Patch from Lucas Correia Villa Real This patch adds s3c2400.h, fixing the build for the 2410/2440 platforms. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 15508d22d00277a1f2a1022dce38f2772c810d32 Author: Linus Torvalds Date: Thu Feb 9 08:00:14 2006 -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 9908104935325bd6beba67d637b6f5396d47075c Author: Kristian Slavov Date: Wed Feb 8 16:10:53 2006 -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 Author: Andi Kleen Date: Thu Feb 9 00:35:50 2006 +0100 [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 Author: Janak Desai Date: Wed Feb 8 15:43:38 2006 -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 be92cbb99654f02a49edbeda84f17e8d61727518 Author: Jordan Crouse Date: Wed Feb 8 22:23:05 2006 +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 Author: Tony Lindgren Date: Wed Feb 8 22:06:47 2006 +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 Author: Tony Lindgren Date: Wed Feb 8 22:06:46 2006 +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 Author: Tony Lindgren Date: Wed Feb 8 22:06:45 2006 +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 Author: Ben Dooks Date: Wed Feb 8 22:03:31 2006 +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 Author: Yoichi Yuasa Date: Wed Feb 8 21:46:24 2006 +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 Author: Ralf Baechle Date: Wed Feb 8 21:43:03 2006 +0000 [SERIAL] ip22zilog: Whitespace cleanup. Signed-off-by: Ralf Baechle Signed-off-by: Russell King commit 76a55431cc7237f018c7c667860d60e2b6427bf1 Author: Vitaly Bordug Date: Wed Feb 8 21:40:13 2006 +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 Author: Jordan Crouse Date: Wed Feb 8 21:36:28 2006 +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 Author: Kumar Gala Date: Wed Feb 8 21:34:35 2006 +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 Author: Lucas Correia Villa Real Date: Wed Feb 8 21:31:54 2006 +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 Author: Catalin Marinas Date: Wed Feb 8 21:19:39 2006 +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 Author: Nicolas Pitre Date: Wed Feb 8 21:19:38 2006 +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 Author: Nicolas Pitre Date: Wed Feb 8 21:19:37 2006 +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 Author: Nicolas Pitre Date: Wed Feb 8 21:19:37 2006 +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 Author: Nicolas Pitre Date: Wed Feb 8 21:19:36 2006 +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 Author: Russell King Date: Wed Feb 8 21:09:55 2006 +0000 [ARM] Experimental config options should have (EXPERIMENTAL) Signed-off-by: Russell King commit 61c484d41f0e5fb44f9a32cd3352734a04aae3ef Author: Nicolas Pitre Date: Wed Feb 8 21:09:08 2006 +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 Author: Ben Dooks Date: Wed Feb 8 21:09:07 2006 +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 Author: Martin Michlmayr Date: Wed Feb 8 21:09:07 2006 +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 Author: Martin Michlmayr Date: Wed Feb 8 21:09:05 2006 +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 Author: Ben Dooks Date: Wed Feb 8 21:09:05 2006 +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 Author: Lennert Buytenhek Date: Wed Feb 8 21:09:04 2006 +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 Author: Lennert Buytenhek Date: Wed Feb 8 21:09:03 2006 +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 Author: Lennert Buytenhek Date: Wed Feb 8 21:09:02 2006 +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 Author: Jes Sorensen Date: Wed Feb 8 10:19:28 2006 -0500 [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 b887d3f2c63543dce1a0825e41be3a8d3ebef78d Author: Atsushi Nemoto Date: Thu Feb 9 00:57:44 2006 +0900 [MIPS] Add 'const' to readb and friends Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- commit be6e518b625a90e84d26371f722474e239c01e4c Author: Atsushi Nemoto Date: Wed Feb 8 23:39:49 2006 +0900 [MIPS] Sparse: Add __user tags to syscall.c Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- commit 72bf891421e261262c4e614c051a68093baddd21 Author: Ralf Baechle Date: Wed Feb 8 13:38:50 2006 +0000 [MIPS] Wire up new syscalls. Signed-off-by: Ralf Baechle --- commit 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f Author: Ralf Baechle Date: Wed Feb 8 13:38:18 2006 +0000 [MIPS] Make do_signal return void. It's return value is ignored everywhere. Signed-off-by: Ralf Baechle --- commit 7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b Author: Ralf Baechle Date: Wed Feb 8 12:58:41 2006 +0000 [MIPS] Add support for TIF_RESTORE_SIGMASK. Signed-off-by: Ralf Baechle --- commit 328c2a8a39e1ba43a6e54e43fc752f7035779561 Author: Ivan Kokshaysky Date: Wed Feb 8 11:55:06 2006 +0300 [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 Author: Ingo Molnar Date: Wed Feb 8 10:11:56 2006 +0100 [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 Author: Tejun Heo Date: Wed Feb 8 01:01:31 2006 -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 Author: Linus Torvalds Date: Wed Feb 8 07:51:17 2006 -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 Author: Jens Axboe Date: Fri Feb 3 08:37:08 2006 +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 Author: Al Viro Date: Thu Dec 29 11:45:52 2005 -0500 [PATCH] sh: lvalues abuse in arch/sh/boards/renesas/rts7751r2d/io.c Signed-off-by: Al Viro commit 6881761e63ac95fda3073443781ea928682fa600 Author: Al Viro Date: Fri Feb 3 20:15:52 2006 -0500 [PATCH] m32r_sio iomem annotations Signed-off-by: Al Viro commit 90f46a5845596f0bf99f3a07dd4c7775dcbb40c4 Author: Al Viro Date: Wed Feb 1 06:45:37 2006 -0500 [PATCH] mark HISAX_AMD7930 as broken Signed-off-by: Al Viro commit bf82a44949339c9af7bd61bb58847774e42e531e Author: Al Viro Date: Wed Feb 1 06:42:28 2006 -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 Author: Benjamin Herrenschmidt Date: Wed Feb 8 16:42:51 2006 +1100 [PATCH] powerpc: Thermal control for dual core G5s This patch adds a windfarm module, windfarm_pm112, for the dual core G5s (both 2 and 4 core models), keeping the machine from getting into vacuum-cleaner mode ;) For proper credits, the patch was initially written by Paul Mackerras, and slightly reworked by me to add overtemp handling among others. The patch also removes the sysfs attributes from windfarm_pm81 and windfarm_pm91 and instead adds code to the windfarm core to automagically expose attributes for sensor & controls. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 97fa5a664e69f2fcdd2120e7f4765f8c1df56282 Author: Al Viro Date: Fri Feb 3 20:11:52 2006 -0500 [PATCH] s390 __get_user() bogus warnings removal Signed-off-by: Al Viro commit 8ef9cf318152d864d6694b19e655cbefa1e85256 Author: Al Viro Date: Wed Feb 1 06:07:15 2006 -0500 [PATCH] synclink_gt is PCI-only Signed-off-by: Al Viro commit e795638bb9e81bae80bbe88b74c8ee0d1b1d8d3c Author: Al Viro Date: Wed Feb 1 07:29:34 2006 -0500 [PATCH] __user annotations in powerpc thread_info Signed-off-by: Al Viro commit 6fa2ffe901c77cdd8db9616db66894e96c12143d Author: Al Viro Date: Wed Feb 1 07:28:02 2006 -0500 [PATCH] fix iomem annotations in dart_iommu it's int __iomem *, not int * __iomem... Signed-off-by: Al Viro commit 793af244090ccb5f99091c5a999ce97e4d017834 Author: Al Viro Date: Wed Feb 1 06:55:59 2006 -0500 [PATCH] s390 misc __user annotations Signed-off-by: Al Viro commit 6b2b4e5a26fe3795b1c6711cee0eae057844491d Author: Al Viro Date: Wed Feb 1 06:33:33 2006 -0500 [PATCH] compat_ioctl __user annotations Signed-off-by: Al Viro commit d656101009d76000b8fc0998a33d592100334d52 Author: Al Viro Date: Wed Feb 1 05:59:06 2006 -0500 [PATCH] sn3 iomem annotations and fixes Signed-off-by: Al Viro commit 29e646df7829e41a6b0db32fd50ae6376640cd13 Author: Al Viro Date: Wed Feb 1 05:28:09 2006 -0500 [PATCH] powerpc signal __user annotations Signed-off-by: Al Viro commit 5b1a43d7df65689b4c3b5a1c5c8158f1d4f74fbd Author: Al Viro Date: Wed Feb 1 05:24:20 2006 -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 Author: Al Viro Date: Wed Feb 1 05:18:43 2006 -0500 [PATCH] powermac pci iomem annotations Signed-off-by: Al Viro commit 24954a1418298058399581d6fcc4d46e928e1bf5 Author: Al Viro Date: Wed Feb 1 05:16:15 2006 -0500 [PATCH] s390x compat __user annotations Signed-off-by: Al Viro commit 290f10ae4230ef06b71e57673101b7e70c1b29a6 Author: Al Viro Date: Wed Dec 7 23:12:54 2005 -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 Author: Al Viro Date: Mon Dec 19 16:27:59 2005 -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 367636e8a9ef250d5b255f9d299e1c27cb3d7ea3 Author: Benjamin Herrenschmidt Date: Wed Feb 8 15:04:18 2006 +1100 [PATCH] powerpc: Fix sound driver use of i2c The PowerMac sound drivers used to rely on a "bug" of the i2c-keywest driver that implemented I2C_SMBUS_BLOCK_DATA incorrectly, that is it did what I2C_SMBUS_I2C_BLOCK_DATA should have done. The new i2c-powermac driver that replaces keywest has this bug fixed, thus the sound drivers must be fixed too. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 0fc9b55606662c4763a4f37add889cfd6a66247a Author: David S. Miller Date: Tue Feb 7 18:12:34 2006 -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 Author: David S. Miller Date: Tue Feb 7 18:11:24 2006 -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 Author: Al Viro Date: Wed Feb 1 07:53:21 2006 -0500 [PATCH] umount_tree() decrements mount count on wrong dentry Signed-off-by: Al Viro commit 8854eddbdb3e45b8d381ecff2937a942d0cb2067 Author: Al Viro Date: Wed Jan 4 01:44:17 2006 -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 Author: Al Viro Date: Fri Feb 3 20:28:01 2006 -0500 [PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal Signed-off-by: Al Viro commit e80e28b6b67ecc25fa89c9129a5f70de6389b2a6 Author: Al Viro Date: Fri Feb 3 20:10:03 2006 -0500 [PATCH] net/ipv6/mcast.c NULL noise removal Signed-off-by: Al Viro commit bee14e1f8ae2d5fd3f324e0c8562f791537160b2 Author: Al Viro Date: Wed Feb 1 07:33:44 2006 -0500 [PATCH] __user annotations of video_spu_palette Signed-off-by: Al Viro commit dd42b1518666132c21e7348c4b599c501f0021a1 Author: Al Viro Date: Wed Feb 1 07:30:33 2006 -0500 [PATCH] amd64 time.c __iomem annotations Signed-off-by: Al Viro commit 1d0bd717c86949e97a11855482b4a118029c10a9 Author: Al Viro Date: Wed Feb 1 07:25:14 2006 -0500 [PATCH] bogus extern in low_i2c.c extern in function definition is an odd thing.. Signed-off-by: Al Viro commit d04e4e115bd9df2b748cb30abd610f3c0eb1e303 Author: Al Viro Date: Wed Feb 1 07:23:24 2006 -0500 [PATCH] eeh_driver NULL noise removal Signed-off-by: Al Viro commit 2d20eaf9426598ef156b941bcfa44e867452b770 Author: Al Viro Date: Wed Feb 1 06:31:40 2006 -0500 [PATCH] sg gfp_t annotations Signed-off-by: Al Viro commit e5fb81bd895041230dfaeb8f8f498b85b4705988 Author: Al Viro Date: Wed Feb 1 06:30:45 2006 -0500 [PATCH] scsi_transport_iscsi gfp_t annotations Signed-off-by: Al Viro commit aaedd944d4dd25fdfafb10db65544e98eb66857d Author: Al Viro Date: Wed Feb 1 06:29:14 2006 -0500 [PATCH] cmm NULL noise removal, __user annotations Signed-off-by: Al Viro commit 6d57348d7d65ba6f2f42a24b0c7527e0f7470a84 Author: Al Viro Date: Wed Feb 1 06:10:08 2006 -0500 [PATCH] drivers/edac/i82875p_edac.c __user annotations Signed-off-by: Al Viro commit be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4 Author: Al Viro Date: Wed Feb 1 06:06:16 2006 -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 Author: Al Viro Date: Wed Feb 1 06:04:15 2006 -0500 [PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations Signed-off-by: Al Viro commit dad08dfc48529e3f907c2680f8b34f1fe2d75880 Author: Al Viro Date: Wed Feb 1 06:02:50 2006 -0500 [PATCH] dvb NULL noise removal Signed-off-by: Al Viro commit 4bb8089c86b95b4f6bbd839cb83ca4556b06a031 Author: Al Viro Date: Wed Feb 1 05:57:32 2006 -0500 [PATCH] kernel/sys.c NULL noise removal Signed-off-by: Al Viro commit 53f087febfd12e74ba9f1082e71e9a45adc039ad Author: Al Viro Date: Wed Feb 1 05:56:41 2006 -0500 [PATCH] timer.c NULL noise removal Signed-off-by: Al Viro commit 76edc6051e02186fe664ab880447e2d1f96fd884 Author: Al Viro Date: Wed Feb 1 05:54:35 2006 -0500 [PATCH] ipv4 NULL noise removal Signed-off-by: Al Viro commit e110ab94ebc714de57f75f0c7c576dde8cf80944 Author: Al Viro Date: Wed Feb 1 05:26:09 2006 -0500 [PATCH] fix __user annotations in fs/select.c Signed-off-by: Al Viro commit 3023b438c4b6103d520690cfa8b790bdd3868dc2 Author: Al Viro Date: Mon Jan 30 01:40:35 2006 -0500 [PATCH] missing include in ser_a2232 Signed-off-by: Al Viro commit c350885854c231810c06aa166b46eab039e80d97 Author: Al Viro Date: Sat Jan 28 22:17:11 2006 -0500 [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 Signed-off-by: Al Viro commit 7be7cbf684b372abaa8d6723eabedfa6ad79ee43 Author: Al Viro Date: Tue Dec 6 06:01:14 2005 -0500 [PATCH] drivers/scsi/mac53c94.c __iomem annotations Signed-off-by: Al Viro commit 3ba9d91208a71947b69d52e3ca2142306457d816 Author: Al Viro Date: Wed Jan 18 22:34:20 2006 -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 Author: Al Viro Date: Wed Jan 18 19:40:48 2006 -0500 [PATCH] restore power-off on sparc32 Damn you, Eric Signed-off-by: Al Viro commit 83ec98be051b277635bc7379b863b25f6dbe54ce Author: Al Viro Date: Wed Jan 18 18:40:16 2006 -0500 [PATCH] fix breakage in ocp.c it's ocp_device_...., not ocp_driver_.... Signed-off-by: Al Viro commit b6298c22c5e9f698812e2520003ee178aad50c10 Author: Al Viro Date: Wed Jan 18 19:35:54 2006 -0500 [PATCH] missing includes in drivers/net/mv643xx_eth.c Signed-off-by: Al Viro commit 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe Author: Al Viro Date: Wed Dec 21 13:24:46 2005 -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 Author: Al Viro Date: Wed Nov 30 23:47:05 2005 -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 Author: Al Viro Date: Thu Dec 15 01:07:03 2005 -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 8e63e66b4cd066fe6c2d962460e286c2a61d3fe8 Author: Greg Ungerer Date: Wed Feb 8 09:19:17 2006 +1000 [PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit e39485636b6db2def114f38104fe132af73ff0f5 Author: Greg Ungerer Date: Wed Feb 8 09:19:17 2006 +1000 [PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 230afb065bfe05887dd83a0fbb149dc2bff7d63e Author: Greg Ungerer Date: Wed Feb 8 09:19:17 2006 +1000 [PATCH] m68knommu: hardirq.h needs definition of NR_IRQS Need to include the local asm/irq.h to get the NR_IRQS definition. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 10c1f71caa7801fde7dcb103eda90117c6c9bb04 Author: Greg Ungerer Date: Wed Feb 8 09:19:17 2006 +1000 [PATCH] m68knommu: need pm_power_off in m68knommu Need place holders for the power management power off and idle functions. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit a9cdffb14ae8a95335ba4e9add1f1086c4d65372 Author: Greg Ungerer Date: Wed Feb 8 09:19:17 2006 +1000 [PATCH] m68knommu: compile fixes for mcfserial.c Re-organize the default CONSOLE baud rate define setting so that it is only set once. Use the new tty_schedule_flip() instead of the original direct schedule_work of the flip buffer. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 2da436e00f9a5fdd0fb6b31e4b2b2ba82e8f5ab8 Author: JANAK DESAI Date: Tue Feb 7 12:59:03 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:59:02 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:59:01 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:59:00 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:58:59 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:58:58 2006 -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 Author: JANAK DESAI Date: Tue Feb 7 12:58:56 2006 -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 Author: Ingo Molnar Date: Tue Feb 7 12:58:54 2006 -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 Author: Nick Piggin Date: Tue Feb 7 12:58:52 2006 -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 Author: Stephen Smalley Date: Tue Feb 7 12:58:51 2006 -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 Author: Rafael J. Wysocki Date: Tue Feb 7 12:58:50 2006 -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 Author: Dave Jones Date: Tue Feb 7 12:58:48 2006 -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 Author: Kyle McMartin Date: Tue Feb 7 12:58:47 2006 -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 Author: Robert Love Date: Tue Feb 7 12:58:45 2006 -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 Author: Andrew Morton Date: Tue Feb 7 12:58:45 2006 -0800 [PATCH] module: strlen_user() race fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48b8c10056d22ecc070bbfcbbfc8f84d13181178 Author: Jeff Dike Date: Tue Feb 7 12:58:44 2006 -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 Author: Jeff Dike Date: Tue Feb 7 12:58:43 2006 -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 Author: Jeff Dike Date: Tue Feb 7 12:58:42 2006 -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 Author: Jeff Dike Date: Tue Feb 7 12:58:42 2006 -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 Author: Jeff Dike Date: Tue Feb 7 12:58:41 2006 -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 Author: Jeff Dike Date: Tue Feb 7 12:58:40 2006 -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 Author: Suzuki Date: Tue Feb 7 12:58:36 2006 -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 Author: Steve Langasek Date: Tue Feb 7 12:58:35 2006 -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 Author: Michael Richardson Date: Tue Feb 7 12:58:33 2006 -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 Author: J. Bruce Fields Date: Tue Feb 7 12:58:32 2006 -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 Author: Christoph Lameter Date: Tue Feb 7 12:58:30 2006 -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 Author: David Gibson Date: Tue Feb 7 12:58:25 2006 -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 Author: Ravikiran G Thirumalai Date: Tue Feb 7 12:58:23 2006 -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 Author: Pavel Machek Date: Tue Feb 7 12:58:22 2006 -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 Author: Russell King Date: Tue Feb 7 12:58:20 2006 -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 Author: Tony Luck Date: Tue Feb 7 15:25:57 2006 -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 Author: Zou Nan hai Date: Tue Feb 7 11:35:46 2006 +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 Author: Zou Nan hai Date: Tue Feb 7 11:25:55 2006 +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 d43da75fd6be4197c280903e1553eafcc39218e2 Author: Jens Axboe Date: Tue Feb 7 15:00:01 2006 +0100 [PATCH] cciss: softirq handler needs to save interrupt flags The softirq rq completion handler needs to save/restore interrupt flags appropriately. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit e1a8e6c9b757c09249ab29fc6da12d9ab64567e1 Author: Andi Kleen Date: Tue Feb 7 12:48:00 2006 +0100 [PATCH] Fix bad apic fix on i386 Fix wrong '!' in bad apic fix I forgot to remove the ! when moving the code from x86-64 to i386 x86-64 tested !disable_apic, but of course for cpu_has_apic it shouldn't be negated. Credit goes to Jan Beulich for spotting it with eagle eyes. Cc: Jan Beulich Cc: Ingo Molnar Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b38c73995f63fe205c0068cb0ce3131895244068 Author: Ralf Baechle Date: Tue Feb 7 01:20:43 2006 +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 Author: Sergei Shtylylov Date: Sat Feb 4 15:11:14 2006 +0300 [MIPS] TX49x7: Fix reporting of the CPU name and PCI clock I've noticed that PCI clock was incorrectly reported as 66 MHz while being mere 33 MHz on RBTX4937 board -- this was due to the different encoding of the PCI divisor field in CCFG register between TX4927 and TX4937 chips... Also, RBTX49x7 was printed out as a CPU name (e.g., "CPU is RBTX4937"); and some debug printk() were duplicating each other... Signed-off-by: Konstantin Baydarov Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle commit c226f2601f55010936f0f3c77ae167a02339f566 Author: Atsushi Nemoto Date: Fri Feb 3 01:34:01 2006 +0900 [MIPS] TX49 MFC0 bug workaround If mfc0 $12 follows store and the mfc0 is last instruction of a page and fetching the next instruction causes TLB miss, the result of the mfc0 might wrongly contain EXL bit. ERT-TX49H2-027, ERT-TX49H3-012, ERT-TX49HL3-006, ERT-TX49H4-008 Workaround: mask EXL bit of the result or place a nop before mfc0. It doesn't harm to always clear those bits, so we change the code to do so. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit dbee90b7f90df6398f0877cd38dfaa76addb0619 Author: Ralf Baechle Date: Thu Feb 2 14:31:16 2006 +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 Author: Ralf Baechle Date: Wed Feb 1 17:54:30 2006 +0000 [MIPS] Oprofile: Support for 34K UP kernels. Signed-off-by: Ralf Baechle commit d1e30a6347630ca7eeee2f46f826f05bbe80bb25 Author: Atsushi Nemoto Date: Thu Feb 2 01:29:14 2006 +0900 [MIPS] Fix dump_tlb.c warning and cleanup. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 5665a0ac59a656b94cbf3c4642b32024a6c1cf75 Author: Atsushi Nemoto Date: Thu Feb 2 01:26:34 2006 +0900 [MIPS] Fix minor sparse warnings Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 1e32ceeca25ea30cabce137fac7e2f58fe8847db Author: Ralf Baechle Date: Wed Feb 1 15:29:21 2006 +0000 [MIPS] MIPS R2 optimized endianess swapping. From Franck Bui-Huu with modifications by me. Signed-off-by: Ralf Baechle commit 7e5b24ac759176e55c8a535fff6533366168cbe9 Author: Ralf Baechle Date: Tue Jan 31 17:07:53 2006 +0000 [MIPS] Remove buggy inline version of memscan. Signed-off-by: Ralf Baechle commit 9bbf28a36cae08817ac3a3f98fde329b02c89f4a Author: Atsushi Nemoto Date: Wed Feb 1 01:41:09 2006 +0900 [MIPS] Sparse: Add some __user tags to signal functions. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 5be0f654a9d14c0c5aa031a3396ea8b9f2162cb9 Author: Ralf Baechle Date: Tue Jan 31 01:40:55 2006 +0000 [MIPS] Shrink Qemu configuration to the bare minimum that is need and tested. Signed-off-by: Ralf Baechle commit 3d503753b40469b6a19dcc3511f6eb8c55f6d122 Author: Daniel Jacobowitz Date: Thu Jan 20 19:59:54 2005 -0500 [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 Author: Ralf Baechle Date: Mon Jan 30 17:48:27 2006 +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 Author: Atsushi Nemoto Date: Mon Jan 2 21:59:49 2006 +0900 [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 Author: Atsushi Nemoto Date: Sun Jan 29 02:27:51 2006 +0900 [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 Author: Ralf Baechle Date: Mon Jan 30 17:14:41 2006 +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 Author: Ralf Baechle Date: Mon Jan 30 16:48:26 2006 +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 Author: Ralf Baechle Date: Mon Jan 30 04:07:39 2006 +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 Author: Peter Horton Date: Sun Jan 29 21:33:48 2006 +0000 [MIPS] Fix Cobalt PCI cache line sizes Signed-off-by: Ralf Baechle commit c315a2b5fed42aea4dda98b5ced35d1d1a3a8349 Author: Atsushi Nemoto Date: Sun Jan 29 02:31:17 2006 +0900 [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 Author: Atsushi Nemoto Date: Sun Jan 29 02:30:55 2006 +0900 [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 Author: Atsushi Nemoto Date: Sun Jan 29 22:34:32 2006 +0900 [MIPS] Sparse: Fix some compiler/sparse warnings in ptrace32.c Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b6f7880b6c6ccb9f51adecf706109e15ad911bcc Author: Ralf Baechle Date: Sun Jan 29 21:01:42 2006 +0000 [MIPS] Reformat to 80 columns. Patch courtesy of Emily Postnews ;-) Signed-off-by: Ralf Baechle commit 5ac71fd1cf9976f5269e1c3cb34bbf6c454427a4 Author: Ralf Baechle Date: Sun Jan 29 20:56:43 2006 +0000 [MIPS] Sibyte: Make all setup functions __init. Signed-off-by: Ralf Baechle commit 010b853b3aab980a55a8dd34ce18aa23e9f2347a Author: Ralf Baechle Date: Sun Jan 29 18:42:08 2006 +0000 [MIPS] Get rid of CONFIG_SB1_PASS_1_WORKAROUNDS #ifdef crapola. Signed-off-by: Ralf Baechle commit 492fd5f2fdbc1bb7e1d517fd5e9b0cd9f3d0b623 Author: Sergei Shtylylov Date: Thu Jan 26 04:36:25 2006 +0300 [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 Author: Sergei Shtylylov Date: Wed Jan 25 21:27:10 2006 +0300 [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 Author: Sergei Shtylylov Date: Wed Jan 25 21:24:57 2006 +0300 [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 Author: Ralf Baechle Date: Mon Jan 23 16:15:30 2006 +0000 [MIPS] Bullet proof uaccess.h against 4.0.1 miss-compilation. Signed-off-by: Ralf Baechle commit c03bc121212ecb36120b118a94c1b91a2e07b7b2 Author: Mark Mason Date: Tue Jan 17 12:06:32 2006 -0800 [MIPS] SB1: Add oprofile support. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit 4c91cc57bc9cfd337804d70bc9bff6a012aa8b83 Author: Mark Mason Date: Tue Jan 17 12:02:17 2006 -0800 [MIPS] BCM1480: Cleanup debug code left behind in the PCI driver. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit 80f834e6877ce57e19b9de8cea69f81453907586 Author: Mark Mason Date: Tue Jan 17 11:55:52 2006 -0800 [MIPS] BCM1125 PCI fixes Make BCM1125 targets to link again. Signed-off-by: Mark Mason Signed-off-by: Ralf Baechle commit dd2f18fe5af54ea8928f175d3bff9401a0fb6b83 Author: Ralf Baechle Date: Thu Jan 19 14:55:42 2006 +0000 [MIPS] Nevada support for SGI O2. Signed-off-by: Ralf Baechle commit c011db451bcce468a6f999949fbdbc2fec1167d2 Author: Ralf Baechle Date: Thu Jan 19 00:49:32 2006 +0000 [MIPS] CPU definitions for Cobalt. Signed-off-by: Ralf Baechle commit 11ed6d5bb01c5f347fd5c47e0005f06687c66f1f Author: Ralf Baechle Date: Wed Jan 18 23:26:43 2006 +0000 [MIPS] Rename include/asm-mips/cobalt to include/asm-mips/mach-cobalt. Signed-off-by: Ralf Baechle commit fcdb27ad1d5c66611d3df6400a9b559186f266fe Author: Ralf Baechle Date: Wed Jan 18 17:37:07 2006 +0000 [MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again. Signed-off-by: Ralf Baechle commit 9414d3628abb646834965b6c23b8e9064729b110 Author: Ralf Baechle Date: Tue Jan 17 21:14:01 2006 +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 Author: Ralf Baechle Date: Fri Feb 3 16:47:44 2006 +0000 [MIPS] Revert "mips: add pm_power_off" pm_power_off duplicates the functionality of _machine_restart. This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit. commit a84c96e202c286c1d56fed4a81bd850017aa2c64 Author: Ralf Baechle Date: Sun Jan 15 18:11:28 2006 +0000 [MIPS] RTLX compile fixes. Signed-off-by: Ralf Baechle commit 71baa1a599c04ab56ebf5fdb8d03abd0d601462f Author: Ralf Baechle Date: Sun Jan 15 18:10:39 2006 +0000 [MIPS] Get rid of unnecessary prototypes. Fixes and optimizations for HZ > 100. Signed-off-by: Ralf Baechle commit 05faa7b758e4f23b66c5a776a338f2348cbbc4af Author: Ralf Baechle Date: Wed Jan 11 18:23:00 2006 +0000 [MIPS] Fix C version of ssnop to use the right opcode. Signed-off-by: Ralf Baechle commit 4f0638ba9e3825d21d41e98d04faa6b74a05c624 Author: Ralf Baechle Date: Mon Jan 9 20:09:36 2006 +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 Author: Nathan Lynch Date: Mon Feb 6 22:44:23 2006 -0600 [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 Author: Michael Neuling Date: Tue Feb 7 10:58:21 2006 +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 Author: Becky Bruce Date: Mon Feb 6 14:26:31 2006 -0600 [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 Author: Michael Ellerman Date: Tue Feb 7 13:26:14 2006 +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 Author: David Gibson Date: Mon Feb 6 13:24:53 2006 +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 Author: Jesper Juhl Date: Sat Feb 4 20:35:59 2006 +0100 [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 Author: Olaf Hering Date: Sat Feb 4 13:33:46 2006 +0100 [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 Author: Olaf Hering Date: Sat Feb 4 12:55:41 2006 +0100 [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 Author: Olaf Hering Date: Sat Feb 4 12:44:56 2006 +0100 [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 Author: Olaf Hering Date: Sat Feb 4 11:05:33 2006 +0100 [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 Author: Olaf Hering Date: Sat Feb 4 10:34:56 2006 +0100 [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 Author: Michael Ellerman Date: Fri Feb 3 19:05:47 2006 +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 Author: Dave C Boutcher Date: Fri Feb 3 01:18:36 2006 -0600 [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