commit c8f71b01a50597e298dc3214a2f2be7b8d31170c Author: Linus Torvalds Date: Tue Feb 20 20:32:30 2007 -0800 Linux 2.6.21-rc1 commit f1d2120487de3620ff47367d7bc0e290dc868c47 Author: Jean Delvare Date: Tue Feb 20 13:58:22 2007 -0800 [PATCH] i810fb: fix i810_check_params section mismatch WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_check_params' (at offset 0x1123) and 'encode_fix' yres cannot be declared __devinitdata as it is used in i810_check_params(), which isn't __devinit. Signed-off-by: Jean Delvare Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fc404e47bdf2d34ffc2edc16070cda410838291 Author: Ben Dooks Date: Tue Feb 20 13:58:21 2007 -0800 [PATCH] fb: SM501 framebuffer driver Driver for the Silicon Motion SM501 multifunction device framebuffer subsystem. This driver supports both the CRT and LCD panel heads, with some simple acceleration for the cursor plotting and support for screen panning. There is no current support for bitblt/drawing engines, which should be added at a later date. This has been tested on a number of configurations, including PCI and generic-bus, on PPC, ARM and SH4 [akpm@linux-foundation.org: fix warnings] Signed-off-by: Ben Dooks Signed-off-by: Vincent Sanders Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b7e42b2d38e4c4d0cb105a2ad83d43f6957f59e Author: Philipp Zabel Date: Tue Feb 20 13:58:20 2007 -0800 [PATCH] GPIO API: SA1100 wrapper cleanup Based on the discussion last december (http://lkml.org/lkml/2006/12/20/241), this patch - adds gpio_direction_input/output functions to generic.c instead of making them inline, - fixes comment and includes and uses inline functions instead of macros in gpio.h Signed-off-by: Philipp Zabel Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit adff264fe66d78a166dc887f861e7273d0cb1654 Author: Philipp Zabel Date: Tue Feb 20 13:58:20 2007 -0800 [PATCH] GPIO API: S3C2410 wrapper cleanup this one adds an #include . Tested by Roman Moravcik on s3c2440. Based on the discussion last december (http://lkml.org/lkml/2006/12/20/243), this patch - fixes comment and includes in gpio.h - adds the gpio_to_irq definition for S3C2400 - includes asm/arch/regs-gpio.h for pin direction definitions Signed-off-by: Philipp Zabel Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d23c6c21af5624c774adb6fa7155000bfd75ba40 Author: Harald Welte Date: Tue Feb 20 13:58:19 2007 -0800 [PATCH] spi_s3c2410_gpio.c spi mode 2 and 3 support Add transfer modes 2 and 3 to the S3C24XX gpio SPI driver Signed-off-by: Harald Welte Signed-off-by: Ben Dooks Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb2d1c36c7f3a78d482622289c8de0c1a5fe790f Author: David Brownell Date: Tue Feb 20 13:58:19 2007 -0800 [PATCH] SPI controller build/warning fixes The signature of the per-device cleanup() routine changed to remove its const-ness. Three new SPI controller drivers now need that change, to eliminate build warnings. This also fixes a build bug with atmel_spi on AT91 systems. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0bb92e6cd313cf209ea0c164952d1f65c5b3ea46 Author: Jean Delvare Date: Tue Feb 20 13:58:18 2007 -0800 [PATCH] parport_pc: fix parport_pc_probe_port section warning WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text between 'parport_pc_probe_port' (at offset 0x14f7) and 'parport_pc_unregister_port' parport_dma_probe() cannot be declared __devinit as it is called from parport_pc_probe_port() which isn't. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d740cd5b18bc8128e70f98cfde8c74ebd21cea1 Author: Peter Zijlstra Date: Tue Feb 20 13:58:18 2007 -0800 [PATCH] lockdep: annotate BLKPG_DEL_PARTITION >============================================= >[ INFO: possible recursive locking detected ] >2.6.19-1.2909.fc7 #1 >--------------------------------------------- >anaconda/587 is trying to acquire lock: > (&bdev->bd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > >but task is already holding lock: > (&bdev->bd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > >other info that might help us debug this: >1 lock held by anaconda/587: > #0: (&bdev->bd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > >stack backtrace: > [] show_trace_log_lvl+0x1a/0x2f > [] show_trace+0x12/0x14 > [] dump_stack+0x16/0x18 > [] __lock_acquire+0x116/0xa09 > [] lock_acquire+0x56/0x6f > [] __mutex_lock_slowpath+0xe5/0x24a > [] mutex_lock+0x21/0x24 > [] blkdev_ioctl+0x600/0x76d > [] block_ioctl+0x1b/0x1f > [] do_ioctl+0x22/0x68 > [] vfs_ioctl+0x252/0x265 > [] sys_ioctl+0x49/0x63 > [] syscall_call+0x7/0xb Annotate BLKPG_DEL_PARTITION's bd_mutex locking and add a little comment clarifying the bd_mutex locking, because I confused myself and initially thought the lock order was wrong too. Signed-off-by: Peter Zijlstra Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5c1682f9f8f4aa064f81fda67ea7b91fd829512 Author: Adrian Bunk Date: Tue Feb 20 13:58:17 2007 -0800 [PATCH] drivers/isdn/gigaset/: build asyncdata.o into the gigaset module LD drivers/isdn/gigaset/built-in.o drivers/isdn/gigaset/ser_gigaset.o: In function `gigaset_m10x_send_skb': (.text+0xe50): multiple definition of `gigaset_m10x_send_skb' drivers/isdn/gigaset/usb_gigaset.o:(.text+0x0): first defined here drivers/isdn/gigaset/ser_gigaset.o: In function `gigaset_m10x_input': (.text+0x1121): multiple definition of `gigaset_m10x_input' drivers/isdn/gigaset/usb_gigaset.o:(.text+0x2d1): first defined here make[4]: *** [drivers/isdn/gigaset/built-in.o] Error 1 Signed-off-by: Adrian Bunk Cc: Tilman Schmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da68d61f89e275260cc993a0d4a39e63700098fb Author: David Brownell Date: Tue Feb 20 13:58:16 2007 -0800 [PATCH] remove modpost false warnings on ARM This patch stops "modpost" from issuing erroneous modpost warnings on ARM builds, which it's been doing since since maybe last summer. A canonical example would be driver method table entries: WARNING: - Section mismatch: reference to .exit.text:_remove from .data after '$d' (at offset 0x4) That "$d" symbol is generated by tools conformant with ARM ABI specs; in this case it's a symbol **in the middle of** a "_driver" struct. The erroneous warnings appear to be issued because "modpost" whitelists references from "_driver" data into init and exit sections ... but doesn't know should also include those "$d" mapping symbols, which are not otherwise associated with "_driver" symbols. This patch prevents the modpost symbol lookup code from ever returning those mapping symbols, so it will return a whitelisted symbol instead. Then things work as expected. Now to revert various code-bloating "fixes" that got merged because of this modpost bug.... Signed-off-by: David Brownell Acked-by: Rusty Russell Cc: Roman Zippel Acked-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3deac046e2883686a732960050ab74fca0db11fa Author: Philipp Zabel Date: Tue Feb 20 13:58:15 2007 -0800 [PATCH] GPIO API: PXA wrapper cleanup Based on the discussion last december (http://lkml.org/lkml/2006/12/20/242), this patch: - moves the PXA_LAST_GPIO check into pxa_gpio_mode - fixes comment and includes in gpio.h - replaces the gpio_set/get_value macros with inline functions and adds a non-inline version to avoid code explosion when gpio is not a constant. Signed-off-by: Philipp Zabel Signed-off-by: David Brownell Signed-off-by: Nicolas Pitre Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d4675a811fb71fd922109d7ebae3f987401ace1 Author: David Brownell Date: Tue Feb 20 13:58:14 2007 -0800 [PATCH] at91_rtc updates Various bug fixes to the at91rm9200 RTC: - alarm: setalarm() should pay attention to the "enabled" flag - init: cleaner handling of the wakeup flags, which cpu init should really have set up. Doing it here is just a workaround. - linkage: since the at91_rtc driver probe() routine is in the init section, it should use platform_driver_probe() instead of leaving that pointer around in the driver struct after init section removal. - linkage: likewise, remove() belongs in the exit section. Among other things, the init and alarm changes ensure that this driver handles the new sysfs "wakealarm" attribute properly. Signed-off-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32b49da46caa8067ea47eea8b7aee6559e452125 Author: David Brownell Date: Tue Feb 20 13:58:13 2007 -0800 [PATCH] rtc-sa1100 rtc_wklarm.enabled bugfixes Some rtc-sa1100 bugfixes: - The read_alarm() method reports the rtc_wkalrm.enabled field properly. This patch is already in the handhelds.org tree. - And the set_alarm() method now handles that flag correctly, rather than making mismatched {en,dis}able_irq_wake() calls, which trigger runtime warning messages. (Those calls are best made in suspend/resume methods.) Note that while this SA1100/PXA RTC is fully capable of waking those ARM processors from sleep states, that mechanism isn't properly supported on either processor family, or in this driver. Some boards have board-specific PM glue providing partial workarounds for the weak generic PM support. Signed-off-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a631694a36a3b52b786b3ae6abe54bd8d1b6eb74 Author: Randy Dunlap Date: Tue Feb 20 13:58:12 2007 -0800 [PATCH] update Doc/oops-tracing.txt for TAINT_USER Add TAINT_USER description to Tainted flags in oops-tracing.txt. Signed-off-by: Randy Dunlap Signed-off-by: "Theodore Ts'o" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63967fa911c2c49376d0b1e171ef98e1b2b075af Author: Glauber de Oliveira Costa Date: Tue Feb 20 13:58:12 2007 -0800 [PATCH] Missing __user in pointer referenced within copy_from_user Pointers to user data should be marked with a __user hint. This one is missing. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96c62d51cc5a3ea31ddef606544f014922591a64 Author: Andrew Morton Date: Tue Feb 20 13:58:12 2007 -0800 [PATCH] genalloc warning fixes lib/genalloc.c: In function 'gen_pool_alloc': lib/genalloc.c:151: warning: passing argument 2 of '__set_bit' from incompatible pointer type lib/genalloc.c: In function 'gen_pool_free': lib/genalloc.c:190: warning: passing argument 2 of '__clear_bit' from incompatible pointer type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2be3c79046cf90d75d436708a4e0898c7a1f9d51 Author: Christoph Hellwig Date: Tue Feb 20 13:58:11 2007 -0800 [PATCH] affs: implement ->drop_inode affs wants to truncate the inode when the last user goes away, currently it does that through a potentially racy i_count check in ->put_inode. But we already have a method that's called just after the we dropped the last reference, ->drop_inode. This patch implements affs_drop_inode to take advantage of this. Signed-off-by: Christoph Hellwig Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9ffec48487849bc277de662a6c29aad64653b99 Author: Ian Kent Date: Tue Feb 20 13:58:10 2007 -0800 [PATCH] autofs4: check for directory re-create in lookup This problem was identified and fixed some time ago by Jeff Moyer but it fell through the cracks somehow. It is possible that a user space application could remove and re-create a directory during a request. To avoid returning a failure from lookup incorrectly when our current dentry is unhashed we need to check if another positive, hashed dentry matching this one exists and if so return it instead of a fail. Signed-off-by: Jeff Moyer Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f50b6f8691cae2e0064c499dd3ef3f31142987f0 Author: Ian Kent Date: Tue Feb 20 13:58:10 2007 -0800 [PATCH] autofs4: fix another race between mount and expire Jeff Moyer has identified a race between mount and expire. What happens is that during an expire the situation can arise that a directory is removed and another lookup is done before the expire issues a completion status to the kernel module. In this case, since the the lookup gets a new dentry, it doesn't know that there is an expire in progress and when it posts its mount request, matches the existing expire request and waits for its completion. ENOENT is then returned to user space from lookup (as the dentry passed in is now unhashed) without having performed the mount request. The solution used here is to keep track of dentrys in this unhashed state and reuse them, if possible, in order to preserve the flags. Additionally, this infrastructure will provide the framework for the reintroduction of caching of mount fails removed earlier in development. Signed-off-by: Ian Kent Acked-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8514478f63b95548a49576ba96b47edeb8596e0 Author: Ian Kent Date: Tue Feb 20 13:58:09 2007 -0800 [PATCH] autofs4: header file update The current header file definitions for autofs version 5 have caused a couple of problems for application builds downstream. This fixes the problem by separating the definitions. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c8ca78f20724676b6006232bf06cc3e9299539 Author: Nick Piggin Date: Tue Feb 20 13:58:09 2007 -0800 [PATCH] fs: fix nobh data leak nobh_prepare_write leaks data similarly to how simple_prepare_write did. Fix by not marking the page uptodate until nobh_commit_write time. Again, this could break weird use-cases, but none appear to exist in the tree. We can safely remove the set_page_dirty, because as the comment says, nobh_commit_write does set_page_dirty. If a filesystem wants to allocate backing store for a page dirtied via mmap, page_mkwrite is the suggested approach. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 955eff5acc8b8cd1c7d4eec0229c35eaabe013db Author: Nick Piggin Date: Tue Feb 20 13:58:08 2007 -0800 [PATCH] fs: fix libfs data leak simple_prepare_write leaks uninitialised kernel data. This happens because the it leaves an uninitialised "hole" over the part of the page that the write is expected to go to. This is fine, but it then marks the page uptodate, which means a concurrent read can come in and copy the uninitialised memory into userspace before it written to. Fix it by simply marking it uptodate in simple_commit_write instead, after the hole has been filled in. This could theoretically break an fs that uses simple_prepare_write and not simple_commit_write, and that relies on the incorrect simple_prepare_write behaviour. Luckily, none of those exists in the tree. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c066332fb15adde1f37d874a67a1f9f7e4206484 Author: Dave Jones Date: Tue Feb 20 13:58:07 2007 -0800 [PATCH] loosen dependancy on rtc cmos This option is useful for all of the X86 subarchs afaik (and especially X86_GENERICARCH). Signed-off-by: Dave Jones Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 304301347bed8315d6d13fd0e63032dfae6ef403 Author: Simon Horman Date: Tue Feb 20 13:58:07 2007 -0800 [PATCH] PPC64 Kdump documentation update Patch from Mohan Kumar M to add the ppc64 portions of the kdump documentation. http://thread.gmane.org/gmane.linux.kernel/481689/focus=3375 Cc: Mohan Kumar M Cc: Vivek Goyal Signed-off-by: Simon Horman Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 588cc70865332acbb47fd6ad2d659295a1a7d1cc Author: Simon Horman Date: Tue Feb 20 13:58:06 2007 -0800 [PATCH] Update OSDL/Linux-Foundation maintainer addresses The patch below updates MAINTAIER address Individuals (Only Andrew :): osdl.org -> linux-foundation.org Lists: osdl.org -> lists.osdl.org I assume the latter will change at some stage, but at least with this change the osdl/linux-foundation lists are consistent. Signed-off-by: Simon Horman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc79aa9d282b34279731a522d074bfea4833e5b5 Author: Thomas Koeller Date: Tue Feb 20 13:58:05 2007 -0800 [PATCH] 8250: Fix GCC4 signed/unsigned mismatch warning Signed-off-by: Thomas Koeller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cba01db647fa87d14aeccac5267aebfeb2fc1d2 Author: Randy Dunlap Date: Tue Feb 20 13:58:05 2007 -0800 [PATCH] cdrom: use unsigned bitfields Fix 23 of these sparse warnings on x86_64 allmodconfig: include/linux/cdrom.h:942:19: error: dubious bitfield without explicit `signed' or `unsigned' Signed-off-by: Randy Dunlap Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23cac8debcdb34e97c01350b55ddf65161997a06 Author: Randy Dunlap Date: Tue Feb 20 13:58:05 2007 -0800 [PATCH] tty: use NULL for ptrs Fix sparse warning in tty_io: drivers/char/tty_io.c:1536:34: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 262d9b0130edf9aef1819b211d69f48883d2ac10 Author: Randy Dunlap Date: Tue Feb 20 13:58:04 2007 -0800 [PATCH] kernel-doc: include struct short description in title output Output of a function or struct in html mode needs to include the short description from the function/struct name line in the output title line. Signed-off-by: Randy Dunlap Acked-by: Johannes Berg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6d6454fdb66f3829af8b92ab06825b6060fdf7e Author: Ben Dooks Date: Tue Feb 20 13:58:01 2007 -0800 [PATCH] mfd: SM501 core driver This driver provides the core functionality of the SM501, which is a multi-function chip including two framebuffers, video acceleration, USB, and many other peripheral blocks. The driver exports a number of entries for the peripheral drivers to use. Signed-off-by: Ben Dooks Signed-off-by: Vincent Sanders Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60e114d1134555d1813e20a8cd86304331da05c7 Author: Jarek Poplawski Date: Tue Feb 20 13:58:00 2007 -0800 [PATCH] lockdep: debug_locks check after check_chain_key In __lock_acquire check_chain_key can turn off debug_locks, so check is needed to assure proper return code. Signed-off-by: Jarek Poplawski Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34173a4aad7a641e72b70f9927ca797746fbce69 Author: Miguel Ojeda Date: Tue Feb 20 13:58:00 2007 -0800 [PATCH] cfag12864b: fix crash when built-in and no parport present The problem comes when ks0108/cfag12864b are built-in and no parallel port is present. ks0108_init() is called first, as it should be, but fails to load (as there is no parallel port to use). After that, cfag12864b_init() gets called, without knowing anything about ks0108 failed, and calls ks0108_writecontrol(), which dereferences an uninitialized pointer. Init order is OK, I think. The problem is how to stop cfag12864b_init() being called if ks0108 failed to load. modprobe does it for us, but, how when built-in? Signed-off-by: Miguel Ojeda Sandonis Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e627432c2948d500669a6c4522f22b66f5118d64 Author: Aneesh Kumar K.V Date: Tue Feb 20 13:57:58 2007 -0800 [PATCH] ext[234]: update documentation Signed-off-by: "Aneesh Kumar K.V" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6b95d4d86565a4f267359852f7fbe000b6e0e7 Author: Alexey Dobriyan Date: Tue Feb 20 13:57:57 2007 -0800 [PATCH] mwave: interesting flags savings Flags from spin_lock_irqsave() are saved into global variable and restored from it. My gut feeling this is very racy. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91e4ee381d23ef67196a03924485aeceb32d6753 Author: Gerhard Dirschl Date: Tue Feb 20 13:57:56 2007 -0800 [PATCH] pktcdvd: Correctly set cmd_len field in pkt_generic_packet Fixes http://bugzilla.kernel.org/show_bug.cgi?id=7810 - a silly copy-paste bug introduced by the latest change. Signed-off-by: Gerhard Dirschl Cc: Peter Osterlund Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1df49008f4ddec9d4f6862b47ea5bdba82078aa4 Author: Akinobu Mita Date: Tue Feb 20 13:57:56 2007 -0800 [PATCH] fault injection: split up stacktrace filter Kconfig option There is no prompt for CONFIG_STACKTRACE, so FAULT_INJECTION cannot be selected without LOCKDEP enabled. (found by Paolo 'Blaisorblade' Giarrusso) In order to fix such broken Kconfig dependency, this patch splits up the stacktrace filter support for fault injection by new Kconfig option, which enables to use fault injection on the architecture which doesn't have general stacktrace support. Cc: "Paolo 'Blaisorblade' Giarrusso" Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94412a96c4553255bda7a232a349059dd7543338 Author: OGAWA Hirofumi Date: Tue Feb 20 13:57:55 2007 -0800 [PATCH] FAT: DIO-write fallback to normal buffered If the DIO write on FAT is expanding the size, it will be fail by -EINVAL, because FAT can't handle it now. This patch fallback it to the normal buffered-write and would return success. Signed-off-by: OGAWA Hirofumi Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 346fd59bab28093276be102632f72691a2c243fe Author: Srinivasa Ds Date: Tue Feb 20 13:57:54 2007 -0800 [PATCH] kprobes: list all active probes in the system This patch lists all active probes in the system by scanning through kprobe_table[]. It takes care of aggregate handlers and prints the type of the probe. Letter "k" for kprobes, "j" for jprobes, "r" for kretprobes. It also lists address of the instruction,its symbolic name(function name + offset) and the module name. One can access this file through /sys/kernel/debug/kprobes/list. Output looks like this ===================== llm40:~/a # cat /sys/kernel/debug/kprobes/list c0169ae3 r sys_read+0x0 c0169ae3 k sys_read+0x0 c01694c8 k vfs_write+0x0 c0167d20 r sys_open+0x0 f8e658a6 k reiserfs_delete_inode+0x0 reiserfs c0120f4a k do_fork+0x0 c0120f4a j do_fork+0x0 c0169b4a r sys_write+0x0 c0169b4a k sys_write+0x0 c0169622 r vfs_read+0x0 ================================= [akpm@linux-foundation.org: cleanup] [ananth@in.ibm.com: sparc build fix] Signed-off-by: Srinivasa DS Cc: Prasanna S Panchamukhi Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ffda9d302267dbb7fc9bc38f6e4c1b3d61a536a9 Author: Nick Piggin Date: Tue Feb 20 13:57:54 2007 -0800 [PATCH] fs: fix __block_write_full_page error case buffer submission Andrew noticed that unlocking the page before submitting all buffers for writeout could cause problems if the IO completes before we've finished messing around with the page buffers, and they subsequently get freed. Even if there were no bug, it is a good idea to bring the error case into line with the common case here. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc56bba8f31bd99f350a5ebfd43d50f411b620c7 Author: Eric W. Biederman Date: Tue Feb 20 13:57:53 2007 -0800 [PATCH] shm: make sysv ipc shared memory use stacked files The current ipc shared memory code runs into several problems because it does not quite use files like the rest of the kernel. With the option of backing ipc shared memory with either hugetlbfs or ordinary shared memory the problems got worse. With the added support for ipc namespaces things behaved so unexpected that we now have several bad namespace reference counting bugs when using what appears at first glance to be a reasonable idiom. So to attack these problems and hopefully make the code more maintainable this patch simply uses the files provided by other parts of the kernel and builds it's own files out of them. The shm files are allocated in do_shmat and freed when their reference count drops to zero with their last unmap. The file and vm operations that we don't want to implement or we don't implement completely we just delegate to the operations of our backing file. This means that we now get an accurate shm_nattch count for we have a hugetlbfs inode for backing store, and the shm accounting of last attach and last detach time work as well. This means that getting a reference to the ipc namespace when we create the file and dropping the referenece in the release method is now safe and correct. This means we no longer need a special case for clearing VM_MAYWRITE as our file descriptor now only has write permissions when we have requested write access when calling shmat. Although VM_SHARED is now cleared as well which I believe is harmless and is mostly likely a minor bug fix. By using the same set of operations for both the hugetlb case and regular shared memory case shmdt is not simplified and made slightly more correct as now the test "vma->vm_ops == &shm_vm_ops" is 100% accurate in spotting all shared memory regions generated from sysvipc shared memory. Signed-off-by: Eric W. Biederman Cc: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ef8286689c6b5bc76212437b85bdd2ba749ee44 Author: Christoph Lameter Date: Tue Feb 20 13:57:52 2007 -0800 [PATCH] slab: reduce size of alien cache to cover only possible nodes The alien cache is a per cpu per node array allocated for every slab on the system. Currently we size this array for all nodes that the kernel does support. For IA64 this is 1024 nodes. So we allocate an array with 1024 objects even if we only boot a system with 4 nodes. This patch uses "nr_node_ids" to determine the number of possible nodes supported by a hardware configuration and only allocates an alien cache sized for possible nodes. The initialization of nr_node_ids occurred too late relative to the bootstrap of the slab allocator and so I moved the setup_nr_node_ids() into free_area_init_nodes(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b8a315b76a3f3c70a5644976c0095460eb13d8 Author: Christoph Lameter Date: Tue Feb 20 13:57:51 2007 -0800 [PATCH] Convert highest_possible_processor_id to nr_cpu_ids We frequently need the maximum number of possible processors in order to allocate arrays for all processors. So far this was done using highest_possible_processor_id(). However, we do need the number of processors not the highest id. Moreover the number was so far dynamically calculated on each invokation. The number of possible processors does not change when the system is running. We can therefore calculate that number once. Signed-off-by: Christoph Lameter Cc: Frederik Deweerdt Cc: Neil Brown Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c7aa8b8581e0ba8d6d17c623b9279aaabbb0cf Author: Christoph Lameter Date: Tue Feb 20 13:57:51 2007 -0800 [PATCH] Replace highest_possible_node_id() with nr_node_ids highest_possible_node_id() is currently used to calculate the last possible node idso that the network subsystem can figure out how to size per node arrays. I think having the ability to determine the maximum amount of nodes in a system at runtime is useful but then we should name this entry correspondingly, it should return the number of node_ids, and the the value needs to be setup only once on bootup. The node_possible_map does not change after bootup. This patch introduces nr_node_ids and replaces the use of highest_possible_node_id(). nr_node_ids is calculated on bootup when the page allocators pagesets are initialized. [deweerdt@free.fr: fix oops] Signed-off-by: Christoph Lameter Cc: Neil Brown Cc: Trond Myklebust Signed-off-by: Frederik Deweerdt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ec553a90448b3edbd26c1acc72464f877614bfa Author: Andrew Morton Date: Tue Feb 20 13:57:50 2007 -0800 [PATCH] mincore warning fix allnoconfig: mm/mincore.c: In function 'do_mincore': mm/mincore.c:122: warning: unused variable 'entry' Yet another entry in the why-macros-are-wrong encyclopedia. Cc: Christoph Lameter Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8af5e2eb3cc4450ffba9496c875beac41bf4f4f8 Author: KAMEZAWA Hiroyuki Date: Tue Feb 20 13:57:49 2007 -0800 [PATCH] fix mempolicy's check on a system with memory-less-node bind_zonelist() can create zero-length zonelist if there is a memory-less-node. This patch checks the length of zonelist. If length is 0, returns -EINVAL. tested on ia64/NUMA with memory-less-node. Signed-off-by: KAMEZAWA Hiroyuki Acked-by: Andi Kleen Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b446b60e4eb5e5457120c4728ada871b1209c1d0 Author: Andrew Morton Date: Tue Feb 20 13:57:48 2007 -0800 [PATCH] rework reserved major handling Several people have reported failures in dynamic major device number handling due to the recent changes in there to avoid handing out the local/experimental majors. Rolf reports that this is due to a gcc-4.1.0 bug. The patch refactors that code a lot in an attempt to provoke the compiler into behaving. Cc: Rolf Eike Beer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4fa27c16ba9b6910c5b815e5c13a7e8249277f0 Author: Andries Brouwer Date: Tue Feb 20 13:57:47 2007 -0800 [PATCH] minix v3: fix superblock definition Somehow we got the layout of the v3 superblock wrong, which causes crashes due to overindexing of the buffer_head array in statfs on large fielsystems. Cc: "Cedric Augonnet" Cc: "Daniel Aragones" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5085b607fb6c03d7668126b55cb54f20969c203c Author: Andrew Morton Date: Tue Feb 20 13:57:47 2007 -0800 [PATCH] xfs warning fix fs/xfs/linux-2.6/xfs_super.c:903: warning: 'noinline' attribute ignored Cc: David Chinner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b8f850bebe093e37d283ed791039b39fa241e6d Author: Ralf Baechle Date: Tue Feb 20 13:57:45 2007 -0800 [PATCH] Fix build errors if bitop functions are do {} while macros If one of clear_bit, change_bit or set_bit is defined as a do { } while (0) function usage of these functions in parenthesis like (foo_bit(23, &var)) while be expaned to something like (do { ... } while (0)}). resulting in a build error. This patch removes the useless parenthesis. Signed-off-by: Ralf Baechle Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4afffe5eabc4005674a1ef4f4c96f1ae9f4a979b Author: David Brownell Date: Mon Feb 19 21:28:53 2007 -0800 [PATCH] ARM: fix mach-at91 build breakage The rename of the AT91 subtree from mach-at91rm9200 to mach-at91 (to accomodate at91sam926x processors) was incomplete. It needs this patch to be able to build again. Signed-off-by: David Brownell Signed-off-by: Linus Torvalds commit e5717c48ed52feebd59756578debd34eaeb9d262 Author: Geert Uytterhoeven Date: Tue Feb 20 15:45:21 2007 +0100 [PATCH] tty_register_driver: Remove incorrect and superfluous cast tty_register_driver: Remove incorrect and superfluous cast (expected and passed types are both const char *) Signed-off-by: Geert Uytterhoeven Acked-by: Alan Cox Signed-off-by: Linus Torvalds commit f00a3ec4d47b51c5995fe10f8252a90aca331e62 Author: Dale Farnsworth Date: Tue Feb 20 05:15:20 2007 -0700 [NET] Eliminate user-selectable CONFIG_MV643XX_ETH_[012] Remove the use of CONFIG_MV643XX_ETH_[012] variables on most platforms. Instead, platform-specific code enables the ports supported by the hardware. After this patch, these config variables are only used in arch/ppc, so also move them from drivers/net/Kconfig to arch/ppc/Kconfig. Signed-off-by: Dale Farnsworth Signed-off-by: Ralf Baechle Acked-by: Jeff Garzik Cc: Paul Mackerras commit a0be2f7999aaff97962fe4240ab2ca12a394884c Author: Atsushi Nemoto Date: Tue Feb 20 20:08:45 2007 +0900 [MIPS] Drop __init from init_8259A() init_8259A() is called from i8259A_resume() so should not be marked as __init. And add some tests for whether 8259A was already initialized or not. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit a9b69d0c0c928b4a78a0da32a903ae47b0ad09e7 Author: Ralf Baechle Date: Thu Feb 8 12:44:19 2007 +0000 [MIPS] Fix Kconfig typo bug Signed-off-by: Ralf Baechle commit 90fccb1363f96790034c69f0703a36241f9197dc Author: Atsushi Nemoto Date: Tue Feb 6 16:02:21 2007 +0900 [MIPS] Fix double signal on trap and break instruction This commit broke gdb, since any BREAK or TRAP instruction cause SIGSEGV. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 01ee6037088ca2a6c93bf7e22edf831408c33196 Author: Ralf Baechle Date: Sun Feb 11 18:22:36 2007 +0000 [MIPS] sigset_32 has been made redundand by compat_sigset_t. Signed-off-by: Ralf Baechle commit 45a33c3a556825d7f7ca6f862460dacdbbce6af1 Author: Yoichi Yuasa Date: Thu Feb 8 10:30:29 2007 +0900 [MIPS] emma2rh: Remove needless inclusion. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit c316eb1eee2c803c33b1f826fe744c922d2e354f Author: Yoichi Yuasa Date: Tue Feb 20 14:11:57 2007 +0900 [MIPS] Add MTD device support for Cobalt This patch has added MTD device support for Cobalt. Moreover, removes old type FlashROM support. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 7d477a04a619e90ee08724e8f2d8803c6bdfcef8 Author: Ben Dooks Date: Mon Feb 12 18:59:35 2007 +0100 [ARM] 4165/1: S3C24XX: Select CONFIG_NO_IOPORT On S3C24XX architecture, select CONFIG_NO_IOPORT as we only have memory based IO. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 6aab44475a1355365f0a24abe6f8eb32185a701e Author: Mark Brown Date: Mon Feb 19 20:15:40 2007 +0000 natsemi: Support Aculab E1/T1 PMXc cPCI carrier cards Aculab E1/T1 PMXc cPCI carrier card cards present a natsemi on the cPCI bus with an oversized EEPROM using a direct MII<->MII connection with no PHY. This patch adds a new device table entry supporting these cards. Signed-Off-By: Mark Brown Signed-off-by: Jeff Garzik commit 68c90166e4aaa15ddcdd4778ad30bfb8b32534be Author: Mark Brown Date: Mon Feb 19 20:15:39 2007 +0000 natsemi: Add support for using MII port with no PHY This patch provides code paths which allow the natsemi driver to use the external MII port on the chip but ignore any PHYs that may be attached to it. The link state will be left as it was when the driver started and can be configured via ethtool. Any PHYs that are present can be accessed via the MII ioctl()s. This is useful for systems where the device is connected without a PHY or where either information or actions outside the scope of the driver are required in order to use the PHYs. Signed-Off-By: Mark Brown Signed-off-by: Jeff Garzik commit 208491d8f92e5aa129acb27e223e75d0173a3edd Author: Stephen Hemminger Date: Fri Feb 16 15:37:39 2007 -0800 skge: race with workq and RTNL If a workqueue function that needs RTNL is running when skge_down is called then a deadlock is possible. Fix by only clearing the timer, and handling the flush_scheduled_work on removal. This work queue is only ever used for the old fiber based boards. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8b5b46718113166b5f6bcdf40e67ea867461e209 Author: Ralf Baechle Date: Fri Feb 16 11:55:33 2007 +0000 Replace local random function with random32() Signed-off-by: Joe Perches Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 22747d6b41f31c71abc2b351bc9f6bfa6bae5d5e Author: Francois Romieu Date: Thu Feb 15 23:37:50 2007 +0100 s2io: RTNL and flush_scheduled_work deadlock Mantra: don't use flush_scheduled_work with RTNL held. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 83cbb4d2577174e27a91e63a47a2a27c3af50d4e Author: Francois Romieu Date: Thu Feb 15 23:37:44 2007 +0100 8139too: RTNL and flush_scheduled_work deadlock Your usual dont-flush_scheduled_work-with-RTNL-held stuff. It is a bit different here since the thread runs permanently or is only occasionally kicked for recovery depending on the hardware revision. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit c014f6c8f870271a8dcfe6e4139d6a651633aaf4 Author: Francois Romieu Date: Thu Feb 15 23:37:29 2007 +0100 sis190: RTNL and flush_scheduled_work deadlock Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit eb2a021c4710b98081daa797d5a729ac23c240cd Author: Francois Romieu Date: Thu Feb 15 23:37:21 2007 +0100 r8169: RTNL and flush_scheduled_work deadlock flush_scheduled_work() in net_device->close has a slight tendency to deadlock with tasks on the workqueue that hold RTNL. rtl8169_close/down simply need the recovery tasks to not meddle with the hardware while the device is going down. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 97e412fa9e31414030c1e9ac5e96a985d946af83 Author: Russell King Date: Tue Feb 20 16:11:11 2007 +0000 [ARM] Fix s3c2410 ALSA audio for typedef elimination Signed-off-by: Russell King commit 8a371840f825be20354007537b6568b77448b685 Author: Russell King Date: Tue Feb 20 15:44:23 2007 +0000 [ARM] Fix ARM AACI ALSA driver CC [M] sound/arm/aaci.o sound/arm/aaci.c:729: error: parse error before '*' token sound/arm/aaci.c:731: warning: function declaration isn't a prototype ... sound/arm/aaci.c:786: error: parse error before '*' token sound/arm/aaci.c:786: warning: function declaration isn't a prototype ... sound/arm/aaci.c:827: error: parse error before '*' token sound/arm/aaci.c:828: warning: function declaration isn't a prototype ... sound/arm/aaci.c:845: error: parse error before "aaci_capture_ops" sound/arm/aaci.c:845: warning: type defaults to `int' in declaration of `aaci_capture_ops' Signed-off-by: Russell King commit 25ccb569ee52114c01e28a2fe2d451cd43de309c Author: David Brownell Date: Mon Feb 19 21:28:53 2007 -0800 [ARM] fix mach-at91 build breakage The rename of the AT91 subtree from mach-at91rm9200 to mach-at91 (to accomodate at91sam926x processors) was incomplete. It needs this patch to be able to build again. Signed-off-by: David Brownell Signed-off-by: Russell King commit 4f2849e49cbaf8373163211bb811a8457b46cc4e Author: Russell King Date: Tue Feb 20 15:23:57 2007 +0000 [ARM] Fix jornada720 build errors kernel/built-in.o: In function `pm_suspend': utsname_sysctl.c:(.text+0x23008): multiple definition of `pm_suspend' arch/arm/mach-sa1100/built-in.o:arch/arm/mach-sa1100/sleep.S:(.text+0xf68): first defined here arm-linux-ld: Warning: size of symbol `pm_suspend' changed from 20 in arch/arm/mach-sa1100/built-in.o to 44 in kernel/built-in.o Signed-off-by: Russell King commit 6a32b935f8f8eb31877b73f76290ae051279df33 Author: Russell King Date: Tue Feb 20 14:56:51 2007 +0000 [ARM] Fix iop13xx build error CC arch/arm/mach-iop13xx/setup.o arch/arm/mach-iop13xx/setup.c: In function 'iq8134x_probe_flash_size': arch/arm/mach-iop13xx/setup.c:210: warning: implicit declaration of function 'ioremap' arch/arm/mach-iop13xx/setup.c:210: warning: initialization makes pointer from integer without a cast arch/arm/mach-iop13xx/setup.c:218: warning: implicit declaration of function 'writew' arch/arm/mach-iop13xx/setup.c:222: warning: implicit declaration of function 'readb' arch/arm/mach-iop13xx/setup.c:231: warning: implicit declaration of function 'iounmap' LD .tmp_vmlinux1 arch/arm/mach-iop13xx/built-in.o: In function `iop13xx_platform_init': iq81340mc.c:(.init.text+0x150): undefined reference to `ioremap' iq81340mc.c:(.init.text+0x21c): undefined reference to `writew' iq81340mc.c:(.init.text+0x24c): undefined reference to `writew' iq81340mc.c:(.init.text+0x254): undefined reference to `iounmap' iq81340mc.c:(.init.text+0x2c4): undefined reference to `readb' iq81340mc.c:(.init.text+0x2e8): undefined reference to `readb' Signed-off-by: Russell King commit d608e52c361271ccd841b629ca50462756f7b078 Author: Russell King Date: Tue Feb 20 14:53:28 2007 +0000 [ARM] Fix build error caused by move of apm CC arch/arm/common/sharpsl_pm.o arch/arm/common/sharpsl_pm.c:30:31: error: asm/apm-emulation.h: No such file or directory ... Signed-off-by: Russell King commit 8f27489d1105c2386e6ed71c35e74e0e69603cbc Author: Richard Purdie Date: Tue Feb 20 12:27:25 2007 +0000 backlight: Remove bogus SYSFS dependency Remove a bogus SYSFS dependency from the backlight class Signed-off-by: Richard Purdie commit 37985b449310b17a815511045455934ede5a90c0 Author: Ozzy Date: Mon Feb 19 15:05:42 2007 +0100 [ARM] 4223/1: ixdp2351 : Fix for a define error Fix syntax error for a define in ixdp2351.h Signed-off-by: ozzy Signed-off-by: Russell King commit 40f5a0ce2501d62d8653cb1fbfeb80e2a7013933 Author: Richard Purdie Date: Sat Feb 10 23:50:39 2007 +0000 backlight: simplify corgi_bl locking Now update_status has locking, we can remove the mutex from corgi_bl. Signed-off-by: Richard Purdie commit 599a52d12629394236d785615808845823875868 Author: Richard Purdie Date: Sat Feb 10 23:07:48 2007 +0000 backlight: Separate backlight properties from backlight ops pointers Per device data such as brightness belongs to the indivdual device and should therefore be separate from the the backlight operation function pointers. This patch splits the two types of data and allows simplifcation of some code. Signed-off-by: Richard Purdie commit 321709c5994f952b78d567fd7083dbebbdc381b7 Author: Richard Purdie Date: Sat Feb 10 15:04:08 2007 +0000 backlight: Clean up pmac_backlight handling Move the setting/unsetting of pmac_backlight into the backlight core instead of doing it in each driver. Signed-off-by: Richard Purdie commit e0e34ef7f02915cfe50e501e9f32c24217177a96 Author: James Simmons Date: Sat Feb 10 14:15:43 2007 +0000 backlight: Improve backlight selection for fbdev drivers Improve backlight selection for fbdev drivers Signed-off-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Richard Purdie commit 37ce69a57ff217a4ca0871e9ee5aa58c052b7d86 Author: Richard Purdie Date: Sat Feb 10 14:10:33 2007 +0000 backlight: Rework backlight/fb interaction simplifying, lots fb_info->bl_mutex is badly thought out and the backlight class doesn't need it if the framebuffer/backlight register/unregister order is consistent, particularly after the backlight locking fixes. Fix the drivers to use the order: backlight_device_register() register_framebuffer() unregister_framebuffer() backlight_device_unregister() and turn bl_mutex into a lock for the bl_curve data only. Signed-off-by: Richard Purdie commit b5c6916b3118d4301dc2f8cf8d33f13e5324a3a5 Author: Richard Purdie Date: Fri Feb 9 09:53:56 2007 +0000 backlight: Remove unneeded backlight update_status calls The backlight core listens for blanking events and triggers a backlight_update_status call so these extra calls are not needed and can be removed. Signed-off-by: Richard Purdie commit 85a3a9aa69c24c056eae578e68d44d5f612e6b51 Author: Richard Purdie Date: Fri Feb 9 09:50:47 2007 +0000 backlight: Remove uneeded update_status call from chipsfb.c Remove uneeded update_status call from chipsfb.c since the backlight core now receives software blanking notifications too. Signed-off-by: Richard Purdie commit 994efacdf9a087b52f71e620b58dfa526b0cf928 Author: Richard Purdie Date: Fri Feb 9 09:46:45 2007 +0000 backlight/fbcon: Add FB_EVENT_CONBLANK The backlight class wants notification whenever the console is blanked but doesn't get this when hardware blanking fails and software blanking is used. Changing FB_EVENT_BLANK to report both would be a behaviour change which could confuse the console layer so add a new event for software blanking and have the backlight class listen for both. Signed-off-by: Richard Purdie commit 34f18a71d9bc55e8210c3fe02938336f82f40b30 Author: Richard Purdie Date: Fri Feb 9 09:40:30 2007 +0000 backlight: Fix Kconfig entries Currently its possible to build the backlight core as a module yet compile the drivers into the kernel which gives missing symbols. Fix. Signed-off-by: Richard Purdie commit 1cfc97f21f6ab91df8d5617fcbf758322fdd238b Author: Richard Purdie Date: Fri Feb 9 00:34:52 2007 +0000 backlight: Remove uneeded nvidia set_power calls nvidia_bl_set_power isn't needed since the backlight class handles this by receiving fb events itself and calling update_status so remove it. Signed-off-by: Richard Purdie commit 249040dc7fd391186f420fe23a9b59d357103cac Author: Richard Purdie Date: Thu Feb 8 22:53:55 2007 +0000 backlight: Convert semaphore -> mutex Convert internal semaphore to a mutex Signed-off-by: Richard Purdie commit 28ee086d5b36aab2931f6740e409bb0fb6c65e5f Author: Richard Purdie Date: Thu Feb 8 22:25:09 2007 +0000 backlight: Fix external uses of backlight internal semaphore backlight_device->sem has a very specific use as documented in the header file. The external users of this are using it for a different reason, to serialise access to the update_status() method. backlight users were supposed to implement their own internal serialisation of update_status() if needed but everyone is doing things differently and incorrectly. Therefore add a global mutex to take care of serialisation for everyone, once and for all. Locking for get_brightness remains optional since most users don't need it. Also update the lcd class in a similar way. Signed-off-by: Richard Purdie commit a8db3c1948eb30cd6988b5b96b654f591e6280b1 Author: Richard Purdie Date: Thu Feb 8 00:33:24 2007 +0000 backlight: Minor code cleanups for hp680_bl.c Since people use this code as an example, clean it up to to use platform_*_drvdata instead of a global variable. Signed-off-by: Richard Purdie commit da7a747125ff80e13c00b231602e7c86b6bb8741 Author: Richard Purdie Date: Thu Feb 8 00:32:14 2007 +0000 backlight: Minor code cleanups for corgi_bl.c Since people use this code as an example, clean it up to to use platform_*_drvdata and remove an unneeded function. Signed-off-by: Richard Purdie commit 90968e8ebc4611896ff7f2ef0c0bf8455e845cd1 Author: Dmitry Torokhov Date: Thu Feb 8 00:12:28 2007 +0000 backlight: Remove excessive (un)likelys Remove excessive numbers of (un)likely()s in the backlight core. There are no hot paths in this code so rely on compiler to do the right thing. Signed-off-by: Dmitry Torokhov Signed-off-by: Richard Purdie commit dfcba200679dc3f62212154b65b40b835ce69ab7 Author: Richard Purdie Date: Thu Feb 8 00:06:32 2007 +0000 backlight: Remove unneeded owner field Remove uneeded owner field from backlight_properties structure. Nothing uses it and it is unlikely that it will ever be used. The backlight class uses other means to ensure that nothing references unloaded code. Based on a patch from Dmitry Torokhov Signed-off-by: Richard Purdie commit 2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b Author: Dmitry Torokhov Date: Wed Feb 7 22:25:50 2007 +0000 backlight: Fix error handling Fix error handling when registering new device Signed-off-by: Dmitry Torokhov Signed-off-by: Richard Purdie commit 7a208463b20e893e8e2074b2d41b8dc09568ddee Author: Marcin Juszkiewicz Date: Wed Feb 7 22:24:01 2007 +0000 backlight: Add Frontpath ProGear HX1050+ driver Add control of LCD backlight for Frontpath ProGear HX1050+. Patch is based on http://downloads.sf.net/progear/progear-lcd-0.2.tar.gz driver by M Schacht. Signed-off-by: Marcin Juszkiewicz Signed-off-by: Richard Purdie commit 300abeb5490d6fab640f7da3f612fc8c1b906580 Author: Richard Purdie Date: Wed Feb 7 22:21:07 2007 +0000 backlight: Add maintainer entry Add myself as the backlight class/subsystem maintainer. Signed-off-by: Richard Purdie commit 0cfd5267476ce8051c4447988d2b0377d09188e8 Author: Yoichi Yuasa Date: Fri Feb 9 12:16:24 2007 +0900 [MIPS] Cobalt: Fix UART I/O type The Cobalt UART is actually connected to memory resource area. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit e03b526932a9ae1ff20b47459c040f3c6407f625 Author: Ralf Baechle Date: Mon Feb 19 16:59:24 2007 +0000 [MIPS] Fixup copy_from_user_inatomic From the 01408c4939479ec46c15aa7ef6e2406be50eeeca log message: The problem is that when we write to a file, the copy from userspace to pagecache is first done with preemption disabled, so if the source address is not immediately available the copy fails *and* *zeros* *the* *destination*. This is a problem because a concurrent read (which admittedly is an odd thing to do) might see zeros rather that was there before the write, or what was there after, or some mixture of the two (any of these being a reasonable thing to see). If the copy did fail, it will immediately be retried with preemption re-enabled so any transient problem with accessing the source won't cause an error. The first copying does not need to zero any uncopied bytes, and doing so causes the problem. It uses copy_from_user_atomic rather than copy_from_user so the simple expedient is to change copy_from_user_atomic to *not* zero out bytes on failure. < --- end cite --- > This patch finally implements at least a not so pretty solution by duplicating the relevant part of __copy_user. Signed-off-by: Ralf Baechle commit 269dd2b2526d046d8b43554ff27b486e2ddb3f08 Author: Atsushi Nemoto Date: Sun Feb 18 00:12:57 2007 +0900 [MIPS] Fix struct sigcontext for N32 userland The kernel use 64-bit for sc_regs[0], and both N32/N64 userland expects it was 64-bit. But size of 'long' on N32 is actually 32-bit. So this definition make some confusion. Use __u32 and __u64 for N32/N64 sigcontext to get rid of this confusion. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit f49a747c4adadd96addf4dbf4a44f439513fb29b Author: Atsushi Nemoto Date: Sun Feb 18 01:02:14 2007 +0900 [MIPS] Make some __setup functions static This fixes some sparse warnings. ("warning: symbol 'foo' was not declared. Should it be static?") Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit bf15f7679b5cd943758dfd538b852c2ab406bee5 Author: Ralf Baechle Date: Mon Feb 19 15:00:49 2007 +0000 [MIPS] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y Signed-off-by: Ralf Baechle commit cc8010771d04af571eb16bee258d51dc8b620f7f Author: Ralf Baechle Date: Sat Feb 17 02:58:39 2007 +0000 [MIPS] Allow selection of KGDB only on platforms where it's supported. Signed-off-by: Ralf Baechle commit c9ce228306fda4448f5f495b4f36c07956f45acd Author: Greg Banks Date: Tue Feb 20 10:12:34 2007 +1100 [PATCH] Fix a free-wrong-pointer bug in nfs/acl server. Due to type confusion, when an nfsacl verison 2 'ACCESS' request finishes and tries to clean up, it calls fh_put on entiredly the wrong thing and this can cause an oops. Signed-off-by: Neil Brown Signed-off-by: Linus Torvalds commit 575d5e72aab57beb6d5fa2a7d66be9fc681a5e00 Author: Thomas Gleixner Date: Sat Feb 17 20:03:21 2007 +0100 [PATCH] tick management: make broadcast dependent on local APIC The broadcast functionality is only necessary when a local APIC is available. Make the config switch depend on X86_LOCAL_APIC. This resolves the mach-voyager breakage introduced by the tick managament code. Signed-off-by: Thomas Gleixner Signed-off-by: Linus Torvalds commit 6168a702ab0be181e5e57a0b2d0e7376f7a47f0b Author: Andrew Morton Date: Sat Feb 17 21:22:39 2007 -0800 [PATCH] Declare init_irq_proc before we use it. powerpc gets: init/main.c: In function `do_basic_setup': init/main.c:714: warning: implicit declaration of function `init_irq_proc' but we cannot include linux/irq.h in generic code. Fix it by moving the declaration into linux/interrupt.h instead. And make sure all code that defines init_irq_proc() is including linux/interrupt.h. And nuke an ifdef-in-C Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6e6df25ec6751f4f73784398ab7d43cf9d2019f Author: Erez Zadok Date: Sun Feb 18 23:57:45 2007 -0500 [PATCH] fs/stack.c: Copy i_nlink after all other attributes are copied A user-specified get_nlinks may depend on other inode attributes. Cc: Michael Halcrow Signed-off-by: Erez Zadok Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Linus Torvalds commit bc5393a6c9c0e70b4b43fb2fb63e3315e9a15c8f Author: Thomas Gleixner Date: Mon Feb 19 18:12:05 2007 +0000 [PATCH] NOHZ: Produce debug output instead of a BUG() The BUG_ON() in tick_nohz_stop_sched_tick() triggers on some boxen. Remove the BUG_ON and print information about the pending softirq to allow better debugging of the problem. Signed-off-by: Thomas Gleixner Signed-off-by: Linus Torvalds commit 6ba9b346e1e0eca65ec589d32de3a9fe32dc5de6 Author: Ingo Molnar Date: Mon Feb 19 18:11:56 2007 +0000 [PATCH] NOHZ: Fix RCU handling When a CPU is needed for RCU the tick has to continue even when it was stopped before. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Linus Torvalds commit 040cf8cfe5f0674ddf256f98366137a7b90d421f Author: Ralf Baechle Date: Sun Feb 18 00:50:57 2007 +0000 [MIPS] Update defconfigs Signed-off-by: Ralf Baechle commit c066a32a890c50ce59e91f8cea8eb5fd8d5821b9 Author: Thomas Bogendoerfer Date: Thu Dec 28 18:22:32 2006 +0100 [MIPS] Support for several more SNI RM models. Signed-off-by: Ralf Baechle commit 5759906ca9e5201c3fd40d61c861ec1e441d3a24 Author: Ralf Baechle Date: Sun Feb 18 19:07:31 2007 +0000 [MIPS] Include to for declaration of check_bugs32. Signed-off-by: Ralf Baechle commit 6a1e552947b0d73310e534bf4eb09e14db1e5056 Author: Atsushi Nemoto Date: Mon Feb 19 01:27:34 2007 +0900 [MIPS] Add external declaration of pagetable_init() to pgalloc.h This fixes some sparse warnings. pgtable-32.c:15:6: warning: symbol 'pgd_init' was not declared. Should it be static? pgtable-32.c:32:13: warning: symbol 'pagetable_init' was not declared. Should it be static? Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit db0b937daf9bee741aa8fd488ea657872b9579fe Author: Atsushi Nemoto Date: Mon Feb 19 00:54:27 2007 +0900 [MIPS] Make kernel_thread_helper() static Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b6dcec9ba4cdfeec937c045d275a5c330a1dbe16 Author: Ralf Baechle Date: Sun Feb 18 15:57:09 2007 +0000 [MIPS] Make __declare_dbe_table static and avoid it getting optimized away Signed-off-by: Ralf Baechle commit 102fa15c3f14565f2edb9f08f08ea3f2bf123dc9 Author: Ralf Baechle Date: Fri Feb 16 17:18:50 2007 +0000 [MIPS] Use MIPS R2 instructions for bitops. Add R2 optimized variants of clear_bit, set_bit and test_and_clear_bit. With gcc 4.1.1 this saves 1592 bytes on a defconfig (minus IPv6) kernel. Turns out that R2 bitop instructions are no gain for the other bitop functions. Signed-off-by: Ralf Baechle commit 151fd6acd94e12ef3a7d5fa0911a2590690c493f Author: Ralf Baechle Date: Thu Feb 15 11:40:37 2007 +0000 [MIPS] signals: Share even more code. native and compat do_signal and handle_signal are identical and can easily be unified. Signed-off-by: Ralf Baechle commit 38201fb23cd554f942702cd938c3215a76296c87 Author: Ralf Baechle Date: Thu Feb 15 01:53:00 2007 +0000 [MIPS] Fix CONFIG_MIPS32_N32=y CONFIG_MIPS32_O32=n build Signed-off-by: Ralf Baechle commit 140c1729a221dc6eacfcbf2a073dbf00fad13e43 Author: Ralf Baechle Date: Thu Dec 7 15:35:43 2006 +0100 [MIPS] Iomap implementation. This implementation has support for the concept of one separate ioport address space by PCI domain. A pointer to the virtual address where the port space of a domain has been mapped has been added to struct pci_controller and systems should be fixed to fill in this value. For single domain systems this will be the same value as passed to set_io_port_base(). Signed-off-by: Ralf Baechle commit 4c1569949a756327aa0ad7aa15a62266b6a00c3e Author: Ralf Baechle Date: Wed Feb 14 10:40:05 2007 +0000 [MIPS] needs to include . Signed-off-by: Ralf Baechle commit f8aeb85f158fa98f8c2c9a24effb00adc06c0e85 Author: Ralf Baechle Date: Wed Feb 14 10:18:59 2007 +0000 [MIPS] IP27: Fix warning. Signed-off-by: Ralf Baechle commit 755f21bb894d3fe57017f5aa8f7ace8808fcb1e3 Author: Atsushi Nemoto Date: Wed Feb 14 14:41:01 2007 +0900 [MIPS] Fix sigset_t endianess swapping issues in 32-bit compat code. access_ok in compat-signal.h is wrong (checking destination instead of source) and redundant (already checked before calling this function). Also sf_mask in struct sigframe32 should be compat_sigset_t type. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 4f65992381112acd7d2732665a9eae492c2c9de6 Author: Matthieu CASTET Date: Tue Feb 13 12:30:38 2007 +0100 [MTD] [NAND] S3C2412 fix hw ecc S3C2412 use differents registers than s3c2440 for hw ecc handling. Signed-off-by: Matthieu CASTET Acked-by: Ben Dooks Signed-off-by: David Woodhouse commit 2a7295b277539728a748fba00db388f3dc49c0d0 Author: Andrew Morton Date: Sat Feb 17 16:02:11 2007 -0800 [MTD] [NAND] Work around false compiler warning in CAFÉ driver drivers/mtd/nand/cafe.c: In function 'cafe_nand_cmdfunc': drivers/mtd/nand/cafe.c:269: warning: 'irqs' may be used uninitialized in this function Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 7be26bfb2ef3b3a768232d11d9aad9222b053d0a Author: Andrew Morton Date: Sat Feb 17 16:02:10 2007 -0800 [JFFS2] printk warning fixes fs/jffs2/wbuf.c: In function 'jffs2_check_oob_empty': fs/jffs2/wbuf.c:993: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' fs/jffs2/wbuf.c:993: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' fs/jffs2/wbuf.c: In function 'jffs2_check_nand_cleanmarker': fs/jffs2/wbuf.c:1036: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' fs/jffs2/wbuf.c:1036: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' fs/jffs2/wbuf.c: In function 'jffs2_write_nand_cleanmarker': fs/jffs2/wbuf.c:1062: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' fs/jffs2/wbuf.c:1062: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 3a38d3af92c423687fa3c916ad3e1288980024e3 Author: Andrew Morton Date: Sat Feb 17 16:02:09 2007 -0800 [MTD] [MAPS] ichxrom warning fix drivers/mtd/maps/ichxrom.c: In function 'ichxrom_init_one': drivers/mtd/maps/ichxrom.c:231: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' drivers/mtd/maps/ichxrom.c:231: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 1a6284cb6f44b2484505ee7567831316a90bc09f Author: Andrew Morton Date: Sat Feb 17 16:02:09 2007 -0800 [MTD] [MAPS] amd76xrom warning fix drivers/mtd/maps/amd76xrom.c: In function 'amd76xrom_init_one': drivers/mtd/maps/amd76xrom.c:209: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 5ad0fdc6ddd4836ddbd912a4cfc6af3963fdaa59 Author: Andrew Morton Date: Sat Feb 17 16:02:08 2007 -0800 [MTD] [MAPS] esb2rom warning fixes drivers/mtd/maps/esb2rom.c: In function 'esb2rom_init_one': drivers/mtd/maps/esb2rom.c:293: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 65af07141b8249c98888a470e01c449131b72ffe Author: Andrew Morton Date: Sat Feb 17 16:02:07 2007 -0800 [MTD] [MAPS] ck804xrom warning fix drivers/mtd/maps/ck804xrom.c: In function 'ck804xrom_init_one': drivers/mtd/maps/ck804xrom.c:211: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' drivers/mtd/maps/ck804xrom.c:211: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 3ce32f5d12735b11c002057378879b3366f09825 Author: Andrew Morton Date: Sat Feb 17 16:02:07 2007 -0800 [MTD] [MAPS] netsc520 warning fix drivers/mtd/maps/netsc520.c: In function 'init_netsc520': drivers/mtd/maps/netsc520.c:97: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit e389612deceea0816a8027fb2fcf68d5856c8d3a Author: Andrew Morton Date: Sat Feb 17 16:02:06 2007 -0800 [MTD] [MAPS] sc520cdp warning fix drivers/mtd/maps/sc520cdp.c:241: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' drivers/mtd/maps/netsc520.c: In function 'init_netsc520': Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 5785bdd6fca4e117c9891c377347ff1a987abb1b Author: Andrew Morton Date: Sat Feb 17 16:02:05 2007 -0800 [MTD] [ONENAND] onenand_base warning fix drivers/mtd/onenand/onenand_base.c: In function 'onenand_bbt_read_oob': drivers/mtd/onenand/onenand_base.c:1033: warning: format '%i' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit e03abc0c963a31cb07dfbc07c7d85d75e0d13cf4 Author: Eric Van Hensbergen Date: Sun Feb 11 13:21:39 2007 -0600 9p: implement optional loose read cache While cacheing is generally frowned upon in the 9p world, it has its place -- particularly in situations where the remote file system is exclusive and/or read-only. The vacfs views of venti content addressable store are a real-world instance of such a situation. To facilitate higher performance for these workloads (and eventually use the fscache patches), we have enabled a "loose" cache mode which does not attempt to maintain any form of consistency on the page-cache or dcache. This results in over two orders of magnitude performance improvement for cacheable block reads in the Bonnie benchmark. The more aggressive use of the dcache also seems to improve metadata operational performance. Signed-off-by: Eric Van Hensbergen commit 2c0463a9ae8751547c39302aeb31c6cef16b5df4 Author: Eric W. Biederman Date: Tue Dec 12 15:26:07 2006 -0700 9p: Use kthread_stop instead of sending a SIGKILL. Since the kthread api does not bump the reference count on processes that tracked it is not safe allow user space to kill the threads, as I still retain a pointer to the task_struct. Signed-off-by: Eric W. Biederman Acked-by: Eric Van Hensbergen commit 6d9065d8af2c86464b1f16e8aad80b3aa91756d2 Author: Kumar Gala Date: Sat Feb 17 16:09:56 2007 -0600 [POWERPC] 86xx: Cleaned up platform dts files * Removed explicit linux,phandle usage. Use references and labels now * Removed interrupts property from openpic node * Removed interrupt-parent property from openpic node that pointed to itself Signed-off-by: Kumar Gala Acked-by: Jon Loeliger commit 66822b2eef8de9fe3ec9fa837386817565dbe690 Author: Lennert Buytenhek Date: Thu Feb 8 01:03:17 2007 +0100 [ARM] 4058/2: iop32x: set ->broken_parity_status on n2100 onboard r8169 ports On the n2100, both onboard r8169 ports exhibit PCI parity problems. Set the ->broken_parity_status flag for both ports so that the r8169 drivers knows it should ignore error interrupts. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 14d178a143568f3651a40af6defadd44fb0b6b81 Author: Kevin Hilman Date: Wed Feb 7 05:46:47 2007 +0100 [ARM] 4140/1: AACI stability add ac97 timeout and retries Add timeouts to hardware read/write/probe functions in order to avoid lockups on buggy/broken hardware. Signed-off-by: Kevin Hilman Signed-off-by: Russell King commit 41762b8ca9e16c7443d8348ec53daddbe940cdcc Author: Kevin Hilman Date: Wed Feb 7 05:45:32 2007 +0100 [ARM] 4139/1: AACI record support Add PCM audio capture support for AACI audio on Versatile platform. Signed-off-by: Kevin Hilman Signed-off-by: Russell King commit 62578cbfaa50df06b3bb6e4231adc3b911a3d4b4 Author: Kevin Hilman Date: Wed Feb 7 05:41:37 2007 +0100 [ARM] 4138/1: AACI: multiple channel support for IRQ handling Add AACI channel support to interrupt handler. Also, clear underrun interrupt for correct channel. Signed-off-by: Kevin Hilman Signed-off-by: Russell King commit 62b529a7b9c11880a8820494a25db0e2ecdf3bed Author: Dmitry Torokhov Date: Sun Feb 18 01:44:58 2007 -0500 Input: remove obsolete setup parameters from input drivers They have been marked as __obsolete_setup() for several years, it is time for them to go. Signed-off-by: Dmitry Torokhov commit 2a575f11fb8e13d6bbdefaa591e9406200674402 Author: Cyrill V. Gorcunov Date: Sun Feb 18 01:44:02 2007 -0500 Input: HIL - fix improper call to release_region() Do not call release_region() if the code has been compiled without CONFIG_HP300 support. Signed-off-by: Cyrill V. Gorcunov Acked-by: Helge Deller Signed-off-by: Dmitry Torokhov commit 00a8691ca689c134eaf5b73d7251df1d6f0318be Author: Dmitry Torokhov Date: Sun Feb 18 01:42:11 2007 -0500 Input: hid-lgff - treat devices as joysticks unless told otherwise By default threat devices as joysticks with constant force-feedback effect. Signed-off-by: Dmitry Torokhov commit 130b1ab3f3dba350a949ae44a39c9beebddc09b9 Author: Valentin Zagura Date: Sun Feb 18 01:41:27 2007 -0500 Input: HID - add support for Logitech Formula Force EX Signed-off-by: Johann Deneux Signed-off-by: Dmitry Torokhov commit 0d98f6bbd8d62c2c7a9924e0b3e5068cc28173b0 Author: Philipp Zabel Date: Sun Feb 18 01:40:46 2007 -0500 Input: gpio-keys - switch to common GPIO API This adds support for at least SA1100 and S3C24xx CPUs. Signed-off-by: Philipp Zabel Signed-off-by: Dmitry Torokhov commit 1efa770f8ef0bfe12cd004f2e1f75eefcd8699d3 Author: Dmitry Torokhov Date: Sun Feb 18 01:40:37 2007 -0500 Input: do not lock device when showing name, phys and uniq Now that sysfs attributes return -ENODEV once driver requests their removal we do not need to handle scenario when data is deleted from under our feet and can simplify the code. Signed-off-by: Dmitry Torokhov commit 82dd9eff4bf3b17f5f511ae931a1f350c36ca9eb Author: Dmitry Torokhov Date: Sun Feb 18 01:40:30 2007 -0500 Input: i8042 - let serio bus suspend ports Let serio subsystem take care of suspending the ports; concentrate on suspending/resuming the controller itself. Signed-off-by: Dmitry Torokhov commit a1cec06177386ecc320af643de11cfa77e8945bd Author: Dmitry Torokhov Date: Sun Feb 18 01:40:24 2007 -0500 Input: psmouse - properly reset mouse on shutdown/suspend Some people report that they need psmouse module unloaded for suspend to ram/disk to work properly. Let's make port cleanup behave the same way as driver unload. This fixes "bad state" roblem on various HP laptops, such as nx7400. Signed-off-by: Dmitry Torokhov commit db3495099d3d52854b13874905af6e40a91f4721 Author: Al Viro Date: Wed Feb 7 01:48:00 2007 -0500 [PATCH] AUDIT_FD_PAIR Provide an audit record of the descriptor pair returned by pipe() and socketpair(). Rewritten from the original posted to linux-audit by John D. Ramsdell Signed-off-by: Al Viro commit 6a01b07fae482f9b34491b317056c89d3b96ca2e Author: Steve Grubb Date: Fri Jan 19 14:39:55 2007 -0500 [PATCH] audit config lockdown The following patch adds a new mode to the audit system. It uses the audit_enabled config option to introduce the idea of audit enabled, but configuration is immutable. Any attempt to change the configuration while in this mode is audited. To change the audit rules, you'd need to reboot the machine. To use this option, you'd need a modified version of auditctl and use "-e 2". This is intended to go at the end of the audit.rules file for people that want an immutable configuration. This patch also adds "res=" to a number of configuration commands that did not have it before. Signed-off-by: Steve Grubb Signed-off-by: Al Viro commit a17b4ad778e1857944f5a1df95fb7758cd5cc58d Author: Steve Grubb Date: Thu Dec 14 11:48:47 2006 -0500 [PATCH] minor update to rule add/delete messages (ver 2) I was looking at parsing some of these messages and found that I wanted what it was doing next to an op= for the parser to key on. Also missing was the list number and results. Signed-off-by: Steve Grubb Signed-off-by: Al Viro commit 23f510bcd3a886a8a0b04ad0528006f5c309fcb8 Author: Kumar Gala Date: Sat Feb 17 16:29:36 2007 -0600 [POWERPC] 85xx: Renamed MPC8568 MDS board code to match other boards Renamed the MPC8568 MDS platform code to follow other 85xx boards. There isn't anything specific about the 8568 MDS code that wouldn't apply to another 85xx MDS system at this point. Signed-off-by: Kumar Gala commit 6936c62571d8dc580725775b628ee73d2ac97b6f Author: Kumar Gala Date: Sat Feb 17 16:19:34 2007 -0600 [POWERPC] 85xx: Cleaning up machine probing Cleaned up the probing functionality to be more consistent across all 85xx boards and actually check to see if we should be running on a given board. Signed-off-by: Kumar Gala commit 5af68af5bcd34e3569fd82ef4676de5bc03e18c0 Author: Timur Tabi Date: Fri Feb 16 22:31:21 2007 -0600 [POWERPC] QE: clean up ucc_slow.c and ucc_fast.c Refactored and cleaned up ucc_fast.c and ucc_slow.c so that the two files look more alike and are easier to read. Removed uccf_printk() and related functions, because they were just front-ends to printk(). Fixed some spacing and tabbing issues. Minor optimizations of some code. Changed the type of some variables to their proper type (mostly buffer descriptors). Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 520948796335111cf91970efabca7e5d064db344 Author: Kumar Gala Date: Sat Feb 17 16:04:23 2007 -0600 [POWERPC] 85xx: Cleaned up platform dts files * Fixed up top level compatible property for all boards * Removed explicit linux,phandle usage. Use references and labels now * Fixed phy-phandles for TSEC3/4 in mpc8548cds.dts Signed-off-by: Kumar Gala commit 0b3581e26d4807f36b2294366d6fbd506c30d68a Author: Daniel Drake Date: Sat Feb 10 03:48:17 2007 +0000 sk98lin: mark deprecated in Kconfig sk98lin is scheduled for removal in July 2007. This patch makes the deprecation more obvious in the configuration interface. FWIW, Gentoo have been shipping a patch very similar to this for a long time. Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit 420cff550fb1338bc946f1ccc8bb66f2d96ad1cb Author: Andrew Morton Date: Sat Feb 17 03:13:07 2007 -0800 [WATCHDOG] machzwd warning fix From: Andrew Morton drivers/char/watchdog/machzwd.c: In function 'zf_ioctl': drivers/char/watchdog/machzwd.c:327: warning: passing argument 1 of 'zf_ping' makes integer from pointer without a cast Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit 419ee448ff76aef13526a99c2dc39ba3ae1f0970 Author: Jeff Garzik Date: Sat Feb 17 16:10:59 2007 -0500 Remove JFFS (version 1), as scheduled. Unmaintained for years, few if any users. Signed-off-by: Jeff Garzik commit bdcac1878c80b068d8e073c1691d4bd09ba9996d Author: Baruch Even Date: Sat Feb 17 16:37:52 2007 +0200 Hostess SV-11 depends on INET Comtrol Hostess SV-11 driver uses features from INET but doesn't depend on it. The simple solution is to make it depend on INET as happens for the sealevel driver. Fixes bug #7930. Signed-Off-By: Baruch Even Signed-off-by: Jeff Garzik commit f0ba73583aa7617d77346b3ee418f2f58a9a2204 Author: Ralf Baechle Date: Sat Feb 17 02:51:15 2007 +0000 Fix link autonegotiation timer. Start link negotiation in the open method. Previously it was started on driver initialialization and shutdown on close so an ifdown would have results in closing negotiation for good. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 8765c125e05167b5b7669961b44f50902d4bb36d Author: Stephen Hemminger Date: Fri Feb 16 15:07:53 2007 -0800 sk98lin: planned removal Nag message about planned sk98lin removal. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 40ee8c768cbb57aac7e55f7b54572afa8a9eac5a Author: Gary Zambrano Date: Fri Feb 16 13:27:27 2007 -0800 B44: increase wait loop The b44 Enet control disable bit may take longer to clear on some systems, so the loop count is increased with this patch. Functionality is not compromised, but a debug message can be seen when the bit is not cleared within the count value. Thanks to Vasileios Lourdas who reported the problem. Signed-off by: Gary Zambrano Signed-off-by: Jeff Garzik commit 97db9ee7ee86aba1117ea6605413e0972b506fbc Author: Gary Zambrano Date: Fri Feb 16 13:27:23 2007 -0800 b44: replace define Replaced B44_DMA_MASK with DMA_30BIT_MASK. Signed-off by: Gary Zambrano Signed-off-by: Jeff Garzik commit ca6efb7d6c9336acda2e7b76a39b59bbfe77ec13 Author: Kok, Auke Date: Fri Feb 16 14:39:30 2007 -0800 e1000: allow ethtool to see link status when down By reading the MAC status register we can detect whether the MAC has seen the PHY see link. This allows us to show the link properties before the device is up in ethtool. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik commit 1d33e9c606bcf3d00bf67477e34253e861bb71c3 Author: Kok, Auke Date: Fri Feb 16 14:39:28 2007 -0800 e1000: remove obsolete custom pci_save_state code Now that 2.6.19 provides a proper implementation that saves MSI, PCI-E config space, we can have the e1000 driver use those instead of it's custom implementation. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik commit d2ed16356ff4fb9de23fbc5e5d582ce580390106 Author: Kok, Auke Date: Fri Feb 16 14:39:26 2007 -0800 e1000: fix shared interrupt warning message Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 36fe55d6a3c7096a7dc852010865c63d572aeaf4 Author: Ahmed S. Darwish Date: Fri Feb 16 01:42:23 2007 -0800 atm: Use ARRAY_SIZE macro when appropriate Use ARRAY_SIZE macro already defined in kernel.h for ATM drivers. Signed-off-by: Ahmed S. Darwish Cc: Jeff Garzik Cc: chas williams Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 52edc17f94f7bd4d9a66bb13d9142f4072c7a82d Author: Jeff Morrow Date: Fri Feb 16 01:42:27 2007 -0800 bugfixes and new hardware support for arcnet driver The modifications and bug fixes noted below were done by Realtime Control Works and Contemporary Control Systems, Inc, Jan 2005. They were incorporated into the 2.6 kernel by Jeff Morrow of Sierra Analytics, Feb 2007. The changes have been tested on a Contemporary Controls PCI20U-4000. Summary of changes: Arc-rawmode.c: rx(): - Fixed error in received packet lengths; 256 byte packets were being received as 257 bytes packets. prepare_tx(): - Fixed error in transmit length calcs; 257 byte packets were being transmitted as 260 byte packets. com20020.c: com20020_check(): - We now load the SETUP2 register if the 'clockm' parameter is non-zero, instead of checking for ARC_CAN_10MBIT. The user is now responsible for whether or not SETUP2 is loaded. If the clock multiplier is non-zero, this means that the user wants a baud rate greater than 2.5Mbps. This is not possible unless the SETUP2 register is present (COM20020D, or COM20022). So, we're relying on the user to be smart about what kind of chip he's dealing with... com20020-pci.c - Added several entries to com20020pci_id_table[]. Signed-off-by: Jeff Morrow Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 659dd8351a0acbf6b057ebddd4388a97cdf0feb2 Author: pcnet32@verizon.net Date: Fri Feb 16 10:09:57 2007 -0600 pcnet32 NAPI no longer experimental Remove the experimental tag for the pcnet32 NAPI implementation. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 04ce09481b90dd0645fe034c74a3344d712e347f Author: pcnet32@verizon.net Date: Fri Feb 16 10:07:12 2007 -0600 MAINTAINER After being the defacto maintainer for a couple of years, I can now become the official maintainer. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 140e807dd7d6aa68e601f50a10abd5351e06126f Author: Haavard Skinnemoen Date: Fri Feb 16 15:59:06 2007 +0100 macb: Remove inappropriate spinlocks around mii calls Remove spin_lock_irqsave() around mii_ethtool_gset, mii_ethtool_sset and generic_mii_ioctl. These are unnecessary and harmful because the mii calls may call back into the mdio functions, which may sleep. Pointed out by David Brownell. Signed-off-by: Haavard Skinnemoen Signed-off-by: Jeff Garzik commit daeafdc360f91d286490105e67b13f094381e23f Author: Ralf Baechle Date: Fri Feb 16 12:52:17 2007 +0000 Convert meth to netdev_priv And while at it loose plenty of useless casts. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 62ba7e6cfdf6a6e20c77bacdfa15e07859fced45 Author: Stephen Hemminger Date: Thu Feb 15 16:40:35 2007 -0800 sky2: v1.13 New version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a79abdc6eeca745b2af04fc03f9a04da0d294094 Author: Stephen Hemminger Date: Thu Feb 15 16:40:34 2007 -0800 sky2: receive error handling improvements Don't drop oversize frame it might be a VLAN (untagged). Use different counter for fifo overrun vs fifo error. Print error on fifo overrrun. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 819067916d785cac0369b8d6e187b4a83fd17785 Author: Stephen Hemminger Date: Thu Feb 15 16:40:33 2007 -0800 sky2: transmit timeout The transmit timeout code could hang, and it would not clear out problems if the hardware was stuck. Change the code to effectively do a device down/up similar to the suspend/resume code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit da4c1ff475d82585e3206f0270cb1ba55bcf3c74 Author: Stephen Hemminger Date: Thu Feb 15 16:40:32 2007 -0800 sky2: flow control negotiation for Yukon-FE The Yukon-FE chip doesn't do gigabit and has a differen PHY internally. On this chip, phy status register doesn't properly reflect the result of flow control negotiation. To workaround the problem and avoid having to have so much chip dependent code; compute the result of flow control by looking at the local and remote advertised bits. Signed-off-by: Stephen Hemmminger Signed-off-by: Jeff Garzik commit 7a7b5181517752005fd0dc822176a6975218ec0f Author: Stephen Hemminger Date: Thu Feb 15 16:40:31 2007 -0800 sky2: no need to reset pause bits on shutdown Resetting the pause bits on shutdown is not necessary. The code was inherited from the vendor driver, and it is currently #ifdef'd out there as well. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 7e7c0982218a70d9bab06efcae66d02f172260e7 Author: Stephen Hemminger Date: Thu Feb 15 16:40:30 2007 -0800 sky2: dont flush good pause frames Don't mark pause frames as errors. This problem caused transmitter not to pause and would effectively take out a gigabit switch because the it can't handle overrun. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0f4e7b45b99f3bf437bc73997fb861cd039ffeb6 Author: Steve Wise Date: Thu Feb 15 13:53:09 2007 -0600 cxgb3 Fix copyrights in the cxgb3 driver. Fix copyrights in the cxgb3 driver. Remove the Open Grid Computing copyright. It shouldn't be there. Signed-off-by: Steve Wise Signed-off-by: Jeff Garzik commit 538cc7ee7dddaedf9442f32ec4cc617a070ef341 Author: Sergei Shtylyov Date: Thu Feb 15 17:56:01 2007 +0400 gianfar: don't duplicate gfar_error() It was hardly necessary to repeat most of the code from gfar_error() in gfar_interrupt(), especially having some inconsistencies between the two. So, make the gfar_interrupt() just call gfar_error(), and not acknowledge the interrupts itself as gfar_{receive/transmit/error}() do it anyway. While at it, also clarify/cleanup debug messages in gfar_error()... Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik commit 825811749b00f670b53e35ed342d5dc10d71c9de Author: Amit S. Kale Date: Mon Feb 12 04:33:38 2007 -0800 NetXen: Fix to get the driver working after sparse changes Signed-off-by: Amit S. Kale Signed-off-by: Jeff Garzik commit 11cc3bb522ddb3962fb7134ffc5e27c487746193 Author: Richard Knutsson Date: Wed Feb 14 01:40:21 2007 +0100 net/wan/pc300too.c: pci_module_init to pci_register_driver Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Jeff Garzik commit 9cc6d14e90c36eccf371d3c477211594bc274d0a Author: Jay Cliburn Date: Wed Feb 14 20:18:05 2007 -0600 atl1: bump version number Bump the version number. Signed-off-by: Jay Cliburn Signed-off-by: Jeff Garzik commit e81e557a8f1e22fab1b1bdc649ac0d24017ddce2 Author: Chris Snook Date: Wed Feb 14 20:17:01 2007 -0600 atl1: add L1 device id to pci_ids, then use it Add device id for the Attansic L1 chip to pci_ids.h, then use it. Signed-off-by: Chris Snook Signed-off-by: Jay Cliburn Signed-off-by: Jeff Garzik commit f1e5a1a00d3991eabda41dde69d1905cad4980a0 Author: Chris Snook Date: Wed Feb 14 20:16:00 2007 -0600 atl1: remove unused define Remove unused define from atl1_main.c. Signed-off-by: Chris Snook Signed-off-by: Jay Cliburn Signed-off-by: Jeff Garzik commit fd8c5a7da3c48e53c7859d9f0c1d82ba02ca0a20 Author: Jay Cliburn Date: Wed Feb 14 20:14:55 2007 -0600 atl1: read MAC address from register On some Asus motherboards containing the L1 NIC, the MAC address is written by the BIOS directly to the MAC register during POST, and is not stored in eeprom. If we don't succeed in fetching the MAC address from eeprom or spi, try reading it directly from the MAC register. Suggested by Xiong Huang. And do some cleanup while we've got the hood up... Signed-off-by: Jay Cliburn Signed-off-by: Chris Snook Signed-off-by: Jeff Garzik commit a62daa4c7544a0f0ca94d61458e3f78f630e0c05 Author: Al Viro Date: Wed Feb 14 20:13:39 2007 -0600 atl1: fix bad ioread address An ioread32 statement reads the wrong address. Fix it. Signed-off-by: Al Viro Signed-off-by: Jay Cliburn Signed-off-by: Chris Snook Signed-off-by: Jeff Garzik commit a1ca14b1f4ff62e14e5c23dbbfee41ab73d29f82 Author: Jay Cliburn Date: Wed Feb 14 20:12:13 2007 -0600 atl1: drop NET_PCI from Kconfig The atl1 driver doesn't need NET_PCI. Remove it from Kconfig. Noticed by Chad Sprouse. Signed-off-by: Jay Cliburn Signed-off-by: Chris Snook Signed-off-by: Jeff Garzik commit e363d138ed37138eb6c892b4195fa2d03fb33af6 Author: Komuro Date: Sat Feb 10 11:57:35 2007 +0900 PCMCIA-NETDEV : the 2nd argument of el3_interrrupt and smc_interrupt is struct net_device* Signed-off-by: Komuro Signed-off-by: Jeff Garzik commit 76884679c644a34ead40d74f4df6075a61d51990 Author: Andy Fleming Date: Fri Feb 9 18:13:58 2007 -0600 phylib: Add support for Marvell 88e1111S and 88e1145 Changes include: * New support for 88e1145 * New support for 88e111s * Fixing 88e1101 driver to not match non-88e1101 PHYs * Increases in feature support across Marvell PHY product line * Fixes a bunch of whitespace issues found by Lindent Signed-off-by: Andrew Fleming Signed-off-by: Jeff Garzik commit b77bfa84c419e3ec8b8e3fd4b4579e5761b7c943 Author: Uwe Kleine-König Date: Fri Feb 16 15:38:49 2007 +0100 [ARM] 4211/1: Provide a defconfig for ns9xxx This is a follow up for the patch providing the base support for the ns9xxx machine type. Signed-off-by: Uwe Kleine-König Signed-off-by: Russell King commit 9918cda52368ec3df5bb6bc1630ba8c070ad9fdd Author: Uwe Kleine-König Date: Fri Feb 16 15:36:55 2007 +0100 [ARM] 4210/1: base for new machine type "NetSilicon NS9360" Signed-off-by: Uwe Kleine-König Signed-off-by: Russell King commit 78c2644feccf78ecab8e9413d2fac83cda091bae Author: Ben Dooks Date: Sat Feb 17 16:41:12 2007 +0100 [ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM S3C2443_PM is not defined in our Kconfig, so remove the reference from CPU_S3C2443 to stop the configuration process warning about it. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 86aae08faa0069a559ba543ff3dab33fe95f891b Author: James Nelson Date: Sat Feb 17 20:15:38 2007 +0100 Documentation/kernel-docs.txt update. Signed-off-by: James Nelson Signed-off-by: Adrian Bunk commit e34f80cd865a89341331568e715e3d3e35d0d929 Author: Nicolas Kaiser Date: Sat Feb 17 20:12:12 2007 +0100 arch/cris: typo in KERN_INFO Typo in KERN_INFO. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit c5a69d57eb48e36f84c0737b5b24ec277d7dbfba Author: Tobias Klauser Date: Sat Feb 17 20:11:19 2007 +0100 Storage class should be before const qualifier The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser Signed-off-by: Adrian Bunk commit 0bbfb7c2e4b682542a822d3af05cea0e5cb5ba81 Author: Patrick Pletscher Date: Sat Feb 17 20:10:16 2007 +0100 kernel/printk.c: comment fix Signed-off-by: Patrick Pletscher Signed-off-by: Adrian Bunk commit a8e14b950c9a9e2ec703df610e00ae8581040517 Author: Jesper Juhl Date: Sat Feb 17 20:08:22 2007 +0100 update I/O sched Kconfig help texts - CFQ is now default, not AS. Change I/O scheduler description to correctly show CFQ as being the default scheduler and not the anticipatory scheduler that previously was default. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 3171470565cb422f295b18a92d0a9137a3ad5266 Author: Jesper Juhl Date: Sat Feb 17 20:07:02 2007 +0100 Remove duplicate listing of Cris arch from README Mikael Pettersson pointed out to me that a recent patch of mine (commit 620034c84d1d939717bdfbe02c51a3fee43541c3), that made some corrections to the README file, accidentally listed the Cris architecture twice. Whoops. This patch removes the duplicate. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 5c811e59ada9d31f79c8d340f28184084a3aea5b Author: Randy Dunlap Date: Sat Feb 17 20:03:14 2007 +0100 kbuild: more doc. cleanups Fix typos/spellos in kbuild/makefiles.txt. Signed-off-by: Randy Dunlap Signed-off-by: Adrian Bunk commit 78f92a82c20a9f66d215f6c6d96fb91c0763ce95 Author: Randy Dunlap Date: Sat Feb 17 19:58:30 2007 +0100 doc: make doc. for maxcpus= more visible Some people are confused about maxcpus=1 and maxcpus=0, so put the documentation text from init/main.c into Documentation/kernel-parameters.txt also. Signed-off-by: Randy Dunlap Signed-off-by: Adrian Bunk commit 4b2d5c049079d342e3e268c162dcecbd7bad1411 Author: Shane Shrybman Date: Sat Feb 17 19:56:23 2007 +0100 drivers/net/eexpress.c: remove duplicate comment Signed-off-by: Adrian Bunk commit edd023d0b86b599a8e89c1c014911129210fb955 Author: John Daiker Date: Sat Feb 17 19:52:10 2007 +0100 add a help text for BLK_DEV_GENERIC This fixes kernel Bugzilla #4933. Signed-off-by: Adrian Bunk commit 936bb14ce9ecb3b17251f3589b59dd23419d2cb7 Author: Adrian Bunk Date: Sat Feb 17 19:49:13 2007 +0100 correct a dead URL in the IP_MULTICAST help text Reported in kernel Bugzilla #6216. Signed-off-by: Adrian Bunk commit 6486abbf63a58af490144ecbc38375f655d328ad Author: Simon Depiets <2df@tuxfamily.org> Date: Sat Feb 17 19:42:17 2007 +0100 fix the BAYCOM_SER_HDX help text This fixes kernel Bugzilla #4076. Signed-off-by: Adrian Bunk commit 082f6f9ddcce40e880c1ec03bfb6a06a421188b4 Author: Matthew Wilcox Date: Sat Feb 17 19:36:33 2007 +0100 fix SCSI_SCAN_ASYNC help text Signed-off-by: Adrian Bunk commit be7d2f775c788a1891f0f600537f130178448b20 Author: Erik Hovland Date: Sat Feb 17 19:29:21 2007 +0100 trivial documentation patch for platform.txt Found a couple of typos in the Documentation/driver-model/platform.txt file. This patch fixes both of them. Signed-off-by: Erik Hovland Signed-off-by: Adrian Bunk commit 1b3c3714cb4767d00f507cc6854d3339d82c5b9d Author: Uwe Kleine-König Date: Sat Feb 17 19:23:03 2007 +0100 Fix typos concerning hierarchy heirarchical, hierachical -> hierarchical heirarchy, hierachy -> hierarchy Signed-off-by: Uwe Kleine-König Signed-off-by: Adrian Bunk commit 85d1fe095ccb6318f7a128c96630477a8859cfce Author: Robert P. J. Day Date: Sat Feb 17 19:21:17 2007 +0100 Fix comment typo "spin_lock_irqrestore". Fix "spin_lock_irqrestore" to "spin_unlock_irqrestore." Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit bbf2f9fb1c7239ae0aea55f7cb1555f4adc15f76 Author: Robert P. J. Day Date: Sat Feb 17 19:20:16 2007 +0100 Fix misspellings of "agressive". Fix the various misspellings of "agressive", as well as a couple other things on the same lines while we're there. Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit 4c3ee8266334e927d2318c8d6da5341a01394c0c Author: Robert P. J. Day Date: Sat Feb 17 19:18:52 2007 +0100 drivers/scsi/a100u2w.c: trivial typo patch Trivial typo fix. Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit 6fb189c2a4f3bea4936127355903dae2b4104e34 Author: Robert P. J. Day Date: Sat Feb 17 19:17:37 2007 +0100 Correct trivial typo in log2.h. Single typo correction in include/linux/log2.h. Signed-off-by: Robert P. J. Day Signed-Off-By: David Howells Signed-off-by: Adrian Bunk commit 728f0bbd68e98d6a5d6a17aece000d9a3e24f075 Author: Robert P. J. Day Date: Sat Feb 17 19:16:31 2007 +0100 Remove useless FIND_FIRST_BIT() macro from cardbus.c. Delete the definition of the unused FIND_FIRST_BIT() macro. Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit 405ae7d381302468ecc803f2148a2ae40a04c999 Author: Robert P. J. Day Date: Sat Feb 17 19:13:42 2007 +0100 Replace remaining references to "driverfs" with "sysfs". Globally, s/driverfs/sysfs/g. Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit ca820181fc187af316a18b2700582663662c4012 Author: Robert P. J. Day Date: Sat Feb 17 19:10:01 2007 +0100 Use ARRAY_SIZE() macro in i386 relocs.c file Change the explicit code in the relocs.c file to use ARRAY_SIZE() and add a definition of ARRAY_SIZE() since this is a userspace program and wouldn't include kernel.h. Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit d08df601a30df9e36c29f3214315f4f0c8784c68 Author: Robert P. J. Day Date: Sat Feb 17 19:07:33 2007 +0100 Various typo fixes. Correct mis-spellings of "algorithm", "appear", "consistent" and (shame, shame) "kernel". Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit 6340aa61b1f1d9c2aadb20594778a5f849bcbb69 Author: Robert P. J. Day Date: Sat Feb 17 19:05:24 2007 +0100 kbuild: Replace remaining "depends" with "depends on" Replace the very few remaining "depends" Kconfig directives with "depends on". Signed-off-by: Robert P. J. Day Signed-off-by: Adrian Bunk commit 88dacbe961aa63fa880b4f6f16515427f61fc3ca Author: Willy Tarreau Date: Sat Feb 17 18:57:09 2007 +0100 rio: typo in bitwise AND expression. The line : hp->Mode &= !RIO_PCI_INT_ENABLE; is obviously wrong as RIO_PCI_INT_ENABLE=0x04 and is used as a bitmask 2 lines before. Getting no IRQ would not disable RIO_PCI_INT_ENABLE but rather RIO_PCI_BOOT_FROM_RAM which equals 0x01. Obvious fix is to change ! for ~. Signed-off-by: Willy Tarreau Signed-off-by: Adrian Bunk commit be156bed9ebfe365c6d95f715eae3529cf694fcb Author: Kumar Gala Date: Sat Feb 17 10:16:18 2007 -0600 [POWERPC] 83xx: Renamed MPC8323 MDS dts and defconfig to match other boards Renamed the MPC8323 MDS and defconfig to match the naming convention followed by other MDS boards. Signed-off-by: Kumar Gala commit 322d05a1c455266e522e8aa7010c40f390029b41 Author: Kumar Gala Date: Sat Feb 17 10:13:56 2007 -0600 [POWERPC] 83xx: Updated and renamed MPC8360PB to MPC836x MDS The MPC836x PB board is really just one part of the MPC836x MDS. We currently name all other PB boards as MDS. Removed all references to PB and replaced with MDS. Additionally renamed the .dts to match the defconfig (mpc836x_mds*). Signed-off-by: Kumar Gala commit f7993ed57ac06da168d29c587d1bc0dce0f11c78 Author: Kumar Gala Date: Sat Feb 17 09:56:49 2007 -0600 [POWERPC] 83xx: Use of_platform_bus_probe to setup QE devices Use of_platform_bus_probe to setup devices on the of_platform_bus since its much cleaner. We explicitly specify the bus ids since the we want to get rid of the default mechanism in the future. Signed-off-by: Kumar Gala commit 7c90c800d9a6c6393fa610313b6ed56ac786da93 Author: Kumar Gala Date: Sat Feb 17 09:42:18 2007 -0600 [POWERPC] 83xx: use default value of loops_per_jiffy Use the default value setup by initialization of loops_per_jiffy, its close enough for 83xx and will get fixed up by calibrate_delay(). Signed-off-by: Kumar Gala commit 1eccad01acaf7659abdcc9a72408456558bb4fb0 Author: Kumar Gala Date: Sat Feb 17 09:25:57 2007 -0600 [POWERPC] 83xx: Remove obsolete setting of ROOT_DEV. Signed-off-by: Kumar Gala commit 336c3c2ec7e24bdf01c8f0c311ac7081b1f73d72 Author: Kumar Gala Date: Sat Feb 17 09:10:44 2007 -0600 [POWERPC] 83xx: Cleaning up machine probing and board initcalls Cleaned up the probing functionality to be more consistent across all 83xx boards and added machine_is() protection around board initcalls to ensure they only do something if we are actually running on that board. Additionally, removed some dead code on mpc832x_mds. Signed-off-by: Kumar Gala commit 3668b45d46f777b0773ef5ff49531c1144efb6dd Author: Dan Williams Date: Tue Feb 13 17:13:34 2007 +0100 [ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx * architecture specific details are handled in asm/arch/time.h * ARCH_IOP13XX now selects PLAT_IOP * as suggested by Lennert use ifdef CONFIG_XSCALE to skip the cp_wait on XSC3 Signed-off-by: Dan Williams Signed-off-by: Russell King commit 4434c5c7fd61c6713de882a2272b66f32fe7cac3 Author: Dan Williams Date: Tue Feb 13 17:13:04 2007 +0100 [ARM] 4186/1: iop: remove cp6_enable/disable routines This functionality is replaced by cp6_trap Signed-off-by: Dan Williams Signed-off-by: Russell King commit f80dff9da07d81da16e3b842118d47b9febf9c01 Author: Dan Williams Date: Fri Feb 16 22:16:32 2007 +0100 [ARM] 4185/2: entry: introduce get_irqnr_preamble and arch_ret_to_user get_irqnr_preamble allows machines to take some action before entering the get_irqnr_and_base loop. On iop we enable cp6 access. arch_ret_to_user is added to the userspace return path to allow individual architectures to take actions, like disabling coprocessor access, before the final return to userspace. Per Nicolas Pitre's note, there is no need to cp_wait on the return to user as the latency to return is sufficient. Signed-off-by: Dan Williams Signed-off-by: Russell King commit f8271e57569d1a2e7061f1754a5bb797a13b302d Author: Ben Dooks Date: Sat Feb 17 15:41:50 2007 +0100 [ARM] 4221/1: S3C2443: DMA support Add initialisation and mappings for S3C2443 DMA system Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 48adbcf33b6087727a2db0b517c994a7ecfbeb0c Author: Ben Dooks Date: Sat Feb 17 15:37:14 2007 +0100 [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev This patch gets the DMA system for the S3C24XX ready for the S3C2443, which requires 6 dma channels at a different stride, and different base IRQ. The DMA system is now initialised from the same drivers which apply the DMA mappings, as well as removing the DMA sysdev intialisation out of the main init code (which is now being called from a sysdev probe, so cannot add a new sysdev) Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 15e4db7b8054ac171de946b9511655446dd29b8f Author: Ben Dooks Date: Sat Feb 17 15:05:17 2007 +0100 [ARM] 4219/1: S3C2443: DMA source definitions Defines for the S3C2443 DMA source selection, and update the maximum channels to 6 if the S3C2443 is selected. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 64f33beafbaae55d116e933e8eae6b068fba617f Author: Ben Dooks Date: Sat Feb 17 14:04:33 2007 +0100 [ARM] 4218/1: S3C2412: fix CONFIG_CPU_S3C2412_ONLY wrt to S3C2443 Update the Kconfig of arch/arm/mach-s3c2443 to add the CONFIG_CPU_S3C2443 to the list of config variabls which mean CONFIG_CPU_S3C2412_ONLY cannot be set Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 3d9dd6bdbd6765a86736ead09009daf29382a6f2 Author: Ben Dooks Date: Sat Feb 17 14:02:37 2007 +0100 [ARM] 4217/1: S3C24XX: remove the dma channel show at startup Remove the DMA code's channel printing at startup as this is firstly a waste of console output on initialsaion, and secondly is going to be obsolete once the S3C2443 DMA code has been merged Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a65421ea3f8a0e78b4e3b858bdc5ada5ad653807 Author: Stefan Richter Date: Sat Feb 10 22:06:18 2007 +0100 ieee1394: fix another deadlock in nodemgr A "modprobe ohci1394; sleep 1.5; modprobe -r ohci1394" could get stuck in uninterruptible state, especially if an external node was connected. http://bugzilla.kernel.org/show_bug.cgi?id=7792 Signed-off-by: Stefan Richter commit 3dc5ea9b31a8c83cffa338aba91adbc9bd387002 Author: Pieter Palmers Date: Sat Feb 3 17:44:39 2007 +0100 ieee1394: cycle timer read extension for raw1394 This implements the simultaneous read of the isochronous cycle timer and the system clock (in usecs). This allows to express the exact receive time of an ISO packet as a system time with microsecond accuracy. http://bugzilla.kernel.org/show_bug.cgi?id=7773 The counterpart patch for libraw1394 can be found at http://thread.gmane.org/gmane.linux.kernel.firewire.devel/8934 Patch update (Stefan R.): Disable preemption and local interrupts. Prevent integer overflow. Add paranoid error checks and kerneldoc to hpsb_read_cycle_timer. Move it to other ieee1394_core high-level API functions. Change comments. Adjust whitespace. Rename struct _raw1394_cycle_timer. Signed-off-by: Stefan Richter Acked-by: Pieter Palmers Acked-by: Dan Dennedy commit bc43fd40ea9d4183fb0bab00f55af2da0ab46979 Author: Nicolas Pitre Date: Sat Feb 17 03:18:39 2007 +0100 [ARM] 4090/2: avoid clash between PXA and SA1111 defines The Lubbock platform uses both a PXA25x and a SA1111 at the same time. Both chips have the same "Serial Audio Controller" registers although the SA1111 one is never expected to be used in preference to the PXA25x one. So let's disable the SA1111 defines whenever compilation is for a PXA architecture and make the PXA defines always defined. This removes a bunch of "already defined" warnings as well since the current hack to prevent them depended on include ordering which wasn't always right. While at it, clean up the SA1111 defines allowing to get rid of the __CCREG() macro. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit ca83b0bcf875cd20cb5226d1fc7e828d9e0cc269 Author: Nicolas Pitre Date: Sat Feb 17 03:37:02 2007 +0100 [ARM] 4216/1: add .gitignore entries for ARM specific files Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit c6184e271db4948d4f6e07f271abeb8697a80eba Author: Ben Dooks Date: Sat Feb 17 00:52:37 2007 +0100 [ARM] 4214/2: S3C2410: Add Armzone QT2410 Patch from: Harald Welte Add support for the Armzone QT2410 system, with basic peripheral support for TFT display, SPI and LEDs. Signed-off-by: Harald Welte Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 52c477a34bd26f246485b04c75f700a0c2a52580 Author: Arnaud Patard Date: Fri Feb 16 23:50:32 2007 +0100 [ARM] 4215/1: s3c2410 usb device: per-platform vbus_draw Introduce a platform_device (machine) specific callback function which gets called when the amount of power we can draw from Vbus has changed. Signed-off-by: Harald Welte Signed-off-by: Arnaud Patard Acked-by: Ben Dooks Signed-off-by: Russell King commit a7eec7b332e83ee63f7db08cc54bf3b4663eed67 Author: Arnaud Patard Date: Fri Feb 16 22:19:48 2007 +0100 [ARM] 4213/1: S3C2410 - Update definition of ADCTSC_XY_PST Update S3C2410_ADCTSC_XY_PST macro to allow setting the ADCTSC_XY_PST bits. Signed-off-by: Arnaud Patard Acked-by: Ben Dooks Signed-off-by: Russell King commit fc7900bb04c4290f3a8e43abf231aee566feff6d Author: Sylvain Munaut Date: Thu Feb 15 23:18:08 2007 +0100 [POWERPC] Dispose irq mapping when done in mpc52xx_serial.c Signed-off-by: Sylvain Munaut Acked-by: Grant Likely Signed-off-by: Paul Mackerras commit db2d4ccdc8f9f3433d3a8566404189f2e9295c23 Author: John Keller Date: Fri Feb 16 15:07:27 2007 -0600 ACPI: IA64: react to acpi_table_parse() return value change acpi_boot_init() is making a bad check on the return status from acpi_table_parse(). acpi_table_parse() now returns zero on success, one on failure. Signed-off-by: Aaron Young Signed-off-by: Len Brown commit 5ee6edbcde4d3b14e4e03d4b331df1099a34aa8d Author: Len Brown Date: Sat Feb 10 01:18:25 2007 -0500 ACPI: hotkey: remove driver, per feature-removal-schedule.txt Signed-off-by: Len Brown commit ccf352894ceef79d40d015e1deee4c46c3aa42ed Author: Bartlomiej Zolnierkiewicz Date: Sat Feb 17 02:40:26 2007 +0100 ide: make ide_hwif_t.ide_dma_host_on void (v2) * since ide_hwif_t.ide_dma_host_on is called either when drive->using_dma == 1 or when return value is discarded make it void, also drop "ide_" prefix * make __ide_dma_host_on() void and drop "__" prefix v2: * while at it rename atiixp_ide_dma_host_on() to atiixp_dma_host_on() and sgiioc4_ide_dma_host_on() to sgiioc4_dma_host_on(). [ Noticed by Sergei Shtylyov . ] Signed-off-by: Bartlomiej Zolnierkiewicz commit 7469aaf6a30f4187ed6de7c0aed5c2dd2d1c2d31 Author: Bartlomiej Zolnierkiewicz Date: Sat Feb 17 02:40:26 2007 +0100 ide: make ide_hwif_t.ide_dma_{host_off,off_quietly} void (v2) * since ide_hwif_t.ide_dma_{host_off,off