commit 2664b25051f7ab96b22b199aa2f5ef6a949a4296 Author: Linus Torvalds Date: Mon Jan 16 23:44:47 2006 -0800 Linux v2.6.16-rc1 commit f4caf1606d3bbe3a790997e3dc5bb2779c6b7daf Author: Alan Cox Date: Mon Jan 16 17:27:38 2006 +0000 [PATCH] Remove unused code from rioctrl.c (Last for this batch of work) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 1384cee55d326e806158cea4b983ef2a9d26e035 Author: Alan Cox Date: Mon Jan 16 17:25:42 2006 +0000 [PATCH] Remove rio_table.c unused code Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 542ea6c37c2a77f7523c0703c326b8a9af2892bc Author: Alan Cox Date: Mon Jan 16 17:24:47 2006 +0000 [PATCH] Remove unused code from rio_linux.c Signed-off-by: Linus Torvalds commit 283c9d546ed7506b03f0d9da4441145aa5f2f6f9 Author: Alan Cox Date: Mon Jan 16 17:21:25 2006 +0000 [PATCH] Remove unused CHECK code from riocmd.c Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 8b03de1f667a5c15d1e4d50318a27a67669f8980 Author: Alan Cox Date: Mon Jan 16 17:19:52 2006 +0000 [PATCH] Remove unused code from rioroute.h Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit f099bfb7089735ad1760b3c6938069af10a88cc0 Author: Alan Cox Date: Mon Jan 16 17:18:05 2006 +0000 [PATCH] Remove unused code from rioboot.h Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit c7306c02874bf4d22bc0b1dbea34282d0b9a3df1 Author: Alan Cox Date: Mon Jan 16 17:14:25 2006 +0000 [PATCH] Remove unused code from rioboot Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit a6176eeab0ef1750ce21790a6c6f61ba6c9ffc63 Author: Alan Cox Date: Mon Jan 16 17:11:50 2006 +0000 [PATCH] Remove #if 0 and other long dead code from rio_tty Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 925d70d64bfeccb669c0750943585944abb28b51 Author: Alan Cox Date: Mon Jan 16 17:10:23 2006 +0000 [PATCH] Remove long dead #if 0 code from rio_param Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 09979236d6dc6a51c21131c4a8c0be7e1992a398 Author: Alan Cox Date: Mon Jan 16 17:07:54 2006 +0000 [PATCH] Remove old firmware headers from rio drivers Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 3918276ce5e3f5473428f307194fef422c0b12b8 Author: Alan Cox Date: Mon Jan 16 17:05:55 2006 +0000 [PATCH] Remove rtahw.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 169da21f403adf6698ef9bbb759e27c1f496b2b5 Author: Alan Cox Date: Mon Jan 16 17:03:49 2006 +0000 [PATCH] Remove file riscos.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit a09be029bbf8ceded3d9dd9715df70f1f8297b80 Author: Alan Cox Date: Mon Jan 16 17:02:43 2006 +0000 [PATCH] Remove file riowinif.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 69da7f9a63679a8af67325c572a3bd1338c05df8 Author: Alan Cox Date: Mon Jan 16 17:01:41 2006 +0000 [PATCH] Remove riotime.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 8618751503b66f1c2b1f8e715ffc006fa91c2400 Author: Alan Cox Date: Mon Jan 16 16:59:40 2006 +0000 [PATCH] Remove file riolocks.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 0d336ceb1e35e12ec26936be421da99eeff0a3de Author: Alan Cox Date: Mon Jan 16 16:58:38 2006 +0000 [PATCH] Remove proto.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 735f88c62ec8df5a3ec730c1bbf47907d76b6f75 Author: Alan Cox Date: Mon Jan 16 16:57:18 2006 +0000 [PATCH] Remove poll.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 009c4cb8aa0a32548c5aaec5b7b49b307fb6bf6a Author: Alan Cox Date: Mon Jan 16 16:56:16 2006 +0000 [PATCH] Remove mesg.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 125ca8fb5bbab8ff726bb538120b553f30cd136f Author: Alan Cox Date: Mon Jan 16 16:54:30 2006 +0000 [PATCH] Remove mca.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 67abbfe7deccf4a800fb246f9cecd6b7836ab150 Author: Alan Cox Date: Mon Jan 16 16:53:38 2006 +0000 [PATCH] Remove internal firmware building files from rio Signed-off-by: Linus Torvalds commit b52a90dbe654c89bb9a50c90462a69931701428f Author: Alan Cox Date: Mon Jan 16 16:52:36 2006 +0000 [PATCH] Remove hosthw.h from rio (unused file) Signed-off-by: Linus Torvalds commit 85ae2f9cabbb029b0fce3fa8c641de7f0983e308 Author: Alan Cox Date: Mon Jan 16 16:51:37 2006 +0000 [PATCH] Remove formpkt.h from rio (unused file) Signed-off-by: Linus Torvalds commit bed445d41e0ca4b09ffbb82274fb79fb444030e7 Author: Alan Cox Date: Mon Jan 16 16:50:07 2006 +0000 [PATCH] Remove enable.h from rio (unused file) Signed-off-by: Linus Torvalds commit e67f76a6b1ab418b8232791d99ee728a395bd335 Author: Alan Cox Date: Mon Jan 16 16:49:15 2006 +0000 [PATCH] Remove enable.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 0d233681274013a554194ce8e2fe8945cd49979f Author: Alan Cox Date: Mon Jan 16 16:48:12 2006 +0000 [PATCH] Remove debug.h from rio.h (unused file) Signed-off-by: Linus Torvalds commit 4198d8c3687418f245d7b351fd34702fb7fe0668 Author: Alan Cox Date: Mon Jan 16 16:47:14 2006 +0000 [PATCH] Remove data.h from rio driver (unused file) Signed-off-by: Linus Torvalds commit 98da212f0d22cb6ef7fee96e62572c763194c77b Author: Alan Cox Date: Mon Jan 16 16:46:17 2006 +0000 [PATCH] Remove chan.h from rio driver (unused file) Signed-off-by: Linus Torvalds commit e8a9858aa2af3d14a37eafc6182d3b12923be41c Author: Alan Cox Date: Mon Jan 16 16:45:18 2006 +0000 [PATCH] Remove cmd.h from rio driver (unused file) Signed-off-by: Linus Torvalds commit f504fb59c7e356d00ac56933a4462a6ba74d0c1d Author: Alan Cox Date: Mon Jan 16 16:44:05 2006 +0000 [PATCH] Remove brates.h from rio driver (unused file) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 4f4e2dc3ce46d279a311e5250ac3cbd394279c31 Author: Xose Vazquez Perez Date: Sat Jan 14 19:56:28 2006 +0100 [PATCH] README updated Replace old information with newer from kernel.org Signed-off-by: Linus Torvalds commit a462e9ff524f33da3e504fc71b8dd2b7584e4f28 Author: Dmitry Torokhov Date: Sun Jan 15 23:32:53 2006 -0500 [PATCH] Fix compile warning in bt8xx module Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds commit ea13dbc89caecd982500894d4238766a6bd3c8f4 Author: Ingo Molnar Date: Mon Jan 16 10:59:41 2006 +0100 [PATCH] kernel/hrtimer.c sparse warning fix fix the following sparse warning: kernel/hrtimer.c:665:34: warning: incorrect type in argument 2 (different address spaces) kernel/hrtimer.c:665:34: expected void const *from kernel/hrtimer.c:665:34: got struct timespec [noderef] * kernel/hrtimer.c:664:2: warning: dereference of noderef expression Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 2ddb55f091a9c74a297d72b50f8310c0c8ed7d1d Author: Ravikiran G Thirumalai Date: Tue Jan 17 07:03:47 2006 +0100 [PATCH] x86_64: Fix VSMP build Patch fixes a build problem with CONFIG_X86_VSMP. The vSMP bits probably gathered some fuzz on its way to mainline, and safe_halt() which was outside the #endif (CONFIG_X86_VSMP) somehow got inside the !CONFIG_X86_VSMP condition, hence being undefined and breaking CONFIG_X86_VSMP builds. Patch takes safe_halt() and halt() macros out of the #endif Signed-off-by: Ravikiran Thirumalai Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c09b42404d29c8a9266f8186632330dc8474bf2e Author: Matt Tolentino Date: Tue Jan 17 07:03:44 2006 +0100 [PATCH] x86_64: add __meminit for memory hotplug Add __meminit to the __init lineup to ensure functions default to __init when memory hotplug is not enabled. Replace __devinit with __meminit on functions that were changed when the memory hotplug code was introduced. Signed-off-by: Matt Tolentino Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 44df75e629106efcada087cead6c3f33ed6bcc60 Author: Matt Tolentino Date: Tue Jan 17 07:03:41 2006 +0100 [PATCH] x86_64: add x86-64 support for memory hot-add Add x86-64 specific memory hot-add functions, Kconfig options, and runtime kernel page table update functions to make hot-add usable on x86-64 machines. Also, fixup the nefarious conditional locking and exports pointed out by Andi. Tested on Intel and IBM x86-64 memory hot-add capable systems. Signed-off-by: Matt Tolentino Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8817210d4d968e58f7d93db2eecd17b20dd03d40 Author: Andi Kleen Date: Tue Jan 17 07:03:38 2006 +0100 [PATCH] x86_64: Flexmap for 32bit and randomized mappings for 64bit Another try at this. For 32bit follow the 32bit implementation from Ingo - mappings are growing down from the end of stack now and vary randomly by 1GB. Randomized mappings for 64bit just vary the normal mmap break by 1TB. I didn't bother implementing full flex mmap for 64bit because it shouldn't be needed there. Cc: mingo@elte.hu Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 562795fe5770d0c7ee7fe269890e37d9fd475fdf Author: Andi Kleen Date: Tue Jan 17 07:03:35 2006 +0100 [PATCH] x86_64: Remove elf32_map in 32bit ELF loader It's identical to the standard elf_map. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f0cf5d1a34725f3eab39120204da4afa43874269 Author: Jan Beulich Date: Tue Jan 17 07:03:32 2006 +0100 [PATCH] x86_64: eliminate empty_bad_{page,{pte,pmd}_table} ... as they are no longer needed. Since there were hard-coded numbers in the file, the patch also adds a mechanism to avoid these (otherwise potential future changes would again and again require adjusting these numbers). Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0addb142afa12a9bdf6cc53d3e86670c59c82d8f Author: Andi Kleen Date: Tue Jan 17 07:03:29 2006 +0100 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 17115e0388ece8d7141c0282c88e7dfc61953f92 Author: NeilBrown Date: Mon Jan 16 22:14:57 2006 -0800 [PATCH] md: Clear clevel whenever level is set. The 'level' of an md array can be set as either a number of a string. When one is set, the other must be marked 'undefined'. This wasn't being done in one place: where new arrays are created. Result: if md1 is a raid1, it is stopped and a raid5 is created there, it might still appear to be a raid1. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c2645830e29c082217662e7486572e9637e9f1d Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Jan 16 22:14:55 2006 -0800 [PATCH] elevator=as back-compatibility As of 2.6.15 you need to use "anticipatory" instead of "as". Fix that up so that `elevator=as' still works. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Nick Piggin Cc: Jens Axboe Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5aeebe01cb2ba1bca4cd9b8a6e77386bd7499dc2 Author: Lennert Buytenhek Date: Mon Jan 16 22:14:53 2006 -0800 [PATCH] cs89x0: credit Dmitry Pervushin Credit Dmitry Pervushin for the PNX010X platform support. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 095da6cbb6a1c54c19b11190218eb0fbac666b6d Author: Miklos Szeredi Date: Mon Jan 16 22:14:52 2006 -0800 [PATCH] fuse: fix bitfield race Fix race in setting bitfields of fuse_conn. Spotted by Andrew Morton. The two fields ->connected and ->mounted were always changed with the fuse_lock held. But other bitfields in the same structure were changed without the lock. In theory this could lead to losing the assignment of even the ones under lock. The chosen solution is to change these two fields to be a full unsigned type. The other bitfields aren't "important" enough to warrant the extra complexity of full locking or changing them to bitops. For all bitfields document why they are safe wrt. concurrent assignments. Also make the initialization of the 'num_waiting' atomic counter explicit. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bacac382fbf53f717ca7f83558e45cce44e67df9 Author: Miklos Szeredi Date: Mon Jan 16 22:14:47 2006 -0800 [PATCH] fuse: update documentation for sysfs Add documentation for new attributes in sysfs. Also describe the filesystem. Signed-off-by: Miklos Szeredi Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1aa96a52e9594fb16296c0d76c2066773d62933 Author: Miklos Szeredi Date: Mon Jan 16 22:14:46 2006 -0800 [PATCH] fuse: use asynchronous READ requests for readpages This patch changes fuse_readpages() to send READ requests asynchronously. This makes it possible for userspace filesystems to utilize the kernel readahead logic instead of having to implement their own (resulting in double caching). Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 361b1eb55ea84181505c7f0674ca1205da1127ab Author: Miklos Szeredi Date: Mon Jan 16 22:14:45 2006 -0800 [PATCH] fuse: READ request initialization Add a separate function for filling in the READ request. This will make it possible to send asynchronous READ requests as well as synchronous ones. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b9a04693fa2d9e60933154e4c4aca83c219ef0a Author: Miklos Szeredi Date: Mon Jan 16 22:14:44 2006 -0800 [PATCH] fuse: move INIT handling to inode.c Now the INIT requests can be completely handled in inode.c and the fuse_send_init() function need not be global any more. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64c6d8ed4c55f0a99b1b81558851da80c8d58244 Author: Miklos Szeredi Date: Mon Jan 16 22:14:42 2006 -0800 [PATCH] fuse: add asynchronous request support Add possibility for requests to run asynchronously and call an 'end' callback when finished. With this, the special handling of the INIT and RELEASE requests can be cleaned up too. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69a53bf267fa58b89aa659d121dfe38436562a30 Author: Miklos Szeredi Date: Mon Jan 16 22:14:41 2006 -0800 [PATCH] fuse: add connection aborting Add ability to abort a filesystem connection. With the introduction of asynchronous reads, the ability to interrupt any request is not enough to dissolve deadlocks, since now waiting for the request completion (page unlocked) is independent of the actual request, so in a deadlock all threads will be uninterruptible. The solution is to make it possible to abort all requests, even those currently undergoing I/O to/from userspace. The natural interface for this is 'mount -f mountpoint', but that only works as long as the filesystem is attached. So also add an 'abort' attribute to the sysfs view of the connection. Signed-off-by: Miklos Szeredi Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cd5b88553acf0611474dbaf8e43770eed268060 Author: Miklos Szeredi Date: Mon Jan 16 22:14:38 2006 -0800 [PATCH] fuse: add number of waiting requests attribute This patch adds the 'waiting' attribute which indicates how many filesystem requests are currently waiting to be completed. A non-zero value without any filesystem activity indicates a hung or deadlocked filesystem. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f543f253f3aa721a24557d7df8259145bb01b734 Author: Miklos Szeredi Date: Mon Jan 16 22:14:35 2006 -0800 [PATCH] fuse: make fuse connection a kobject Kobjectify fuse_conn, and make it visible under /sys/fs/fuse/connections. Lacking any natural naming, connections are numbered. This patch doesn't add any attributes, just the infrastructure. Signed-off-by: Miklos Szeredi Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ba7cbba100bdaca7316d71d6c6298e61191f8b2 Author: Miklos Szeredi Date: Mon Jan 16 22:14:34 2006 -0800 [PATCH] fuse: extend semantics of connected flag The ->connected flag for a fuse_conn object previously only indicated whether the device file for this connection is currently open or not. Change it's meaning so that it indicates whether the connection is active or not: now either umount or device release will clear the flag. The separate ->mounted flag is still needed for handling background requests. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d77a1d5b611742c538364f041ff4610d27b14fe7 Author: Miklos Szeredi Date: Mon Jan 16 22:14:31 2006 -0800 [PATCH] fuse: introduce list for requests under I/O Create a new list for requests in the process of being transfered to/from userspace. This will be needed to be able to abort all requests even those currently under I/O Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83cfd4935124b165e942c317dc3e9ebb0a3e6a63 Author: Miklos Szeredi Date: Mon Jan 16 22:14:31 2006 -0800 [PATCH] fuse: introduce unified request state The state of request was made up of 2 bitfields (->sent and ->finished) and of the fact that the request was on a list or not. Unify this into a single state field. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6383bdaa2ed2d461d9f4d369dfaa9d610fc972e3 Author: Miklos Szeredi Date: Mon Jan 16 22:14:29 2006 -0800 [PATCH] fuse: miscellaneous cleanup - remove some unneeded assignments - use kzalloc instead of kmalloc + memset - simplify setting sb->s_fs_info - in fuse_send_init() use fuse_get_request() instead of do_get_request() helper Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bfc016d2e2fff71c6843257f0fd0b60876331ed Author: Miklos Szeredi Date: Mon Jan 16 22:14:28 2006 -0800 [PATCH] fuse: uninline some functions Inline keyword is unnecessary in most cases. Clean them up. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3bebd94bbe4e59dfa23d85b0296a4ce8ebcc6c7 Author: Miklos Szeredi Date: Mon Jan 16 22:14:27 2006 -0800 [PATCH] fuse: handle error INIT reply Handle the case when the INIT request is answered with an error. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f43b155a5a8a95b06bc0b4474fbb7311c7e9709a Author: Miklos Szeredi Date: Mon Jan 16 22:14:26 2006 -0800 [PATCH] fuse: fix request_end() This function used the request object after decrementing its reference count and releasing the lock. This could in theory lead to all sorts of problems. Fix and simplify at the same time. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 222f1d69183f10d70a37de5785698fe0aa363c12 Author: Miklos Szeredi Date: Mon Jan 16 22:14:25 2006 -0800 [PATCH] fuse: fuse_copy_finish() order fix fuse_copy_finish() must be called before request_end(), since the later might sleep, and no sleeping is allowed between fuse_copy_one() and fuse_copy_finish() because of kmap_atomic()/kunmap_atomic() used in them. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f87fd4c2a0c4f3baad28057360b36a59591ef751 Author: Miklos Szeredi Date: Mon Jan 16 22:14:23 2006 -0800 [PATCH] add /sys/fs This patch adds an empty /sys/fs, which filesystems can use. Signed-off-by: Miklos Szeredi Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e6e1db4ac7acfe3e38bbef9eba59233ba7f6b9a Author: Bob Copeland Date: Mon Jan 16 22:14:20 2006 -0800 [PATCH] partitions: Read Rio Karma partition table The Rio Karma portable MP3 player has its own proprietary partition table. The partition layout is similar to a DOS boot sector but it begins at a different offset and uses a different magic number (0xAB56 instead of 0xAA55). Add support for it to enable mounting the device. Signed-off-by: Bob Copeland Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cad8244840d1a148f638925758afd1cdf81fc839 Author: Paul Mundt Date: Mon Jan 16 22:14:19 2006 -0800 [PATCH] sh: Move CPU subtype configuration to its own Kconfig Currently the CPU subtype options are cluttering up arch/sh/Kconfig somewhat. Given that, this moves all of that in to its own arch/sh/mm/Kconfig. Things like cache configuration are also moved to this new location. This also adds support for strict CPU tuning on newer cores, which requires the addition of as-option. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa01666df35cd769c0957d4b3ae6ee99d680ab88 Author: Paul Mundt Date: Mon Jan 16 22:14:18 2006 -0800 [PATCH] sh: Simple timer framework This builds on some of the clock framework code to support a simple system timer interface. Signed-off-by: Paul Mundt Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36ddf31b689a8c11d424e43565d2aa440b77bbf4 Author: Paul Mundt Date: Mon Jan 16 22:14:17 2006 -0800 [PATCH] sh: Simplistic clock framework This adds a relatively simplistic clock framework for sh. The initial goal behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU subtype-specific frequency setting and calculation code moved somewhere more sensible. This only deals with the core clocks at the moment, though it's trivial for other drivers to define their own clocks as desired. Signed-off-by: Paul Mundt Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b66c1a3919abb40f9bd8fb92a0d9fd77eb899c54 Author: Paul Mundt Date: Mon Jan 16 22:14:15 2006 -0800 [PATCH] sh: I/O routine cleanups and ioremap() overhaul This introduces a few changes in the way that the I/O routines are defined on SH, specifically so that things like the iomap API properly wrap through the machvec for board-specific quirks. In addition to this, the old p3_ioremap() work is converted to a more generic __ioremap() that will map through the PMB if it's available, or fall back on page tables for everything else. An alpha-like IO_CONCAT is also added so we can start to clean up the board-specific io.h mess, which will be handled in board update patches.. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf3a00f88c926635932c91afd90b4a0907dfbe78 Author: Paul Mundt Date: Mon Jan 16 22:14:14 2006 -0800 [PATCH] sh: IRQ handler updates This moves the various IRQ controller drivers into a new subdirectory, and also extends the INTC2 IRQ handler to also deal with SH7760 and SH7780 interrupts, rather than just ST-40. The old CONFIG_SH_GENERIC has also been removed from the IRQ definitions, as new ports are expected to be based off of CONFIG_SH_UNKNOWN. Since there are plenty of incompatible machvecs, CONFIG_SH_GENERIC doesn't make sense anymore. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d44190eae97ad4c9ce30f1084e1b0dabd646df5 Author: kogiidena Date: Mon Jan 16 22:14:10 2006 -0800 [PATCH] sh: kexec() support This adds kexec() support for SH. Signed-off-by: kogiidena Signed-off-by: Paul Mundt Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d831770b154a057562236e8cf50905c8f1ae1b0 Author: Paul Mundt Date: Mon Jan 16 22:14:09 2006 -0800 [PATCH] sh: DMA updates This extends the current SH DMA API somewhat to support a proper virtual channel abstraction, and also works to represent this through the driver model by giving each DMAC its own platform device. There's also a few other minor changes to support a few new CPU subtypes, and make TEI generation for the SH DMAC configurable. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0025835cf20e07056b8521b8c1d7d0bfe07e81f1 Author: Paul Mundt Date: Mon Jan 16 22:14:08 2006 -0800 [PATCH] sh: consolidate hp620/hp680/hp690 targets into hp6xx Most of the reasons for keeping these separate before was due to hp690 discontig, and since we have a workaround for that now (abusing some shadow space so everything is magically contiguous), there's no reason to keep the targets separate. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ebdce726baf17eb66c5a1bf402ae6f161a082ed Author: Christoph Hellwig Date: Mon Jan 16 22:14:06 2006 -0800 [PATCH] fix up sbuslib for new fb_comapt_ioctl prototype After ages my fb ioctl prototype cleanup finally got in. Unfortunately the patch are so old that the sbus compat_ioctl helper didn't exist back then, so it's not covered. This patch should fix that issue. Signed-off-by: Christoph Hellwig Cc: "David S. Miller" Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f63776d0dccb6eb5f38beeac3eb9db735f7b5879 Author: Alexey Dobriyan Date: Mon Jan 16 22:14:05 2006 -0800 [PATCH] arm26: s/task_threas_info/task_thread_info/ Signed-off-by: Alexey Dobriyan Signed-off-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b142159fa5ffbad73b6927fafa5440148030f3f1 Author: Yoichi Yuasa Date: Mon Jan 16 22:14:01 2006 -0800 [PATCH] mips: add pm_power_off Adds pm_power_off() to MIPS. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f56a31ad616b13414cf764f620f75f45dac26e6 Author: Ingo Molnar Date: Mon Jan 16 22:14:00 2006 -0800 [PATCH] drivers/char/esp.c spinlock fix There's incorrect spinlock usage in espserial_init(): autoconfig() uses info->lock before it's initialized. The fix is to initialize the spinlock earlier. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd279197b1df6b46076991ca0e1f7faa8f3d8028 Author: Adrian Bunk Date: Mon Jan 16 22:13:59 2006 -0800 [PATCH] build kernel/intermodule.c only when required Build kernel/intermodule.c only when required. Signed-off-by: Adrian Bunk Cc: Sam Ravnborg Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3001aa826ea6a4de12b437188c2a095991d2d142 Author: Adrian Bunk Date: Mon Jan 16 22:13:58 2006 -0800 [PATCH] no longer mark MTD_OBSOLETE_CHIPS as BROKEN This patch removes the wrong dependency of MTD_OBSOLETE_CHIPS on BROKEN and marks the non-compiling MTD_AMDSTD and MTD_JEDEC drivers as BROKEN. Signed-off-by: Adrian Bunk Acked-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3868cca523e20a2600f6a9b1feebb69a6c8ccb68 Author: Alexey Dobriyan Date: Mon Jan 16 22:13:57 2006 -0800 [PATCH] arm26: kernel/irq.c: fix compilation It's trying to "continue;" in "if" statement. Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 511c3a2beefbb7d263063f2fef48615fba2d7255 Author: Alexey Dobriyan Date: Mon Jan 16 22:13:56 2006 -0800 [PATCH] arm26: add L1_CACHE_SHIFT Fix reiserfs compilation as a side effect =) Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96419b7c4d996d9f12ca9f7189f316ed2938074a Author: Adrian Bunk Date: Mon Jan 16 22:13:55 2006 -0800 [PATCH] fix arm26 THREAD_SIZE arm26 currently has a 256 kB THREAD_SIZE (sic). Looking at the comment in the code, this seems to be based on a misunderstanding. The comment says: this needs attention (see kernel/fork.c which gets a nice div by zero if this is lower than 8*32768 kernel/fork.c does: max_threads = mempages / (8 * THREAD_SIZE / PAGE_SIZE) Therefore, a division by 0 is impossible for all reasonable cases with THREAD_SIZE >= PAGE_SIZE. Since the minimum PAGE_SIZE Linux uses on the arm26 architecture is 16k, PAGE_SIZE should be sufficient for THREAD_SIZE. Signed-off-by: Adrian Bunk Signed-off-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6aa4c0ef388201745adadfc7855b8a871f0e6122 Author: Adrian Bunk Date: Mon Jan 16 22:13:53 2006 -0800 [PATCH] i386: remove gcc version check for CONFIG_REGPARM Since we do no longer support any gcc < 3.0, there's no need to check for it.. Signed-off-by: Adrian Bunk Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dca6f33f026dc8a7fc2710b78a7521e899bd611 Author: Jonathan Corbet Date: Mon Jan 16 15:58:55 2006 -0700 [PATCH] hrtimer comment tweak Fix a comment which missed an update cycle somewhere. Signed-off-by: Jonathan Corbet Signed-off-by: Linus Torvalds commit 1f35f432b9d116f5be4c428d71d39ed9b7d6ff50 Author: Jens Axboe Date: Tue Jan 17 00:23:49 2006 +0100 [PATCH] Fix drivers/block/ps2esdi.c compile Looks like fallout from the geo stuff. commit 53493dcf6e9e27cc9379cbf8962642986927aea9 Author: Prarit Bhargava Date: Mon Jan 16 19:54:40 2006 -0800 [IA64] Cleanup of arch/ia64/sn and include/asm-ia64/sn Replace uintX_t declarations with uX declarations. Replace intX_t declarations with sX declarations. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 506eecde44d54e838c61c2af38630e8ebb16363e Author: Jody McIntyre Date: Mon Jan 16 19:21:57 2006 -0500 Actually remove amdtp.[ch], cmp.[ch]. The feature removal was done in 7301c8d3a05dc52d33598364da7c4eb6ab6357eb but these files were not removed for some reason. Signed-off-by: Jody McIntyre commit f15ac5801fdc1b217c3b8b5dbc63a09371d2ee4d Author: Xu, Anthony Date: Mon Jan 9 10:36:35 2006 +0800 [IA64] pal cache flush patch Because PAL spec has changed since 2002, you can goto http://developer.intel.com/design/itanium/manuals/iiasdmanual.htm to download new SDM, all PAL calls should be invoked with psr.ic=1, and it's caller's responsibility to handle possible tlb miss. Ia64_pal_cache_flush was written according to old spec, it is obsolete, and this patch has ia64_pal_cache_flush conform to new spec. Signed-off-by Anthony Xu Signed-off-by: Tony Luck commit 7b9c8ba2d634a0467a8a36018a28624563f34f47 Author: Kenji Kaneshige Date: Mon Jan 16 13:45:23 2006 +0900 [IA64] Stop multiple pci_claim_resource() call for the same resource This patch fixes the bug that pci_claim_resource() is called multiple times for the same P2P bridge's resource structures if P2P bridges require their own PCI I/O resources. Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit 01ffe339e3a0ba5ecbeb2b3b5abac7b3ef90f374 Author: Nathan Scott Date: Tue Jan 17 09:02:07 2006 +1100 Make alloc_page_buffers() initialise buffer_heads using init_buffer(), like other routines here, to ensure buffers are correctly initialised with respect to b_private/b_end_io. Fixes an odd interaction between XFS and reiserfs. Signed-off-by: Nathan Scott commit 1681b8e1588f9119899e422181f728b197b1fe34 Author: Yasunori Goto Date: Sat Jan 7 11:50:38 2006 +0900 [IA64] Simple memory hot-add for ia64. First step to memory hotplug for ia64 (add only, all new memory is added to node 0, does not use ZONE_EASY_RECLAIM yet). Signed-off-by: Yasunori Goto Signed-off-by: Tony Luck commit f74e6670c4a788c9a0c52ab2036d8ac6be12f1d8 Author: Linus Torvalds Date: Mon Jan 16 11:33:09 2006 -0800 x86-64: fix initrd freeing The comparison of the initrd start address against "&_end" is unnecessary and incorrect. Make it match the x86 code that just compares the passed-in arguments. Signed-off-by: Linus Torvalds commit 5580eceed2014135231acb3e6906accf97e10f3c Author: Andi Kleen Date: Mon Jan 16 01:56:54 2006 +0100 [PATCH] x86_64: Increase NR_IRQ_VECTORS to 32 * NR_CPUS This prevents running out of GSIs on large Unisys ES7000 machines. Follows i386 Cc: "Protasevich, Natalie" Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ee408c79420b6a437332d6977fe33ab72c36dc97 Author: Andi Kleen Date: Mon Jan 16 01:56:51 2006 +0100 [PATCH] x86_64: Don't try to put kernel page tables beyond ZONE_DMA32. For not fully explained reasons it broke mem=... on several setups. Also minor cleanup. Cc: axboe@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 142a64a650fa5786c2ecea3de5ae3d5a2de72312 Author: Andi Kleen Date: Mon Jan 16 01:56:48 2006 +0100 [PATCH] x86_64: set do_not_nx as cpuinitdata 'check_efer' uses 'do_not_nx'. Hotpluged CPU could wrongly disable NX. Signed-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5b74357328eb325c12ea76f043524e7924a021e4 Author: Shaohua Li Date: Mon Jan 16 01:56:45 2006 +0100 [PATCH] x86_64: lapic resume uses correct base address uses correct lapic base address. The set_fixmap appears useless. Signed-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e25db98d9ae542f95d139e316a6d490ceddd141e Author: Andi Kleen Date: Mon Jan 16 01:56:42 2006 +0100 [PATCH] x86_64: Only let user select PM timer support when EMBEDDED To avoid mistakes. I got a few reports where people got broken timing because they didn't have the PMTIMER fallback. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5f8efbb96f4b2679dcbd2c115380a47bd2089dcd Author: Andi Kleen Date: Mon Jan 16 01:56:39 2006 +0100 [PATCH] x86_64: Allow nesting of int3 by default for kprobes This unbreaks recursive kprobes which didn't work anymore due to an earlier patch which converted the debug entry point to use an IST. This also allows nesting of the debug entry point too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit aa41eb9915de74fc6935792973bac4bd777ce218 Author: Andi Kleen Date: Mon Jan 16 01:56:36 2006 +0100 [PATCH] x86_64: Mark powernow k8 init functions as __cpuinit cpufreq init can be called when a CPU is set online. Need to make powernow-k8's initialisation functions __cpuinit to prevents oopses when a CPU is off/onlined on a AMD system Cc: trenn@suse.de Cc: mark.langsdorf@amd.com Cc: davej@redhat.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9179cb65780def28770a895a4bc8fa60e903ab80 Author: Stephane Eranian Date: Tue Jan 10 03:10:43 2006 -0800 [IA64] Perfmon for Montecito Add Montecito PMU description table for perfmon2 Signed-off-by: Stephane Eranian Signed-off-by: Tony Luck commit df9df036d356078679a60135fba65f79cd6153d0 Author: Sam Ravnborg Date: Mon Jan 16 12:46:07 2006 +0100 kbuild: fix 'make all install_modules install' The command 'make all modules_install install' would fail in a virgin tree - pointing at a non-existing directory under /lib/modules/xxx KERNELRELEASE is part of MODLIB and we need to create .kernelrelease before we can properly evaluate KERNELRELEASE, Changing MODLIB to the recursively expanded flavor let it pick up the correct KERNELRELEASE value. Reported by: "Hemmann, Volker Armin" Signed-off-by: Sam Ravnborg commit 2244cbd8a9185c197ec5ba5de175aec288697223 Author: Sam Ravnborg Date: Mon Jan 16 12:12:12 2006 +0100 kbuild: create .kernelrelease at *config step To enable 'make kernelrelease' earlier now create .kernelrelease when one of the *config targets are used. Also introduce KERNELVERSION - only user is kconfig. KERNELVERSION was needed to display kernel version in menuconfig - KERNELRELEASE is not valid until configuration has completed. kconfig files modified to use KERNELVERSION. Bug reported by: Rene Rebe Signed-off-by: Sam Ravnborg commit b7bfcf7cbd58d2a64aa46f3b4bec921e346e604f Author: Jens Axboe Date: Mon Jan 16 09:48:58 2006 +0100 [BLOCK] elevator: if specified scheduler is not found, fall back to default Signed-off-by: Jens Axboe commit 752a3b79630a290cbbe4731e7c61b75d4fbebc5c Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Jan 16 09:47:37 2006 +0100 [BLOCK] elevator: Make elevator=as work again for anticipatory Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Jens Axboe commit 5a225791374dca35bba871a007c78a3d0b14b559 Author: Tejun Heo Date: Mon Jan 16 09:45:58 2006 +0100 barrier.txt got lost while the new barrier patchset was climbing up the ladder to the mainline. Add it back. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 107a09c44b65d5e2a5313edfda91c498df3b3f2a Author: Nathan Scott Date: Mon Jan 16 16:28:07 2006 +1100 [XFS] remove no-longer-needed IS_NOATIME macro, twas just a build workaround Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit c2e81432201d99cc48ff6492567fe05204cc8d7e Author: Nathan Scott Date: Mon Jan 16 16:21:34 2006 +1100 [XFS] mutex fallout - fix debug builds and remove no-longer-useful comment. Signed-off-by: Nathan Scott commit 54245702ab63a9a0b1ccf78bc37b57e778bb3bcc Author: Nathan Scott Date: Mon Jan 16 15:54:05 2006 +1100 [XFS] Fix symlink creation too, with respect to initialising SELinux context. SGI-PV: 946762 SGI-Modid: xfs-linux-melb:xfs-kern:24983a Signed-off-by: Nathan Scott commit 366cc64b0d9ac922ac4f0f54e06c13ec95249928 Author: Markus Rechberger Date: Sun Jan 15 21:04:27 2006 -0200 V4L/DVB (3390): Added remote control support for pinnacle pctv - Added remote control support for pinnacle pctv Signed-off-by: Markus Rechberger Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 17c37efbb5163e5df118510c7b4243b7d3b32ce2 Author: Michael Krufky Date: Sun Jan 15 19:04:04 2006 -0200 V4L/DVB (3389): Samsung TBMV30111IN has 6 entries - Samsung TBMV30111IN has 6 entries Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit de03d21b908bd4c49f1fe7b0c4dc5876551cf819 Author: Michael Krufky Date: Sun Jan 15 16:04:04 2006 -0200 V4L/DVB (3388): tuner_params->tda988x is currently unused, so disable - Tuner_params->tda988x is unused right now, so let's disable it for 2.6.16 - This is currently happening at the card level, but the plan is to move this configuration into the tuner_params configuration. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 01872c5d253298b9f360c7c9b9f33504b6ad5469 Author: Michael Krufky Date: Sun Jan 15 15:47:02 2006 -0200 V4L/DVB (3387): clean up some comments - clean up some comments Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 18adfe7ac0777c3cc364cccb6823aafe2a009aa3 Author: Ricardo Cerqueira Date: Sun Jan 15 15:33:02 2006 -0200 V4L/DVB (3386): fix some sound quality & distortion problems. - Fix some sound quality & distortion problems. Signed-off-by: Ricardo Cerqueira Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cb8d1aa78e31d7f3511c0b3f25f5a61a4687235f Author: Hans Verkuil Date: Sun Jan 15 15:09:23 2006 -0200 V4L/DVB (3385): Return -EINVAL for unknown commands in msp3400 module. - Return -EINVAL for unknown commands. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 27487d44712aaa37710cc508d5bd6119f5e9f976 Author: Hans Verkuil Date: Sun Jan 15 15:04:52 2006 -0200 V4L/DVB (3384): Separate tv & radio freqs, fix cb/freq transmit order for tuners that need this. - Moved MSP_SET_MATRIX to v4l2-common.h - Fix typos and integer overflows in tea5767.c - Split old freq field into a tv_freq and a radio_freq. Prevents that a radio tuner is initialized with a tv frequency or vice versa. - When switching to radio mode initialize the tuner with the last used radio frequency (this was already done for the TV mode). As a result of these changes the tuner module now remembers the last set radio and TV frequencies, which is what you would expect to happen. - Move out of range frequencies to the closest valid frequency as per v4l2 API spec. - Fix incorrect initial radio frequency (multiplier is 16000, not 16) - Add boundary check for out of range frequencies. - Use new flag to check if the order of the CB and freq. depends on the last set frequency. That is needed for some tuners or you can get static as a result. The flag is added for those tuners where I know that the datasheet indicates that this is necessary. - For this new check use the last set div value, not the last frequency as radio frequencies are always much higher due to the 16000 multiplier. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8f0bb9c069fc487dadebe4cdd1e03f0df5ebf0e6 Author: Michael Krufky Date: Sun Jan 15 12:46:18 2006 -0200 V4L/DVB (3383): Move tda988x options into tuner_params struct. - Tda988x parameters should be defined per tuner_param_type, for each tuner_params array member. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3527761cb403fba72a37c4e6a1fad76eeedd990c Author: Wim Van Sebroeck Date: Sun Jan 15 21:21:14 2006 +0100 [PATCH] MAINTAINERS: watchdog device drivers Add a MAINTAINER entry for the watchdog device drivers. Signed-off-by: Wim Van Sebroeck commit a073404272e8003816d9198f639b1bf11ff0a864 Author: Ian Campbell Date: Wed Nov 2 08:56:49 2005 +0000 [WATCHDOG] sa1100_wdt.c sparse cleanups The following makes drivers/char/watchdog/sa1100_wdt.c sparse clean. Signed-off-by: Ian Campbell Signed-off-by: Wim Van Sebroeck commit 296e0855b0f9a4ec9be17106ac541745a55b2ce1 Author: Sam Ravnborg Date: Sun Jan 15 20:02:31 2006 +0100 kbuild: fix make -jN with multiple targets with O=... The way multiple targets was handled with make O=... broke because for each high-level target make spawned a parallel make resulting in a broken build. Reported by Keith Owens Signed-off-by: Sam Ravnborg commit 6b4977ce0fb9a989ba24fd6b757d07a566abc23d Author: Kyle McMartin Date: Sun Jan 15 12:10:55 2006 -0500 [PATCH] Use atomic64_set for 64-bit case of atomic_long_set For some reason, the BITS_PER_LONG == 64 case of atomic_long_set was using atomic_set instead of atomic64_set. This does not jive with architectures which use an inline instead of a #define to implement their atomic_set() primitives. Signed-off-by: Kyle McMartin Signed-off-by: Linus Torvalds commit 69ff56c166629224e9fe914b8543021dc2f001f0 Author: Jean Delvare Date: Sun Jan 15 13:13:13 2006 +0100 [PATCH] Fix zoran_card compilation warning Fix the following warning which was introduced in 2.6.15-git8 by commit 7408187d223f63d46a13b6a35b8f96b032c2f623: CC [M] drivers/media/video/zoran_card.o drivers/media/video/zoran_card.c: In function `zr36057_init': drivers/media/video/zoran_card.c:1053: warning: assignment makes integer from pointer without a cast Signed-off-by: Jean Delvare Acked-by: Ronald S. Bultje Signed-off-by: Linus Torvalds commit ef0498a7bfbb5773e7ba4235207054b81ad5120e Author: Russell King Date: Sun Jan 15 17:03:45 2006 +0000 [ARM] Fix missing compiler.h include asm/mach/arch.h introduced a __deprecated, but didn't include compiler.h, causing: In file included from arch/arm/mach-at91rm9200/devices.c:13: include/asm/mach/arch.h:23: warning: no semicolon at end of struct or union include/asm/mach/arch.h:23: error: syntax error before 'phys_ram' include/asm/mach/arch.h:34: error: syntax error before ':' token include/asm/mach/arch.h:35: error: syntax error before ':' token include/asm/mach/arch.h:36: error: syntax error before ':' token include/asm/mach/arch.h:37: error: syntax error before ':' token include/asm/mach/arch.h:45: error: syntax error before '}' token Add the necessary include. Signed-off-by: Russell King commit 60f33b80443a3e7e79e2a3ddc625ab6246a61d3d Author: Sam Ravnborg Date: Sun Jan 15 15:28:35 2006 +0100 kconfig: get rid of stray a.o, support ncursesw scripts/kconfig/lxdialog/check-lxdialog.sh uses gcc to check for what libraries are present. Redirect output to /dev/null so we do not generate an a.out. Also included support for ncursesw - so if present prefer that instead of ncurses. The order is now (first is preferred): 1) ncursesw 2) ncurses 3) curses The latter is to support SunOS. Signed-off-by: Sam Ravnborg commit e0ad8486266c3415ab9c17f5c03c47edc7b93d7b Author: Andrew Morton Date: Sun Jan 15 06:45:20 2006 -0200 V4L/DVB (3375): git dvb callbacks fix - Not sure what went wrong here, but SND_PCI_PM_CALLBACKS got deleted. Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit e05b3b4adbaeea508bd1c195f1f2e22c8251176b Author: Paul Mackerras Date: Sun Jan 15 22:05:47 2006 +1100 powerpc/32: Restore previous version of 32-bit PCI code When I removed the powermac support from arch/ppc/kernel/pci.c, I overlooked the fact that that file is used in 32-bit ARCH=powerpc builds. To prevent problems in future, restore the original version of that file as arch/powerpc/kernel/pci_32.c, and use that. Signed-off-by: Paul Mackerras commit fabd23862ba34f217f154c225c59eb5267c4a5d1 Author: Mauro Carvalho Chehab Date: Sun Jan 15 08:12:14 2006 -0200 V4L/DVB (3381): Fix compilation with Alpha - BOOT_SIZE name is also used at alpha and were breaking compiling with allyesconfig. - All BOOT_* renamed to AV7110_BOOT* to fix and keep names with the same style. Thanks to Andrew Morton for pointing this. Signed-off-by: Mauro Carvalho Chehab commit 1e4baed379a2bff3c728ea34602d3432fb047af8 Author: Ingo Molnar Date: Sun Jan 15 07:52:23 2006 -0200 V4L/DVB (3380): Semaphore to mutex conversion on drivers/media - Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 7d83e8431ae531e907f09c277ab4ab4620092518 Author: Panagiotis Christeas Date: Sun Jan 15 07:01:54 2006 -0200 V4L/DVB (3378): Fix for lack of analog output on some cx88 boards - Workaround to fix a known regression at cx88-tvaudio.c - provide a module parameter workaround to always enable analog output. Signed-off-by: Panagiotis Christeas Signed-off-by: Mauro Carvalho Chehab commit a9cff90ed9a23e9f73963fe73b71ef7e5de3e822 Author: Adrian Bunk Date: Sun Jan 15 06:56:15 2006 -0200 V4L/DVB (3377): make some code static - This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 15192b1d53506f739b36d37543c42619ac290ebc Author: Mauro Carvalho Chehab Date: Sun Jan 15 06:50:01 2006 -0200 V4L/DVB (3376): cx88 Kconfig fixes for cx88-alsa - Cx88 alsa is experimental. - Removed need of PCM OSS for an ALSA module. Signed-off-by: Mauro Carvalho Chehab commit 0f79c3637a871c6ebcf8b8c1762725152d5a18d7 Author: Hartmut Hackmann Date: Sat Jan 14 21:26:44 2006 -0200 V4L/DVB (3371): Turn frame locked sound on, basic support for FM radio with TDA8275(a) - Enabled audio PLL. This is mandatory for NICAM sound - modify FM IF frequency to 5.5MHz for SAA7133/35 if tuner is tda8290 Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 436eddd035c0ff807f4c64551a5a6edc7fb299d0 Author: Tyler Trafford Date: Fri Jan 13 14:38:18 2006 -0200 V4L/DVB (3365): i2c ids for upd64031a saa717x upd64083 wm8739 - Add i2c ids for drivers: upd64031a saa717x upd64083 wm8739 Signed-off-by: Tyler Trafford Signed-off-by: Mauro Carvalho Chehab commit 820a8ce7931d18338e5c089725ec083518da1644 Author: Paul Mackerras Date: Sun Jan 15 17:33:52 2006 +1100 powerpc: Make ARCH=powerpc the default for 32-bit ppc This makes ARCH=powerpc the default on 32-bit powerpc machines, where uname -m returns ppc, as well as on 64-bit powerpc machines. Most people who would be likely to build their own kernels on 32-bit powerpc machines would be using powermacs or CHRP machines, both of which are supported with ARCH=powerpc now. Embedded ppc developers whose ports haven't been moved over to arch/powerpc yet will have to explicitly set ARCH=ppc now. Signed-off-by: Paul Mackerras commit a7fdd90bc43e3e9cb08bc1b13650024d419b89e5 Author: Paul Mackerras Date: Sun Jan 15 17:30:44 2006 +1100 [PATCH] ppc: Remove powermac support from ARCH=ppc This makes it possible to build kernels for PReP and/or CHRP with ARCH=ppc by removing the (non-building) powermac support. It's now also possible to select PReP and CHRP independently. Powermac users should now build with ARCH=powerpc instead of ARCH=ppc. (This does mean that it is no longer possible to build a 32-bit kernel for a G5.) Signed-off-by: Paul Mackerras commit caf5b04c82f05c65843b2d7189845d6c3df5a41e Author: Linus Torvalds Date: Sat Jan 14 22:08:28 2006 -0800 x86: Work around compiler code generation bug with -Os Some versions of gcc generate incorrect code for the inet_check_attr() function, apparently due to a totally bogus index -> pointer comparison transformation. At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is affected, possibly others too. This changes the function subtly so that the buggy gcc transformation doesn't trigger. Signed-off-by: Linus Torvalds commit e8625d463560198cff7cb3eb22886c47d728d501 Author: Haren Myneni Date: Sat Jan 14 13:48:25 2006 -0800 [PATCH] powerpc: Kconfig changes for CRASH_DUMP Noticed in 2.6.15-git9 that CRASH_DUMP option is moved to top level. Moved CRASH_DUMP into "kernel options" next to KEXEC and this config option supports only for PPC64 at this time. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 4683b54c1dae749a0fb8d8ec46d84dd4fefe41d3 Author: Benjamin Herrenschmidt Date: Sat Jan 14 16:46:47 2006 +1100 [PATCH] powerpc: Update pmac32_defconfig Signed-off-by: Paul Mackerras commit a9df3d0f312f4b1aefec76ae5ee86cccbf7cd4e0 Author: Ingo Molnar Date: Sat Jan 14 13:21:33 2006 -0800 [PATCH] When CONFIG_CC_OPTIMIZE_FOR_SIZE, allow gcc4 to control inlining If optimizing for size (CONFIG_CC_OPTIMIZE_FOR_SIZE), allow gcc4 compilers to decide what to inline and what not - instead of the kernel forcing gcc to inline all the time. This requires several places that require to be inlined to be marked as such, previous patches in this series do that. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac893963030ad70e528dc23270d499d650546a38 Author: Peter Osterlund Date: Sat Jan 14 13:21:32 2006 -0800 [PATCH] pktcdvd: un-inline some functions Un-inline two functions in the pktcdvd driver. This makes the compiled code 172 bytes smaller on my system. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f16623569e2ec055b489462315f5296f153d119b Author: Arjan van de Ven Date: Sat Jan 14 13:21:31 2006 -0800 [PATCH] Mark some key VFS functions as __always_inline Mark a few VFS functions as mandatory inline (based on Al Viro's request); these must be inline due to stack usage issues during a recursive loop that happens during the recursive symlink resolution (symlink to a symlink to a symlink ..) This patch at this point does not change behavior and is for documentation purposes only (but this changes later in the series) Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 652050aec936fdd70ed9cbce1cd1ef30a7c9d117 Author: Ingo Molnar Date: Sat Jan 14 13:21:30 2006 -0800 [PATCH] mark several functions __always_inline Arjan van de Ven Mark a number of functions as 'must inline'. The functions affected by this patch need to be inlined because they use knowledge that their arguments are constant so that most of the function optimizes away. At this point this patch does not change behavior, it's for documentation only (and for future patches in the inline series) Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ab34fe76114b9538bfcaf3a9d112dee0feb5f17 Author: Ingo Molnar Date: Sat Jan 14 13:21:29 2006 -0800 [PATCH] enable unit-at-a-time optimisations for gcc4 Allow gcc4 compilers to optimize unit-at-a-time. This flag enables gcc to "see" the entire C file before making optimisation decisions such as inline, which results in gcc making better decisions. One of the immediate effects of this is that static functions that are used only once now get inlined. gcc 3.4 has this flag as well, however gcc 3.x have a problem with inlining and stacks and as a result, enabling this flag there would cause excessive and unacceptable stack use. This problem is fixed in the gcc 4.x series. The x86-64 architecture already enables this feature so it's well tested already. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40fc55cb69c0386504ab5184e9bea0a7aecb2bd3 Author: Ingo Molnar Date: Sat Jan 14 13:21:28 2006 -0800 [PATCH] Make __always_inline actually force always inlining This patch is the first in a series that tries to optimize the kernel in terms of size (and thus cache behavior, both cpu and pagecache). This first patch changes __always_inline to be a forced inline instead of the "regular" inline it was on everything except alpha. This forced inline matches the intention of the define better as a matter of documentation. There is no change in behavior by this patch, since "inline" currently is mapped to a forced inline anyway. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9eb8ef7479b6df59645af5d89d293727b521975e Author: Antonino A. Daplas Date: Sat Jan 14 13:21:26 2006 -0800 [PATCH] fbdev: Update maintainers list Update maintainers list. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 216d526c89d144928f095f2800bc6c67e968d628 Author: Christoph Hellwig Date: Sat Jan 14 13:21:25 2006 -0800 [PATCH] fbdev: Sanitize ->fb_mmap prototype No need for a file argument. If we'd really need it it's in vma->vm_file already. gbefb and sgivwfb used to set vma->vm_file to the file argument, but the kernel alrady did that. Signed-off-by: Christoph Hellwig Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67a6680d64e18c7a1901f31ef747ea53b6cd986d Author: Christoph Hellwig Date: Sat Jan 14 13:21:25 2006 -0800 [PATCH] fbdev: Sanitize ->fb_ioctl prototype The ioctl and file arguments to ->fb_mmap are totally unused and there's not reason a driver should need them. Also update the ->fb_compat_ioctl prototype to be the same as ->fb_mmap. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a80da7389891d0eeacbd568a9b54f665fd424d14 Author: David Vrabel Date: Sat Jan 14 13:21:23 2006 -0800 [PATCH] gx1fb: (try to) play nicer with various BIOSes Seems that the CS5530A chip used in Geode GX1 systems has some crazy feature that causes SMI traps when accessing the PCI configuration space of the video device. Various GX1 BIOSes seem to use this 'feature' to hide the real BARs of the device. This patch disables these traps (in an early PCI fixup) so that Linux sees the real, physical BARs and not the virtual ones provided by the BIOS. This should allow the GX1 framebuffer driver to work on more systems that have different BIOSes as the driver no longer guesses at what the virtual BARs mean. I'm not entirely sure it the correct solution as I can neither test regular VGA console nor the X's 'cyrix' video driver so there might be some breakage there -- probably best to get some more testers before applying it. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4836f5749e55663f884ea25920ff88de7822f0a8 Author: Christian Trefzer Date: Sat Jan 14 13:21:21 2006 -0800 [PATCH] neofb: take existing display configuration as default On a Dell Latitude CPi-A I noticed a strangeness wrt. the handling of an external monitor by the neomagic framebuffer driver, namely when the laptop is docked in a C/Dock II with the lid shut. A cold boot would result in the BIOS configuring the video chip to use the "external monitor only" mode, yet neofb would default to "internal LCD only". An attempt for a quick fix by using the Fn-F8 keystroke to toggle the display combination modes resulted in a reproductible hard lock, powering down being the only solution. The attached patch makes neofb probe the register for the current display mode, using that value as a default if nothing was specified as kernel/module parameter. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16ab3adf562fb723d9085c998637f214b10072c5 Author: Randy Dunlap Date: Sat Jan 14 13:21:20 2006 -0800 [PATCH] Update kernel-parameters.txt IOSCHED to spell out 'anticipatory' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6b25b675db9f9f1af640b928f5476e8454b391c Author: Randy Dunlap Date: Sat Jan 14 13:21:19 2006 -0800 [PATCH] nlm kernel-parameters update Add 2 lockd kernel parameters and spell 2 others correctly. Signed-off-by: Randy Dunlap Cc: Neil Brown Cc: Olaf Kirch Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c878967d32a10cb604718f7608efa0ea3d8b596 Author: Deepak Saxena Date: Sat Jan 14 13:21:18 2006 -0800 [PATCH] cs89x0: add ixdp2351 support This patch adds support for the Intel IXDP2351 to the CS89x0 driver. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a07f0dbec01fda6d88f5089e21454b8df53d36fc Author: Lennert Buytenhek Date: Sat Jan 14 13:21:17 2006 -0800 [PATCH] cs89x0: use u16 for device register data cs89x0 inconsistently used 'int' and 'u32' for device register data. As the cs89x0 is a 16-bit chip, change the I/O accessors over to 'u16'. (Spotted by Deepak Saxena.) Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 580d7b8cc59d68a3d26bfcc64c2053b464782c9a Author: Lennert Buytenhek Date: Sat Jan 14 13:21:16 2006 -0800 [PATCH] cs89x0: use #elif instead of #else/#if/#endif Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 032874e49271f8c9c53c137cb60cf12617a953a0 Author: Lennert Buytenhek Date: Sat Jan 14 13:21:15 2006 -0800 [PATCH] cs89x0: credit Dmitry Pervushin Credit Dmitry Pervushin for the PNX010X platform support. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c5608404e66047bbcd9b7788e7f3ee2555c8639 Author: Abhay Salunke Date: Sat Jan 14 13:21:14 2006 -0800 [PATCH] dell_rbu: fix Bug 5854 This fixes http://bugzilla.kernel.org/show_bug.cgi?id=5854 Root cause: The dell_rbu driver creates entries in /sys/class/firmware/dell_rbu/ by calling request_firmware_nowait (without hotplug ) this function inturn starts a kernel thread which creates the entries in /sys/class/firmware/dell_rbu/loading , data and the thread waits on the user action to return control back to the callback fucntion of dell_rbu. The thread calls wait_on_completion which puts it in a D state until the user action happens. If there is no user action happening the load average goes up as the thread D state is taken in to account. Also after downloading the BIOS image the enrties go away momentarily but they are recreated from the callback function in dell_rbu. This causes the thread to get recreated causing the load average to permenently stay around 1. Fix: The dell_rbu also creates the entry /sys/devices/platform/dell_rbu/image_type at driver load time. The image type by default is mono if required the user can echo packet to image_type to make the BIOS update mechanism using packets. Also by echoing init in to image_type the /sys/class/firmware/dell_rbu entries can be created. The driver code was changed to not create /sys/class/firmware/dell_rbu entries during load time, and also to not create the above entries from the callback function. The entries are only created by echoing init to /sys/devices/platform/dell_rbu/image_type The user now needs to create the entries to download the image monolithic or packet. This fixes the issue since the kernel thread only is created when ever the user is ready to download the BIOS image; this minimizes the life span of the kernel thread and the load average goes back to normal. Signed off by Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d063389ecf20e5c20be91a0007656deb9fc38a1c Author: Pekka Enberg Date: Sat Jan 14 13:21:13 2006 -0800 [PATCH] smbfs: remove kmalloc wrapper Remove the remaining kmalloc() wrapper bits from fs/smbfs/. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44db77f33cc42c49f55ddb360f5e9a05581ffdc0 Author: Pekka Enberg Date: Sat Jan 14 13:21:12 2006 -0800 [PATCH] ncpfs: remove kmalloc wrapper Remove remaining kmalloc wrapper bits from fs/ncpfs/. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b Author: Coywolf Qi Hunt Date: Sat Jan 14 13:21:11 2006 -0800 [PATCH] abandon gcc 295x main.c tidy After abandon-gcc-295x.patch, this relocates the error-out-early comment. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3135806358e8d3d8ac61a13f58f148d0a98a7b9b Author: Valdis.Kletnieks@vt.edu Date: Sat Jan 14 13:21:10 2006 -0800 [PATCH] quota: make useless quota error message informative fs/quota_v2.c can, under some conditions, issue a kernel message that says, in totality, 'failed read'. This patch does the following: 1) Gives a hint who issued the error message, so people reading the logs don't have to go grepping the entire kernel tree (with 11 false positives). 2) Say what amount of data we expected, and actually got. Signed-off-by: Valdis Kletnieks Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9975d6ba0668aa21d9f0c565d7df56c805c8d5c Author: Pekka Enberg Date: Sat Jan 14 13:21:09 2006 -0800 [PATCH] reiserfs: remove d_splice_alias NULL check from reiserfs_lookup Remove redundant NULL check in reiserfs_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ff6b1c2575f13885c1d5291e4283682ad9a41cd Author: Pekka Enberg Date: Sat Jan 14 13:21:09 2006 -0800 [PATCH] isofs: remove d_splice_alias NULL check from isofs_lookup Remove redundant NULL check in isofs_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba7fe369875075c3b0def9887afb7a44fa88175e Author: Pekka Enberg Date: Sat Jan 14 13:21:08 2006 -0800 [PATCH] ext3: remove d_splice_alias NULL check from ext3_lookup Remove redundant NULL check in ext3_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 082a05c6f02e00982dd42ddae434fbc806a822e5 Author: Pekka Enberg Date: Sat Jan 14 13:21:07 2006 -0800 [PATCH] ext2: remove d_splice_alias NULL check from ext2_lookup Remove redundant NULL check in ext2_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 505970b96e3b7d22177c38e03435a68376628e7a Author: Paul Jackson Date: Sat Jan 14 13:21:06 2006 -0800 [PATCH] cpuset oom lock fix The problem, reported in: http://bugzilla.kernel.org/show_bug.cgi?id=5859 and by various other email messages and lkml posts is that the cpuset hook in the oom (out of memory) code can try to take a cpuset semaphore while holding the tasklist_lock (a spinlock). One must not sleep while holding a spinlock. The fix seems easy enough - move the cpuset semaphore region outside the tasklist_lock region. This required a few lines of mechanism to implement. The oom code where the locking needs to be changed does not have access to the cpuset locks, which are internal to kernel/cpuset.c only. So I provided a couple more cpuset interface routines, available to the rest of the kernel, which simple take and drop the lock needed here (cpusets callback_sem). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed68cb3676bb179768529aeb808403d57295af56 Author: Heiko Carstens Date: Sat Jan 14 13:21:05 2006 -0800 [PATCH] s390: fix blk_queue_ordered call in dasd.c fixup The QUEUE_ORDERED_* numbers got renumbered and by accident the dasd driver was changed to use QUEUE_ORDERED_DRAIN instead of QUEUE_ORDERED_TAG. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ce3b30cf32c5c078518f0f3e6623bcb6eee9872 Author: Cornelia Huck Date: Sat Jan 14 13:21:04 2006 -0800 [PATCH] s390: email-address change Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 871931c1eef1727d42ff3ecf993b1978cf1e209f Author: Cornelia Huck Date: Sat Jan 14 13:21:03 2006 -0800 [PATCH] s390: chps[] array too short The chps[] array in struct channel_subsystem is one too short; therefore the code doesn't realize the chpid ff is already known. When several devices on chpid ff become available, the message "new_channel_path: could not register ff" is displayed for every device but the first one. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f1c12afe5c3e0ef901eec12dee09df4947462ee Author: Martin Schwidefsky Date: Sat Jan 14 13:21:03 2006 -0800 [PATCH] s390: cputime misaccounting finish_arch_switch needs to update the user cpu time as well, not just the system cpu time. Otherwise the partial user cpu time of a process that is stored in the lowcore will be (mis-)accounted to the next process. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcc132651d384ad115a275868effb49c64b348ce Author: Martin Schwidefsky Date: Sat Jan 14 13:21:02 2006 -0800 [PATCH] s390: fix blk_queue_ordered call in dasdc Add the missing third argument to the blk_queue_ordered call and use the constant QUEUE_ORDERED_DRAIN instead of "1". Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53df751ccd0a404cca169dbd61bae571cc21559a Author: Martin Schwidefsky Date: Sat Jan 14 13:21:01 2006 -0800 [PATCH] s390: add dummy pm_power_off Define a dummy pm_power_off pointer to make sys_reboot happy. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0152fb37603e3a776768794030b809ae77027aa4 Author: Martin Schwidefsky Date: Sat Jan 14 13:21:00 2006 -0800 [PATCH] s390: spinlock fixes Remove useless spin_retry_counter and fix compilation for UP kernels. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68c119177890afff4759abda8da2b4ff5e06efa1 Author: Alexey Dobriyan Date: Sat Jan 14 13:20:58 2006 -0800 [PATCH] s390: fix cpcmd calls on UP Add missing fourth argument to cpcmd calls under !CONFIG_SMP. Signed-off-by: Alexey Dobriyan Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6410dd5e07b63606605794eeb7ec29e61fbda3db Author: Martin Schwidefsky Date: Sat Jan 14 13:20:58 2006 -0800 [PATCH] s390: sigcontext.h vs __user Add an include of linux/compiler.h in sigcontext.h to avoid compiler errors in user space apps because of a missing definition for __user. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb33c190c2b633f0dfc98481ecf12f62a02c705e Author: Heiko Carstens Date: Sat Jan 14 13:20:57 2006 -0800 [PATCH] s390: show_task oops The show_task function walks the kernel stack backchain of processes assuming that the processes are not running. Since this assumption is not correct walking the backchain can lead to an addressing exception and therefore to a kernel hang. So prevent the kernel hang (you still get incorrect results) verity that all read accesses are within the bounds of the kernel stack before performing them. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ffbc9da137ef475afd5e01f72e1ce1ce49668b1 Author: Jan Glauber Date: Sat Jan 14 13:20:56 2006 -0800 [PATCH] s390: sha256 crypto code fix Fix processing of messages larger than 2 * SHA256_BLOCK_SIZE. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fda5e142598341d30006e3715e53b2c983a9fca7 Author: Jan Glauber Date: Sat Jan 14 13:20:55 2006 -0800 [PATCH] s390: aes crypto code fixes Call KM[C] only with a multiple of block size. Check return value of KM[C] instructions and complain about erros Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8dc6038ff894d0eb0b5d61c9fafdf323ec10251 Author: Jan Glauber Date: Sat Jan 14 13:20:53 2006 -0800 [PATCH] s390: des crypto code speedup Provide ECB and CBC encrypt / decrypt functions to crypto API to speed up our hardware accelerated DES implementation. This new functions allow the crypto API to call ECB / CBC directly with large blocks in difference to the old functions that were calles with algorithm block size (8 bytes for DES). This is up to factor 10 faster than our old hardware implementation :) Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1357833bf5d92b1bda41215ae88a6597664251b Author: Jan Glauber Date: Sat Jan 14 13:20:53 2006 -0800 [PATCH] s390: des crypto code cleanup Beautify the s390 in-kernel-crypto des code. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7aa89746e89fca8fc722485aaf4454f2b636cf4d Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Sat Jan 14 13:20:52 2006 -0800 [PATCH] i386: fix stack dump loglevel Recent changes caused part of stack traces from SysRq-T to print at KERN_EMERG loglevel. Also, parts of stack dump during oops were failing to print at that level when they should. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce63ad78b55daf708d5d4ced9b832a4354ad2a4c Author: Randy Dunlap Date: Sat Jan 14 13:20:51 2006 -0800 [PATCH] i386: put HOTPLUG_CPU under Processor type, not Bus options Move the HOTPLUG_CPU option under "Processor type" instead of under "Bus options". This makes it the same for i386 as most other processor types (arm, ia64, parisc, ppc, s390, & x86_64; but not for powerpc). Besides, it takes me too long to find it under Bus options. I can't be the only person who has trouble finding it. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fabbfb9e8c53416eaa4f62b957430211376c9c82 Author: Kumar Gala Date: Sat Jan 14 13:20:50 2006 -0800 [PATCH] powerpc: Add support for the MPC83xx watchdog Add support for the PowerPC MPC83xx watchdog. The MPC83xx has a simple watchdog that once enabled it can not be stopped, has some simple timeout range selection, and the ability to either reset the processor or take a machine check. Signed-off-by: Dave Updegraff Signed-off-by: Kumar Gala Cc: Wim Van Sebroeck Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7339ff8302fd70aabf5f1ae26e0c4905fa74a495 Author: Robin Holt Date: Sat Jan 14 13:20:48 2006 -0800 [PATCH] Add tmpfs options for memory placement policies Anything that writes into a tmpfs filesystem is liable to disproportionately decrease the available memory on a particular node. Since there's no telling what sort of application (e.g. dd/cp/cat) might be dropping large files there, this lets the admin choose the appropriate default behavior for their site's situation. Introduce a tmpfs mount option which allows specifying a memory policy and a second option to specify the nodelist for that policy. With the default policy, tmpfs will behave as it does today. This patch adds support for preferred, bind, and interleave policies. The default policy will cause pages to be added to tmpfs files on the node which is doing the writing. Some jobs expect a single process to create and manage the tmpfs files. This results in a node which has a significantly reduced number of free pages. With this patch, the administrator can specify the policy and nodes for that policy where they would prefer allocations. This patch was originally written by Brent Casavant and Hugh Dickins. I added support for the bind and preferred policies and the mpol_nodelist mount option. Signed-off-by: Brent Casavant Signed-off-by: Hugh Dickins Signed-off-by: Robin Holt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 852cf918dcf2ae46468b425e679fbcbf0ea8fdbb Author: Christoph Lameter Date: Sat Jan 14 13:20:46 2006 -0800 [PATCH] Fix for CONFIG_NUMA without CONFIG_SWAP Some people apparently run CONFIG_NUMA without CONFIG_SWAP. The migration code currently depends on swap. This patch provides a set of inline fallback functions so that the kernel properly compiles. However, calls to migration functions will fail. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eed6565f70ce3fc958e5a3483c48fc4a8e111bdc Author: Calin A. Culianu Date: Sat Jan 14 13:20:46 2006 -0800 [PATCH] Watchdog: Winsystems EPX-C3 SBC This is a 2.6 patch that adds support for the watchdog timer built into the EPX-C3 single board computer manufactured by Winsystems, Inc. Driver details: This is for x86 only. This watchdog is pretty basic and simple. It is only configurable via jumpers on the SBC, and it only has either a 1.5s or 200s interval. The watchdog can either be auto-configured to start as soon as the machine powers up (bad idea for the 1.5s interval!) or it can be enabled and disabled by writing to io port 0x1ee. Petting the watchdog involves writing any value to io port 0x1ef. The only unfortunate thing about this watchdog (and it is not at all uncommmon in watchdogs that linux supports) is that it is not a PCI or ISA-PNP device and as such it isn't at all probeable. Either the watchdog exists as 2 bytes at 0x1ee, or it doesn't. Thus, using this driver on a machine that doesn't have that watchdog can potentially hang/crash the system, etc. So only use this driver if you in fact are on a Winsystems EPX-C3 SBC. Anyway this driver fits into the already-existing watchdog framework quite nicely and I already tested it on my EPX-C3 and it works like a charm. Signed-off-by: Calin A. Culianu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee7be5de357b8ff69afc8c39648b336cd917218a Author: Miklos Szeredi Date: Sat Jan 14 13:20:44 2006 -0800 [PATCH] uml: fix symbol for mktime LD .tmp_vmlinux1 /usr/lib/gcc-lib/i486-linux/3.3.4/../../../libc.a(mktime.o): In function `timelocal': : multiple definition of `mktime' kernel/built-in.o:kernel/time.c:604: first defined here /usr/bin/ld: Warning: size of symbol `mktime' changed from 134 in kernel/built-in.o to 44 in /usr/lib/gcc-lib/i486-linux/3.3.4/../../../libc.a(mktime.o) collect2: ld returned 1 exit status Signed-off-by: Miklos Szeredi Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 858119e159384308a5dde67776691a2ebf70df0f Author: Arjan van de Ven Date: Sat Jan 14 13:20:43 2006 -0800 [PATCH] Unlinline a bunch of other functions Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0a9499c3dd50d333e2aedb7e894873c58da3785 Author: Ingo Molnar Date: Sat Jan 14 13:20:41 2006 -0800 [PATCH] sched: add new SCHED_BATCH policy Add a new SCHED_BATCH (3) scheduling policy: such tasks are presumed CPU-intensive, and will acquire a constant +5 priority level penalty. Such policy is nice for workloads that are non-interactive, but which do not want to give up their nice levels. The policy is also useful for workloads that want a deterministic scheduling policy without interactivity causing extra preemptions (between that workload's tasks). Signed-off-by: Ingo Molnar Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d0cfb527944c2cfee2cffab14f52d483e329fcf Author: Patrick Gefre Date: Sat Jan 14 13:20:40 2006 -0800 [PATCH] Altix: ioc3 serial support Add driver support for a 2 port PCI IOC3-based serial card on Altix boxes: This is a re-submission. On the original submission I was asked to organize the code so that the MIPS ioc3 ethernet and serial parts could be used with this driver. Stanislaw Skowronek was kind enough to provide the shim layer for this - thanks Stanislaw. This patch includes the shim layer and the Altix PCI ioc3 serial driver. The MIPS merged ioc3 ethernet and serial support is forthcoming. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7170be5f586b59bdcdab082778a5d9203ba7b667 Author: Neil Horman Date: Sat Jan 14 13:20:38 2006 -0800 [PATCH] convert /proc/devices to use seq_file interface A Christoph suggested that the /proc/devices file be converted to use the seq_file interface. This patch does that. I've obxerved one or two installation that had sufficiently large sans that they overran the 4k limit on /proc/devices. Signed-off-by: Neil Horman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faf3a98918aa5f14a29e0d246e194be58b9357f0 Author: Ian Kent Date: Sat Jan 14 13:20:37 2006 -0800 [PATCH] autofs4 oops fix We forgot to initialise a couple of nameidata fields. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c882b019160ebd7e954ba787f6353ed69281fd7 Author: Benjamin Herrenschmidt Date: Sat Jan 14 16:35:35 2006 +1100 [PATCH] powerpc: Fix Maple build The changes to the device node structure broke Maple build. This fixes it. Unfortunately I coudn't test as my Maple board appears to be dead. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 8385a6a3acfbb4b68150c25cfe9084b6c4f501cf Author: Haren Myneni Date: Fri Jan 13 19:15:36 2006 -0800 [PATCH] powerpc: Fix kdump copy regs and dynamic allocate per-cpu crash notes - This contains the arch specific changes for the following the kdump generic fixes which were already accepted in the upstream. . Capturing CPU registers (for the case of 'panic' and invoking the dump using 'sysrq-trigger') from a function (stack frame) which will be not be available during the kdump boot. Hence, might result in invalid stack trace. . Dynamically allocating per cpu ELF notes section instead of statically for NR_CPUS. - Fix the compiler warning in prom_init.c. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 9216ad8cb7849d88b6d8e9f097718de4f25d4121 Author: Paul Mackerras Date: Sun Jan 15 13:00:08 2006 +1100 powerpc/32: Generate miboot images with ARCH=powerpc Miboot images are apparently still used on some old 32-bit powermacs, so build them with ARCH=powerpc if we're 32-bit and powermac support is enabled. Signed-off-by: Paul Mackerras commit fb453d4b0b51ea71c9eb8192c61b768afeb7ee8a Author: Jesper Juhl Date: Sun Jan 15 02:46:48 2006 +0100 MAINTAINERS: CIFS: add linux-cifs-client@lists.samba.org list Add linux-cifs-client@lists.samba.org to CIFS entry in MAINTAINERS Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 624dffcbcf87b9c501b13256416a82487be962bc Author: Christian Kujau Date: Sun Jan 15 02:43:54 2006 +0100 correct email address of Manfred Spraul I tried to send the forcedeth maintainer an email, but it came back with: "The mail address manfreds@colorfullife.com is not read anymore. Please resent your mail to manfred@ instead of manfreds@." This patch fixes this. Signed-off-by: Adrian Bunk commit 92c3504e6ee0816d4ea1345a6bd276969224890d Author: Jesper Juhl Date: Sun Jan 15 02:40:08 2006 +0100 Spelling fix in init/Kconfig for the help of CONFIG_SWAP Trivial spelling fix s/socalled/so called/ Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 014c2544e6fd09d702c908d95fe32c082376e15c Author: Jesper Juhl Date: Sun Jan 15 02:37:08 2006 +0100 return statement cleanup - kill pointless parentheses This patch removes pointless parentheses from return statements. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 46a9f65f8bb39778646b83220d9619aff1490bcd Author: Domen Puncer Date: Sun Jan 15 02:20:28 2006 +0100 remove unused LOCAL_END_REQUEST Remove the last occurence of LOCAL_END_REQUEST. Signed-off-by: Domen Puncer Signed-off-by: Adrian Bunk commit f1c3ddff84981bbe3bedd60a6330057e8f1f8ef5 Author: Horms Date: Sun Jan 15 02:18:28 2006 +0100 MAINTAINERS: better list for "POSIX CLOCKS and TIMERS" POSIX CLOCKS and TIMERS disscussion is more appropriate on linux-kernel than linux-net. As suggested by the maintainer, George Anzinger. Signed-off-by: Horms Acked-by: George Anzinger Signed-off-by: Adrian Bunk commit 3235798804ee75f09d45aee5003197930de57689 Author: Alexey Dobriyan Date: Sun Jan 15 02:12:54 2006 +0100 Fix "stuct", "strut", "struc" typos Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit fad6a94ee6b33ca5e6184e8b08634a6a2319d0cb Author: Randy Dunlap Date: Sun Jan 15 02:09:54 2006 +0100 Documentation/hpet.txt typo Fix a typo. Requested by Petr Vandrovec. Signed-off-by: Randy Dunlap Signed-off-by: Adrian Bunk commit 750c902ef4a1956cecbc8fb590ce2dad5b02eab9 Author: Adrian Bunk Date: Sun Jan 15 02:01:39 2006 +0100 SOFTWARE_SUSPEND: fix a typo in the dependencies This patch fixes a typo in the dependencies of SOFTWARE_SUSPEND. This patch is based on a report by Jean-Luc Leger . Signed-off-by: Adrian Bunk Acked-by: Pavel Machek commit 575c96871832e91983248aebb02fc072e5fd17c9 Author: Adrian Bunk Date: Sun Jan 15 02:00:17 2006 +0100 spelling: s/appropiate/appropriate/ Signed-off-by: Adrian Bunk commit a8e82ef97a1d1227575698935ec86ae4d02c372c Author: Adrian Bunk Date: Sun Jan 15 01:58:57 2006 +0100 drivers/net/{,wireless/}Kconfig: remove dead URL shadow.cabi.net does no longer exist. Signed-off-by: Adrian Bunk commit b480146fd19b99b16263467216622effcd93fd96 Author: Adrian Bunk Date: Sun Jan 15 01:57:47 2006 +0100 ftape: remove some outdated information from Kconfig files This patch removes some outdated information about the ftape driver like pointers to no longer existing webpages from Kconfig files. Signed-off-by: Adrian Bunk commit 9c782e3b2083c33b5a14c9955cf15f32ea88116b Author: Alex Shepard Date: Sun Jan 15 01:57:00 2006 +0100 Spelling fix in IPW2100 and IPW2200 Kconfig entries s/remvoed/removed/ Signed-off-by: Alex Shepard Signed-off-by: Adrian Bunk commit 7c7dce9209161eb260cdf9e9172f72c3a02379e6 Author: Alexander Viro Date: Sat Jan 14 15:29:55 2006 -0500 [PATCH] Fix double decrement of mqueue_mnt->mnt_count in sys_mq_open Fixed the refcounting on failure exits in sys_mq_open() and cleaned the logics up. Rules are actually pretty simple - dentry_open() expects vfsmount and dentry to be pinned down and it either transfers them into created struct file or drops them. Old code had been very confused in that area - if dentry_open() had failed either in do_open() or do_create(), we ended up dentry and mqueue_mnt dropped twice, once by dentry_open() cleanup and then by sys_mq_open(). Fix consists of making the rules for do_create() and do_open() same as for dentry_open() and updating the sys_mq_open() accordingly; that actually leads to more straightforward code and less work on normal path. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f Author: Nicolas Pitre Date: Sat Jan 14 19:30:04 2006 +0000 [ARM] 3262/4: allow ptraced syscalls to be overriden Patch from Nicolas Pitre This is needed by strace to properly handle the tracing of some system calls. It could be useful for other applications as well. Based on an earlier patch from Daniel Jacobowitz. Signed-off-by: Nicolas Pitre Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit 3824ba7df91745da6ebac703c87c3b801c34fdd0 Author: Adrian Bunk Date: Sat Jan 14 03:08:16 2006 +0100 [PATCH] remove unused tmp_buf_sem's tmp_buf_sem sems to be a common name for something completely unused... Signed-off-by: Adrian Bunk Acked-by: Greg Kroah-Hartman ("usb portion") Signed-off-by: Linus Torvalds commit e1b114ee90040af5108973abd1a82babc4905868 Author: Xose Vazquez Perez Date: Sat Jan 14 12:57:41 2006 +0100 [PATCH] docs: update some updated code docs Based on comments from Randy Dunlap on my previous commit 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b Signed-off-by: Linus Torvalds commit 7b4ee73e28052e53aac2fef1c91029666d8b2d70 Author: Evgeniy Date: Sat Jan 14 11:42:06 2006 +0300 [PATCH] ufs cleanup Here is update of ufs cleanup patch, brought on by the recently fixed ubh_get_usb_second() bug that made some ugly code rather painfully obvious. It also includes - fix compilation warnings which appears if debug mode turn on - remove unnecessary duplication of code to support UFS2 I tested it on ufs1 and ufs2 file-systems. Signed-off-by: Evgeniy Dushistov Signed-off-by: Linus Torvalds commit fc091e03820bf67e543362bd40959701a71d0c27 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:06:04 2006 -0800 [SCSI] qla2xxx: Update version number to 8.01.04-k. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 79f89a4296ff22f09baf538d4ff2a6d0c3097a73 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:58 2006 -0800 [SCSI] qla2xxx: Disable port-type RSCN handling via driver state-machine. Given the semantic changes in both the device-model and fc-transport APIs, the driver's handling of port-type RSCNs via a series of ADISCs and PLOGIs can cause series of badness ranging from unexpectedly device loss to devices not being discovered. In the interim, disable (via a module-parameter) this feature and allow RSCN management to continue to occur within the driver's DPC thread. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fdd52dfa3c311a2583850a2fbea99f329be861d7 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:53 2006 -0800 [SCSI] qla2xxx: Kconfig update: Add URL to download firmware images. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit c0eb87552654bc3e8da179c501e3e18c92ee4360 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:48 2006 -0800 [SCSI] qla2xxx: Correct setting of FDMI supported/current port speed. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit bc8fb3cb9e208de0d69223f68058714b78f83833 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:42 2006 -0800 [SCSI] qla2xxx: Correct execution-throttle setting for ISP24xx. Similarly to other ISPs, set execution throttle to maximum allowed value since 'throttling' is done on a per-lun basis via queue-depth. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 590f98e5e8d6502cc21fdcddc90a0cc09c1f770e Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:37 2006 -0800 [SCSI] qla2xxx: Collapse load RISC RAM implementations. Simplify essentially duplicate load RISC RAM implementation in qla2x00_load_ram_ext() and qla2x00_load_ram(). Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f94097edf2c3ac9bc48580252c2eee52947b5e60 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:32 2006 -0800 [SCSI] qla2xxx: Correct swing/emphasis settings for ISP24XX. Swing/emphasis settings in NVRAM were not being honoured due to the driver not converting the serial-link options from LE to host-endian format. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit c9d02acf39d9fdde18b63281944003b9ec9a3271 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:26 2006 -0800 [SCSI] qla2xxx: Correct issue where portstate does not transition during loop-resync. If the Get Port Database call fails during local-loop update, then schedule the DPC routine to perform a rescan as the firmware would have updated the Get ID List port-entries of their new state. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 210d53507e961b0f480d1a86d9a26832cc68645e Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:21 2006 -0800 [SCSI] qla2xxx: Update firmware-dump procedure for ISP24xx. Small changes to register retrieval and order as per latest firmware specification. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit e978010cebcc0ac1be67caab8dfc7c1fa831406d Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:15 2006 -0800 [SCSI] qla2xxx: Re-enable flash-part write protection on ISP24xx boards. Driver would not correctly re-enable the write-protection bits of the flash part after updates. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 5998983113c1c9158c1ce66ff26a212aceaf7e5c Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:10 2006 -0800 [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command. Problem report (against 2.4.x driver) from Jeff Layton : An OEM noticed that the U6 qla2200 driver would hang for around 2 minutes at boot time and then proceed normally. I found that the delay was occurring when loading the new firmware into the card, and was due to a schedule_timeout(10) added to the bottom of the polling loop. Some testing showed that the load ram operation on the card was very quick (on the order of a couple of jiffies), but the sleep in the polling loop was making each operation take around 25-30. The attached patch corrects this by making it skip sleeping during the load ram operation, since I believe we only do that when the module is plugged in. It also skips sleeping if the mbox_int flag got set during the current loop. This corrected the hang on my test setup, and OEM also confirmed that it corrected the problem for them. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 03ab2eabed74708c0c74163723007e8e72244219 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:05:05 2006 -0800 [SCSI] qla2xxx: Use msleep() as delay during ISP polling. Mailbox commands are polled for completion during ISP initialization. During potentially 'long' mailbox commands (i.e. fabric login), we really don't want a busy-wait delay to potentially trigger a (benign) soft-lockup BUG(). Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit e038a1be22bef90795c5239d1563609b89c3aa18 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:04:59 2006 -0800 [SCSI] qla2xxx: Drop noisy 'UNDERRUN' status message. There's no point in displaying the message during a valid underrun case. Limit the message to potentially problematic cases. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9403688e9bca54b55bfcea51053c8af537beba0a Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:04:54 2006 -0800 [SCSI] qla2xxx: Correct FC4 feature assignment during RFF_ID. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit dad9c8c15dbe4eac0ab086c74cdb256ec2fb0b70 Author: andrew.vasquez@qlogic.com Date: Fri Jan 13 17:04:49 2006 -0800 [SCSI] qla2xxx: Reference proper node/port names in fc_host class. The initial-control-block references are not always correct as the use-node-name qualifier during NVRAM configuration will cause the firmware to use the portname as a base for the nodename. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit a1e80c20e1ac751dbdd88dee989e9a19c22c4a84 Author: Mike Christie Date: Fri Jan 13 18:05:56 2006 -0600 [SCSI] iscsi: use pageslab From: FUJITA Tomonori and zhenyu.z.wang@intel.com: We cannot handle filesystems like XFS becuase of the pages they are sending us. We had thought page_count could be used to work around this, but the correct test is for PageSlab. The proper solution is to figure out what type of pages filesystems can use so we do not have to add tests like this or handle it in the block layer for all network block drivers but the issue still has not been resolved on fs-devel so we are sending this patch as a temporary fix. This is last patch just in case it is Nakd with the explanation that we need to push the correct fix through fs-devel, mm or the block layer. The rest of the patchset can live without the patch, but the driver will not work with filesystems like XFS. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 55e3299d9eca01fb2351c5d37e222872b7c6e0af Author: Mike Christie Date: Fri Jan 13 18:05:53 2006 -0600 [SCSI] iscsi: fix 4k stack iscsi setups When we run the xmit code from queuecomand the stack trace gets too deep. The patch runs the xmit code from the scsi_host work queue. This fixes 4k stack and xfs support and should fix the st and sg stack usage bugs. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 7b8631b53bea286b68847a939b87135198335b66 Author: Mike Christie Date: Fri Jan 13 18:05:50 2006 -0600 [SCSI] iscsi: seperate iscsi interface from setup functions This is the second version of the patch to address Christoph's comments. Instead of doing the lib, I just kept everything in scsi_trnapsort_iscsi.c like the FC and SPI class. This was becuase the driver model and sysfs class is tied to the session and connection setup so separating did not buy very much at this time. The reason for this patch was becuase HW iscsi LLDs like qla4xxx cannot use the iscsi class becuase the scsi_host was tied to the interface and class code. This patch just seperates the session from scsi host so that LLDs that allocate the host per some resource like pci device can still use the class. This is also fixes a couple refcount bugs that can be triggered when users have a sysfs file open, close the session, then read or write to the file. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 7cae5159dd2623300cf9820865bfbf6dcdb7c1b9 Author: Mike Christie Date: Fri Jan 13 18:05:47 2006 -0600 [SCSI] iscsi: add high mem support From Mike Christie and FUJITA Tomonori : We cannot use page_address becuase some pages could be highmem. Instead, we can use sock_no_sendpage which does kmap for us. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 56851698c23430f0f291d6e50da344e6b414f3b9 Author: FUJITA Tomonori Date: Fri Jan 13 18:05:44 2006 -0600 [SCSI] iscsi: data digest page cache usage fix Users can write to a page while we are sending it and making digest calculations. This ends up causing us to retry the command when a digest error is later reported. By using sock_no_sendpage when data digests are calculated we can avoid a lot of (not all but it helps) the retries becuase sock_no_sendpage is not zero copy. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 3e97c7e6cda933e3a1b518a8100d155c532a3cfc Author: zhenyu.z.wang@intel.com Date: Fri Jan 13 18:05:41 2006 -0600 [SCSI] iscsi: host locking fix We should be taking the host_lock instead of the conn lock when checking host_busy. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit bf310b8f582bddec20c27e32ffbaf8e2c91e147c Author: zhenyu.z.wang@intel.com Date: Fri Jan 13 18:05:38 2006 -0600 [SCSI] iscsi: data under/over flow fix We need to check the ISCSI_FLAG_DATA_* flags. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 42f72aa9e5bc969a34e5989fc00e7e2d71e8a95b Author: FUJITA Tomonori Date: Fri Jan 13 18:05:35 2006 -0600 [SCSI] iscsi: whitespace cleanup Remove extra whitespaces. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit a12e25bd59e36d12dcd026ffa3c65d48b5cf5442 Author: Jes Sorensen Date: Wed Jan 11 08:39:45 2006 -0500 [SCSI] sem2mutex 3w-[x9]xxx Convert a the 3w-9xxx.c and 3w-xxxx.c drivers to use mutexes instead of semaphores. Untested, but compiles and looks obviously correct. Signed-off-by: Jes Sorensen Signed-off-by: James Bottomley commit 3759b788498ffc0b2563181567af4c82d983f921 Author: James Bottomley Date: Sat Jan 14 09:28:07 2006 -0600 [SCSI] mptfc: need to select transport attrs Now that mptfc actually uses the transport class, it can't be built without it. Signed-off-by: James Bottomley commit 569b11dcfa9d764e775f9e964a680c32265ab7f2 Author: Moore, Eric Date: Fri Jan 13 16:25:29 2006 -0700 [SCSI] fusion - fix pci express bug The fix is to write 'MPI_HIM_DIM' to the Host Interrupt Mask register, when enabling interrupts. Instead of the tilde of MPI_HIM_RIM. Apparently writing '1's to some of the reserved bits was causing all the bits to go to `1`, which effectly disabled all interrupts. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e6bc863cf25f30ed8e2a4d41b76d5688f8efaee9 Author: Moore, Eric Date: Fri Jan 13 16:33:59 2006 -0700 [SCSI] scsi_transport_sas: mapping the rphy channel equal to the port identifier We will be mapping the RAID volumes in mptsas to a reserved channel that is one larger than the anticapated number of ports on the direct attached host adapter. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4b915a73663fe0951077ebcdaf02337ff2bddcfc Author: Moore, Eric Date: Fri Jan 13 16:25:23 2006 -0700 [SCSI] fusion - mpi header udpate This updates mpi headers in fusion drivers to version 1.5.12. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 816aa907b909177bdf6e6e6b0d00c5e5a6e2be8c Author: Moore, Eric Date: Fri Jan 13 16:25:20 2006 -0700 [SCSI] fusion - adding raid support in mptsas The SAS RAID volumes are reported beyond the expected number of phys. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e02f3f59225d8c3b2a0ad0dc941a09865e27da61 Author: Christoph Hellwig Date: Fri Jan 13 19:04:00 2006 +0100 [SCSI] remove target parent limitiation When James Smart fixed the issue of the userspace scan atributes crashing the system with the FC transport class he added a patch to let the transport class check if the parent is valid for a given transport class. When adding support for the integrated raid of fusion sas devices we ran into a problem with that, as it didn't allow adding virtual raid volumes without the transport class knowing about it. So this patch adds a user_scan attribute instead, that takes over from scsi_scan_host_selected if the transport class sets it and thus lets the transport class control the user-initiated scanning. As this plugs the hole about user-initiated scanning the target_parent hook goes away and we rely on callers of the scanning routines to do something sensible. For SAS this meant I had to switch from a spinlock to a mutex to synchronize the topology linked lists, in FC they were completely unsynchronized which seems wrong. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6d5b0c315e0c14f8a0fe274eda7676d62cbd8584 Author: Moore, Eric Date: Fri Jan 13 16:25:26 2006 -0700 [SCSI] fusion - adding support for FC949ES Add software recognition for the new LSI Logic Fibre Channel controller. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 05e8ec17f4d11ba13795e878fc389cb04d1fdadd Author: Michael Reed Date: Fri Jan 13 14:31:54 2006 -0600 [SCSI] mptfusion - fc transport attributes Signed-off-by: Michael Reed Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d158d26167a3f6a910ec3e0eda23cc0cd437c689 Author: Jes Sorensen Date: Fri Jan 13 16:05:44 2006 -0800 [SCSI] sem2mutex: scsi_transport_spi.c Convert the SCSI transport class code to use a mutex rather than a semaphore. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f20139bee4545b91f30e14e2f528320c7ab36fa6 Author: James Bottomley Date: Fri Jan 13 15:36:25 2006 -0600 [SCSI] fix up message/i2o/pci.c There was a use before initialisation of c->name Signed-off-by: James Bottomley commit 1ca00bb7916cb40b8140173c23481e11d92d6f6a Author: Christoph Hellwig Date: Fri Jan 13 18:27:50 2006 +0100 [SCSI] fusion: kzalloc / kcalloc conversion Convert kmalloc + memset to kzalloc or kcalloc in fusion. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit eeb846cefdd842af479393a7d0fd399a29e42532 Author: Christoph Hellwig Date: Fri Jan 13 18:27:11 2006 +0100 [SCSI] fusion: convert semaphores to mutexes Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 9a28f49adbe4955af8a1306fd36ddae15136dde7 Author: Christoph Hellwig Date: Fri Jan 13 18:04:41 2006 +0100 [SCSI] mptsas: support basic hotplug Adds hotplug support for SAS end devices. Unfortunately the fusion firmware doesn't generate similar events for expanders addition/removal so we can't support them yet. Eric has an idea about a clever scheme to find out about expander changes so that'll be added later on. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 9638d89a75776abc614c29cdeece0cc874ea2a4c Author: Salyzyn, Mark Date: Thu Jan 12 08:31:57 2006 -0500 [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() The problem in dpt_i2o could be the pci config space accesses it triggers as it loads, dangerous to do if there is any I/O activity going on in the other driver (probable if a boot driver I guess). I approve this patch to dpt_i2o.c, and am applying it to the Adaptec branch of the driver. Thanks for the investigation Ryoji. --- In linux 2.6.15, data transfer does hang when both dpt_i2o and i2o_block drivers are loaded. It seems that location of pci_request_regions() are wrong. I moved it just behind pci_enable_device() like other drivers, and it becomes fine. Signed-off-by: Ryoji Kamei Signed-off-by: James Bottomley commit 560c26c8345509619c3575331b99b329b5de1054 Author: Jack Hammer Date: Fri Jan 13 10:06:50 2006 -0500 [SCSI] ips: Mode Sense (Caching Page ) fix To avoid the "sda: got wrong page" message, the ServeRAID driver should be setting flags indicating that the Mode Sense commands are not supported. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit ad757cdfd2a40c9d5310d00f24427525788341cd Author: Andreas Herrmann