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 Date: Fri Jan 13 02:26:11 2006 +0100 [SCSI] zfcp: transport class adaptations II Replaced zfcp adapter attributes with fc_host attributes: fc_topology by port_type, physical_wwpn by permanent_port_name. Make use of fc_host attribute supported_speeds. Removed zfcp adapter attribute physical_s_id. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit f6cd94b126aa78ebaa21075df3b9577fbf995968 Author: Andreas Herrmann Date: Thu Jan 5 09:59:34 2006 +0100 [SCSI] zfcp: transport class adaptations Added host stats, removed superfluous get_starget_ functions, removed some attributes from zfcp specific sysfs tree (e.g. scsi_host_no, scsi_lun, wwnn and d_id). Host stats are given for the physical adapter port not for the virtual adapter. Reset stats is implemented in the device driver. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 9eb69aff79264b5f35e41922df20a488c67e9ee2 Author: Maxim Shchetynin Date: Thu Jan 5 09:56:47 2006 +0100 [SCSI] zfcp: handle unsolicited status notification lost Handle unsolicited adapter status that informs about loss of previous unsolicited status notification(s). Signed-off-by: Maxim Shchetynin Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 6b7281d0a0f8f99d39808088a036459f6f7906a6 Author: Andreas Herrmann Date: Fri Jan 13 02:16:54 2006 +0100 [SCSI] fc transport: add permanent_port_name fc_host attribute Add fc_host attribute permanent_port_name which is used to show the port name of the primary port - the port that initially logged into the fabric. For a virtual port (registered via the primary port with FDISC command) it is useful to know not only its (virtual) port name but also the permanent port name. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit a09c6311217e8fb079c967427d009fe23f2e420e Author: Christoph Hellwig Date: Wed Jan 11 14:28:06 2006 +0100 [SCSI] sr: split sr_audio_ioctl into specific helpers split each ioctl handled in sr_audio_ioctl into a function of it's own. This cleans the code up nicely, and allows various places in sr_ioctl to call these helpers directly instead of going through the multiplexer. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: James Bottomley commit 776b23a0363d99ca402edc1aba1db8099b747b33 Author: Christoph Hellwig Date: Fri Jan 6 18:34:07 2006 +0100 [SCSI] always handle REQ_BLOCK_PC requests in common code LLDDs should never see REQ_BLOCK_PC requests, we can handle them just fine in the core code. There is a small behaviour change in that some check in sr's rw_intr are bypassed, but I consider the old behaviour a bug. Mike found this cleanup opportunity and provdided early patches, so all the credit goes to him, even if I redid the patches from scratch beause that was easier than forward-porting the old patches. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit d4054239929479907f20b9d68c905589125ad343 Author: Christoph Hellwig Date: Wed Jan 4 13:45:20 2006 +0100 [SCSI] sas: fix removal of devices behind expanders We need to iterate over all children when removing and expander, else stale objects will be around after host removal. This fixes the oops Eric Moore saw when removing and reloading mptsas. Also don't try the scsi_remove_target call unless operating on an end device. The current unconditional call is harmless but confusing. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6c90c872017773cde70a51432cb28f253451b967 Author: Nicolas Pitre Date: Sat Jan 14 16:37:15 2006 +0000 [ARM] 3112/1: old ABI compat: config option to turn it on Patch from Nicolas Pitre Enjoy ! Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8993a44cede418940a4921de5dc24d52a9fe8767 Author: Nicolas Pitre Date: Sat Jan 14 16:36:50 2006 +0000 [ARM] 3111/2: old ABI compat: adjust NWFPE to be operational within an EABI kernel Patch from Nicolas Pitre We need NWFPE if we want to support execution of legacy binaries with an EABI kernel. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit dd35afc22b76766e827c9e67ebc4b7bf6e31ecab Author: Nicolas Pitre Date: Sat Jan 14 16:36:12 2006 +0000 [ARM] 3110/5: old ABI compat: multi-ABI syscall entry support Patch from Nicolas Pitre This patch adds the required code to support both user space ABIs at the same time. A second syscall table is created to include legacy ABI syscalls that need an ABI compat wrapper. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 687ad0191488a067b3b3cc94f670cc21f93811e1 Author: Nicolas Pitre Date: Sat Jan 14 16:35:31 2006 +0000 [ARM] 3109/1: old ABI compat: syscall wrappers for ABI impedance matching Patch from Nicolas Pitre The difference between EABI and the legacy ABI may affect either structure member alignment and/or argument register selection. The patch has the details. Included are wrappers for the following syscalls: sys_stat64 sys_lstat64 sys_fstat64 sys_fcntl64 sys_epoll_ctl sys_epoll_wait sys_ipc sys_semop sys_semtimedop sys_pread64 sys_pwrite64 sys_truncate64 sys_ftruncate64 sys_readahead Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 713c481519f19df9e6d90f257e7da0336b057592 Author: Nicolas Pitre Date: Sat Jan 14 16:35:03 2006 +0000 [ARM] 3108/2: old ABI compat: statfs64 and fstatfs64 Patch from Nicolas Pitre struct statfs64 has extra padding with EABI growing its size from 84 to 88. This struct is now __attribute__((packed,aligned(4))) with a small assembly wrapper to force the sz argument to 84 if it is 88 to avoid copying the extra padding over user space memory unexpecting it. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 704bdda03827db8a551e82b312037d63ba3c22ff Author: Nicolas Pitre Date: Sat Jan 14 16:33:50 2006 +0000 [ARM] 3107/3: ARM EABI: last bits to configure it Patch from Nicolas Pitre This adds the configuration option, and disables any FPA floating point emulators which are not EABI compatible. It also disables Acorn RISC OS/Arthur binary support when CONFIG_EABI=y since it is incompatible with an EABI kernel. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit c155fc95befc95f4a9d6497f5fadec22f4bc3a24 Author: Nicolas Pitre Date: Sat Jan 14 16:32:12 2006 +0000 [ARM] 3106/2: ARM EABI: some syscall adjustments Patch from Nicolas Pitre Fix a few syscalls for EABI requirements. They were sys_pread64 and sys_pwrite64 where the last argument is now entirely pushed on stack, but since commit 567bd98017d9c9f2ac1c148ddc78c062e8abd398 they don't require any fixup. Remains only the stat64 structure. Non EABI kernels are unaffected. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3f2829a31573e3e502b874c8d69a765f7a778793 Author: Nicolas Pitre Date: Sat Jan 14 16:31:29 2006 +0000 [ARM] 3105/4: ARM EABI: new syscall entry convention Patch from Nicolas Pitre For a while we wanted to change the way syscalls were called on ARM. Instead of encoding the syscall number in the swi instruction which requires reading back the instruction from memory to extract that number and polluting the data cache, it was decided that simply storing the syscall number into r7 would be more efficient. Since this represents an ABI change then making that change at the same time as EABI support is the right thing to do. It is now expected that EABI user space binaries put the syscall number into r7 and use "swi 0" to call the kernel. Syscall register argument are also expected to have "EABI arrangement" i.e. 64-bit arguments should be put in a pair of registers from an even register number. Example with long ftruncate64(unsigned int fd, loff_t length): legacy ABI: - put fd into r0 - put length into r1-r2 - use "swi #(0x900000 + 194)" to call the kernel new ARM EABI: - put fd into r0 - put length into r2-r3 (skipping over r1) - put 194 into r7 - use "swi 0" to call the kernel Note that it is important to use 0 for the swi argument as backward compatibility with legacy ABI user space relies on this. The syscall macros in asm-arm/unistd.h were also updated to support both ABIs and implement the right call method automatically. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb Author: Nicolas Pitre Date: Sat Jan 14 16:18:29 2006 +0000 [ARM] 3104/1: ARM EABI: new helper function names Patch from Nicolas Pitre The ARM EABI defines new names for GCC helper functions. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 499b2ea11ff00c624d63af23516404fa2156639a Author: Nicolas Pitre Date: Sat Jan 14 16:18:09 2006 +0000 [ARM] 3103/1: ARM EABI: stack pointer must be 64-bit aligned (part 2) Patch from Nicolas Pitre We must make sure that assembly code that modifies the stack pointer before calling a C function does it so it remains 64-bit aligned. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2dede2d8e925f4c2cb4e136b14df127685e15dd3 Author: Nicolas Pitre Date: Sat Jan 14 16:18:08 2006 +0000 [ARM] 3102/1: ARM EABI: stack pointer must be 64-bit aligned after a CPU exception Patch from Nicolas Pitre The ARM EABI says that the stack pointer has to be 64-bit aligned for reasons already mentioned in patch #3101 when calling C functions. We therefore must verify and adjust sp accordingly when taking an exception from kernel mode since sp might not necessarily be 64-bit aligned if the exception occurs in the middle of a kernel function. If the exception occurs while in user mode then no sp fixup is needed as long as sizeof(struct pt_regs) as well as any additional syscall data stack space remain multiples of 8. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit da2b1cd61903c8e9796e76be2d606584f26a78e5 Author: Nicolas Pitre Date: Sat Jan 14 16:18:07 2006 +0000 [ARM] 3101/1: ARM EABI: slab memory must be 64-bit aligned Patch from Nicolas Pitre Although ARM is still using 32-bit pointers, version 5 and later versions of the ARM architecture introduced the ldrd and strd instructions to move 64-bit data which must be 64-bit aligned in memory, and the EABI includes new constraints on structure data alignment to allow for the compiler to use those instructions. This means that any slab allocation must start on a 64-bit boundary which is not equivalent to BYTES_PER_WORD, especially on those architecture versions that implements the ldrd/strd instructions. Overriding the default alignment disables some slab debug features. If those debug features are really needed then the kernel will have to be compiled for version 4 of the ARM architecture. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit eab9edd27f7ceaad6b57085817d63287bda15190 Author: Michael Hanselmann Date: Sat Jan 14 10:08:06 2006 -0500 Input: HID - add support for fn key on Apple PowerBooks This patch implements support for the fn key on Apple PowerBooks using USB based keyboards and makes them behave like their ADB counterparts. Signed-off-by: Michael Hanselmann Acked-by: Rene Nussbaumer Acked-by: Johannes Berg Acked-by: Benjamin Herrenschmidt Acked-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 1e27ffd4d7d39783c5196daa2584cca5785d1f95 Author: Dmitry Torokhov Date: Sat Jan 14 00:28:04 2006 -0500 Input: wacom - fix compile on PowerPC Rename G4 (new Graphire4) to WACOM_G4 to avoid clashes on PowerPC Signed-off-by: Dmitry Torokhov commit 5fce9d7bc5f485358263cf3d895e90c974449e1f Author: Dmitry Torokhov Date: Sat Jan 14 00:27:51 2006 -0500 Input: HID - add more simulation usages Signed-off-by: Dmitry Torokhov commit f0d5c6f419d3a10443f66d6835855837eae4ac4b Author: Dmitry Torokhov Date: Sat Jan 14 00:27:37 2006 -0500 Input: psmouse - attempt to re-synchronize mouse every 5 seconds This should help driver to deal vith KVMs that reset mice when switching between boxes. Signed-off-by: Dmitry Torokhov commit b65d0d1bacfdbb4a134a7ebd16f280d5d42241cb Author: Dmitry Torokhov Date: Sat Jan 14 00:26:15 2006 -0500 Input: HID - fix an oops in PID initialization code Signed-off-by: Dmitry Torokhov commit 940824b0ac6661ff4f3b36e7bce17f681d0cbc23 Author: Vojtech Pavlik Date: Sat Jan 14 00:25:39 2006 -0500 Input: HID - add support for Cherry Cymotion keyboard The Cherry Cymotion is a special Linux keyboard made by Cherry, with only one little problem: it doesn't work with Linux. This patch (originally by hexten.net, cleaned up by me) makes it work including all the special keys. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 3dd01a831133e3260b9c77a09c234b012e9507da Author: Vojtech Pavlik Date: Sat Jan 14 00:24:06 2006 -0500 Input: i8042 - add Sony Vaio FSC-115b to MUX blacklist Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit d5f079000b20887bfbc84d772a27709c5665e652 Author: Paul Mackerras Date: Sat Jan 14 15:08:50 2006 +1100 [PATCH] powerpc: Recognize /chaos bridge on old pmacs as PCI The first generation of PCI powermacs had a host bridge called /chaos which was for all intents and purposes a PCI host bridge, but has a device_type of "vci" in the device tree (presumably it's not really PCI at the hardware level or something). The OF parsing stuff in arch/powerpc/kernel/prom_parse.c currently doesn't recognize it as a PCI bridge, which means that controlfb.c can't get its device addresses. This makes prom_parse.c recognize a device_type of "vci" as indicating a PCI host bridge. With this, controlfb works again. Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit b4e7de0f3575f4862f04921c5bd0cb5680cc8d71 Author: Paul Mackerras Date: Sat Jan 14 15:06:51 2006 +1100 powerpc: Avoid unaligned loads and stores in boot memcpy code The 601 processor will generate an alignment exception for accesses which cross a page boundary. In the boot wrapper code, OF is still handling all exceptions, and it doesn't have an alignment exception handler that emulates the instruction and continues. This changes the memcpy and memmove routines in the boot wrapper to avoid doing unaligned accesses. If the source and destination are misaligned with respect to each other, we just copy one byte at a time. Signed-off-by: Paul Mackerras commit 66a45dd3620ee5f913ba1af3d2dca8b9bdfa2b96 Author: Paul Mackerras Date: Sat Jan 14 15:04:06 2006 +1100 powerpc: Make COFF zImages for old 32-bit powermacs This adds code to build zImage.coff and/or zImage.initrd.coff when CONFIG_PPC32 and CONFIG_PPC_PMAC are defined. It also restructures the OF client code and adds some workarounds for OF quirks on the older machines. Signed-off-by: Paul Mackerras commit 36874579dbf4cafa31486d4207c6807efbbf1378 Author: David Woodhouse Date: Sat Jan 14 00:15:19 2006 +0000 [PATCH] powerpc: macio-adb build fix This makes macio-adb.c build again. Entirely untested. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 575e321606c5673efabf28c0fa075e198980c44e Author: David Woodhouse Date: Sat Jan 14 00:13:49 2006 +0000 [PATCH] powerpc: Make CHRP build again This makes CHRP build again, although it's untested because my Pegasos is currently in pieces. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 91dc182ca6e25ee8b648ed2fb2a41859ead34903 Author: Dave C Boutcher Date: Fri Jan 13 18:39:24 2006 -0600 [PATCH] powerpc: special-case ibm,suspend-me RTAS call Handle the ibm,suspend-me RTAS call specially. It needs to be wrapped in a set of synchronization hypervisor calls (H_Join). When the H_Join calls are made on all CPUs, the intent is that only one will return with H_Continue, meaning that he is the "last man standing". That CPU then issues the ibm,suspend-me call. What is interesting, of course, is that the CPU running when the rtas syscall is made, may NOT be the CPU that ultimately executes the ibm,suspend-me rtas call. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 91f62a2491f45b5d46ebe5aca1fac3477355c9c1 Author: Paul Mackerras Date: Sat Jan 14 11:17:32 2006 +1100 ppc: Remove duplicate export of get_wchan The arch/powerpc version of process.c exports get_wchan itself. When I moved ARCH=ppc over to using arch/powerpc/kernel/process.c the get_wchan export in arch/ppc/kernel/ppc_ksyms.c became redundant, so remove it. Signed-off-by: Paul Mackerras (cherry picked from 9871166ad692121d6b944159ef3f053570158ea8 commit) commit 2e10c84b9cf0b2d269c5629048d8d6e35eaf6b2b Author: David Brownell Date: Wed Jan 11 11:23:49 2006 -0800 [PATCH] SPI: add spi_butterfly driver This adds a bitbanging parport based adaptor cable for AVR Butterfly, giving SPI links to its DataFlash chip and (eventually) firmware running in the card. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 5d870c8e216f121307445c71caa72e7e10a20061 Author: Andrew Morton Date: Wed Jan 11 11:23:49 2006 -0800 [PATCH] spi: remove fastcall crap gcc4 generates warnings when a non-FASTCALL function pointer is assigned to a FASTCALL one. Perhaps it has taste. Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7111763d391b0c5a949a4f2575aa88cd585f0ff6 Author: David Brownell Date: Sun Jan 8 13:34:29 2006 -0800 [PATCH] spi: misc fixes This collects some small SPI patches that seem to be missing from the MM tree: - spi_butterfly kbuild hooks got dropped somehow; this restores them - quick fix for a (theoretical?) m25p80_write() oops noted by Andrew - quick fix for a potential config-specific oops for mtd_dataflash() - minor doc tweaks Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8275c642ccdce09a2146d0a9eb022e3698ee927e Author: Vitaly Wool Date: Sun Jan 8 13:34:28 2006 -0800 [PATCH] spi: use linked lists rather than an array This makes the SPI core and its users access transfers in the SPI message structure as linked list not as an array, as discussed on LKML. From: David Brownell Updates including doc, bugfixes to the list code, add spi_message_add_tail(). Plus, initialize things _before_ grabbing the locks in some cases (in case it grows more expensive). This also merges some bitbang updates of mine that didn't yet make it into the mm tree. Signed-off-by: Vitaly Wool Signed-off-by: Dmitry Pervushin Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2f9f762879015d738a5ec2ac8a16be94b3a4a06d Author: Mike Lavender Date: Sun Jan 8 13:34:27 2006 -0800 [PATCH] spi: M25 series SPI flash This was originally a driver for the ST M25P80 SPI flash. It's been updated slightly to handle other M25P series chips. For many of these chips, the specific type could be probed, but for now this just requires static setup with flash_platform_data that lists the chip type (size, format) and any default partitioning to use. Signed-off-by: David Brownell Cc: Mike Lavender Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 9904f22a7202c6b54e96b0cc9870817013c350a1 Author: David Brownell Date: Sun Jan 8 13:34:26 2006 -0800 [PATCH] spi: add spi_bitbang driver This adds a bitbanging spi master, hooking up to board/adapter-specific glue code which knows how to set and read the signals (gpios etc). This code kicks in after the glue code creates a platform_device with the right platform_data. That data includes I/O loops, which will usually come from expanding an inline function (provided in the header). One goal is that the I/O loops should be easily optimized down to a few GPIO register accesses, in common cases, for speed and minimized overhead. This understands all the currently defined protocol tweaking options in the SPI framework, and might eventually serve as as reference implementation. - different word sizes (1..32 bits) - differing clock rates - SPI modes differing by CPOL (affecting chip select and I/O loops) - SPI modes differing by CPHA (affecting I/O loops) - delays (usecs) after transfers - temporarily deselecting chips in mid-transfer A lot of hardware could work with this framework, though common types of controller can't reach peak performance without switching to a driver structure that supports pipelining of transfers (e.g. DMA queues) and maybe controllers (e.g. IRQ driven). Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2e5a7bd978bf4118a0c8edf2e6ff81d0a72fee47 Author: David Brownell Date: Sun Jan 8 13:34:25 2006 -0800 [PATCH] spi: ads7836 uses spi_driver This updates the ads7864 driver to use the new "spi_driver" struct, and includes some minor unrelated cleanup. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 0c868461fcb8413cb9f691d68e5b99b0fd3c0737 Author: David Brownell Date: Sun Jan 8 13:34:25 2006 -0800 [PATCH] SPI core tweaks, bugfix This includes various updates to the SPI core: - Fixes a driver model refcount bug in spi_unregister_master() paths. - The spi_master structures now have wrappers which help keep drivers from needing class-level get/put for device data or for refcounts. - Check for a few setup errors that would cause oopsing later. - Docs say more about memory management. Highlights the use of DMA-safe i/o buffers, and zero-initializing spi_message and such metadata. - Provide a simple alloc/free for spi_message and its spi_transfer; this is only one of the possible memory management policies. Nothing to break code that already works. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit b885244eb2628e0b8206e7edaaa6a314da78e9a4 Author: David Brownell Date: Sun Jan 8 13:34:23 2006 -0800 [PATCH] spi: add spi_driver to SPI framework This is a refresh of the "Simple SPI Framework" found in 2.6.15-rc3-mm1 which makes the following changes: * There's now a "struct spi_driver". This increase the footprint of the core a bit, since it now includes code to do what the driver core was previously handling directly. Documentation and comments were updated to match. * spi_alloc_master() now does class_device_initialize(), so it can at least be refcounted before spi_register_master(). To match, spi_register_master() switched over to class_device_add(). * States explicitly that after transfer errors, spi_devices will be deselected. We want fault recovery procedures to work the same for all controller drivers. * Minor tweaks: controller_data no longer points to readonly data; prevent some potential cast-from-null bugs with container_of calls; clarifies some existing kerneldoc, And a few small cleanups. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 1d6432fe10c3e724e307dd7137cd293a0edcae80 Author: David Brownell Date: Sun Jan 8 13:34:22 2006 -0800 [PATCH] spi: mtd dataflash driver This is a conversion of the AT91rm9200 DataFlash MTD driver to use the lightweight SPI framework, and no longer be AT91-specific. It compiles down to less than 3KBytes on ARM. The driver allows board-specific init code to provide platform_data with the relevant MTD partitioning information, and hotplugs. This version has been lightly tested. Its parent at91_dataflash driver has been pretty well banged on, although kernel.org JFFS2 dataflash support was acting broken the last time I tried it. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit ffa458c1bd9b6f653008d450f337602f3d52a646 Author: David Brownell Date: Sun Jan 8 13:34:21 2006 -0800 [PATCH] spi: ads7846 driver This is a driver for the ADS7846 touchscreen sensor, derived from the corgi_ts and omap_ts drivers. Key differences from those two: - Uses the new SPI framework (minimalist version) - abstracts board-specific touchscreen info - Sysfs attributes for the temperature and voltage sensors - Uses fewer ARM-specific IRQ primitives The temperature and voltage sensors show up in sysfs like this: $ pwd /sys/devices/platform/omap-uwire/spi2.0 $ ls bus@ input:event0@ power/ temp1 vbatt driver@ modalias temp0 vaux $ cat modalias ads7846 $ cat temp0 991 $ cat temp1 1177 $ So far only basic testing has been done. There's a fair amount of hardware that uses this sensor, and which also runs Linux, which should eventually be able to use this driver. One portability note may be of special interest. It turns out that not all SPI controllers are happy issuing requests that do things like "write 8 bit command, read 12 bit response". Most of them seem happy to handle various word sizes, so the issue isn't "12 bit response" but rather "different rx and tx write sizes", despite that being a common MicroWire convention. So this version of the driver no longer reads 12 bit native-endian words; it reads 16-bit big-endian responses, then byteswaps them and shifts the results to discard the noise. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8ae12a0d85987dc138f8c944cb78a92bf466cea0 Author: David Brownell Date: Sun Jan 8 13:34:19 2006 -0800 [PATCH] spi: simple SPI framework This is the core of a small SPI framework, implementing the model of a queue of messages which complete asynchronously (with thin synchronous wrappers on top). - It's still less than 2KB of ".text" (ARM). If there's got to be a mid-layer for something so simple, that's the right size budget. :) - The guts use board-specific SPI device tables to build the driver model tree. (Hardware probing is rarely an option.) - This version of Kconfig includes no drivers. At this writing there are two known master controller drivers (PXA/SSP, OMAP MicroWire) and three protocol drivers (CS8415a, ADS7846, DataFlash) with LKML mentions of other drivers in development. - No userspace API. There are several implementations to compare. Implement them like any other driver, and bind them with sysfs. The changes from last version posted to LKML (on 11-Nov-2005) are minor, and include: - One bugfix (removes a FIXME), with the visible effect of making device names be "spiB.C" where B is the bus number and C is the chipselect. - The "caller provides DMA mappings" mechanism now has kerneldoc, for DMA drivers that want to be fancy. - Hey, the framework init can be subsys_init. Even though board init logic fires earlier, at arch_init ... since the framework init is for driver support, and the board init support uses static init. - Various additional spec/doc clarifications based on discussions with other folk. It adds a brief "thank you" at the end, for folk who've helped nudge this framework into existence. As I've said before, I think that "protocol tweaking" is the main support that this driver framework will need to evolve. From: Mark Underwood Update the SPI framework to remove a potential priority inversion case by reverting to kmalloc if the pre-allocated DMA-safe buffer isn't available. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 37d8dc82e0cd93eec77c5bcebd725c4ba661351a Author: David S. Miller Date: Fri Jan 13 16:19:44 2006 -0800 [NETFILTER] x-tables: Missing linux/ipv6.h includes. Signed-off-by: David S. Miller commit 8f069b1a90bd97bf6d59a02ecabf0173d9175609 Author: Marcelo Tosatti Date: Fri Jan 13 14:16:12 2006 -0200 [PATCH] powerpc/8xx: Use 8MB D-TLB's for kernel static mapping faults The following implements support for instantiation of 8MB D-TLB entries for the kernel direct virtual mapping on 8xx, thus reducing TLB space consumed for the kernel. Test used: writing 40MB from /dev/zero to file in ext2fs over RAMDISK. $ time dd if=/dev/zero of=file bs=4k count=10000 VANILLA 8MB kernel data pages real 0m11.485s real 0m11.267s user 0m0.218s user 0m0.250s sys 0m8.939s sys 0m9.108s real 0m11.518s real 0m10.978s user 0m0.203s user 0m0.222s sys 0m9.585s sys 0m9.138s real 0m11.554s real 0m10.967s user 0m0.228s user 0m0.222s sys 0m9.497s sys 0m9.127s real 0m11.633s real 0m11.286s user 0m0.214s user 0m0.196s sys 0m9.529s sys 0m9.134s and averages for both: real 11.54750 real 11.12450 Which is a 3.6% improvement in execution time. More improvement is expected for loads with larger kernel data footprint (real workloads). Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 7d13d21ae85f64e35dcdae4d6a6286e62a38e0ab Author: Kumar Gala Date: Fri Jan 13 11:19:58 2006 -0600 [PATCH] powerpc: Add MPC834x SYS board to arch/powerpc Add the first MPC83xx board that uses a flat device tree to arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit eed320010872a11f5255b3d076e5b4f142af553d Author: Kumar Gala Date: Fri Jan 13 11:19:13 2006 -0600 [PATCH] powerpc: Add FSL SOC library and setup code Parse the flat device tree for devices on Freescale SOC's that we know about (gianfar, gianfar_mdio, i2c, mpc83xx_wdt). We need to setup platform devices and platform data for these devices to match arch/ppc usage. Also add a helper function (get_immrbase) that reports the base address of the MMIO registers on the SOC. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b8e383d592daaa35c944a9083ee92c995dce66ca Author: Kumar Gala Date: Fri Jan 13 10:15:17 2006 -0600 [PATCH] powerpc: Allow for ppc_md restart, power_off, and halt to be NULL On a number of embedded reference boards there isn't always a way to reset, power_off, or halt the board. Rather than having each board implement a spin loop just let the generic code do it. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 7a45fb19cef93574230827e6e2c97ad5760ddecd Author: Andy Whitcroft Date: Fri Jan 13 12:35:49 2006 +0000 [PATCH] powerpc: oprofile cpu type names clash with other code In 2.6.15-git6 a change was commited in the oprofile support in the powerpc architecture. It introduced the powerpc_oprofile_type which contains the define G4. This causes a name clash with the existing wacom usb tablet driver. CC [M] drivers/usb/input/wacom.o drivers/usb/input/wacom.c:98: error: conflicting types for `G4' include/asm/cputable.h:37: error: previous declaration of `G4' CC [M] drivers/usb/mon/mon_text.o make[3]: *** [drivers/usb/input/wacom.o] Error 1 make[2]: *** [drivers/usb/input] Error 2 The elements of an enum declared in global scope are effectivly global identifiers themselves. As such we need to ensure the names are unique. This patch updates the later oprofile support to use unique names. Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 80f15dc703b3677d0b025bafd215f1f3664c8978 Author: Paul Mackerras Date: Sat Jan 14 10:11:39 2006 +1100 powerpc: Provide a suitable AT_PLATFORM value The glibc folks want to use AT_PLATFORM to select between possible alternative versions of shared libraries. This commit makes the kernel supply an AT_PLATFORM string that indicates what class of processor we are running on. Processors with the same set of user-level instructions and roughly the same instruction scheduling characteristics are given the same AT_PLATFORM value; for example, 821, 823 and 860 are all reported as "ppc823", and 7447, 7447A, 7448, 7450, 7451, 7455 are all called "ppc7450". The intention is that the AT_PLATFORM values match the values that gcc accepts for the -mcpu= option. For values which are numeric (e.g. -mcpu=750), "ppc" has been prepended. This also adds a PPC_FEATURE_BOOKE bit to the AT_HWCAP value and sets it for the 440 family and the Freescale 85xx family. Signed-off-by: Paul Mackerras commit d50f5c5ca0c3426669fbe11ad4d5708d333eb9fb Author: Andreas Schwab Date: Fri Jan 13 23:46:38 2006 +0100 [IA64] build broken for ia64 simserial.c TTY layer buffering revamp broke ia64 in commit 33f0f88f1c51ae5c2d593d26960c760ea154c2e2 CC arch/ia64/hp/sim/simserial.o arch/ia64/hp/sim/simserial.c: In function `receive_chars': arch/ia64/hp/sim/simserial.c:170: error: structure has no member named `flip' ... and so on ... make[1]: *** [arch/ia64/hp/sim/simserial.o] Error 1 Patch from Andreas Schwab. Signed-off-by: Tony Luck commit 95ed644fd12f53c6fc778f3f246974e5fe3a9468 Author: Ingo Molnar Date: Fri Jan 13 14:51:39 2006 -0800 IB: convert from semaphores to mutexes semaphore to mutex conversion by Ingo and Arjan's script. Signed-off-by: Ingo Molnar [ Sanity-checked on real IB hardware ] Signed-off-by: Roland Dreier commit d3ef1f5aafcf7a4129eb2078c70bc9e577bc3af1 Author: Zhang Yanmin Date: Fri Jan 13 14:45:21 2006 -0800 [IA64] prevent accidental modification of args in jprobe handler When jprobe is hit, the function parameters of the original function should be saved before jprobe handler is executed, and restored it after jprobe handler is executed, because jprobe handler might change the register values due to tail call optimization by the gcc. Signed-off-by: Zhang Yanmin Signed-off-by: Anil S Keshavamurthy Signed-off-by: Tony Luck commit dca80b962a811a0454d779ab6250b59446a8c86c Author: Patrick McHardy Date: Fri Jan 13 14:36:55 2006 -0800 [PKT_SCHED]: Change default clock source to gettimeofday The default of using jiffies is very bad and results in underutilization except with very low bandwidth. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee51b1b6cece4dad408feeb0c3c9adb9cbd9f7d9 Author: Patrick McHardy Date: Fri Jan 13 14:34:36 2006 -0800 [XFRM]: IPsec tunnel wildcard address support When the source address of a tunnel is given as 0.0.0.0 do a routing lookup to get the real source address for the destination and fill that into the acquire message. This allows to specify policies like this: spdadd 172.16.128.13/32 172.16.0.0/20 any -P out ipsec esp/tunnel/0.0.0.0-x.x.x.x/require; spdadd 172.16.0.0/20 172.16.128.13/32 any -P in ipsec esp/tunnel/x.x.x.x-0.0.0.0/require; Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7b11f69fb5c475f521db79f5fa22104e15842671 Author: Kris Katterjohn Date: Fri Jan 13 14:33:06 2006 -0800 [NET]: Clean up comments for sk_chk_filter() This removes redundant comments, and moves one comment to a better location. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 46b86a2da0fd14bd49765330df63a62279833acb Author: Joe Perches Date: Fri Jan 13 14:29:07 2006 -0800 [NET]: Use NIP6_FMT in kernel.h There are errors and inconsistency in the display of NIP6 strings. ie: net/ipv6/ip6_flowlabel.c There are errors and inconsistency in the display of NIPQUAD strings too. ie: net/netfilter/nf_conntrack_ftp.c This patch: adds NIP6_FMT to kernel.h changes all code to use NIP6_FMT fixes net/ipv6/ip6_flowlabel.c adds NIPQUAD_FMT to kernel.h fixes net/netfilter/nf_conntrack_ftp.c changes a few uses of "%u.%u.%u.%u" to NIPQUAD_FMT for symmetry to NIP6_FMT Signed-off-by: Joe Perches Signed-off-by: David S. Miller commit e026cca0f2c09c4c28c902db6384fd8a412671d6 Author: Keith Owens Date: Fri Jan 6 10:36:06 2006 +1100 [IA64] Add hotplug cpu to salinfo.c, replace semaphore with mutex Add hotplug cpu support to salinfo.c. The cpu_event field is a cpumask so use the cpu_* macros consistently, replacing the existing mixture of cpu_* and *_bit macros. Instead of counting the number of outstanding events in a semaphore and trying to track that count over user space context, interrupt context, non-maskable interrupt context and cpu hotplug, replace the semaphore with a test for "any bits set" combined with a mutex. Modify the locking to make the test for "work to do" an atomic operation. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 15029285dc977a392e74eacb7625984b71d4f605 Author: Jason Uhlenkott Date: Fri Dec 30 02:27:01 2005 -0800 [IA64] Handle debug traps in fsys mode We need to handle debug traps in fsys mode non-fatally. They can happen now that we have fsyscalls which contain probe instructions. Signed-off-by: Jason Uhlenkott Signed-off-by: Tony Luck commit 6d6e420005f3753392b608a614eee8475bdc16f7 Author: Prarit Bhargava Date: Fri Dec 23 13:33:25 2005 -0500 [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization This patch separates the sn_flush_device_list struct into kernel and common (both kernel and PROM accessible) structures. As it was, if the size of a spinlock_t changed (due to additional CONFIG options, etc.) the sal call which populated the sn_flush_device_list structs would erroneously write data (and cause memory corruption and/or a panic). This patch does the following: 1. Removes sn_flush_device_list and adds sn_flush_device_common and sn_flush_device_kernel. 2. Adds a new SAL call to populate a sn_flush_device_common struct per device, not per widget as previously done. 3. Correctly initializes each device's sn_flush_device_kernel spinlock_t struct (before it was only doing each widget's first device). Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit cfbb1426bd76c4ba6ec4491c8df2a5dd3d984750 Author: Jack Steiner Date: Thu Dec 22 13:45:41 2005 -0600 [IA64] Hole in IA64 TLB flushing from system threads I originally thought this was an bug only in the SN code, but I think I also see a hole in the generic IA64 tlb code. (Separate patch was sent for the SN problem). It looks like there is a bug in the TLB flushing code. During context switch, kernel threads (kswapd, for example) inherit the mm of the task that was previously running on the cpu. Normally, this is ok because the previous context is still loaded into the RR registers. However, if the owner of the mm migrates to another cpu, changes it's context number, and references a page before kswapd issues a tlb_purge for that same page, the purge will be done with a stale context number (& RR registers). Signed-off-by: Tony Luck commit 17e8ce0e9417eee1f57f9b3d4aad168425e043c3 Author: Russ Anderson Date: Fri Dec 16 17:19:01 2005 -0600 [IA64-SGI] Altix BTE error handling fixes Altix (shub2) pushes the BTE clean-up into SAL. This patch correctly interfaces with the now implemented SAL call. It also fixes a bug when delaying clean-up to allow busy BTEs to complete (or error out). Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit 7493a314cb83797ce612a577475aacaedc553fed Author: Dmitry Torokhov Date: Fri Jan 13 22:06:43 2006 +0000 [SERIAL] serial8250: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Also set up driver's owner to create link driver->module in sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Russell King commit 8a4b7b6f187f2967bff222e8c3758ab47efdb14f Author: Francois Wellenrieter Date: Fri Jan 13 14:01:01 2006 -0800 [IA64] Fix conversion of pal_min_state physical address On return from INIT handler we must convert the address of the minstate area from a kernel virtual uncached address (0xC...) to physical uncached (0x8...). A typo (or thinko?) in the code converted to physical cached. Signed-off-by: Tony Luck commit d600b97cf6ef8c24c9b87a4b7ce390c0d13684e8 Author: Adrian Bunk Date: Fri Jan 13 21:57:22 2006 +0000 [SERIAL] fix SERIAL_M32R_PLDSIO dependencies This patch fixes a typo in the dependencies reported by Jean-Luc Leger . Signed-off-by: Adrian Bunk Signed-off-by: Russell King commit 51828abc17a4ae0f7fb3879e00a30da7bdc7ca20 Author: Andrew Morton Date: Fri Jan 13 21:44:18 2006 +0000 [MMC] mmc_blk_probe() warning fix drivers/mmc/mmc_block.c: In function `mmc_blk_probe': drivers/mmc/mmc_block.c:467: warning: long unsigned int format, different type arg (arg 5) We don't know what size sector_t is - cast it. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit e2862f6a833ea26591c7feb755dc2e46909182a6 Author: Ingo Molnar Date: Fri Jan 13 21:37:07 2006 +0000 [SERIAL] convert uart_state.sem to uart_state.mutex semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Russell King commit fa0fe48fcca9ea7f8c13e21d2646bbaa1747d183 Author: Russell King Date: Fri Jan 13 21:30:48 2006 +0000 [ARM] Separate VIC (vectored interrupt controller) support from Versatile Other machines may wish to make use of the VIC support code, so move it to arch/arm/common. Signed-off-by: Russell King commit 5ff3fd27161127cc464fc04548d58672a6a8272a Author: Russell King Date: Fri Jan 13 21:09:17 2006 +0000 [ARM] Remove useless 'default n' from Kconfig files The default is already 'n' so there's no need to explicitly state it. Signed-off-by: Russell King commit 23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb Author: Per Liden Date: Fri Jan 13 13:06:40 2006 -0800 [PATCH] genetlink: don't touch module ref count Increasing the module ref count at registration will block the module from ever being unloaded. In fact, genetlink should not care about the owner at all. This patch removes the owner field from the struct registered with genetlink. Signed-off-by: Per Liden Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit afeb90ca08000cbd75f22836e667f368e25fe3ac Author: Hyok S. Choi Date: Fri Jan 13 21:05:25 2006 +0000 [ARM] Support register switch in nommu mode This patch adds register switch support in nommu mode. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit e72b04756f16e40dfd6dab3da81e03fe6dfe16e6 Author: Hyok S. Choi Date: Fri Jan 13 21:04:17 2006 +0000 [ARM] start_thread fixup for nommu mode This patch supports start_thread in nommu mode which requires the base index register. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit 946d4935fc61e1479f8c057d58c64110bb43d3b0 Author: Nicolas Pitre Date: Fri Jan 13 20:51:52 2006 +0000 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. Now that no code uses it anymore, mark it deprecated and remove all initializations from the tree. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2df96b34aae08e0aa688ef7a8444febb8ec44172 Author: Nicolas Pitre Date: Fri Jan 13 20:51:46 2006 +0000 [ARM] 3259/1: remove phys_ram from struct machine_desc (part 1) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. First, let's use PHYS_OFFSET directly instead. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3261e362f603cf2649f90e9ad2d1a1f98f69291a Author: Matt Reimer Date: Fri Jan 13 20:51:44 2006 +0000 [ARM] 3258/1: IMX serial: fix parity Patch from Matt Reimer IMX serial parity generation doesn't work because of a simple logic error. This patch fixes it and now Bluetooth works on R1000. Signed-off-by: Matt Reimer Signed-off-by: Russell King commit dd29c7277126db6884df42d41f2fbe2ebc10041e Author: Lennert Buytenhek Date: Fri Jan 13 20:51:43 2006 +0000 [ARM] 3257/1: ixp2000: map in scratch and sram Patch from Lennert Buytenhek For the ixp2000 netdev driver, we need to map in a chunk of SRAM (to store the transmit and receive descriptors) and the scratch get/put area (so that we can use the scratchpad rings in the cpu for managing the descriptors.) These are the final two mappings needed for the netdev driver and the last missing piece for the driver in mainline to work. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff Author: Michael Richardson Date: Mon Jan 9 01:04:51 2006 -0800 [PATCH] device_shutdown can loop if the driver frees itself This patch changes device_shutdown() to use the newly introduced safe reverse list traversal. We experienced loops on system reboot if we had removed and re-inserted our device from the device list. We noticed this problem on PPC405. Our PCI IDE device comes and goes a lot. Our hypothesis was that there was a loop caused by the driver->shutdown freeing memory. It is possible that we do something wrong as well, but being unable to reboot is kind of nasty. Signed-off-by: Michael Richardson Cc: Patrick Mochel Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2d7b5a70e01ff8b1b054d8313362e454e3057c5a Author: Jean Delvare Date: Tue Dec 27 19:45:58 2005 +0100 [PATCH] platform-device-del typo fix Please fold this typo fix into platform-device-del.patch, as was discussed earlier on LKML: http://lkml.org/lkml/2005/12/10/76 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8bbace7e686f1536905c703038a7eddfb1520264 Author: Cornelia Huck Date: Wed Jan 11 10:56:22 2006 +0100 [PATCH] Add {css,ccw}_bus_type probe, remove, shutdown methods. The following patch converts css_bus_type and ccw_bus_type to use the new bus_type methods. Signed-off-by: Cornelia Huck CC: Martin Schwidefsky Signed-off-by: Greg Kroah-Hartman commit 348290a4ae143a692124330942b464ccdb0d0365 Author: Russell King Date: Fri Jan 6 11:42:03 2006 +0000 [PATCH] Add bttv sub bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit d78967fb035aeb839a047ae69ce5f1ff39288a8d Author: Russell King Date: Fri Jan 6 11:41:32 2006 +0000 [PATCH] Remove usb gadget generic driver methods USB gadget drivers make no use of these, remove the pointless comments. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4031bbe4bbec6c0fe50412ef7fb43a270b0f29f1 Author: Russell King Date: Fri Jan 6 11:41:00 2006 +0000 [PATCH] Add ide_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 Author: Russell King Date: Thu Jan 5 14:44:46 2006 +0000 [PATCH] Add Pseudo LLD bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit fc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f Author: Russell King Date: Thu Jan 5 14:44:14 2006 +0000 [PATCH] Add rio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a Author: Russell King Date: Thu Jan 5 14:43:43 2006 +0000 [PATCH] Add zorro_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ac33bc3d54936d364c1f979e50f43dfa3f9a13c1 Author: Russell King Date: Thu Jan 5 14:43:11 2006 +0000 [PATCH] Add usb_serial_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ff2dae79773658eaaab731663ddca9f7975430eb Author: Russell King Date: Thu Jan 5 14:42:40 2006 +0000 [PATCH] Add superhyway_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit f9ccf4569ac4597e9e09d301ca362d90b4a1046d Author: Russell King Date: Thu Jan 5 14:42:09 2006 +0000 [PATCH] Add ccwgroup_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4681fc320889de4591f945c4fdf08546eb9ab266 Author: Russell King Date: Thu Jan 5 14:41:37 2006 +0000 [PATCH] Add pnp_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 1d0baa3a1c836f0403b318d549fd49ebc73ee631 Author: Russell King Date: Thu Jan 5 14:40:58 2006 +0000 [PATCH] Add pcmcia_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4d0b653cdfde193944784c01fa3359b0a444dcf1 Author: Russell King Date: Thu Jan 5 14:40:27 2006 +0000 [PATCH] Add mmc_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 413b486e18587fd53c9954252e6648f9450c734e Author: Russell King Date: Thu Jan 5 14:39:56 2006 +0000 [PATCH] Add MCP bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4866b124a1ded3b94b0cea0bd543f46ffa9a3943 Author: Russell King Date: Thu Jan 5 14:39:24 2006 +0000 [PATCH] Add macio_bus_type probe and remove methods Signed-off-by: Russell King Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 30226f8199cb7f5ace767f65bcebb85941612dfc Author: Russell King Date: Thu Jan 5 14:38:53 2006 +0000 [PATCH] Add serio bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 29a4a20e9fe7459f9d464b8be070ce8b7335be7e Author: Russell King Date: Thu Jan 5 14:38:22 2006 +0000 [PATCH] Add gameport bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b864c7d5d17c171c4ead0791b44ab05d7a21dc0c Author: Russell King Date: Thu Jan 5 14:37:50 2006 +0000 [PATCH] Add i2c_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 5b34bf88779fa965a134b92ab61688e0d1ddfe1d Author: Russell King Date: Thu Jan 5 14:37:18 2006 +0000 [PATCH] Add dio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 2f53a80fc0f6287d4bd6cc2422cd095c90f30410 Author: Russell King Date: Thu Jan 5 14:36:47 2006 +0000 [PATCH] Add vio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 79f9fb8886d901fd549793a4ad632ece51c68405 Author: Russell King Date: Thu Jan 5 14:36:16 2006 +0000 [PATCH] Add of_platform_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit c6a09196bab3bc9e515b713193d61e3e87c720f7 Author: Russell King Date: Thu Jan 5 14:35:42 2006 +0000 [PATCH] Add sh_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 91fb53866d00b4eaeaf1cbfd2237799cb152f742 Author: Russell King Date: Thu Jan 5 14:35:09 2006 +0000 [PATCH] Add ocp_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ad3ed31c682d956d2187e562635c55c8c74c1021 Author: Russell King Date: Thu Jan 5 14:34:38 2006 +0000 [PATCH] Add parisc_bus_type probe and remove methods Signed-off-by: Russell King Acked-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman commit 83dfb8b67522f6cf1fc5771a8be0a9095eea65d4 Author: Russell King Date: Thu Jan 5 14:34:06 2006 +0000 [PATCH] Add tiocx bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 5c0784c350516856ed15deb6adf6b053bf427792 Author: Russell King Date: Thu Jan 5 14:33:35 2006 +0000 [PATCH] Add logic module bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 306955be37dd1b1f232f19766227ccccb83f7873 Author: Russell King Date: Thu Jan 5 14:33:04 2006 +0000 [PATCH] Add locomo bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit 2876ba4321f0f85c40726b736eeaadf317803f16 Author: Russell King Date: Thu Jan 5 14:32:32 2006 +0000 [PATCH] Add SA1111 bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit e08b754161d6de4f91e2d3c805f350b35a95d8b8 Author: Russell King Date: Thu Jan 5 14:30:57 2006 +0000 [PATCH] Add ecard_bus_type probe/remove/shutdown methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b15d686a2b589c9e4f1ea116553e9c3c3d030dae Author: Russell King Date: Thu Jan 5 14:30:22 2006 +0000 [PATCH] Add pci_bus_type probe and remove methods Move the PCI bus device probe/remove methods to the bus_type structure. We leave the shutdown method alone since there are compatibility issues with that. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 594c8281f90560faf9632d91bb9d402cbe560e63 Author: Russell King Date: Thu Jan 5 14:29:51 2006 +0000 [PATCH] Add bus_type probe, remove, shutdown methods. Add bus_type probe, remove and shutdown methods to replace the corresponding methods in struct device_driver. This matches the way we handle the suspend/resume methods. Since the bus methods override the device_driver methods, warn if a device driver is registered whose methods will not be called. The long-term idea is to remove the device_driver methods entirely. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit bd37e5a951ad2123d3f51f59c407b5242946b6ba Author: Kay Sievers Date: Thu Jan 5 13:19:55 2006 +0100 [PATCH] INPUT: add MODALIAS to the event environment input: add MODALIAS to the event environment Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 9335d48e10d2d07eacaddf889ec1efb8a5a5082e Author: Dean Nelson Date: Tue Jan 10 11:12:32 2006 -0600 [IA64-SGI] move xpc.h to include/asm-ia64/sn (cleanup) Cleanup a few items after moving xpc.h from arch/ia64/sn/kernel to include/asm-ia64/sn. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 87a149d6bba5949fbc53b8a21189b54748ac9e2a Author: Dean Nelson Date: Tue Jan 10 11:09:48 2006 -0600 [IA64-SGI] move xpc.h to include/asm-ia64/sn Move xpc.h from arch/ia64/sn/kernel to include/asm-ia64/sn without change. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit d6ad033a88b42420ddb6c62c95e42f88d862b246 Author: Dean Nelson Date: Tue Jan 10 11:08:55 2006 -0600 [IA64-SGI] move xpc_system_reboot() Move xpc_system_reboot() to be closer to the file it calls for readability reasons (which are indeed subjective). Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 1f4674b2d5f63bac4c393ac4de1d6c1b6b72c09c Author: Dean Nelson Date: Tue Jan 10 11:08:00 2006 -0600 [IA64-SGI] ignoring loss of heartbeat while XPC is in kdebug Allow for the loss of heartbeat while in kdebug to be ignored by remote partitions. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 0752c670d83362609c7f3f59ffa0e180709c60c2 Author: Dean Nelson Date: Tue Jan 10 11:07:19 2006 -0600 [IA64-SGI] XPC and unregistering from notifier lists Only unregister from notifier lists if XPC is unloading. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 1ecaded80f94f2779160529aef7d6f37a22c2f60 Author: Dean Nelson Date: Fri Jan 6 09:48:21 2006 -0600 [IA64-SGI] cleanup XPC disengage related messages Cleanup the XPC disengage related messages that are printed to the log. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 246c7e33d51afe99890b2caab7ad482c0296d5ba Author: Dean Nelson Date: Thu Dec 22 14:32:56 2005 -0600 [IA64-SGI] ensure XPC disengage request is processed This patch fixes a problem in XPC disengage processing whereby it was not seeing the request to disengage from a remote partition, so the disengage wasn't happening. The disengagement is suppose to transpire during the time a XPC channel is disconnecting, and should be completed before the channel is declared to be disconnected. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7ae69d2aa4ed3ee8cef18a072346366f019d6a4a Author: Tony Luck Date: Fri Jan 13 10:03:58 2006 -0800 [IA64] Add stub entry to fsys.S for sys_migrate_pages When this new syscall was added to ia64 in commit 39743889aaf76725152f16aa90ca3c45f6d52da3 fsys.S was forgotten. Add a ".data8 0" there to keep it in step. [Reported by Stephane Eranian] Signed-off-by: Tony Luck commit 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 Author: Paul Mackerras Date: Fri Jan 13 14:23:25 2006 +1100 [PATCH] Increase AT_VECTOR_SIZE On PowerPC, we want to be able to provide an AT_PLATFORM aux table entry to userspace, so that glibc can choose optimized libraries for the processor we're running on. Unfortunately that would be the 21st aux table entry on powerpc, meaning that the aux table including the terminating null entry would overflow the mm->saved_auxv[] array, leading to userland programs segfaulting. This increases the size of the mm->saved_auxv array to be large enough to accommodate an AT_PLATFORM entry on powerpc. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 8a430d74fea797fc55fef1ad4c21420212b83574 Author: Evgeniy Date: Fri Jan 13 18:12:15 2006 +0300 [PATCH] Fix oops in ufs_fill_super at mount time There's a lack of parenthesis in fs/ufs/utils.h, so instead of the 512th byte of buffer, the usb2 pointer will point to the nth structure of type ufs_super_block_second. This can cause a mount-time oops if you're unlucky (especially with DEBUG_PAGEALLOC, which is how Alexey Dobriyan saw this problem) Signed-off-by: Evgeniy Dushistov Acked-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit c943aa859c392eb4cc76d911daa1f261555075b2 Author: Michael Krufky Date: Fri Jan 13 14:10:26 2006 -0200 V4L/DVB (3364): disable all dvb tuner param_types until we need them - Add param_type dvbs2 - disable all dvb param_types, which will not be needed until we merge dvb-pll. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b3d37042d7d33baf0247d1df31031e64427f39b3 Author: Hans Verkuil Date: Fri Jan 13 14:10:25 2006 -0200 V4L/DVB (3363): Add support for Samsung tuner TCPN 2121P30A - Add support for Samsung tuner TCPN 2121P30A, used in Hauppauge PVR-500 cards. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 7b0ac9cdd42b254ae2ec0f6c1cc6389655e4ba96 Author: Michael Krufky Date: Fri Jan 13 14:10:25 2006 -0200 V4L/DVB (3359): Redesign tuners struct for maximum flexibility - Tunertype struct redefined to allow one or more tuner_params structs per tuner definition, one for each video standard. - Each tuner_params struct has an element containing an arbitrary amount of tuner_ranges. (this is needed for dvb tuners - to be handled later) - A tuner_range may be referenced by multiple tuner_params structs. There are many duplicates in here. Reusing tuner_range structs, rather than defining new ones for each tuner, will cut down on memory usage, and is preferred when possible. - tunertype struct contains an element, has_tda988x. We must set this for all tunertypes that contain a tda988x chip, and then we can remove this setting from the various card structs. - Improves tuners array memory usage efficiency. - Right now, all tuners are using the first tuner_params[] array element for analog mode. In the future, we will be merging similar tuner definitions together, such that each tuner definition will have a tuner_params struct for each available video standard. At that point, the tuner_params[] array element will be chosen based on the video standard in use. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f4efb4dbf21c78939e32d96cad145421c8b5f106 Author: Michael Krufky Date: Fri Jan 13 14:10:25 2006 -0200 V4L/DVB (3358): Updated MODULE_AUTHOR - Updated MODULE_AUTHOR Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5486a145a94918707b1d6a53f55e7b9d1b13e237 Author: Michael Krufky Date: Fri Jan 13 14:10:24 2006 -0200 V4L/DVB (3357): Build cx88-alsa when CONFIG_VIDEO_CX88_ALSA is selected. - Build cx88-alsa when CONFIG_VIDEO_CX88_ALSA is selected. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 45bf2daaa32027f44180078bd5c5fb9ac04840f9 Author: Mauro Carvalho Chehab Date: Fri Jan 13 14:10:24 2006 -0200 V4L/DVB (3356): Include missing MODULE_* macros - Include missing MODULE_* macros. - Fixed cx88_vp3054_i2c: module license 'unspecified' taints kernel. Signed-off-by: Mauro Carvalho Chehab commit bd5f0ac930168899003952110c45d110958a5c55 Author: Ingo Molnar Date: Fri Jan 13 14:10:24 2006 -0200 V4L/DVB (3354e): bttv semaphore to mutex conversion Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Mauro Carvalho Chehab commit 9b565eb794eec1ccd9edcc7263ebe5b3245a1e65 Author: Eric Sesterhenn / snakebyte Date: Fri Jan 13 14:10:23 2006 -0200 V4L/DVB (3354a): Remove old MODULE_PARM in media/video/ Changes MODULE_PARM usage to module_param Signed-off-by: Eric Sesterhenn Signed-off-by: Mauro Carvalho Chehab commit a5ed425cd30c0c2abac4039ae11b38520aa130c2 Author: Mauro Carvalho Chehab Date: Fri Jan 13 14:10:19 2006 -0200 V4L/DVB (3355): removed uneeded init on structs like static int foo=0 - Static vars are equal to zero by default. Removed unnecessary =0 from them, saving some data space Signed-off-by: Mauro Carvalho Chehab commit b11fa580ac06b34944a2b46a44ebce2c284e1a76 Author: Anton Blanchard Date: Fri Jan 13 16:51:52 2006 +1100 [PATCH] powerpc: reformat atomic_add_unless It makes my eyes hurt. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 144b9c135b963bcb7f242c7b83bff930620d3161 Author: Anton Blanchard Date: Fri Jan 13 15:37:17 2006 +1100 [PATCH] powerpc: use lwsync in atomics, bitops, lock functions eieio is only a store - store ordering. When used to order an unlock operation loads may leak out of the critical region. This is potentially buggy, one example is if a user wants to atomically read a couple of values. We can solve this with an lwsync which orders everything except store - load. I removed the (now unused) EIEIO_ON_SMP macros and the c versions isync_on_smp and eieio_on_smp now we dont use them. I also removed some old comments that were used to identify inline spinlocks in assembly, they dont make sense now our locks are out of line. Another interesting thing was that read_unlock was using an eieio even though the rest of the spinlock code had already been converted to use lwsync. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 3356bb9f7ba378a6e2709f9df95f4ea52111f4df Author: David Gibson Date: Fri Jan 13 10:26:42 2006 +1100 [PATCH] powerpc: Remove lppaca structure from the PACA At present the lppaca - the structure shared with the iSeries hypervisor and phyp - is contained within the PACA, our own low-level per-cpu structure. This doesn't have to be so, the patch below removes it, making a separate array of lppaca structures. This saves approximately 500*NR_CPUS bytes of image size and kernel memory, because we don't need aligning gap between the Linux and hypervisor portions of every PACA. On the other hand it means an extra level of dereference in many accesses to the lppaca. The patch also gets rid of several places where we assign the paca address to a local variable for no particular reason. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit e58c3495e6007af59382540bb21ee941e470d88d Author: David Gibson Date: Fri Jan 13 14:56:25 2006 +1100 [PATCH] powerpc: Cleanup LOADADDR etc. asm macros This patch consolidates the variety of macros used for loading 32 or 64-bit constants in assembler (LOADADDR, LOADBASE, SET_REG_TO_*). The idea is to make the set of macros consistent across 32 and 64 bit and to make it more obvious which is the appropriate one to use in a given situation. The new macros and their semantics are described in the comments in ppc_asm.h. In the process, we change several places that were unnecessarily using immediate loads on ppc64 to use the GOT/TOC. Likewise we cleanup a couple of places where we were clumsily subtracting PAGE_OFFSET with asm instructions to use assemble-time arithmetic or the toreal() macro instead. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 7e78e5e502d4f220d24c6f738f2fdb078ad33607 Author: Kumar Gala Date: Thu Jan 12 21:04:23 2006 -0600 [PATCH] powerpc: Updated platforms that use gianfar to match driver The gianfar driver changed how it required MDIO bus and phy id's to be passed to it. Also, it no longer passes the physical address of the MDIO bus. Instead we have a proper platform device. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 135f0b17a7a146fa65ccd75704eecf77ee19d587 Author: Tom Rini Date: Thu Jan 12 16:55:58 2006 -0700 [PATCH] powerpc/boot: Better use of defaultimage- The following reworks how defaultimage- is used. We default to zImage here and then override it on platforms that need something more (uImage in the future) or less (vmlinux on iSeries). Signed-off-by: Tom Rini Signed-off-by: Paul Mackerras commit 610d91511f99f0a8325ad78fb7259c454b23e65a Author: Dave C Boutcher Date: Thu Jan 12 16:10:22 2006 -0600 [PATCH] powerpc: Add support for changing properties from userspace Add support to reconfigure the device tree through the existing proc filesystem interface. Add "add_property", "remove_property", and "update_property" commands to the existing interface. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit ecaa8b0ff326920c8a89d748382e1c1d8812676c Author: Dave C Boutcher Date: Thu Jan 12 16:09:29 2006 -0600 [PATCH] powerpc: Add of_find_property function Add an of_find_property function that returns a struct property given a property name. Then change the get_property function to use that routine internally. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 088186ded490ced80758200cf8f906ed741df306 Author: Dave C Boutcher Date: Thu Jan 12 16:08:27 2006 -0600 [PATCH] powerpc: Add/remove/update properties in firmware device tree Add support for updating and removing device tree properties. Since we hand out pointers to properties with gay abandon, we can't just free the property storage. Instead we move deleted, or the old copy of an updated property, to a "dead properties" list. Also note, its not feasable to kref device tree properties. we call get_property() all over the kernel in a wild variety of contexts. One consequence of this change is that we now take a read_lock(&devtree_lock) when doing get_property(). Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 898b5395e915210f41223caa30312994d64cba1d Author: Dave C Boutcher Date: Thu Jan 12 16:07:17 2006 -0600 [PATCH] powerpc: Add/remove/update properties in /proc/device-tree Add support to the proc_device_tree file for removing and updating properties. Remove just removes the proc file, update changes the data pointer within the proc file. The remainder of the device-tree changes occur elsewhere. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 43ccf202214067f12af5d7a6e144e18bb35553a9 Author: Dave C Boutcher Date: Thu Jan 12 16:05:35 2006 -0600 [PATCH] powerpc: Add some more pSeries hypervisor call constants Adds a few more hypervisor call constants. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 9e1c72a4e465ceb2c4c6e2dfc0584a59bec5c2c9 Author: Tom Rini Date: Thu Jan 12 14:25:50 2006 -0700 [PATCH] Remove bzImage target Since the documentation no longer tells people to 'make bzImage', and with the previous patch nothing more than 'make' is required to get the right bootable images (just like on i386 now), this removes the bzImage -> zImage target redirect on ARCH=powerpc Signed-off-by: Tom Rini Signed-off-by: Paul Mackerras commit 9eacee2ac624bfa9740d49355dbe6ee88d0cba0a Author: Michael S. Tsirkin Date: Thu Jan 12 15:55:41 2006 -0800 IB/mthca: Initialize grh_present before using it build_mlx_header() was using sqp->ud_header.grh_present before it was initialized by mthca_read_ah(). Furthermore, header->grh_present is set by ib_ud_header_init, so there's no need to set it again in mthca_read_ah(). Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c063a06835d3ccfa6c039d3a3869fcf22249c862 Author: Michael S. Tsirkin Date: Thu Jan 12 15:43:58 2006 -0800 IB/mthca: Cosmetic: use the ALIGN macro Use the ALIGN macro to simplify some rounding code. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 17e2e819517d75f2f3407e59c5f7f6f0ef305d14 Author: Jack Morgenstein Date: Thu Jan 12 15:35:15 2006 -0800 IB/mthca: Fix memory leaks in error handling Fix memory leaks in mthca_create_qp() and mthca_create_srq() error handling. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 59f174faffd5dfee709fa0ead320cc6daf827e93 Author: Ishai Rabinovitz Date: Thu Jan 12 15:24:51 2006 -0800 IB/mthca: Fix memory leak of multicast group structures Convert "/ (1 << lg)" to ">> lg" for a slight code size reduction. add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-24 (-24) function old new delta mthca_map_cmd 613 589 -24 Signed-off-by: Ishai Rabinovitz Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 988bd50300ef2e2d5cb8563e2ac99453dd9acd86 Author: Eli Cohen Date: Thu Jan 12 14:32:20 2006 -0800 IPoIB: Fix memory leak of multicast group structures The current handling of multicast groups in IPoIB ends up never freeing send-only multicast groups. It turns out the logic was much more complicated than it needed to be; we can fix this bug and completely kill ipoib_mcast_dev_down() at the same time. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2e4e6a17af35be359cc8f1c924f8f198fbd478cc Author: Harald Welte Date: Thu Jan 12 13:30:04 2006 -0800 [NETFILTER] x_tables: Abstraction layer for {ip,ip6,arp}_tables This monster-patch tries to do the best job for unifying the data structures and backend interfaces for the three evil clones ip_tables, ip6_tables and arp_tables. In an ideal world we would never have allowed this kind of copy+paste programming... but well, our world isn't (yet?) ideal. o introduce a new x_tables module o {ip,arp,ip6}_tables depend on this x_tables module o registration functions for tables, matches and targets are only wrappers around x_tables provided functions o all matches/targets that are used from ip_tables and ip6_tables are now implemented as xt_FOOBAR.c files and provide module aliases to ipt_FOOBAR and ip6t_FOOBAR o header files for xt_matches are in include/linux/netfilter/, include/linux/netfilter_{ipv4,ipv6} contains compatibility wrappers around the xt_FOOBAR.h headers Based on this patchset we're going to further unify the code, gradually getting rid of all the layer 3 specific assumptions. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 880b005f294454d989783d0984dc554dfe3c8214 Author: David S. Miller Date: Thu Jan 12 13:22:32 2006 -0800 [TIPC]: Fix 64-bit build warnings. When storing u32 values in a pointer, need to do some long casts to keep GCC happy. Signed-off-by: David S. Miller commit e86eaa3abc285a988524d95e867285aad5d026a7 Author: Per Liden Date: Thu Jan 12 16:45:18 2006 +0100 [TIPC] Added entry for TIPC in MAINTAINERS Signed-off-by: Per Liden commit 593a5f22d8035b1396a958b6bbde9f13c0f09549 Author: Per Liden Date: Wed Jan 11 19:14:19 2006 +0100 [TIPC] More updates of file headers Updated copyright notice to include the year the file was actually created. Information about file creation dates was extracted from the files in the old CVS repository at tipc.sourceforge.net. Signed-off-by: Per Liden commit 9da1c8b694f8e72a16f259614caaae50cbcdaf10 Author: Per Liden Date: Wed Jan 11 18:40:41 2006 +0100 [TIPC] Update of file headers The copyright statements from different parts of Ericsson have been merged into one. Signed-off-by: Per Liden commit d0a14a9dbdf613d9307c4b748b03a11678fe8d16 Author: Per Liden Date: Wed Jan 11 13:52:51 2006 +0100 [TIPC] Cleaned up info/warn/err macros Signed-off-by: Per Liden commit 9ea1fd3c1a15c620d1e3d0aa269d34b705477003 Author: Per Liden Date: Wed Jan 11 13:30:43 2006 +0100 [TIPC] License header update The license header in each file now more clearly state that this code is licensed under a dual BSD/GPL. Before this was only evident if you looked at the MODULE_LICENSE line in core.c. Signed-off-by: Per Liden commit ea714ccda5d5858ee677a77cf33dbaf34a0060c3 Author: Per Liden Date: Wed Jan 11 12:28:47 2006 +0100 [TIPC] Moved configuration interface into tipc_config.h Restored the old tipc_config.h to get a cleaner division between the interfaces used by normal TIPC users and TIPC administration utilities. Signed-off-by: Per Liden commit b70e4f45a8d8125e4f420c62e71688b8a766689a Author: Jon Maloy Date: Tue Jan 10 18:54:24 2006 +0000 [TIPC} Fixed bug in disc_timeout() Signed-off-by: Jon Maloy commit 1dba9743337cabacea79e47ed6d709e636c5ed47 Author: Per Liden Date: Thu Jan 5 16:34:00 2006 +0100 [TIPC] Use dynamically allocated family id with NETLINK_GENERIC Signed-off-by: Per Liden commit b97bf3fd8f6a16966d4f18983b2c40993ff937d4 Author: Per Liden Date: Mon Jan 2 19:04:38 2006 +0100 [TIPC] Initial merge TIPC (Transparent Inter Process Communication) is a protocol designed for intra cluster communication. For more information see http://tipc.sourceforge.net Signed-off-by: Per Liden commit 9f3f46b5fe83a56d380d4006dd2cd906bc186f91 Author: John W. Linville Date: Fri Dec 9 10:36:09 2005 -0500 [PATCH] via-velocity: use NETIF_F_IP_CSUM (hardware only support IPv4) At least some versions of the via-velocity hardware only support checksumming IPv4 frames in hardware. However, the driver is currently setting the NETIF_F_HW_CSUM flag, which indicates support for more than just IPv4. This results in errors when trying to use IPv6 over via-velocity hardware. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit c9fa7d5d6cec7a45f9dc6c2f23500af50d5617c9 Author: Johannes Berg Date: Tue Dec 27 02:14:13 2005 +0100 [PATCH] fix wrong comments in ieee80211.h The comments in ieee80211.h claim that one doesn't need to set the len parameter of the stats struct. But if one doesn't, the management frames are read far over the memory they actually occupy causing badness. Signed-Off-By: Johannes Berg Signed-off-by: Jeff Garzik commit 5af47b2ff124fdad9ba84baeb9f7eeebeb227b43 Author: Jay Vosburgh Date: Mon Jan 9 12:14:00 2006 -0800 [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c I believe I see the race Michael refers to (tlb_choose_channel may set head, which tlb_init_slave clears), although I was not able to reproduce it. I have updated his patch for the current netdev-2.6.git tree and added a version update. His original comment follows: Our systems have been crashing during testing of PCI HotPlug support in the various networking components. We've faulted in the bonding driver due to a bug in bond_alb.c:tlb_clear_slave() In that routine, the last modification to the TLB hash table is made without protection of the lock, allowing a race that can lead tlb_choose_channel() to select an invalid table element. -J Signed-off-by: Jeff Garzik commit 9a6301c114aaab1df6de6fad9899bb89852a7592 Author: Dan Williams Date: Tue Jan 10 00:56:11 2006 -0500 [PATCH] wireless/atmel: add IWENCODEEXT, IWAUTH, and association event support This patch allows the Atmel driver to work correctly with wpa_supplicant and other programs that require some conformance with WEXT-18. It should not affect current behavior of the driver. The patch does four things: 1) Implements SIOCSIWENCODEEXT, SIOCGIWENCODEEXT, SIOCSIWAUTH, and SIOCGIWAUTH calls for unencrypted and WEP operation 2) Accepts zero-filled addresses for SIOCSIWAP, which are legal and should turn off any previous forced WAP address 3) Sends association and de-association events to userspace at most of the appropriate times 4) Fixes erroneous order of CIPHER_SUITE_WEP_* arguments in one location which are actually unused anyway Signed-off-by: Dan Williams Signed-off-by: Jeff Garzik commit c213460fd4781c04832c81416532d64ae2bfa88b Author: Eric Sesterhenn / snakebyte Date: Tue Jan 10 13:16:03 2006 +0100 [PATCH] replace MODULE_PARM in tulip/uli526x.c Replace the MODULE_PARM usage in uli526x.c with module_param. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 4d3248a29cb78b31bb0520eb99b4be620e810a40 Author: Kumar Gala Date: Wed Jan 11 11:27:33 2006 -0800 [PATCH] gianfar: Use new PHY_ID_FMT macro Make the driver produce the string used by phy_connect and have board specific code pass the integer mii bus id and phy device id for the specific controller instance. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a4d00f179fcec7065fe5742e9cebd6500886070f Author: Kumar Gala Date: Wed Jan 11 11:27:33 2006 -0800 [PATCH] phy: Added a macro to represent the string format used to match a phy device Add the PHY_ID_FMT macro to ensure that the format of the id string used by a driver to match to its specific phy is consistent between the mdio_bus and the driver. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 1d5326774c9245fef77334a9e0f11cd4f8aa7b4e Author: Kumar Gala Date: Wed Jan 11 11:27:32 2006 -0800 [PATCH] gianfar mii: Use proper resource for MII memory region We can now have the gianfar mii platform device have a proper resource for the IO memory region for its registers. Previously we passed this information that the platform_data structure because we couldn't handle overlapping memory regions for platform devices. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 9c07b884b92c80e9d660b7b9282631fb626451e2 Author: Kumar Gala Date: Wed Jan 11 11:26:25 2006 -0800 [PATCH] gfar: fix compile error Missing include of to get definition of IPPROTO_UDP. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 9ad8b9d1520db4d317d791eeb8d6e47c366be82c Author: dann frazier Date: Wed Jan 11 11:26:24 2006 -0800 [PATCH] CONFIG_AIRO needs CONFIG_CRYPTO airo.c currently has MICSUPPORT enabled, which requires CONFIG_CRYPTO. A user reported a build failure which is due to the lack of a Kconfig dependency. See http://bugs.debian.org/344205. This patch makes Kconfig enforce this dependency. Signed-off-by: dann frazier Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit ac7c66698a2c51e4c6a34b84621c79e7cb89e07d Author: ODonnell, Michael Date: Wed Jan 11 11:26:22 2006 -0800 [PATCH] corruption during e100 MDI register access We have identified two related bugs in the e100 driver. Both bugs are related to manipulation of the MDI control register. The first problem is that the Ready bit is being ignored when writing to the Control register; we noticed this because the Linux bonding driver would occasionally come to the spurious conclusion that the link was down when querying Link State. It turned out that by failing to wait for a previous command to complete it was selecting what was essentially a random register in the MDI register set. When we added code that waits for the Ready bit (as shown in the patch file below) all such problems ceased. The second problem is that, although access to the MDI registers involves multiple steps which must not be intermixed, nothing was defending against two or more threads attempting simultaneous access. The most obvious situation where such interference could occur involves the watchdog versus ioctl paths, but there are probably others, so we recommend the locking shown in our patch file. Signed-off-by: Michael O'Donnell Cc: "David S. Miller" Cc: Jeff Garzik Cc: John Ronciak Cc: Ganesh Venkatesan Cc: Jesse Brandeburg Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 745caf71d99c5d4ff4c9e4c0f74e64c429fed531 Author: Petr Vandrovec Date: Wed Jan 11 11:31:07 2006 -0800 [SCSI] Pass proper device from BusLogic to SCSI layer While trying to get SUSE's SLES9 working on system with more than 4GB we've noticed that SCSI layer happilly passes addresses over 4GB to the buslogic driver, which is quite a big problem as buslogic can generate only 32bit busmastering cycles. Fortunately in the current kernels this problem does not exist anymore as SCSI layer now assumes 4GB capable device by default, but it is still good idea to pass correct device structure to the SCSI layer. If nothing else, /sys/block/sda/device now points to /sys/devices/pci0000:00/0000:00:10.0/host0/... instead of /sys/devices/platform/host0/... like it did in the past. Change does nothing for ISA based BusLogic adapters, they'll still end under platform (and they are probably broken for long time as I do not see anything forcing ISA 16MB limit for them). Signed-off-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ba027def7be0d6494b72603d5758acc0fb1c7514 Author: Jens Axboe Date: Thu Jan 12 20:44:12 2006 +0100 [PATCH] Revert ide softirq handling There's a problem with the REQ_BLOCK_PC handling as well (bad ->data_len handling) where it could actually complete a request ahead of time. I suggest we just back this out for now, I will resubmit it later when I'm fully confident in it. This reverts commit 8672d57138b34447719cd7749f3d21070e1175a1 Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit f392ecfa12de9a2baf72789b00557bac040d6171 Author: Arjan van de Ven Date: Thu Jan 12 18:44:32 2006 +0000 [SERIAL] turn serial semaphores into mutexes Turn several drivers/serial/ semaphores-used-as-mutex into mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit a621aaed690b9439141c555941b6af53873f6ff1 Author: Arjan van de Ven Date: Thu Jan 12 18:43:35 2006 +0000 [MMC+MFD] Convert mmc to mutexes convert mfd and mmc to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit 00431707be0cc1236ee08459367872b57da5be29 Author: Arjan van de Ven Date: Thu Jan 12 18:42:23 2006 +0000 [ARM] Convert some arm semaphores to mutexes The arm clock semaphores are strict mutexes, convert them to the new mutex implementation Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit cd2f1e6980157638f66f427d577a1c368fd4dc12 Author: James Bottomley Date: Thu Jan 12 12:07:13 2006 -0600 [SCSI] aic79xx: bump version to 3.0 This takes us past the old 1.x version of the SCSI driver and the 2.x version of the aic website version to reflect the full incorporation of both branches. Signed-off-by: James Bottomley commit 11668bb673c41ec169a85d0b52c538a1c11d29e1 Author: Hannes Reinecke Date: Thu Jan 12 12:08:06 2006 +0100 [SCSI] aic79xx: Sequencer update Update sequencer code to Adaptec version 2.0.12-6.3.9. Signed-off-by: James Bottomley commit ba62cd2d01e401faa5d5a25fa8e990d0b1a1996a Author: Hannes Reinecke Date: Thu Jan 12 12:07:02 2006 +0100 [SCSI] aic79xx: Sanitize inb/outb handling This patch coalesces inb/outb calls to the approriate word or long form. Signed-off-by: James Bottomley commit 66a0683e4620f087e41e79d4d2be6c5a06bb206b Author: Hannes Reinecke Date: Thu Jan 12 12:05:46 2006 +0100 [SCSI] aic79xx: Use struct map_node Use struct map_node instead of separate variables. Signed-off-by: James Bottomley commit 5e46631b04382ef14255467288052f29cb77daeb Author: Hannes Reinecke Date: Thu Jan 12 12:04:28 2006 +0100 [SCSI] aic7xxx/aic79xx: New device ids Signed-off-by: James Bottomley commit bcc1e382bce8de4f26182c6447916f9c82b0fbe5 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Wed Jan 11 23:58:40 2006 -0500 [SCSI] Mask capabilities for SCSI-1 CD drive SCSI-1 CD drives can't do MRW or be opened for writing, so mask off those capabilities. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Jens Axboe Signed-off-by: James Bottomley commit 6171b5eff2ef3f84333af652e8c7b0838bf72945 Author: Mark Haverkamp Date: Wed Jan 11 09:28:57 2006 -0800 [SCSI] aacraid: README update Received From Mark Salyzyn. Move the README from the driver directory to the Documentation directory. Updated the documentation, added descriptions for cards that were missing. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit db39363c029cd9e74661ef059a17785d1c62a851 Author: Mark Haverkamp Date: Wed Jan 11 09:28:29 2006 -0800 [SCSI] aacraid: 17 element sg performance update Received From Mark Salyzyn. The Jaguar and Corsair class of adapters (2410, 2810, 2610, 21610, CERC) perform better (about 10% better read performance, write performance neutral) with current Firmware if the OS limits the number of scatter gather elements to 17 per request. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 7686f132653fa3d52d45c3f021215f714094f1ca Author: Mark Haverkamp Date: Wed Jan 11 09:28:16 2006 -0800 [SCSI] aacraid: better sysfs adapter information Received from Mark Salyzyn. Provide more accurate adapter information. Allows the Adapter Firmware to override the Adapter product information. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 6e289a9023d589c24f86b29186d324215cdc9947 Author: Mark Haverkamp Date: Wed Jan 11 09:28:07 2006 -0800 [SCSI] aacraid: Fix default FIB size Received from Mark Salyzyn. If the adapter has not instructed us otherwise that it can handle a 'large' FIB, then it can handle at most a 2KB FIB. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 33b114e935a2202206e224dd2c695cee5a5986bf Author: Christoph Hellwig Date: Wed Jan 11 14:20:43 2006 +0100 [SCSI] sas: clear parent->rphy in sas_rphy_delete We need to clear the backpointer on rphy removal, else we'll run into problems with host removal after a device has been hot unplugged. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 0b9506723826c68b50fa33e345700ddcac1bed36 Author: Arjan van de Ven Date: Wed Jan 11 13:16:10 2006 +0100 [SCSI] turn most scsi semaphores into mutexes the scsi layer is using semaphores in a mutex way, this patch converts these into using mutexes instead Signed-off-by: Arjan van de Ven Signed-off-by: James Bottomley commit dacee84b070c4e705a5b6446f1f0a6a6e2f8d7a4 Author: James Bottomley Date: Tue Jan 10 12:11:42 2006 -0600 [SCSI] aic7xxx: fix timer handling bug The driver is doing a rather stupid mod_timer allegedly to "give request sense more time to complete". This is illegal and pointless, so just eliminate it. Also eliminate all the other uses of struct timer_list in the driver, which are mostly bogus. Signed-off-by: James Bottomley commit db1019ca0548b263989bc98900eaf15107e533ad Author: Dominik Brodowski Date: Tue Jan 10 19:19:37 2006 +0100 [PATCH] pcmcia: runtime powermanagement interface With the "power/state" sysfs interface being deprecated, make another one available which is compatible to what was discussed on the linux PM mailinglist. Signed-off-by: Dominik Brodowski commit f542ff6dd1a444c85cc245ac40aef5f703e48674 Author: Dominik Brodowski Date: Tue Jan 10 19:06:33 2006 +0100 [PATCH] pcmcia: add new IDs for serial_cs.c Add IDs for Sierra Aircard 55 CDMA 1xrtt Modem -- a CIS update is required for this card. Signed-off-by: Dominik Brodowski commit 8e0df4a757db82a571f3a179108b62d09258eaf2 Author: Andrew Vasquez Date: Mon Jan 9 10:17:40 2006 -0800 [SCSI] qla2xxx: Kconfig: two fixes Original From: Adrian Bunk Here's a composite patch with Adrian's original additions and help-text with the new Kconfig variable SCSI_QLA_FC. Signed-off-by: James Bottomley commit 455c53ec61a6c96d7b21b72ad1fa26ac89824e8e Author: Adrian Bunk Date: Fri Jan 6 20:21:28 2006 +0100 [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static Signed-off-by: Adrian Bunk Acked-by: James Smart Signed-off-by: James Bottomley commit bdd70f2cebce0f5172350aab37c057c3b66494ac Author: Adrian Bunk Date: Thu Jan 5 23:39:18 2006 +0100 [SCSI] scsi_transport_spi.c: make print_nego() static Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 8e32ca49ef2eb5bfec1444b5e731cc2d35111519 Author: Moore, Eric Date: Wed Jan 4 14:58:43 2006 -0700 [SCSI] raid_class.c - adding RAID10 and RAID10 defines Adding defines for RAID10 and RAID50 levels, in preparation of adding RAID Transport support in the mpt fusion drivers. (BTW: IME is RAID10, and IM is RAID1). Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f4619025a51747a3788fd1bb6bdc46e368a889a7 Author: Russell King Date: Thu Jan 12 17:17:57 2006 +0000 [ARM] Allow r2 to be passed through the decompressor to the kernel This is part of a patch from Marc Singer to allow r2 to be passed to the kernel. Marc's original comments follow: This revised R2 (atags pointer) patch incorporates comments from Nico Pitre and Ben Dooks. It modifies the head.S files such that the R2 value set by the bootloader is conveyed to the kernel startup code. The kernel head.S heuristically validates the pointer. It will set R2 to zero if it believes the pointer is invalid. Presently, it requires that the ATAGS list reside in the first 16KiB of physical RAM. Relaxing this contraint may be both desirable as well as tricky. Signed-off-by: Marc Singer Signed-off-by: Russell King commit a2d823bf13efea4c859376f6e85c49cfbad7ab60 Author: Al Viro Date: Thu Jan 12 01:06:40 2006 -0800 [PATCH] m68k: console code in head.S needs framebuffer support built in Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c9757b7c28161e073e7f408978b7ed01925924c Author: Al Viro Date: Thu Jan 12 01:06:40 2006 -0800 [PATCH] m68k: fix PIO case in esp we always set ->SCp.ptr to physical address of buffer; for DMA that's just what we need, but we end up using it as virtual address in PIO case of esp_do_data(), with obvious breakage as soon as memory mapping becomes non-trivial. The fix is obvious. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed1705afb93409a3e345d653be9d263984aa5c1b Author: Al Viro Date: Thu Jan 12 01:06:39 2006 -0800 [PATCH] m68k: fix macfb init To be used by module_init() function should return int; same for functions that have "return -ENODEV;" in them, actually ;-) Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54a5a6eb5842d68fe0aaa60d50fdea532c19770b Author: Al Viro Date: Thu Jan 12 01:06:38 2006 -0800 [PATCH] m68k: fix reference to init_task in vmlinux-sun3.lds it's *(.data.init_task), not init_task... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a763be5c1aace94cf4adfc5ea164f5b0d2d255cd Author: Al Viro Date: Thu Jan 12 01:06:37 2006 -0800 [PATCH] m68k: fix use of void foo(void) asm("bar") in traps.c with gcc4 these have file scope, so having them different in different blocks doesn't work anymore Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 639074354bb371feb2dde409b2ce05d56afef02b Author: Al Viro Date: Thu Jan 12 01:06:36 2006 -0800 [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c79358b874af31430cf8d26540ae7b8713505f6 Author: Al Viro Date: Thu Jan 12 01:06:35 2006 -0800 [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup Signed-off-by: Kars de Jong Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35efbcabdc217f2b3a73bf3b895559e8f269e258 Author: Al Viro Date: Thu Jan 12 01:06:34 2006 -0800 [PATCH] m68k: cast in strnlen switched to unsigned long Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5d361fc24b75ea51e219367ee32c64422a2134f Author: Al Viro Date: Thu Jan 12 01:06:34 2006 -0800 [PATCH] m68k: NULL noise removal Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 031eb4cddec7a4825212ece47de4bd64cd8e0bee Author: Al Viro Date: Thu Jan 12 01:06:33 2006 -0800 [PATCH] m68k: dmasound __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d998265feb7cbcf74e27e3057dac309dcad47bf7 Author: Al Viro Date: Thu Jan 12 01:06:32 2006 -0800 [PATCH] m68k: zorro __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3728d254def75837bf57aa4f897ba4f3a3e82d0b Author: Al Viro Date: Thu Jan 12 01:06:31 2006 -0800 [PATCH] m68k: amifb __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d85f6891aa143bed92590e10e210e7e102bbb2a1 Author: Al Viro Date: Thu Jan 12 01:06:31 2006 -0800 [PATCH] m68k: dsp56k __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab14caec7a5f0d9569c8a9dd2ad62e89b220c968 Author: Al Viro Date: Thu Jan 12 01:06:30 2006 -0800 [PATCH] m68k: amiserial __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c7af51129161a7a3dc4169c984964912f1f4822 Author: Al Viro Date: Thu Jan 12 01:06:29 2006 -0800 [PATCH] m68k: ataflop __user annotations, NULL noise removal Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a423e542b4a9af45ac0106ab8275760af770793 Author: Al Viro Date: Thu Jan 12 01:06:28 2006 -0800 [PATCH] m68k: amiflop __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6225d85f171f8b7a776850d30352bd196f9bd0d6 Author: Al Viro Date: Thu Jan 12 01:06:28 2006 -0800 [PATCH] m68k: checksum __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 350c20a6fd24b2a3265f7ca440aa17570e89e2cd Author: Al Viro Date: Thu Jan 12 01:06:27 2006 -0800 [PATCH] m68k: syscalls __user annotation Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b7bb54a417ca73eefc52df3702ff5167b46dc89 Author: Al Viro Date: Thu Jan 12 01:06:26 2006 -0800 [PATCH] m68k: rtc __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2382f77ffcde32e5195d5c82fee91171bb764c1a Author: Al Viro Date: Thu Jan 12 01:06:25 2006 -0800 [PATCH] m68k: signal __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11c40f8a6ac8bd057043b1f9e7c9490c0e6149f3 Author: Al Viro Date: Thu Jan 12 01:06:24 2006 -0800 [PATCH] m68k: basic __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad9ec4f8de264903c6b5ba7ae8d8e96432188858 Author: Al Viro Date: Thu Jan 12 01:06:24 2006 -0800 [PATCH] m68k: basic iomem annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a4729118c8851bce709a00eba1b3a8f1fd9ed58 Author: Al Viro Date: Thu Jan 12 01:06:23 2006 -0800 [PATCH] m68k: compile fixes for dmasound (static vs. extern) sound/oss/dmasound/dmasound_atari.c has static expand_bal sound/oss/dmasound/dmasound_q40.c has static expand_bal sound/oss/dmasound/dmasound_awacs.c has non-static expand_bal sound/oss/dmasound/trans_16.c uses expand_bal from dmasound_awacs.c all 4 include dmasound.h; extern for expand_bal used to be there, which is a bloody bad idea, considering _atari and _q40. Moved the extern to trans_16.c. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3756513d5fdc7b4ba814419165afcd10c6b1618d Author: Al Viro Date: Thu Jan 12 01:06:22 2006 -0800 [PATCH] m68k: lvalues abuse in dmasound Cast is not an lvalue Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 815f597be444e5f9f5b4dbd65b862208d5253598 Author: Al Viro Date: Thu Jan 12 01:06:21 2006 -0800 [PATCH] m68k: dmasound_paula.c lvalues abuse (from m68k CVS) Avoid warnings about use of cast expressions as lvalues Signed-off-by: Roman Zippel Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09cc07a5c7996192cc19c79c8aac5a4a22528059 Author: Al Viro Date: Thu Jan 12 01:06:21 2006 -0800 [PATCH] m68k: lvalues abuse in mac8390 Cast is not an lvalue Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0efb71348249903c54e71f26927cfc94ba186dfb Author: Al Viro Date: Thu Jan 12 01:06:20 2006 -0800 [PATCH] m68k: bogus function argument types (sun3_pgtable.h) function arguments can't be inline, TYVM... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f2633388d64c0489516af04e0d4cd9f01397a94 Author: Al Viro Date: Thu Jan 12 01:06:19 2006 -0800 [PATCH] m68k: broken constraints on mulu.l Too permissive constraint on mulu.l - the first argument should not be an a-register. Fixed by replacing "g" with "dm"; with older gcc we got lucky and it had never attempted mulu.l %a0, %d1:%d0. These days it does, with predictable objections from as(1). Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77add9f3e6a486e5623f3e693ded216f155bd2a5 Author: Al Viro Date: Thu Jan 12 01:06:18 2006 -0800 [PATCH] m68k: memory input should be an lvalue (mac/misc.c) gcc4 is less forgiving and wants memory inputs to be real lvalues; variable added and value stored in it explicitly before doing __asm__. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84a65cc6c18848fcee9c9ae8766bb5c60787d21b Author: Al Viro Date: Thu Jan 12 01:06:17 2006 -0800 [PATCH] m68k: static vs. extern in amigaints.h extern declaration of static object removed from header Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ebf21ac7cefce035452f34971f6825641791015 Author: Al Viro Date: Thu Jan 12 01:06:17 2006 -0800 [PATCH] m68k: static vs. extern in sun3ints.h extern declaration of static object removed from header Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df87ac96140ef216e31b859868743d43732686de Author: Al Viro Date: Thu Jan 12 01:06:16 2006 -0800 [PATCH] m68k: static vs. extern in scc.h extern declaration before the static one Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa7e02fe3786b524dde18d24f0c5a718182c72a2 Author: Al Viro Date: Thu Jan 12 01:06:15 2006 -0800 [PATCH] m68k: isa_{type,sex} should be exported Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 641940611478df8b63f581310b9d51806dda3212 Author: Al Viro Date: Thu Jan 12 01:06:14 2006 -0800 [PATCH] m68k: oktagon makefile fix oktagon_esp is described as modular. However, drivers/scsi/Makefile doesn't handle it right - it's multi-object module, with one of the parts being built from .S. Current makefile tries to declare each part a module of its own; that not only wouldn't work (oktagon_io.o doesn't have the right parts for that), it actually doesn't even build since kbuild doesn't believe in single-object modules built from .S. Turned into proper multi-object module... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cef46b1f10ab67c2a00d866413b9e7e26aae9eed Author: Al Viro Date: Thu Jan 12 01:06:13 2006 -0800 [PATCH] m68k: dumb typo in atyfb Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3272244c2b1a8f13cec83c04b8245fa7fcb47a27 Author: Al Viro Date: Thu Jan 12 01:06:13 2006 -0800 [PATCH] m68k: switch mac/misc.c to direct use of appropriate cuda/pmu/maciisi requests kill ADBREQ_RAW use, replace adb_read_time(), etc. with per-type variants, eliminated remapping from pmu ones, fix the ifdefs (PMU->PMU68K) Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4290a23cfa9040e2f0de5ab57d6ea65abaf053b Author: Al Viro Date: Thu Jan 12 01:06:12 2006 -0800 [PATCH] m68k: namespace pollution fix (custom->amiga_custom) in amigahw.h custom renamed to amiga_custom, in drivers with few instances the same replacement, in the rest - #define custom amiga_custom in driver itself Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198a4101197797fd9cee40c17dc285dc84c5d745 Author: Al Viro Date: Thu Jan 12 01:06:11 2006 -0800 [PATCH] m68k: compile fix - updated vmlinux.lds to include LOCK_TEXT Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85b07cd1aa50aca8331e5dfe3b2ccb2eb391b183 Author: Al Viro Date: Thu Jan 12 01:06:10 2006 -0800 [PATCH] m68k: compile fix - hardirq checks were in wrong place move the sanity check for NR_IRQS being no more than 1< Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5a61d0c13db3522a996075bc1b1884a8af2ed37 Author: Al Viro Date: Thu Jan 12 01:06:09 2006 -0800 [PATCH] death of get_thread_info/put_thread_info {get,put}_thread_info() were introduced in 2.5.4 and never had been called by anything in the tree. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75bb07e788abb060cc93b6f4dc48a70a53c1406b Author: Al Viro Date: Thu Jan 12 01:06:08 2006 -0800 [PATCH] mips: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc8f6029cd51af1b148846a32e68d69013a5cc0f Author: Al Viro Date: Thu Jan 12 01:06:07 2006 -0800 [PATCH] mips: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40bc9c671a9f0a5189c07a2b4280aec9b40e30cd Author: Al Viro Date: Thu Jan 12 01:06:07 2006 -0800 [PATCH] mips: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6450578f32cdca587ae5f148e2118b2fcc36bb11 Author: Al Viro Date: Thu Jan 12 01:06:06 2006 -0800 [PATCH] ia64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab03591db110e8d195d381a68692eb37da981cdf Author: Al Viro Date: Thu Jan 12 01:06:05 2006 -0800 [PATCH] ia64: task_thread_info() on ia64 thread_info is at the constant offset from task_struct and stack is embedded into the same beast. Set __HAVE_THREAD_FUNCTIONS, made task_thread_info() just add a constant. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718d6114fcd894bf4d3527b9e206a1cbcaaae35d Author: Al Viro Date: Thu Jan 12 01:06:04 2006 -0800 [PATCH] cris: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 Author: Al Viro Date: Thu Jan 12 01:06:04 2006 -0800 [PATCH] cris: fix KSTK_EIP cris KSTK_EIP looked for pt_regs at the right offset but from the wrong place - forgotten ->thread_info Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3 Author: Al Viro Date: Thu Jan 12 01:06:03 2006 -0800 [PATCH] cris: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cec6fd1370807f98934e84c9e6147335b81d8a5 Author: Al Viro Date: Thu Jan 12 01:06:02 2006 -0800 [PATCH] powerpc: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec Author: Al Viro Date: Thu Jan 12 01:06:01 2006 -0800 [PATCH] powerpc: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee8c1dd44305cca9d0ded248de991f67b55ec622 Author: Al Viro Date: Thu Jan 12 01:06:01 2006 -0800 [PATCH] sh64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fdf0d7a2012e560fee738bfd7f2af26faeb3a39 Author: Al Viro Date: Thu Jan 12 01:06:00 2006 -0800 [PATCH] arm26: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02ef691f6ce4097da5617ebf59493487cb2b4f82 Author: Al Viro Date: Thu Jan 12 01:05:59 2006 -0800 [PATCH] arm26: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 697102cda5c5e778d0bc3b4b9f8d935f4fe64125 Author: Al Viro Date: Thu Jan 12 01:05:59 2006 -0800 [PATCH] arm26: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32d39a9355780bc9aadcf76a2d2004bdbe0f4665 Author: Al Viro Date: Thu Jan 12 01:05:58 2006 -0800 [PATCH] arm: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 552058239238342dfd2fa8d33a299a162b1a4f05 Author: Al Viro Date: Thu Jan 12 01:05:57 2006 -0800 [PATCH] arm: end_of_stack() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac Author: Al Viro Date: Thu Jan 12 01:05:57 2006 -0800 [PATCH] arm: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c1b32fd354c34c4dceb1736a485bc5d91f7c43 Author: Al Viro Date: Thu Jan 12 01:05:56 2006 -0800 [PATCH] arm: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68f8b1f8f113fcbc8d8e835f174b97cdaf96af20 Author: Al Viro Date: Thu Jan 12 01:05:55 2006 -0800 [PATCH] h8300: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40f1f0deaff90b78b81dbba109bfa1cef241ec16 Author: Al Viro Date: Thu Jan 12 01:05:55 2006 -0800 [PATCH] parisc: task_stack_page(), task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 513091ba7e4a8b498632d7913ff9408ebbca6235 Author: Al Viro Date: Thu Jan 12 01:05:54 2006 -0800 [PATCH] m68knommu: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 768595ffba46b101ad54d8775e640fecbe470d9a Author: Al Viro Date: Thu Jan 12 01:05:53 2006 -0800 [PATCH] m68k: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097cb338c72b4916d8221278caba63d74d9f19d6 Author: Al Viro Date: Thu Jan 12 01:05:53 2006 -0800 [PATCH] frv: task_thread_info(), task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c3559fc458e3ed171d7a8bf6a6d7eaea1e7b2e5 Author: Al Viro Date: Thu Jan 12 01:05:52 2006 -0800 [PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7f6961d83d480c8636543d1d0dbb9584b878a68 Author: Al Viro Date: Thu Jan 12 01:05:51 2006 -0800 [PATCH] v850: task_stack_page(), task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04fe6faf10c310480151667e7fe3e06df4208a8e Author: Al Viro Date: Thu Jan 12 01:05:50 2006 -0800 [PATCH] xtensa: task_pt_regs(), task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30af7120fe6cfa8cf9ccd0626474fa1cd6d2bd59 Author: Al Viro Date: Thu Jan 12 01:05:50 2006 -0800 [PATCH] s390: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7584fb6b46a71a1aba5e06dc3cc54ce10f0129e Author: Al Viro Date: Thu Jan 12 01:05:49 2006 -0800 [PATCH] s390: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 579b3ea5916d60ade1e04d2a49637e5cbba67eac Author: Al Viro Date: Thu Jan 12 01:05:48 2006 -0800 [PATCH] uml: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8 Author: Al Viro Date: Thu Jan 12 01:05:48 2006 -0800 [PATCH] uml: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36483c6b5e6cc8f29fbe5203caa7e0b836802747 Author: Al Viro Date: Thu Jan 12 01:05:47 2006 -0800 [PATCH] sparc: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd Author: Al Viro Date: Thu Jan 12 01:05:46 2006 -0800 [PATCH] sparc: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 308a792f7c563a7af6e325274c63812f98988d6f Author: Al Viro Date: Thu Jan 12 01:05:45 2006 -0800 [PATCH] sh: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8 Author: Al Viro Date: Thu Jan 12 01:05:45 2006 -0800 [PATCH] sh: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf0f4ece9f1680e54b154b1e38baaf6ace20a62 Author: Al Viro Date: Thu Jan 12 01:05:44 2006 -0800 [PATCH] sh: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26ecbdea4bf46b0165db4aafd8e4981b4db53936 Author: Al Viro Date: Thu Jan 12 01:05:43 2006 -0800 [PATCH] sparc64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee3eea165e706a3ce8a53693e810403f65239ebb Author: Al Viro Date: Thu Jan 12 01:05:43 2006 -0800 [PATCH] sparc64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3169641c12d2c5abdab863f5393a3f3534788dd Author: Al Viro Date: Thu Jan 12 01:05:42 2006 -0800 [PATCH] sparc64: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65e0fdffc977e69a8f1f26d4bf8ba30984db7e44 Author: Al Viro Date: Thu Jan 12 01:05:41 2006 -0800 [PATCH] i386: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07b047fc2466249aff7cdb23fa0b0955a7a00d48 Author: akpm@osdl.org Date: Thu Jan 12 01:05:41 2006 -0800 [PATCH] i386: fix task_pt_regs() ) From: Al Viro task_pt_regs() needs the same offset-by-8 to match copy_thread() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06b425d80f56280e698b3e8487c372e0d39d9ba1 Author: Al Viro Date: Thu Jan 12 01:05:40 2006 -0800 [PATCH] i386: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57eafdc22c8e788859b67c2c7ac4d636716603a5 Author: Al Viro Date: Thu Jan 12 01:05:39 2006 -0800 [PATCH] amd64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb049232fa8fe08c90b182f378eed5017da5235c Author: Al Viro Date: Thu Jan 12 01:05:38 2006 -0800 [PATCH] amd64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4f17c436f8e4241995c2531372be8dd7ea6ff75 Author: Al Viro Date: Thu Jan 12 01:05:38 2006 -0800 [PATCH] amd64: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e52f4ca2a7cfea3495cabae23d48f1538f09ccf2 Author: akpm@osdl.org Date: Thu Jan 12 01:05:37 2006 -0800 [PATCH] alpha: task_pt_regs() ) From: Al Viro rename alpha_task_regs() to task_pt_regs(), switch open-coded instances to use of the helper. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27f451304aa6f2bccf34ef3c2b049c01d05d6fff Author: Al Viro Date: Thu Jan 12 01:05:36 2006 -0800 [PATCH] alpha: task_stack_page() use task_stack_page() for accesses to stack page of task in alpha-specific parts of tree Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8 Author: Al Viro Date: Thu Jan 12 01:05:36 2006 -0800 [PATCH] alpha: task_thread_info() use task_thread_info() for accesses to thread_info of task in arch/alpha and include/asm-alpha Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fc658763bf992e778243ebe898b03746151ab88 Author: Al Viro Date: Thu Jan 12 01:05:34 2006 -0800 [PATCH] missing helper - task_stack_page() Patchset annotates arch/* uses of ->thread_info. Ones that really are about access of thread_info of given process are simply switched to task_thread_info(task); ones that deal with access to objects on stack are switched to new helper - task_stack_page(). A _lot_ of the latter are actually open-coded instances of "find where pt_regs are"; those are consolidated into task_pt_regs(task) (many architectures actually have such helper already). Note that these annotations are not mandatory - any code not converted to these helpers still works. However, they clean up a lot of places and have actually caught a number of bugs, so converting out of tree ports would be a good idea... As an example of breakage caught by that stuff, see i386 pt_regs mess - we used to have it open-coded in a bunch of places and when back in April Stas had fixed a bug in copy_thread(), the rest had been left out of sync. That required two followup patches (the latest - just before 2.6.15) _and_ still had left /proc/*/stat eip field broken. Try ps -eo eip on i386 and watch the junk... This patch: new helper - task_stack_page(task). Returns pointer to the memory object containing task stack; usually thread_info of task sits in the beginning of that object. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7102e95b7b9c00277562c29aad421d2d521c5f6 Author: akpm@osdl.org Date: Thu Jan 12 01:05:32 2006 -0800 [PATCH] sched: filter affine wakeups ) From: Nick Piggin Track the last waker CPU, and only consider wakeup-balancing if there's a match between current waker CPU and the previous waker CPU. This ensures that there is some correlation between two subsequent wakeup events before we move the task. Should help random-wakeup workloads on large SMP systems, by reducing the migration attempts by a factor of nr_cpus. Signed-off-by: Ingo Molnar Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198e2f181163233b379dc7ce8a6d7516b84042e7 Author: akpm@osdl.org Date: Thu Jan 12 01:05:30 2006 -0800 [PATCH] scheduler cache-hot-autodetect ) From: Ingo Molnar This is the latest version of the scheduler cache-hot-auto-tune patch. The first problem was that detection time scaled with O(N^2), which is unacceptable on larger SMP and NUMA systems. To solve this: - I've added a 'domain distance' function, which is used to cache measurement results. Each distance is only measured once. This means that e.g. on NUMA distances of 0, 1 and 2 might be measured, on HT distances 0 and 1, and on SMP distance 0 is measured. The code walks the domain tree to determine the distance, so it automatically follows whatever hierarchy an architecture sets up. This cuts down on the boot time significantly and removes the O(N^2) limit. The only assumption is that migration costs can be expressed as a function of domain distance - this covers the overwhelming majority of existing systems, and is a good guess even for more assymetric systems. [ People hacking systems that have assymetries that break this assumption (e.g. different CPU speeds) should experiment a bit with the cpu_distance() function. Adding a ->migration_distance factor to the domain structure would be one possible solution - but lets first see the problem systems, if they exist at all. Lets not overdesign. ] Another problem was that only a single cache-size was used for measuring the cost of migration, and most architectures didnt set that variable up. Furthermore, a single cache-size does not fit NUMA hierarchies with L3 caches and does not fit HT setups, where different CPUs will often have different 'effective cache sizes'. To solve this problem: - Instead of relying on a single cache-size provided by the platform and sticking to it, the code now auto-detects the 'effective migration cost' between two measured CPUs, via iterating through a wide range of cachesizes. The code searches for the maximum migration cost, which occurs when the working set of the test-workload falls just below the 'effective cache size'. I.e. real-life optimized search is done for the maximum migration cost, between two real CPUs. This, amongst other things, has the positive effect hat if e.g. two CPUs share a L2/L3 cache, a different (and accurate) migration cost will be found than between two CPUs on the same system that dont share any caches. (The reliable measurement of migration costs is tricky - see the source for details.) Furthermore i've added various boot-time options to override/tune migration behavior. Firstly, there's a blanket override for autodetection: migration_cost=1000,2000,3000 will override the depth 0/1/2 values with 1msec/2msec/3msec values. Secondly, there's a global factor that can be used to increase (or decrease) the autodetected values: migration_factor=120 will increase the autodetected values by 20%. This option is useful to tune things in a workload-dependent way - e.g. if a workload is cache-insensitive then CPU utilization can be maximized by specifying migration_factor=0. I've tested the autodetection code quite extensively on x86, on 3 P3/Xeon/2MB, and the autodetected values look pretty good: Dual Celeron (128K L2 cache): --------------------- migration cost matrix (max_cache_size: 131072, cpu: 467 MHz): --------------------- [00] [01] [00]: - 1.7(1) [01]: 1.7(1) - --------------------- cacheflush times [2]: 0.0 (0) 1.7 (1784008) --------------------- Here the slow memory subsystem dominates system performance, and even though caches are small, the migration cost is 1.7 msecs. Dual HT P4 (512K L2 cache): --------------------- migration cost matrix (max_cache_size: 524288, cpu: 2379 MHz): --------------------- [00] [01] [02] [03] [00]: - 0.4(1) 0.0(0) 0.4(1) [01]: 0.4(1) - 0.4(1) 0.0(0) [02]: 0.0(0) 0.4(1) - 0.4(1) [03]: 0.4(1) 0.0(0) 0.4(1) - --------------------- cacheflush times [2]: 0.0 (33900) 0.4 (448514) --------------------- Here it can be seen that there is no migration cost between two HT siblings (CPU#0/2 and CPU#1/3 are separate physical CPUs). A fast memory system makes inter-physical-CPU migration pretty cheap: 0.4 msecs. 8-way P3/Xeon [2MB L2 cache]: --------------------- migration cost matrix (max_cache_size: 2097152, cpu: 700 MHz): --------------------- [00] [01] [02] [03] [04] [05] [06] [07] [00]: - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [01]: 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [02]: 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [03]: 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) [04]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) [05]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) [06]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) [07]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - --------------------- cacheflush times [2]: 0.0 (0) 19.2 (19281756) --------------------- This one has huge caches and a relatively slow memory subsystem - so the migration cost is 19 msecs. Signed-off-by: Ingo Molnar Signed-off-by: Ashok Raj Signed-off-by: Ken Chen Cc: Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dc7a0bbeb6882ad665e588e82fabe5bb4645f2f Author: Ingo Molnar Date: Thu Jan 12 01:05:27 2006 -0800 [PATCH] sched: add cacheflush() asm Add per-arch sched_cacheflush() which is a write-back cacheflush used by the migration-cost calibration code at bootup time. Signed-off-by: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6b44d10f25e5a93eca5135b686a35775c63546e Author: Andi Kleen Date: Thu Jan 12 01:05:26 2006 -0800 [PATCH] Implement ioctl emulation for the parport character device Fixes bugzilla.kernel.org bug 2903. Cc: Cc: Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbe8dd4af2967ee1c2d54ec9d4db35cf3ecc98d3 Author: Greg Ungerer Date: Thu Jan 12 01:05:24 2006 -0800 [PATCH] memmap_init_zone(): remove uneccesary page++ Remove unecessary page++ from memmap_init_zone loop. Signed-off-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1edf80d347387405ff4e8934d194d75f57a3caef Author: Neil Brown Date: Thu Jan 12 01:05:23 2006 -0800 [PATCH] md: remove slashes from disk names when creation dev names in sysfs e.g. The sx8 driver uses names like sx8/0. This would make a md component dev name like /sys/block/md0/md/dev-sx8/0 which is not allowed. So we change the '/' to '!' just like fs/partitions/check.c(register_disk) does. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a7e2f7dcb81279e73aefb691ea55ab3540e408a Author: Catalin Marinas Date: Thu Jan 12 01:05:21 2006 -0800 [PATCH] do_truncate() call fix in tiny-shmem.c Adapt tiny-shmem.c to the new do_truncate() prototype. Signed-off-by: Catalin Marinas Acked-by: Matt Mackall Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4598c8b3678abd65be3be00ed3d046375a4777e Author: Christoph Lameter Date: Thu Jan 12 01:05:20 2006 -0800 [PATCH] migration: make sure there is no attempt to migrate reserved pages. This ensures that reserved pages are not migrated. Reserved pages currently cause the WARN_ON to trigger in migrate_page_add() Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc691d357c646700b9523d2aeca02847d3fb3f4 Author: Tejun Heo Date: Thu Jan 12 15:39:26 2006 +0100 [PATCH] fix queue stalling while barrier sequencing If ordered tag isn't supported, request ordering for barrier sequencing is performed by queue draining, which basically hangs the request queue until elv_completed_request() reports completion of all previous fs requests. The condition check in elv_completed_request() was only performed for fs requests. If a special request is queued between the last to-be-drained request and the barrier sequence, draining is never completed and the queue is stalled forever. This patch moves the end-of-draining condition check such that it's performed for all requests. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 90303b102353302e84758f245906368907e6a23b Author: Catalin Marinas Date: Thu Jan 12 16:53:51 2006 +0000 [ARM] 3256/1: Make the function-returning ldm's use sp as the base register Patch from Catalin Marinas If the low interrupt latency mode is enabled for the CPU (from ARMv6 onwards), the ldm/stm instructions are no longer atomic. An ldm instruction restoring the sp and pc registers can be interrupted immediately after sp was updated but before the pc. If this happens, the CPU restores the base register to the value before the ldm instruction but if the base register is not sp, the interrupt routine will corrupt the stack and the restarted ldm instruction will load garbage. Note that future ARM cores might always run in the low interrupt latency mode. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit ece5f7b3c4fde70a1ae4add7372ebca5c90bc34d Author: Richard Purdie Date: Thu Jan 12 16:30:23 2006 +0000 [ARM] 3237/1: PXA I2C driver updates Patch from Richard Purdie This patch adds a check to see if the pxa i2c interface is enabled before allowing it to be used and resets it if found to be disabled. This automatically restores the interface if the device has been suspended and resumed without causing any suspend/resume call ordering issues. The patch also fixes a build warning and adds an appropriate module licence (the module is gpl according to the header). Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 6b090a25fe58067e4bf4515d5056df1f07b64849 Author: Catalin Marinas Date: Thu Jan 12 16:28:16 2006 +0000 [ARM] 3234/1: Update cpu_architecture() to deal with the new ID format Patch from Catalin Marinas Since ARM1176, the CPU ID format has changed and it will also be used for future ARM architectures. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 37134cd55d57e95d3f606c6f2a57fa496bdad333 Author: Kevin Hilman Date: Thu Jan 12 16:12:21 2006 +0000 [ARM] 3209/1: Configurable DMA-consistent memory region Patch from Kevin Hilman This patch increase available DMA-consistent memory allocated by dma_coherent_alloc(). The default remains at 2M (defined in asm/memory.h) and each platform has the ability to override in asm/arch-foo/memory.h. Signed-off-by: Kevin Hilman Signed-off-by: Russell King commit c9db4fa11526affde83603fe52595bd1260c1354 Author: Thomas Gleixner Date: Thu Jan 12 11:47:34 2006 +0100 [hrtimer] Enforce resolution as lower limit of intervals Roman Zippel pointed out that the missing lower limit of intervals leads to an accounting error in the overrun count. Enforce the lower limit of intervals to resolution in the timer forwarding code. Signed-off-by: Thomas Gleixner commit e2787630c1abb075c935cf47e91beb7c656f48c4 Author: Thomas Gleixner Date: Thu Jan 12 11:36:14 2006 +0100 [hrtimer] Change resolution storage to ktime_t format Change the storage format of the per base resolution to ktime_t to make it easier accessible in the hrtimers code. Change the resolution from (NSEC_PER_SEC/HZ) to TICK_NSEC as Roman pointed out. TICK_NSEC is closer to the real resolution. Signed-off-by: Thomas Gleixner commit 288867ec5c377db82933b64460ce050e5c998ee9 Author: Thomas Gleixner Date: Thu Jan 12 11:25:54 2006 +0100 [hrtimer] Remove listhead from hrtimer struct The list_head in the hrtimer structure was introduced for easy access to the first timer with the further extensions of real high resolution timers in mind, but it turned out in the course of development that it is not necessary for the standard use case. Remove the list head and access the first expiry timer by a datafield in the timer base. Signed-off-by: Thomas Gleixner commit 624cee31bcb14bfd85559fbec5dd7bb833542965 Author: Paul Mackerras Date: Thu Jan 12 21:22:34 2006 +1100 powerpc: make ARCH=ppc use arch/powerpc/kernel/process.c Commit 5388fb1025443ec223ba556b10efc4c5f83f8682 made signal_32.c use discard_lazy_cpu_state, which broke ARCH=ppc because that uses the common signal_32.c but has its own process.c. Make ARCH=ppc use the common process.c to fix this and to reduce the amount of duplicated code. Signed-off-by: Paul Mackerras commit 9c7d462eda13ca211b7b4a62f191f4cfda135e2d Author: Dave Airlie Date: Thu Jan 12 20:44:30 2006 +1100 drm: fix issues with systems with no MTRR On systems with no MTRR we should still define the interface. Original bug from apkm. Signed-off-by: Dave Airlie commit 8fce10a3c9ee7f9c74d83502fd5156a8ec82c21a Author: Arnd Bergmann Date: Wed Jan 11 23:07:11 2006 +0000 [PATCH] powerpc: cell namespace cleanup These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b0da985644faa45def84ce5d8e18af6f1680f490 Author: Arnd Bergmann Date: Wed Jan 11 00:00:05 2006 +0000 [PATCH] powerpc: xmon namespace cleanups These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ff38e7c80a92de91b34e483478d81eb3d1cf1b37 Author: Arnd Bergmann Date: Wed Jan 11 00:00:03 2006 +0000 [PATCH] powerpc: pmac namespace cleanup pmac_setup_arch is only used in the file that it is defined in, so it should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 8446196ade39befe68f60cfae49c43b94a1144fc Author: Arnd Bergmann Date: Wed Jan 11 00:00:02 2006 +0000 [PATCH] powerpc: pseries namespace cleanup These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b07dfab3e329955c218cd1d06efdb133c5c18ecd Author: Olof Johansson Date: Thu Jan 12 00:20:50 2006 -0600 [PATCH] powerpc: minor dart driver cleanup Rpn is assigned every time in the loop, no need to increase it too. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 9623b5d3d3d85bac47a83e0e2cf2a9998ade9bd3 Author: Stephen Rothwell Date: Thu Jan 12 14:18:28 2006 +1100 [PATCH] powerpc: small pci cleanups pcibios_claim_one_bus is not needed on iSeries and phbs_remap_io can be mode static. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9bd7ea60b1a0cf9fc745fd2eadb261e4c7719acd Author: Stephen Rothwell Date: Thu Jan 12 13:58:19 2006 +1100 [PATCH] powerpc: clean up iommu.h a bit There was a function declared for CONFIG_PSERIES which no longer exists and the two function declarations for CONFIG_ISERIES have been moved into an include file in platforms/iseries since they are defined and used only there. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ee2cdecec4dce8f7eb0d37a1bbf820cb32b2b75b Author: Stephen Rothwell Date: Thu Jan 12 13:54:20 2006 +1100 [PATCH] powerpc: iSeries fixes for build with no PCI This reverts part of "ppc64 iSeries: allow build with no PCI" (145d01e4287b8cbf50f87c3283e33bf5c84e8468) which affected generic code and applies a fix in the arch specific code. Commit "partly merge iseries do_IRQ" (5fee9b3b39eb55c7e3619a3b36ceeabffeb8f144) introduced iSeries_get_irq which was only available if CONFIG_PCI is set. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 511061049b2fab5ea684dfddcb8d2a38591391f3 Author: Stephen Rothwell Date: Thu Jan 12 13:51:42 2006 +1100 [PATCH] powercp: iSeries include file comment cleanups Mainly just removing file names from the comments. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit f9cb83ac1f6c3b794c2706e06546d8fecae60ba5 Author: Stephen Rothwell Date: Thu Jan 12 13:50:18 2006 +1100 [PATCH] powerpc: eliminate bitfields from ItLpNaca Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 677f8c0d0455a35aaff08a0292ba9c6232ef4eb1 Author: Stephen Rothwell Date: Thu Jan 12 13:47:43 2006 +1100 [PATCH] powerpc: remove bitfields from HvLpEvent Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 6814350b80e0e7dfb87d2faebbcbef876573897c Author: Stephen Rothwell Date: Thu Jan 12 13:48:52 2006 +1100 [PATCH] powerpc: remove bitfields from hv_call_event.h Also does some comment cleanups and removal of unnecessary variables. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit cbbcf3401173f11f7e4c03c7ec8955ea29cd83b5 Author: Kumar Gala Date: Wed Jan 11 17:57:13 2006 -0600 [PATCH] powerpc: Fixed memory reserve map layout powerpc: Fixed memory reserve map layout The memory reserve map is suppose to be a pair of 64-bit integers to represent each region. On ppc32 the code was treating the pair as two 32-bit integers. Additional the prom_init code was producing the wrong layout on ppc32. Added a simple check to try to provide backwards compatibility. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit ea183a957abea8e05530a4536a9c2db16e9fdd85 Author: Olof Johansson Date: Wed Jan 11 14:02:58 2006 -0600 [PATCH] powerpc: remove warning in EEH code Remove warning in eeh code about mixed variables and code. Signed-off-by: Olof Johansson Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 5388fb1025443ec223ba556b10efc4c5f83f8682 Author: Paul Mackerras Date: Wed Jan 11 22:11:39 2006 +1100 [PATCH] powerpc: Avoid potential FP corruption with preempt and UP Heikki Lindholm pointed out that there was a potential race with the lazy CPU state (FP, VR, EVR) stuff if preempt is enabled. The race is that in the process of restoring FP state on sigreturn, the task gets preempted by a user task that wants to use the FPU. It will take an FP unavailable exception, which will write the current FPU state to the thread_struct, overwriting the values which sigreturn has stored. Note that this can only happen on UP since we don't implement lazy CPU state on SMP. The fix is to flush the lazy CPU state before updating the thread_struct. To do this we re-use the flush_lazy_cpu_state() function from process.c. Signed-off-by: Paul Mackerras commit 983d5dbdb2b38d024935f560a91cddcf704875f3 Author: Vivek Goyal Date: Thu Jan 12 03:35:20 2006 +0100 [PATCH] x86_64: Fix SMP bootup with CONFIG_KDUMP enabled o This fix was posted for i386 long back. Posting it for x86_64. http://marc.theaimsgroup.com/?l=linux-kernel&m=110380103229830&w=2 o This patch fixes the problem of secondary cpus boot up. This situation is faced when kernel is built for default locations like 16MB and onwards. In this configuration, only primary cpu (BP) comes and secondary cpus don't boot. o Problem occurs because in trampoline code, lgdt is not able to load the GDT as it happens to be situated beyond 16MB. This is due to the fact that cpu is still in real mode and default operand size is 16bit. o This patch uses lgdtl instead of lgdt to force operand size to 32 instead of 16. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0d9cb75f2f41788a59bcd3dac30b264a4bebaf2e Author: Andi Kleen Date: Wed Jan 11 22:47:10 2006 +0100 [PATCH] x86_64: Don't confuse noapic with noapictimer Handling common prefixes is tricky. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 256ddb01ebdcb065f81487fff00be833192d8764 Author: Jan Beulich Date: Wed Jan 11 22:47:07 2006 +0100 [PATCH] x86_64: don't copy command line twice ... reducing the amount of changes Xen has to do. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2a2d5924c249e0f73aa00d617f8d5e242ea1430d Author: Jan Beulich Date: Wed Jan 11 22:47:03 2006 +0100 [PATCH] i386/x86-64: make setup_early_printk() usage consistent The explicit and implicit calls to setup_early_printk() were passing inconsistent arguments. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4092bdebab46235d69fcd68afc710cddad550892 Author: Andi Kleen Date: Wed Jan 11 22:47:00 2006 +0100 [PATCH] i386: Move DOUBLEFAULT config to arch/i386/Kconfig It has no business being elsewhere and x86-64 doesn't need/want it. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6c5acd160a10c76e8debf4f8fa8256d7c914f290 Author: Andi Kleen Date: Wed Jan 11 22:46:57 2006 +0100 [PATCH] x86_64: Allow kernel page tables upto the end of memory Previously they would be only allocated before the kernel text at 1MB. This limited the maximum supported memory to 128GB. Now allow the e820 allocator to put them everywhere. Try to put them beyond any DMA zones to avoid filling them up. This should free some GFP_DMA memory compared to earlier kernels. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0a9c3ee7692fa20670986bcf550950e88ab9b4cc Author: Andi Kleen Date: Wed Jan 11 22:46:54 2006 +0100 [PATCH] x86_64: Use safe_smp_processor_id in MCE handler hard_smp_processor_id would return the local APIC id instead of the Linux processor id. On big systems they are often not identical. safe_smp_processor_id is just a wrapper around it that does the necessary conversions. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 11a8e778c46ee76fc46b0a7fa9d455b5a8e3e19f Author: Andi Kleen Date: Wed Jan 11 22:46:51 2006 +0100 [PATCH] x86_64: Some housekeeping in local APIC code Remove support for obsolete hardware and cleanup. - Remove checks for non integrated APICs - Replace apic_write_around with apic_write. - Remove apic_read_around - Remove APIC version reads used by old workarounds - Remove old workaround for Simics - Fix indentation Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5f1d189f8a87930d62c507800a8ac20b9a185e41 Author: Jan Beulich Date: Wed Jan 11 22:46:48 2006 +0100 [PATCH] x86_64: Display meaningful part of filename during BUG() When building in a separate objtree, file names produced by BUG() & Co. can get fairly long; printing only the first 50 characters may thus result in (almost) no useful information. The following change makes it so that rather the last 50 characters of the filename get printed. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1b2f6304500930ab534a6aa3198bce0c51586206 Author: Jan Beulich Date: Wed Jan 11 22:46:45 2006 +0100 [PATCH] x86_64: Reduce screen space needed by stack trace Especially under Xen, where the console cannot be adjusted to more than 25 lines, it is fairly important that the information displayed during a panic is as compact as possible. Below adjustments work towards that. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5329e13d0bd82e13814050eb9facb25eedde4bbc Author: Jan Beulich Date: Wed Jan 11 22:46:42 2006 +0100 [PATCH] x86_64: Fix get_cmos_time() Due to a broken condition, the body of the loop that is intended to wait for the Update-In-Progress bit to get set and then cleared again was never entered; in fact, the entire loop was optimized out by the compiler. Here is a change to fix the condition (and to also move the initialization of locals out of the spin lock protected region). Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bdf2b1c9fedf76a1797216559f221e5eaa7a1eab Author: Andi Kleen Date: Wed Jan 11 22:46:39 2006 +0100 [PATCH] x86_64: No need to export get_cmos_time anymore It was only needed for APM Pointed out by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit dd52d642db8ca05267456a07a592922e8b093e1c Author: Andi Kleen Date: Wed Jan 11 22:46:36 2006 +0100 [PATCH] x86_64: Remove unused AMD K8 C stepping flag X86_FEATURE_K8_C was a synthetic Linux CPUID flag that was used for some code optimizations in Opteron C stepping or later. But support for pre C stepping optimizations has been removed, so this isn't needed anymore. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2e664aa2bad56b0bb52cf9cb9d14c9b575b437bb Author: Andi Kleen Date: Wed Jan 11 22:46:33 2006 +0100 [PATCH] i386: Move phys_proc_id/early intel workaround to correct function. early_cpu_detect only runs on the BP, but this code needs to run on all CPUs. Looks like a mismerge somewhere. Also add a warning comment. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 77a75333a3d16b830ccf47cf51d944655b015363 Author: Stephen Hemminger Date: Wed Jan 11 22:46:30 2006 +0100 [PATCH] x86_64: sparse warning cleanups Fix some trivial sparse warnings in x86_64 code. Signed-off-by: Stephen Hemminger Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit cf0501328674849f8becf6de16620067a0c2f1b5 Author: Andi Kleen Date: Wed Jan 11 22:46:27 2006 +0100 [PATCH] x86_64: Move NUMA page_to_pfn/pfn_to_page functions out of line Saves about ~18K .text in defconfig There would be more optimization potential, but that's for later. Suggestion originally from Bill Irwin. Fix from Andy Whitcroft. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit cdc4b9c01909d606afbc1e4a4b6c21fa1687a016 Author: Andi Kleen Date: Wed Jan 11 22:46:24 2006 +0100 [PATCH] x86_64: Remove unused segments They used to be used by the reboot code, but not anymore. Noticed by Jan Beulich Cc: JBeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit af5b98042452cc6f50de8afa9d079bda8556d74d Author: Vivek Goyal Date: Wed Jan 11 22:46:21 2006 +0100 [PATCH] x86_64: ioapic virtual wire mode fix o Currently, during kexec reboot, IOAPIC is re-programmed back to virtual wire mode if there was an i8259 connected to it. This enables getting timer interrupts in second kernel in legacy mode. o After putting into virtual wire mode, IOAPIC delivers the i8259 interrupts to CPU0. This works well for kexec but not for kdump as we might crash on a different CPU and second kernel will not see timer interrupts. o This patch modifies the redirection table entry to deliver the timer interrupts to the cpu we are rebooting (instead of hardcoding to zero). This ensures that second kernel receives timer interrupts even on a non-boot cpu. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 79f12614a6537cc3ac9ca4d1ea26f6e4f4a34aee Author: Ravikiran G Thirumalai Date: Wed Jan 11 22:46:18 2006 +0100 [PATCH] x86_64: Inclusion of ScaleMP vSMP architecture patches - vsmp_arch Introduce vSMP arch to the kernel. This patch: 1. Adds CONFIG_X86_VSMP 2. Adds machine specific macros for local_irq_disabled, local_irq_enabled and irqs_disabled 3. Writes to the vSMP CTL device to indicate kernel compiled with CONFIG_VSMP Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5fd63b308569060ffa40af52ed122d9734111bff Author: Ravikiran G Thirumalai Date: Wed Jan 11 22:46:15 2006 +0100 [PATCH] x86_64: Inclusion of ScaleMP vSMP architecture patches - vsmp_align vSMP specific alignment patch to 1. Define INTERNODE_CACHE_SHIFT for vSMP 2. Use this for alignment of critical structures 3. Use INTERNODE_CACHE_SHIFT for ARCH_MIN_TASKALIGN, and let the slab align task_struct allocations to the internode cacheline size 4. Introduce and use ARCH_MIN_MMSTRUCT_ALIGN for mm_struct slab allocations. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 99f7b77d3c62045bb47dfc4228a2341ba71bff1d Author: Andi Kleen Date: Wed Jan 11 22:46:12 2006 +0100 [PATCH] x86_64: Make sure BITS_PER_ATOMIC is defined in asm-generic/atomic.h Fixes CC fs/nfsctl.o In file included from include2/asm/atomic.h:427, from /home/lsrc/quilt/linux/include/linux/file.h:8, from /home/lsrc/quilt/linux/fs/nfsctl.c:8: /home/lsrc/quilt/linux/include/asm-generic/atomic.h:20:5: warning: "BITS_PER_LONG" is not defined Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e4b5939a7eec7726d410517e433040db4ede5102 Author: Brian Gerst Date: Wed Jan 11 22:46:09 2006 +0100 [PATCH] x86_64: cleanup enter_lazy_tlb() Move the #ifdef into the function body. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1008fddcaed7ad3e69f72939c87b24d0d3387ca2 Author: Eric W. Biederman Date: Wed Jan 11 22:46:06 2006 +0100 [PATCH] x86_64: Memorize location of i8259 for reboots. Currently we attempt to restore virtual wire mode on reboot, which only works if we can figure out where the i8259 is connected. This is very useful when we are kexec another kernel and likely helpful to an peculiar BIOS that make assumptions about how the system is setup. Since the acpi MADT table does not provide the location where the i8259 is connected we have to look at the hardware to figure it out. Most systems have the i8259 connected the local apic of the cpu so won't be affected but people running Opteron and some serverworks chipsets should be able to use kexec now. In addition this patch removes the hard coded assumption that the io_apic that delivers isa interrups is always known to the kernel as io_apic 0. There does not appear to be anything to guarantee that assumption is true. And From: Vivek Goyal A minor fix to the patch which remembers the location of where i8259 is connected. Now counter i has been replaced by apic. counter i is having some junk value which was leading to non-detection of i8259 connected to IOAPIC. Signed-off-by: Eric W. Biederman Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 60923df35edab273d0bd8e829cdfdc5cfbb4fd2c Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Wed Jan 11 22:46:03 2006 +0100 [PATCH] x86_64: allow setting RF in EFLAGS Setting RF (resume flag) allows a debugger to resume execution after a code breakpoint without tripping the breakpoint again. It is reset by the CPU after executing one instruction. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 100c0e36852a771864c56c31b260b7810b554170 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Wed Jan 11 22:46:00 2006 +0100 [PATCH] x86_64: "invalid operand" -> "invalid opcode" The manual says Int 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 68209407856507cda9d085470e8d28542ed1a941 Author: Luiz Fernando Capitulino Date: Wed Jan 11 22:45:57 2006 +0100 [PATCH] x86_64: Sparse warnings fix. Fixes the following sparse warnings: arch/x86_64/kernel/mce_amd.c:321:29: warning: Using plain integer as NULL pointer arch/x86_64/kernel/mce_amd.c:410:41: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 915f34e20c20ee383832bce0a4bc962d0c86be8d Author: Andi Kleen Date: Wed Jan 11 22:45:54 2006 +0100 [PATCH] x86_64: Remove useless KDB vector It was set as an NMI, but the NMI bit always forces an interrupt to end up at vector 2. So it was never used. Remove. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e080e9d66fd276ed34bc2834eedc134189b87fc9 Author: Jason Uhlenkott Date: Wed Jan 11 22:45:51 2006 +0100 [PATCH] x86_64: Don't claim too many vectors for TLB flushing It looks like the new scalable TLB flush code for x86_64 is claiming one more IRQ vector than it actually uses. Signed-off-by: Jason Uhlenkott Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5b22a3855127bb8221bc96e8e41064b3c5b2bf08 Author: Andi Kleen Date: Wed Jan 11 22:45:48 2006 +0100 [PATCH] x86_64: Tell user to enable GART_IOMMU when needed Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7554c3f0e378161fb6315160d6c3e23bf2de5869 Author: Andi Kleen Date: Wed Jan 11 22:45:45 2006 +0100 [PATCH] x86_64: Fix warning in nmi.c on uniprocessor kernels Fix CC arch/x86_64/kernel/nmi.o linux/arch/x86_64/kernel/nmi.c: In function ???check_nmi_watchdog???: linux/arch/x86_64/kernel/nmi.c:155: warning: statement with no effect on Uniprocessor builds. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 365ba9179f84244d2ffa98e46ae3cddfeb2ef6ff Author: Ravikiran G Thirumalai Date: Wed Jan 11 22:45:42 2006 +0100 [PATCH] x86_64: Allocate PDAs in the local node Patch uses a static PDA array early at boot and reallocates processor PDA with node local memory when kmalloc is ready, just before pda_init. The boot_cpu_pda is needed since the cpu_pda is used even before pda_init for that cpu is called (to set the static per-cpu areas offset table etc) Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit df79efde82952edc653fa6eb1338a82b87aa0585 Author: Ravikiran G Thirumalai Date: Wed Jan 11 22:45:39 2006 +0100 [PATCH] x86_64: Node local pda take 2 -- cpu_pda preparation Helper patch to change cpu_pda users to use macros to access cpu_pda instead of the cpu_pda[] array. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 05b3cbd8bb98736387df8a2e1efe311b1fb4d2ad Author: Ravikiran Thirumalai Date: Wed Jan 11 22:45:36 2006 +0100 [PATCH] x86_64: Early initialization of cpu_to_node Patch enables early intialization of cpu_to_node. apicid_to_node is built by reading the SRAT table, from acpi_numa_init with ACPI_NUMA and k8_scan_nodes with K8_NUMA. x86_cpu_to_apicid is built by parsing the ACPI MADT table, from acpi_boot_init. We combine these two tables and setup cpu_to_node. Early intialization helps the static per_cpu_areas in getting pages from correct node. Change since last release: Do not initialize early init_cpu_to_node for faking node cases. Patch tested on TYAN dual core 4P board with K8 only, ACPI_NUMA. Tested on EM64T NUMA. Also tested with numa=off, numa=fake, and running a kernel compiled with NUMA on a regular EM64 2 way SMP. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0b91317e338f42367de6d53f5e14f273aae7d034 Author: Andi Kleen Date: Wed Jan 11 22:45:33 2006 +0100 [PATCH] x86_64: Fix up white space in time.c No functional changes. And remove one redundant prototype. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2c8bc9446a853f4f36475ce314808dd92201f74e Author: Andi Kleen Date: Wed Jan 11 22:45:30 2006 +0100 [PATCH] x86_64: Use standard __always_inline in vsyscall.c Replacing the old home brewn __force_inline. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 487472bc01fab0625996aad37836aad931e4eda9 Author: Andi Kleen Date: Wed Jan 11 22:45:27 2006 +0100 [PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core Passing random input values in eax to cpuid is not a good idea because the CPU will GPF for unknown ones. Use the correct x86-64 version that exists for a longer time too. This also adds a memory barrier to prevent the optimizer from reordering. Cc: tigran@veritas.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c818a18146997d1356a4840b0c01f1168c16c8a4 Author: Andi Kleen Date: Wed Jan 11 22:45:24 2006 +0100 [PATCH] x86_64: On Intel CPUs don't do an additional CPU sync before RDTSC RDTSC serialization using cpuid is not needed for Intel platforms. This increases gettimeofday performance. Cc: vojtech@suse.cz Cc: rohit.seth@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7f6c5b046978d68e69bdc73433ead41612a2a1c9 Author: Andi Kleen Date: Wed Jan 11 22:45:21 2006 +0100 [PATCH] x86_64: Support alternative() in vsyscalls The real vsyscall .text addresses are not mapped when the alternative() replacement runs early, so use some black magic to access them using the direct mapping. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e54d95f73bbc79171802a1983e0c3835676db88 Author: Andi Kleen Date: Wed Jan 11 22:45:18 2006 +0100 [PATCH] x86_64: Support alternative() with a output argument. Needed for follow on patches Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 737c5c3bde5641af9c24e3a60366674af72a43ef Author: Andi Kleen Date: Wed Jan 11 22:45:15 2006 +0100 [PATCH] x86_64: Don't try to synchronize the TSC over CPUs on Intel CPUs at boot. They already do this in hardware and the Linux algorithm actually adds errors. Cc: mingo@elte.hu Cc: rohit.seth@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3c0217511313a46039137d2dab30fdb1c5a65e64 Author: Andi Kleen Date: Wed Jan 11 22:45:12 2006 +0100 [PATCH] x86_64: Fix compile error with !CONFIG_COMPAT cpumask.h wasn't included implicitely into proto.h in this case. Just move it over to smp.h Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b9d1e4bd6e44f2a75340226eb5f762e16bb4652f Author: Vivek Goyal Date: Wed Jan 11 22:45:09 2006 +0100 [PATCH] x86_64: x86_64 write apic id fix o Apic id is in most significant 8 bits of APIC_ID register. Current code is trying to write apic id to least significant 8 bits. This patch fixes it. o This fix enables booting uni kdump capture kernel on a cpu with non-zero apic id. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit aea9fca1dc8a1f9ac5d3b76ef04516a010cbf2e4 Author: Brian Gerst Date: Wed Jan 11 22:45:06 2006 +0100 [PATCH] x86_64: Remove duplicate exports Remove exports that are already exported from the object's source file. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e3602824cb1172deeb0f2b286025753882b90b28 Author: Brian Gerst Date: Wed Jan 11 22:45:03 2006 +0100 [PATCH] x86_64: unexport pci_*_consistent These functions are inlines and shouldn't be exported. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2d0db401ee4ee08857b79f1d3be40e8a819f8992 Author: Andi Kleen Date: Wed Jan 11 22:45:00 2006 +0100 [PATCH] x86_64: Remove unused apic_write_atomic This function is never used for x86_64. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4cef0c61380888af99b054937ed391fb28757836 Author: Andi Kleen Date: Wed Jan 11 22:44:57 2006 +0100 [PATCH] x86_64: Make the cpu_*_maps in kernel/sched.c read mostly They are referred to often so avoid potential false sharing for them. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit fd78f11790c37e2165733699f50450500e63a7b3 Author: Andi Kleen Date: Wed Jan 11 22:44:54 2006 +0100 [PATCH] i386: make pci_map_single/pci_map_sg warn for zero length. As suggested by Linus. This catches driver bugs that could cause corruption on IOMMU architectures. Also I converted the BUGs to out_of_line_bug()s to save a bit of text space. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3d831d925c6d66569a0c7f6f5f17c0927f7d3d25 Author: Andi Kleen Date: Wed Jan 11 22:44:51 2006 +0100 [PATCH] x86_64: Enable sound in old style OSS driver for NForce4 CK804 Just add the missing PCI ID. Cc: perex@suse.cz Cc: tiwai@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4855170f9876c8b4a16f115f32cf6851bac1ffcc Author: Andi Kleen Date: Wed Jan 11 22:44:48 2006 +0100 [PATCH] x86_64: Make it clear in machine checks that it's an hardware problem Hopefully the users will take the hint. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2cbc9ee35c992f88fb2558a4f13920e3df4ef3bb Author: Andi Kleen Date: Wed Jan 11 22:44:45 2006 +0100 [PATCH] x86_64: Clean up copy_*_user - Remove optimization for old B stepping Opteron - Make the fast path for copies with a multiple of eight length faster. - Minor instruction rearrangement to hopefully avoid a pipeline stall or two. - Add comment about errata to consider. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 17a941d854a3f7b0bb916fdeee4c9ffdcc19d8d3 Author: Muli Ben-Yehuda Date: Wed Jan 11 22:44:42 2006 +0100 [PATCH] x86_64: Use function pointers to call DMA mapping functions AK: I hacked Muli's original patch a lot and there were a lot of changes - all bugs are probably to blame on me now. There were also some changes in the fall back behaviour for swiotlb - in particular it doesn't try to use GFP_DMA now anymore. Also all DMA mapping operations use the same core dma_alloc_coherent code with proper fallbacks now. And various other changes and cleanups. Known problems: iommu=force swiotlb=force together breaks needs more testing. This patch cleans up x86_64's DMA mapping dispatching code. Right now we have three possible IOMMU types: AGP GART, swiotlb and nommu, and in the future we will also have Xen's x86_64 swiotlb and other HW IOMMUs for x86_64. In order to support all of them cleanly, this patch: - introduces a struct dma_mapping_ops with function pointers for each of the DMA mapping operations of gart (AMD HW IOMMU), swiotlb (software IOMMU) and nommu (no IOMMU). - gets rid of: if (swiotlb) return swiotlb_xxx(); - PCI_DMA_BUS_IS_PHYS is now checked against the dma_ops being set This makes swiotlb faster by avoiding double copying in some cases. Signed-Off-By: Muli Ben-Yehuda Signed-Off-By: Jon D. Mason Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8a6fdd3e912e0ce6f723431d66baf704bf8a1d26 Author: Andi Kleen Date: Wed Jan 11 22:44:39 2006 +0100 [PATCH] x86_64: Reject SRAT tables that don't cover all memory Broken BIOS on Iwill 8way systems reports these and it causes the bootmem allocator to crash. Add a sanity check if all the PXMs in the SRAT table cover all memory as reported by e820. If the sanity check fails the SRAT is rejected and the code will fall back to discover the NUMA topology using the K8 northbridge registers when applicable. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 95833c83f3b812c78e48db4eaa19f6c74958470b Author: Andi Kleen Date: Wed Jan 11 22:44:36 2006 +0100 [PATCH] x86_64: Add idle notifiers This adds a new notifier chain that is called with IDLE_START when a CPU goes idle and IDLE_END when it goes out of idle. The context can be idle thread or interrupt context. Since we cannot rely on MONITOR/MWAIT existing the idle end check currently has to be done in all interrupt handlers. They were originally inspired by the similar s390 implementation. They have a variety of applications: - They will be needed for CONFIG_NO_IDLE_HZ - They can be used for oprofile to fix up the missing time in idle when performance counters don't tick. - They can be used for better C state management in ACPI - They could be used for microstate accounting. This is just infrastructure so far, no users. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6b050f8075823b0d9ec4fad38f4f552b74e5c5af Author: Andi Kleen Date: Wed Jan 11 22:44:33 2006 +0100 [PATCH] x86_64: Clean up some printks in NUMA code Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d18ff47068154de8b4c1506be60a30a961846d18 Author: Andi Kleen Date: Wed Jan 11 22:44:30 2006 +0100 [PATCH] x86_64: Fix up coding style in numa.c No functional changes Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ca8642f606ce22de23bae08a5044067f98de855b Author: Andi Kleen Date: Wed Jan 11 22:44:27 2006 +0100 [PATCH] x86_64: Fix off by one in IOMMU check Fix off by one when checking if the machine has enougn memory to need IOMMU This caused the IOMMUs to be needlessly enabled for mem=4G Based on a patch from Jon Mason Signed-off-by: jdmason@us.ibm.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d25bf7e5fe73b5b6d2246ab0be08ae35d718456b Author: Venkatesh Pallipadi Date: Wed Jan 11 22:44:24 2006 +0100 [PATCH] x86_64: Handle missing local APIC timer interrupts on C3 state Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we disable local APIC timer and switch to using a broadcast from external timer interrupt (IRQ 0). Patch below adds the code for x86_64. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6eb0a0fd059598ee0d49c6283ce25cccd743e9fc Author: Venkatesh Pallipadi Date: Wed Jan 11 22:44:21 2006 +0100 [PATCH] i386: Handle missing local APIC timer interrupts on C3 state Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we disable local APIC timer and switch to using a broadcast from external timer interrupt (IRQ 0). This is needed because Intel CPUs stop the local APIC timer in C3. This is currently only enabled for Intel CPUs. Patch below adds the code for i386 and also the ACPI hunk. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5a07a30c3cc4dc438494d6416ffa74008a2194b3 Author: Venkatesh Pallipadi Date: Wed Jan 11 22:44:18 2006 +0100 [PATCH] i386/x86-64: Remove sub jiffy profile timer support Remove the finer control of local APIC timer. We cannot provide a sub-jiffy control like this when we use broadcast from external timer in place of local APIC. Instead of removing this only on systems that may end up using broadcast from external timer (due to C3), I am going the "I'm feeling lucky" way to remove this fully. Basically, I am not sure about usefulness of this code today. Few other architectures also don't seem to support this today. If you are using profiling and fine grained control and don't like this going away in normal case, yell at me right now. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 01b8faaef5d239aeabb1e712c5d9619f29e808dd Author: John Blackwood Date: Wed Jan 11 22:44:15 2006 +0100 [PATCH] x86_64: Report hardware breakpoints in user space when triggered by the kernel I would like to throw out a suggestion for a possible change in the way that the debug register traps are handled in do_debug() when the trap occurs in kernel-mode. In the x86_64 version of do_debug(), the code will skip around sending a SIGTRAP to the current task if the trap occurred while in kernel mode. On the i386-side of things, if the access happens to occur in kernel mode (say during a read(2) of user's buffer that matches the address of a debug register trap), then the do_debug() routine for i386 will go ahead and call send_sigtrap() and send the SIGTRAP signal. The send_sigtrap() code will also set the info.si_addr to NULL in this case (even though I don't understand why, since the SIGTRAP siginfo processing doesn't use the si_addr field...). So I would like to suggest that the x86_64 do_debug() routine also follow this type of behavior and have it go ahead and send the SIGTRAP signal to the current task, even if the debug register trap happens to have occurred in kernel mode. I have taken a stab at a patch for this change below. (It includes the i386-ish change for setting si_addr to NULL when the trap occurred in kernel mode.) It seems like a useful feature to be able to 'watch' a user location that might also be modified in the kernel via a system service call, and have the debugger report that information back to the user, rather than to just silently ignore the trap. Additionally, I realize that users that pull in a kernel debugger such as KGDB into their kernel might want to remove this change below when they add in KGDB support. However, they could alternatively look at the current task's thread.debugreg[] values to see if the trap occurred due to KGDB or instead because of a user-space debugger trap, and still honor the user SIGTRAP processing (instead of the KGDB breakpoint processing) if the trap matches up with the thread.debugreg[] registers. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4839057cafc9a508ad5906857e9c1d8707c875e3 Author: Adrian Bunk Date: Wed Jan 11 22:44:12 2006 +0100 [PATCH] x86_64: "extern inline" -> "static inline" in pgtable.h Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 66c581569e2cb41231b3fcd91a6c9f853d4d4e25 Author: Andi Kleen Date: Wed Jan 11 22:44:09 2006 +0100 [PATCH] x86_64: Convert page fault error codes to symbolic constants. Much better to deal with these than with the magic numbers. And remove the comment describing the bits - kernel source is no replacement for an architecture manual. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bf2fcc6fdfe4f4e92bb74f062c0a1be189f3a561 Author: Andi Kleen Date: Wed Jan 11 22:44:06 2006 +0100 [PATCH] x86_64: Implement is_compat_task the right way By setting a flag during a 32bit system call only Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2966387b481a11a90a7bed6600fc17b4253f6980 Author: Andi Kleen Date: Wed Jan 11 22:44:03 2006 +0100 [PATCH] x86_64: Implement compat code for sg driver SG_GET_REQUEST_TABLE ioctl Apparently helps with some non SANE scanner drivers. Cc: axboe@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f95190b28daa1bebf78ab5ec4129d01a223982c5 Author: Andi Kleen Date: Wed Jan 11 22:44:00 2006 +0100 [PATCH] x86_64: Remove unnecessary case from the page fault handler Don't need to do the vmalloc check for the module range because its PML4 is shared with the kernel text. Also removed an unnecessary TLB flush. Pointed out by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c11efdf94d3152443c11334720824bb6c7f6c655 Author: Ravikiran G Thirumalai Date: Wed Jan 11 22:43:57 2006 +0100 [PATCH] x86_64: Align and pad x86_64 GDT on page boundary This patch is on the same lines as Zachary Amsden's i386 GDT page alignemnt patch in -mm, but for x86_64. Patch to align and pad x86_64 GDT on page boundries. [AK: some minor cleanups and fixed incorrect TLS initialization in CPU init.] Signed-off-by: Nippun Goel Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bb33421dde79f9a36d5485c56335ff178ac7d268 Author: Andi Kleen Date: Wed Jan 11 22:43:54 2006 +0100 [PATCH] x86_64: Allow compilation on a 32bit biarch toolchain This might help on distributions that use a 32bit biarch compiler. First pass -m64 by default. Secondly add some more .code32s because at least the Ubuntu biarch 32bit as called by gcc doesn't seem to handle -m64 -m32 as generated by the Makefile without such assistance. And finally make sure the linker script can be preprocessed with a 32bit cpp. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 79c62cf1789f935280138b412bb750be84aec747 Author: Ross Biro Date: Wed Jan 11 22:43:51 2006 +0100 [PATCH] x86_64: Make udelay more accurate The attempt to avoid overflow in __delay caused varying precision on different CPUs depending on differences in the CPU speed. We should be able to do this multiplication with out overflowing provided the cpu is running at less than about 128 GHz. xloops < 20000 * 0x10c6. loops_per_jiffy * HZ <= cpu_clock_speed. So if the cpu clock speed < 2^64/(20000 * 0x10c6) = 2^64/ 51E6CC0 < 2^64/2^27 = 2^37 = 128G we will not overflow the calculation. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e4e94072d9c3b19662537cbd5e2d37bcaeed3d9b Author: Andi Kleen Date: Wed Jan 11 22:43:48 2006 +0100 [PATCH] x86_64: Return -1 for unknown PCI bus affinity When we don't know the node a PCI bus is connected to return -1. This matches the generic code. Noticed by Ravikiran G Thirumalai Cc: Ravikiran G Thirumalai Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 819a692804a8d2d42b7bb033d2650dba47622149 Author: Andi Kleen Date: Wed Jan 11 22:43:45 2006 +0100 [PATCH] x86_64: Handle unknown node (-1) in alloc_pages_node Following kmalloc_node. Needed for another patch to return -1 for unknown nodes in x86-64. Cc: Christoph Lameter Cc: kiran@scalex86.org Signed-off-by: Andi Kleen [ Changed 0 to numa_node_id() on suggestion by Christoph Lameter ] Signed-off-by: Linus Torvalds commit 1584b89c921acefe88881f08d836d80f00600a84 Author: Andi Kleen Date: Wed Jan 11 22:43:42 2006 +0100 [PATCH] x86_64: Validate SLIT table A lot of Opteron BIOS just pass 10 in all SLIT entries (10 is the normalized unit). This is actually worse than the default heuristic because it leads to pci_distance not knowing the difference between local and remote nodes anymore. This messes up some NUMA heuristics in generic code. In this case it's better to fall back to the default heuristic which just does nodea == nodeb ? 10 : 20. This patch does some basic sanity checking on the SLIT and only accepts the SLIT when it passes. Invariants enforced are: - Node to itself shall be 10 - Any other distance shouldn't be 10 - Distances smaller than 10 are illegal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7a4a76cc1057de0dc96ee481590347aa8c5b9ffb Author: Andi Kleen Date: Wed Jan 11 22:43:39 2006 +0100 [PATCH] x86_64: Fix off by one in acpi table mapping And fix the test to include the size Noticed by Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7180d4fb83085fef9d24b353f5bd79cf6fd98447 Author: Jan Beulich Date: Wed Jan 11 22:43:36 2006 +0100 [PATCH] x86_64: Fix 64bit FXSAVE encoding The separation of the rex64 prefix (on fxsave/fxrstor) by way of using a semicolon resulted in the prefix not always taking effect (because when extended registers are needed for addressing, another rex prefix would have been generated by the compiler), thus (depending on the build) resulting in eventually getting 32-bit saves and/or restores. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e99286744599a66195de4cd975d7ef4d643c2789 Author: Andi Kleen Date: Wed Jan 11 22:43:33 2006 +0100 [PATCH] x86_64: Generalize DMI and enable for x86-64 Some people need it now on 64bit so reuse the i386 code for x86-64. This will be also useful for future bug workarounds. It is a bit simplified there because there is no need to do it very early on x86-64. This means it doesn't need early ioremap et.al. We run it as a core initcall right now. I hope it's not needed for early setup. I added a general CONFIG_DMI symbol in case IA64 or someone else wants to reuse the code later too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b347d25fbc4616f4f37895e9afbe25b2bbc7e11f Author: Andi Kleen Date: Wed Jan 11 22:43:30 2006 +0100 [PATCH] x86_64: Remove bogus file in arch/x86_64/pci This was a backup file that somehow made it into the official tree. Never used for anything. Remove. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f46ace69282e9791757ec7d7b130285124ec10d0 Author: Andi Kleen Date: Wed Jan 11 22:43:27 2006 +0100 [PATCH] x86_64: Add missing newline in IOMMU error message Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 636dd2b7def5c9c72551b51d4d516a65c269de08 Author: Stephen Hemminger Date: Wed Jan 11 22:43:24 2006 +0100 [PATCH] x86_64: fls in asm for x86_64 Use single instruction for find largest set bit on x86_64. [Updated by Jan Beulich to fix wrong asm constraints in original patch -AK] Cc: jbeulich@novell.com Signed-off-by: Stephen Hemminger Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bd9cb64df1d99c07ea9672661ede6ca3ba5c6579 Author: Jan Beulich Date: Wed Jan 11 22:43:21 2006 +0100 [PATCH] x86_64: fix page fault from show_trace() The introduction of call_softirq switching to the interrupt stack several releases earlier resulted in a problem with the code in show_trace, which assumes that it can pick the previous stack pointer from the end of the interrupt stack. Cc: Andi Kleen Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4724e3e86d806860c90917f9b73d4354e388b39b Author: Peter Beutner Date: Wed Jan 11 22:43:18 2006 +0100 [PATCH] x86_64: fix single step handling for 32bit processes Be more careful with TF handling to fix some copy protection codes in wine patch originally for i386 by Linus, then ported to x86_64 by Andi Kleen see: [PATCH] x86_64: Some fixes for single step handling commit: be61bff789fe44bfb6d9282d8f7eccc860bdcfb6 But it was never applied to the ia32 emulation code which breaks some copy-protection schemes under wine when running on x86_64. Signed-off-by: Peter Beutner Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 60917a3832547886549962ab9ee753253cf5e44c Author: Benjamin LaHaise Date: Wed Jan 11 22:43:15 2006 +0100 [PATCH] x86_64: don't save eflags in x86-64 switch_to() As discussed, the flags register on x86-64 is saved and restored by the assembly code which sets up struct pt_regs, so we do not need to save and restore it in the inline assembler which already informs gcc that we're clobbering the flags. This patch has been sanity booted and works okay here. Signed-off-by: Benjamin LaHaise Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e3fbee5f11a8135109b08bfcbc05a29eb4eabe8 Author: Eric W. Biederman Date: Wed Jan 11 22:43:12 2006 +0100 [PATCH] i386/x86-64: Don't IPI to offline cpus on shutdown So why are we calling smp_send_stop from machine_halt? We don't. Looking more closely at the bug report the problem here is that halt -p is called which triggers not a halt but an attempt to power off. machine_power_off calls machine_shutdown which calls smp_send_stop. If pm_power_off is set we should never make it out machine_power_off to the call of do_exit. So pm_power_off must not be set in this case. When pm_power_off is not set we expect machine_power_off to devolve into machine_halt. So how do we fix this? Playing too much with smp_send_stop is dangerous because it must also be safe to be called from panic. It looks like the obviously correct fix is to only call machine_shutdown when pm_power_off is defined. Doing that will make Andi's assumption about not scheduling true and generally simplify what must be supported. This turns machine_power_off into a noop like machine_halt when pm_power_off is not defined. If the expected behavior is that sys_reboot(LINUX_REBOOT_CMD_POWER_OFF) becomes sys_reboot(LINUX_REBOOT_CMD_HALT) if pm_power_off is NULL this is not quite a comprehensive fix as we pass a different parameter to the reboot notifier and we set system_state to a different value before calling device_shutdown(). Unfortunately any fix more comprehensive I can think of is not obviously correct. The core problem is that there is no architecture independent way to detect if machine_power will become a noop, without calling it. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 329d400f47ddfe8ff599823d739c5c5565da3207 Author: Zwane Mwaikambo Date: Wed Jan 11 22:43:09 2006 +0100 [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI I noticed that some lowlevel send_IPI_mask helpers had a hotplug/preempt race whereupon the cpu_online_map was read before disabling preemption; ... cpumask_t mask = cpu_online_map; int cpu = get_cpu(); cpu_clear(cpu, mask); ... But then i realised that there is no need for these lowlevel functions to be going through all this trouble when all the callers are already made hotplug/preempt safe. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 73ca5358aab55e2e29993a31f3776c54c05ae729 Author: Shaohua Li Date: Wed Jan 11 22:43:06 2006 +0100 [PATCH] x86_64: increase MCE bank counts There is one CPU here whose MCE bank count is 6. This patch increases x86_64's MCE bank count. Signed-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f2ecfab91c6f248cf71dff66c2111d31c8cc1747 Author: Benjamin LaHaise Date: Wed Jan 11 22:43:03 2006 +0100 [PATCH] x86_64: another mb() for smpboot.c The following is probably a good idea given that the atomic_set() isn't a barrier here either. Signed-off-by: Benjamin LaHaise Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b556b35e98ad2b9174a7a623d152cdf412d1a999 Author: Jan Beulich Date: Wed Jan 11 22:43:00 2006 +0100 [PATCH] x86_64: Move int 3 handler to debug stack and allow to increase it. This - switches the INT3 handler to run on an IST stack (to cope with breakpoints set by a kernel debugger on places where the kernel's %gs base hasn't been set up, yet); the IST stack used is shared with the INT1 handler's [AK: this also allows setting a kprobe on the interrupt/exception entry points] - allows nesting of INT1/INT3 handlers so that one can, with a kernel debugger, debug (at least) the user-mode portions of the INT1/INT3 handling; the nesting isn't actively enabled here since a kernel- debugger-free kernel doesn't need it Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ed8388a5d9db0445322f86ee8381b0f04a2057ee Author: Andi Kleen Date: Wed Jan 11 22:42:57 2006 +0100 [PATCH] x86_64: Don't confuse apic=... command line option with apic Previously apic was foced with apic=logopt was specified. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7c0ac555b0b927ee0b3ca6200617f43dbdbaffb8 Author: Andi Kleen Date: Wed Jan 11 22:42:54 2006 +0100 [PATCH] x86_64: Dont't disable early PCI scan with apic It might be still needed for non APIC related issues. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3f98bc4991df8e7b5972489b4632e1e5c03cd1ee Author: Andi Kleen Date: Wed Jan 11 22:42:51 2006 +0100 [PATCH] i386/x86-64: Update AMD CPUID flags Print bits for RDTSCP, SVM, CR8-LEGACY. Also now print power flags on i386 like x86-64 always did. This will add a new line in the 386 cpuinfo, but that shouldn't be an issue - did that in the past too and I haven't heard of any breakage. I shrunk some of the fields in the i386 cpuinfo_x86 to chars to make up for the new int "x86_power" field. Overall it's smaller than before. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 152bf8c55d657898c40c8ed270630c0cf9d51f7d Author: Andi Kleen Date: Wed Jan 11 22:42:48 2006 +0100 [PATCH] x86_64: Use X86_FEATURE_CONSTANT_TSC now to clean up Intel speedstep drivers They previously tried to figure this out on their own. Suggested by Venkatesh. Cc: venkatesh.pallipadi@intel.com Cc: davej@redhat.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 39b3a7910556005a7a0d042ecb7ff98bfa84ea57 Author: Andi Kleen Date: Wed Jan 11 22:42:45 2006 +0100 [PATCH] i386/x86-64: Generalize X86_FEATURE_CONSTANT_TSC flag Define it for i386 too. This is a synthetic flag that signifies that the CPU's TSC runs at a constant P state invariant frequency. Fix up the logic on x86-64/i386 to set it on all known CPUs. Use the AMD defined bit to set it on future AMD CPUs. Cc: venkatesh.pallipadi@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2d52ede9876ba566b583f255fdc43800eea81baa Author: Andi Kleen Date: Wed Jan 11 22:42:42 2006 +0100 [PATCH] x86_64: Remove enable/disable_hlt Was only used by the floppy driver to work around some ancient hardware bug that should never occur on any 64bit system. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7eb903f4a5c35c8310f0aa7b0e94aae0b826d837 Author: Andi Kleen Date: Wed Jan 11 22:42:39 2006 +0100 [PATCH] x86_64: Add documentation for CPU hotplug ACPI extension Cc: len.brown@intel.com, ashok.ray@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f62a91f6911479642c0018290d4248ace4287648 Author: Andi Kleen Date: Wed Jan 11 22:42:35 2006 +0100 [PATCH] x86_64: Don't reserve hotplug CPUs by default Most users don't need it so no need to waste memory. This means an user has to specify the appropiate number of hotplug CPUs on the command line with additional_cpus=... or fix their BIOS to follow the convention in Documentation/x86-64/cpu-hotplug-spec Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 92934bcbf96bc9dc931c40ca5f1a57685b7b813b Author: Andi Kleen Date: Wed Jan 11 22:42:32 2006 +0100 [PATCH] i386/x86-64: Use input/output dependencies for bitops Noticed by Andreas Schwab Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 636aab5ce332d88a76362797a55804c7da643467 Author: Andi Kleen Date: Wed Jan 11 22:42:29 2006 +0100 [PATCH] x86_64: No need to remove NT during CPU setup head.S already clears EFLAGS completely. Following an i386 patch from Zachary Amsden. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1f6818b90dbb887261c616a318733703ed526f0a Author: Andi Kleen Date: Wed Jan 11 22:42:26 2006 +0100 [PATCH] x86_64: Minor GFP_DMA32 comment fix Pretty obvious Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8b1bde93175182d7c11d9a1230b2210a5815e747 Author: Jan Beulich Date: Wed Jan 11 22:42:23 2006 +0100 [PATCH] x86_64: Adjust page fault handling Adjust page fault protection error check before considering it to be a vmalloc synchronization candidate. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 505cc4e1d6885acaee008950ac9c6e838f2209f8 Author: Jan Beulich Date: Wed Jan 11 22:42:20 2006 +0100 [PATCH] x86_64: Remove unprotected iret Make sure no iret can fault without attached recovery code. Cannot happen in the normal case, but might be useful with kernel debuggers Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit eca37c18beb306dd9dea4579d7214e1b4414b3fb Author: Jan Beulich Date: Wed Jan 11 22:42:17 2006 +0100 [PATCH] x86_64: Clean up double fault handling Since a double fault always implies that kernel data structures are corrupt, this fault should neither be handed to user mode handling, nor should the handler allow resuming the faulting code stream (since architecturally this isn't a fault, but an abort). Note that this slightly depends on the previously submitted patch adjusting the prototype of notify_die() (a compiler warning will result without that other patch). AK: Removed obsolete CONFIG_CHECKING code, added comments Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e3f361781573a27296c77a79c9892dec8f2e36c Author: Jan Beulich Date: Wed Jan 11 22:42:14 2006 +0100 [PATCH] x86_64: make trap information available to die notification handlers This adjusts things so that handlers of the die() notifier will have sufficient information about the trap currently being handled. It also adjusts the notify_die() prototype to (again) match that of i386. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5c617cfa6422bfba9e79d8d004303a6cc3d2e7d7 Author: Jan Beulich Date: Wed Jan 11 22:42:11 2006 +0100 [PATCH] x86_64: Removing unused function die_if_kernel(). Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0a5215882166dd33a95b313637dd318e4c143113 Author: Jan Beulich Date: Wed Jan 11 22:42:08 2006 +0100 [PATCH] x86_64: fix bound check IDT gate Other than apparently commonly assumed, the bound instruction does not require the corresponding IDT entry to have DPL 3. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03 Author: Jan Beulich Date: Wed Jan 11 22:42:05 2006 +0100 [PATCH] x86_64: Separate CONFIG_UNWIND_INFO from CONFIG_DEBUG_INFO As a follow-up to the introduction of CONFIG_UNWIND_INFO, this separates the generation of frame unwind information for x86-64 from that of full debug information. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 130951ccb14167c20b87e8bed52b60864ed53c2b Author: Andi Kleen Date: Wed Jan 11 22:42:02 2006 +0100 [PATCH] x86_64: Support constant TSC feature in future AMD CPUs. Based on the documentation recently posted by Richard Brunner. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2765130b020c22f803afba74772f33f2ad13bf28 Author: Jan Beulich Date: Wed Jan 11 22:41:59 2006 +0100 [PATCH] x86_64: More CFI fixes for 32bit entry code Frame unwind information was still incorrect for ia32_ptregs_common (sorry, my fault), and could be improved for some of the other entry points. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6076399e9561a92388ed320dc7105595f8db1ba9 Author: Andi Kleen Date: Wed Jan 11 22:41:56 2006 +0100 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8d8706e2f86d28814c1b40a116ffdeca35e4c949 Author: Andrew Morton Date: Wed Jan 11 12:17:49 2006 -0800 [PATCH] lindent rio drivers Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan. rioboot.c and rioinit.c were skipped due to worrisome lindent warnings. Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9415644583ef344e02f84faf5fe24bfadb2af8e Author: Randy Dunlap Date: Wed Jan 11 12:17:48 2006 -0800 [PATCH] capable/capability.h (arch/) arch: Use where capable() is used. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b Author: Randy Dunlap Date: Wed Jan 11 12:17:47 2006 -0800 [PATCH] capable/capability.h (net/) net: Use where capable() is used. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16f7e0fe2ecc30f30652e8185e1772cdebe39109 Author: Randy Dunlap Date: Wed Jan 11 12:17:46 2006 -0800 [PATCH] capable/capability.h (fs/) fs: Use where capable() is used. Signed-off-by: Randy Dunlap Acked-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c59ede7b78db329949d9cdcd7064e22d357560ef Author: Randy.Dunlap Date: Wed Jan 11 12:17:46 2006 -0800 [PATCH] move capable() to capability.h - Move capable() from sched.h to capability.h; - Use where capable() is used (in include/, block/, ipc/, kernel/, a few drivers/, mm/, security/, & sound/; many more drivers/ to go) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e16885c5ad624a6efe1b1bf764e075d75f65a788 Author: Ingo Molnar Date: Wed Jan 11 12:17:45 2006 -0800 [PATCH] uninline capable() Uninline capable(). Saves 2K of kernel text on a generic .config, and 1K on a tiny config. In addition it makes the use of capable more consistent between CONFIG_SECURITY and !CONFIG_SECURITY Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9fad4cc3975573a359a92ad047f5995d8391631 Author: Matt Domsch Date: Wed Jan 11 12:17:44 2006 -0800 [PATCH] ipmi: use CONFIG_DMI instead of CONFIG_X86 With Andi Kleen's x86_64 patch to use DMI, and my ia64 to use DMI, there is now a new CONFIG_DMI option which takes the place of CONFIG_X86 to denote the availability of the DMI functions. Make the IPMI driver use CONFIG_DMI instead. Tested on ia64 2.6.15 kernel plus the previous patch, on a Dell PowerEdge 7250 Itanium2 server, and it now autodetects the IPMI KCS driver as expected. Signed-off-by: Matt Domsch Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c908a74d90e693d9079f4238012d43b06231a70 Author: Jesper Juhl Date: Wed Jan 11 12:17:43 2006 -0800 [PATCH] remove unused out_pio label in i810_audio sound/oss/i810_audio.c:3431: warning: label `out_pio' defined but not used Signed-off-by: Jesper Juhl Signed-off-by: Linus Torvalds commit eb3a72921c8276bf2cd028a458bb83435f16c91c Author: Keshavamurthy Anil S Date: Wed Jan 11 12:17:42 2006 -0800 [PATCH] kprobes: fix race in recovery of reentrant probe There is a window where a probe gets removed right after the probe is hit on some different cpu. In this case probe handlers can't find a matching probe instance related to break address. In this case we need to read the original instruction at break address to see if that is not a break/int3 instruction and recover safely. Previous code had a bug where we were not checking for the above race in case of reentrant probes and the below patch fixes this race. Tested on IA64, Powerpc, x86_64. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df019b1d8b893d0f0ee5a9b0f71486f0892561ae Author: Keshavamurthy Anil S Date: Wed Jan 11 12:17:41 2006 -0800 [PATCH] kprobes: fix unloading of self probed module When a kprobes modules is written in such a way that probes are inserted on itself, then unload of that moudle was not possible due to reference couning on the same module. The below patch makes a check and incrementes the module refcount only if it is not a self probed module. We need to allow modules to probe themself for kprobes performance measurements This patch has been tested on several x86_64, ppc64 and IA64 architectures. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef43bc4fc32bec8fda7bae8948b774616dc9e496 Author: Jan Kara Date: Wed Jan 11 12:17:40 2006 -0800 [PATCH] reiserfs: fix assertion failure in reiserfs+journaled quotas Sometimes we call do_journal_end() with t_refcount == 0. If quota is turned on and we happen to have some inode with preallocation bad things happen as we try to use the current handle for quota operations. Checks for t_refcount in journal_begin() fail and we Oops. We raise t_refcount to make those checks happy. We should not cause any bad as all the needed quota blocks should be already attached to the transaction (they were attached to the transaction when we allocated those preallocation blocks). Signed-off-by: Jan Kara Cc: Jeff Mahoney Cc: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c8365ecc57f87e4d982c3fe59a4c1b985484e7f Author: Paul Fulghum Date: Wed Jan 11 12:17:39 2006 -0800 [PATCH] synclink_gt remove unnecessary page alignment Remove unnecessary and incorrectly implemented page alignment of register base address before calling ioremap() Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d251575ab60ca2b5337574bfaf8f8b583f18059e Author: Stephen Hemminger Date: Wed Jan 11 12:17:38 2006 -0800 [PATCH] random: get rid of sparse warning Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c174af880d02f29599178284bb43f8d4f0fdcd8 Author: Alan Cox Date: Wed Jan 11 12:17:37 2006 -0800 [PATCH] MAINTAINERS: remove dead project Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e9e3941d0a3497c1e7fb9ce62059705825bb775 Author: Vivek Goyal Date: Wed Jan 11 12:17:37 2006 -0800 [PATCH] kdump: vmcore compilation warning fix o fs/proc/vmcore.c compilation gives warnings on ppc64. The reason being that u64 is defined as unsigned long hence u64* is not same as loff_t* and compiler cribs. o Changed the parameter type to u64* instead of loff_t* to resolve the conflict. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd85d765b75db608500c783e5bc41b63627957c8 Author: Jean Delvare Date: Wed Jan 11 12:17:36 2006 -0800 [PATCH] cs89x0: Fix the Kconfig help text Fix the help text of the cs89x0 network driver Kconfig entry. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91e1c46356beddf984ce0ce5ec4fbaea43a07ec8 Author: Lennert Buytenhek Date: Wed Jan 11 12:17:34 2006 -0800 [PATCH] cs89x0: fix setting of ALLOW_DMA There's an ifdef in cs89x0.c that seems to have been the wrong way round since it was merged (and noone seems to have noticed) -- the IXDP2x01 doesn't support ISA-style DMA, but when building for IXDP2x01, cs89x0's ALLOW_DMA is set to 1, and when building for another platform, ALLOW_DMA is set to 0. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ab2495a30bb3de1cfe41a886f83afb68616ab7d Author: Alan Cox Date: Wed Jan 11 12:17:33 2006 -0800 [PATCH] tclk: fix typos, exclamation mark frenzy and missing device id on messages I sent this out a couple of months ago and the driver author said it he'd merge it. Nothing has happened since so I'm submitting it directly. No functionality changes just texts. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7599587faea9403edf4d7f74e80b3c9ea217930 Author: Alan Cox Date: Wed Jan 11 12:17:32 2006 -0800 [PATCH] Allow reading CMOS day of week register Someone wanted access to this usually unused (and unused by Linux) value for the day of week. Existing kernels have the field in the struct but return 0 always. This updates the kernel to fill in the field. The usual case of 'not set' conveniently is 0. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56d5ae305b9be17edfee20740ec84257e518747 Author: Tore Anderson Date: Wed Jan 11 12:17:31 2006 -0800 [PATCH] ext3: fix documentation of online resizing Undocument the non-working resize= mount option in ext3, and add some references to the ext2resize package instead, which appears to be the only proper way of doing online resizing of ext3 filesystems. Signed-off-by: Tore Anderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75ba0861bcc64634166124f164dcc05b6393c0ee Author: Akinobu Mita Date: Wed Jan 11 12:17:31 2006 -0800 [PATCH] doc: refer to kdump in oops-tracing.txt Kdump has been merged and supported on several architectures. It is better to encourage to use kdump rather than non standard kernel crash dump patches. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8428cfe893c1f13eb22cd879669f12b65900738f Author: Akinobu Mita Date: Wed Jan 11 12:17:30 2006 -0800 [PATCH] kdump: add dmesg gdbmacro into document Add gdb macro which print the kernel ring buffer into kdump docs Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit beb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c Author: Jeff Dike Date: Wed Jan 11 12:17:29 2006 -0800 [PATCH] uml: kill an unused variable The HDIO_GETGEO patch left an unused variable in the UML block driver. This gets rid of it. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 621009f4baf24581211dbb7b0816e01ed9fa8496 Author: Jeff Dike Date: Wed Jan 11 12:17:28 2006 -0800 [PATCH] uml: fix debug output on x86_64 The debug-stub patch was broken on x86_64 because it thinks the frame size there is 168 words. In reality, it is 168 bytes, and using HOST_FRAME_SIZE, which is expressed in consistent units across architectures, fixes this. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a174b30e2963a02e9657f4ac69b2b500993bf0d4 Author: Jeff Dike Date: Wed Jan 11 12:17:28 2006 -0800 [PATCH] uml: eliminate doubled boot output CON_PRINTBUFFER was a bad idea for the mconsole console. It causes the boot output to be printed twice. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edc0e6595616db3f34229077f30eb0616d1e0b84 Author: Jeff Dike Date: Wed Jan 11 12:17:27 2006 -0800 [PATCH] uml: revert compile-time option checking Undo the previous no-modes patch since Adrian Bunk sent in a kbuild way of doing the same thing. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 114d1ff4f551c8cc940de71b03c5b7365b4124f5 Author: Jeff Dike Date: Wed Jan 11 12:17:26 2006 -0800 [PATCH] uml: update Kconfig help The MODE_TT help was a little outdated. This updates it in light of the existence of skas0 mode. It's also turned off by default since it is mostly obsoleted by skas0 mode. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ee189a9260849ebacbdd3caf1fd5eb077fcf6a9 Author: Jeff Dike Date: Wed Jan 11 12:17:23 2006 -0800 [PATCH] uml: fix missing KBUILD_BASENAME 2.6.15-mm1 caused kernel-offsets.c to stop compiling with a syntax error in a header. The problem was with KBUILD_BASENAME, which didn't get a definition with the by-hand compilation in the main UML Makefile. This was OK before since the expansion was syntactically the same as the KBUILD_BASENAME token. With -mm1, the expansion is now a quote-delimited string, so there needs to be a definition of it. Since kernel-offsets.c is basically the same as other arches' asm-offsets.c, and those seem to build OK, this patch turns kernel-offsets.c into asm-offsets.c. kernel-offsets.c is in arch/um/sys-$(SUBARCH), i.e. sys-i386 and sys-x86_64, while kbuild expects it to be in arch/um/kernel. kernel-offsets.c is moved to arch/um/include/sysdep-$(SUBARCH)/kernel-offsets.h, which is included by arch/um/kernel/asm-offsets.c. With that, include/asm-um/asm-offsets.h is generated automatically. kernel-offsets.h continues to exist because it needs to be accessible to userspace UML code, and include/asm-um isn't. So, a symlink is made from arch/um/include/kernel-offsets.h to include/asm-um/asm-offsets.h. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10b5aabddd1e8f26fdccc56666ddcad653e02fd6 Author: Adrian Bunk Date: Wed Jan 11 12:17:20 2006 -0800 [PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define Signed-off-by: Adrian Bunk Cc: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4eac915d02453e81a32595cd7423492c81337a26 Author: Paul Jackson Date: Wed Jan 11 12:17:19 2006 -0800 [PATCH] mm: gfp_atomic comments Clarify in comments that GFP_ATOMIC means both "don't sleep" and "use emergency pools", hence both ALLOC_HARDER and ALLOC_HIGH. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7365f3d169a1eae00e713c1a4eea90e86415dcc5 Author: Hugh Dickins Date: Wed Jan 11 12:17:18 2006 -0800 [PATCH] Restore KERN_EMERG to each line printed by bad_page Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9cfc08d640e1586e76eee63cc2b0a9360bc7c7e Author: Adrian Bunk Date: Wed Jan 11 23:57:55 2006 -0200 V4L/DVB (3354): VIDEO_SAA7134_ALSA shouldn't select SND_PCM_OSS - There's no reason for an ALSA driver to select an OSS legacy userspace interface. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit a113bc787e9b0e792f316e803b619d31af1397ad Author: Guy Martin Date: Wed Jan 11 23:40:51 2006 -0200 V4L/DVB (3352): Some fixes to compat_ioctl32 - Adds suppport or fix support for VIDIOC_ENUMSTD, VIDIOC_ENUMINPUT, VIDIOC_G_TUNER and VIDIOC_S_TUNER. - Fix the warnings at compile time and add checks for the pointer validity using access_ok(). - v4l_print_ioctl() has also be added to identify possible missing ioctls. - Has been tested on sparc64 and amd64. Other arches such as mips and hppa are expected to work as sparc, but not tested yet. Signed-off-by: Guy Martin Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab commit f8bf134d5f697311c04e867b6733d047a4b55a12 Author: Regis Prevot Date: Wed Jan 11 23:31:53 2006 -0200 V4L/DVB (3351): adding support for knc1 Tv Star dvb-s - Added knc1 tv star dvb-s support with philips tuner sd1878. Signed-off-by: Regis Prevot Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ac9ffb90b8d0d28e3d9e5b5a045ee870a6269b5f Author: Michael Krufky Date: Wed Jan 11 23:21:00 2006 -0200 V4L/DVB (3350): Added USB ID for DigitalNow DVB-T Dual USB, DViCO clone - Added USB ID for DigitalNow DVB-T Dual USB, DViCO FusionHDTV DVB-T Dual USB clone Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6bfb2e1f19a3fb68cf82f6ad44c34f4bcf9d4e9f Author: Michael Krufky Date: Wed Jan 11 22:52:28 2006 -0200 V4L/DVB (3349): Add PCI ID for UltraView DVB-T Plus, rebranded DViCO FusionHDTV DVB-T Plus - Add PCI ID for UltraView DVB-T Plus,rebranded DViCO FusionHDTV DVB-T Plus Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b5fc71440f63f653d86c75c2930fe22ad84c909d Author: Hans Verkuil Date: Wed Jan 11 22:41:36 2006 -0200 V4L/DVB (3348): debug renamed to cx25840_debug - Debug var renamed to cx25840 to avoid conflicts with other var with the same name at kernel Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit bb7e8c5a55c1f5d4192f4b61a84a791796ebf0c3 Author: Adrian Bunk Date: Wed Jan 11 16:40:30 2006 -0800 [PKT_SCHED] net/sched/Kconfig: fix typo in NET_EMATCH_META description Noted by Matt LaPlante . Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 54608b709963b4f474ea26c1a087409eb0d9bebf Author: Evgeniy Polyakov Date: Wed Jan 11 16:13:46 2006 -0800 [PKT_SCHED] ematch: Remove bogus include. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c3f343e4d7b99638b8a4f05c12b542d32405cfc4 Author: Evgeniy Polyakov Date: Wed Jan 11 16:12:41 2006 -0800 [NET]: Fix diverter build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 8b3a70058bfe711b2d05ba2134178bae623183ce Author: Kris Katterjohn Date: Wed Jan 11 15:56:43 2006 -0800 [NET]: Remove more unneeded typecasts on *malloc() This removes more unneeded casts on the return value for kmalloc(), sock_kmalloc(), and vmalloc(). Signed-off-by: Kris Katterjohn Acked-by: James Morris Signed-off-by: David S. Miller commit ae0f7d5f83236a43c572a744e4bbb30e8702d821 Author: David Woodhouse Date: Wed Jan 11 15:53:04 2006 -0800 [IPV6]: Avoid calling ip6_xmit() with NULL sk The ip6_xmit() function now assumes that its sk argument is non-NULL, which isn't currently true when TCPv6 code is sending RST or ACK packets. This fixes that code to use a socket of its own for sending such packets, as TCPv4 does. (Thanks Andi for the pointer). Signed-off-by: David Woodhouse Signed-off-by: David S. Miller commit a7768097557be91d0d4c37e8f2e38cd126c4cdf9 Author: David S. Miller Date: Wed Jan 11 15:39:14 2006 -0800 [NETFILTER]: ip_ct_proto_gre_fini() cannot be __exit It is invoked from failures paths of __init code. Signed-off-by: David S. Miller commit 82bf7e97ac5b9fd03aea10df6910cad50d6c032d Author: David S. Miller Date: Wed Jan 11 15:38:28 2006 -0800 [NET]: Some more missing include/etherdevice.h includes For compare_ether_addr() Signed-off-by: David S. Miller commit 607f4e3864a4306be0d0ad11ff34284c239aad1b Author: Paul Fulghum Date: Wed Jan 11 17:51:48 2006 -0600 [PATCH] new tty buffering access fix Fix typos in new tty buffering that incorrectly access and update buffers in pending queue. Signed-off-by: Paul Fulghum Acked-by: Alan Cox Signed-off-by: Linus Torvalds commit 61943c5015acae42fe355bf033bbee8d63691fe3 Author: Adrian Bunk Date: Wed Jan 11 15:55:23 2006 -0800 [SPARC64] arch/sparc64/Kconfig: fix HUGETLB_PAGE_SIZE_64K dependencies This patch fixes a typo in the dependencies of HUGETLB_PAGE_SIZE_64K. It might be more logical to rename the HUGETLB_PAGE_SIZE_*K dependencies to HUGETLB_PAGE_SIZE_*KB, but let's fix this bug first. This bug was reported by Jean-Luc Leger . Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 4cec87361462d570d6a67888feda41e77e0a9562 Author: Linus Torvalds Date: Wed Jan 11 15:50:47 2006 -0800 Fix mutex_trylock() copy-and-paste bug (x86, x86-64, generic mutex-dec.h) Noticed by Arjan originally on x86-64, then Ingo on x86, and finally me grepping for it in the generic version. Bad parenthesis nesting. Signed-off-by: Linus Torvalds commit 0d1335b3106687d87fcfa0e4d90f2a961bd7e1db Author: Nathan Scott Date: Thu Jan 12 10:32:51 2006 +1100 [XFS] Fix follow_link when dealing with symlinks larger than 256 bytes. Thanks to Yamamoto Takashi. SGI-PV: 947953 SGI-Modid: xfs-linux-melb:xfs-kern:24962a Signed-off-by: Nathan Scott commit 3762ec6bf76cdd32653c409dbad09f7b85807c68 Author: Nathan Scott Date: Thu Jan 12 10:29:53 2006 +1100 [XFS] Merge in trivial changes, sync up headers with userspace equivalents. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24961a Signed-off-by: Nathan Scott commit f9195ded25a4e8fba09c67aa24b42cd98a242d7d Author: Hans Verkuil Date: Wed Jan 11 19:01:01 2006 -0200 V4L/DVB (3347): Fixes some bad global variables - Debug global var is already used inside kernel, so renamed debug to tuner_debug for the tuner module Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f167cb4e6ee07914b66eb85fc0bf006a409b6838 Author: Mauro Carvalho Chehab Date: Wed Jan 11 19:41:49 2006 -0200 V4L/DVB (3345): Fixes some bad global variables - Debug global var is already used inside kernel. - v4l_dbg now expects the debug var - global vars inside msp34xx renamed to msp_* Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab commit b2a17e47ceb82d23dbf5c5fb24b5377e21486dce Author: Jiri Slaby Date: Wed Jan 11 19:41:40 2006 -0200 V4L/DVB (3344f): Stradis Kconfig url changed http://www.stradis.com/decoder.html returns `No input file specified.' Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f823f6793659e63f9f22d3d7617a457806d6d69a Author: Jiri Slaby Date: Wed Jan 11 19:41:32 2006 -0200 V4L/DVB (3344e): Stradis Lindent Stradis Lindent + some handwork Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 91fb8357c3e097a46eb6e92d03b284182172ce80 Author: Jiri Slaby Date: Wed Jan 11 19:41:21 2006 -0200 V4L/DVB (3344d): Stradis video little cleanup Unused function removed. Used container_of instead of for loop. Some small changes Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 9ae82293ff3a3057d939b4f56d57eeea2f91bbec Author: Jiri Slaby Date: Wed Jan 11 19:41:13 2006 -0200 V4L/DVB (3344c): Pci probing for stradis driver - Pci probing functions added, some functions were rewritten. - Use PCI_DEVICE macro. - dev_ used for printing when pci_dev available. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit d4437d3fada351d7f40bcc48a62c12b92e2ad9d8 Author: Arthur Othieno Date: Wed Jan 11 19:41:04 2006 -0200 V4L/DVB (3344b): don't ignore return from i2c_add_driver() for tuner-3036 The call to i2c_add_driver() may actually fail, but tuner-3036 ignores this and always returns 0, regardless. Fix it up so it returns what i2c_add_driver() does, instead. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 7408187d223f63d46a13b6a35b8f96b032c2f623 Author: Panagiotis Issaris Date: Wed Jan 11 19:40:56 2006 -0200 V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. Signed-off-by: Panagiotis Issaris Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 0b3af1b6df82cfdb54ae294ed860263011fa0408 Author: Ricardo Cerqueira Date: Wed Jan 11 19:40:45 2006 -0200 V4L/DVB (3344): Enable microtune for Pinnacle 300i boards - The Pinnacle 300i (like the PCTV Stereo) needs tda9887 port2 set to 1 for the tuner to work Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 6f44725986df6959058b4a0fc35dd215ef16f24a Author: Michael Krufky Date: Wed Jan 11 19:40:33 2006 -0200 V4L/DVB (3343): Add support for DViCO FusionHDTV DVB-T USB devices - Add support for DViCO FusionHDTV DVB-T USB devices (Thomson dtt7579 and LG z201 based) Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ca08ca01fdf0c944a04d35c2dc05dd3498f6c80e Author: Michael Krufky Date: Wed Jan 11 19:40:25 2006 -0200 V4L/DVB (3342): More whitespace cleanup in bttv-cards.c - More whitespace cleanup in bttv-cards.c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bc28636ad37717c53d3247964164cf7ca1aff9d7 Author: Michael Krufky Date: Wed Jan 11 19:40:17 2006 -0200 V4L/DVB (3341): whitespace cleanup: insert missing space before curly brackets - whitespace cleanup: insert missing space before curly brackets Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c Author: Julian Calaby Date: Wed Jan 11 19:40:09 2006 -0200 V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV) - Add bttv card MagicTV (rebranded MachTV) Signed-off-by: Julian Calaby Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 30367bfda384ccb96c0fe35aaa001c7624e9fd01 Author: Chris Pascoe Date: Wed Jan 11 19:40:01 2006 -0200 V4L/DVB (3339): Activate remote control on HVR1100 - Add a missing case which was preventing the operation of the HVR1100 remote. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 78bfe0b5b67fe126ed98608e42e42fb6ed9aabd4 Author: Michael S. Tsirkin Date: Wed Jan 11 11:47:34 2006 -0800 IPoIB: Take dev->xmit_lock around mc_list accesses dev->mc_list accesses must be protected by dev->xmit_lock. Found by Eli Cohen . Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 Author: David Woodhouse Date: Wed Jan 11 14:41:26 2006 +0000 [PATCH] fix/simplify mutex debugging code Let's switch mutex_debug_check_no_locks_freed() to take (addr, len) as arguments instead, since all its callers were just calculating the 'to' address for themselves anyway... (and sometimes doing so badly). Signed-off-by: David Woodhouse Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit aab8df141fdc4c4c9587521a24b6865390eaeb79 Author: Dave Airlie Date: Wed Jan 11 22:32:51 2006 +1100 drm: cleanup properly on drm module unload Cleanup multiple cards properly Signed-off-by: Dave Airlie commit 6ab65429b4871c42bfd0013f7f5e49d40c0642cd Author: Nathan Scott Date: Wed Jan 11 21:03:28 2006 +1100 [XFS] Fix compiler warnings from older gcc versions wrt printfalike arguments. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24901a Signed-off-by: Nathan Scott commit ca5ccbf98d792d8727e893765cc2df479ba399f2 Author: Nathan Scott Date: Wed Jan 11 21:03:04 2006 +1100 [XFS] Fix some build fallout from atime changes. SGI-PV: 946679 SGI-Modid: xfs-linux-melb:xfs-kern:24899a Signed-off-by: Nathan Scott commit 1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 Author: Tim Shimmin Date: Wed Jan 11 21:02:47 2006 +1100 [XFS] remove XFS_LOG_RES_DEBUG and turn on the res history all the time to get more useful error info on space for trans items SGI-PV: 947110 SGI-Modid: xfs-linux-melb:xfs-kern:24886a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit 71df099dc3f9cd17e8564eb647d7c1fb2ee83e2d Author: Yingping Lu Date: Wed Jan 11 21:02:29 2006 +1100 [XFS] xfssyncd is responsible for flushing inode or device's data by extracting the work from its queue. In addition, this processing also decrement the inode's i_count. If there are any remaining works in queue before this process terminates, we have unbalanced increment and decrement of i_count. Thus it can cause assertion failure of vn_count. The fix allows xyssyncd to process any remaining work before it is shutdown. SGI-PV: 945935 SGI-Modid: xfs-linux-melb:xfs-kern:203970a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 75e17b3caf29b262000dc7348f1be9a7d5403463 Author: Christoph Hellwig Date: Wed Jan 11 20:58:44 2006 +1100 [XFS] add helper to get xfs_inode from vnode SGI-PV: 947206 SGI-Modid: xfs-linux-melb:xfs-kern:203960a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 204ab25f36fbd44a24458c0227cf2629c8caf00d Author: Nathan Scott Date: Wed Jan 11 20:50:22 2006 +1100 [XFS] Fix up offset type inconsistencies and gcc warnings from earlier changes. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:24875a Signed-off-by: Nathan Scott commit da7f93e9eec0885317351eb8a20cc550ed48f470 Author: Christoph Hellwig Date: Wed Jan 11 20:49:57 2006 +1100 [XFS] fix up per-device xfsbufd SGI-PV: 947098 SGI-Modid: xfs-linux-melb:xfs-kern:203831a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f5e596bbef3b0fa583c66c5a83dc9737c0fe2610 Author: Christoph Hellwig Date: Wed Jan 11 20:49:42 2006 +1100 [XFS] fix writeback control handling fix a reversed condition on where to trylock and deal with block layer congestion properly. Patch from David Chinner and Christoph Hellwig. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203830a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6c4fe19f66a839bce68fcb7b99cdcb0f31c7a59e Author: Christoph Hellwig Date: Wed Jan 11 20:49:28 2006 +1100 [XFS] cluster rewrites We can cluster mapped pages aswell, this improves performances on rewrites since we can reduce the number of allocator calls. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203829a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 7336cea8c2737bbaf0296d67782f760828301d56 Author: Christoph Hellwig Date: Wed Jan 11 20:49:16 2006 +1100 [XFS] pass full 64bit offsets to xfs_add_to_ioend SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203828a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d5cb48aaac5bba1721bce3232e6fb022ade2c0b7 Author: Christoph Hellwig Date: Wed Jan 11 20:49:02 2006 +1100 [XFS] consolidate some code in xfs_page_state_convert The unmapped buffer case is very similar to delayed and unwritten extends. Reorganize the code to share some code for these cases. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203827a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 9260dc6b2ee011f728bae50edce11022567be096 Author: Christoph Hellwig Date: Wed Jan 11 20:48:47 2006 +1100 [XFS] various fixes for xfs_convert_page fix various bogusities in handling offets From David Chinner and Christoph Hellwig SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203826a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1defeac9d4fffa3eabc4fba887e8ff5b1da7f361 Author: Christoph Hellwig Date: Wed Jan 11 20:48:33 2006 +1100 [XFS] clean up the xfs_offset_to_map interface Currently we pass a struct page and a relative offset into that page around, and returns the current xfs_iomap_t if the block at the specified offset fits into it, or a NULL pointer otherwise. This patch passed the full 64bit offset into the inode that all callers have anyway, and changes the return value to a simple boolean. Also the function gets a more descriptive name: xfs_iomap_valid. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203825a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 10ce444428c2329eb2aaf84850b5c7c09cecc58c Author: Christoph Hellwig Date: Wed Jan 11 20:48:14 2006 +1100 [XFS] use pagevec lookups This reduces the time spend in the radix tree lookups and avoids unessecary look roundtrips. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203823a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 8d2ea6258123d7a92a1f6ec638a8cad4a0604c43 Author: Dave Airlie Date: Wed Jan 11 20:48:09 2006 +1100 drm: fixup drm bufs being just under the EOM If the mapping was just under the end of memory it would fail. Lets DRM start on my PCI card. Signed-off-by: Dave Airlie commit 78539fdfa4c21308e90c596f060df8114483862a Author: Christoph Hellwig Date: Wed Jan 11 20:47:41 2006 +1100 [XFS] Export pagevec_lookup for use on the XFS page writeout path, for dealing with delayed allocate and unwritten extents (as well). Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 97b1b999748d3cde6a3f381e0839e0f1082323e6 Author: Michael Ellerman Date: Wed Jan 11 16:41:29 2006 +1100 [PATCH] powerpc: Don't build crash.c for PPC32 arch/powerpc/kernel/crash.c isn't safe for PPC32 (yet?), so don't build it. Built with CONFIG_KEXEC=y for pmac32_defconfig, pseries_defconfig, and g5_defconfig. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a8b9ee7396ccc8db3bdb4108993556acbe2d3527 Author: David S. Miller Date: Wed Jan 11 00:15:16 2006 -0800 [MUTEX]: linux/mutex.h needs linux/linkage.h too Signed-off-by: David S. Miller commit 886c98d78652f78a64cb21516d3b25ffd5c05e94 Author: Kumar Gala Date: Tue Jan 10 22:36:37 2006 -0600 [PATCH] powerpc: Fix clean_files in arch/powerpc/boot Makefile clean-files was being set twice rather than being appended to. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c38a04b1ba67e488d94ec680a7dddd4e32d6ddfb Author: Paul Mackerras Date: Wed Jan 11 16:27:21 2006 +1100 powerpc/32: Fix compile error caused by pud_t/pgt_t confusion PPC32 is still using asm-generic/4level-fixup.h, but asm-powerpc/page.h was defining pud_t and pgd_t. Depending on the order in which files got included, this could result in a compilation error. Tweak the ifdef so that page.h doesn't try to define pud_t on ppc32 (which uses 2-level page tables). Signed-off-by: Paul Mackerras commit d274ba2081cce6ff59f94e608a348f20ba1fe775 Author: Linus Torvalds Date: Tue Jan 10 21:09:19 2006 -0800 x86: fix "make install" target Removing the dependency on the boot image build was good, but it also meant that the $< expansion by make needed to be done explicitly. Noted by Stephen Hemminger. Signed-off-by: Linus Torvalds commit 5bf887f2ff874e2cd881c34bbed974bee2c90808 Author: David S. Miller Date: Tue Jan 10 21:02:21 2006 -0800 [IPV6]: Fix modular build with netfilter enabled. Also, drop __exit marker from ipv6_netfilter_fini() as this can be invoked from inet6_init() error handling paths. Based upon a report from Stephen Hemminger. Signed-off-by: David S. Miller commit f6d6d4fcd180f8e47bf6b13fc6cce1e6c156d0ea Author: Christoph Hellwig Date: Wed Jan 11 15:40:13 2006 +1100 [XFS] Initial pass at going directly-to-bio on the buffered IO path. This allows us to submit much larger I/Os instead of sending down lots of small buffer_heads. To do this we need to have a rather complicated I/O submission and completion tracking infrastructure. Part of the latter has been merged already a long time ago for direct I/O support. Part of the problem is that we need to track sub-pagesize regions and for that we still need buffer_heads for the time beeing. Long-term I hope we can move to better data strucutures and/or maybe move this to fs/mpage.c instead of having it in XFS. Original patch from Nathan Scott with various updates from David Chinner and Christoph Hellwig. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203822a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit ce8e922c0e79c8093452ba9a124981332b75706b Author: Nathan Scott Date: Wed Jan 11 15:39:08 2006 +1100 [XFS] Complete the pagebuf -> xfs_buf naming convention transition, finally. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:24866a Signed-off-by: Nathan Scott commit 68bdb6eabcd2869caa795019961a5445a11b5bc1 Author: Yingping Lu Date: Wed Jan 11 15:38:31 2006 +1100 [XFS] Fixed delayed_blks assert failure during umount. The delayed_blks was caused by ENOSPC but not Rreclaimed by xfs_release or xfs_inactive. The fix changed the condition in xfs_release and xfs_inactive to invoke xfs_inactive_free_eofblocks for this special case, changed xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also changed xfs_write to set correct eof when ENOSPC occurs. SGI-PV: 946267 SGI-Modid: xfs-linux-melb:xfs-kern:203788a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit a6867a6815fa0241848d4620f2dbd2954f4405d7 Author: David Chinner Date: Wed Jan 11 15:37:58 2006 +1100 [XFS] Introduce per-filesystem delwri pagebuf flushing to reduce contention between filesystems and prevent deadlocks between filesystems when a flush dependency exists between them. SGI-PV: 947098 SGI-Modid: xfs-linux-melb:xfs-kern:24844a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 216d3b2acba469a9bee98a09bb957e012ba7bc25 Author: Tim Shimmin Date: Wed Jan 11 15:37:38 2006 +1100 [XFS] take out the call to vn_mark_bad() used when acl inherit fails and it needs to back out the inode creation. Tested by xfs_tests/077. SGI-PV: 930841 SGI-Modid: xfs-linux-melb:xfs-kern:24842a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit 794fe2dc65f1ec4acacc388053bb52d32d3a932e Author: Christoph Hellwig Date: Wed Jan 11 15:37:17 2006 +1100 [XFS] endianess annotations and tidying for the uuid code SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:203709a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 60a204f096dd67683f3993798e14905ee9828ba5 Author: Nathan Scott Date: Wed Jan 11 15:37:00 2006 +1100 [XFS] Fix a thinko when generating a forced shutdown stack trace. SGI-PV: 929558 SGI-Modid: xfs-linux-melb:xfs-kern:203817a Signed-off-by: Nathan Scott commit 0733af213f2859f7228229f3ac053c025f57d0d5 Author: Ryan Hankins Date: Wed Jan 11 15:36:44 2006 +1100 [XFS] Add a stack trace in the case of xfs_forced_shutdown. SGI-PV: 929558 SGI-Modid: xfs-linux-melb:xfs-kern:203701a Signed-off-by: Ryan Hankins Signed-off-by: Nathan Scott commit 77a7cce42509461067f49c484aee626f62162fbc Author: Nathan Scott Date: Wed Jan 11 15:35:57 2006 +1100 [XFS] Fix quotaoff logitem for project quota, affects log recovery only. SGI-PV: 946444 SGI-Modid: xfs-linux-melb:xfs-kern:24768a Signed-off-by: Nathan Scott commit c9c47b6e27ca49fb0eea6b021b4919cb2467c8e1 Author: Michael Ellerman Date: Wed Jan 11 15:27:25 2006 +1100 [PATCH] powerpc: Remove redundant setting of htab_address iSeries doesn't need to set the htab_address explicitly, htab_initialize() will do it for us later. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 446ada4a03808f128e8f28daa0f103dc69d22d5b Author: Nathan Scott Date: Wed Jan 11 15:35:44 2006 +1100 [XFS] Add an XFS callout to security_inode_init_security; SE Linux is not functional with XFS without this change. SGI-PV: 946762 SGI-Modid: xfs-linux-melb:xfs-kern:24766a Signed-off-by: Nathan Scott commit 7eb5476f68cd6c6e7a065083e1741a72a666ac6d Author: Michael Ellerman Date: Wed Jan 11 15:27:24 2006 +1100 [PATCH] powerpc: Add ibm,pft-size to iSeries device tree To make iSeries just a teensy bit less special, create ibm,pft-size properties in the iSeries device tree. We can then rely on htab_dt_scan_pftsize() to set ppc64_pft_size for us. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0e5e39bfd811be4612a23242353b426ac6438e03 Author: Kumar Gala Date: Tue Jan 10 22:12:23 2006 -0600 [PATCH] powerpc: Add some missing .gitignore's ignore generated files under arch/powerpc Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c2cd2550603d847b709035c4c6b666adf560d7b8 Author: Nathan Scott Date: Wed Jan 11 15:35:32 2006 +1100 [XFS] Fix v2 log bufsize reporting in /proc/mounts. SGI-PV: 946760 SGI-Modid: xfs-linux-melb:xfs-kern:24765a Signed-off-by: Nathan Scott commit 08264cbc9f4ded253e063ed4a804226b195e067c Author: Kumar Gala Date: Tue Jan 10 21:43:56 2006 -0600 [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support Updated Kconfig & Makefiles in prep for adding support for the Freescale MPC83xx family of processors to arch/powerpc. Moved around some config options that are more globally applicable to other PowerPC processors. Added a temporary config option (83xx) to match existing arch/ppc support for the MPC83xx line. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 42fe2b1f7fe788ed5304a7bfa0a0b0db81bc03a8 Author: Christoph Hellwig Date: Wed Jan 11 15:35:17 2006 +1100 [XFS] fix, speedup and simplify atime handling let the VFS handle atime updates and only sync back to the xfs inode when nessecary SGI-PV: 946679 SGI-Modid: xfs-linux-melb:xfs-kern:203362a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 7f52eb009306b8047031eaf64169a7ce437a26e7 Author: Geoff Levand Date: Tue Jan 10 19:47:37 2006 -0800 [PATCH] spufs: Suspend/restore MFC DMA operations at SPU context switch. The SPE Book IV indicates that MFC DMA operations must be suspended and restored on SPU context switch (in Step 8). This patch adds that operation, which is missing from the current spufs implementation. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit dd954c69d189cd91571b42d3f926e70351395dc3 Author: Christoph Hellwig Date: Wed Jan 11 15:34:50 2006 +1100 [XFS] turn xlog helper macros into real functions SGI-PV: 946205 SGI-Modid: xfs-linux-melb:xfs-kern:203360a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 24ee80882deb5777aeee6f75a05f178ab8fbfa69 Author: Eric Sandeen Date: Wed Jan 11 15:34:32 2006 +1100 [XFS] remove unused vars, args, & unneeded intermediate vars from zeroing code SGI-PV: 946641 SGI-Modid: xfs-linux-melb:xfs-kern:203328a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 65be60541909c7bf8c384cde3502c18cc362939e Author: Eric Sandeen Date: Wed Jan 11 15:34:19 2006 +1100 [XFS] remove unused "readonly" arg from xlog_find_tail and xlog_recover SGI-PV: 946611 SGI-Modid: xfs-linux-melb:xfs-kern:203307a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a Author: Haren Myneni Date: Tue Jan 10 19:25:25 2006 -0800 [PATCH] powerpc: fix for compile problem in kdump code when SMP disabled This patch fixes the compilation error (shown below) when CONFIG_SMP=n. arch/powerpc/kernel/crash.c: In function `crash_kexec_prepare_cpus': arch/powerpc/kernel/crash.c:236: error: implicit declaration of function `smp_release_cpus' Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 0d14824c0774d050cb4232e1e470e5fc9e32e587 Author: Nathan Scott Date: Wed Jan 11 15:33:51 2006 +1100 [XFS] Ensure max diosize reported is aligned with minimum diosize. SGI-PV: 910890 SGI-Modid: xfs-linux-melb:xfs-kern:24689a Signed-off-by: Nathan Scott commit ee2a4f7caa4a72cdf2329081a1f7eb9939df3aab Author: Nathan Scott Date: Wed Jan 11 15:33:36 2006 +1100 [XFS] Fix an intermittent pquota panic caused by dodgey quota flags to an umount dquot flush call. SGI-PV: 946444 SGI-Modid: xfs-linux-melb:xfs-kern:24680a Signed-off-by: Nathan Scott commit 3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0 Author: Nathan Scott Date: Wed Jan 11 15:33:02 2006 +1100 [XFS] Sort out cosmetic differences between user and kernel copies of some sources. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24659a Signed-off-by: Nathan Scott commit a255a7456d4051e804fd6efff9a7c0f43483a7fc Author: Nathan Scott Date: Wed Jan 11 15:32:30 2006 +1100 [XFS] Make d_maxiosz report the real maximum (INT_MAX) so we dont incorrectly limit people using this interface to size IO buffers. SGI-PV: 910890 SGI-Modid: xfs-linux-melb:xfs-kern:24657a Signed-off-by: Nathan Scott commit b04ed21a1fdbfe48ee0738519a4d1af09589dfea Author: Nathan Scott Date: Wed Jan 11 15:32:17 2006 +1100 [XFS] Disable write barriers for now till intermittent IO errors are understood. SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:202962a Signed-off-by: Nathan Scott commit 13059ff04c5071c3f6f8a4bd9e51631849f63fa4 Author: Nathan Scott Date: Wed Jan 11 15:32:01 2006 +1100 [XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and consistent. SGI-PV: 941645 SGI-Modid: xfs-linux-melb:xfs-kern:202961a Signed-off-by: Nathan Scott commit e13a73f02595c564e423bda5742fb8df4ebca455 Author: Christoph Hellwig Date: Wed Jan 11 15:30:08 2006 +1100 [XFS] Write log dummy record when freezing filesystem SGI-PV: 945483 SGI-Modid: xfs-linux-melb:xfs-kern:202638a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6bac953fa424519f784ba2589fefd8f040ce54f0 Author: Paul Mackerras Date: Wed Jan 11 15:30:07 2006 +1100 powerpc: Fix compile error when CONFIG_PROC_VMCORE is not defined We were getting elfcorehdr_addr undefined in this case. Signed-off-by: Paul Mackerras commit 1df84c930a5101223da016f256b46b192dbf2b30 Author: Christoph Hellwig Date: Wed Jan 11 15:29:52 2006 +1100 [XFS] Mark some lookup tables const. Thanks to Arjan van de Ven for spotting these. SGI-PV: 946028 SGI-Modid: xfs-linux-melb:xfs-kern:202617a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1661dc8e7a2c6aeb8f2fb6a8197909c95c220a71 Author: Yingping Lu Date: Wed Jan 11 15:29:39 2006 +1100 [XFS] Fixed an assertion failure in xfs_reclaim caused by delayed block. The assertion failure came from XFS QA41. The fix is done by enabling truncate for delayed block in xfs_inactive. SGI-PV: 945412 SGI-Modid: xfs-linux-melb:xfs-kern:202521a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit c7d437da3dda0ac7199c320b6a48c04ec37a614d Author: Christoph Hellwig Date: Wed Jan 11 15:28:56 2006 +1100 [XFS] do barrier checks earlier. quota initialization may write to the filesystem SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:202355a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 70a061f1fdbfa4805233a113868d059e9614731a Author: Nathan Scott Date: Wed Jan 11 15:28:45 2006 +1100 [XFS] Fix typo from when enabling write barriers by default, flags botch in showargs. SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:24383a Signed-off-by: Nathan Scott commit dd9f438e32900d67def49fa1b8961b3e19b6fefc Author: Nathan Scott Date: Wed Jan 11 15:28:28 2006 +1100 [XFS] Implement the di_extsize allocator hint for non-realtime files as well. Also provides a mechanism for inheriting this property from the parent directory for new files. SGI-PV: 945264 SGI-Modid: xfs-linux-melb:xfs-kern:24367a Signed-off-by: Nathan Scott commit 061f7209bdfb0193b306f88b4ff36b2574b001d3 Author: Nathan Scott Date: Wed Jan 11 15:27:50 2006 +1100 [XFS] Do not inherit properties for the quota inodes from the root inode. SGI-PV: 945264 SGI-Modid: xfs-linux-melb:xfs-kern:24366a Signed-off-by: Nathan Scott commit 4ef19dddbaf2f24e492c18112fd8a04ce116daca Author: Christoph Hellwig Date: Wed Jan 11 15:27:18 2006 +1100 [XFS] enable write barriers by default SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:201981a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d3a9b1f9da4ee3e6d284148412097621b1c9e575 Author: Christoph Hellwig Date: Wed Jan 11 15:23:43 2006 +1100 [XFS] merge xfs_arch.h userspace changes back SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:201882a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f60d36690ce11a6a41b89e63b4201fbba3aa0bfb Author: Christoph Hellwig Date: Wed Jan 11 15:22:04 2006 +1100 [XFS] remove over-eager assert SGI-PV: 941804 SGI-Modid: xfs-linux-melb:xfs-kern:201702a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 415c2e083a85f0daf6cbb4988691ac3ea9279509 Author: Stephen Rothwell Date: Wed Jan 11 13:51:22 2006 +1100 [PATCH] powerpc: fix up iSeries console after TTY layer buffering revamp Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 7a0268fa1a3613f2c526a9b3058701b277f6abe1 Author: Anton Blanchard Date: Wed Jan 11 13:16:44 2006 +1100 [PATCH] powerpc/64: per cpu data optimisations The current ppc64 per cpu data implementation is quite slow. eg: lhz 11,18(13) /* smp_processor_id() */ ld 9,.LC63-.LCTOC1(30) /* per_cpu__variable_name */ ld 8,.LC61-.LCTOC1(30) /* __per_cpu_offset */ sldi 11,11,3 /* form index into __per_cpu_offset */ mr 10,9 ldx 9,11,8 /* __per_cpu_offset[smp_processor_id()] */ ldx 0,10,9 /* load per cpu data */ 5 loads for something that is supposed to be fast, pretty awful. One reason for the large number of loads is that we have to synthesize 2 64bit constants (per_cpu__variable_name and __per_cpu_offset). By putting __per_cpu_offset into the paca we can avoid the 2 loads associated with it: ld 11,56(13) /* paca->data_offset */ ld 9,.LC59-.LCTOC1(30) /* per_cpu__variable_name */ ldx 0,9,11 /* load per cpu data Longer term we can should be able to do even better than 3 loads. If per_cpu__variable_name wasnt a 64bit constant and paca->data_offset was in a register we could cut it down to one load. A suggestion from Rusty is to use gcc's __thread extension here. In order to do this we would need to free up r13 (the __thread register and where the paca currently is). So far Ive had a few unsuccessful attempts at doing that :) The patch also allocates per cpu memory node local on NUMA machines. This patch from Rusty has been sitting in my queue _forever_ but stalled when I hit the compiler bug. Sorry about that. Finally I also only allocate per cpu data for possible cpus, which comes straight out of the x86-64 port. On a pseries kernel (with NR_CPUS == 128) and 4 possible cpus we see some nice gains: total used free shared buffers cached Mem: 4012228 212860 3799368 0 0 162424 total used free shared buffers cached Mem: 4016200 212984 3803216 0 0 162424 A saving of 3.75MB. Quite nice for smaller machines. Note: we now have to be careful of per cpu users that touch data for !possible cpus. At this stage it might be worth making the NUMA and possible cpu optimisations generic, but per cpu init is done so early we have to be careful that all architectures have their possible map setup correctly. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 193cac99f6d8604aca71e5a966a8cd1dfb84819d Author: Michael Neuling Date: Wed Jan 11 12:08:56 2006 +1100 [PATCH] powerpc: parallel port init fix This stops parport from accessing nonexistent parallel ports. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 296167ae1799815b9ed2d135a847436502f2ee91 Author: Michael Ellerman Date: Wed Jan 11 11:54:09 2006 +1100 [PATCH] powerpc: Make early debugging configurable via Kconfig This patch adds Kconfig entries to control the early debugging options, currently in setup_64.c. Doing this via Kconfig rather than #defines means you can have one source tree, which is buildable for multiple platforms - and you can enable the correct early debug option for each platform via .config. I made udbg_early_init() a static inline because otherwise GCC is to daft to optimise it away when debugging is off. Now that we have udbg_init_rtas() we can make call_rtas_display_status* static. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit bf6a7112bda99aadd6675526423a96be6b356a3d Author: Michael Ellerman Date: Wed Jan 11 11:54:08 2006 +1100 [PATCH] powerpc: Early debugging support for iSeries Connect iSeries up to the standard early debugging infrastructure. To actually use this you need to enable the iSeries early debugging in setup_64.c. Then after the messages are logged hit Ctrl-x Ctrl-x on your console to dump the Hypervisor console buffer. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit f481f1edee77b3d623457685add1c6b507c25d6f Author: Olaf Hering Date: Tue Jan 10 22:31:53 2006 +0100 [PATCH] powerpc: remove remaining crash_notes variable from machine_kexec.c remove remaining crash_notes definition to fix compile error /dev/shm/linux-2.6/arch/powerpc/kernel/machine_kexec.c:21: error: conflicting types for `crash_notes' /dev/shm/linux-2.6/include/linux/kexec.h:129: error: previous declaration of `crash_notes' Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit af9deabeb0298559227fd9b481d33aefcb15ca54 Author: linas Date: Tue Jan 10 15:18:16 2006 -0600 [PATCH] PCI Hotplug/powerpc: module build break The RPAPHP hoplug driver will not build as a module, because it calls on a pcibios routine which is not exported. This exports the symbol. Problem reported by Olaf Hering Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit ad2b2426bb8dce97827182946e33e7f7ff0afbce Author: Olaf Hering Date: Tue Jan 10 21:57:40 2006 +0100 [PATCH] enable the RTC driver in ppc64_defconfig Enable the RTC driver. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 9819d85c210f5953fffc1052060e589d633f20ed Author: Linus Torvalds Date: Tue Jan 10 19:35:19 2006 -0800 Fix net/core/wireless.c link failure It needs for compare_ether_addr() commit 58b6c58caef7a34eab7ec887288fa495696653e7 Author: Matthew Wilcox Date: Tue Jan 10 20:48:07 2006 -0500 [PARISC] Use STABS_DEBUG macro from vmlinux.lds.h Cleanup vmlinux.lds.S by using STABS_DEBUG macro from vmlinux.lds.h instead of repeating the sections. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit f45adcf977ac3c5512c17fd97b073bda99c81232 Author: Matthew Wilcox Date: Tue Jan 10 20:48:06 2006 -0500 [PARISC] Fix Dino reporting on J2240 Fix Dino reporting on J2240. This particular machine thought it had a Cujo. Also add J2240 Dino chip to the hp_hardware_list. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 4d62ce5d2a85976a2e6f2732980e59b21b2aa8d2 Author: Helge Deller Date: Tue Jan 10 20:48:05 2006 -0500 [PARISC] stifb: Remove obsolete MODULE_PARM() The bpp module parameter has been obsoleted in favour of a setup string, so remove the MODULE_PARM. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit daaeb6f8d3afdfa58ffeffb7ba168ccbd5969858 Author: Helge Deller Date: Tue Jan 10 20:48:04 2006 -0500 [PARISC] stifb: Fix framebuffer console at 32bpp Fix stifb framebuffer console at 32bpp on a HCRX-24 card by properly setting DIRECTCOLOR. Also a few nice cleanups to the code. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 5d6d1640a254b27d0f598007313065713c1e3a04 Author: Helge Deller Date: Tue Jan 10 20:48:03 2006 -0500 [PARISC] stifb: use F_EXTEND macro Use the F_EXTEND() macro instead of open coding it with an #ifdef. Provides a nice cleanup. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 02d79800a221eb4e54d80cbf2026af9edc1f437d Author: Alexey Dobriyan Date: Tue Jan 10 20:48:02 2006 -0500 [PARISC] Use C99 initializers in asm-parisc/processor.h Cleanup asm-parisc/processor.h to use C99 initializers in INIT_THREAD(). Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 4b991da7fec9b87acf86c250332ce15c2811255b Author: Thibaut VARENE Date: Tue Jan 10 20:48:01 2006 -0500 [PARISC] pdc_stable: More robust sysfs error checking pdc_stable 0.10: As mentioned on LKML, pdc_stable wasn't checky enough on the return values of some calls. This patch makes it more robust to errors when registering objects in sysfs. Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 9b9ff2e16a4609a7ab39b12e67fc56b51c8cd1f4 Author: Grant Grundler Date: Tue Jan 10 20:48:00 2006 -0500 [PARISC] Make PCI_HOST_ADDR and PCI_BUS_ADDR symmetrical Change to asm-parisc/pci.h makes the define of PCI_HOST_ADDR symmetrical with PCI_BUS_ADDR. Also add a comment about PA_VIEW and LMMIO/ELMMIO/GMMIO. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 7c0b67efe9e15fa81cfa332a9a6f6cd5f7941bbc Author: Guy Martin Date: Tue Jan 10 20:47:59 2006 -0500 [PARISC] Fix parport_gsc by selecting PARPORT_NOT_PC PARPORT_GSC requires selecting PARPORT_NOT_PC in order to work properly. Signed-off-by: Guy Martin Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 49efdd46eed353027096a765f40dd8af52ece5ae Author: Stuart Brady Date: Tue Jan 10 20:47:58 2006 -0500 [PARISC] OSS: Fix build of parisc harmony driver OSS Harmony got missed on the conversion of parisc_device.hpa to a struct resource... fix its build. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 5cdb8205e917c09fd1348e4b22e26492e8c45b36 Author: Grant Grundler Date: Tue Jan 10 20:47:57 2006 -0500 [PARISC] Fix BLK_BOUNCE_HIGH on parisc by initializing max_low_pfn max_low_pfn was not being set in arch/parisc/mm/init.c, causing severe problems whenever anything tried to use BLK_BOUNCE_HIGH. Set it to max_pfn like other similar architectures do. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 6ca45a24ccb847251f71aec8906746d33e99f33e Author: Grant Grundler Date: Tue Jan 10 20:47:56 2006 -0500 [PARISC] Truncate overlapping PAT PDC reported ranges Deal with overlapping LBA MMIO resources, rp3440 PDC BUG: PDC reports lmmio range for the last rope that overlaps with the CPU HPA. Console output was: ... Found devices: 1. Storm Peak Fast at 0xfffffffffe798000 [152] { 0, 0x0, 0x889, 0x00004 } 2. Storm Peak Fast at 0xfffffffffe799000 [153] { 0, 0x0, 0x889, 0x00004 } ... FAILED: lba_fixup_bus() request for lmmio_space [fffffffff0000000/fffffffffecffffe] Output is now: LBA: Truncating lmmio_space [fffffffff0000000/fffffffffecffffe] to [fffffffff0000000,fffffffffe797fff] My only concern with this patch is how C8000 (PAT PDC) will report elmmio ranges when a gfx card is installed. I'll have to test this another day. Signed-off-by: Grant Grundler Signed-off-by: James Bottomley Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 110957f0e521c8d14f97bbe955af2fa17bb720bf Author: Alexey Dobriyan Date: Tue Jan 10 20:47:56 2006 -0500 [PARISC] Add __iomem to __raw_check_addr() Add __iomem to __raw_check_addr(), which nukes ~13809 sparse warnings on allmodconfig. Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e8b736c860dd93ba26b391abc91891e03ca99858 Author: Helge Deller Date: Tue Jan 10 20:47:55 2006 -0500 [PARISC] Add some defines for HugeTLB pages Define some constants for HugeTLB pages, not that parisc-linux supports it yet. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 4d64c9f58e618b1bdbc91cb071e6c8d90f43d620 Author: Helge Deller Date: Tue Jan 10 20:47:54 2006 -0500 [PARISC] Introduce DINO_LOCAL_IRQS and use it for gsc_find_local_irq Fix dino by using DINO_LOCAL_IRQS as the limit for gsc_find_local_irq() instead of the irq itself. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit a01c8cb126cb5f5a592f01b08ff8859508c75ba1 Author: Matthew Wilcox Date: Tue Jan 10 20:47:53 2006 -0500 [PARISC] Fix GSC graphics cards with 64MB regions Make knapps work with its 64MB gfx card. I probably just broke another machine in the process, but assuming 64MB when 64MB aligned is probably safer than assuming 32MB all the time. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e0565a1c83a1045d8fae728056082262e712b201 Author: Kyle McMartin Date: Tue Jan 10 20:47:52 2006 -0500 [PARISC] Fix and cleanup ioremap.c to work with 4level-fixup.h Fixup ioremap a bit. It seems to work on 32-bit kernels, but fails miserably on the first ioremapped access on 64-bit kernels. Also, having STI enabled causes it to fail. Probably because we're passing an ioremapped region to a real-mode STI call... Signed-off-by: Kyle McMartin commit 45dbe9147dcad2b03f9d1397353d6eed9204da02 Author: Alexey Dobriyan Date: Tue Jan 10 20:47:51 2006 -0500 [PARISC] Add __user annotation to eisa_eeprom.c Annotate eisa_eeprom_read() with __user. Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 04d35d7324ed35983189bd396db7874a50bbea43 Author: Helge Deller Date: Tue Jan 10 20:47:50 2006 -0500 [PARISC] Fix Cirrus 6832 Cardbus on RDI Tadpole PARISC Laptop Fix irq-off-by-one for Cirrus 6832 Cardbus on RDI Tadpole PARISC Laptop. We just DECLARE_PCI_FIXUP_ENABLE as it is unlikely that this will be found in any other parisc system. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 1b2425e3c79984975a1a3e6fa84512f23d96da9f Author: Matthew Wilcox Date: Tue Jan 10 20:47:49 2006 -0500 [PARISC] Make local cache flushes take a void * Make flush_data_cache_local, flush_instruction_cache_local and flush_tlb_all_local take a void * so they don't have to be cast when using on_each_cpu(). This becomes a problem when on_each_cpu is a macro (as it is in current -mm). Also move the prototype of flush_tlb_all_local into tlbflush.h and remove its declaration from .c files. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 8039de10aae3cd4cf0ef0ccebd58aff0e8810df2 Author: Helge Deller Date: Tue Jan 10 20:35:03 2006 -0500 [PARISC] Add __read_mostly section for parisc Flag a whole bunch of things as __read_mostly on parisc. Also flag a few branches as unlikely() and cleanup a bit of code. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 7da942e5bc889bc970554876a8c03d7e2af9923d Author: Nicolas Kaiser Date: Wed Jan 11 02:10:28 2006 +0100 fs/proc/vmcore.c: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit c566c6dbf9cb0eed6e11ec7a4141e7af68ec2316 Author: Nicolas Kaiser Date: Wed Jan 11 02:08:57 2006 +0100 fs/attr.c: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 0563572bf47efdc02a059b923d3c1e589783c019 Author: Nicolas Kaiser Date: Wed Jan 11 02:07:34 2006 +0100 asm-powerpc: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 099f7f0a828bfef7b7047101cf52dc44a4b1d76f Author: Nicolas Kaiser Date: Wed Jan 11 02:06:20 2006 +0100 xfs: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit b8ab50bc554c2f9149e6d0ae741e05810e581ea5 Author: Nicolas Kaiser Date: Wed Jan 11 02:04:35 2006 +0100 netfilter: headers included twice Headers included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 864913f30dbd6f75b94045cd20ea0b082996287e Author: Paul Jackson Date: Wed Jan 11 02:01:38 2006 +0100 cpuset two little doc fixes Two little cpuset documentation fixes. Signed-off-by: Paul Jackson Signed-off-by: Adrian Bunk commit b56d55b69c5c787b279819f5c0c2d5f5864d0fc2 Author: Adrian Bunk Date: Wed Jan 11 02:00:10 2006 +0100 drivers/net/gianfar_sysfs.c: update email address of Kumar Gala drivers/net/gianfar_sysfs.c still contained the old email address of Kumar Gala. Signed-off-by: Adrian Bunk commit e8d2a424675d9878356397e2ecfc632bbf09aa2c Author: Jesper Juhl Date: Wed Jan 11 01:52:40 2006 +0100 add loglevel to printk in fs/afs/cmservice.c This is a small patch that adds loglevel to a printk in fs/afs/cmservice.c Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 74da6cd06225da6971943bea6a33f4cb7f6b76a3 Author: Jesper Juhl Date: Wed Jan 11 01:51:26 2006 +0100 missing printk loglevel and tiny tiny whitespace change in binfmt_elf() Patch adds a mising printk loglevel (I think KERN_WARNING is appropriate here) in fs/binfmt_elf.c, and while I was there I made some tiny tiny tiny adjustments to whitespacing in the neighborhood. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit e97a31117c0f96be6637f68b4029609bb1f2cc7c Author: Jesper Juhl Date: Wed Jan 11 01:50:28 2006 +0100 add missing printk loglevel in mm/swapfile.c in mm/swapfile.c a printk() is missing a loglevel. I believe the proper loglevel for this situation is KERN_ERR, so that's what the patch below sets -if you agree, please apply. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit ffd59daceb7db5f7c54f095c5529cec45222c1f1 Author: Jesper Juhl Date: Wed Jan 11 01:48:08 2006 +0100 Tiny esthetic changes to Documentation/laptop-mode.txt Here's a tiny patch making a few esthetic changes to Documentation/laptop-mode.txt To me this patch makes sense, but feel free to disagree, I don't feel strongly about it at all. It changes a single URL to its strictly correct form (directories should end in /), and it makes the arguments to main in an included example program follow convention and be named argc and argv. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 210bb9560cb697c950e803d0fdaf9869efefed54 Author: Adrian Bunk Date: Wed Jan 11 01:43:01 2006 +0100 MAINTAINERS: sh: update the mailing list Signed-off-by: Adrian Bunk commit 7823c7c121839f5a003acdf9c2f1839bfa2f6c43 Author: Luiz Fernando Capitulino Date: Wed Jan 11 01:38:27 2006 +0100 ext2: trivial indentation fix. This memset() line was indented with seven spaces, this patch fixes it to use a tab instead. Yes, very trivial but it's the third time I have to look at this line.. Signed-off-by: Luiz Capitulino Signed-off-by: Adrian Bunk commit 02706647a49011ae1e7b4eca33e835d1681b094e Author: Ingo Molnar Date: Tue Jan 10 23:15:02 2006 +0100 [PATCH] mutex: trivial whitespace cleanups Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit c544bdb1999e04eb10035f1c3262a103859d94b2 Author: Ingo Molnar Date: Tue Jan 10 22:10:36 2006 +0100 [PATCH] mark mutex_lock*() as might_sleep() Mark mutex_lock() and mutex_lock_interruptible() as might_sleep() functions. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 73165b88ffd29813bf73b331eaf90d3521443236 Author: Ingo Molnar Date: Tue Jan 10 22:07:44 2006 +0100 [PATCH] fix i386 mutex fastpath on FRAME_POINTER && !DEBUG_MUTEXES Call the mutex slowpath more conservatively - e.g. FRAME_POINTERS can change the calling convention, in which case a direct branch to the slowpath becomes illegal. Bug found by Hugh Dickins. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 042c904c3e35e95ac911e8a2bf4097099b059e1a Author: Ingo Molnar Date: Tue Jan 10 15:48:59 2006 -0500 [PATCH] remove unnecessary asm/mutex.h from kernel/mutex-debug.c Remove unnecessary (and incorrect) inclusion of asm/mutex.h, pointed out by David Howells. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 8a4c8a96a47c9e2f08156fd9664974df086eed50 Author: Bart De Schuymer Date: Tue Jan 10 13:12:22 2006 -0800 [EBTABLES] Don't match tcp/udp source/destination port for IP fragments Signed-off-by: Bart De Schuymer Signed-off-by: David S. Miller commit 65e480ac551a7d95969aa824f77d7160a74cf08d Author: Adrian Bunk Date: Tue Jan 10 13:11:44 2006 -0800 [IRDA] DONGLE_OLD: remove dependency on non-existing symbol Jean-Luc Leger reported this alternative dependency on a non-existing symbol. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 214ad78437544b20c3c0d5c2acb24650ce6e4db8 Author: Adrian Bunk Date: Tue Jan 10 13:10:02 2006 -0800 [IRDA]: kill drivers/net/irda/sir_core.c EXPORT_SYMBOL's do nowadays belong to the files where the actual functions are. Moving the module_init/module_exit to the file with the actual functions has the advantage of saving a few bytes due to the removal of two functions. Signed-off-by: Adrian Bunk Acked-by: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 79a34648e488a41be92369c72aa9784bd4d741f9 Author: Jesper Juhl Date: Tue Jan 10 13:09:01 2006 -0800 [ATM]: Remove unneeded kmalloc() return value casts + tiny whitespace cleanup Small cleanups for drivers/atm/zatm.c Get rid of unneeded cast of kmalloc() return value. Small whitespace/CodingStyle/formatting cleanup (since I was in there anyway). Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 12fe2c588df77d60dfe13b432f95d00f76b8c969 Author: Jesper Juhl Date: Tue Jan 10 13:08:21 2006 -0800 [NET]: Remove unneeded kmalloc() return value casts Get rid of needless casting of kmalloc() return value in net/ Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ea2e90dfcee2c09eff8a180976ace071922663a5 Author: Jesper Juhl Date: Tue Jan 10 13:07:44 2006 -0800 [RXRPC]: Decrease number of pointer derefs in connection.c Decrease the number of pointer derefs in net/rxrpc/connection.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ad8e4b75c8a7bed475d72ce09bf5267188621961 Author: Martin Murray Date: Tue Jan 10 13:02:29 2006 -0800 [AF_NETLINK]: Fix DoS in netlink_rcv_skb() From: Martin Murray Sanity check nlmsg_len during netlink_rcv_skb. An nlmsg_len == 0 can cause infinite loop in kernel, effectively DoSing machine. Noted by Matin Murray. Signed-off-by: Chris Wright Signed-off-by: David S. Miller commit babbdb1a18d37e57acae7e348ef122f2b905df0a Author: Patrick McHardy Date: Mon Jan 9 17:48:09 2006 -0800 [NETFILTER]: Fix timeout sysctls on big-endian 64bit architectures The connection tracking timeout variables are unsigned long, but proc_dointvec_jiffies is used with sizeof(unsigned int) in the sysctl tables. Since there is no proc_doulongvec_jiffies function, change the timeout variables to unsigned int. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9d28026b7ec0f3e2a407d5c03fcb37d0b59d1add Author: Patrick McHardy Date: Mon Jan 9 16:44:36 2006 -0800 [NETFILTER]: Remove unused function from NAT protocol helpers ->print and ->print_range are not used (and apparently never were). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c07bc1ffbdc14312b214b56fa39f4a4ab1406b8e Author: Patrick McHardy Date: Mon Jan 9 16:44:18 2006 -0800 [NETFILTER]: Fix return value confusion in PPTP NAT helper ip_nat_mangle_tcp_packet doesn't return NF_* values but 0/1 for failure/success. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 03b9feca89366952ae5dfe4ad8107b1ece50b710 Author: Patrick McHardy Date: Mon Jan 9 16:44:00 2006 -0800 [NETFILTER]: Fix another crash in ip_nat_pptp The PPTP NAT helper calculates the offset at which the packet needs to be mangled as difference between two pointers to the header. With non-linear skbs however the pointers may point to two seperate buffers on the stack and the calculation results in a wrong offset beeing used. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 15db34702cfafd24acc60295cf14861e497502ab Author: Patrick McHardy Date: Mon Jan 9 16:43:43 2006 -0800 [NETFILTER]: Fix crash in ip_nat_pptp When an inbound PPTP_IN_CALL_REQUEST packet is received the PPTP NAT helper uses a NULL pointer in pointer arithmentic to calculate the offset in the packet which needs to be mangled and corrupts random memory or crashes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit bb94aa169eaa6e713a429370d37388722f08666f Author: Patrick McHardy Date: Mon Jan 9 16:43:13 2006 -0800 [NETFILTER]: net/ipv[46]/netfilter.c cleanups Don't wrap entire file in #ifdef CONFIG_NETFILTER, remove a few unneccessary includes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d3f4a687f683f536506d0aa6b22e6cb3e79639ce Author: Kris Katterjohn Date: Mon Jan 9 16:01:43 2006 -0800 [NET]: Change memcmp(,,ETH_ALEN) to compare_ether_addr() This changes some memcmp(one,two,ETH_ALEN) to compare_ether_addr(one,two). Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 770cfbcffdf0011ecf3a12435ecb5604c4c97a19 Author: Stephen Hemminger Date: Mon Jan 9 15:56:09 2006 -0800 [INET]: congestion and af_ops can be const The congestion ops and af_ops in the inet_connection_sock can be const. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a3e49436867e6c7acc1b5eed21d30c88d156825b Author: Nicolas Pitre Date: Tue Jan 10 19:48:02 2006 +0000 [ARM] 3252/1: help gcc do the best with ___arch__swab32 Patch from Nicolas Pitre Depending on your gcc version, the current C-only implementation would produce suboptimal code, ranging from a bad register selection forcing an additional mov instruction to a failure to merge the eor and the ror in a single instruction. With a little help gcc always produces the best code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 49cd619c69d643b30a24029e40eb5364c7a26b2e Author: Alan Cox Date: Mon Jan 9 09:35:28 2006 -0500 [PATCH] moxa serial: add proper capability check This requires the proper capabilities for the moxa bios update ioctl's. Signed-off-by: Linus Torvalds commit 19dbaf6f6f0f3b766df08594446d64747a5cced3 Author: Greg Ungerer Date: Tue Jan 10 17:02:57 2006 +1000 [PATCH] m68knommu: save reg a5 on context change Fix a5 register corruption when processing user space signals handlers. We need to save a5 through each contenxt change. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 3960f2faaf0a67ad352bd5d4085e43f19f33ab91 Author: Greg Ungerer Date: Tue Jan 10 17:00:39 2006 +1000 [PATCH] m68knommu: fix find_next_zero_bit in bitops.h We're starting a number of big applications (memory footprint app. 1MByte) on our Arcturus uC5272. Therefore memory fragmentation is a real pain for us. We've switched to uClinux-2.4.27-uc1 and found that page_alloc2 fragments the memory heavily. Digging into it we found a bug in the find_next_zero_bit function in the m68knommu/bitops.h file. if the size isn't a multiple of 32 than the upper bits of the last word to be searched should be masked. But the functions masks the lower bits of the last word because it uses a right shift instead of a left shift operator. Patch submitted by Sascha Smejkal Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 845884d332c060b0dfc54ba5a580d0f1a99c58a2 Author: Greg Ungerer Date: Tue Jan 10 16:59:37 2006 +1000 [PATCH] uclinux: delay binfmt_flat trace Modify the initial trace output (which is based on flags in the binary header) so that it is not done until after the magic number check. This may well not be a flat format binary, so the flags could be invalid. (Prime example, running a script). Changes prompted by patches from Stuart Hughs. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 082f2c1cc7aa7aabdbf5235b788ff42e10abb399 Author: Greg Ungerer Date: Tue Jan 10 16:59:04 2006 +1000 [PATCH] m68knommu: set irq priority/level different for each ColdFire serial port Set the hardware interrupt priority to a different value for each attached ColdFire serial port. According to the CPU documentation you should not use the same combination of level/priority on more than one device. People have reported odd serial port behavior with them set the same. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 892b62527fb3cd6753d6d2b79b5f21259f344cf5 Author: Greg Ungerer Date: Tue Jan 10 16:58:16 2006 +1000 [PATCH] m68knommu: allow configure of FEC for M520x CPU family Allow the ColdFire FEC ethernet driver to be enabled on the M520x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 694d855fbc797141960a3907019c442240ed8a0f Author: Greg Ungerer Date: Tue Jan 10 16:43:39 2006 +1000 [PATCH] m68knommu: fix ram length of m5208evb board Adjust length of M5208EVB ram define. It should size up to 32MB after adding in the dBUG reserved 128k. Problem pointed out be Milton Miller . Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 01829e7212dd9ba3fa68bf8afffc9a175c44cb04 Author: Greg Ungerer Date: Tue Jan 10 16:42:59 2006 +1000 [PATCH] m68knommu: fix a5 reg corruption in signal handlers This is a patch adapted from a posting by Andrea Tarani which was pointed out to me by Bernardo Innocenti. Thanks to both of them for their help and patience. The original posting is here: http://mailman.uclinux.org/pipermail/uclinux-dev/2005-July/033543.html The problem first manifest itself as busybox ping terminating with an "Illegal instruction". I reduced this to a test case and found that variable size arrays allocated on the stack could lead to stacks not aligned on 32 bit boundaries. For the Coldfire this proved fatal. Having been pointed out this patch by Bernardo, I applied it and it fixed the first test case. I then went back to busybox's ping. This still failed with "Illegal instruction", but in a different way. Before it depended on the size allocated for the ping buffer, now it happened every time. I also found it depended on optimisation level (gcc-3.4.0) -Os was okay but not -O2. After a lot of looking, it turned out that register a5 was being corrupted by the signal handler (after applying the patch). I re-worked the patch a bit to save/restore a5 and now all seems well. Patch submitted by Stuart Hughs Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit afc7cd8950572786c87ad081d8e65e5ea58b563c Author: Greg Ungerer Date: Tue Jan 10 16:42:18 2006 +1000 [PATCH] m68knommu: fix mangled 'truct' in ptrace.c Fix broken "truct" -> "struct" in arch_ptrace() parameter list. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit db10cb8e9906a43c8fa49b3fab547b365bc2c666 Author: Greg Ungerer Date: Tue Jan 10 16:40:21 2006 +1000 [PATCH] m68knommu: don't set gcc optimizer flags Don't specify compiler optimization flags in the m68knommu Makefile. Let the top level Makefile/config set it. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 82409799853c3cabc4b17533ff640a95bef01358 Author: Greg Ungerer Date: Tue Jan 10 16:39:35 2006 +1000 [PATCH] h8300: remove MAGIC_ROM_PTR from memory.c Remove obsolete MAGIC_ROM_PTR code from h8300 architecture. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7ba6b5ece34fb799f63c72c35a30dac8aca735eb Author: Greg Ungerer Date: Tue Jan 10 16:39:30 2006 +1000 [PATCH] h8300: remove MAGIC_ROM_PTR from k8300_ksyms.c Remove obsolete MAGIC_ROM_PTR code from h8300 architecture. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b016450f9f603210239e1a91e3c28f17c310dcc7 Author: Richard Purdie Date: Tue Jan 10 17:16:12 2006 +0000 [ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc Patch from Richard Purdie Change mainstone and sharpsl pxa2xx pcmcia drivers to use platform_device_alloc which fixes a memory leak. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 49978db4f39950cdaaf967e1aad4a324bdc2e180 Author: Andrew Victor Date: Tue Jan 10 16:59:29 2006 +0000 [ARM] 3247/1: AT91RM9200 support for 2.6 (Cogent CSB337 & CSB637 boards) (Patch #3244) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the support for the Cogent CSB337 and CSB637 boards. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit f0a13854be269357ff70022524ec503d3cba6a32 Author: Andrew Victor Date: Tue Jan 10 16:59:28 2006 +0000 [ARM] 3243/2: AT91RM9200 support for 2.6 (Atmel DK & EK boards) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the support for Atmel's DK and EK boards. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 1e6c9c2878c9c1f301449c78551e0b7c5f3e3ae5 Author: Andrew Victor Date: Tue Jan 10 16:59:27 2006 +0000 [ARM] 3242/2: AT91RM9200 support for 2.6 (Serial) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the Serial driver. This version uses the newly re-written GPL'ed hardware headers. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 4f47707b056bd2e3627ef390557ee93d312daba5 Author: Linus Torvalds Date: Tue Jan 10 08:56:39 2006 -0800 Fix rpc shutdown event condition bug We want to wait for the cl_users to go down to zero, not for it to stay positive. Quoth Trond (who wasn't even the author, but acked the wrong version): "Argh! I need to increase my daily caffeine dosages." Signed-off-by: Linus Torvalds commit a9c828155ae8d1a1576f9648cc4d9677aea53f89 Author: Oleg Nesterov Date: Tue Jan 10 17:24:53 2006 +0300 [PATCH] rcu: fix hotplug-cpu ->donelist leak Pointed out by Srivatsa Vaddagiri . rcu_do_batch() stops after processing maxbatch callbacks on ->donelist leaving rcu_tasklet in TASKLET_STATE_SCHED state. If CPU_DEAD event happens remaining ->donelist entries are lost, rcu_offline_cpu() kills this tasklet. With this patch ->donelist migrates along with ->curlist and ->nxtlist to the current cpu. Compile tested. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Cc: Srivatsa Vaddagiri Cc: Dipankar Sarma Signed-off-by: Linus Torvalds commit 69a0b3157983925f14fe0bdc49622d5389538d8d Author: Oleg Nesterov Date: Tue Jan 10 16:48:02 2006 +0300 [PATCH] rcu: join rcu_ctrlblk and rcu_state This patch moves rcu_state into the rcu_ctrlblk. I think there are no reasons why we should have 2 different variables to control rcu state. Every user of rcu_state has also "rcu_ctrlblk *rcp" in the parameter list. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit c0400dc507a4345357fc25f13e8ac929287688a8 Author: Andrey Borzenkov Date: Tue Jan 10 11:27:00 2006 +0100 [PATCH] ide-cd: clear random-write capability it not supported Add CDC-RAM to capability mask. This prevents udev incorrectly reporting RAM capabilities for device. Signed-off-by: Andrey Borzenkov Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit daef265f1590cf3e6de989d074041a280c82d58b Author: Jens Axboe Date: Tue Jan 10 10:48:02 2006 +0100 [PATCH] dm: don't enable bouncing by default DM doesn't need to bounce bio's on its own, but the block layer defaults to that in blk_queue_make_request(). The lower level drivers should bounce ios themselves, that is what they need to do if not layered below dm anyways. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 00d6da9b4d6707b808481372537adb0fb38f99b3 Author: Jens Axboe Date: Tue Jan 10 10:43:54 2006 +0100 [PATCH] cdrom: kill "open failed" error message This triggers all the time with the various polled event programs, change it to CD_OPEN so it's supressed by default. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 4ff57935ad0f1620269f4b08e8acfda619cc5e4b Author: Jens Axboe Date: Tue Jan 10 09:44:39 2006 +0100 [PATCH] ide: preserve errors for failed requests To preserve the ->errors values for requests that failed, use the normal completion path for that. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit c8d52465f95c4187871f8e65666c07806ca06d41 Author: Anton Blanchard Date: Tue Jan 10 18:21:20 2006 +1100 [PATCH] Work around ppc64 compiler bug In the process of optimising our per cpu data code, I found a ppc64 compiler bug that has been around forever. Basically the current RELOC_HIDE can end up trashing r30. Details of the bug can be found at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25572 This bug is present in all compilers before 4.1. It is masked by the fact that our current per cpu data code is inefficient and causes other loads that end up marking r30 as used. A workaround identified by Alan Modra is to use the =r asm constraint instead of =g. Signed-off-by: Anton Blanchard [ Verified that this makes no real difference on x86[-64] */ Signed-off-by: Linus Torvalds commit 9979ead5d1eb23191a00453559927c5abf9087e2 Author: Adrian Bunk Date: Mon Jan 9 20:54:52 2006 -0800 [PATCH] fs/hfsplus/: remove the hfsplus_inode_check() debug function This patch removes the hfsplus_inode_check() debug function. It also removes the now obsolete last_inode_cnt and inode_cnt from struct hfsplus_sb_info. Signed-off-by: Adrian Bunk Acked-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f346f4b373aa320fb0337a3b504e3fb5344abc0b Author: Adrian Bunk Date: Mon Jan 9 20:54:51 2006 -0800 [PATCH] let MAGIC_SYSRQ no longer depend on DEBUG_KERNEL I know several people using MAGIC_SYSRQ not for kernel debugging but for trying to do a halfway normal shutdown in case of problems. Since there's no technical reason why MAGIC_SYSRQ would have to depend on DEBUG_KERNEL, I'm therefore suggesting to drop this dependency. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c29c4c5f28616f2a87f0e6499aa9776d9be58ad Author: Adrian Bunk Date: Mon Jan 9 20:54:50 2006 -0800 [PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype There's no need to guard the normalize_rt_tasks() prototype with an #ifdef CONFIG_MAGIC_SYSRQ. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d974837ae076101d33a59eefc6bfef923eaa0e32 Author: Adrian Bunk Date: Mon Jan 9 20:54:49 2006 -0800 [PATCH] kernel/resource.c: __check_region(): remove pointless __deprecated If a __deprecated is desired it should go to the prototype in the header (where it currently isn't). But at this place it's pointless. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51d53bd3eb82b953bfd58d0e9c935c34dfb34808 Author: Adrian Bunk Date: Mon Jan 9 20:54:48 2006 -0800 [PATCH] video/matrox/matroxfb_misc.c: remove dead code The Coverity checker spotted this dead code. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca5ed2f5c7bf3ca51598336fcc1436b5da129f34 Author: Adrian Bunk Date: Mon Jan 9 20:54:47 2006 -0800 [PATCH] include/asm-sh64/: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0795cf46d174d4faab35d13d0a088b5bcb2752a Author: Jesper Juhl Date: Mon Jan 9 20:54:46 2006 -0800 [PATCH] selinux: Remove unneeded k[cm]alloc() return value casts Remove redundant casts of k*alloc() return values in security/selinux/ss/services.c Signed-off-by: Jesper Juhl Acked-by: Stephen Smalley Cc: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 792db3af38a55b2079df504b9f5aa57b2dbee48d Author: Jesper Juhl Date: Mon Jan 9 20:54:45 2006 -0800 [PATCH] fs/binfmt_elf: Remove unneeded kmalloc() return value casts Remove unneeded casts of kmalloc() return value in binfmt_elf. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 352d768b19408d3c019a3fa09fd5bfed99a55bc6 Author: Jesper Juhl Date: Mon Jan 9 20:54:44 2006 -0800 [PATCH] Decrease number of pointer derefs in multipath.c Decrease the number of pointer derefs in drivers/md/multipath.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Acked-by: Ingo Molnar Cc: Alasdair G Kergon Acked-by: NeilBrown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3795e1616f16905889761536cdc266ebc51855e5 Author: Jesper Juhl Date: Mon Jan 9 20:54:39 2006 -0800 [PATCH] Decrease number of pointer derefs in exit.c Decrease the number of pointer derefs in kernel/exit.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a547dfe9563c49fd0f9743640e01d1d652119ec7 Author: Jiri Slaby Date: Mon Jan 9 20:54:26 2006 -0800 [PATCH] char/isicom: More whitespaces and coding style Wrap all the code to 80 chars on a line. `}\nelse' changed to `} else'. Clean whitespaces in header file. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65c1db19fe8177fa2da53e3e0bddffe585b2d47 Author: Jiri Slaby Date: Mon Jan 9 20:54:25 2006 -0800 [PATCH] char/isicom: Firmware loading Firmware loading via hotplug added. Cleanup firmware old-way fields in header file. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac0948b20f76d9659add91f868c57383ea1e4e5 Author: Jiri Slaby Date: Mon Jan 9 20:54:24 2006 -0800 [PATCH] char/isicom: Pci probing added Pci probing functions added, most of functions rewrited because of it (some for loops were redundant). Used PCI_DEVICE macro. dev_* used for printing wherever possible. Renamed some functions to have isicom_ in the name. Signed-off-by: Jiri Slaby Signed-off-by: Laurent Riffard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaa246ea78c68cd205f505070650cda7c5a95d34 Author: Jiri Slaby Date: Mon Jan 9 20:54:23 2006 -0800 [PATCH] char/isicom: Other little changes Move some code from one place to another. Get rid of ugly ifdefs in code in next p[patches, so here create functions and macros to enable it. Rename some functions and align some code to 80 chars. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8070e35c6524e0f254cd69f493c50811e8e5b856 Author: Jiri Slaby Date: Mon Jan 9 20:54:22 2006 -0800 [PATCH] char/isicom: Type conversion and variables deletion Type which is needed to have accurate size was converted to [us]{8,16}. Removed void * cast. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8d16e47442a84d7fefc7ff839952ddfc919e495 Author: Jiri Slaby Date: Mon Jan 9 20:54:21 2006 -0800 [PATCH] char/isicom: Whitespace cleanup Trailing spaces and tabs and space used for indentation deleted. Indented content of structures. Switch/case indent. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9e39538ce7c52e45e653e777d73ed373189c20d Author: Alan Cox Date: Mon Jan 9 20:54:20 2006 -0800 [PATCH] clean up computone remaining cli use Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c58cbb6cbb635f53c8b340ae8da9e84b263cc41a Author: Grant Coady Date: Mon Jan 9 20:54:18 2006 -0800 [PATCH] n_hdlc.c: remove unused declaration drivers/char/n_hdlc.c:194: warning: `n_hdlc_tty_room' declared `static' but never defined Signed-off-by: Grant Coady Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33f0f88f1c51ae5c2d593d26960c760ea154c2e2 Author: Alan Cox Date: Mon Jan 9 20:54:13 2006 -0800 [PATCH] TTY layer buffering revamp The API and code have been through various bits of initial review by serial driver people but they definitely need to live somewhere for a while so the unconverted drivers can get knocked into shape, existing drivers that have been updated can be better tuned and bugs whacked out. This replaces the tty flip buffers with kmalloc objects in rings. In the normal situation for an IRQ driven serial port at typical speeds the behaviour is pretty much the same, two buffers end up allocated and the kernel cycles between them as before. When there are delays or at high speed we now behave far better as the buffer pool can grow a bit rather than lose characters. This also means that we can operate at higher speeds reliably. For drivers that receive characters in blocks (DMA based, USB and especially virtualisation) the layer allows a lot of driver specific code that works around the tty layer with private secondary queues to be removed. The IBM folks need this sort of layer, the smart serial port people do, the virtualisers do (because a virtualised tty typically operates at infinite speed rather than emulating 9600 baud). Finally many drivers had invalid and unsafe attempts to avoid buffer overflows by directly invoking tty methods extracted out of the innards of work queue structs. These are no longer needed and all go away. That fixes various random hangs with serial ports on overflow. The other change in here is to optimise the receive_room path that is used by some callers. It turns out that only one ldisc uses receive room except asa constant and it updates it far far less than the value is read. We thus make it a variable not a function call. I expect the code to contain bugs due to the size alone but I'll be watching and squashing them and feeding out new patches as it goes. Because the buffers now dynamically expand you should only run out of buffering when the kernel runs out of memory for real. That means a lot of the horrible hacks high performance drivers used to do just aren't needed any more. Description: tty_insert_flip_char is an old API and continues to work as before, as does tty_flip_buffer_push() [this is why many drivers dont need modification]. It does now also return the number of chars inserted There are also tty_buffer_request_room(tty, len) which asks for a buffer block of the length requested and returns the space found. This improves efficiency with hardware that knows how much to transfer. and tty_insert_flip_string_flags(tty, str, flags, len) to insert a string of characters and flags For a smart interface the usual code is len = tty_request_buffer_room(tty, amount_hardware_says); tty_insert_flip_string(tty, buffer_from_card, len); More description! At the moment tty buffers are attached directly to the tty. This is causing a lot of the problems related to tty layer locking, also problems at high speed and also with bursty data (such as occurs in virtualised environments) I'm working on ripping out the flip buffers and replacing them with a pool of dynamically allocated buffers. This allows both for old style "byte I/O" devices and also helps virtualisation and smart devices where large blocks of data suddenely materialise and need storing. So far so good. Lots of drivers reference tty->flip.*. Several of them also call directly and unsafely into function pointers it provides. This will all break. Most drivers can use tty_insert_flip_char which can be kept as an API but others need more. At the moment I've added the following interfaces, if people think more will be needed now is a good time to say int tty_buffer_request_room(tty, size) Try and ensure at least size bytes are available, returns actual room (may be zero). At the moment it just uses the flipbuf space but that will change. Repeated calls without characters being added are not cumulative. (ie if you call it with 1, 1, 1, and then 4 you'll have four characters of space. The other functions will also try and grow buffers in future but this will be a more efficient way when you know block sizes. int tty_insert_flip_char(tty, ch, flag) As before insert a character if there is room. Now returns 1 for success, 0 for failure. int tty_insert_flip_string(tty, str, len) Insert a block of non error characters. Returns the number inserted. int tty_prepare_flip_string(tty, strptr, len) Adjust the buffer to allow len characters to be added. Returns a buffer pointer in strptr and the length available. This allows for hardware that needs to use functions like insl or mencpy_fromio. Signed-off-by: Alan Cox Cc: Paul Fulghum Signed-off-by: Hirokazu Takata Signed-off-by: Serge Hallyn Signed-off-by: Jeff Dike Signed-off-by: John Hawkes Signed-off-by: Martin Schwidefsky Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ed80991a2dce4afc113be35089c564d62fa1f11 Author: Andrew Morton Date: Mon Jan 9 20:54:09 2006 -0800 [PATCH] tty-layer-buffering-revamp: jsm is broken Looks like JSM will be uncompilable after the TTY layer rework is merged into Linus's post-2.6.15 tree. It was complex to fix - the maintainers were notified in September. Cc: Wendy Xiong Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e91c55b32a469d9dda845a90038c015a70838e3 Author: Paul Jackson Date: Mon Jan 9 20:54:08 2006 -0800 [PATCH] Serial: disable jsm in ppc64 defconfig Changes to the serial driver to remove flip buffers have broken the serial jsm driver. It doesn't even compile anymore. The jsm driver was enabled in only one defconfig - ppc64. In order to keep defconfigs building, disable CONFIG_SERIAL_JSM for the time being. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87c2ce3b9305b9b723faeedf6e32ef703ec9b33a Author: Adrian Bunk Date: Mon Jan 9 20:54:07 2006 -0800 [PATCH] lib/zlib*: cleanups This patch contains the following possible cleanups: - #if 0 the following unused functions: - zlib_deflate/deflate.c: zlib_deflateSetDictionary - zlib_deflate/deflate.c: zlib_deflateParams - zlib_deflate/deflate.c: zlib_deflateCopy - zlib_inflate/infblock.c: zlib_inflate_set_dictionary - zlib_inflate/infblock.c: zlib_inflate_blocks_sync_point - zlib_inflate/inflate_sync.c: zlib_inflateSync - zlib_inflate/inflate_sync.c: zlib_inflateSyncPoint - remove the following unneeded EXPORT_SYMBOL's: - zlib_deflate/deflate_syms.c: zlib_deflateCopy - zlib_deflate/deflate_syms.c: zlib_deflateParams - zlib_inflate/inflate_syms.c: zlib_inflateSync - zlib_inflate/inflate_syms.c: zlib_inflateSyncPoint Signed-off-by: Adrian Bunk Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3af13763d696468d31f71a798155b33f681f221f Author: Adrian Bunk Date: Mon Jan 9 20:54:06 2006 -0800 [PATCH] fs/ext3/: small cleanups This patch contains the following cleanups: - there's no need for ext3_count_free() #ifndef EXT3FS_DEBUG - having prototypes for ext3_count_free() in two different headers is nonsense Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4610a6bea7742ab34e40dcb776bd3feb52da10d6 Author: Adrian Bunk Date: Mon Jan 9 20:54:05 2006 -0800 [PATCH] fs/ext2/bitmap.c: ext2_count_free() is only required #ifdef EXT2FS_DEBUG There's no need for ext2_count_free() #ifndef EXT2FS_DEBUG. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0aa7d0639277f375989071fb52a7ce78beeef97 Author: Adrian Bunk Date: Mon Jan 9 20:54:04 2006 -0800 [PATCH] drivers/video/: possible cleanups This patch contains the possible cleanups including the following: - every file should #include the headers containing the prototypes for it's global functions - make needlessly global functions static - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h instead of a manual "struct pci_dev" - i810_main.{c,h}: prototypes for static functions belong to the C file Signed-off-by: Adrian Bunk Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d64ec153e914cbd60cfaaa47ececed55a9d14d7 Author: Jean Delvare Date: Mon Jan 9 20:54:03 2006 -0800 [PATCH] vr41xx: ARRAY_SIZE cleanup No need to define RTC_NUM_RESOURCES, it doesn't add any value to the code. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe971071a89c5c5184fc9f3482c7a8e997cf0520 Author: Tobias Klauser Date: Mon Jan 9 20:54:02 2006 -0800 [PATCH] drivers/char: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c6bee1d4037a5c569f30d40bd852a57ba250912 Author: Jesper Juhl Date: Mon Jan 9 20:54:01 2006 -0800 [PATCH] turn "const static" into "static const" ICC likes to complain about storage class not being first, GCC doesn't care much (except for cases like "inline static"). have a hard time seeing how it could break anything. Thanks to Gabriel A. Devenyi for pointing out http://linuxicc.sourceforge.net/ which is what made me create this patch. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c368b7676bbe6145f14fbc87913596c9b93c11 Author: Adrian Bunk Date: Mon Jan 9 20:54:00 2006 -0800 [PATCH] drivers/net/irda/irport.c: cleanups This patch contains the following cleanups: - make a needlessly global function static - remove the unneeded global function irport_probe Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e48e99093c9bbb67f95e903d37aef30a969a0153 Author: Jesper Juhl Date: Mon Jan 9 20:53:59 2006 -0800 [PATCH] Docs update: small fixes to stable_kernel_rules.txt Small spelling, formating & similar fixes to stable_kernel_rules.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5dd94ed249c7d19934e8738bf60f9554d07e888f Author: Jesper Juhl Date: Mon Jan 9 20:53:58 2006 -0800 [PATCH] Docs update: remove obsolete patch from locks.txt Remove obsolete patch from Documentation/locks.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c63ca3c8b01e8cad4fe8874366e598bcbbdd048e Author: Jesper Juhl Date: Mon Jan 9 20:53:57 2006 -0800 [PATCH] Docs update: small spelling, formating etc fixes for filesystems/ext3.txt Spelling fixes, formating changes and corrections for Documentation/filesystems/ext3.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c594a50db4cbe8b839a70fca0cff524d392531ca Author: Randy Dunlap Date: Mon Jan 9 20:53:56 2006 -0800 [PATCH] Docs update: typos, corrections and additions to applying-patches.txt Typos/corrections. A few extra additions on top of Randy's fixes. Signed-off-by: Randy Dunlap Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6d3fe77dace2c41a32b9699fe78960ab0908a97 Author: Martin Waitz Date: Mon Jan 9 20:53:55 2006 -0800 [PATCH] DocBook: warn for missing macro parameters Previously kernel-doc silently ignored missing parameter descriptions for preprocessor macros. Now that all such omissions are fixed up we can warn about them in kernel-doc to be able to keep it that way. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0863afb32b77fc89c7110b3d10fb048cb56bb1b5 Author: Martin Waitz Date: Mon Jan 9 20:53:55 2006 -0800 [PATCH] DocBook: fix kernel-doc comments Fix typos in comments to remove kernel-doc warnings. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 061350e7ecf869ed3c98d962b16a772e9674e283 Author: Martin Waitz Date: Mon Jan 9 20:53:53 2006 -0800 [PATCH] Add git tree for DocBook Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be217ff21c875ee1b8073a4fd07353a7a24a4cfd Author: Martin Waitz Date: Mon Jan 9 20:53:52 2006 -0800 [PATCH] DocBook: add .gitignore file when ignoring all DocBook output files git-status output becomes meaningful again. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc3d28d02e3e83c3147b2afc5e19e3b58d23f31b Author: Jesper Juhl Date: Mon Jan 9 20:53:51 2006 -0800 [PATCH] CodingStyle correction Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d060a3218f6a046509fa31939ce1a671b0359086 Author: Ville Syrjala Date: Mon Jan 9 20:53:49 2006 -0800 [PATCH] Fix console blanking Current console blanking code is broken. It will first do a normal blank, then start the VESA blank timer if vesa_off_interval != 0, and then proceed to do the VESA blanking directly. After the timer expires it will do the VESA blanking a second time. Also the vesa_powerdown() function doesn't allow all VESA modes to be used. With this patch the behaviour is: 1. Blank: vesa_off_interval != 0 -> Do normal blank vesa_off_interval == 0 -> Do VESA blank 2. Start the VESA blank timer if vesa_off_interval != 0 and vesa_power_mode != 0. It also gets rid of the limiting vesa_powerdown() function. Signed-off-by: Ville Syrjala Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cae8a12f49972f040bae6707b7707cd93fe9c9ab Author: Thomas Koeller Date: Mon Jan 9 20:53:48 2006 -0800 [PATCH] non-linear frame buffer read/write access While the code in fbmem.c allows for hooking read/write access to non-linear frame buffers by means of fb_read and fb_write in struct fb_ops, I could not find a way tho access the actual frame buffer memory from within these routines. I therefore had to patch fbmem.c, to be able to retrieve a pointer to struct fb_info from the 'file' argument to these functions. The second hunk of the patch is not strictly required, I only did that for symmetry reasons (and the code is somewhat shorter). Signed-off-by: Thomas Koeller Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74b4f04231b9755106d803ef73b11c3cf6978bcd Author: YOSHIFUJI Hideaki Date: Mon Jan 9 20:53:46 2006 -0800 [PATCH] fbdev: Typos in Kconfig Signed-off-by: YOSHIFUJI Hideaki Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit def1ededb7bfefc8678b4c7251622f7cbe65af94 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:45 2006 -0800 [PATCH] fbdev: Replace kmalloc with kzalloc Replace kmalloc with kzalloc Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a39bc34ea8f042e090ade124726ae5a3fd1a51f8 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:44 2006 -0800 [PATCH] fbcon: Code cleanups - replace kmalloc with kzalloc - remove repeated define (FONTCHHCNT) - remove unneeded local variable (redraw) in ypan_{up|down}_redraw - add and delete cursor timer in fbcon_switch() if old_info != info Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5eec03f314e1406829d9683284673203b91b9b8 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:43 2006 -0800 [PATCH] i810fb: Fix suspend and resume hooks The i810fb suspend and resume hooks have suffered bitrot over time. Update to current framework, but functionality still not guaranteed to work. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 740f14ba5335d1e25b9f3e80643be801f653cd32 Author: Arnaud Patard Date: Mon Jan 9 20:53:41 2006 -0800 [PATCH] s3c2410fb: cleanup and fix Here are some cleanups for the s3c2410fb drivers. It : * Removes a buggy call to s3c2410fb_init_registers. There was two calls to this function but the first was done without all initialisations done. No oops but it may confuse some LCDs. * Makes two functions static. Signed-Off-By: Arnaud Patard Signed-Off-By: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 918799ab6f278805d4811770e9b18ae36408c17f Author: Antonino A. Daplas Date: Mon Jan 9 20:53:40 2006 -0800 [PATCH] nvidiafb: Reduce stack usage Reduce stack usage of NVCommonSetup() Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ade9185a39aa2bc51f95b4899836e59df671d844 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:39 2006 -0800 [PATCH] nvidiafb: Add boot option 'bpp' Add boot/module option 'bpp' so user can specify at what color depth to boot into. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af5d0f7e2b5e9ef369de2aefe51e14ca1e6928f5 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:38 2006 -0800 [PATCH] fbdev: Reduce stack usage calc_mode_timings() and fb_get_mode() are using more than 500 bytes off the stack. Fix. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a484a3af905a256cbdd7079defceac62b39e8fa Author: Antonino A. Daplas Date: Mon Jan 9 20:53:37 2006 -0800 [PATCH] fbdev: Fix return code of fb_read and fb_write Make fb_read() and fb_write() return 0 (EOF) instead of -ENOSPC if reading at or past the end of the framebuffer. This fixes user space apps hanging if info->fix.smem_len == 0. Whitespace changes. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 244ab72d84a04d40bd270da604161e02af73fb11 Author: Knut Petersen Date: Mon Jan 9 20:53:36 2006 -0800 [PATCH] fbcon: disable ywrap if not supported by fbcon scrolling code updatescrollmode() must not select ywrap scrolling if divides(vc->vc_font.height, yres) is not true as this is not supported by the actual ywrap scrolling code. The bug is triggered with e.g. mode 800x600, vxres 1024, vyres 8192, bpp 8, font dimensions 8x16, 8Mb video ram and FBINFO_HWACCEL_YWRAP set. If those conditions are met, scrolling is broken and garbage is permanently displayed at the bottom of the screen. No regression, no possible side effects. Definitely needed by cyblafb and probably needed by amifb. Signed-off-by: Knut Petersen Acked-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f08ff4a4dab1ebef06d154050fb80ce2c13fc9c Author: Adrian Bunk Date: Mon Jan 9 20:53:35 2006 -0800 [PATCH] include/video/newport.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d911233fe6632981086942a6b66e7ae5dabaaadc Author: Antonino A. Daplas Date: Mon Jan 9 20:53:34 2006 -0800 [PATCH] skeletonfb: Documentation update Update skeletonfb so it reflects recent (and somewhat old) changes of the framebuffer layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c549dc6422e4b720fed6702d70fddd8cee0f5c9a Author: Antonino A. Daplas Date: Mon Jan 9 20:53:33 2006 -0800 [PATCH] nvidiafb: Add support for some pci-e chipsets Chipsets with PCI device ids & 0xf0 == 0x00f0 has their actual chipset type in offset 0x1800 of the mmio space. Add support for this. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a14b2283c5fb8504d15768cbd20fbe337ffdb3d6 Author: Ville Syrjälä Date: Mon Jan 9 20:53:32 2006 -0800 [PATCH] atyfb: LT/LG cleanup Clean up LT and LG chip descriptions. "Mach64 LG" is called 3D Rage LT in the specs and ATI press releases. "Mach64 LT" is unclear. XFree86 driver doesn't know this chip at all. Windows display.inf calls it just "mach64 LT" and it uses the same driver as VT-A/GT-A and older chips. VT-B/GT-B and better use another driver and all of those chips have a more descriptive name in the display.inf file. That makes me think this chip is not a 3D Rage chip. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c23b67c49e239e40fad3947483815637e5f1790 Author: Ville Syrjälä Date: Mon Jan 9 20:53:31 2006 -0800 [PATCH] atyfb: VT/GT cleanup Clean up VT and GT chip descriptions. All B revision VT chips are called 264VT3. Verified from pictures of the chips as the specs are a bit unlear in this. GT revision B1 is Rage II, B2 is Rage II+. Specs and chip pictures seem to agree. VT revision A4 is 264VT2. Revision A3 is probably a plain 264VT. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69b569f5c0b47c33fec4e35921368e43cbe089a5 Author: Ville Syrjälä Date: Mon Jan 9 20:53:30 2006 -0800 [PATCH] atyfb: Rage XL/XC cleanup Clean up Rage XL/XC chip descriptions. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 480913fe42ae2ff2c821a9e12e6e3eac28d7d730 Author: Ville Syrjälä Date: Mon Jan 9 20:53:28 2006 -0800 [PATCH] atyfb: Improve blanking Force blanking signal and disable display requests when blanked. Don't disable LCD backlight with FB_BLANK_NORMAL. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25163c56ed88a3009e7c1d808d3a052357301d63 Author: Ville Syrjälä Date: Mon Jan 9 20:53:27 2006 -0800 [PATCH] atyfb: Set ECP divider Set ECP (scaler/overlay clock) divider. The limits were taken from the XFree86 ati driver. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e98cef1e9e0ef0c5c02f6f3daa4da7956ad1c9ea Author: Ville Syrjälä Date: Mon Jan 9 20:53:26 2006 -0800 [PATCH] atyfb: Don't stretch with CRT The overlay on 3D Rage LT Pro doesn't work correctly if stretching is enabled when using only a CRT. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a87d7fddbd7f46475842431d153d35bd03cf4f63 Author: Ville Syrjälä Date: Mon Jan 9 20:53:25 2006 -0800 [PATCH] atyfb: Fix interlaced modes Fix interlaced display modes. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50c839c7b5e7d7cc3443176f5d5458e134b0b189 Author: Ville Syrjälä Date: Mon Jan 9 20:53:23 2006 -0800 [PATCH] atyfb: Fix CRTC_FIFO_LWM mask CRTC_FIFO_LWM was incorrectly masked. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 866d84cec0d37bd6a54428b66fed01e7b7aceeb3 Author: Ville Syrjälä Date: Mon Jan 9 20:53:22 2006 -0800 [PATCH] atyfb: Reduce verbosity Don't complain about invalid modes when FB_ACTIVATE_TEST is used. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd4617bef436a3342a959fe7ca870bb10d59d509 Author: Ville Syrjälä Date: Mon Jan 9 20:53:21 2006 -0800 [PATCH] atyfb: Fix spelling Fix some spelling mistakes. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c49a2bf7993c38b452017e729646e86815b7a51d Author: Antonino A. Daplas Date: Mon Jan 9 20:53:19 2006 -0800 [PATCH] vga16fb: Trim vga16fb_pan_display Remove error checking and updating from vga16fb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e53f87a02a0d77c519fb93c7aa0912956294050c Author: Antonino A. Daplas Date: Mon Jan 9 20:53:18 2006 -0800 [PATCH] Fix vesafb display panning regression Fix vesafb hang when scroll mode is REDRAW. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f845fbac4e68573351965d9aaf626a63cc4151c7 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:17 2006 -0800 [PATCH] vesafb: Trim vesafb_pan_display Remove error checking from vesafb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32cf8c1e50ac9d49f348e886c6e664cdc37aaead Author: Antonino A. Daplas Date: Mon Jan 9 20:53:16 2006 -0800 [PATCH] savagefb: Trim savagefb_pan_display Remove error checking and updating from savagefb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198a52a1c490be89a8d5d130eda972630919e0af Author: Antonino A. Daplas Date: Mon Jan 9 20:53:15 2006 -0800 [PATCH] rivafb: Trim rivafb_pan_display Remove error checking and updating from rivafb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7227576f4b9dcffe32f8e6b228361b38814bbe7f Author: Antonino A. Daplas Date: Mon Jan 9 20:53:14 2006 -0800 [PATCH] fbdev: sstfb: Driver cleanups - remove unneeded casts - make setcolreg return success if regno > 15, but don't do anything - use framebuffer_alloc/framebuffer_release to allocate/free memory Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb639258f92b2407c50f79a95364f42932481389 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:13 2006 -0800 [PATCH] fbdev: atyfb: Remove BIOS-less booting CONFIG_ATYFB_XL_INIT option is broken for a long time. It will always cause a kernel hang. Since no one has fixed this problem for some time now, remove it from atyfb. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 313e58ab362473fb471f32b7bf86587f7c627a11 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:12 2006 -0800 [PATCH] fbdev: fbdev: Cleanup - remove unneeded casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a807f618b62594467a52b488912bd77606af0572 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:11 2006 -0800 [PATCH] fbdev: tdfxfb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct tdfxfb_par - whitespace changes Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6772a2ee9d5992a712b46990f39249c500e0221f Author: Antonino A. Daplas Date: Mon Jan 9 20:53:10 2006 -0800 [PATCH] fbdev: pm2fb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct pm2fb_par Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f19bc56c3ce7d9a1c7159c2456d9b50883930e6 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:09 2006 -0800 [PATCH] fbdev: neofb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct neofb_par Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a26968df0110bc2117e5572a07e285b183e68736 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:08 2006 -0800 [PATCH] fbdev: kyrofb: Driver cleanups - remove unneeded casts - use framebuffer_alloc/framebuffer_release to allocate/free memory - the pseudo_palette is always u32 regardless of bpp if using generic drawing functions Signed-off-by: Antonino Daplas Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94f9e09ce531d48b2e46208f9b1c8733a74c22de Author: Antonino A. Daplas Date: Mon Jan 9 20:53:07 2006 -0800 [PATCH] fbdev: imsttfb: Driver cleanups - remove unneeded casts - the pseudo_palette, if using the generic drawing functions, must always be u32 regardless of the bpp - use framebuffer_alloc/framebuffer_release to allocate memory Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d204ef3e4ea61058e49453af393ca754b529b85 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:06 2006 -0800 [PATCH] fbdev: hgafb: Convert to platform device - convert to platform device Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a9f61702608b6ae7905063278b832439e608938 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:05 2006 -0800 [PATCH] fbdev: asiliantfb: Driver cleanups - allocate just enough space for the pseudo_palette Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4a41836f1215ae1835c3f00316b20bb32cbfe99 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:04 2006 -0800 [PATCH] fbdev: rivafb: Driver cleanups - remove redundant casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c019c0ec97548d545c42961e960cbe2e8a6aabe9 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:03 2006 -0800 [PATCH] fbdev: i810fb: Driver cleanups - remove redundant casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8901b091db260b0f0101d6395ce5c6016835a47 Author: Antonino A. Daplas Date: Mon Jan 9 20:53:02 2006 -0800 [PATCH] fbdev: savagefb: Driver cleanup - remove redundant casts - remove symbol_get/symbol_put Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c439e345425434f07df333083794fc8864cee9ca Author: Antonino A. Daplas Date: Mon Jan 9 20:53:02 2006 -0800 [PATCH] fbdev: nvidiafb: Driver cleanup - remove redundant casts - add mode_option to module parameter Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30420f8f464975f7f26e8195f60569dfed6ac060 Author: Matthew Garrett Date: Mon Jan 9 20:53:01 2006 -0800 [PATCH] Add sysfs entry to disable framebuffer access What commit c35dba601728412f67801792107d3dddd1f3ada1 Author: Jean Delvare Date: Mon Jan 9 20:52:59 2006 -0800 [PATCH] savagefb: One more I2C-enabled device in savagefb The I2C bus of the S3 Savage2000 is supposed to work the same way the Savage4 does. At least, the legacy i2c-savage4 driver handled both devices the same way. I do not have the hardware to test this, so testers are welcome. Signed-off-by: Jean Delvare Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3e21169b84a80b35d81a2b9fd97eb0b7d73d3f9 Author: Antonino A. Daplas Date: Mon Jan 9 20:52:58 2006 -0800 [PATCH] matroxfb: Remove fbcon.h from the main header file matroxfb has no need for struct display and fbcon.h. Remove. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04a2fe574ad10156266fcdb50adf30ebedad76fb Author: Antonino A. Daplas Date: Mon Jan 9 20:52:58 2006 -0800 [PATCH] fbcon: Store struct display when setting all vcs Store struct display when setting all vc's. Otherwise, fbcon's behavior becomes undefined, such as malpositioning of the cursor. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2610acc7ab36d7657d9a0c97a0e83cd1d6ee2b33 Author: Alessandro Zummo Date: Mon Jan 9 20:52:57 2006 -0800 [PATCH] nvidiafb: i2c bus name beautification Assign nvidiafb's i2c busses a better name. Signed-off-by: Alessandro Zummo Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73deed32d08740bdbf5f4aab43d988e4d135d95 Author: Antonino A. Daplas Date: Mon Jan 9 20:52:56 2006 -0800 [PATCH] fbcon: Sanitize fbcon Do not pass the structure display since fbcon is already keeping the pointer to the current display. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8416131ded5e491ecc2947d1ffaedf64725bb7a3 Author: Richard Knutsson Date: Mon Jan 9 20:52:55 2006 -0800 [PATCH] aty: remove unnecessary CONFIG_PCI Signed-off-by: Richard Knutsson Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b4f2f4b0132afa9f441171285cca354377bf5d0 Author: Antonino A. Daplas Date: Mon Jan 9 20:52:54 2006 -0800 [PATCH] vesafb: Drop blank hook From: Bugzilla Bug 5351 "After resuming from S3 (suspended while in X), the LCD panel stays black . However, the laptop is up again, and I can SSH into it from another machine. I can get the panel working again, when I first direct video output to the CRT output of the laptop, and then back to LCD (done by repeatedly hitting Fn+F5 buttons on the Toshiba, which directs output to either LCD, CRT or TV) None of this ever happened with older kernels." This bug is due to the recently added vesafb_blank() method in vesafb. It works with CRT displays, but has a high incidence of problems in laptop users. Since CRT users don't really get that much benefit from hardware blanking, drop support for this. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 532347e2bbae9e849816dc7b12a3d0f2c42d4944 Author: Ingo Molnar Date: Mon Jan 9 20:52:53 2006 -0800 [PATCH] nfs: sleep_on() removal Convert sleep_on() to wait_event_timeout(). Probably safe with the BKL but could be racy once BKL use in NFS-client is gone. Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e866cfa939de7f52c154a9495eb5767f89abf453 Author: Oleg Drokin Date: Mon Jan 9 20:52:51 2006 -0800 [PATCH] d_instantiate_unique / NFS inode leakage If we have found aliased dentry that we return, inode reference is not dropped and inode is not attached anywhere, so it seems the reference to inode is leaked in that case. Cc: Trond Myklebust , Cc: Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 632d6407afb58ef125bf7e82a2e8af27d0704b56 Author: Jiri Slaby Date: Mon Jan 9 20:52:51 2006 -0800 [PATCH] media-radio: Maestro radio delete owner line from video device fops is used for module handling with ownership. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f86e7767990c0d63f0630cbf6018b6996f9ecde5 Author: Jiri Slaby Date: Mon Jan 9 20:52:50 2006 -0800 [PATCH] media-radio: Maestro avoid accessing private structures directly video_device.priv is not allowed to touch and it will be actually removed in near future. Use video_get_drvdata() instead. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eaa21fdfe2c50ba27456730cd8da8782cddaf6f Author: Jiri Slaby Date: Mon Jan 9 20:52:49 2006 -0800 [PATCH] media-radio: Maestro types change __u16 --> u16 and so on Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a2cf8eed7f9c8dcc08785259cd179fcb317b120 Author: Jiri Slaby Date: Mon Jan 9 20:52:48 2006 -0800 [PATCH] media-radio: Maestro radio Lindent Maestro radio Lindent + some handwork Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89dad8f07fa244d64459ecd9499bc314dc617598 Author: Jiri Slaby Date: Mon Jan 9 20:52:47 2006 -0800 [PATCH] media-radio: Pci probing for maestro radio - Pci probing functions added, some functions were rewrited. - Use PCI_DEVICE macro. - dev_* used for printing when pci_dev available. - some static variables changed to dynamicto allow operation with multiple cards. - Deleted macros for DEVICE_IDS, they are in pci_ids.h yet. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a Author: Keshavamurthy Anil S Date: Mon Jan 9 20:52:46 2006 -0800 [PATCH] Kprobes: conversion from kcalloc to kzalloc Signed-of-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0498b63504f818e5ab39c818cd6f7b41319a1187 Author: Ananth N Mavinakayanahalli Date: Mon Jan 9 20:52:46 2006 -0800 [PATCH] kprobes: fix build breakage The following patch (against 2.6.15-rc5-mm3) fixes a kprobes build break due to changes introduced in the kprobe locking in 2.6.15-rc5-mm3. In addition, the patch reverts back the open-coding of kprobe_mutex. Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e597c2984c64609c6e1e1ac803f00f7550705860 Author: Anil S Keshavamurthy Date: Mon Jan 9 20:52:45 2006 -0800 [PATCH] kprobes: arch_remove_kprobe Currently arch_remove_kprobes() is only implemented/required for x86_64 and powerpc. All other architecture like IA64, i386 and sparc64 implementes a dummy function which is being called from arch independent kprobes.c file. This patch removes the dummy functions and replaces it with #define arch_remove_kprobe(p, s) do { } while(0) Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f709b122343fb9a010b6cf2d5559641f1820f7c9 Author: Keshavamurthy Anil S Date: Mon Jan 9 20:52:44 2006 -0800 [PATCH] kprobes-changed-from-using-spinlock-to-mutex fix Based on some feedback from Oleg Nesterov, I have made few changes to previously posted patch. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7 Author: Anil S Keshavamurthy Date: Mon Jan 9 20:52:43 2006 -0800 [PATCH] kprobes: changed from using spinlock to mutex Since Kprobes runtime exception handlers is now lock free as this code path is now using RCU to walk through the list, there is no need for the register/unregister{_kprobe} to use spin_{lock/unlock}_isr{save/restore}. The serialization during registration/unregistration is now possible using just a mutex. In the above process, this patch also fixes a minor memory leak for x86_64 and powerpc. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41dead49ccb4d7f0a34d56478f487342a3c3ab2b Author: Anil S Keshavamurthy Date: Mon Jan 9 20:52:42 2006 -0800 [PATCH] kprobes: cleanup include/asm/kprobes.h The arch specific kprobes.h files never gets included when CONFIG_KPROBES is turned off. Hence check for CONFIG_KPROBES is not appropriate here in this arch specific kprobes.h files. Also the below defined function kprobes_exception_notify() is not needed when CONFIG_KPROBES is off. Compile tested for both CONFIG_KPROBES=y and N. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d14e39da8712cff8a92298f464a25afb4283ccf Author: Anil S Keshavamurthy Date: Mon Jan 9 20:52:41 2006 -0800 [PATCH] kprobes: enable funcions only for required arch Kernel/kprobes.c defines get_insn_slot() and free_insn_slot() which are currently required _only_ for x86_64 and powerpc (which has no-exec support). FYI, get{free}_insn_slot() functions manages the memory page which is mapped as executable, required for instruction emulation. This patch moves those two functions under __ARCH_WANT_KPROBES_INSN_SLOT and defines __ARCH_WANT_KPROBES_INSN_SLOT in arch specific kprobes.h file. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1c0b8f835aeba85aa428aaec6d521ef4639c7fa Author: Matt Helsley Date: Mon Jan 9 20:52:40 2006 -0800 [PATCH] Remove getnstimestamp() Remove getnstimestamp() in favor of ktime.h's ktime_get_ts() Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caf3c9dc56f5758ca6016513e2790a151bf2077d Author: Matt Helsley Date: Mon Jan 9 20:52:40 2006 -0800 [PATCH] Switch getnstimestamp() calls to ktime_get_ts() Use ktime_get_ts() to take the timestamp instead of getnstimestamp(). This patch prepares to remove getnstimestamp() by switching its only user to a different function with almost exactly the same code. Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69778e325c3007c8c8a653fcee2c298ffe071fd4 Author: Matt Helsley Date: Mon Jan 9 20:52:39 2006 -0800 [PATCH] Export ktime_get_ts() This series removes the getnstimestamp() function from kernel/time.c in favor of kernel/hrtimer.c's ktime_get_ts() function which currently does exactly the same thing: retrieves a high-resolution (ns) timespec structure and performs the wall_to_monotonic adjustment. This patch: Export ktime_get_ts() to be used as a timestamp function since it uses getnstimefoday() and does the wall_to_monotonic adjustment. Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit becf8b5d00f4b47e847f98322cdaf8cd16243861 Author: Thomas Gleixner Date: Mon Jan 9 20:52:38 2006 -0800 [PATCH] hrtimer: convert posix timers completely - convert posix-timers.c to use hrtimers - remove the now obsolete abslist code Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97735f25d2ba898ec5e13746451525580631c834 Author: Thomas Gleixner Date: Mon Jan 9 20:52:37 2006 -0800 [PATCH] hrtimer: switch clock_nanosleep to hrtimer nanosleep API Switch clock_nanosleep to use the new nanosleep functions in hrtimer.c Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ba1b91213e81aa92b5cf7539f7d2a94ff54947c Author: Thomas Gleixner Date: Mon Jan 9 20:52:36 2006 -0800 [PATCH] hrtimer: switch sys_nanosleep to hrtimer convert sys_nanosleep() to use hrtimer_nanosleep() Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10c94ec16dd187f8d8dfdbb088e98330c05bf03c Author: Thomas Gleixner Date: Mon Jan 9 20:52:35 2006 -0800 [PATCH] hrtimer: create hrtimer nanosleep API introduce the hrtimer_nanosleep() and hrtimer_nanosleep_real() APIs. Not yet used by any code. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ff678b8da6478d861c1b0ecb3ac14575760e906 Author: Thomas Gleixner Date: Mon Jan 9 20:52:34 2006 -0800 [PATCH] hrtimer: switch itimers to hrtimer switch itimers to a hrtimers-based implementation Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df78488de7befd387e9d060da6e18bb5d1cb882c Author: Thomas Gleixner Date: Mon Jan 9 20:52:33 2006 -0800 [PATCH] hrtimer: hrtimer documentation add hrtimer docbook and design document Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a3132963db68f1fbbd0e316b73de100fee3f08 Author: Thomas Gleixner Date: Mon Jan 9 20:52:32 2006 -0800 [PATCH] hrtimer: hrtimer core code hrtimer subsystem core. It is initialized at bootup and expired by the timer interrupt, but is otherwise not utilized by any other subsystem yet. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97fc79f97b1111c80010d34ee66312b88f531e41 Author: Thomas Gleixner Date: Mon Jan 9 20:52:31 2006 -0800 [PATCH] hrtimer: introduce ktime_t time format - introduce ktime_t: nanosecond-resolution time format. - eliminate the plain s64 scalar type, and always use the union. This simplifies the arithmetics. Idea from Roman Zippel. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8f46da3b4cbb03b43a102b1eb92b63419e10f90 Author: Thomas Gleixner Date: Mon Jan 9 20:52:30 2006 -0800 [PATCH] hrtimer: introduce nsec_t type and conversion functions - introduce the nsec_t type - basic nsec conversion routines: timespec_to_ns(), timeval_to_ns(), ns_to_timespec(), ns_to_timeval(). Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718bcceb5ad72a5def2c2fd1fa3ef964be32a857 Author: Thomas Gleixner Date: Mon Jan 9 20:52:29 2006 -0800 [PATCH] hrtimer: validate timespec of do_sys_settimeofday Check if the timespec which is provided from user space is normalized. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f82b2b77e66d452c3037cc47f436d2d76fd5f06 Author: Thomas Gleixner Date: Mon Jan 9 20:52:29 2006 -0800 [PATCH] hrtimer: create and use timespec_valid macro add timespec_valid(ts) [returns false if the timespec is denorm] Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a698971941bf5e6ebe96275f7d5318b2cf91ccf Author: Thomas Gleixner Date: Mon Jan 9 20:52:28 2006 -0800 [PATCH] hrtimer: coding style and white space cleanup 2 style/whitespace/macro cleanups of posix-timers.h Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a924b04ddea9788e09f387fe19ccbede5f09ddd8 Author: Thomas Gleixner Date: Mon Jan 9 20:52:27 2006 -0800 [PATCH] hrtimer: make clockid_t arguments const add const arguments to the posix-timers.h API functions Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57a558757bdbb877b54ed5ea15bd0892e02a707d Author: Ingo Molnar Date: Mon Jan 9 20:52:26 2006 -0800 [PATCH] hrtimer: coding style and white space cleanup style and whitespace cleanup of the rest of time.h. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ad106ca185e66dc312518e18e2ffaedf376a160 Author: Ingo Molnar Date: Mon Jan 9 20:52:25 2006 -0800 [PATCH] hrtimer: coding style clean up of clock constants clean up the CLOCK_ portions of time.h Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c4f6eeca98a805fd0c2536b55039383eb56d2ba Author: Thomas Gleixner Date: Mon Jan 9 20:52:25 2006 -0800 [PATCH] hrtimer: remove unused clock constants remove unused CLOCK_ constants from time.h Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 199e7056895c8427dec63e1d9841ceafcfaaf314 Author: Andrew Morton Date: Mon Jan 9 20:52:24 2006 -0800 [PATCH] hrtimer: export deinlined mktime This is now uninlined, but some modules use it. Make it a non-GPL export, since the inlined mktime() was also available that way. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4818900fa3ee1c56e96f6dede7cc4c05ed383d1 Author: Ingo Molnar Date: Mon Jan 9 20:52:23 2006 -0800 [PATCH] hrtimer: clean up mktime and make arguments const add 'const' to mktime arguments, and clean it up a bit Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 753be6222728996974e9e12c185108fcabbb7c6e Author: Thomas Gleixner Date: Mon Jan 9 20:52:22 2006 -0800 [PATCH] hrtimer: deinline mktime and set_normalized_timespec mktime() and set_normalized_timespec() are large inline functions used in many places: deinline them. From: George Anzinger, off-by-1 bugfix Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67924be88607303a4459fe1c7dcd75527c338cf4 Author: Thomas Gleixner Date: Mon Jan 9 20:52:21 2006 -0800 [PATCH] hrtimer: remove duplicate div_long_long_rem implementation make posix-timers.c use the generic calc64.h facility Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cca7619a562c9d98a3a0123dc878d79bf3c8fb3 Author: Thomas Gleixner Date: Mon Jan 9 20:52:20 2006 -0800 [PATCH] hrtimer: move div_long_long_rem out of jiffies.h move div_long_long_rem() from jiffies.h into a new calc64.h include file, as it is a general math function useful for other things than the jiffy code. Convert it to an inline function Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af4cd3fe4cfa75ca74f8d8622867371289043a8d Author: Brian Gerst Date: Mon Jan 9 20:52:18 2006 -0800 [PATCH] Generic ioctl.h Most arches copied the i386 ioctl.h. Combine them into a generic header. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ff92053ddff48d9d7908a353bd85f893944463e Author: Christoph Hellwig Date: Mon Jan 9 20:52:17 2006 -0800 [PATCH] don't include ioctl32.h in drivers These days ioctl32.h is only used for communication of fs/compat.c and fs/compat_ioctl.c and doesn't contain anything of interest to drivers. Remove inclusion in various drivers. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c Author: Christoph Hellwig Date: Mon Jan 9 20:52:17 2006 -0800 [PATCH] per-mountpoint noatime/nodiratime Turn noatime and nodiratime into per-mount instead of per-sb flags. After all the preparations this is a rather trivial patch. The mount code needs to treat the two options as per-mount instead of per-superblock, and touch_atime needs to be changed to check the new MNT_ flags in addition to the MS_ flags that are kept for filesystems that are always noatime/nodiratime but not user settable anymore. Besides that core code only nfs needed an update because it's leaving atime updates to the server and thus sets the S_NOATIME flag on every inode, but needs to know whether it's a real noatime mount for an getattr optimization. While we're at it I've killed the IS_NOATIME/IS_NODIRATIME macros that were only used by touch_atime. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d456fa4261f43433287a10fe3ec04a9818fac64 Author: Christoph Hellwig Date: Mon Jan 9 20:52:15 2006 -0800 [PATCH] 9p: remove superflous MS_NODIRATIME assignment MS_NOATIME implies MS_NODIRATIME Signed-off-by: Christoph Hellwig Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24a44dca356e7c68e33bece4effa7021e7429493 Author: Christoph Hellwig Date: Mon Jan 9 20:52:14 2006 -0800 [PATCH] ntfs: remove superflous MS_NOATIME/MS_NODIRATIME assignments MS_RDONLU implies not atime updates at all, no need for the MS_NOATIME and MS_NODIRATIME flags. Signed-off-by: Christoph Hellwig Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a6d2efcb7e7c87c5fe0395803da1453b29cbef Author: Christoph Hellwig Date: Mon Jan 9 20:52:14 2006 -0800 [PATCH] sanitize building of fs/compat_ioctl.c Now that all these entries in the arch ioctl32.c files are gone [1], we can build fs/compat_ioctl.c as a normal object and kill tons of cruft. We need a special do_ioctl32_pointer handler for s390 so the compat_ptr call is done. This is not needed but harmless on all other architectures. Also remove some superflous includes in fs/compat_ioctl.c Tested on ppc64. [1] parisc still had it's PPP handler left, which is not fully correct for ppp and besides that ppp uses the generic SIOCPRIV ioctl so it'd kick in for all netdevice users. We can introduce a proper handler in one of the next patch series by adding a compat_ioctl method to struct net_device but for now let's just kill it - parisc doesn't compile in mainline anyway and I don't want this to block this patchset. Signed-off-by: Christoph Hellwig Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8262037f406dc8e0908ad51f355c3dfd4d662aba Author: Christoph Hellwig Date: Mon Jan 9 20:52:12 2006 -0800 [PATCH] add ->compat_ioctl to dasd Add a compat_ioctl method to the dasd driver so the last entries in arch/s390/kernel/compat_ioctl.c can go away. Unlike the previous attempt this one does not replace the ioctl method with an unlocked_ioctl method so that the ioctl_by_bdev calls in s390 partition code continue to work. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec3cad96901373ad0e21611cfbcc372fe09df1f7 Author: Christoph Hellwig Date: Mon Jan 9 20:52:11 2006 -0800 [PATCH] move rtc compat ioctl handling to fs/compat_ioctl.c This patch implements generic handling of RTC_IRQP_READ32, RTC_IRQP_SET32, RTC_EPOCH_READ32 and RTC_EPOCH_SET32 in fs/compat_ioctl.c. It's based on the x86_64 code which needed a little massaging to be endian-clean. parisc used COMPAT_IOCTL or generic w_long handlers for these whichce is wrong and can't work because the ioctls encode sizeof(unsigned long) in their ioctl number. parisc also duplicated COMPAT_IOCTL entries for other rtc ioctls which I remove in this patch, too. Signed-off-by: Christoph Hellwig Acked-by: Matthew Wilcox Acked-by: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a0f69d59ba41fbcad6a17b6e8aab02bf45e20ce Author: Christoph Hellwig Date: Mon Jan 9 20:52:08 2006 -0800 [PATCH] common compat_sys_timer_create The comment in compat.c is wrong, every architecture provides a get_compat_sigevent() for the IPC compat code already. This basically moves the x86_64 version to common code and removes all the others. Signed-off-by: Christoph Hellwig Acked-by: Paul Mackerras Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: Martin Schwidefsky Cc: "David S. Miller" Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f042e0f80b0a9f5bb57c36d60a2798de6ca943b2 Author: Christoph Hellwig Date: Mon Jan 9 20:52:07 2006 -0800 [PATCH] ->compat_ioctl for 390 tape_char The only own ioctl, TAPE390_DISPLAY, is compat_clean, everything else is routed through common translation code. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a990588a3e38f7963964813786fa4f0da43ecc Author: Christoph Hellwig Date: Mon Jan 9 20:52:05 2006 -0800 [PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390 These ioctls are definitely not compat clean, but we already have a proper handler in common code, over-riding it in architecture code is counter-productive. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f75e00c9ac5c7b127b5f1f48f1dc421be507133 Author: Christoph Hellwig Date: Mon Jan 9 20:52:04 2006 -0800 [PATCH] switch fs3270 to ->compat_ioctl Again easy because all ioctls are compat clean. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdff071dbf911bf5d1dcaedfaafebb549d2fd969 Author: Adrian Bunk Date: Mon Jan 9 20:52:03 2006 -0800 [PATCH] __deprecated_for_modules the lookup_hash() prototype This patch __deprecated_for_modules the lookup_hash() prototype. Signed-off-by: Adrian Bunk Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 869243a0f6143f76e7c847e707eee6ece9cbf821 Author: Christoph Hellwig Date: Mon Jan 9 20:52:03 2006 -0800 [PATCH] remove update_atime All callers use touch_atime now which takes a vfsmount and allows us to implement per-mount noatime. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9cf6f4b3a3d24d8a41515b509b8fb6448f9201e9 Author: Christoph Hellwig Date: Mon Jan 9 20:52:02 2006 -0800 [PATCH] switch autofs4 to touch_atime() After my lookup_hash patch ->d_revalidate always gets a valid struct nameidata passed (unless you use lookup_one_len which autofs4 doesn't), so we can switch it from update_atime to touch_atime. This is a bit of an academic excercise because autofs has a 1:1 vfsmount superblock relation, but I want to get rid of update_atime so filesystems authors can't easily screw up per-mountpoint noatime support. Signed-off-by: Christoph Hellwig Cc: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 870f481793b585323fbda3e87c54efc116f46351 Author: Christoph Hellwig Date: Mon Jan 9 20:52:01 2006 -0800 [PATCH] replace inode_update_time with file_update_time To allow various options to work per-mount instead of per-sb we need a struct vfsmount when updating ctime and mtime. This preparation patch replaces the inode_update_time routine with a file_update_atime routine so we can easily get at the vfsmount. (and the file makes more sense in this context anyway). Also get rid of the unused second argument - we always want to update the ctime when calling this routine. Signed-off-by: Christoph Hellwig Cc: Al Viro Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3542c6e18f6470bad2bde1e94331e4f488a8d3f1 Author: Christoph Hellwig Date: Mon Jan 9 20:52:00 2006 -0800 [PATCH] remove xfs xattr permission checks remove checks now in the VFS XFS has an additional xattr interface through obscure ioctl. it requires raised capabilities but we need to add some read-only/immutable checks anyway Signed-off-by: Christoph Hellwig Cc: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b98932cb514eef404c6168c9a15cf28851498dea Author: Christoph Hellwig Date: Mon Jan 9 20:51:59 2006 -0800 [PATCH] remove reiserfs xattr permission checks remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c37ef806a3e1c0bca65fd03b7590d56d19625da4 Author: akpm@osdl.org Date: Mon Jan 9 20:51:58 2006 -0800 [PATCH] remove ext3 xattr permission checks ) From: Christoph Hellwig remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 267fd05791aafea3786494365a5d13d7923ef526 Author: akpm@osdl.org Date: Mon Jan 9 20:51:58 2006 -0800 [PATCH] remove ext2 xattr permission checks ) From: Christoph Hellwig remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44a0033f6d5f3e7e2fc37d7b44a1d105c70d4682 Author: Christoph Hellwig Date: Mon Jan 9 20:51:57 2006 -0800 [PATCH] remove jfs xattr permission checks remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0ad7b073eb7317e5afe0385b02dcb1d52a1eedf Author: akpm@osdl.org Date: Mon Jan 9 20:51:56 2006 -0800 [PATCH] move xattr permission checks into the VFS ) From: Christoph Hellwig The xattr code has rather complex permission checks because the rules are very different for different attribute namespaces. This patch moves as much as we can into the generic code. Currently all the major disk based filesystems duplicate these checks, while many minor filesystems or network filesystems lack some or all of them. To do this we need defines for the extended attribute names in common code, I moved them up from JFS which had the nicest defintions. Signed-off-by: Christoph Hellwig Acked-by: Dave Kleikamp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5be196e5f925dab2309530fabce69c2e562b9791 Author: Christoph Hellwig Date: Mon Jan 9 20:51:55 2006 -0800 [PATCH] add vfs_* helpers for xattr operations Add vfs_getxattr, vfs_setxattr and vfs_removexattr helpers for common checks around invocation of the xattr methods. NFSD already was missing some of the checks and there will be more soon. Signed-off-by: Christoph Hellwig Cc: James Morris (James, I haven't touched selinux yet because it's doing various odd things and I'm not sure how it would interact with the security attribute fallbacks you added. Could you investigate whether it could use vfs_getxattr or if not add a __vfs_getxattr helper to share the bits it is fine with?) For NFSv4: instead of just converting it add an nfsd_getxattr helper for the code shared by NFSv2/3 and NFSv4 ACLs. In fact that code isn't even NFS-specific, but I'll wait for more users to pop up first before moving it to common code. Signed-off-by: Christoph Hellwig Acked-by: Dave Kleikamp Signed-off-by: Adrian Bunk Signed-off-by: Neil Brown Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7e670d828e85ef9aacb7fa1cd221525c408110f Author: Maneesh Soni Date: Mon Jan 9 20:51:53 2006 -0800 [PATCH] Kdump documentation update Update the kdump documentation to reflect the changes due to recent kernel config option changes for kexec and kdump. Signed-off-by: Maneesh Soni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05970d476f2c8aa0f47e4e82473b0551b1e4e6d4 Author: Maneesh Soni Date: Mon Jan 9 20:51:52 2006 -0800 [PATCH] kexec: change CONFIG_PHYSICAL_START dependency I have heard some complaints about people not finding CONFIG_CRASH_DUMP option and also some objections about its dependency on CONFIG_EMBEDDED. The following patch ends that dependency. I thought of hiding it under CONFIG_KEXEC, but CONFIG_PHYSICAL_START could also be used for some reasons other than kexec/kdump and hence left it visible. I will also update the documentation accordingly. o Following patch removes the config dependency of CONFIG_PHYSICAL_START on CONFIG_EMBEDDED. The reason being CONFIG_CRASH_DUMP option for kdump needs CONFIG_PHYSICAL_START which makes CONFIG_CRASH_DUMP depend on CONFIG_EMBEDDED. It is not always obvious for kdump users to choose CONFIG_EMBEDDED. o It also shifts the palce where this option appears, to make it closer to kexec and kdump options. Signed-off-by: Maneesh Soni Cc: "Eric W. Biederman" Cc: Haren Myneni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 720e1a9f1c3bfa9f72cded56962e7f092fefaaed Author: akpm@osdl.org Date: Mon Jan 9 20:51:51 2006 -0800 [PATCH] kexec: increase max segment limit ) From: Vivek Goyal - In some cases, the number of segments, on a kexec load, exceeds the existing cap of 8. This patch increases the KEXEC_SEGMENT_MAX limit from 8 to 16. Signed-off-by: Rachita Kothiyal Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ae362be509306eafa6441603686d33fefe321c1 Author: Vivek Goyal Date: Mon Jan 9 20:51:50 2006 -0800 [PATCH] kdump: read previous kernel's memory - Moving the crash_dump.c file to arch dependent part as kmap_atomic_pfn is specific to i386 and highmem may not exist in other archs. - Use ioremap for x86_64 to map the previous kernel memory. - In copy_oldmem_page(), we now directly copy to the user/kernel buffer and avoid the unneccesary copy to a kmalloc'd page. Signed-off-by: Rachita Kothiyal Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec9ce0dbaa734bc95ec73cf5c13f202f1adb219d Author: Vivek Goyal Date: Mon Jan 9 20:51:49 2006 -0800 [PATCH] kdump: x86_64 save cpu registers upon crash - Saving the cpu registers of all cpus before booting in to the crash kernel. - crash_setup_regs will save the registers of the cpu on which panic has occured. One of the concerns ppc64 folks raised is that after capturing the register states, one should not pop the current call frame and push new one. Hence it has been inlined. More call frames later get pushed on to stack (machine_crash_shutdown() and machine_kexec()), but one will not want to backtrace those. - Not very sure about the CFI annotations. With this patch I am getting decent backtrace with gdb. Assuming, compiler has generated enough debugging information for crash_kexec(). Coding crash_setup_regs() in pure assembly makes it tricky because then it can not be inlined and we don't want to return back after capturing register states we don't want to pop this call frame. - Saving the non-panicing cpus registers will be done in the NMI handler while shooting down them in machine_crash_shutdown. - Introducing CRASH_DUMP option in Kconfig for x86_64. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cffe632a25b017dac4b6f060cad31940c6c167b4 Author: akpm@osdl.org Date: Mon Jan 9 20:51:48 2006 -0800 [PATCH] kdump: x86_64 kexec on panic ) From: Vivek Goyal - Implementing the machine_crash_shutdown for x86_64 which will be called by crash_kexec (called in case of a panic, sysrq etc.). Here we do things similar to i386. Disable the interrupts, shootdown the cpus and shutdown LAPIC and IOAPIC. Changes in this version: - As the Eric's APIC initialization patches are reverted back, reintroducing LAPIC and IOAPIC shutdown. - Added some comments on CPU hotplug, modified code as suggested by Andi kleen. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aac04b32f3e4c63f461459d0e1d6aa01caac6e66 Author: Vivek Goyal Date: Mon Jan 9 20:51:47 2006 -0800 [PATCH] kdump: x86_64: add elfcorehdr command line option - elfcorehdr= specifies the location of elf core header stored by the crashed kernel. This command line option will be passed by the kexec-tools to capture kernel. Changes in this version : - Added more comments in kernel-parameters.txt and in code. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69cda7b1f06befb8d6a884b8a663d19dcaef590b Author: akpm@osdl.org Date: Mon Jan 9 20:51:46 2006 -0800 [PATCH] kdump: x86_64: add memmmap command line option ) From: Vivek Goyal - This patch introduces the memmap option for x86_64 similar to i386. - memmap=exactmap enables setting of an exact E820 memory map, as specified by the user. Changes in this version: - Used e820_end_of_ram() to find the max_pfn as suggested by Andi kleen. - removed PFN_UP & PFN_DOWN macros - Printing the user defined map also. Signed-off-by: Murali M Chakravarthy Signed-off-by: Hariprasad Nellitheertha Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf2083050d7879390ddedbd64e431cf167854a34 Author: akpm@osdl.org Date: Mon Jan 9 20:51:45 2006 -0800 [PATCH] Kdump: powerpc and s390 build failure fix ) From: Vivek Goyal crash_setup_regs() is an architecture dependent function which is called in architecture independent section. So every architecture supporting kexec should at least provide a dummy definition of crash_setup_regs() even if crash dumping is not implemented yet, to avoid build failures. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f05b690248bc928b85cc19ea85a5c6268bb3acaf Author: Vivek Goyal Date: Mon Jan 9 20:51:44 2006 -0800 [PATCH] Kdump: i386 compiler warning fix Fixes a compilation warning message in i386 Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e996e58133c475bcf3a229f716b9457267cbaa0a Author: Vivek Goyal Date: Mon Jan 9 20:51:44 2006 -0800 [PATCH] kdump: save registers early (inline functions) - If system panics then cpu register states are captured through funciton crash_get_current_regs(). This is not a inline function hence a stack frame is pushed on to the stack and then cpu register state is captured. Later this frame is popped and new frames are pushed (machine_kexec). - In theory this is not very right as we are capturing register states for a frame and that frame is no more valid. This seems to have created back trace problems for ppc64. - This patch fixes it up. The very first thing it does after entering crash_kexec() is to capture the register states. Anyway we don't want the back trace beyond crash_kexec(). crash_get_current_regs() has been made inline - crash_setup_regs() is the top architecture dependent function which should be responsible for capturing the register states as well as to do some architecture dependent tricks. For ex. fixing up ss and esp for i386. crash_setup_regs() has also been made inline to ensure no new call frame is pushed onto stack. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35ed319a36cdfd88fc3debe6ce24e756bc474cce Author: Vivek Goyal Date: Mon Jan 9 20:51:42 2006 -0800 [PATCH] kdump: export per cpu crash notes pointer through sysfs (fix) Removes the call to get_cpu() and put_cpu() as it is not required. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51be5606d9ff9eb27ed6514f6172fbd7578a25d6 Author: Vivek Goyal Date: Mon Jan 9 20:51:42 2006 -0800 [PATCH] kdump: export per cpu crash notes pointer through sysfs - Kexec on panic functionality allocates memory for saving cpu registers in case of system crash event. Address of this allocated memory needs to be exported to user space, which is used by kexec-tools. - Previously, a single /sys/kernel/crash_notes entry was being exported as memory allocated was a single continuous array. Now memory allocation being dyanmic and per cpu based, address of per cpu buffer is exported through "/sys/devices/system/cpu/cpuX/crash_notes" Signed-off-by: Vivek Goyal Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc57165874e938ef684d71ba7d36e7088b551489 Author: Vivek Goyal Date: Mon Jan 9 20:51:41 2006 -0800 [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers - In case of system crash, current state of cpu registers is saved in memory in elf note format. So far memory for storing elf notes was being allocated statically for NR_CPUS. - This patch introduces dynamic allocation of memory for storing elf notes. It uses alloc_percpu() interface. This should lead to better memory usage. - Introduced based on Andi Kleen's and Eric W. Biederman's suggestions. - This patch also moves memory allocation for elf notes from architecture dependent portion to architecture independent portion. Now crash_notes is architecture independent. The whole idea is that size of memory to be allocated per cpu (MAX_NOTE_BYTES) can be architecture dependent and allocation of this memory can be architecture independent. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82409411571ad89d271dc46f7fa26149fad9efdf Author: akpm@osdl.org Date: Mon Jan 9 20:51:40 2006 -0800 [PATCH] kdump: i386 save ss esp bug fix ) From: Vivek Goyal This patch fixes a minor bug based on Andi Kleen's suggestion. asm's can't be broken in this particular case, hence merging them. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aed615a95f6dcc243daa99cc80658ad9ada95097 Author: Alexey Dobriyan Date: Mon Jan 9 20:51:39 2006 -0800 [PATCH] Disable rio on 64-bit platforms Do it via Kconfig rather than via #error. Signed-off-by: Alexey Dobriyan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed653a640419cd9d1ad0f8dc176478e6634a694e Author: akpm@osdl.org Date: Mon Jan 9 20:51:38 2006 -0800 [PATCH] Remove set_fs() in stop_machine() ) From: Brian Gerst Call sched_setscheduler() directly instead. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df2e71fb9115a8d4f721fb1464db09adc8332bc5 Author: akpm@osdl.org Date: Mon Jan 9 20:51:37 2006 -0800 [PATCH] dump_thread() cleanup ) From: Adrian Bunk - create one common dump_thread() prototype in kernel.h - dump_thread() is only used in fs/binfmt_aout.c and can therefore be removed on all architectures where CONFIG_BINFMT_AOUT is not available Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be4f1bb2627c2d963d09be1cd69f8820995a9112 Author: Adrian Bunk Date: Mon Jan 9 20:51:36 2006 -0800 [PATCH] ipmi: fix compile errors with PROC_FS=n ... CC [M] drivers/char/ipmi/ipmi_msghandler.o drivers/char/ipmi/ipmi_msghandler.c:3301: `proc_ipmi_root' undeclared here (not in a function) drivers/char/ipmi/ipmi_msghandler.c:3301: initializer element is not constant drivers/char/ipmi/ipmi_msghandler.c:3301: (near initialization for `__ksymtab_proc_ipmi_root.value') drivers/char/ipmi/ipmi_msghandler.c:1535: warning: `ipmb_file_read_proc' defined but not used drivers/char/ipmi/ipmi_msghandler.c:1551: warning: `version_file_read_proc' defined but not used drivers/char/ipmi/ipmi_msghandler.c:1561: warning: `stat_file_read_proc' defined but not used ... CC [M] drivers/char/ipmi/ipmi_poweroff.o drivers/char/ipmi/ipmi_poweroff.c: In function `ipmi_poweroff_init': drivers/char/ipmi/ipmi_poweroff.c:616: warning: implicit declaration of function `unregister_sysctl_table' drivers/char/ipmi/ipmi_poweroff.c:616: `ipmi_table_header' undeclared (first use in this function) drivers/char/ipmi/ipmi_poweroff.c:616: (Each undeclared identifier is reported only once drivers/char/ipmi/ipmi_poweroff.c:616: for each function it appears in.) Signed-off-by: Adrian Bunk Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c107805aba774667debc01704718960339c24b9 Author: Dave Jones Date: Mon Jan 9 20:51:32 2006 -0800 [PATCH] printk levels for i386 oops code. Especially useful when users have booted with 'quiet'. In the regular 'oops' path, we set the console_loglevel before we start spewing debug info, but we can call the backtrace code from other places now too, such as the spinlock debugging code. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51989b9ffeea58999054fe3f21bd0cd0bd207e5a Author: Dave Jones Date: Mon Jan 9 20:51:32 2006 -0800 [PATCH] printk levels for spinlock debug Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ad42352c01788e41a33336577fdd270d8de55bb Author: David Howells Date: Mon Jan 9 20:51:31 2006 -0800 [PATCH] Add list_for_each_entry_safe_reverse() Add list_for_each_entry_safe_reverse() to linux/list.h This is needed by unmerged cachefs and be an as-yet-unreviewed device_shutdown() fix. Signed-off-by: David Howells Cc: Patrick Mochel Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e329113ca437e44ec399b7ffe114ed36e84ccf5e Author: Ben Gardner Date: Mon Jan 9 20:51:29 2006 -0800 [PATCH] i386: GPIO driver for AMD CS5535/CS5536 A simple driver for the CS5535 and CS5536 that allows a user-space program to manipulate GPIO pins. The CS5535/CS5536 chips are Geode processor companion devices. Signed-off-by: Ben Gardner Signed-off-by: Richard Knutsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dd214b554f675e7e66cbce87e594a36f4a57298 Author: Andrey Borzenkov Date: Mon Jan 9 20:51:28 2006 -0800 [PATCH] fix /sys/class/net//wireless without dev->get_wireless_stats dev->get_wireless_stats is deprecated but removing it also removes wireless subdirectory in sysfs. This patch puts it back. akpm: I don't know what's happening here. This might be appropriate as a 2.6.15.x compatibility backport. Waiting to hear from Jeff. Signed-off-by: Andrey Borzenkov Cc: "David S. Miller" Cc: Jeff Garzik Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0137ecfdc3453f58a9beee95152ff61e8bad97b1 Author: Benjamin Herrenschmidt Date: Mon Jan 9 20:51:27 2006 -0800 [PATCH] nvidiafb: Fixes for new G5 Recent X "nv" driver was fixed for various issues with modern 6xxx and 7xxx cards. This patch ports those fixes to nvidiafb. This makes it work fine on the 6600 bundled with the newest G5 macs. I've verified it still works on the 5200FX of the iMacG5. Signed-off-by: Benjamin Herrenschmidt Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2308acca656c3625c46b671b348fb04b6b006cad Author: Adrian Bunk Date: Mon Jan 9 20:51:26 2006 -0800 [PATCH] "tiny-make-id16-support-optional" fixes It seems the "make UID16 support optional" patch was checked when it edited the -tiny tree some time ago, but it wasn't checked whether it still matches the current situation when it was submitted for inclusion in -mm. This patch fixes the following bugs: - ARCH_S390X does no longer exist, nowadays this has to be expressed through (S390 && 64BIT) - in five architecture specific Kconfig files the UID16 options weren't removed Additionally, it changes the fragile negative dependencies of UID16 to positive dependencies (new architectures are more likely to not require UID16 support). Signed-off-by: Adrian Bunk Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1306a482288152ea0ac091c7a8471adc5569e6c8 Author: Andrew Morton Date: Mon Jan 9 20:51:25 2006 -0800 [PATCH] remove asm/serial.h from synclink_gt. Not all architectures implement asm/serial.h, and the driver doesn't appear to need it anyway. Cc: Paul Fulghum Cc: "David S. Miller" Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3a9aea7aacb26881f3488b879750edb4a578c50 Author: Andrew Morton Date: Mon Jan 9 20:51:24 2006 -0800 [PATCH] spufs: fix for recent "shrink dentry_struct" patch Cc: Eric Dumazet Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97460df37ea3335ca11562568932c9f9facfecdb Author: Eli Cohen Date: Tue Jan 10 07:43:02 2006 -0800 IPoIB: Fix address handle refcounting for multicast groups Multiple ipoib_neigh structures on mcast->neigh_list may point to the same ah. This means that ipoib_mcast_free() can't just make a list of ah structs to free, since this might end up trying to add the same ah to the list more than once. Handle this in ipoib_multicast.c in the same way as it is handled in ipoib_main.c for struct ipoib_path. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 70b4c8cdc168bb5d18e23fd205c4ede1b756a8b2 Author: Eli Cohen Date: Tue Jan 10 07:42:14 2006 -0800 IPoIB: Fix error path in ipoib_mcast_dev_flush() Don't leak memory on allocation failure for broadcast mcast group. Also, print a warning to match handling for other mcast groups. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit cf311cd49a78f1e431787068cc31d29d06a415e6 Author: Sean Hefty Date: Tue Jan 10 07:39:34 2006 -0800 IB: Add node_guid to struct ib_device Add a node_guid field to struct ib_device. It is the responsibility of the low-level driver to initialize this field before registering a device with the midlayer. Convert everyone to looking at this field instead of calling ib_query_device() when all they want is the node GUID, and remove the node_guid field from struct ib_device_attr. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit adfc76419bff33542d4fd53dc7f24818f846f194 Author: Ralf Baechle Date: Fri Dec 23 02:48:17 2005 +0100 MIPS: Malta: Change CPU default to R2. ... giving those with with R1 or older CPU cards more rope to missconfigure their kernels. But MIPS is only selling R2 CPUs since two or three years already. Signed-off-by: Ralf Baechle commit 948928add5b64abd314bc196ac9442618e751487 Author: Ralf Baechle Date: Fri Dec 23 02:16:44 2005 +0100 MIPS: R2: Set 64BIT_PHYS_ADDR for R2 processor also. Signed-off-by: Ralf Baechle commit 7043ad4f4c81914ca9e2cd2208c8f4801ed63735 Author: Ralf Baechle Date: Thu Dec 22 13:41:29 2005 +0100 MIPS: R2: Try to bulletproof instruction_hazard against miss-compilation. Gcc has a tradition of misscompiling the previous construct using the address of a label as argument to inline assembler. Gas otoh has the annoying difference between la and dla which are only usable for 32-bit rsp. 64-bit code, so can't be used without conditional compilation. The alterantive is switching the assembler to 64-bit code which happens to work right even for 32-bit code ... Signed-off-by: Ralf Baechle commit 15265251c5c68fbabdf561cf704e3e305349715a Author: Maxime Bizon Date: Tue Dec 20 06:32:19 2005 +0100 MIPS: R2: Fix local_irq_save() local_irq_restore uses di which saves the whole status content, not just the IE bit resulting in local_irq_restore() to fail. This only happens if both CONFIG_CPU_MIPSR2 and CONFIG_IRQ_CPU are enabled. Signed-off-by: Maxime Bizon Signed-off-by: Ralf Baechle commit d4ea001dd0912a14967266581601494d94a4c565 Author: Ralf Baechle Date: Wed Dec 21 03:02:26 2005 +0100 MIPS: Don't pass -finline-limit=100000. This was a stop gap meassure for gcc 3.3 and newer sometimes not inlining inline functions in the 2.4 days. Starting we pass the always_inline attribute, so -finline-limit is no longer necessary and it's been shown to problematic on Sparc. Signed-off-by: Ralf Baechle commit d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3 Author: Al Viro Date: Fri Dec 16 22:40:47 2005 +0000 MIPS: Namespace pollution: dump_regs() -> elf_dump_regs() dump_regs() is used by a bunch of drivers for their internal stuff; renamed mips instance (one that is seen in system-wide headers) to elf_dump_regs() Signed-off-by: Al Viro Signed-off-by: Ralf Baechle commit 830e9c002a5864e8cfcc55d3875cdebdd4168b00 Author: Ralf Baechle Date: Sat Dec 17 21:11:02 2005 +0000 MIPS: Remove unused CONFIG_CPU_HAS_LLDSCD. Signed-off-by: Ralf Baechle commit c5c64e22834c9f43f246072b4dcb293c9cea0ebe Author: Sergei Shtylyov Date: Fri Nov 25 22:08:08 2005 +0300 MIPS: Au1550: Fix OHCI memory map size USB OpenHCI host controller on Au1550 only decodes memory addresses from 0x14020000 to 0x1407FFFF according to the databook, which gives 0x60000 (on the prior Au1x00 chips the map size was 1MB). Signed-off-by: Sergei Shtylyov Acked-by: Jordan Crouse Signed-off-by: Ralf Baechle commit 29ce2c765ca9a41be6f31aa1770e8ee3ee48cd21 Author: Ralf Baechle Date: Mon Dec 12 20:11:50 2005 +0000 Update Yoichi Yuasa's email address. Signed-off-by: Ralf Baechle commit 2065988e9fb1628de7958b0f7f709b93302f7b97 Author: Ralf Baechle Date: Fri Dec 9 12:42:13 2005 +0000 MIPS: Oprofile: Add 5K, 20K and 25K support. Signed-off-by: Ralf Baechle commit 9efeae9a5cae7e7bdacff666a1d689f5b2901c64 Author: Ralf Baechle Date: Fri Dec 9 12:34:45 2005 +0000 MIPS: Oprofile: Print error message if the CPU happen to have no counters. Signed-off-by: Ralf Baechle commit ba339c03e2e8ede8ccd37ed6c4e564e3b1545495 Author: Ralf Baechle Date: Fri Dec 9 12:29:38 2005 +0000 MIPS: Oprofile: Fixup the loose ends in the plumbing. Signed-off-by: Ralf Baechle commit 0401572a9b9b2f368176b6e53f53004fd048a566 Author: Ralf Baechle Date: Fri Dec 9 12:20:49 2005 +0000 MIPS: Reorganize ISA constants strictly as bitmasks. Signed-off-by: Ralf Baechle commit 11e6df65dc2bae8e7ad17ff81611ddc850b279cd Author: Ralf Baechle Date: Fri Dec 9 12:09:22 2005 +0000 MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing. Signed-off-by: Ralf Baechle commit b4672d37293cb045ec4d57e8b76a62810c96da71 Author: Ralf Baechle Date: Thu Dec 8 14:04:24 2005 +0000 MIPS: Introduce machinery for testing for MIPSxxR1/2. Signed-off-by: Ralf Baechle commit e7958bb90d57f0da073cbd031a1808de51d1de15 Author: Ralf Baechle Date: Thu Dec 8 13:00:20 2005 +0000 MIPS: Rename MIPS_CPU_ISA_M{32,64} -> MIPS_CPU_ISA_M{32,64}R1. Signed-off-by: Ralf Baechle commit 571e0bed85470882cedfb100e847902911c3f4d2 Author: Ralf Baechle Date: Thu Dec 8 00:32:23 2005 +0000 MIPS: MT: Fix 32-bit dependencies. Signed-off-by: Ralf Baechle commit b2d28b7ea57edb4dee34a70fcd89083134017d4d Author: Ralf Baechle Date: Wed Dec 7 18:57:52 2005 +0000 MIPS: Get rid of atomic_lock. It was resulting in build errors for some configurations. Signed-off-by: Ralf Baechle commit 2d5e7b9ffd6fd0cdcf4c51a56b7158a7e38f3dbe Author: Ralf Baechle Date: Wed Dec 7 18:04:40 2005 +0000 MIPS: FP: Remove silly trick to avoid warning. Just doesn't fool a modern compiler anymore. Signed-off-by: Ralf Baechle commit 264879576cabb85f9992e63e0209a99885e3e2f1 Author: Ralf Baechle Date: Wed Dec 7 17:52:40 2005 +0000 MIPS: DSP: Put mask field into the right place. Signed-off-by: Ralf Baechle commit c4fa6348750c68241a14fc255d66b5079439cb30 Author: Ralf Baechle Date: Wed Dec 7 17:50:48 2005 +0000 MIPS: DSP: Put DSPcontrol register into the right place in the signal frame. Signed-off-by: Ralf Baechle commit 07a801def46f412a7ce6de9553dfd8895bf33356 Author: Ralf Baechle Date: Tue Dec 6 09:43:20 2005 +0000 MIPS: DSP: Set all register masks to 0x3ff. 0x2ff was a typo and the value 0x1f of DSP_MASK was refering to an old version of the documentation. Signed-off-by: Ralf Baechle commit f12555d24ca636569b51c6f104aab41b2bba8c32 Author: Atsushi Nemoto Date: Wed Nov 30 13:33:26 2005 +0900 MIPS: Fix mdelay(1) for 64bit kernel with HZ == 1000 mdelay(1) (i.e. udelay(1000)) does not work correctly due to overflow. 1000 * 0x004189374BC6A7f0 = 0x10000000000000180 (>= 2**64) 0x004189374BC6A7ef (0x004189374BC6A7f0 - 1) is OK and it is exactly same as catchall case (0x8000000000000000UL / (500000 / HZ)). Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 6c35585273b26a580b2e2ad3d6a7db282308eec5 Author: Ralf Baechle Date: Mon Dec 5 13:47:25 2005 +0000 MIPS: DSP: eleminate used_dsp. used_dsp was meant to be used like used_math - but since the FPU context is small and lazy context switching is a stupid idea on multiprocessors this idea only got halfway implemented and those bits are were now breaking ptrace. Signed-off-by: Ralf Baechle commit da2c9ed55b0c7e8107f23530bde293239a0b5091 Author: Ralf Baechle Date: Mon Dec 5 13:39:25 2005 +0000 MIPS: DSP: Context switch the DSPcontrol register also. Signed-off-by: Ralf Baechle commit f8e0f2905bf0a7cb5ef2baaf009f0c26f80c3056 Author: Dave Airlie Date: Tue Jan 10 19:56:17 2006 +1100 drm: fix radeon warnings on 64-bit From: Andrew Morton drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture': drivers/char/drm/radeon_state.c:1653: warning: int format, different type arg (arg 3) drivers/char/drm/radeon_state.c:1661: warning: int format, different type arg (arg 3) drivers/char/drm/radeon_state.c:1689: warning: int format, different type arg (arg 3) sizeof() doesn't return an int. Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c Author: Dave Airlie Date: Tue Jan 10 19:53:54 2006 +1100 drm: fix warning on alpha From: Andrew Morton On alpha: drivers/char/drm/via_dmablit.h:44: error: field `direction' has incomplete type Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 5fc4e6e197c7e377f1c8ebec727d40df983aceed Author: Dmitry Torokhov Date: Tue Jan 10 02:00:39 2006 -0500 Input: ibmasm - fix input initialization error path Do not try to free device that has already been unregistered, input_unregister_device() frees it automatically. Spotted by Vernon Mauery Signed-off-by: Dmitry Torokhov commit 94f8d28c47aa425cbcaa4ca7fc7935cd0ddb0151 Author: Paul Mundt Date: Tue Jan 10 02:00:27 2006 -0500 Input: remove obsolete maple input drivers These haven't worked in some time, and we've dropped support for the bus from the SH tree until someone shows some interest in maintaining it. Signed-off-by: Paul Mundt Signed-off-by: Dmitry Torokhov commit e2bd470ec7ebccb338758b5ab1bebf1c7b926b04 Author: Arjan van de Ven Date: Tue Jan 10 01:59:51 2006 -0500 Input: prepare for f_ops constness Avoid doing assignments to a live ->fops so it can be marked as 'const'. Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit c28c3583679c181a03910b6356228e99fcc27167 Author: Miloslav Trmac Date: Tue Jan 10 01:59:07 2006 -0500 Input: wistron - do not crash if BIOS does not support interface offset can never be < 0 because it has type size_t. The driver currently oopses on insmod if BIOS does not support the interface, instead of refusing to load. Signed-off-by: Miloslav Trmac Signed-off-by: Dmitry Torokhov commit ebbac7dde2f5c6b4bd219573f840d4b3952e6220 Author: Dmitry Torokhov Date: Tue Jan 10 01:58:47 2006 -0500 Input: grip_mp - kill commented out code Kill leftovers of dynalloc conversion. Signed-off-by: Dmitry Torokhov commit 3b212db9217d02e623eaa12f41c9b5f8c6a99535 Author: David Woodhouse Date: Tue Jan 10 05:16:22 2006 +0000 [PATCH] powerpc: Some ppc compile fixes... This gets most of the Fedora rawhide RPM building again, as long as I disable CHRP. Signed-off-by: Paul Mackerras commit 8b4ad5e3ff94409973e824716c65568f0d97364c Author: David S. Miller Date: Mon Jan 9 21:38:23 2006 -0800 [MUTEX]: linux/mutex-debug.h needs linux/linkage.h For FASTCALL() define. Signed-off-by: David S. Miller commit 9d17a5c611a7462a41b06c75f661f4106d380a86 Author: Benjamin Herrenschmidt Date: Tue Jan 10 14:50:37 2006 +1100 [PATCH] powerpc: Extended PCI config space This adds back the call to pci_cfg_space_size() when building the PCI tree from OF nodes that was commented out due to the function not being exported by the PCI code. It's now exported, so let's use it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f8cd32167d96680af19c3ef5fb01d4460be89982 Author: Stephen Rothwell Date: Tue Jan 10 10:36:14 2006 +1100 [PATCH] powerpc: remove compat_sys_pciconfig_* Matthew Wilcox wondered why we need these functions. We don't. Remove them and just use the "normal" versions. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 13b8a272297b29870d5bf5f8db7a381dd9e82382 Author: Paul Mackerras Date: Tue Jan 10 16:19:05 2006 +1100 powerpc: Introduce a new config symbol to control 16550 early debug code The previous change by Kumar Gala in this area led to legacy_serial.c and udbg_16550.c being built as modules when CONFIG_SERIAL_8250=m. Fix this by introducing a new symbol, CONFIG_PPC_UDBG_16550, to control whether these files get built, and arrange for it to be selected for those platforms that need it. Signed-off-by: Paul Mackerras commit cdade109d36b5f958fdc93f31ae8b472afeab6ef Author: David S. Miller Date: Mon Jan 9 20:43:57 2006 -0800 [SPARC64]: Fix sys_fstat64() entry in 64-bit syscall table. Noticed by Jakub Jelinek. Signed-off-by: David S. Miller commit 0f17574a651884c721e1a33051719e59deb13c18 Author: linas Date: Thu Dec 1 18:42:32 2005 -0600 [PATCH] powerpc/pseries: dlpar-add crash on null pointer deref This fixes a crash on null-pointer deref during dlpar slot addition. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 1c87c0f84943fbbc91826967ff4fea1b059a526f commit) commit 18eb3b398d92028e6f09f0423aa4e2a7b1096db3 Author: Paul Mackerras Date: Tue Nov 29 17:17:02 2005 +1100 powerpc: Fix up some compile errors in the PCI error recovery code is gone now, and the PCI error recovery constants in include/linux/pci.h changed their names in the process of getting accepted. Signed-off-by: Paul Mackerras (cherry picked from 5a2516156c591fc3d2059fbd93f97e15eb6010d6 commit) commit 257ffc64a6c22621ecb0371b7f10d5b40b74c878 Author: Linas Vepstas Date: Thu Nov 3 18:55:25 2005 -0600 [PATCH] powerpc: get rid of per_cpu EEH counters 242-eeh-no-percpu-counters.patch Remove per-cpu counters from the EEH code. These statistics counters are incremented at a very low frequency, and the performance gains of per-cpu variables are negligable. By contrast, the counters weren't safe against cpu off/online operations, and its not worth the effort to make them so (other than to turn them into plain globals). Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from be3b5d1be053ccb41e91fa5a6f43ef5db301357d commit) commit 7684b40cb53ba00cc51271f1c42897b776c48fbc Author: Linas Vepstas Date: Thu Nov 3 18:55:19 2005 -0600 [PATCH] powerpc: Save device BARs much earlier in the boot sequence 241-eeh-save-bars-earlier.patch Save the PCI device bars *before* any PCI probing is done. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 76c902b919098860f3d4e125f847abcc4cb1782a commit) commit d177c207ba16b1db31283e2d1fee7ad4a863584b Author: Linas Vepstas Date: Thu Nov 3 18:55:14 2005 -0600 [PATCH] powerpc: IOMMU: don't ioremap null addresses 240-ioremap-null-ptr-test.patch Under highly unusual circumstances, a buggy driver will ask a null ptr to be ioremapped, an operation that curently succeeds but leads to later trouble. Instead, refuse to remap the null pointer. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e71d9e598533c1889e7162f5f4647e5d378c102c commit) commit 3914ac7b0e672131dc2ac8b415ada79c4ccbbb31 Author: Linas Vepstas Date: Thu Nov 3 18:55:01 2005 -0600 [PATCH] powerpc: handle multifunction PCI devices properly 239-eeh-multifunction-consolidate.patch New-style firmware will often place multiple different functions under a non-EEH-aware parent. However, these devices might share a common PE "partition endpoint" and config address, ad thus any EEH events will affect all of the devices in common. This patch makes the effort to find all of these common devices and handle them together. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 216810296bb97d39da8e176822e9de78d2f00187 commit) commit b6495c0c8f100b882d85774f44529519befefba9 Author: Linas Vepstas Date: Thu Nov 3 18:54:54 2005 -0600 [PATCH] powerpc: Don't continue with PCI Error recovery if slot reset failed. 238-eeh-stop-if-reset_failed.patch If the firmware is unable to reset the PCI slot for some reason, then don't attempt any further recovery steps after that point. Instead, mark the device as permanently failed. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e06b942521eb2cdaf232726f45a820d5837acb12 commit) commit 21e464dd7c943c984dcccd9aff8c9f6a5ea920d7 Author: Linas Vepstas Date: Thu Nov 3 18:54:47 2005 -0600 [PATCH] powerpc: set up the RTAS token just like the rest of them. 237-eeh-bridge-token.patch Minor: the rtas-bridge token should be set up the same way that all the other rtas tokens are set up. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 78379b6c5fc17b6666c40b05988e6708e98479c0 commit) commit fcb7543e3d01ad9ebd3498eb50fcf323edb163ab Author: Linas Vepstas Date: Thu Nov 3 18:54:39 2005 -0600 [PATCH] powerpc: Use PE configuration address consistently 236-eeh-config-addr.patch The PE configuration address wasn't being cnsistently used in all locations where a config address is called for. This patch adds it to the places it should have appeared in. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from c2bc904a28095aca0b04a37854b63b78622a032e commit) commit 821b537fd7bf9018f1df4b882cea199613147f65 Author: Linas Vepstas Date: Thu Nov 3 18:54:34 2005 -0600 [PATCH] powerpc: bugfix: fill in uninitialized field 235-eeh-set-pcidev-bugfix.patch The pci device field of the pci_dn struct should be initialized to a valid value. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from beb45c93d494a11c36e5b24f638e610db8428b54 commit) commit 9fb40eb883ad2d22ad6975b4323cb76e018fa280 Author: Linas Vepstas Date: Thu Nov 3 18:54:29 2005 -0600 [PATCH] powerpc: Remove duplicate code 234-eeh-find-pe.patch The find_device_pe() routine is duplicated in two files. Remove one of the two copies, declare the other extern. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 48408e708282d4d0269136ff27ea5acbd9410b5a commit) commit f751f84164bec4f38037b221a194c54d96c73d06 Author: Linas Vepstas Date: Thu Nov 3 18:54:23 2005 -0600 [PATCH] powerpc: remove bogus printk 233-eeh-buid-fix.patch Remove un-desired warning print from EEH code. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit) commit 25e591f6dd07365cbf0b1c2454386ce597dd5e05 Author: Linas Vepstas Date: Thu Nov 3 18:53:20 2005 -0600 [PATCH] powerpc: Add "partitionable endpoint" support 26-eeh-partition-endpoint.patch New versions of firmware introduce a new method by which the "partitionable endpoint" (the point at which the pci bus is cut) should be located. This code adds the support for this (mandatory) new feature. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 9fcfb5d35b5294659f9299aa9cae6fd16325c07e commit) commit 5d5a0936b3ad9e3d3f6eaf61f1a06c62ea0e7a59 Author: Linas Vepstas Date: Thu Nov 3 18:53:07 2005 -0600 [PATCH] powerpc: Split out PCI address cache to its own file 25-pci-address-cache.patch The core EEH file is rather large. This patch splits out a self-contained chunk of it into its own file. This is the chunk that performes the caching and lookup of pci devices based on the i/o addresses of thier resoures. This code is almos architecture-independent and could be used by any system that wanted to find a pci device based only on the i/o address used by the device. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from b0b291d59906d4a9a89ed9e34d9fd684c7188924 commit) commit 77bd741561016134d1761d6101c4f0361025062f Author: Linas Vepstas Date: Thu Nov 3 18:52:49 2005 -0600 [PATCH] powerpc: PCI Error Recovery: PPC64 core recovery routines Various PCI bus errors can be signaled by newer PCI controllers. The core error recovery routines are architecture dependent. This patch adds a recovery infrastructure for the PPC64 pSeries systems. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e8ca11b460c4c9c7fa6b529be221529ebd770e38 commit) commit dbc1651f0c5b7d13acc59d3b805a7224332fb1fb Author: Oleg Nesterov Date: Sun Jan 8 22:19:33 2006 +0300 [PATCH] rcu: don't set ->next_pending in rcu_start_batch() I think it is better to set ->next_pending in the caller, when it is needed. This saves one parameter, and this coincides with cpu_quiet() beahaviour, which sets ->completed = ->cur itself. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit 11b751ae8c8ca3fa24c85bd5a3e51dd9f95cda17 Author: Ingo Molnar Date: Mon Jan 9 15:59:27 2006 -0800 [PATCH] mutex subsystem, semaphore to completion: drivers/block/loop.c convert the block loop device from semaphores to completions. Signed-off-by: Ingo Molnar commit f36d4024caa3790606e43228a574157c45b73b22 Author: Aleksey Makarov Date: Mon Jan 9 15:59:27 2006 -0800 [PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem The patch changes semaphores that are initialized as locked to complete(). Source: MontaVista Software, Inc. Modified-by: Steven Rostedt The following patch is from Montavista. I modified it slightly. Semaphores are currently being used where it makes more sense for completions. This patch corrects that. Signed-off-by: Aleksey Makarov Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar commit 3fe0c2776113c24b4b30374003f934cf44280db5 Author: Steven Rostedt Date: Mon Jan 9 15:59:26 2006 -0800 [PATCH] mutex subsystem, semaphore to completion: CPU3WDT change CPU3WDT semaphores to completions. Signed-off-by: Ingo Molnar commit 906c3b75f6c09b4693a20387aaa6aaa50d327082 Author: Steven Rostedt Date: Mon Jan 9 15:59:26 2006 -0800 [PATCH] mutex subsystem, semaphore to completion: SX8 change SX8 semaphores to completions. Signed-off-by: Ingo Molnar commit 7892f2f48d165a34b0b8130c8a195dfd807b8cb6 Author: Ingo Molnar Date: Mon Jan 9 15:59:25 2006 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, sb->s_lock This patch converts the superblock-lock semaphore to a mutex, affecting lock_super()/unlock_super(). Tested on ext3 and XFS. Signed-off-by: Ingo Molnar commit 1b1dcc1b57a49136f118a0f16367256ff9994a69 Author: Jes Sorensen Date: Mon Jan 9 15:59:24 2006 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem This patch converts the inode semaphore to a mutex. I have tested it on XFS and compiled as much as one can consider on an ia64. Anyway your luck with it might be different. Modified-by: Ingo Molnar (finished the conversion) Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar commit 794ee1baee1c26be40410233e6c20bceb2b03c08 Author: Jes Sorensen Date: Mon Jan 9 15:59:21 2006 -0800 [PATCH] mutex subsystem, semaphore to mutex: XFS This patch switches XFS over to use the new mutex code directly as opposed to the previous workaround patch I posted earlier that avoided the namespace clash by forcing it back to semaphores. This falls in the 'works for me' category. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar commit de5097c2e73f826302cd8957c225b3725e0c7553 Author: Ingo Molnar Date: Mon Jan 9 15:59:21 2006 -0800 [PATCH] mutex subsystem, more debugging code more mutex debugging: check for held locks during memory freeing, task exit, enable sysrq printouts, etc. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 408894ee4dd4debfdedd472eb4d8414892fc90f6 Author: Ingo Molnar Date: Mon Jan 9 15:59:20 2006 -0800 [PATCH] mutex subsystem, debugging code mutex implementation - add debugging code. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit f3f54ffa703c6298240ffd69616451d645bae4d5 Author: Ingo Molnar Date: Mon Jan 9 15:59:20 2006 -0800 [PATCH] mutex subsystem, documentation Add mutex design related documentation. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 6053ee3b32e3437e8c1e72687850f436e779bd49 Author: Ingo Molnar Date: Mon Jan 9 15:59:19 2006 -0800 [PATCH] mutex subsystem, core mutex implementation, core files: just the basic subsystem, no users of it. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 2acbb8c657af86b2fa5b185f1d7048385e310585 Author: Arjan van de Ven Date: Mon Jan 9 15:59:19 2006 -0800 [PATCH] mutex subsystem, add default include/asm-*/mutex.h files add the per-arch mutex.h files for the remaining architectures. We default to asm-generic/mutex-dec.h, because that performs quite well on most arches. Arches that do not have atomic decrement/increment instructions should switch to mutex-xchg.h instead. Arches can also provide their own implementation for the mutex fastpath primitives. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar commit 823d0f4f67252115212eb86caba14d5795bbe643 Author: Nicolas Pitre Date: Mon Jan 9 15:59:18 2006 -0800 [PATCH] mutex subsystem, add include/asm-arm/mutex.h add the ARM version of mutex.h, which is optimized in assembly for ARMv6, and uses the xchg implementation on pre-ARMv6. Signed-off-by: Ingo Molnar commit b8aa0361e434f8d9cbe9bb34525af1e8721396d8 Author: Ingo Molnar Date: Mon Jan 9 15:59:18 2006 -0800 [PATCH] mutex subsystem, add include/asm-x86_64/mutex.h add the x86_64 version of mutex.h, optimized in assembly. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 2af7f59eeec18f310b6209d18652ce2387615507 Author: Arjan van de Ven Date: Mon Jan 9 15:59:18 2006 -0800 [PATCH] mutex subsystem, add include/asm-i386/mutex.h add the i386 version of mutex.h, optimized in assembly. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar commit 620a6fd185c084aa617c411f711533f01ea673c9 Author: Ingo Molnar Date: Mon Jan 9 15:59:17 2006 -0800 [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations Add three (generic) mutex fastpath implementations. The mutex-xchg.h implementation is atomic_xchg() based, and should work fine on every architecture. The mutex-dec.h implementation is atomic_dec_return() based - this one too should work on every architecture, but might not perform the most optimally on architectures that have no atomic-dec/inc instructions. The mutex-null.h implementation forces all calls into the slowpath. This is used for mutex debugging, but it can also be used on platforms that do not want (or need) a fastpath at all. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 711a660dc2064013a2b0167ee67389707fc9cac3 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Jan 9 15:59:17 2006 -0800 [PATCH] mutex subsystem, add typecheck_fn(type, function) add typecheck_fn(type, function) to do type-checking of function pointers. Modified-by: Ingo Molnar (made it typeof() based, instead of typedef based.) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Ingo Molnar commit ffbf670f5cd50501a34a5187981460da2216071e Author: Ingo Molnar Date: Mon Jan 9 15:59:17 2006 -0800 [PATCH] mutex subsystem, add atomic_xchg() to all arches add atomic_xchg() to all the architectures. Needed by the new mutex code. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit b3c29d85bf0dcce9e99cbfba2811aeefae017aaa Author: Jesper Juhl Date: Tue Jan 10 00:35:22 2006 +0100 Small fixups to the EHCI Kconfig help text Here's a small patch with a few tiny fixups for the EHCI Kconfig help text. Please consider applying. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 87635b71b544563f29050a9cecaa12b5d2a3e34a Author: Roland Dreier Date: Mon Jan 9 15:29:53 2006 -0800 IB/mthca: Factor common MAD initialization code Factor out common code for initializing MAD packets, which is shared by many query routines in mthca_provider.c, into init_query_mad(). add/remove: 1/0 grow/shrink: 0/4 up/down: 16/-44 (-28) function old new delta init_query_mad - 16 +16 mthca_query_port 521 518 -3 mthca_query_pkey 301 294 -7 mthca_query_device 648 641 -7 mthca_query_gid 453 426 -27 Signed-off-by: Roland Dreier commit 105e50a5e8f184af31daffce4d7bfd7771fe213f Author: Roland Dreier Date: Mon Jan 9 15:21:21 2006 -0800 IB/mthca: kzalloc conversions Convert kmalloc()/memset(,0,) pairs to kzalloc(). Signed-off-by: Roland Dreier commit e82443c092fc37a907c117d36f44b6fe143567ae Author: Adrian Bunk Date: Tue Jan 10 00:20:30 2006 +0100 Documentation/filesystems/proc.txt: indentation fix Signed-off-by: Adrian Bunk commit c28ab5d23a9c8dd99f12602e6ae7feba6f0b43ea Author: Adrian Bunk Date: Tue Jan 10 00:15:25 2006 +0100 remove the outdated arch/i386/kernel/cpu/{,mtrr/}changelog This patch removes two outdated changelog files. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 52461121b242365b777762bf7c5f41c55a330646 Author: Adrian Bunk Date: Tue Jan 10 00:13:57 2006 +0100 MAINTAINERS: remove BUSLOGIC entry Leonard N. Zubkoff passed away in August 2002. Signed-off-by: Adrian Bunk commit 93b1fae49189d82bca38f47334e9853e44105ced Author: Adrian Bunk Date: Tue Jan 10 00:13:33 2006 +0100 spelling: s/trough/through/ Additionally, one comment was reformulated by Joe Perches . Signed-off-by: Adrian Bunk commit 943ffb587cfdf3b2adfe52a6db08573f4ecf3284 Author: Adrian Bunk Date: Tue Jan 10 00:10:13 2006 +0100 spelling: s/retreive/retrieve/ Signed-off-by: Adrian Bunk commit 540695886075964c0e5295bea8e4793e8765d010 Author: Adrian Bunk Date: Tue Jan 10 00:09:36 2006 +0100 s/assoicated/associated/ Signed-off-by: Adrian Bunk commit a58a414fd5438f5ade6210ad0e8b14fbd6f503c5 Author: Adrian Bunk Date: Tue Jan 10 00:08:17 2006 +0100 spelling: s/usefull/useful/ Signed-off-by: Adrian Bunk commit dff2c03534f525813342ab8dec90c5bb1ee07471 Author: Arnaldo Carvalho de Melo Date: Mon Jan 9 14:56:56 2006 -0800 [INET_DIAG]: Introduce sk_diag_fill To be called from inet_diag_get_exact, also rename inet_diag_fill to inet_csk_diag_fill, for consistency with inet_twsk_diag_fill. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c7d58aabdc08aea92d6c5e01dcd7473a74b3642c Author: Arnaldo Carvalho de Melo Date: Mon Jan 9 14:56:38 2006 -0800 [INET_DIAG]: Introduce inet_twsk_diag_dump & inet_twsk_diag_fill To properly dump TIME_WAIT sockets and to reduce complexity a bit by having per socket class accessor routines. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 4e852c027989c9fd5c51fb0080e28590c35c75ba Author: Arnaldo Carvalho de Melo Date: Mon Jan 9 14:56:19 2006 -0800 [INET_DIAG]: whitespace/simple cleanups Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7dbf0755249336f44f57368bdbf6f84103b3ba75 Author: Arnaldo Carvalho de Melo Date: Mon Jan 9 14:56:03 2006 -0800 [INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets The fields being accessed in inet_diag_dump are outside sock_common, the common part of struct sock and struct inet_timewait_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7225b3fd0b6e224235fc50a69f70479ff96d5602 Author: Pierre Ossman Date: Mon Jan 9 22:51:46 2006 +0000 [MMC] Indicate that R1/R1b contains command opcode Some controllers actually check the first byte of the response (most don't). This byte contains the command opcode for R1/R1b and all 1:s for other types. The difference must be indicated to the controller so it knows which reply to expect. Signed-off-by: Pierre Ossman commit 3ebc284d52757cf39788731f8fddd70a89f7fc23 Author: David S. Miller Date: Mon Jan 9 14:36:49 2006 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 695ca07bf1036091eff2f11d2fe5f1585c2ac8c8 Author: Richard Mortimer Date: Mon Jan 9 14:35:50 2006 -0800 [SPARC64]: Fix ptrace/strace Don't clobber register %l0 while checking TI_SYS_NOERROR value in syscall return path. This bug was introduced by: db7d9a4eb700be766cc9f29241483dbb1e748832 Problem narrowed down by Luis F. Ortiz and Richard Mortimer. I tried using %l2 as suggested by Luis and that works for me. Looking at the code I wonder if it makes sense to simplify the code a little bit. The following works for me but I'm not sure how to exercise the "NOERROR" codepath. Signed-off-by: David S. Miller commit a2c2064f7f23fde23e34fb5d07de43b582966b71 Author: Patrick McHardy Date: Sun Jan 8 22:37:26 2006 -0800 [IPV6]: Set skb->priority in ip6_output.c Set skb->priority = sk->sk_priority as in raw.c and IPv4. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cfacb0577e319b02ed42685a0a8e0f1657ac461b Author: Patrick McHardy Date: Sun Jan 8 22:36:54 2006 -0800 [IPV4]: ip_output.c needs xfrm.h This patch fixes a warning from my IPsec patches: CC net/ipv4/ip_output.o net/ipv4/ip_output.c: In function 'ip_finish_output': net/ipv4/ip_output.c:208: warning: implicit declaration of function 'xfrm4_output_finish' Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 29f1df6cc1c3ee3530939f0e38d80a9b50645ba5 Author: Jamal Hadi Salim Date: Sun Jan 8 22:35:55 2006 -0800 [PKT_SCHED]: Fix qdisc return code. The mapping between TC_ACTION_SHOT and the qdisc return codes is better suited to NET_XMIT_BYPASS so as not to confuse TCP Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 253af4235d24ddfcd9f5403485e9273b33d8fa5e Author: Jamal Hadi Salim Date: Sun Jan 8 22:34:25 2006 -0800 [NET]: Add IFB (Intermediate Functional Block) network device. A new device to do intermidiate functional block in a system shared manner. To use the new functionality, you need to turn on qos/classifier actions. The new functionality can be grouped as: 1) qdiscs/policies that are per device as opposed to system wide. ifb allows for a device which can be redirected to thus providing an impression of sharing. 2) Allows for queueing incoming traffic for shaping instead of dropping. Packets are redirected to this device using tc/action mirred redirect construct. If they are sent to it by plain routing instead then they will merely be dropped and the stats would indicate that. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit c1854ebc7f13b23c3d6a6e641a1a1db1116ca998 Author: Ralf Baechle Date: Sun Jan 8 22:31:04 2006 -0800 [AX25] mkiss: Drop spinlock before sleeping call. With the previous missing-unlock fix the spinlock is dropped only after the tty->driver->write() call which might sleep. Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller commit 09a626600b437d91f6b13ade5c7c4b374893c54e Author: Kris Katterjohn Date: Sun Jan 8 22:24:28 2006 -0800 [NET]: Change some "if (x) BUG();" to "BUG_ON(x);" This changes some simple "if (x) BUG();" statements to "BUG_ON(x);" Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 4bba3925924148c24fb0c7636a04ad69a6a56b84 Author: Patrick McHardy Date: Sun Jan 8 22:22:14 2006 -0800 [PKT_SCHED]: Prefix tc actions with act_ Clean up the net/sched directory a bit by prefix all actions with act_. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 541673c859c0d71dedaaea1c148dfe3ccccc9422 Author: Patrick McHardy Date: Sun Jan 8 22:17:27 2006 -0800 [PKT_SCHED]: Fix memory leak when dumping in pedit action Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 31bd06eb33bbabe643385a861d780d950ca73846 Author: Patrick McHardy Date: Sun Jan 8 22:16:25 2006 -0800 [PKT_SCHED]: Remove some obsolete policer exports Also make sure the legacy code is only built when CONFIG_NET_CLS_ACT is not set. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f43c5a0df38e12f53a3023175a12da9b7ef0df63 Author: Patrick McHardy Date: Sun Jan 8 22:15:34 2006 -0800 [PKT_SCHED]: Convert tc action functions to single skb pointers tcf_action_exec only gets a single skb pointer and doesn't own the skb, but passes double skb pointers (to a local variable) to the action functions. Change to use single skb pointers everywhere. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 538e43a4bd36ae49873ef7097a16a207f5d9912b Author: Patrick McHardy Date: Sun Jan 8 22:12:03 2006 -0800 [PKT_SCHED]: Use USEC_PER_SEC Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2941a4863154982918d39a639632c76eeacfa884 Author: Patrick McHardy Date: Sun Jan 8 22:05:26 2006 -0800 [NET]: Convert net/{ipv4,ipv6,sched} to netdev_priv Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a429d2609c153882c421b067ad5ae5a38851459e Author: Herbert Xu Date: Sat Jan 7 16:38:15 2006 +1100 [CRYPTO] cipher: Set alignmask for multi-byte loads Many cipher implementations use 4-byte/8-byte loads/stores which require alignment on some architectures. This patch explicitly sets the alignment requirements for them. Signed-off-by: Herbert Xu commit 7302533aac2df321b76e8a113e5cfa529c825b09 Author: Herbert Xu Date: Sat Jan 7 16:24:15 2006 +1100 [CRYPTO] api: Require block size to be less than PAGE_SIZE/8 The cipher code path may allocate up to two blocks of data on the stack. Therefore we need to place limits on the maximum block size. Signed-off-by: Herbert Xu commit bcb0ad2b34daade529ce1f38eede0ea8b7309535 Author: Herbert Xu Date: Wed Dec 21 19:01:58 2005 +0800 [CRYPTO] sha1: Fixed off-by-64 bug in sha1_update After a partial update, the done pointer is off to the right by 64 bytes. Signed-off-by: Herbert Xu commit afad2608c766f53c79ec4ffccdb4bef660b90a89 Author: Daniel Marjamäki Date: Sat Dec 3 17:16:42 2005 +1100 [CRYPTO] aes-i586: Remove unused variable ls_tab It is assigned but never read. Signed-off-by: Daniel Marjamäki Signed-off-by: Herbert Xu commit e6a3a925a25ddd2ebd66dbc8d14ebdd3d57ca0c3 Author: Denis Vlasenko Date: Tue Nov 29 22:23:20 2005 +1100 [CRYPTO] aes-i586: Nano-optimisation on key length check Reduce the number of comparisons by one through the use of jb/je. This patch also corrects the comments regarding the different key lengths. Signed-off-by: Herbert Xu commit 827c3911d8551842900f44c9a139382bcae68e6e Author: Herbert Xu Date: Tue Nov 29 22:04:41 2005 +1100 [CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt Since the temporary buffer is used as an argument to cia_decrypt, it must be aligned by cra_alignmask. This bug was found by linux@horizon.com. Signed-off-by: Herbert Xu commit fa9b98fdab5b57ecb4dd3d6c2489e262af458c44 Author: Nicolas Pitre Date: Sun Nov 13 11:17:33 2005 +1100 [CRYPTO] sha1: Avoid shifting count left and right This patch avoids shifting the count left and right needlessly for each call to sha1_update(). It instead can be done only once at the end in sha1_final(). Keeping the previous test example (sha1_update() successively called with len=64), a 1.3% performance increase can be observed on i386, or 0.2% on ARM. The generated code is also smaller on ARM. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit 9d70a6c86cd86e111291bd0d506028ecb9649923 Author: Nicolas Pitre Date: Sun Nov 13 10:59:54 2005 +1100 [CRYPTO] sha1: Rename i/j to done/partial This patch gives more descriptive names to the variables i and j. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit cfa8d17cc836905ad174fd924701b352585d62f1 Author: Nicolas Pitre Date: Sun Nov 13 10:47:20 2005 +1100 [CRYPTO] sha1: Avoid useless memcpy() The current code unconditionally copy the first block for every call to sha1_update(). This can be avoided if there is no pending partial block. This is always the case on the first call to sha1_update() (if the length is >= 64 of course. Furthermore, temp does need to be called if sha_transform is never invoked. Also consolidate the sha_transform calls into one to reduce code size. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit c8a19c91b5b488fed8cce04200a84c6a35c0bf0c Author: Herbert Xu Date: Sat Nov 5 18:06:26 2005 +1100 [CRYPTO] Allow AES C/ASM implementations to coexist As the Crypto API now allows multiple implementations to be registered for the same algorithm, we no longer have to play tricks with Kconfig to select the right AES implementation. This patch sets the driver name and priority for all the AES implementations and removes the Kconfig conditions on the C implementation for AES. Signed-off-by: Herbert Xu commit 5cb1454b862ab3040b78364d58330262fea1ddba Author: Herbert Xu Date: Sat Nov 5 16:58:14 2005 +1100 [CRYPTO] Allow multiple implementations of the same algorithm This is the first step on the road towards asynchronous support in the Crypto API. It adds support for having multiple crypto_alg objects for the same algorithm registered in the system. For example, each device driver would register a crypto_alg object for each algorithm that it supports. While at the same time the user may load software implementations of those same algorithms. Users of the Crypto API may then select a specific implementation by name, or choose any implementation for a given algorithm with the highest priority. The priority field is a 32-bit signed integer. In future it will be possible to modify it from user-space. This also provides a solution to the problem of selecting amongst various AES implementations, that is, aes vs. aes-i586 vs. aes-padlock. Signed-off-by: Herbert Xu commit 06ace7a9bafeb9047352707eb79e8eaa0dfdf5f2 Author: Herbert Xu Date: Sun Oct 30 21:25:15 2005 +1100 [CRYPTO] Use standard byte order macros wherever possible A lot of crypto code needs to read/write a 32-bit/64-bit words in a specific gender. Many of them open code them by reading/writing one byte at a time. This patch converts all the applicable usages over to use the standard byte order macros. This is based on a previous patch by Denis Vlasenko. Signed-off-by: Herbert Xu commit 2df15fffc612b53b2c8e4ff3c981a82441bc00ae Author: Herbert Xu Date: Sun Oct 30 20:44:37 2005 +1100 [PADLOCK] Fix sparse warning about 1-bit signed bit-field Change the bit-field in struct cword to unsigned to shut sparse up. Signed-off-by: Herbert Xu commit 90bf8116641d6c9fb6f88329634341f9a0f429c6 Author: David S. Miller Date: Mon Jan 9 13:59:12 2006 -0800 [SPARC64]: Add needed pm_power_off symbol. Signed-off-by: David S. Miller commit 92898522e3ee1a0ba54140aad1974d9e868f74ae Author: Michael S. Tsirkin Date: Mon Jan 9 14:04:40 2006 -0800 IB/mthca: prevent event queue overrun I am seeing EQ overruns in SDP stress tests: if the CQ completion handler arms a CQ, this could generate more EQEs, so that EQ will never get empty and consumer index will never get updated. This is similiar to what we have with command interface: /* * cmd_event() may add more commands. * The card will think the queue has overflowed if * we don't tell it we've been processing events. */ However, for completion events, we *don't* want to update the consumer index on each event. So, perform EQ doorbell coalescing: allocate EQs with some spare EQEs, and update once we run out of them. The value 0x80 was selected to avoid any performance impact. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 6627fa662e86c400284b64c13661fdf6bff05983 Author: Michael S. Tsirkin Date: Mon Jan 9 13:50:57 2006 -0800 IB/mthca: fix page shift calculation in mthca_reg_phys_mr() For all pages except possibly the last one, the byte beyond the buffer end must be page aligned. Therefore, when computing the page shift to use, OR the end addresses of the buffers as well as the start addresses into the mask we check. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4f0210b9c4889eede9f8f379f93570c01998ccb9 Author: Sam Ravnborg Date: Mon Jan 9 22:48:34 2006 +0100 kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL Eric Sandeen pointed out that it is usefull to have access to VERSION, PATCHLEVEL, SUBLEVEL in external modules, and gooling a litte confirmed this. So re-export them. Usage within the kernel is still discouraged but possible. Signed-off-by: Sam Ravnborg commit fe38ea5623d262afc0b92ea47b8a7d8c988521d2 Author: Ben Dooks Date: Mon Jan 9 21:16:18 2006 +0000 [ARM] 3246/1: S3C24XX - retab clock list in arch/arm/mach-s3c2410/clock.c Patch from Ben Dooks Properly tabulate the clock table in arch/arm/mach-s3c2410/clock.c and put the requisite commas on the end of the structs. Fix the comment about clock enable and disable in the setup code Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 788ee7b09883515f3a72a8f2a980df5e94f37e2c Author: Russell King Date: Mon Jan 9 21:12:17 2006 +0000 [MMC] Add DATA_MULTI flag Some hosts need to know that a transfer will be multi-block. Add a data flag to indicate multiple data block transfers. Signed-off-by: Russell King commit 682e852e2638ed0aff84aa51181c9e5d2f939562 Author: Alexey Dobriyan Date: Tue Jan 10 00:09:16 2006 +0300 [PATCH] Fix more "if ((err = foo() < 0))" typos Another reason to use: ret = foo(); if (ret < 0) goto out; Signed-off-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit 41ed16fa47350661da01443b8241bf6ca8080fd7 Author: Hugh Dickins Date: Mon Jan 9 20:46:49 2006 +0000 [PATCH] Fix sg_page_malloc() memset sg_page_malloc should clear the data buffer, not that extent of mem_map. This fixes Jesper's sg_page_free "Bad page states" Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds commit cec418346e5a411e907293aba7cc21ac53c95834 Author: Michael Krufky Date: Mon Jan 9 18:21:40 2006 -0200 V4L/DVB (3336): Bluebird firmware hosting moved to common dvb firmware dir on linuxtv.org - Get_dvb_firmware script updated accordingly: - my $url = "http://www.linuxtv.org/~mkrufky/dvb-usb-bluebird-01.fw"; + my $url = "http://www.linuxtv.org/download/dvb/firmware/dvb-usb-blue$ Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b9f4ad57f70b8a29851b4f4247294f4aba6ae815 Author: Chris Pascoe Date: Mon Jan 9 18:21:39 2006 -0200 V4L/DVB (3329): cx88_subids whitespace cleanup - Clean up a recently introduced spaces vs tabs whitespace problem. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 81481e9e1278420ed380da69e052c54e3670bf03 Author: Michael Krufky Date: Mon Jan 9 18:21:38 2006 -0200 V4L/DVB (3328): replace omitted 'TODO:' - replace omitted 'TODO:' Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f53737882e26ff08022fec6ad79f061c49dadda2 Author: Patrick Boettcher Date: Mon Jan 9 18:21:38 2006 -0200 V4L/DVB (3327): Remove DViCO specific firmware hacks from the generic code. - Move the code that patches bluebird firmware before upload from the generic code into the cxusb driver itself. Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 5af0c8f6a09534ebc6c56b4e5d79d0d521364750 Author: Hans Verkuil Date: Mon Jan 9 18:21:37 2006 -0200 V4L/DVB (3326): Fix stereo and standard reporting of msp3400 (esp. for radio) - Add VIDIOC_LOG_STATUS to the radio device ioctl list. - Reduce the confusion between modes and standards - Fix stereo reporting for radio. - Don't set i2c configuration if the chip doesn't support it. - Fix reporting of current standard for radio. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 5b0fa4fff17d944b6a0d4cb35d8e8b5ad0ac3669 Author: Oliver Endriss Date: Mon Jan 9 18:21:37 2006 -0200 V4L/DVB (3325): WSS output interface for av7110 - Implemented v4l2 api for sliced vbi data output to pass WSS data from userspace to the av7110 Signed-off-by: Oliver Endriss Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d312a46e5340be6a89c662ac483230c0737148c9 Author: Hans Verkuil Date: Mon Jan 9 18:21:36 2006 -0200 V4L/DVB (3324): msp3400 audio handling bug fixes. - Check capabilities for audio settings (volume, balance, bass, treble, loudness, mute) - added loudness support - added missing VIDEO_AUDIO_BALANCE flags for v4l1 compatibility - do not call msp_any_detect_stereo for non-autoselect chips to retrieve the current stereo setting: that will temporarily mute the sound. It is only needed when the stereo mode might be changed, and for autoselect msp processors that do not periodically need to update their stereo setting. - do not wake up the thread if the standard did not change. Prevents temporary audio drop-out if the standard is set to the same value. - fix confused stereo detect code where V4L2_TUNER_SUB_STEREO and V4L2_TUNER_MODE_STEREO values were used incorrectly. - stereo mode reporting was broken (v4l2 value used to index a string array expecting v4l1 mode values). - do not set dsp register 0x30 in the 3410d thread: that register does not exist for pre-'G' revision msp chips. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 1157020d542684e273242663d0befb58e284ade7 Author: Marc Koschewski Date: Mon Jan 9 18:21:36 2006 -0200 V4L/DVB (3323): Add Kconfig option for wrongly programmed devices - A new Kconfig option makes the user able to select if the dibusb-mb driver shall claim faulty programmed USB devices which are coming with default Cypress USB IDs. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 00e34579feb563ca663be82d977c90241824503e Author: Marc Koschewski Date: Mon Jan 9 18:21:35 2006 -0200 V4L/DVB (3322): Whitespace cleanup and unused code removed - Some whitespaces cleaned up - unused code removed Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 5ba4cc97786e23c3ef96b9c29c797ef5d0251330 Author: Marc Koschewski Date: Mon Jan 9 18:21:34 2006 -0200 V4L/DVB (3321): Indention cleanups - Indention cleaned for tabsize=8 Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit a6bab889c4d21cb8c0b0a25959daba87a56eccbb Author: Patrick Boettcher Date: Mon Jan 9 18:21:33 2006 -0200 V4L/DVB (3320): Check if PLL-description is set - Check if in the dvb-usb-device-structure the dvb_pll_desc is set before use. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 4e5910e6fe5d977a36f7f39f6b13d61109eca19f Author: Marc Koschewski Date: Mon Jan 9 18:21:33 2006 -0200 V4L/DVB (3319): Changed indention for define's and their values - Indention for values of several request defines were not TabSized=8. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit f2a333148c12f9e8f0be9df052398147614f5cb8 Author: d binderman Date: Mon Jan 9 18:21:32 2006 -0200 V4L/DVB (3318): Fixes warning: variable "ret" is used before its value is set - Fixes compiling warning on kernel 2.6.15 with the Intel C compiler. - It said drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 7560d7a4f9add362d60d4513033cf522c37adeea Author: Hans Verkuil Date: Mon Jan 9 18:21:32 2006 -0200 V4L/DVB (3317): msp3400: use v4l2_std_id and determine chip capabilities. - Replace old norm by the v4l2_std_id values. - Add code to correctly detect the various capabilities of the various msp chips. It's not yet used, that's going to be the next step. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3d7d027a9bf41437aa93baf14a1aada521ad9b12 Author: Chris Pascoe Date: Mon Jan 9 18:21:31 2006 -0200 V4L/DVB (3315): Use correct AGC settings for DNTV Live! DVB-T Pro - My original settings for this board were incorrect and resulted in an increased number of signal dropouts. Replace this with the settings from the Windows driver. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit a07e60961e4c9cce911a6935bdc90e20c1c97c63 Author: Michael Krufky Date: Mon Jan 9 18:21:31 2006 -0200 V4L/DVB (3313): codingstyle cleanups & restore some wrongfully deleted dvb-usb-ids - codingstyle cleanups & restore some wrongfully deleted dvb-usb-ids Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 7c239703a942117c3446ca06af537fc3ea12fb24 Author: Chris Pascoe Date: Mon Jan 9 18:21:29 2006 -0200 V4L/DVB (3312): DViCO USB IR Remote support - Add support for the remote control receiver inside the DViCO FusionHDTV DVB-T Dual Digital, and a keymap for the MCE remote bundled with it. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 43eabb4e2284146f8bfae8730ae41c218b724b7d Author: Chris Pascoe Date: Mon Jan 9 18:21:28 2006 -0200 V4L/DVB (3311): DViCO FusionHDTV DVB-T Dual Digital PCI support - Support for DVB reception on the PCI half of the DViCO DVB-T Dual Digital. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0029ee143d66ca89d0e8b074abb452cf4ca2c53c Author: Chris Pascoe Date: Mon Jan 9 18:21:28 2006 -0200 V4L/DVB (3310): DViCO Dual Digital DVB-T / USB bluebird updates - Add support for the USB portion of the DViCO Dual Digital board. Patch correct "warm" USB IDs into bluebird firmware before download. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0602fbb2c84ffea1b06ae8e677662074620f01d7 Author: Peter Missel Date: Mon Jan 9 18:21:23 2006 -0200 V4L/DVB (3309): SAA7134: GPIO IRQ improvements - Saa7134-core.c saa7134_irq(): Separate GPIO16 and GPIO18 handling. Call IR-remote-GPIO handler only if the GPIO IRQ is "owned" by it. Added infrastructure to branch out to a future I2C-IR IRQ handler. saa7134-core.c saa7134_hwinit2(): Enable only the one GPIO pin and edge to trigger an IRQ that is wired as keyup/keydown mask. IRQ will only be generated for an actual key-down event. saa7134-input.c flyvideo_codes[]: Replace numpad keys with normal ones. Put meaning to mystery keys. Change some key definitions to have their functions match their labels better. Fix typos. saa7134-input.c flydvb_codes[]: Added new table for the larger remote that comes with the LifeView FlyDVB series. saa7134-input.c build_key(): In IRQ mode, signal key-down and then key-up straight in one go. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit cb58455c48dc43536e5548bdba4e916b2f0cf13d Author: Sam Ravnborg Date: Mon Jan 9 21:20:34 2006 +0100 kbuild: KERNELRELEASE is only re-defined when buiding the kernel To avoid running setlocalversion as root no longer (re-)define KERNELRELEASE for each run. With this patch KERNELRELEASE is only re-read when we do an actual kernel build. Rationale behind this is "do as little as possible" when executing make install - as root! A new file named .kernelrelease is strored in the root of the kernel tree containing the actual version string. So when we use do a kernel build the .kernelrelease file will be updated. But in all other situations it is left as-is. To make it more visible the kernel now prints out the version being build. Sample: Building kernel 2.6.15-g63b794bf-dirty ... ... The patch also un-exports VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION since all users of these are anyway broken - and none is left in the tree. Signed-off-by: Sam Ravnborg commit 93b47684f60cf25e8cefe19a21d94aa0257fdf36 Author: Richard Knutsson Date: Wed Nov 30 01:00:35 2005 +0100 [PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit 46654728b55bf5d09dc91fa45f532131d8a609f2 Author: Greg Kroah-Hartman Date: Tue Dec 6 15:33:15 2005 -0800 [PATCH] drivers/sound/oss: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Greg Kroah-Hartman Signed-off-by: Richard Knutsson commit 9bfab8cec652c80b4864b4d9247520dca042c2df Author: Richard Knutsson Date: Wed Nov 30 00:59:34 2005 +0100 [PATCH] drivers/block: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 Author: Richard Knutsson Date: Wed Nov 30 00:59:14 2005 +0100 [PATCH] arch: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit 065c6359071c6d7d1f8b2839317471d1d97fc70b Author: linas@austin.ibm.com Date: Fri Dec 2 19:16:18 2005 -0600 [PATCH] PCI Error Recovery: documentation Various PCI bus errors can be signaled by newer PCI controllers. Recovering from those errors requires an infrastructure to notify affected device drivers of the error, and a way of walking through a reset sequence. This patch adds documentation describing the current error recovery proposal. Signed-off-by: Linas Vepstas Signed-off-by: Greg Kroah-Hartman commit 392a1ce761bc3b3a5d642ee341c1ff082cbb71f0 Author: linas Date: Wed Nov 16 17:10:41 2005 -0600 [PATCH] PCI Error Recovery: header file patch Various PCI bus errors can be signaled by newer PCI controllers. Recovering from those errors requires an infrastructure to notify affected device drivers of the error, and a way of walking through a reset sequence. This patch adds a set of callbacks to be used by error recovery routines to notify device drivers of the various stages of recovery. Signed-off-by: Linas Vepstas Signed-off-by: Greg Kroah-Hartman commit 19272684b8e2fff39941e4c044d26ad349dd1a69 Author: Jesse Barnes Date: Sat Dec 17 09:27:50 2005 -0800 [PATCH] PCI: update Toshiba ohci quirk DMI table I upgraded my Toshiba Satellite BIOS recently to see if it would fix an ACPI related problem I have (http://bugzilla.kernel.org/show_bug.cgi?id=5727). Unfortunately, it didn't, and moreover, Toshiba chose to change the system version in the DMI table with the update, causing the OHCI1394 related quirk to break. This patch updates the DMI table for the quirk to include Toshiba's new version name for this machine; I've tested it and it seems to work fine. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit 54c762fe62d9ff0982f38e80cbec9c59104311e9 Author: Adrian Bunk Date: Thu Dec 22 01:08:52 2005 +0100 [PATCH] PCI: drivers/pci: some cleanups This patch contains the following cleanups: - hotplug/pciehp_core.c: make the needlessly global hpdriver_context static - #if 0 the following unused functions: - pci.c: pci_bus_max_busnr() - pci.c: pci_max_busnr() - proc.c: pci_proc_attach_bus() - remove.c: pci_remove_device_safe Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit c64b5eead93f9d3a8ca0e9ca0ffba0b99dc565b9 Author: Kristen Accardi Date: Wed Dec 14 09:37:26 2005 -0800 [PATCH] acpiphp: only size new bus Only size the bus that has been added. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 9f3f4681291fc88864bb27f8f3832b95bb53aae5 Author: Greg Kroah-Hartman Date: Wed Dec 14 09:37:26 2005 -0800 [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver The Compaq PCI Hotplug driver was creating 2 sysfs files that contained nothing but debug information, and had way more than "one value" in them. This patch converts the code to use debugfs for these files instead. Compile tested only. Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 121082e2ab09d5e90ac27e38900c018e6f37bcdf Author: Jesper Juhl Date: Sun Dec 11 06:41:42 2005 +0100 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehp_core.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/pciehp_core.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - small line length cleanup - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit c2dea6553090a3fd06ffa9ba512a09fdac4d1b6e Author: Jesper Juhl Date: Sun Dec 11 06:43:09 2005 +0100 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/pciehprm_acpi.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit f5c99dfc11dce8f26c1ceedb6595fa0eac335ea3 Author: Jesper Juhl Date: Sun Dec 11 06:42:38 2005 +0100 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/rpaphp_pci.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/rpaphp_pci.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code should be slightly smaller - better readability note: due to lack of both hardware and cross-compile tools this patch is, unfortunately, completely untested. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit efbf62e9f4d93c3716a4d6d3221d537c71e299a2 Author: Jesper Juhl Date: Sun Dec 11 06:42:18 2005 +0100 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/cpqphp_core.c Here's a small patch to reduce the nr of pointer dereferences in drivers/pci/hotplug/cpqphp_core.c Benefits of this patch: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - tiny line length and whitespace cleanup - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit 5d135dff536f30022674d463ce3119bb28e045df Author: Jesse Barnes Date: Fri Dec 9 11:55:03 2005 -0800 [PATCH] PCI: document sysfs rom file interface idr gently pointed out today that not only is the sysfs rom file interface somewhat unintuitive (despite my efforts and initial implementation), but it's also undocumented! This patch to Documentation/filesystems/sysfs-pci.txt corrects the latter problem; the former is a userland ABI now though, so we're stuck with it for awhile at least. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit ac7dc65ac0b945270548414491efa9c4357417d9 Author: Benjamin Herrenschmidt Date: Tue Dec 13 18:09:16 2005 +1100 [PATCH] PCI: Export pci_cfg_space_size The powerpc PCI code sets up the PCI tree without doing config space accesses in most cases, from the firmware tree. However, it still wants to call pci_cfg_space_size() under some conditions, thus it needs to be made non-static (though I don't see a point to export it to modules). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 498879417756effe6dc385ee04645a83d724fdef Author: Dominik Brodowski Date: Thu Dec 8 16:53:12 2005 +0100 [PATCH] PCI: use bus numbers sparsely, if necessary Add a warning if a child bus may be inaccessible because the parent bridge has wrong secondary or subordinate bus numbers. Note that this may or may not happen on "transparent" bridges, as can be seen in bug #5557. Also, if we do not fix up the assignment of bus numbers, try to make use of the bus number space available. Signed-off-by: Dominik Brodowski Signed-off-by: Greg Kroah-Hartman commit 0eb3bcfd088e3234f7af29e189a7900ccfdd278a Author: Rajesh Shah Date: Thu Dec 8 12:12:25 2005 -0800 [PATCH] pciehp: allow bridged card hotplug This patch fixes bugs in the pciehp driver that prevent hot-add of a card with PCI bridges on it. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit c7ab337f91b59f71a30c3ab71e3bdfff41671977 Author: Thomas Schaefer Date: Thu Dec 8 11:55:57 2005 -0800 [PATCH] pciehp: handle sticky power-fault status This patch disables power fault, MRL sensor and presence detection interrupts when a PCIe slot is powered-off and enables those interrupts when it is powered-on again. This is necessary to prevent the associated events from causing an endless cycle of interrupts due to the power-fault bit, which stays set till power is restored to the slot. Signed-off-by: Thomas Schaefer Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 9d265124d051c2cf6716639239609d83f736dcdb Author: Daniel Yeisley Date: Mon Dec 5 07:06:43 2005 -0500 [PATCH] PCI Quirk: 1K I/O space granularity on Intel P64H2 I've implemented a quirk to take advantage of the 1KB I/O space granularity option on the Intel P64H2 PCI Bridge. I had to change probe.c because it sets the resource start and end to be aligned on 4k boundaries (after the quirk sets them to 1k boundaries). I've tested this patch on a Unisys ES7000-600 both with and without the 1KB option enabled. I also tested this on a 2 processor Dell box that doesn't have a P64H2 to make sure there were no negative affects there. Signed-off-by: Dan Yeisley Signed-off-by: Greg Kroah-Hartman commit 81f154427c0c50b6492d454abf98e15c1c2e354e Author: Kenji Kaneshige Date: Mon Dec 5 19:31:00 2005 +0900 [PATCH] shpchp: Implement get_address callback The following patch implements .get_address callback of hotplug_slot_ops for SHPCHP driver. With this patch, we can see bus address of hotplug slots as follows: $ cat address 0000:0b:01 Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit cd5b50be8d8e8e6170da3a261fc625fd603f9dc4 Author: linas@austin.ibm.com Date: Thu Dec 1 18:59:58 2005 -0600 [PATCH] PCI Hotplug/powerpc: more removal of duplicated code The RPAPHP code contains two routines that appear to be gratuitous copies of very similar pci code. In particular, rpaphp_claim_resource ~~ pci_claim_resource (there is a minor, non-functional difference) rpadlpar_claim_one_bus == pcibios_claim_one_bus (the code is identical) This patch removes the rpaphp versions of the code. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit d681db4aed4453c7d34adfbb64956271186514e9 Author: linas@austin.ibm.com Date: Thu Dec 1 18:56:14 2005 -0600 [PATCH] PCI Hotplug/powerpc: remove duplicated code The RPAPHP code contains a routine that duplicates some existing code. This patch removes the rpaphp version of the code. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 81745512c6bb78fc78265b881206b3f6800dd09f Author: Daniel Marjamäki Date: Thu Dec 1 18:01:28 2005 +0100 [PATCH] PCI: irq.c: trivial printk and DBG updates Updated printk and DBG with appropriate KERN_*. Signed-off-by: Daniel Marjamäki Signed-off-by: Greg Kroah-Hartman commit bd62e271401c5ebf33a0dd24d89baf706f213251 Author: Kenji Kaneshige Date: Fri Nov 25 12:28:53 2005 +0900 [PATCH] shpchp: fix improper wait for command completion Current SHPCHP driver uses msleep_interruptible() function to wait for a command completion event. But I think this would cause an unnecessary long wait until timeout, if command completion interrupt came before task state was changed to TASK_INTERRUPTIBLE. This patch fixes this issue. With this patch, command completion becomes faster as follows: o Without this patch # time echo 1 > power real 0m4.708s user 0m0.000s sys 0m0.524s o With this patch # time echo 1 > power real 0m2.221s user 0m0.000s sys 0m0.532s Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit f467f6187fc60c954a9509b3a3e17ef89a4f6f22 Author: Kenji Kaneshige Date: Thu Nov 24 11:39:29 2005 +0900 [PATCH] shpchp: fix improper write to Command Completion Detect bit Current SHPCHP driver writes a '0' to the Command Completion Detect bit to clear the Command Complete Interrupt Pending. But according to the SHPC spec (See 4.7.3.1 System Interrupts), SHPCHP driver must write '1'. This patch fixes this bug. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 0455986cce45d28511f59a29d6cecc17d6b65720 Author: Kenji Kaneshige Date: Thu Nov 24 11:36:59 2005 +0900 [PATCH] shpchp: fix improper mmio mapping Current SHPCHP driver seems not to map MMIO region properly. This patch fixes this bug. This patch also cleanup the code. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 87d6c5593111844f308af7d5106b3fd259b36514 Author: Kenji Kaneshige Date: Thu Nov 24 11:35:05 2005 +0900 [PATCH] shpchp: fix improper reference to Mode 1 ECC Capability" bit The hpc_get_mode1_ECC_cap() function of SHPCHP driver seems to refer the wrong bit for refering the "Mode 1 ECC Capability" bit. This bug seems not to cause any problem so far. But I think this should be fixed. This patch fixes this bug. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 6558b6ab145ceead45632e4214cd5ef14f48f412 Author: Kenji Kaneshige Date: Thu Nov 24 13:44:01 2005 +0900 [PATCH] shpchp: fix improper reference to Slot Avail Regsister The hpc_get_max_bus_speed() function of the SHPCHP driver seems to refer wrong bits in the "Slot Avail Register I" and "Slot Avail Register II". This patch fixes this bug. And this also cleanup the code. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit e00e57efa3448b18c0deedce32732e28683cb73d Author: Kenji Kaneshige Date: Fri Nov 25 12:21:25 2005 +0900 [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() This patch replaces pci_find_slot() with pci_get_slot() in the SHPCHP driver. This enables SHPCHP driver to work on multiple PCI segment systems. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 2555f7bdd3b0db47f6e1d7bb887981654e2261b3 Author: Adrian Bunk Date: Mon Nov 21 00:05:21 2005 +0100 [PATCH] PCI Hotplug: cpqphp_ctrl.c: remove dead code The Coverity checker spotted that we already did return -ENOMEM if (!p_mem_node). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 88d69a1dff4014889782ebad24ed3e964a8844bc Author: Jordan, William P Date: Mon Nov 21 22:51:57 2005 -0800 [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix I noticed what appears to be a cut/paste error in drivers/pci/hotplug/ibmphp_pci.c: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8c9ad508c8737ca46a4c55b1062d159b86f7cee2 Author: Sergey Vlasov Date: Mon Nov 14 20:30:50 2005 +0300 [PATCH] PCIE: make bus_id for PCI Express devices unique The bus_id string must be unique for all devices of that bus in the system, not just for devices with the same parent - otherwise multiple symlinks with identical names appear in /sys/bus/pci_express/devices. Signed-off-by: Sergey Vlasov Signed-off-by: Greg Kroah-Hartman commit fb37fb960689aa1346e2621a946f230285c03593 Author: Hanna Linder Date: Sun Nov 6 23:39:36 2005 -0800 [PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3c94792f017c8c90d2ca84b0f4cd9c143471d5e3 Author: Jiri Slaby Date: Sun Nov 6 23:39:33 2005 -0800 [PATCH] PCI: arch: pci_find_device remove (frv/mb93090-mb00/pci-irq.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d08fa1a22e4b7240ac081ba57a67ce8e8cf94cc7 Author: Jiri Slaby Date: Sun Nov 6 23:39:35 2005 -0800 [PATCH] PCI: pci_find_device remove (sparc64/kernel/ebus.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 619daa2e4c80881d64875db22029a2181f07eaf9 Author: Jiri Slaby Date: Sun Nov 6 23:39:33 2005 -0800 [PATCH] PCI: pci_find_device remove (frv/mb93090-mb00/pci-frv.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 48d68773629d52ef118cd3f78eef7545d68517ef Author: Jiri Slaby Date: Sun Nov 6 23:39:35 2005 -0800 [PATCH] PCI: pci_find_device remove (ppc/platforms/85xx/mpc85xx_cds_common.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit cee029538151c0e7bb3cd1c298f222deeecb5ab8 Author: Jiri Slaby Date: Sun Nov 6 23:39:34 2005 -0800 [PATCH] PCI: pci_find_device remove (ppc/kernel/pci.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman arch/ppc/kernel/pci.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 94517252b7c8e26de7238eb2c1450cb7c69f1af6 Author: Jiri Slaby Date: Sun Nov 6 23:39:30 2005 -0800 [PATCH] PCI: pci_find_device remove (alpha/kernel/sys_alcor.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7d51ceb34c7991633c36a5bab3066927ac7c661c Author: Jiri Slaby Date: Sun Nov 6 23:39:32 2005 -0800 [PATCH] PCI: pci_find_device remove (alpha/kernel/sys_sio.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3efd273b4d52f0d3ae5ce61b2161cb3752f360a0 Author: Kristen Accardi Date: Wed Nov 2 16:55:49 2005 -0800 [PATCH] pci: call pci_read_irq for bridges Call pci_read_irq() for bridges too, so that the pin value is stored for bridges that require interrupts. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 514d207db1fa3c3d2bd7990ebed8d81cebc7875b Author: Kristen Accardi Date: Wed Nov 2 16:24:39 2005 -0800 [PATCH] pci: use pin stored in pci_dev Use the stored value of the interrupt pin rather than try to read the config again. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 8015a01486a0f789c9e98e8bf1f12a3ccb535b30 Author: Kristen Accardi Date: Wed Nov 2 16:24:35 2005 -0800 [PATCH] apci: use pin stored in pci_dev Use the stored value of the Interrupt Pin, rather than try to read it again. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit ffeff788d6b10e342b4a887f28d339dfec1737f6 Author: Kristen Accardi Date: Wed Nov 2 16:24:32 2005 -0800 [PATCH] pci: store PCI_INTERRUPT_PIN in pci_dev Store the value of the INTERRUPT_PIN in the pci_dev structure so that it can be retrieved later. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit a9aa1ffaac7c8d6f093bb8f7cdeea761a5e25f53 Author: Sam Ravnborg Date: Mon Jan 9 20:48:03 2006 +0100 kbuild/xfs: introduce fs/xfs/Kbuild In kbuild the file named 'Kbuild' has precedence over the file named Makefile. Utilise a file named Kbuild to include the 2.6 Makefile for xfs - since the xfs people likes to keep their arch specific Makefiles separate. With this patch xfs does no longer rely on the KERNELRELEASE components to be global. Signed-off-by: Sam Ravnborg commit 0d20babd86b40fa5ac55d9ebf31d05f6f7082161 Author: H. Peter Anvin Date: Sat Jan 7 17:38:39 2006 -0800 kbuild: drop vmlinux dependency from "make install" This removes the dependency from vmlinux to install, thus avoiding the current situation where "make install" has a nasty tendency to leave root-turds in the working directory. It also updates x86-64 to be in sync with i386. Signed-off-by: H. Peter Anvin Signed-off-by: Sam Ravnborg commit 9d4ae7276ae26c5bfba6207cf05340af1931d8d4 Author: Deepak Saxena Date: Mon Jan 9 19:23:11 2006 +0000 [ARM] 3070/2: Add __ioremap_pfn() API Patch from Deepak Saxena In working on adding 36-bit addressed supersection support to ioremap(), I came to the conclusion that it would be far simpler to do so by just splitting __ioremap() into a main external interface and adding an __ioremap_pfn() function that takes a pfn + offset into the page that __ioremap() can call. This way existing callers of __ioremap() won't have to change their code and 36-bit systems will just call __ioremap_pfn() and we will not have to deal with unsigned long long variables. Note that __ioremap_pfn() should _NOT_ be called directly by drivers but is reserved for use by arch_ioremap() implementations that map 32-bit resource regions into the real 36-bit address and then call this new function. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 16ed926eee5497db52fbee4d2db2dedbcd23561c Author: Russell King Date: Mon Jan 9 19:19:18 2006 +0000 [ARM] Only call set_type method in setup_irq if it's defined Signed-off-by: Russell King commit 44637a12f80b80157d9c1bc5b7d6ef09c9e05713 Author: Knut Petersen Date: Mon Jan 9 15:04:20 2006 +0100 [PATCH] Update cyblafb driver This is a major update to the cyblafb framebuffer driver. Most of the stuff has been tested in the mm tree. Main advantages: ============ - vxres > xres support - ywrap and xpan support - much faster for almost all modes (e.g. 1280x1024-16bpp draws more than 41 full screens of text instead of about 25 full screens of text per second on authors Epia 5000) - module init/exit code fixed - bugs triggered by console rotation fixed - lots of minor improvements - startup modes suitable for high performance scrolling in all directions This diff also contains a lot of white space fixes. No side effects are possible, only one single graphics core is affected. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds commit cab462f716cdd522edc71436482d8734e8258489 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:53:26 2006 -0200 V4L/DVB (3307): Some cleanups at I2C modules - i2c names shorten - removed obsoleted flags on newer modules - small cleanups Signed-off-by: Mauro Carvalho Chehab commit 14591de147f7c9656fa2b9c05680d2b46e286c40 Author: Kirill Korotaev Date: Mon Jan 9 17:42:42 2006 +0300 [PATCH] netlink oops fix due to incorrect error code Fixed oops after failed netlink socket creation. Wrong parathenses in if() statement caused err to be 1, instead of negative value. Trivial fix, not trivial to find though. Signed-Off-By: Dmitry Mishin Signed-Off-By: Kirill Korotaev Signed-Off-By: Linus Torvalds commit 677517771b7b6efaf8617e70f655b16f3cafcc9b Author: Oleg Nesterov Date: Sun Jan 8 22:19:16 2006 +0300 [PATCH] rcu: uninline __rcu_pending() __rcu_pending() is rather fat and called twice from rcu_pending(). rcu_pending() has multiple callers, and not that small too. This patch uninlines both of them. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit 0680481c8e6260e1780a0900990531f0193b0dd4 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:32:46 2006 -0200 V4L/DVB (3305): Replaces old debug msgs to newer ones - Replaces old debug msgs from bt832, tda743d and tda9875 to newer ones as defined under v4l2-common.h. Signed-off-by: Mauro Carvalho Chehab commit 565f49490556250383e976c7f3e04ee4b7f54788 Author: George Gazurkoff Date: Mon Jan 9 15:32:46 2006 -0200 V4L/DVB (3303): Both AverTV Studio 303 cards #6 and #36 use the same IR programming. - Both AverTV Studio 303 cards, #6 and #36, use the same remote control programming. Signed-off-by: George Gazurkoff Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 009494effc129094a5dcbbf2bf0345307ffe4f9b Author: Guy Martin Date: Mon Jan 9 15:32:45 2006 -0200 V4L/DVB (3296): Fixes a bug at compat_ioctl32 kernel module - There is a bug in the ioctl translations from 32bit userspace to 64bit kernelspace in do_set_window(). - The video window (vw) should be passed to native_ioctl() instead of the video clip. Signed-off-by: Guy Martin Signed-off-by: Mauro Carvalho Chehab commit 4aa6ba513e28884b56bac529553a47a6b160c310 Author: Peter Missel Date: Mon Jan 9 15:32:45 2006 -0200 V4L/DVB (3295): Add analog support for LifeView FlyDVB Trio. - Add support for LifeView FlyDVB Trio. - all analog inputs are supported and working, including FM radio - TO DO: dvb & remote control Signed-off-by: Peter Missel Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f39624fda00d2a30d31f0fa06153e9b460295676 Author: Manenti Marco Date: Mon Jan 9 15:32:45 2006 -0200 V4L/DVB (3294): Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. - Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. Signed-off-by: Manenti Marco Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit b7f355d23c34399ccfd54fd613c306ab4a788234 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:32:44 2006 -0200 V4L/DVB (3293): Added digital support for cx88 (cx88-alsa) - This module is co-authored by Ricardo Cerqueira . - Added digital audio support for cx88-based boards that have function 01 enabled. These boards can be identified by having PCI id 1471:8801 or 1471:8811. - Increased DMA buffer from 512 to 4096 seems to fix audio distortion. - Existing audio DMA uses conflict with cx88-alsa. Should be disabled when cx88-alsa module is compiled. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 0de71224d17f43101fa20696a8d7a78fb599557e Author: Hans Verkuil Date: Mon Jan 9 15:32:44 2006 -0200 V4L/DVB (3292): Fix signed/unsigned bug in brightness handling of cx25840 - Fix signed/unsigned bug in brightness handling (set to 0 and 128 was returned). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit c5099a6481d2d0f9455abd15c91f73c2ced57a40 Author: Hans Verkuil Date: Mon Jan 9 15:32:43 2006 -0200 V4L/DVB (3291): Fix signed/unsigned bug in hue handling - Fix signed/unsigned bug in hue handling (set to -127 and 129 was returned). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 82a1c359e8cc15d836c139626d747bfdfc408450 Author: Hans Verkuil Date: Mon Jan 9 15:32:43 2006 -0200 V4L/DVB (3195): Fix for 64-bit compile warning - Add the fix for the saa7146 64-bit compile warning (again). This time with comments and checked by Johannes Stezenbach. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 400b7083fbcc8e7a1157a82aa126977179873268 Author: Peter Beutner Date: Mon Jan 9 15:32:43 2006 -0200 V4L/DVB (3194): Revert one 64-bit fix and improved other 64-bit fixes - Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d8e6acf2ec120f3dc7929581d87b5b8b3ff21627 Author: Michael Krufky Date: Mon Jan 9 15:32:42 2006 -0200 V4L/DVB (3287): Add DViCO Bluebird firmware to dvb_get_firmware script - Add DViCO Bluebird firmware to dvb_get_firmware script, for FusionHDTV USB devices. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) - Added comment to lgdt330x.c to indicate support for DViCO FusionHDTV5 USB Gold. Thanks to: Jeff Lee Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e71bb548e52d6a0f4934a2dfd7f29a569c94ad53 Author: Michael Krufky Date: Mon Jan 9 15:32:42 2006 -0200 V4L/DVB (3282): rename cxusb_bluebird_atsc_properties to cxusb_bluebird_lgh064f_properties - This property set is for the LG-H064F (FusionHDTV5 USB Gold) - There may, in the future, be a bluebird device using a different NIM, so renaming the struct to somehting NIM-specific is appropriate. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 66190a275246c8c5be140a224e021f8f5eb85ab6 Author: Oliver Endriss Date: Mon Jan 9 15:32:42 2006 -0200 V4L/DVB (3281): av7110 driver: improved recovery from ARM crash and crash detection - Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit da4ae5a72b2a9de351ec8f98543b7c666ec97005 Author: Hans Verkuil Date: Mon Jan 9 15:32:41 2006 -0200 V4L/DVB (3280): Added VIDIOC_QUERYCTRL to saa7115 - Added VIDIOC_QUERYCTRL to saa7115 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d92c20e0a5b560bbe46d7e68bb47df2366cddf8f Author: Hans Verkuil Date: Mon Jan 9 15:32:41 2006 -0200 V4L/DVB (3279): Added VIDIOC_QUERYCTRL to cx25840. - Added VIDIOC_QUERYCTRL - Removed unnecessary inlines. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fac9e89999a12f378112fe93764b30196bc03f46 Author: Hans Verkuil Date: Mon Jan 9 15:32:40 2006 -0200 V4L/DVB (3278): convert diagnostics over to the new v4l2-common.h macros. - Convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 0e7072ef6623c3dc58faf3f7310aba77b0a5845e Author: Michael Krufky Date: Mon Jan 9 15:32:40 2006 -0200 V4L/DVB (3277): Fix incorrect filename reference in top comments - Fix incorrect filename reference in top comments Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 7e8b09ea1636e360a8fabebeaeb91c17f64e01b5 Author: Hans Verkuil Date: Mon Jan 9 15:32:40 2006 -0200 V4L/DVB (3276): Added new diagnositics macros, convert msp3400 to the new macros. - Added new v4l_err, v4l_warn, v4l_info and v4l_dbg macros to v4l2-common.h for use in v4l-dvb i2c drivers. This ensures a unique prefix for each device instance. - At a later stage these macros may be reimplemented using the device-generic macros from device.h. - Converted the msp3400 driver to the new macros. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 53b0a1c60bcc167534b31f56adfbbe2919e6f80b Author: Hans Verkuil Date: Mon Jan 9 15:32:39 2006 -0200 V4L/DVB (3275): Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c - Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c. - Removed experimental DFPREG ioctls. If this is really needed one day then it should be implemented using VIDIOC_G/S_REGISTER. - Added missing BALANCE control info for VIDIOC_QUERYCTRL. - Still more cleanup, clarified some kernel messages. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit e93fa17eb103bad5d2ee7141a988040f077d2a78 Author: Hans Verkuil Date: Mon Jan 9 15:32:39 2006 -0200 V4L/DVB (3271): more cleanups, simplify volume/balance/bass/treble handling - Continue cleanup effort: - more cosmetic changes - combine volume, balance, bass and treble into one audio function. Revert old 2.4 code that crept in. - print internal ioctls using new debug function. - marked all msp3400c (aka manual) functions as such. - removed some unused data structures. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 5e453dc757385ec892a818e4e3b5de027987ced9 Author: Michael Krufky Date: Mon Jan 9 15:32:31 2006 -0200 V4L/DVB (3269): ioctls cleanups. - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 37bdfa06b6bbf085b55d64eb5d9ed112418ed5ad Author: Michael Krufky Date: Mon Jan 9 15:25:47 2006 -0200 V4L/DVB (3268): Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB models. - Now using firmware "dvb-usb-bluebird-01.fw", with combined support for atsc and dvb-t Bluebird models. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) */ Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit effee0333b6090ff4ff0463e8fb6084cf4406bbd Author: Michael Krufky Date: Mon Jan 9 15:25:47 2006 -0200 V4L/DVB (3266): Add support for DViCO FusionHDTV5 USB Gold - Adds Bluebird ATSC support to the cxusb driver, using dvb-usb-bluebird-atsc-01.fw firmware. Signed-off-by: Michael Krufky Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit af36c82c97ff68e03837ed47991de0494007612b Author: Hans Verkuil Date: Mon Jan 9 15:25:46 2006 -0200 V4L/DVB (3261): msp3400.c cleanup (almost all cosmetic) - Step 1 of the msp3400.c cleanup. Most changes are all cosmetic (moved code around, renamed functions and variables). New additions: - VIDIOC_LOG_STATUS for debugging. - More user friendly messages on driver load. - 'simple' renamed to 'autodetect' - 'simpler' renamed to 'autoselect' Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 6ce17c57f84731d288107ce29ce468311edd87f4 Author: Patrick Boettcher Date: Mon Jan 9 15:25:45 2006 -0200 V4L/DVB (3260): Using new firmware for the WideView Stick - A new firmware fixes VHF tuning issues. This changes the firmware file name in the driver. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit c7f3612cdb515c5062135831184c8d577723df25 Author: Hans Verkuil Date: Mon Jan 9 15:25:45 2006 -0200 V4L/DVB (3257): Add missing audiochip.h include. - Add missing audiochip.h include. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3faeeae48348959c58f3121d2a6a4fb0bc626da0 Author: Hans Verkuil Date: Mon Jan 9 15:25:44 2006 -0200 V4L/DVB (3256): When in radio mode ignore VIDIOC_G_TUNER - Detect when AUDC_SET_RADIO is called. - When in radio mode ignore VIDIOC_G_TUNER. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d3900bc42e6bc5e461c29951cc2a50df09e08771 Author: Hans Verkuil Date: Mon Jan 9 15:25:44 2006 -0200 V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER. - When in radio mode don't do anything with VIDIOC_G_TUNER. Allow other devices to fill this. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 30b54d50f6e2b8f5a4c8b5ade3d25a02612f8f51 Author: Hans Verkuil Date: Mon Jan 9 15:25:43 2006 -0200 V4L/DVB (3254): Don't reprogram the video standard if it is unchanged. - Don't reprogram the video standard if the new standard equals the old standard. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8a854284d09dd3b3d8660762b43546058da5372f Author: Hans Verkuil Date: Mon Jan 9 15:25:43 2006 -0200 V4L/DVB (3253): Add V4L2 commands to tvaudio - debug messages changed to be like the other modules - Add V4L2 commands VIDIOC_S_TUNER, VIDIOC_G_TUNER, VIDIOC_S_STD and VIDIOC_S_FREQUENCY. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f9a91f08990b0353fc1251ee72ec42c6ea33bd24 Author: Hans Verkuil Date: Mon Jan 9 15:25:42 2006 -0200 V4L/DVB (3250): tea5767: move signal strength level to the 0-65535 range - Move signal strength level to the 0-65535 range as per V4L2 spec. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a8bbf12ad8a8ad532cea0b67f0127ad90d336b04 Author: Hans Verkuil Date: Mon Jan 9 15:25:42 2006 -0200 V4L/DVB (3249): Generalized cx25840 video/audio input handling - Added VIDIOC_S_AUDIO to set the audio inputs separately. - Removed AUDC_SET_INPUT. - Made the video inputs much more general. - Removed cardtype CID and replaced with a CID to enable the PVR150 workaround. The cardtype is no longer necessary with the general video input change. - Update VIDIOC_LOG_STATUS output to show the video and audio inputs separately. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3578d3dd0b1e468a44a76a83efe90476a854625d Author: Hans Verkuil Date: Mon Jan 9 15:25:41 2006 -0200 V4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values - Calculate the audio master clock registers from the actual frequencies. This simplifies the code and it also prepares for adding CGC2 support. - VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of an enum. It is more generic and actually easier to implement. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 21fa715e67fe57e404d7f5f39b7f18016db9e4b6 Author: Hans Verkuil Date: Mon Jan 9 15:25:41 2006 -0200 V4L/DVB (3248): Add selected input to saa7115 VIDIOC_LOG_STATUS output. - Add selected input to VIDIOC_LOG_STATUS output. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fbc46e74fa437f16a3ffe4a5561a97f41680a124 Author: Hans Verkuil Date: Mon Jan 9 15:25:40 2006 -0200 V4L/DVB (3247): Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775. - Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 936053516aef6505ab3174c3443f3ba8749d4d98 Author: Hans Verkuil Date: Mon Jan 9 15:25:39 2006 -0200 V4L/DVB (3246): Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32a - Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. - Minimum volume is -96 dB, not -90. - Show volume in VIDIOC_LOG_STATUS. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a544521ef06ee7b8a3d82fa29627401196fda77a Author: Hans Verkuil Date: Mon Jan 9 15:25:39 2006 -0200 V4L/DVB (3245): Added some comments about multiple tuner support. - Added some comments to make clearer how to use ioctl api to handle multiple tuners at the same board. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 66e33dee9e3062b1045afe23c4b8714c1004668c Author: Michael Krufky Date: Mon Jan 9 15:25:39 2006 -0200 V4L/DVB (3243): add firmware instructions for nxt2002 and nxt2004 - add firmware instructions for nxt2002 and nxt2004 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 12e66f6573beda52a434b757df5b7a5a05b9ebd2 Author: Ville Skytt\ä Date: Mon Jan 9 15:25:38 2006 -0200 V4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree. - make the firmware dir documentation and comments consistent in the v4l-dvb tree. Signed-off-by: Ville Skyttä Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 90200d2b7f526128671a971ab29db38973bf3f51 Author: Michael Krufky Date: Mon Jan 9 15:25:38 2006 -0200 V4L/DVB (3239): reorganize tuner-simple threshold structure. - Create an array containing frequency threshold and control byte. - allows for an arbitrary amount of frequency ranges to be set, like dvb-pll. - improves code readability. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 21dcd8ccd76e80118f524b1a730c35ab1c46c09e Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:37 2006 -0200 V4L/DVB (3234): Included advanced debug option to tvp5150.c - Included advanced debug option to tvp5150.c - Now, advanced debug info is the first item at V4L menu. Signed-off-by: Mauro Carvalho Chehab commit 9bb13a6dc3a6f68c990264838ff0493d900c48d7 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:37 2006 -0200 V4L/DVB (3233): Fixed API to set I2S speed control - Created a new ioctl to control I2S speed. Old calls to an inadequate V4L2 API replaced. Signed-off-by: Mauro Carvalho Chehab commit e1bc80adaf801bf75ca176b9c1b60b3cceee1e03 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:36 2006 -0200 V4L/DVB (3232): Several improvements at tvp5150 driver - Now reset do init tvp5150 registers to its default. - Debug messages improved. - Implemented video standard selection function. Signed-off-by: Mauro Carvalho Chehab commit fc40b261db15d010455ad0a4e2ac59da2ced730f Author: Chris Pascoe Date: Mon Jan 9 15:25:35 2006 -0200 V4L/DVB (3220): Add support for VP-3054 HDTV board - Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!). - This board has a secondary I2C bus and remote control. - Added a new module to handle secondary I2C bus on this board. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 50c25fff5385c6baf3114f7c369b0f75a29ac1e8 Author: Michael Krufky Date: Mon Jan 9 15:25:34 2006 -0200 V4L/DVB (3218): Whitespace cleanups - minor whitespace cleanups Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 41d70c26c615da5a42aea4655232c68c53b9e084 Author: Ricardo Cerqueira Date: Mon Jan 9 15:25:34 2006 -0200 V4L/DVB (3216): saa7134 card #58 has a newer revision with a new subsystem ID - Added new ID for different revision of card #58. It's the same card, but with a tda8275a instead of a tda8275 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 2a9a9a84f2ac6e4481f564c42a9268477465c359 Author: Nickolay V. Shmyrev Date: Mon Jan 9 15:25:33 2006 -0200 V4L/DVB (3213): Add remote for Compro Videomate Gold+ Pal version. - Add remote. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 6ff5ef28bad0403fbc24cdee127d094449a10ab6 Author: Patrick Boettcher Date: Mon Jan 9 15:25:33 2006 -0200 V4L/DVB (3202): Initialize the dvb-usb-device-pointer to NULL - Initialize the the dvb-usb-device-pointer in the -init function to NULL, to be sure that a dvb-usb-device was really initialized. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 6fe66ba63fdd27cfc01ffb2e1835a2a475074a63 Author: Michael Krufky Date: Mon Jan 9 15:25:32 2006 -0200 V4L/DVB (3201): Remove #ifdef BTTV_BOARD_TWINHAN_VP3021 - As far back as the video4linux cvs repository goes, there is no mention of BTTV_TWINHAN_VP3021. It seems that this was done for the sake of backwards compatability with some older v4l, but this can no longer be necessary due to the v4l/dvb cvs merger, nor should this have ever existed in the upstream kernel. Signed-off-by: Michael Krufky Acked-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 610d1407b2d7a8fbb9f8e5757b2d078b9988299c Author: Michael Krufky Date: Mon Jan 9 15:25:30 2006 -0200 V4L/DVB (3199): Removed some unneeded #ifdef's - Removed some unneeded #ifdef's Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 210e207c1d98348f5993e6f580cd20cf20086d7d Author: Tyler Trafford Date: Mon Jan 9 15:25:29 2006 -0200 V4L/DVB (3198): make cx25840 recover from some firmware load failures - In the rare event that a 333MHz i2c firmware load fails after writing some data, this fix makes the driver reset the DL_ADDR registers to the proper values before continuing on with 100MHz transfers. Signed-off-by: Tyler Trafford Signed-off-by: Mauro Carvalho Chehab commit 83ac8722be6d34b9bbcaabfff825d5847ce3a9d4 Author: Michael Krufky Date: Mon Jan 9 15:25:29 2006 -0200 V4L/DVB (3196): correct Thomson DTT 761x frequency ranges - Corrected Thomson DTT 7611 tuner programming, based on spec sheet - renamed to Thomson DTT 761x - applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A (DTT 7610 is similar, but slightly different programming) - corrected frequency ranges for analog and digital modes Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bc61b0102a53ee0ced3a8747cd4afe656a453756 Author: Andrew Morton Date: Mon Jan 9 15:25:28 2006 -0200 V4L/DVB (3193): Replace del_timer with del_timer_sync - Replace del_timer with del_timer_sync Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 889aee805a0c286e33965cc678ea16672d6c5666 Author: Christopher Pascoe Date: Mon Jan 9 15:25:28 2006 -0200 V4L/DVB (3192): Fix bttv sub-device unregister - Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit e18828e43a52fb9a792938840cc32cbb2a9e1a5c Author: Hans Verkuil Date: Mon Jan 9 15:25:28 2006 -0200 V4L/DVB (3179): Fix 64-bit compile warnings - Fix 64-bit compile warnings Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 67f1570a0659abba5efbf55cc986187af61bdd52 Author: Michael H. Schimek Date: Mon Jan 9 15:25:27 2006 -0200 V4L/DVB (3178): bttv VBI fixes - V4L2_(G|S|TRY)_FMT returned incorrect VBI start lines for PAL-M, NTSC-JP, and PAL-60. They also returned an inaccurate VBI offset. - V4L2_(G|S)_FMT and V4L2_TRY_FMT disagreed about the start of VBI capturing in PAL and SECAM second field. Note the start line fixes may break applications using VIDIOCSVBIFMT because this ioctl fails when the driver does not support exactly the requested parameters. - V4L2_TRY_FMT did not clear the reserved field in struct v4l2_vbi_format. - V4L2_(S|TRY)_FMT did not expect very large or small VBI start or count values, returning wrong (but safe) counts due to an overflow. - VIDIOCGVBIFMT confused V4L and V4L2 VBI flags. However this had no effect because the flags have the same value and bttv never sets them. - In v4l_compat_translate_ioctl() the VIDIOC(G|S)VBIFMT code did not expect V4L2 drivers supporting VBI formats besides V4L2_PIX_FMT_GREY. Signed-off-by: Michael H. Schimek Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 7e57819169d4f9a1d7af55fb645ece3fb981e2e3 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:27 2006 -0200 V4L/DVB (3167): added ntsc parameter to tuner and more standardized debugs - Debug message changed to be coherent with other modules - added ntsc parameter - parameters moved to the beginning at the file - tuner_status moved to a better position. Signed-off-by: Mauro Carvalho Chehab commit 70f00044a2107a2c7d654bf1d3e0494f77777f47 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:26 2006 -0200 V4L/DVB (3162): Some fixes at cx88 controls - Now, default control values at cx88_cx8800_ctls are honored - default value for contrast/saturation were changed to be in line with available documentation for the chipset; - Removed some bad coding at set_control; - U/V Saturation now changes proportionally Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5ea892f156310132a1bd37c45c3ca09663cfb9fb Author: Michael Krufky Date: Mon Jan 9 15:25:26 2006 -0200 V4L/DVB (3166): "Philips 1236D ATSC/NTSC dual in" - fix typo. - "Philips 1236D ATSC/NTSC dual in" - fix typo. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4abdfed5676e5ef7f2461bb76f5929068a9cc9cf Author: Ricardo Cerqueira Date: Mon Jan 9 15:25:25 2006 -0200 V4L/DVB (3161): ir-kbd-gpio is now part of bttv - Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other input modules Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit e0b2d7a89bb250fb0c9068c4481c9fd26c3fb227 Author: Steven Toth Date: Mon Jan 9 15:25:25 2006 -0200 V4L/DVB (3160): Updates to the tveeprom eeprom checking Updates to the tveeprom eeprom checking Signed-of-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit f4a3bc82ed5dcef03a74ff974a31b55eade7ed0f Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:24 2006 -0200 V4L/DVB (3159): Replaces MAX()/MIN() by kernel.h max()/min() macros - Replaces MAX()/MIN() by kernel.h max()/min() macros Signed-off-by: Mauro Carvalho Chehab commit f961e71a0a96b4a992210b7dd46d837d78b162c6 Author: Alex Woods Date: Mon Jan 9 15:25:24 2006 -0200 V4L/DVB (3154): TTUSB DEC driver patch roundup - Collection of patches from Peter Beutner addressing: - add symbolrates to the DVB-S frontend description - fix capability flags in DVB-S frontend describtion - remove some void casts - disable zig-zag scanning as it makes no sense for DVB-T - set sensible min_delay value - return an error for requested filter types the driver can't handle Signed-off-by: Peter Beutner Signed-off-by: Alex Woods Signed-off-by: Mauro Carvalho Chehab commit e4acba3c01ca8b275dda22664191c30ee352a38e Author: Deti Fliegl Date: Mon Jan 9 15:25:23 2006 -0200 DVB (2401): USB hot unplug Oops fix. - USB hot unplug Oops fix. Signed-off-by: Deti Fliegl Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 6a5bdd322e5366730803beb59adca7ebb144d7e4 Author: Jesper Juhl Date: Mon Jan 9 15:25:23 2006 -0200 V4L/DVB (3173): [PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.c - Here's a small patch to decrease the number of pointer derefs in drivers/media/dvb/b2c2/flexcop-fe-tuner.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - Improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 4302c15ea237a649780894e263125fcd8c548998 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:22 2006 -0200 V4L/DVB (3145): syncronizes some changes between v4l and dvb - digitv_ctrl_msg() if (wo) test is reversed. fixed. - usb timeout is in Hz, not in jiffies. - NULL replaced by 0 to be coherent. - removed uneeded headers. Signed-off-by: Mauro Carvalho Chehab commit 0144f31466f0b7f1a8b21b470bfeb93c174a2006 Author: Steven Toth Date: Mon Jan 9 15:25:22 2006 -0200 V4L/DVB (3130): cx24123: cleanup timout handling - Cleanup timeout handling in cx24123_pll_writereg(), and use a reasonable value for the timeout. Signed-off-by: Steven Toth Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 2c3f11b20fc6c41b4d3f64f301f525e35f18b6bc Author: Stephen Williams Date: Mon Jan 9 15:25:21 2006 -0200 V4L/DVB (3129): correct FE_READ_UNCORRECTED_BLOCKS - Make FE_READ_UNCORRECTED_BLOCKS reset the count after each call, thus returning a momentary value like all other demods do, instead of an absolute, ever increasing count. Signed-off-by: Stephen Williams Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit d21838dd7d098e102ced2fafed62dcb133c4d71c Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:21 2006 -0200 V4L/DVB (3123b): syncs V4L subsystem tree with kernel - This patch makes kernel in sync with v4l subsystem tree. - some lines reordered to be sync. - some reduntant codes removed. Signed-off-by: Mauro Carvalho Chehab commit b060c25f70adb20532dacefa72029d1d2db1a7f1 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:20 2006 -0200 V4L/DVB (3123a): remove uneeded #if from V4L subsystem - some uneeded #if were introduced by a previous patch. this patch removes these. Signed-off-by: Mauro Carvalho Chehab commit b5b8ab8d93ec46fec279b22eb1a613be18f49f7a Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:20 2006 -0200 V4L/DVB (3123): include reorder to be in sync with V4L tree - include reorder to be in sync with V4L tree Signed-off-by: Mauro Carvalho Chehab commit 899ad11b55206c30db7e3667d14c8bdb167f51f8 Author: George Gazurkoff Date: Mon Jan 9 15:25:19 2006 -0200 V4L/DVB (3118): Enable remote control on AVERTV STUDIO 303 - Enable remote control on AVERTV STUDIO 303 - This patch adapted from a patch found on a website posted by an anonymous user. Thanks to original anonymous author for creating this patch. Tested successfully by George Gazurkoff. Signed-off-by: George Gazurkoff Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a1789d3aea9e1eca676de011e1e3ebe9171cf9cb Author: Hans Verkuil Date: Mon Jan 9 15:25:19 2006 -0200 V4L/DVB (3117): Fix broken TV standard check. - Fix incorrect matching of TV standards leading to incorrect IFPCoff values. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f98c55ea18e87905bdf69eb4a187e94572ed9494 Author: Hans Verkuil Date: Mon Jan 9 15:25:18 2006 -0200 V4L/DVB (3116): tda9887 improvements: better defaults, better configurability. - Set the tuner takeover point to 0x10 for NTSC/radio and 0x14 for PAL/SECAM. - Allow override through TDA9887_SET_CONFIG - PAL-N belongs with PAL-BG as does PAL-H. PAL-Nc belongs to PAL-M - Add SECAM-BGH - Set video freq to cVideoIF_38_90 for DK standards. - Add cTunerGainLow to radio, change deemphasis to 75 for mono. - Add ntsc module param for 'M' and 'J' (Japanese) standards. - Fix module handling for 2.4. - Now able to select all standards through pal/secam/ntsc module options Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a82c51d59344117320eeda3715f93c0695a9fbe6 Author: Hans Verkuil Date: Mon Jan 9 15:25:18 2006 -0200 V4L/DVB (3115): Add missing VIDEO_ADV_DEBUG config option. - Add missing VIDEO_ADV_DEBUG config option. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 0345c387de72b5d7fbfeda9d92818fa7013a6d1c Author: Steven Toth Date: Mon Jan 9 15:25:17 2006 -0200 V4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird) - This patch adds eeprom awareness for the Roslyn. In effect, the blackbird will query the tuner V4L2_STD_xxxx definitions to determine whether it's connected to a NTSC or PAL tuner. Based on that, various default values will change for blackbird encoding. - Fixes back panel SVIDEO/COMPOSITE with audio, work properly. - Fixes a problem with lip sync issues, due to bad framerate vs audio rate assumptions. - Fixed a problem with the GPIO configuration in cx88-cards. - Removed the comments in cx88-cards that made no sense. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit 2304759d7e5debbd400eca6e9bb979a186c798a9 Author: Otavio Salvador Date: Mon Jan 9 15:25:17 2006 -0200 V4L/DVB (3110): Replace all uses of pci_module_init with pci_register_driver This patch replace all calls to pci_module_init, that's deprecated and will be removed in future, with pci_register_driver that should be the used function now. Signed-off-by: Otavio Salvador Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e64a86ee2b5ef5e23ccda2cc8981a22a8111a3b3 Author: Steven Toth Date: Mon Jan 9 15:25:16 2006 -0200 V4L/DVB (3108): tveeprom cleanup of hardcoded tuner format values. - Cleaned up the structure to use the V4L2_STD_xxx definitions rather than a one off set of hardcoded values - which could change in the future. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 39e8f40da20a803a17e16304e73fd31050b1871c Author: Hans Verkuil Date: Mon Jan 9 15:25:16 2006 -0200 V4L/DVB (3105): Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support. - Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support for mt20xx tuners. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ade0836c8c3bf72edafd18d3256c4fd874a8236f Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:15 2006 -0200 V4L/DVB (3104): MSP3400 miscelaneous fixes - Removes obsoleted stuff - Reorders some stuff to make it clearer to read - Clears some debug messages Signed-off-by: Mauro Carvalho Chehab commit cd43c3f60b73512744bb22fe27a266f611466827 Author: Hans Verkuil Date: Mon Jan 9 15:25:15 2006 -0200 V4L/DVB (3103): Add VIDIOC_LOG_STATUS to tuner-core.c - Mark tda9887.c status log values as hexadecimal (add 0x prefix). Add VIDIOC_LOG_STATUS support to tuner-core.c. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 7865c44d8ae832d6fb6522862268c7bd7814fd44 Author: Hans Verkuil Date: Mon Jan 9 15:25:14 2006 -0200 V4L/DVB (3100): fix compile error, remove dead code and volume scaling - Fix compile error (missing '}') in em28xx-video.c. Remove dead code and volume scaling from msp3400.c. Volume scaling does not belong there, it should be done in the driver for the card that uses the msp3400 if needed, not in the msp3400.c source. The volume scaling code gave problems with the ivtv driver which does not need to do any scaling. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit c0477ad9feca01bd8eff95d7482c33753d05c700 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:14 2006 -0200 V4L/DVB (3099): Fixed device controls for em28xx on WinTV USB2 devices - Controls now come from video and audio decoder driver for msp3400 and tvp5150. - Added audio and sound controls as provided by msp3400 and tvp5150. Signed-off-by: Mauro Carvalho Chehab commit c432a072b6b597c7af138f2fee337d79261b44f4 Author: Steven Toth Date: Mon Jan 9 15:25:13 2006 -0200 V4L/DVB (3092): Add support for another Nova-T-PCI PCI subdevice 0x9001 - Add support for another Nova-T-PCI PCI subdevice 0x9001 Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bcb17c421e8fa20d31a0b4a60686908b6d469ce7 Author: Michael Krufky Date: Mon Jan 9 15:25:13 2006 -0200 V4L/DVB (3090): Cleanup check for dvb. - Cleanup check for dvb. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 611900c1858747a87657eb405ebab5b1e72bb57c Author: Steven Toth Date: Mon Jan 9 15:25:12 2006 -0200 V4L/DVB (3089): Adding support for the Hauppauge HVR1100 and HVR1100-LP products. - Add support for the Hauppauge HVR1100 and HVR1100-LP products. - Add i2c_gate_ctrl callback function to dvb_frontend_ops struct. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 35dc0fefb18eea1b4180a8fafbb83db6a9b7c401 Author: Michael Krufky Date: Mon Jan 9 15:25:12 2006 -0200 V4L/DVB (3086): vfree(NULL) is legal. - vfree(NULL) is legal. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f5b90a27ffe25c428329edae5b1ef81e1a8e383f Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:12 2006 -0200 V4L/DVB (3084): Added a new debug msg to help identifying tuner Problems - Added a new debug msg to help identifying tuner Problems Signed-off-by: Mauro Carvalho Chehab commit 5c07db0cb4f537731dba31002f314f3dc270d83f Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:11 2006 -0200 V4L/DVB (3081): added offset parameter for adjusting tuner offset by hand - added offset parameter for adjusting tuner offset by hand Signed-off-by: Mauro Carvalho Chehab commit 2aeb49b6884c3719eedaa96f0752b9d5e0609fe3 Author: Hans Verkuil Date: Mon Jan 9 15:25:11 2006 -0200 V4L/DVB (3065): Fix gcc-4.0.2 compile error in msp3400.c - Fix gcc-4.0.2 compile error in msp3400.c. - msp_attach moved to reduce a prototype. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 14725165dd2e25a54315a2350d332b49635ed6c1 Author: Hans Verkuil Date: Mon Jan 9 15:25:10 2006 -0200 V4L/DVB (3064): Some cleanups on msp3400 - Change function order to reduce usage of function prototypes. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 174329d951e2fe39f779d67e9488b7a7f15df69c Author: Hans Verkuil Date: Mon Jan 9 15:25:10 2006 -0200 V4L/DVB (3062): Fix wrong tuner.h define for tuner 46 - Fix wrong tuner.h define for tuner 46 (it's a Panasonic, not a Microtune). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 26a0f5db8425fbcbd20e60c924c61592b2c132a6 Author: Noone Important Date: Mon Jan 9 15:25:09 2006 -0200 DVB (2390): Adds a time-delay to IR remote button presses for av7110 ir input, - Adds a time-delay to IR remote button presses for av7110_ir input, such that it acts more like a keyboard. A short press will be treated as a single button press. Holding down a button on the remote will respond like holding down a key on the keyboard, and result in a key-repeat. This just introduces a delay between the 1st press, and going into key-repeat so that it is possible to get a single 'up'. Signed-off-by: Noone Important Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit effa791c22ef2f944b4621c94150e129fe1af28b Author: Andrew de Quincey Date: Mon Jan 9 15:25:09 2006 -0200 DVB (2454): Port code for SU1278/SH2 (TUA6100) from pre-refactored code - Port code for SU1278/SH2 (TUA6100) from pre-refactored code Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 1c956a3ac087b7590296f5a0be2cdab2666158cd Author: Vadim Catana Date: Mon Jan 9 15:25:08 2006 -0200 DVB (2451): Add support for KWorld DVB-S 100, based on the same chips as Hauppauge - Add support for KWorld DVB-S 100, based on the same chips as Hauppauge Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421, which is used for LNB control. - LNB voltage and tone are controled by LNBDC and LNBTone bits from register 0x29 of the CX24123 demodulator. - The MO_GP0_IO register from CX23883 is used to turn LNB power on and off. Signed-off-by: Vadim Catana Acked-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e3b152bc9ee2b7f841565dc93a042f527cf3116c Author: Johannes Stezenbach Date: Mon Jan 9 15:25:08 2006 -0200 DVB (2446): Minor cleanups. - Minor cleanups. Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit b79cb6531d5ba9174f9677ce2213c017d1e2ef19 Author: Steve Toth Date: Mon Jan 9 15:25:07 2006 -0200 DVB (2445): Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support. - Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit 36cb557a2f64513e2fdc1a542167e5e8a6c1c67e Author: Andrew de Quincey Date: Mon Jan 9 15:25:07 2006 -0200 DVB (2444): Implement frontend-specific tuning and the ability to disable zigzag - Implement frontend-specific tuning and the ability to disable zigzag Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 47f3692096eef208d8cb455bfa2b3308cdfc40de Author: Dr. Werner Fink Date: Mon Jan 9 15:25:07 2006 -0200 DVB (2441): Driver support for live-ac3, firmware >= 2621 required. - Driver support for live-ac3, firmware >= 2621 required. Signed-off-by: Dr. Werner Fink Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 1c13b95c7d22d5c552246b465da4b364ba00ba65 Author: Marco Schluessler Date: Mon Jan 9 15:25:06 2006 -0200 DVB (2440): Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3), - Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3), definitions for sound chip MSP3415 Signed-off-by: Marco Schluessler Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit f49cc15bbe37b767286fdd7abe65810e750cf70a Author: Oliver Endriss Date: Mon Jan 9 15:25:06 2006 -0200 DVB (2432): LNB power can now be switched off for Activy Budget-S rev GR/AL. - LNB power can now be switched off for Activy Budget-S rev GR/AL. Dishnetwork support fixed for Nova-S with bsbe1/lnbp21 frontend and Activy Budget-S rev AL. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit eb3daf3c5acfa737bdf2bd9d1f93c3393dde5067 Author: Oliver Endriss Date: Mon Jan 9 15:25:05 2006 -0200 DVB (2431): Fixed dishnetwork support for Nexus-S rev 2.3 - Fixed dishnetwork support for Nexus-S rev 2.3 Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2d0235df0e62cb9f07232bf9cf8009fabf13d304 Author: Andrew de Quincey Date: Mon Jan 9 15:25:05 2006 -0200 DVB (2428): Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module - Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 8a8e9c281de5dd63cdcbbafc0252fe0d8c758294 Author: Hartmut Hackmann Date: Mon Jan 9 15:25:04 2006 -0200 DVB (2421): Fixed oddities at firmware download - Fixed oddities at firmware download - more tolerant vs crystal frequency offset - lower sampling clock Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit d3707add6158803b6463292178cd1a041857b91b Author: Patrick Boettcher Date: Mon Jan 9 15:25:04 2006 -0200 DVB (2420): Makes integration of future devices easier - To make the integration of future devices easier - modified the dvb-usb-part to allow a device-specific firmware download - added an option to specify whether a device reconnects after a firmware download or not. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit e142e5107f1e4103dad16e391a41166e15b66a9c Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:03 2006 -0200 V4L (1021): Tuner description now follows the same CodingStyle as the others - Tuner description now follows the same CodingStyle as the others Signed-off-by: Mauro Carvalho Chehab commit 1faf11a3ed19d7d404fa867f572a1f23def9882e Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:03 2006 -0200 V4L (0988): Tuner cleanups by removing Video IF from tuners struct - Video IF was removed from tuners struct. - Each Video standard have its own Video IF frequency, so it is related to video standard. Of course tuner also needs saw filters for IF, but this way, similar tuners can be grouped into just one entry, if they have the same cut-off freqs and the same switch config and global config. Signed-off-by: Mauro Carvalho Chehab commit 0e0351e3709023dbd015d09880b04f0aa8818fcb Author: Vadim Catana Date: Mon Jan 9 15:25:02 2006 -0200 V4L (1007): Add support for KWorld DVB-S 100 - Add support for KWorld DVB-S 100, based on the same chips as Hauppauge Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421, which is used for LNB control. - LNB voltage and tone are controled by LNBDC and LNBTone bits from register 0x29 of the CX24123 demodulator. - The MO_GP0_IO register from CX23883 is used to turn LNB power on and off. Signed-off-by: Vadim Catana Acked-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fb56cb65e4b737c93727ea296050e8d24eb7cb42 Author: Steven Toth Date: Mon Jan 9 15:25:02 2006 -0200 V4L (0990): Enable IR support for the Nova-S-Plus - Enable IR support for the Nova-S-Plus. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 0fa14aa6214823bb013b598add866e277a7efe28 Author: Steven Toth Date: Mon Jan 9 15:25:02 2006 -0200 V4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products - Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products. - Basic DVB-S support is working, analog video inputs work. - It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing. - CX24123 code (in cx88-dvb.c) disabled until the - cx24123 module is added to dvb-kernel cvs. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cd1257d860f6ee09b589723a5d3888b1fed46487 Author: Steven Toth Date: Mon Jan 9 15:25:01 2006 -0200 V4L (1023): Added Hauppauge ImpactVCB board - Modifications to bttv to support the Hauppauge ImpactVCB product (Model #64900). Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit f639c9b21b763441bd6bd76185be6d2504d83d54 Author: Jörg Schummer Date: Mon Jan 9 15:25:01 2006 -0200 V4L (1019): Added basic support (tv + radio) for TerraTec Cinergy 250 PCI - Added "TerraTec Cinergy 250 PCI" board (tv and radio). - svideo not tested - IR yet not working Signed-off-by: Jörg Schummer Signed-off-by: Mauro Carvalho Chehab commit f3c5987a386300abea9854b32814d0eab7af7841 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:25:00 2006 -0200 V4L (0987): Added Secam L' std on tda9887 and common macros moved to videodev2.h - Added SECAM L' video standard - Common std macros moved to videodev2.h Signed-off-by: Mauro Carvalho Chehab commit 13d133bc66ea78cf2d60c78a41082c87432e0e94 Author: Philippe De Muyter Date: Mon Jan 9 15:25:00 2006 -0200 V4L/DVB (3152): Fixes some troubles at v4l2 compat stuff - This patch fixes merge and typo problems in v4l2/compat, and fixes VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF. Signed-off-by: Philippe De Muyter Signed-off-by: Mauro Carvalho Chehab commit cf664a6458b254ce665d129c0960cff4f32b91f3 Author: Philippe De Muyter Date: Mon Jan 9 15:24:59 2006 -0200 V4L/DVB (3120): Adds 32-bit compatibility for v4l2 framegrabber ioctls. - Adds 32-bit compatibility for v4l2 framegrabber ioctls. Signed-off-by: Philippe De Muyter Signed-off-by: Mauro Carvalho Chehab commit e8efb71d02d008a665ba88e6f75af691d9425e49 Author: Hans Verkuil Date: Mon Jan 9 15:24:59 2006 -0200 V4L (0978): 64-bit fixes for removing warnings on compat_ioctl32 - 64-bit fixes for removing warnings on compat_ioctl32. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 97e2a01b6bd995bc3438b361e58b126a2c3cc0ca Author: MishalÅ Pytasz Date: Mon Jan 9 15:24:59 2006 -0200 V4L (0973): Another build fix for compat_ioctl32.c - Another build fix for compat_ioctl32.c Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 133b735416fcd0f32a429e3f55072afe84c1f005 Author: Nickolay V. Shmyrev Date: Mon Jan 9 15:24:58 2006 -0200 V4L (0972): More build fixes for compat_ioctl32.c - More build fixes for compat_ioctl32.c Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 17cbe2e5831c3df114c8d7b7d8bf07f2c35a6030 Author: Mauro Carvalho Chehab Date: Mon Jan 9 15:24:58 2006 -0200 V4L (963): Explicit compat_ioctl32 handler to em28xx - Included explicit compat_ioctl32 handler. - removed extra line on cardlist. Signed-off-by: Mauro Carvalho Chehab commit 925e699f26d2162553f7453dcacbac32f063a4c7 Author: Ricardo Cerqueira Date: Mon Jan 9 15:24:57 2006 -0200 V4L (957): Compat ioctl32 license fix - Compat_ioctl32 license fix Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 0d0fbf8152fb3bb4393be11e8df7f70e1fbbd738 Author: Arnd Bergmann Date: Mon Jan 9 15:24:57 2006 -0200 V4L (926_2): Moves compat32 functions from fs to v4l subsystem This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: Arnd Bergmann Signed-off-by: Mauro Carvalho Chehab commit 8ef12c9f01afba47c2d33bb939085111ca0d0f7d Author: Russell King Date: Mon Jan 9 17:08:11 2006 +0000 [ARM] AT91RM9200 doesn't need anything in dma.h Signed-off-by: Russell King commit 73a59c1c4af06c675a168d698d3ebfbb3270ddbe Author: SAN People Date: Mon Jan 9 17:05:41 2006 +0000 [ARM] 3240/2: AT91RM9200 support for 2.6 (Core) Patch from SAN People Following changes were made to clock.c: 1) Replaced with 2) Removed old unused clk_enable & clk_disable. 3) Replaced clk_use/clk_unuse with clk_enable/clk_disable. Otherwise it's the same as the previous patch. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 166c3436d683cfe5316c7723ed746a93db053f12 Author: Dan Williams Date: Mon Jan 9 11:04:31 2006 -0500 [patch] ipw2100: support WEXT-18 enc_capa v3 This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams Signed-off-by: Jeff Garzik commit 64916f1ebe93592153c72bcdb189a31e4d40049a Author: Denis Vlasenko Date: Thu Jan 5 22:45:47 2006 -0800 [PATCH] fix a few "warning: 'cleanup_card' defined but not used" These warnings are emitted if non-modular network drivers are built. Fixes just move cleanup_card() definitions into #ifdef MODULE region. /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/wd.c:131: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/3c503.c:152: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ne.c:216: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp.c:106: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp-plus.c:142: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/smc-ultra.c:172: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/e2100.c:144: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/es3210.c:159: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lne390.c:149: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lance.c:313: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ac3200.c:127: warning: 'cleanup_card' defined but not used Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit fa45459e5e4507402350f1cdaf44b7455602770c Author: Ayaz Abdulla Date: Thu Jan 5 22:45:45 2006 -0800 [PATCH] forcedeth: TSO fix for large buffers This contains a bug fix for large buffers. Originally, if a tx buffer to be sent was larger then the maximum size of the tx descriptor, it would overwrite other control bits. In this patch, the buffer is split over multiple descriptors. Also, the fragments are now setup in forward order. Signed-off-by: Ayaz Abdulla Signed-off-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3bb8a18ae825ebf3550fe7894b35cd1c87356a16 Author: Olaf Hering Date: Thu Jan 5 22:45:45 2006 -0800 [PATCH] remove bouncing mail address of mv643xx_eth maintainer Remove bouncing mail address of mv643xx maintainer. Signed-off-by: Olaf Hering Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 32a4ec97461f00aa63747fc8978011ea771bd543 Author: Kenji Kaneshige Date: Thu Jan 5 22:45:44 2006 -0800 [PATCH] e1000: Fix invalid memory reference Fix an invalid memory reference in the e1000 driver which would cause kernel panic. Signed-off-by: Kenji Kaneshige Cc: Jeb Cramer Cc: John Ronciak Cc: Ganesh Venkatesan Cc: Jeff Garzik Acked-by: Jeff Kirsher Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 504ddff4c0b8e31fa2a2775d6d484faeb126a265 Author: Adrian Bunk Date: Thu Jan 5 22:45:43 2006 -0800 [PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit cceb904f9b804f18250214fcd988eca72864970c Author: Adrian Bunk Date: Thu Jan 5 22:45:42 2006 -0800 [PATCH] drivers/net/bonding/bonding.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f65fd8fbb2356d1b4412bc83810cf39a529de412 Author: Adrian Bunk Date: Thu Jan 5 22:45:41 2006 -0800 [PATCH] drivers/net/Kconfig: indentation fix This patch fixes a wrong indentation. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit b6d08c0e98c8b9a4a066544737cf6642df1ea5bd Author: Franck Date: Thu Jan 5 22:45:39 2006 -0800 [PATCH] Add MIPS dependency for dm9000 driver Add MIPS dependency for dm9000 ethernet controller. Indeed this controller is used by some embedded platforms based on MIPS CPUs. Signed-off-by: Franck Bui-Huu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8fad6939af311a8be5785d41531baa5a6918f833 Author: Eric Paris Date: Fri Jan 6 11:57:11 2006 -0500 [PATCH] update bonding.txt to not show ip address on slaves ifenslave, as of abi version 2, does not set the ip address on the slave interfaces. The documentation example however still shows that the ensalved interfaces should have the same IP as the master. The patch simply removes the lines from the example which should no longer appear. Signed-off-by: Eric Paris bonding.txt | 2 -- 1 files changed, 2 deletions(-) Signed-off-by: Jeff Garzik commit b9c4c609660e00377f0b30dfbbec0f1918b56aba Author: Christoph Dworzak Date: Fri Jan 6 14:49:22 2006 -0500 [PATCH] tulip: enable multiport NIC BIOS fixups for x86_64 A BIOS bug affecting some multiport tulip NICs requires an irq fixup in tulip_core.c. This has only been enabled for i686, but it is needed for x86_64 as well. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b887030aec0971a47ca97a18e93ff446bc7d049e Author: Andrew Chew Date: Wed Jan 4 19:13:04 2006 -0800 [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive This patch works around a problem with spurious interrupts seen at boot time when a MAXTOR 6H500F0 drive is present. An ATA interrupt condition is mysteriously present at start of day. If we took too long in issuing the first command, the kernel would basically get tired of the spurious interrupts and turn the interrupt off. Issuing the first command essentially causes the interrupt condition to get acknowledged. I haven't seen this happen with any other drives. What I basically do is ack ATA status by reading it regardless of whether we're expecting to have to handle an interrupt. This clears the start-of-day anomalous interrupt condition, and keeps the kernel from disabling that interrupt due to too many spurious interrupts. Also, I fixed a bug where hotplug interrupts weren't getting acknowledged as handled in the ISR. This was not the cause of the spurious interrupts, but it's the right thing to do anyway. Signed-Off-By: Andrew Chew Signed-off-by: Jeff Garzik commit 38843888e3e9fb7006d72d55b8e6ffcc925cf18a Author: Eugene Surovegin Date: Tue Dec 27 12:36:41 2005 -0800 [PATCH] PPC44x EMAC driver: disable TX status deferral in half-duplex mode Disable TX status deferral (EMACx_MR[MWSW=001]) in half-duplex mode. I have two reports when EMAC stops transmitting when connected to a hub. TX ring debug printouts show complete mess when this happens, probably hardware collision handling doesn't work quite well in this mode. This is relevant only for SoCs with EMAC4 core (440GX, 440SP, 440SPe). Tested on 440GX. Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit a4bf26f30e398afa293b85103c885f03d4660a07 Author: Johannes Berg Date: Sat Dec 31 11:35:20 2005 +0100 [PATCH] ieee80211: enable hw wep where host has to build IV This patch fixes some of the ieee80211 crypto related code so that instead of having the host fully do crypto operations, the host_build_iv flag works properly (for WEP in this patch) which, if turned on, requires the hardware to do all crypto operations, but the ieee80211 layer builds the IV. The hardware also has to build the ICV. Previously, the host_build_iv flag couldn't be used at all for WEP, and not alone (with both host_decrypt and host_encrypt disabled) because the crypto algorithm wasn't assigned. This is also fixed. I have tested this patch both in host crypto mode and in hw crypto mode (with the Broadcom chipset). [resent, signing digitally caused it to be MIME-junked, sorry] Signed-Off-By: Johannes Berg Signed-off-by: Jeff Garzik commit df22b8aaba3f41cc61f57f5ead78be45edcb7db5 Author: Stephen Hemminger Date: Fri Jan 6 16:57:44 2006 -0800 [PATCH] sk98lin: error handling of pci setup Don't enable the pci device twice (already done in the probe routine). Propogate the error codes from pci_request_region back to initial probing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 162875570e65b56a7f4d804fc32aebf7a434cf89 Author: Stephen Hemminger Date: Fri Jan 6 16:57:43 2006 -0800 [PATCH] sk98lin: error handling on probe The sk98lin driver doesn't do proper error number handling during initialization. Note: -EAGAIN is a bogus return value for hardware errors. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 26fc354914219a91254afd0df573fc801bb1183a Author: Stephen Hemminger Date: Fri Jan 6 16:57:42 2006 -0800 [PATCH] sk98lin: use kzalloc Trivial use of kzalloc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit decf67aa2f4d498c02c2ad24a187a66c217f330c Author: Stephen Hemminger Date: Fri Jan 6 16:57:41 2006 -0800 [PATCH] sk98lin: error handling on dual port board Sk98lin driver error recovery on two port boards is bad. If it fails the second allocation, it will not release resources properly. Also it registers the second port in the pci driver data If second port fails, might as well go with one port. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bce7c95e4dd4d5e924deb2929b639b4caca09c93 Author: Stephen Hemminger Date: Fri Jan 6 16:57:40 2006 -0800 [PATCH] sk98lin: not doing high dma properly Sk98lin 64bit memory handling is wrong. It doesn't set the highdma flag; i.e. the kernel always does bounce buffers. It doesn't fallback to 32 bit mask if it can't get 64 bit mask. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 17fa6e2f115ad734ef802b663071159a1a64d06f Author: Stephen Hemminger Date: Fri Jan 6 16:57:39 2006 -0800 [PATCH] sk98lin: routine called from probe marked __init Sk98lin driver has a routine marked __init that is called from the probe code. If using pci hotplug, this could be called after the initialization so it needs to be marked __devinit. So if you hot added a sk98lin board, the kernel would crash. I don't have hot plug hardware to actually try this feat. Also, there are two routines, only called from SkGeBoardInit that can be marked __devinit. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a9925a06ea52a44b4bf4a941342e8240eaf22417 Author: Jens Axboe Date: Mon Jan 9 16:04:06 2006 +0100 [BLOCK] CCISS: update for blk softirq completions Signed-off-by: Jens Axboe commit 8672d57138b34447719cd7749f3d21070e1175a1 Author: Jens Axboe Date: Mon Jan 9 16:03:35 2006 +0100 [IDE] Use the block layer deferred softirq request completion This patch makes IDE use the new blk_complete_request() interface. There's still room for improvement, as __ide_end_request() really could drop the lock after getting HWGROUP->rq (why does it need to hold it in the first place? If ->rq access isn't serialized, we are screwed anyways). Signed-off-by: Jens Axboe commit 1aea6434eebd25e532d2e5ddabf2733af4e1ff0b Author: Jens Axboe Date: Mon Jan 9 16:03:03 2006 +0100 [SCSI] Kill the SCSI softirq handling This patch moves the SCSI softirq handling to the block layer version. There should be no functional changes. Signed-off-by: Jens Axboe commit ff856bad67cb65cb4dc4ef88b808804fc4265782 Author: Jens Axboe Date: Mon Jan 9 16:02:34 2006 +0100 [BLOCK] ll_rw_blk: Enable out-of-order request completions through softirq Request completion can be a quite heavy process, since it needs to iterate through the entire request and complete the bio's it holds. This patch adds blk_complete_request() which moves this processing into a dedicated block softirq. Signed-off-by: Jens Axboe commit 356cebea1123804e4aa85b43ab39bbd0ac8e667c Author: Jens Axboe Date: Mon Jan 9 15:30:20 2006 +0100 [BLOCK] Kill blk_attempt_remerge() It's a broken interface, it's done way too late. And apparently it triggers slab problems in recent kernels as well (most likely after the generic dispatch code was merged). So kill it, ide-cd is the only user of it. Signed-off-by: Jens Axboe commit 50365c57860cd931c2d806057e0987634797e9af Author: Russell King Date: Mon Jan 9 14:15:14 2006 +0000 [ARM] Make Acorn partition types depend on ACORN_PARTITION balamurugan reported a problem where it was possible to have the various Acorn partition types selected in the configuration, but ACORN_PARTITION disabled. Since ACORN_PARTITION controls whether we build fs/partitions/acorn.c, this lead to undefined references to the adfspart_check_TYPE symbols. Fix this by making the Acorn partition type symbols depend on ACORN_PARTITION. Signed-off-by: Russell King commit 50465d0da69e8d8b5493c5b752f0aa6d039c3914 Author: Russell King Date: Mon Jan 9 13:59:36 2006 +0000 [ARM] Update am79c961 to use struct platform_driver Signed-off-by: Russell King commit e9368f8288338c25d8a339c91b15e17ebf33752d Author: Russell King Date: Mon Jan 9 13:56:42 2006 +0000 [ARM] Remove asm/irq.h includes from ARM drivers Many ARM drivers do not need to include asm/irq.h - remove this unnecessary include from some ARM drivers. Signed-off-by: Russell King commit 5a57be8d100c67a033ec78f00d5a0cd387da72e9 Author: Jens Axboe Date: Mon Jan 9 14:52:21 2006 +0100 [BLOCK] scsi_ioctl: file can be NULL from ioctl_by_bdev() Signed-off-by: Jens Axboe commit 0ea60b5ad8c3630e8f44c443f173d841be7fc701 Author: Jens Axboe Date: Mon Jan 9 14:45:10 2006 +0100 [BLOCK] bio: init ->bi_bdev in bio_init() For SG_IO requests, bio->bi_bdev may not be explicitly initialized. So make bio_init() clear the field to make sure it's always NULL or valid. Signed-off-by: Jens Axboe commit 769db45b73896a88d6b40e3e648dfc50a155ec93 Author: Coywolf Qi Hunt Date: Wed Dec 28 10:55:49 2005 +0100 make elv_try_merge() static, kill the dead declaration of elv_try_last_merge(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Jens Axboe commit 1abee6d2d1b6366df96fce1d43eefd1819e1b055 Author: Nicolas Kaiser Date: Mon Nov 28 09:40:20 2005 +0100 [BLOCK][TRIVIAL] ll_rw_blk: header included twice linux/blkdev.h included twice Signed-off-by: Nicolas Kaiser Signed-off-by: Jens Axboe commit 63dcf0ad2a624a36656c10491fc3326cfe199f5e Author: Russell King Date: Mon Jan 9 13:32:56 2006 +0000 [ARM] Remove CONFIG_ARCH_CAMELOT from defconfigs EPXA10DB has gone, no need to keep the symbol in the defconfigs. Signed-off-by: Russell King commit 66a3454e1a6d3f2096e6ecfa59572b34caca4942 Author: Russell King Date: Mon Jan 9 12:57:05 2006 +0000 [ARM] Update mach-types Signed-off-by: Russell King commit be42d5fa3772241b8ecebd443f1fb36247959c54 Author: Paul Mackerras Date: Mon Jan 9 21:32:42 2006 +1100 powerpc: unbreak iSeries compilation again We don't set CONFIG_PPC_MULTIPLATFORM on iSeries (yet). Avoid compiling in the prom_init stuff on iSeries. Signed-off-by: Paul Mackerras commit e0fa93d6e6f0f36f39b813e561dbb890c58da58f Author: Michael Ellerman Date: Mon Jan 9 18:19:49 2006 +1100 [PATCH] powerpc: Don't use KERNELBASE in add_memory() In add_memory() we should be using __va() to get a virtual address. Spotted by Mike Kravetz. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0a498d96a3324c16add35da0435bc7c13b6c6f3f Author: Paul Mackerras Date: Mon Jan 9 20:17:01 2006 +1100 powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc The CONFIG_PPC_OF symbol is used to mean that the firmware device tree access functions are available. Since we always have a device tree with ARCH=powerpc, make CONFIG_PPC_OF always Y for ARCH=powerpc. This fixes some compile errors reported by Kumar Gala, but in a different way to his patch. This also makes prom_parse.o be compiled only if CONFIG_PPC_OF so that non-OF ARCH=ppc platforms will compile. Signed-off-by: Paul Mackerras commit bce6c5fd8cc5d3f8d02fd34a24b591fc3e23a775 Author: Anton Blanchard Date: Mon Jan 9 15:47:04 2006 +1100 [PATCH] powerpc: DABR exceptions should report the address not the PC When taking a DABR exception we were reporting the PC. It makes more sense to report the address that caused the exception, and the gdb guys would like it that way. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 834608f71a323b90f928d05c64d24df436df3011 Author: Anton Blanchard Date: Mon Jan 9 15:42:30 2006 +1100 [PATCH] ppc64: POWER5+ oprofile support POWER5+ adds new PMU groups and as such needs to be treated differently by oprofile userspace. Change it to report itself as power5+. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 32a33994d513606d29e87e152deb67ba5f3c8e82 Author: Anton Blanchard Date: Mon Jan 9 15:41:31 2006 +1100 [PATCH] ppc64: Fix oprofile when compiled as a module My recent changes to oprofile broke it when built as a module. Fix it by using an enum instead of a function pointer. This way we still retain the oprofile configuration in the cputable. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 9a699aefa87cb0379a67741926820c9271d748a9 Author: Benjamin Herrenschmidt Date: Sat Jan 7 11:45:28 2006 +1100 [PATCH] 4/5 powerpc: Add cpufreq support for all desktop G5 This patch adds cpufreq support for all desktop "tower" G5 models. The only G5 models still lacking cpufreq support at this point are the Xserve and possibly the new iMac iSight (not tested). I'll have those added soon. That patch uses the new platform functions interpreter to implement frequency and voltage switching on most models. Note that in order to find the low frequency value, I had to hack something that might now work properly on all models, so if the frequency value reported when running low speed looks bogus to you, please report it to me. (Appart from a bogus reported value, things should work fine). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 5b9ca526917b7bc7d1da3beaccb2251a8f0b5fe2 Author: Benjamin Herrenschmidt Date: Sat Jan 7 11:41:02 2006 +1100 [PATCH] 3/5 powerpc: Add platform functions interpreter This is the platform function interpreter itself along with the backends for UniN/U3/U4, mac-io, GPIOs and i2c. It adds the ability to execute those do-platform-* scripts in the device-tree (at least for most devices for which a backend is provided). This should replace the clock spreading hacks properly. It might also have an impact on all sort of machines since some of the scripts marked "at init" will now be executed on boot (or some other on sleep/wakeup), those will possibly do things that the kernel didn't do at all, like setting some values into some i2c devices (changing thermal sensor calibration or conversion rate) etc... Thus regression testing is MUCH welcome. Also loook for errors in dmesg. That's also why I've left rather verbose debugging enabled in this version of the patch. (I do expect some Windtunnel G4s to show some errors as they have an i2c clock chip on the PMU bus that uses some primitives that the i2c backend doesn't implement yet. I really need users that have one of those machine to come back to me so we can get that done right, though the errors themselves should be harmless, I suspect the machine might not run at full speed). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a28d3af2a26c89aaa6470ca36edb212e05143d67 Author: Benjamin Herrenschmidt Date: Sat Jan 7 11:35:26 2006 +1100 [PATCH] 2/5 powerpc: Rework PowerMac i2c part 2 This is the continuation of the previous patch. This one removes the old PowerMac i2c drivers (i2c-keywest and i2c-pmac-smu) and replaces them both with a single stub driver that uses the new PowerMac low i2c layer. Now that i2c-keywest is gone, the low-i2c code is extended to support interrupt driver transfers. All i2c busses now appear as platform devices. Compatibility with existing drivers should be maintained as the i2c bus names have been kept identical, except for the SMU bus but in that later case, all users has been fixed. With that patch added, matching a device node to an i2c_adapter becomes trivial. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 730745a5c45093982112ddc94cee6a9973455641 Author: Benjamin Herrenschmidt Date: Sat Jan 7 11:30:44 2006 +1100 [PATCH] 1/5 powerpc: Rework PowerMac i2c part 1 This is the first part of a rework of the PowerMac i2c code. It completely reworks the "low_i2c" layer. It is now more flexible, supports KeyWest, SMU and PMU i2c busses, and provides functions to match device nodes to i2c busses and adapters. This patch also extends & fix some bugs in the SMU driver related to i2c support and removes the clock spreading hacks from the pmac feature code rather than adapting them to the new API since they'll be replaced by the platform function code completely in patch 3/5 Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 002ec58eb57bac2380f0ed5a4e88121b4bdb32ec Author: Anton Blanchard Date: Sat Jan 7 00:49:49 2006 +1100 [PATCH] ppc64: fix time syscall ppc64 has its own version of sys_time. It looks pretty scary, touching a whole bunch of variables without any locking or memory ordering. In fact, a recent bugreport has shown it can actually go backwards. Time to remove it and just use the generic sys_time, which is implemented on top of do_gettimeofday. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit aed9c6ccb87d96c333bd6ae631d9e90f3b6d7271 Author: Paul Janzen Date: Wed Jan 4 21:40:48 2006 -0800 [PATCH] ppc32: Put cache flush routines back into .relocate_code section In 2.6.14, we had the following definition of _GLOBAL() in include/asm-ppc/processor.h: #define _GLOBAL(n)\ .stabs __stringify(n:F-1),N_FUN,0,0,n;\ .globl n;\ n: In 2.6.15, as part of the great powerpc merge, we moved this definition to include/asm-powerpc/ppc_asm.h, where it appears (to 32-bit code) as: #define _GLOBAL(n) \ .text; \ .stabs __stringify(n:F-1),N_FUN,0,0,n;\ .globl n; \ n: Mostly, this is fine. However, we also have the following, in arch/ppc/boot/common/util.S: .section ".relocate_code","xa" [...] _GLOBAL(flush_instruction_cache) [...] _GLOBAL(flush_data_cache) [...] The addition of the .text section definition in the definition of _GLOBAL overrides the .relocate_code section definition. As a result, these two functions don't end up in .relocate_code, so they don't get relocated correctly, and the boot fails. There's another suspicious-looking usage at kernel/swsusp.S:37 that someone should look into. I did not exhaustively search the source tree, though. The following is the minimal patch that fixes the immediate problem. I could easily be convinced that the _GLOBAL definition should be modified to remove the ".text;" line either instead of, or in addition to, this fix. Signed-off-by: Paul Janzen Signed-off-by: Paul Mackerras commit 2fb9d2063626374dd8a2514b3a730facac8235d8 Author: Arnd Bergmann Date: Thu Jan 5 14:05:29 2006 +0000 [PATCH] spufs: set irq affinity for running threads For far, all SPU triggered interrupts always end up on the first SMT thread, which is a bad solution. This patch implements setting the affinity to the CPU that was running last when entering execution on an SPU. This should result in a significant reduction in IPI calls and better cache locality for SPE thread specific data. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit aeb013772a2cc85a8d0baffd64977d2888bc781d Author: Arnd Bergmann Date: Wed Jan 4 20:31:32 2006 +0100 [PATCH] spufs: fix allocation on 64k pages The size of the local store is architecture defined and independent from the page size, so it should not be defined in terms of pages in the first place. This mistake broke a few places when building for 64kb pages. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 6ff730c33b42a6c68217fc6660728676aa8eeb9c Author: Arnd Bergmann Date: Wed Jan 4 20:31:31 2006 +0100 [PATCH] spufs: fix sparse warnings One local variable is missing an __iomem modifier, in another place, we pass a completely unused argument with a missing __user modifier. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f0831acc4b78e2d9737e8ed91b8b7505b21ddb83 Author: Arnd Bergmann Date: Wed Jan 4 20:31:30 2006 +0100 [PATCH] spufs: abstract priv1 register access. In a hypervisor based setup, direct access to the first priviledged register space can typically not be allowed to the kernel and has to be implemented through hypervisor calls. As suggested by Masato Noguchi, let's abstract the register access trough a number of function calls. Since there is currently no public specification of actual hypervisor calls to implement this, I only provide a place that makes it easier to hook into. Cc: Masato Noguchi Cc: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ce8ab8541203f6c7be5b2eeaa97f14f1d8d44e4f Author: Arnd Bergmann Date: Wed Jan 4 20:31:29 2006 +0100 [PATCH] spufs: move spu_run call to its own file The logic for sys_spu_run keeps growing and it does not really belong into file.c any more since we moved away from using regular file operations to our own syscall. No functional change in here. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 8837d9216f99048636fbb2c11347358e99e06181 Author: Arnd Bergmann Date: Wed Jan 4 20:31:28 2006 +0100 [PATCH] spufs: clean up use of bitops checking bits manually might not be synchonized with the use of set_bit/clear_bit. Make sure we always use the correct bitops by removing the unnecessary identifiers. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e Author: Arnd Bergmann Date: Wed Jan 4 20:31:27 2006 +0100 [PATCH] spufs: fix spufs_fill_dir error path If creating one entry failed in spufs_fill_dir, we never cleaned up the freshly created entries. Fix this by calling the cleanup function on error. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 346f4d3ce948a381a559dcaefb141d79f492335c Author: Arnd Bergmann Date: Wed Jan 4 20:31:26 2006 +0100 [PATCH] spufs: dont leak directories in failed spu_create If get_unused_fd failed in sys_spu_create, we never cleaned up the created directory. Fix that by restructuring the error path. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 0106246594a05f02a6be6ee4695c7584c758fa7f Author: Arnd Bergmann Date: Wed Jan 4 20:31:25 2006 +0100 [PATCH] spufs fix spu_acquire_runnable error path When spu_activate fails in spu_acquire_runnable, the state must still be SPU_STATE_SAVED, we were incorrectly setting it to SPU_STATE_RUNNABLE. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5ef8224aaa9220bfecb362f0802cf78aad47c02a Author: Arnd Bergmann Date: Wed Jan 4 20:31:24 2006 +0100 [PATCH] spufs: serialize sys_spu_run per spu During an earlier cleanup, we lost the serialization of multiple spu_run calls performed on the same spu_context. In order to get this back, introduce a mutex in the spu_context that is held inside of spu_run. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit e80358ad8606382154d97165121602dfae213e4a Author: Arnd Bergmann Date: Wed Jan 4 20:31:23 2006 +0100 [PATCH] spufs: check for proper file pointer in sys_spu_run Only checking for SPUFS_MAGIC is not reliable, because it might not be unique in theory. Worse than that, we accidentally allow spu_run to be performed on any file in spufs, not just those returned from spu_create as intended. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit c8ca0633e5f2bceab7b4eba4475820fd7674dece Author: Arnd Bergmann Date: Wed Jan 4 20:31:22 2006 +0100 [PATCH] spufs: dont hold root->isem in spu_forget spu_forget will do mmput on the DMA address space, which can lead to lots of other stuff getting triggered. We better not hold a semaphore here that we might need in the process. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 762cf6dac2623473e83bb271f2bbe97d2355c64d Author: Arnd Bergmann Date: Wed Jan 4 20:31:21 2006 +0100 [PATCH] spufs: fix locking in spu_acquire_runnable We need to check for validity of owner under down_write, down_read is not enough. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit c902be71dc6d5e8473bd021feafc8c3608e2b82a Author: Arnd Bergmann Date: Wed Jan 4 19:55:53 2006 +0000 [PATCH] cell: enable pause(0) in cpu_idle This patch enables support for pause(0) power management state for the Cell Broadband Processor, which is import for power efficient operation. The pervasive infrastructure will in the future enable us to introduce more functionality specific to the Cell's pervasive unit. From: Maximino Aguilar Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 017e0fad3e40ece983527ec88a92b3da8fcdecea Author: Kumar Gala Date: Tue Jan 3 16:15:21 2006 -0600 [PATCH] powerpc: fixing compile issue with !CONFIG_PCI in legacy_serial.c Only build in support for ISA and PCI cases if we have enabled CONFIG_ISA and CONFIG_PCI. Additionally, isa_bridge is a global so we shouldn't use it a parameter name since it gets redefined to NULL when !CONFIG_PCI. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 03929c76f3e5af919fb762e9882a9c286d361e7d Author: Aristeu Sergio Rozanski Filho Date: Thu Dec 29 19:18:49 2005 -0200 [PATCH] ppc32: cpm_uart: fix xchar sending while using SCC as uart and as serial console at same time I got this: [ 138.214258] Oops: kernel access of bad area, sig: 11 [#1] [ 138.218832] PREEMPT [ 138.221021] NIP: C0105C48 LR: C0105E60 SP: C03D5D10 REGS: c03d5c60 TRAP: 0300 Not tainted [ 138.229280] MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 [ 138.234713] DAR: 00000000, DSISR: C0000000 [ 138.238745] TASK = c0349420[693] 'sh' THREAD: c03d4000 [ 138.243754] Last syscall: 6 [ 138.246402] GPR00: FEFFFFFF C03D5D10 C0349420 C01FB094 00000011 00000000 C1ECFBBC C01F24B0 [ 138.254602] GPR08: FF002820 00000000 FF0028C0 00000000 19133615 A0CBCD5E 02000300 00000000 [ 138.262804] GPR16: 00000000 01FF9E4C 00000000 7FA9A770 00000000 00000000 1003E2A8 00000000 [ 138.271003] GPR24: 100562F4 7F9B6EF4 C0210000 C02A5338 C01FB094 00000000 C01FB094 C1F14574 [ 138.279376] NIP [c0105c48] cpm_uart_tx_pump+0x4c/0x22c [ 138.284419] LR [c0105e60] cpm_uart_start_tx+0x38/0xb0 [ 138.289361] Call trace: [ 138.291762] [c0105e60] cpm_uart_start_tx+0x38/0xb0 [ 138.296547] [c010277c] uart_send_xchar+0x88/0x118 [ 138.301244] [c01029a0] uart_unthrottle+0x6c/0x138 [ 138.305942] [c00ece10] check_unthrottle+0x60/0x64 [ 138.310641] [c00ecec4] reset_buffer_flags+0xb0/0x138 [ 138.315595] [c00ecf64] n_tty_flush_buffer+0x18/0x78 [ 138.320465] [c00e81b0] tty_ldisc_flush+0x64/0x7c [ 138.325078] [c010410c] uart_close+0xf0/0x2c8 [ 138.329348] [c00e9c48] release_dev+0x724/0x8d4 [ 138.333790] [c00e9e18] tty_release+0x20/0x3c [ 138.338061] [c006e544] __fput+0x178/0x1e0 [ 138.342076] [c006c43c] filp_close+0x54/0xac [ 138.346261] [c0002d90] ret_from_syscall+0x0/0x44 [ 138.352386] note: sh[693] exited with preempt_count 2 a easy way to reproduce it is log into the system using ssh and do: cat >/dev/ttyCPM0 then, switch to minicom and write some stuff on it back to ssh, a control C produce the oops this happens because uart_close calls uart_shutdown which frees xmit.buf, currently used by xchar sending in cpm_uart_tx_pump(), which seems wrong. the attached patch fixes the oops and also fixes xchar sending. Signed-off-by: Paul Mackerras commit 022930ebea0df878d449b7c74309c1d612441ac5 Author: Haren Myneni Date: Tue Dec 27 18:58:29 2005 -0800 [PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled Undefined symbols (eeh_add_device_tree_early and eeh_remove_bus_device) when EEH is not enabled. This small patch will fix this. Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 9da5cad61c13fbdc7fc7aa425f03a15da9d0cb43 Author: Haren Myneni Date: Tue Dec 27 15:51:07 2005 -0800 [PATCH] powerpc: Fix search for the main interrupt controller At present, we are not looking at all interrupt controller nodes in the device tree even though the proper node was not found. This is causing the system panic. The attached patch will scan all nodes until it finds the proper interrupt controller type. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 79e7bac0d6ad56d62e2364313b5e5e5950c7385d Author: Kumar Gala Date: Wed Dec 21 09:27:13 2005 -0600 [PATCH] powerpc: Call find_legacy_serial_ports() if we enable CONFIG_SERIAL_8250 In setup_arch and setup_system call find_legacy_serial_ports() if we build in support for 8250 serial ports instead of basing it on PPC_MULTIPLATFORM. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit be6b843918394067e93ebbacb834245251a6f18a Author: Kumar Gala Date: Tue Dec 20 16:37:07 2005 -0600 [PATCH] powerpc: added a udbg_progress Added a common udbg_progress for use by ppc_md.progress() Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b580d46ce833f6bdc6a5602f4f0efb1d9c488ed6 Author: Kumar Gala Date: Tue Dec 20 16:16:52 2005 -0600 [PATCH] powerpc: Add the ability to handle SOC ports in legacy_serial Add the ability to configure and initialize legacy 8250 serials ports on an SOC bus. Also, fixed an issue that we would not configure any serial ports if "linux,stdout-path" was not found. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit d0e132b536b6c8044991932d0c160676c46c98e5 Author: Kumar Gala Date: Tue Dec 20 16:16:26 2005 -0600 [PATCH] powerpc: Loosen udbg_probe_uart_speed sanity checking The checking of the baudrate in udbg_probe_uart_speed was too tight and would cause reporting back of the default baud rate in cases where the computed speed was valid. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b226e462124522f2f23153daff31c311729dfa2f Author: Mike Kravetz Date: Fri Dec 16 14:30:35 2005 -0800 [PATCH] powerpc: don't add memory to empty node/zone The system will oops if an attempt is made to add memory to an empty node/zone. This patch prevents adding memory to an empty node. The code to dynamically add a node/zone is non-trivial. This patch is temporary and will be removed when the ability to dynamically add a node/zone is complete. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 021c73354921a315ae2fceb1ad7807d1569a5a74 Author: Arnd Bergmann Date: Fri Dec 16 22:45:27 2005 +0100 [PATCH] powerpc: fix two build warnings Building the arch/powerpc tree currently gives me two warnings with gcc-4.0: arch/powerpc/mm/imalloc.c: In function '__im_get_area': arch/powerpc/mm/imalloc.c:225: warning: 'tmp' may be used uninitialized in this function arch/powerpc/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area': arch/powerpc/mm/hugetlbpage.c:608: warning: unused variable 'vma' both fixes are trivial. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 64ca9004b819ab87648dbfc78f3ef49ee491343e Author: Matt Mackall Date: Sun Jan 8 01:05:26 2006 -0800 [PATCH] Make vm86 support optional This adds an option to remove vm86 support under CONFIG_EMBEDDED. Saves about 5k. This version eliminates most of the #ifdefs of the previous version and instead uses function stubs in vm86.h. Also, release_vm86_irqs is moved from asm-i386/irq.h to a more appropriate home in vm86.h so that the stubs can live together. $ size vmlinux-baseline vmlinux-novm86 text data bss dec hex filename 2920821 523232 190652 3634705 377611 vmlinux-baseline 2916268 523100 190492 3629860 376324 vmlinux-novm86 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708e9a794cf8822b760edaccd9053edb07c34d19 Author: Matt Mackall Date: Sun Jan 8 01:05:25 2006 -0800 [PATCH] tiny: Configure ELF core dump support configurable support for ELF core dumps text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3325552 528912 190556 4045020 3db8dc vmlinux-no-elf add/remove: 0/8 grow/shrink: 0/0 up/down: 0/-4424 (-4424) function old new delta fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e585e47031751f4e393e10ffd922885508b958dd Author: Matt Mackall Date: Sun Jan 8 01:05:24 2006 -0800 [PATCH] tiny: Make *[ug]id16 support optional Configurable 16-bit UID and friends support This allows turning off the legacy 16 bit UID interfaces on embedded platforms. text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3328268 529040 190556 4047864 3dc3f8 vmlinux From: Adrian Bunk UID16 was accidentially disabled for !EMBEDDED. Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c4e3084eb8b88288a622a57d8b35c450a439f2 Author: Matt Mackall Date: Sun Jan 8 01:05:24 2006 -0800 [PATCH] tiny: Make x86 doublefault handling optional This adds configurable support for doublefault reporting on x86 add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-13048 (-13048) function old new delta cpu_init 846 786 -60 doublefault_fn 188 - -188 doublefault_stack 4096 - -4096 doublefault_tss 8704 - -8704 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18e92b12e83bef077a31ba6871f1aec3621b69e3 Author: Matt Mackall Date: Sun Jan 8 01:05:22 2006 -0800 [PATCH] tiny: Trim non-IPX builds trivial: drop unused 802.3 code if we compile without IPX (originally from http://wohnheim.fh-wedel.de/~joern/software/kernel/je/25/) Signed-off-by: Matt Mackall Cc: "David S. Miller" Cc: Arnaldo Carvalho de Melo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33443c42f4ffa5ca23b3323234bcb1a78e85d9db Author: Matt Mackall Date: Sun Jan 8 01:05:22 2006 -0800 [PATCH] tiny: Uninline some fslocks.c functions uninline some file locking functions add/remove: 3/0 grow/shrink: 0/15 up/down: 256/-1525 (-1269) function old new delta locks_free_lock - 134 +134 posix_same_owner - 69 +69 __locks_delete_block - 53 +53 posix_locks_conflict 126 108 -18 locks_remove_posix 266 237 -29 locks_wake_up_blocks 121 87 -34 locks_block_on_timeout 83 47 -36 locks_insert_block 157 120 -37 locks_delete_block 62 23 -39 posix_unblock_lock 104 59 -45 posix_locks_deadlock 162 100 -62 locks_delete_lock 228 119 -109 sys_flock 338 217 -121 __break_lease 600 474 -126 lease_init 252 122 -130 fcntl_setlk64 793 649 -144 fcntl_setlk 793 649 -144 __posix_lock_file 1477 1026 -451 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d2bea4582d20cb24085152acaa29b95c05cdcf8 Author: Matt Mackall Date: Sun Jan 8 01:05:21 2006 -0800 [PATCH] tiny: Uninline some inode.c functions uninline a couple inode.c functions add/remove: 2/0 grow/shrink: 0/5 up/down: 256/-428 (-172) function old new delta ifind - 136 +136 ifind_fast - 120 +120 ilookup5_nowait 131 80 -51 ilookup 158 71 -87 ilookup5 171 80 -91 iget_locked 190 95 -95 iget5_locked 240 136 -104 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b01ec0ef63e95570e2463b26333d9c9c854cb941 Author: Matt Mackall Date: Sun Jan 8 01:05:20 2006 -0800 [PATCH] tiny: Uninline some open.c functions uninline some open.c functions add/remove: 3/0 grow/shrink: 0/6 up/down: 679/-1166 (-487) function old new delta do_sys_truncate - 336 +336 do_sys_ftruncate - 317 +317 __put_unused_fd - 26 +26 put_unused_fd 57 49 -8 sys_close 150 119 -31 sys_ftruncate64 260 26 -234 sys_ftruncate 272 24 -248 sys_truncate 339 25 -314 sys_truncate64 336 5 -331 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d960600df3ce3588571e2c1adf1f5f6d8ca9eb5a Author: Matt Mackall Date: Sun Jan 8 01:05:19 2006 -0800 [PATCH] tiny: Add bloat-o-meter to scripts This is a rewrite of Andi Kleen's bloat-o-meter with sorting and reporting of gainers/decliners. Sample output: add/remove: 0/8 grow/shrink: 2/0 up/down: 88/-4424 (-4336) function old new delta __copy_to_user_ll 59 103 +44 __copy_from_user_ll 59 103 +44 fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 The summary line says: no functions added, 8 removed two functions grew, none shrunk we gained 88 bytes and lost 4424 (or -4336 net) This work was sponsored in part by CE Linux Forum Signed-off-by: Matt Mackall Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e701e85b9f12af4dbe73b4299b541686ef6b1aa5 Author: Jean Delvare Date: Sun Jan 8 01:05:18 2006 -0800 [PATCH] vr41xx: section tags fix module_init functions must be tagged __init rather than __devinit; likewise, module_exit functions must be tagged __exit rather than __devexit. Signed-off-by: Jean Delvare Cc: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a Author: Christoph Hellwig Date: Sun Jan 8 01:05:17 2006 -0800 [PATCH] cciss: avoid defining useless MAJOR_NR macro This sneaked in with one of the updates. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7019e7e41e34388cb87a5f0e3d05e92992418f34 Author: Adrian Bunk Date: Sun Jan 8 01:05:16 2006 -0800 [PATCH] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature It's not good if caller and callee disagree regarding the type of the arguments. In this case, this could cause problems on 64bit architectures. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 Author: Adrian Bunk Date: Sun Jan 8 01:05:15 2006 -0800 [PATCH] drivers/isdn/: add missing #includes Every file should #include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f59cc4a35dbbc45c972daad0f1b063380cd9ea4 Author: Oleg Nesterov Date: Sun Jan 8 01:05:15 2006 -0800 [PATCH] simplify k_getrusage() Factor out common code for different RUSAGE_xxx cases. Don't take ->sighand->siglock in RUSAGE_SELF case, suggested by Ravikiran G Thirumalai . Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86f91d36c2aac910b7cf7e5d047019b10a9a627e Author: Andrew Morton Date: Sun Jan 8 01:05:14 2006 -0800 [PATCH] i810_audio: request_irq() fix Request the IRQ after having set everything up. Otherwise a shared interrupt at the right time can kill the machine. Found this with David Woodhouse 's debug-shared-irqs.patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e9dd14a3b2aab4098503a5999ee2ef42d82da1 Author: Ben Collins Date: Sun Jan 8 01:05:13 2006 -0800 [PATCH] kconf: Check for eof from input stream. Signed-off-by: Ben Collins Cc: Sam Ravnborg Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f756d5e256059018d753f0ba79980ebeb87a1bc0 Author: Nathan Lynch Date: Sun Jan 8 01:05:12 2006 -0800 [PATCH] fix workqueue oops during cpu offline Use first_cpu(cpu_possible_map) for the single-thread workqueue case. We used to hardcode 0, but that broke on systems where !cpu_possible(0) when workqueue_struct->cpu_workqueue_struct was changed from a static array to alloc_percpu. Commit id bce61dd49d6ba7799be2de17c772e4c701558f14 ("Fix hardcoded cpu=0 in workqueue for per_cpu_ptr() calls") fixed that for Ben's funky sparc64 system, but it regressed my Power5. Offlining cpu 0 oopses upon the next call to queue_work for a single-thread workqueue, because now we try to manipulate per_cpu_ptr(wq->cpu_wq, 1), which is uninitialized. So we need to establish an unchanging "slot" for single-thread workqueues which will have a valid percpu allocation. Since alloc_percpu keys off of cpu_possible_map, which must not change after initialization, make this slot == first_cpu(cpu_possible_map). Signed-off-by: Nathan Lynch Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 945f390f02ce44a13aefc6d9449c99f33c9286a5 Author: Tobias Klauser Date: Sun Jan 8 01:05:11 2006 -0800 [PATCH] drivers/block: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE. Some trailing whitespaces are also removed. drivers/block/acsi* has been left out as it's marked BROKEN. Signed-off-by: Tobias Klauser Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef9ceab28203690a42d7d3915ccf6e208f0762bc Author: Andrew Morton Date: Sun Jan 8 01:05:10 2006 -0800 [PATCH] remove semicolons from save_flags() Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 987d4613e52e4f655278265aabbcc69237018b1d Author: Dave Jones Date: Sun Jan 8 01:05:09 2006 -0800 [PATCH] Make apm buildable without legacy pm APM doesn't _need_ the PM_LEGACY junk, so remove it's dependancy from Kconfig, and ifdef the junk in the code. Whilst the ifdefs are ugly, when the legacy stuff gets ripped out so will the ifdefs. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fe656e91fd95d0893cc4831b032e0be60791bd7 Author: Jan Blunck Date: Sun Jan 8 01:05:09 2006 -0800 [PATCH] i4l: __attribute__((packed)) for the CAPI message structs The CAPI message structs itself should be packed and not the location of single fields in the structure. Signed-off-by: Jan Blunck Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfc090c468b33fb1f75c27a11efa7b7dc250556f Author: Jan Blunck Date: Sun Jan 8 01:05:08 2006 -0800 [PATCH] afs: remove unnecessary __attribute__((packed)) Remove the unnecessary __attribute__((packed)) since the enum itself is packed and not the location of it in the structure. Signed-off-by: Jan Blunck Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a878184c202395ea17212f111ab9ec4b5f6d6ee Author: Jan Blunck Date: Sun Jan 8 01:05:07 2006 -0800 [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 Since version 4.1 the gcc is warning about ignored attributes. This patch is using the equivalent attribute on the struct instead of on each of the structure or union members. GCC Manual: "Specifying Attributes of Types packed This attribute, attached to struct or union type definition, specifies that each member of the structure or union is placed to minimize the memory required. When attached to an enum definition, it indicates that the smallest integral type should be used. Specifying this attribute for struct and union types is equivalent to specifying the packed attribute on each of the structure or union members." Signed-off-by: Jan Blunck Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8a33496671e4533aed090793436d58debea6f3a Author: Marko Kohtala Date: Sun Jan 8 01:05:06 2006 -0800 [PATCH] parport: bring back an unused phase for ppdev ioctl Earlier fix removed unused phase, but that changed the values for other phases. Since these are exposed to userspace through ppdev, it is safer not to change them. Restore the unused phase value. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1c4ac408fbab78a5f89ff583b68d2d11b421bb3 Author: Andrew Morton Date: Sun Jan 8 01:05:05 2006 -0800 [PATCH] parport_pc: arm build fix free_dma() isn't implemented on ARM unless HAS_DMA is set. Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a771f2b82aa266fe578468deed82f797e26a3dc4 Author: Arjan van de Ven Date: Sun Jan 8 01:05:04 2006 -0800 [PATCH] Add a section about inlining to Documentation/CodingStyle Adds a bit of text to Documentation/Codingstyle to state that inlining everything "just because" is a bad idea Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0804b17984afa1504649e2535db489d2a3029b6 Author: Eric Van Buggenhaut Date: Sun Jan 8 01:05:03 2006 -0800 [PATCH] hw_random: 82801AB PCI Bridge support pci.lst lists device 80862430 as another RNG # grep 80862430 /lib/discover/pci.lst 80862430 bridge i810_rng 82801AB PCI Bridge but it's not listed in rng_pci_tbl[] Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19144d0beab077950f3e767385e3c1050061b475 Author: Dave Jones Date: Sun Jan 8 01:05:02 2006 -0800 [PATCH] fix gcc4.1 build failure on xconfig scripts/kconfig/qconf.h:25: error: extra qualification ‘ConfigSettings::’ on member ‘readSizes’ scripts/kconfig/qconf.h:26: error: extra qualification ‘ConfigSettings::’ on member ‘writeSizes’ scripts/kconfig/qconf.h:127: error: extra qualification ‘ConfigList::’ on member ‘updateMenuList’ Signed-off-by: Dave Jones Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1dac06b20dcc8078dab037bd70652c69c67ba672 Author: Latchesar Ionkov Date: Sun Jan 8 01:05:02 2006 -0800 [PATCH] v9fs: handle kthread_create failure, minor bugfixes - remove unnecessary -ENOMEM assignments - return correct value when buf_check_size for second time in a buffer - handle failures when create_workqueue and kthread_create are called - use kzalloc instead of kmalloc/memset 0 - v9fs_str_copy and v9fs_str_compare were buggy, were used only in one place, correct the logic and move it to the place it is used. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 531b1094b74365dcc55fa464d28a9a2497ae825d Author: Latchesar Ionkov Date: Sun Jan 8 01:05:00 2006 -0800 [PATCH] v9fs: zero copy implementation Performance enhancement reducing the number of copies in the data and stat paths. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42650d8c9060a2658a79d4e30a5790b23d7753e0 Author: Paul Mackerras Date: Tue Dec 20 18:43:52 2005 +1100 powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef Grrr.... Signed-off-by: Paul Mackerras commit d8da097afb765654c866062148fd98b11db9003e Author: Latchesar Ionkov Date: Sun Jan 8 01:04:59 2006 -0800 [PATCH] v9fs: fix fid management in v9fs_create v9fs_create doesn't manage correctly the fids when it is called to create a directory.. The fid created by the create 9P call (newfid) and the one created by walking to already created file (wfidno) are not used consistently. This patch cleans up the usage of newfid and wfidno. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 Author: Latchesar Ionkov Date: Sun Jan 8 01:04:58 2006 -0800 [PATCH] v9fs: new multiplexer implementation New multiplexer implementation. Decreases the number of kernel threads required. Better handling when the user process receives a signal. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5ef3c105bee3a52486d7b55cef3330fcde9bca6 Author: Eric Van Hensbergen Date: Sun Jan 8 01:04:56 2006 -0800 [PATCH] v9fs: fix fd_close If a 9pfs server crashes, v9fs_fd_close() is called. Subsequently, in cleaning up by performing a umount() on the FS that was provided by this server v9fs_fd_close() is called again, and uses the old, freed valus of trans->priv. This patch ensures that trans->priv can be freed only once, otherwise this function bails early. Signed-off-by: Michal Ostrowski Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e7f358c8f8f836c504faa293fda0c1c0733b63c Author: Brian Gerst Date: Sun Jan 8 01:04:54 2006 -0800 [PATCH] Split out screen_info from tty.h This makes it possible for boot code to use screen_info without dragging in all of tty.h. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 389cd6ec086e9b5421fe479d14d20a1faf74848d Author: Eugene Surovegin Date: Sun Jan 8 01:04:53 2006 -0800 [PATCH] CREDITS update: Eugene Surovegin Add EMAC to my CREDITS entry. Signed-off-by: Eugene Surovegin Signed-off-by: Linus Torvalds commit 58591e8a1f4de2e53fdd09b2aa86948687106c07 Author: Randy Dunlap Date: Sun Jan 8 01:04:52 2006 -0800 [PATCH] SubmittingPatches: diffstat options Add desired 'diffstat' options to use for kernel patches. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15b2fe3931831891a62bad9cafd403c169ae087c Author: Evgeniy Polyakov Date: Sun Jan 8 01:04:51 2006 -0800 [PATCH] UFS: inode->i_sem is not released in error path Signed-off-by: Evgeniy Polyakov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac34dd052400b1e63aa8e711a13c0670943296fd Author: Maciej W. Rozycki Date: Sun Jan 8 01:04:50 2006 -0800 [PATCH] fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix() This patch fixes a data corruption in smb_proc_setattr_unix() (smb_filetype_from_mode() returns an u32, and there are only four bytes reserved for it in data. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a12dea7af93ae83bd868c0dc09367090ead7cc1e Author: Paolo 'Blaisorblade' Giarrusso Date: Sun Jan 8 01:04:49 2006 -0800 [PATCH] PTRACE_SYSEMU is only for i386 and clashes with other ptrace codes of other archs PTRACE_SYSEMU{,_SINGLESTEP} is actually arch specific, for now, and the current allocated number clashes with a ptrace code of frv, i.e. PTRACE_GETFDPIC. I should have submitted this much earlier, anyway we get no breakage for this. CC: Daniel Jacobowitz Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb46996f90a0826921f1a0d81535537a9c7f91b0 Author: Ashutosh Naik Date: Sun Jan 8 01:04:37 2006 -0800 [PATCH] kernel/module.c: remove redundant spinlock in resolve_symbol() Remove the redundant spinlock in the function resolve_symbol() as we are not altering the module list, and we already hold the semaphore. Signed-off-by: Ashutosh Naik Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db Author: Andrew Morton Date: Sun Jan 8 01:04:36 2006 -0800 [PATCH] shrink struct page Reduce the size of the pageframe for NR_CPUS>4, CONFIG_PREEMPT back to the minimal size by unionising both ->private and ->mapping with the pagetable lock. It uses an anonymous struct and hence requires gcc-3.x. Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59d9136b9844d3a0376d93c945ab280decedb323 Author: Benjamin LaHaise Date: Sun Jan 8 01:04:34 2006 -0800 [PATCH] aio: reorder kiocb structure elements to make sync iocb setup faster Reorder members of the kiocb structure to make sync kiocb setup faster. By setting the elements sequentially, the write combining buffers on the CPU are able to combine the writes into a single burst, which results in fewer cache cycles being consumed, freeing them up for other code. This results in a 10-20KB/s[*] increase on the bw_unix part of LMbench on my test system. * The improvement varies based on what other patches are in the system, as there are a number of bottlenecks, so this number is not absolutely accurate. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb1697933a03ec47d794b38e2a4e3ccc2463fd22 Author: Akinobu Mita Date: Sun Jan 8 01:04:29 2006 -0800 [PATCH] modules: mark TAINT_FORCED_RMMOD correctly Currently TAINT_FORCED_RMMOD is totally unused. Because it is marked as TAINT_FORCED_MODULE instead when user forced a module unload. This patch marks it correctly Signed-off-by: Akinobu Mita Cc: Rusty Russell Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eea8b54dc0dceb740da697a89c54d20dde340306 Author: Ashutosh Naik Date: Sun Jan 8 01:04:25 2006 -0800 [PATCH] modules: prevent overriding of symbols Ensure that an exported symbol does not already exist in the kernel or in some other module's exported symbol table. This is done by checking the symbol tables for the exported symbol at the time of loading the module. Currently this is done after the relocation of the symbol. Signed-off-by: Ashutosh Naik Signed-off-by: Anand Krishnan Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b368fae6abaa1736b8f26128c32947d47237b8e5 Author: Ben Collins Date: Sun Jan 8 01:04:24 2006 -0800 [PATCH] sonypi: Enable ACPI events for Sony laptop hotkeys Signed-off-by: Ben Collins Cc: "Brown, Len" Cc: linux-acpi@vger.kernel.org Cc: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44f061033360f9d4db7e9b29d64f9df3667cb41e Author: Dmitry Torokhov Date: Sun Jan 8 01:04:22 2006 -0800 [PATCH] Sonypi: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and -remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov Cc: Stelian Pop Cc: Mattia Dongili Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fee781e6c25772db862d3322b4745a896022a4f1 Author: Adrian Bunk Date: Sun Jan 8 01:04:16 2006 -0800 [PATCH] fs/proc/: function prototypes belong in header files Function prototypes belong into header files. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80851ef2a5a404e6054211ca96ecd5ac4b06d297 Author: Bjorn Helgaas Date: Sun Jan 8 01:04:13 2006 -0800 [PATCH] /dev/mem: validate mmap requests Add a hook so architectures can validate /dev/mem mmap requests. This is analogous to validation we already perform in the read/write paths. The identity mapping scheme used on ia64 requires that each 16MB or 64MB granule be accessed with exactly one attribute (write-back or uncacheable). This avoids "attribute aliasing", which can cause a machine check. Sample problem scenario: - Machine supports VGA, so it has uncacheable (UC) MMIO at 640K-768K - efi_memmap_init() discards any write-back (WB) memory in the first granule - Application (e.g., "hwinfo") mmaps /dev/mem, offset 0 - hwinfo receives UC mapping (the default, since memmap says "no WB here") - Machine check abort (on chipsets that don't support UC access to WB memory, e.g., sx1000) In the scenario above, the only choices are - Use WB for hwinfo mmap. Can't do this because it causes attribute aliasing with the UC mapping for the VGA MMIO space. - Use UC for hwinfo mmap. Can't do this because the chipset may not support UC for that region. - Disallow the hwinfo mmap with -EINVAL. That's what this patch does. Signed-off-by: Bjorn Helgaas Cc: Hugh Dickins Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44ac8413901167589226abf824d994aa57e4fd28 Author: Bjorn Helgaas Date: Sun Jan 8 01:04:10 2006 -0800 [PATCH] /dev/mem __HAVE_PHYS_MEM_ACCESS_PROT tidy-up Tidy up __HAVE_PHYS_MEM_ACCESS_PROT usage to make mmap_mem() easier to read. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1365647022eb05a5993f270a78e9bef3bf554eb Author: Andrew Morton Date: Sun Jan 8 01:04:09 2006 -0800 [PATCH] remove gcc-2 checks Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd285bb54d8a3e99810090ae88cfe8ed77d1da25 Author: Andrew Morton Date: Sun Jan 8 01:04:07 2006 -0800 [PATCH] Abandon gcc-2.95.x There's one scsi driver which doesn't compile due to weird __VA_ARGS__ tricks and the rather useful scsi/sd.c is currently getting an ICE. None of the new SAS code compiles, due to extensive use of anonymous unions. The V4L guys are very good at exploiting the gcc-2.95.x macro expansion bug (_why_ does each driver need to implement its own debug macros?) and various people keep on sneaking in anonymous unions, which are rather nice. Plus anonymous unions are rather useful. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55 Author: Oleg Nesterov Date: Sun Jan 8 01:04:02 2006 -0800 [PATCH] copy_process: error path cleanup This patch moves 'fork_out:' under 'bad_fork_free:', and removes now unneeded 'if (retval)' check. Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddc0f846aa7621940b74cee0c91cd26405058a4d Author: Adrian Bunk Date: Sun Jan 8 01:04:01 2006 -0800 [PATCH] fs/udf/balloc.c: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a327957e4b193369854f76afcedaee8d903521 Author: Andy Isaacson Date: Sun Jan 8 01:04:00 2006 -0800 [PATCH] block/stat.txt I couldn't find any docs explaining the contents of /sys/block//stat, so I wrote up the following. I'm not completely sure it's accurate - Jens, could you give a yea or nay on this? In particular, the counts of read/write IOs and read/write sectors are incremented in different places - it looks like they both increment as the request is being finished, but I'm not completely sure of that. Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7dd795e913656c390b6bde27790c518973feea1 Author: Oleg Nesterov Date: Sun Jan 8 01:03:59 2006 -0800 [PATCH] setpgid: should not accept ptraced childs sys_setpgid() allows to change ->pgrp of ptraced childs. 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e19f247a3dbd85485ec13174817ae9c2478fe541 Author: Oren Laadan Date: Sun Jan 8 01:03:58 2006 -0800 [PATCH] setpgid: should work for sub-threads setsid() does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee0acf90d320c29916ba8c5c1b2e908d81f5057d Author: Oleg Nesterov Date: Sun Jan 8 01:03:53 2006 -0800 [PATCH] setpgid: should work for sub-threads setpgid(0, pgid) or setpgid(forked_child_pid, pgid) does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a5d3023e626a0baf86ac6b892c983b3db13f22b Author: Oren Laadan Date: Sun Jan 8 01:03:51 2006 -0800 [PATCH] fork: fix race in setting child's pgrp and tty In fork, child should recopy parent's pgrp/tty after it has tasklist_lock. Otherwise following a setpgid() on the parent, *after* copy_signal(), the child will own a stale pgrp (which may be reused); (eg. if copy_mm() sleeps a long while due to memory pressure). Similar issue for the tty. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb86a35b9ded8a7e53a432cbf28df603cdd4849c Author: Mike Miller Date: Sun Jan 8 01:03:50 2006 -0800 [PATCH] cciss: adds MSI and MSI-X support This creates a new function, cciss_interrupt_mode called from cciss_pci_init. This function determines what type of interrupt vector to use, i.e., MSI, MSI-X, or IO-APIC. One noticeable difference is changing the interrupt field of the controller struct to an array of 4 unsigned ints. The Smart Array HW is capable of generating 4 distinct interrupts depending on the transport method in use during operation. These are: #define DOORBELL_INT 0 Used to notify the contoller of configuration updates. We only use this feature when in polling mode. #define PERF_MODE_INT 0 Used when the controller is in Performant Mode. #define SIMPLE_MODE_INT 2 Used when the controller is in Simple Mode (current Linux implementation). #define MEMQ_INT_MODE 3 Not used. When using IO-APIC interrupts these 4 lines are OR'ed together so when any one fires an interrupt an is generated. In MSI or MSI-X mode this hardware OR'ing is ignored. We must register for our interrupt depending on what mode the controller is running. For Linux we use SIMPLE_MODE_INT exclusively at this time. Please consider this for inclusion. Signed-off-by: Mike Miller Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d09cf7d77f62f6fb2f6d63fe5980583805f2d559 Author: Kylene Jo Hall Date: Sun Jan 8 01:03:48 2006 -0800 [PATCH] tpmdd: remove global event log Remove global event log in the tpm bios event measurement log code that would have caused problems when the code was run concurrently. A log is now allocated and attached to the seq file upon open and destroyed appropriately. Signed-off-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e38291d80086f6972f471c7caffa03184de0bf0 Author: Eric W. Biederman Date: Sun Jan 8 01:03:46 2006 -0800 [PATCH] Don't attempt to power off if power off is not implemented The problem. It is expected that /sbin/halt -p works exactly like /sbin/halt, when the kernel does not implement power off functionality. The kernel can do a lot of work in the reboot notifiers and in device_shutdown before we even get to machine_power_off. Some of that shutdown is not safe if you are leaving the power on, and it definitely gets in the way of using sysrq or pressing ctrl-alt-del. Since the shutdown happens in generic code there is no way to fix this in architecture specific code :( Some machines are kernel oopsing today because of this. The simple solution is to turn LINUX_REBOOT_CMD_POWER_OFF into LINUX_REBOOT_CMD_HALT if power_off functionality is not implemented. This has the unfortunate side effect of disabling the power off functionality on architectures that leave pm_power_off to null and still implement something in machine_power_off. And it will break the build on some architectures that don't have a pm_power_off variable at all. On both counts I say tough. For architectures like alpha that don't implement the pm_power_off variable pm_power_off is declared in linux/pm.h and it is a generic part of our power management code, and all architectures should implement it. For architectures like parisc that have a default power off method in machine_power_off if pm_power_off is not implemented or fails. It is easy enough to set the pm_power_off variable. And nothing bad happens there, the machines just stop powering off. The current semantics are impossible without a flag at the top level so we can avoid the problem code if a power off is not implemented. pm_power_off is as good a flag as any with the bonus that it works without modification on at least x86, x86_64, powerpc, and ppc today. Andrew can you pick this up and put this in the mm tree. Kernels that don't compile or don't power off seem saner than kernels that oops or panic. Until we get the arch specific patches for the problem architectures this probably isn't smart to push into the stable kernel. Unfortunately I don't have the time at the moment to walk through every architecture and make them work. And even if I did I couldn't test it :( From: Hirokazu Takata Add pm_power_off() for build fix of arch/m32r/kernel/process.c. From: Miklos Szeredi UML build fix Signed-off-by: Eric W. Biederman Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87ba81dba431232548ce29d5d224115d0c2355ac Author: Valentine Barshak Date: Sun Jan 8 01:03:44 2006 -0800 [PATCH] fadvise: return ESPIPE on FIFO/pipe The patch makes posix_fadvise return ESPIPE on FIFO/pipe in order to be fully POSIX-compliant. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99aef427e206f4ae7dcf0b18f66416145fea5d20 Author: Rob Landley Date: Sun Jan 8 01:03:43 2006 -0800 [PATCH] update to the initramfs docs Based on questions people have asked me. Repeatedly. Signed-off-by: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d84f520348d77e61f936227a048403dbc349fff1 Author: Srivatsa Vaddagiri Date: Sun Jan 8 01:03:42 2006 -0800 [PATCH] Extend RCU torture module to test tickless idle CPU This patch forces RCU torture threads off various CPUs in the system allowing them to become idle and go tickless. Meant to test support for such tickless idle CPU in RCU. Signed-off-by: Srivatsa Vaddagiri Cc: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9841d61d75da5e46ed7a978bed4f50c78b1d87fd Author: Dave Jones Date: Sun Jan 8 01:03:41 2006 -0800 [PATCH] Add tainting for proprietary helper modules Kernels that have had Windows drivers loaded into them are undebuggable. I've wasted a number of hours chasing bugs filed in Fedora bugzilla only to find out much later that the user had used such 'helpers', and their problems were unreproducable without them loaded. Acked-by: Arjan van de Ven Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f867bac65419a98c9682f4409e087582d29ec5f6 Author: Eric Dumazet Date: Sun Jan 8 01:03:40 2006 -0800 [PATCH] remove unused blkp field in percpu_data I found that blkp field was not used in kernel tree. As most of the times NR_CPUS is a power of two and kmalloc() memory blocks too, this extra field basically doubles the memory space allocated in __alloc_percpu() to store the 'struct percpu_data' (for example, if NR_CPUS=8 on i386, kmalloc(4*8+4) returns a 64 bytes block instead of a 32 bytes block after this patch) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e78c9a004aadebe22306c81d1a7f1d1278dc37f9 Author: Pekka Enberg Date: Sun Jan 8 01:03:39 2006 -0800 [PATCH] fs: remove s_old_blocksize from struct super_block This patch inlines the single user of struct super_block field s_old_blocksize and removes the field. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90f2447d08a5fbddc8b58f8a6425b0513807f919 Author: Jesper Juhl Date: Sun Jan 8 01:03:38 2006 -0800 [PATCH] Documentation: Small applying-patches.txt update Minor update to Documentation/applying-patches.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44fce35f29a7f2d976d9160bfbc55635b459a6a0 Author: Nicolas Kaiser Date: Sun Jan 8 01:03:37 2006 -0800 [PATCH] drivers/mfd: header included twice linux/delay.h included twice Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda6ebde96044e9b5f1b14588659b39b4e6c08e7 Author: David Gibson Date: Sun Jan 8 01:03:35 2006 -0800 [PATCH] Fix handling of ELF segments with zero filesize mmap() returns -EINVAL if given a zero length, and thus elf_map() in binfmt_elf.c does likewise if it attempts to map a (page-aligned) ELF segment with zero filesize. Such a situation never arises with the default linker scripts, but there's nothing inherently wrong with zero-filesize (but non-zero memsize) ELF segments. Custom linker scripts can generate them, and the kernel should be able to map them; this patch makes it so. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc398c2eae35b13d77b77337136325edc6ca94ca Author: David S. Miller Date: Sun Jan 8 01:03:34 2006 -0800 [PATCH] drivers/connector/cn_proc.c typos The parameter to put_cpu_var() is unreferenced by the implementation, and the compiler doesn't try to comprehend comments, so this wouldn't cause any problem, but if bugged me enough to post a fix :-) Signed-off-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5160ee6fc891a9ca114be0e90fa6655647bb64b2 Author: Eric Dumazet Date: Sun Jan 8 01:03:32 2006 -0800 [PATCH] shrink dentry struct Some long time ago, dentry struct was carefully tuned so that on 32 bits UP, sizeof(struct dentry) was exactly 128, ie a power of 2, and a multiple of memory cache lines. Then RCU was added and dentry struct enlarged by two pointers, with nice results for SMP, but not so good on UP, because breaking the above tuning (128 + 8 = 136 bytes) This patch reverts this unwanted side effect, by using an union (d_u), where d_rcu and d_child are placed so that these two fields can share their memory needs. At the time d_free() is called (and d_rcu is really used), d_child is known to be empty and not touched by the dentry freeing. Lockless lookups only access d_name, d_parent, d_lock, d_op, d_flags (so the previous content of d_child is not needed if said dentry was unhashed but still accessed by a CPU because of RCU constraints) As dentry cache easily contains millions of entries, a size reduction is worth the extra complexity of the ugly C union. Signed-off-by: Eric Dumazet Cc: Dipankar Sarma Cc: Maneesh Soni Cc: Miklos Szeredi Cc: "Paul E. McKenney" Cc: Ian Kent Cc: Paul Jackson Cc: Al Viro Cc: Christoph Hellwig Cc: Trond Myklebust Cc: Neil Brown Cc: James Morris Cc: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21b6bf143d05d77c350d9c6764ae090a877b66ea Author: Jorn Dreyer Date: Sun Jan 8 01:03:30 2006 -0800 [PATCH] nfsroot: do not silently stop parsing on an unknown option It would be helpful if the kernel did not silently stop parsing nfs options, but instead warned about any he does not recognize. The attached patch adds one printk to do just that. It took me a couple of hours to find my configuration mistake. Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 850d6fbe70c62a9792eac3e8ef34f2f09f209895 Author: Oleg Nesterov Date: Sun Jan 8 01:03:29 2006 -0800 [PATCH] sigio: cleanup, don't take tasklist twice The only user of send_sigio_to_task() already holds tasklist_lock, so it is better not to send the signal via send_group_sig_info() (which takes tasklist recursively) but use group_send_sig_info(). The same change in send_sigurg()->send_sigurg_to_task(). Signed-off-by: Oleg Nesterov Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86174cdcb44c095ffd2e3ca69caa56244cf701d5 Author: Oleg Nesterov Date: Sun Jan 8 01:03:28 2006 -0800 [PATCH] remove unneeded sig->curr_target recalculation This patch removes unneeded sig->curr_target recalculation under 'if (atomic_dec_and_test(&sig->count))' in __exit_signal(). When sig->count == 0 the signal can't be sent to this task and next_thread(tsk) == tsk anyway. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08efd10edff199f0c992f04052e897a3f2048508 Author: Nicolas Kaiser Date: Sun Jan 8 01:03:26 2006 -0800 [PATCH] MAINTAINERS: line duplication uniq -d MAINTAINERS Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29ba17231222c42ca3df5424f43949e2a6fddec2 Author: Glauber de Oliveira Costa Date: Sun Jan 8 01:03:23 2006 -0800 [PATCH] ext3: use sbi instead of EXT3_SB() in resize code. There are places in the resize code in which EXT3_SB() macro is used after an statement like sbi = EXT3_SB(sb) is done. Inside the same function, both sbi and EXT3_SB() are used to reference the super block Altough it is not wrong, keeping it coherent increases legibility, IMHO. Signed-off-by: Glauber de Oliveira Costa Cc: "Stephen C. Tweedie" Cc: Andreas Dilger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f40668d7d14d4d16cedc2104bfb63a43584dacf Author: Glauber de Oliveira Costa Date: Sun Jan 8 01:03:22 2006 -0800 [PATCH] ext3: remove trailing newlines from ext3_warning() calls Remove the trailing newlines in calls to ext3_warning(). This function already adds a trailing newline to the end of messages. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25ab7cd84eebdc1869d236029ada3a7b403de8ba Author: Eric Dumazet Date: Sun Jan 8 01:03:21 2006 -0800 [PATCH] oprofile: Use vmalloc_node() in alloc_cpu_buffers() Make oprofile alloc_cpu_buffers() function NUMA aware, allocating each CPU local buffer in its memory node if possible. Signed-off-by: Eric Dumazet Cc: Philippe Elie Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71b9625744b7d4a6a2416389a5ba464bdf11f07f Author: Johann Lombardi Date: Sun Jan 8 01:03:20 2006 -0800 [PATCH] ext3: external journal device as a mount option The patch below adds a new mount option to allow the external journal device to be specified. The syntax is as follows: # mount -t ext3 -o journal_dev=0x0820 ... where 0x0820 means major=8 and minor=32. Signed-off-by: Johann Lombardi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf066c7db775a04bd761f8ea206f5522d0cf40ff Author: Miklos Szeredi Date: Sun Jan 8 01:03:19 2006 -0800 [PATCH] shared mounts: cleanup Small cleanups in shared mounts code. Signed-off-by: Miklos Szeredi Cc: Ram Pai Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a0d11fae57989e24fe2ee3eff6d62d72db9716c Author: Neil Brown Date: Sun Jan 8 01:03:18 2006 -0800 [PATCH] pivot_root: add comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c809406b4f2dfac9006d7eb8dca6b9f990f10b61 Author: Ashok Raj Date: Sun Jan 8 01:03:17 2006 -0800 [PATCH] Updated CPU hotplug documentation Thanks to Nathan Lynch for the review and comments. Thanks to Joel Schopp for the pointer to add user space scipts. Signed-off-by: Ashok Raj Signed-off-by: Nathan Lynch Signed-off-by: Joel Schopp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55a82ab3181be039c6440d3f2f69260ad6fe2988 Author: Kylene Jo Hall Date: Sun Jan 8 01:03:15 2006 -0800 [PATCH] tpm: add bios measurement log According to the TCG specifications measurements or hashes of the BIOS code and data are extended into TPM PCRS and a log is kept in an ACPI table of these extensions for later validation if desired. This patch exports the values in the ACPI table through a security-fs seq_file. Signed-off-by: Seiji Munetoh Signed-off-by: Stefan Berger Signed-off-by: Reiner Sailer Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 485a6435abc3897934ce0dc530e31db93e9296a6 Author: Oleg Nesterov Date: Sun Jan 8 01:03:14 2006 -0800 [PATCH] little do_group_exit() cleanup zap_other_threads() sets SIGNAL_GROUP_EXIT at the very start, do_group_exit() doesn't need to do it. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af Author: Oleg Nesterov Date: Sun Jan 8 01:03:13 2006 -0800 [PATCH] do_coredump() should reset group_stop_count earlier __group_complete_signal() sets ->group_stop_count in sig_kernel_coredump() path and marks the target thread as ->group_exit_task. So any thread except group_exit_task will go to handle_group_stop()->finish_stop(). However, when group_exit_task actually starts do_coredump(), it sets SIGNAL_GROUP_EXIT, but does not reset ->group_stop_count while killing other threads. If we have not yet stopped threads in the same thread group, they all will spin in kernel mode until group_exit_task sends them SIGKILL, because ->group_stop_count > 0 means: recalc_sigpending_tsk() never clears TIF_SIGPENDING get_signal_to_deliver() goes to handle_group_stop() handle_group_stop() returns when SIGNAL_GROUP_EXIT set syscall_exit/resume_userspace notice TIF_SIGPENDING, call get_signal_to_deliver() again. So we are wasting cpu cycles, and if one of these threads is rt_task() this may be a serious problem. NOTE: do_coredump() holds ->mmap_sem, so not stopped threads can't escape coredumping after clearing ->group_stop_count. See also this thread: http://marc.theaimsgroup.com/?t=112739139900002 Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0811af28ce49fab963e3e6b8abcf8c460f971cd4 Author: Oleg Nesterov Date: Sun Jan 8 01:03:09 2006 -0800 [PATCH] kill_proc_info_as_uid: don't use hardcoded constants Use symbolic names instead of hardcoded constants. Signed-off-by: Oleg Nesterov Acked-by: Harald Welte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54b21a7992a31d30c9a91f7e0a00ffdb4bd0caee Author: Andrew Morton Date: Sun Jan 8 01:03:05 2006 -0800 [PATCH] fix possible PAGE_CACHE_SHIFT overflows We've had two instances recently of overflows when doing 64_bit_value = (32_bit_value << PAGE_CACHE_SHIFT) I did a tree-wide grep of `<<.*PAGE_CACHE_SHIFT' and this is the result. - afs_rxfs_fetch_descriptor.offset is of type off_t, which seems broken. - jfs and jffs are limited to 4GB anyway. - reiserfs map_block_for_writepage() takes an unsigned long for the block - it should take sector_t. (It'll fail for huge filesystems with blocksizepage_base) Cc: Oleg Drokin Cc: David Howells Cc: David Woodhouse Cc: Cc: Christoph Hellwig Cc: Anton Altaparmakov Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Cc: Roman Zippel Cc: Cc: Miklos Szeredi Cc: Russell King Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676121fcb66c861804e38d94214fd5670a1ef595 Author: Ben Collins Date: Sun Jan 8 01:03:04 2006 -0800 [PATCH] Unchecked alloc_percpu() return in __create_workqueue() __create_workqueue() not checking return of alloc_percpu() NULL dereference was possible. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fa37fd1627ec804e57ae0388555719b03b39f20 Author: taneli.vahakangas@netsonic.fi Date: Sun Jan 8 01:03:02 2006 -0800 [PATCH] nbd: remove duplicate assignment Sent by Paul Clements , who needs to read Documentation/SubmittingPatches.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a885c8c4316e1c1d2d2c8755da3f3d14f852528d Author: Christoph Hellwig Date: Sun Jan 8 01:02:50 2006 -0800 [PATCH] Add block_device_operations.getgeo block device method HDIO_GETGEO is implemented in most block drivers, and all of them have to duplicate the code to copy the structure to userspace, as well as getting the start sector. This patch moves that to common code [1] and adds a ->getgeo method to fill out the raw kernel hd_geometry structure. For many drivers this means ->ioctl can go away now. [1] the s390 block drivers are odd in this respect. xpram sets ->start to 4 always which seems more than odd, and the dasd driver shifts the start offset around, probably because of it's non-standard sector size. Signed-off-by: Christoph Hellwig Cc: Jens Axboe Cc: Cc: Jeff Dike Cc: Paolo Giarrusso Cc: Bartlomiej Zolnierkiewicz Cc: Neil Brown Cc: Markus Lidel Cc: Russell King Cc: David Woodhouse Cc: Martin Schwidefsky Cc: James Bottomley Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b Author: Xose Vazquez Perez Date: Sun Jan 8 01:02:49 2006 -0800 [PATCH] docs: updated some code docs Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71fabd5e4835309b4feca6209122ce56c595c461 Author: George Anzinger Date: Sun Jan 8 01:02:48 2006 -0800 [PATCH] sigaction should clear all signals on SIG_IGN, not just < 32 While rooting aroung in the signal code trying to understand how to fix the SIG_IGN ploy (set sig handler to SIG_IGN and flood system with high speed repeating timers) I came across what, I think, is a problem in sigaction() in that when processing a SIG_IGN request it flushes signals from 1 to SIGRTMIN and leaves the rest. Attempt to fix this. Signed-off-by: George Anzinger Cc: Roland McGrath Cc: Linus Torvalds Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5f545c880a2a47947ba2118b2509644ab7a2969 Author: David Howells Date: Sun Jan 8 01:02:47 2006 -0800 [PATCH] keys: Permit running process to instantiate keys Make it possible for a running process (such as gssapid) to be able to instantiate a key, as was requested by Trond Myklebust for NFS4. The patch makes the following changes: (1) A new, optional key type method has been added. This permits a key type to intercept requests at the point /sbin/request-key is about to be spawned and do something else with them - passing them over the rpc_pipefs files or netlink sockets for instance. The uninstantiated key, the authorisation key and the intended operation name are passed to the method. (2) The callout_info is no longer passed as an argument to /sbin/request-key to prevent unauthorised viewing of this data using ps or by looking in /proc/pid/cmdline. This means that the old /sbin/request-key program will not work with the patched kernel as it will expect to see an extra argument that is no longer there. A revised keyutils package will be made available tomorrow. (3) The callout_info is now attached to the authorisation key. Reading this key will retrieve the information. (4) A new field has been added to the task_struct. This holds the authorisation key currently active for a thread. Searches now look here for the caller's set of keys rather than looking for an auth key in the lowest level of the session keyring. This permits a thread to be servicing multiple requests at once and to switch between them. Note that this is per-thread, not per-process, and so is usable in multithreaded programs. The setting of this field is inherited across fork and exec. (5) A new keyctl function (KEYCTL_ASSUME_AUTHORITY) has been added that permits a thread to assume the authority to deal with an uninstantiated key. Assumption is only permitted if the authorisation key associated with the uninstantiated key is somewhere in the thread's keyrings. This function can also clear the assumption. (6) A new magic key specifier has been added to refer to the currently assumed authorisation key (KEY_SPEC_REQKEY_AUTH_KEY). (7) Instantiation will only proceed if the appropriate authorisation key is assumed first. The assumed authorisation key is discarded if instantiation is successful. (8) key_validate() is moved from the file of request_key functions to the file of permissions functions. (9) The documentation is updated. From: Build fix. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cab8eb594e84b434d20412fc5a3985b0bee3ab9f Author: David Howells Date: Sun Jan 8 01:02:45 2006 -0800 [PATCH] keys: Discard duplicate keys from a keyring on link Cause any links within a keyring to keys that match a key to be linked into that keyring to be discarded as a link to the new key is added. The match is contingent on the type and description strings being the same. This permits requests, adds and searches to displace negative, expired, revoked and dead keys easily. After some discussion it was concluded that duplicate valid keys should probably be discarded also as they would otherwise hide the new key. Since request_key() is intended to be the primary method by which keys are added to a keyring, duplicate valid keys wouldn't be an issue there as that function would return an existing match in preference to creating a new key. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 017679c4d45783158dba1dd6f79e712c22bb3d9a Author: David Howells Date: Sun Jan 8 01:02:43 2006 -0800 [PATCH] keys: Permit key expiry time to be set Add a new keyctl function that allows the expiry time to be set on a key or removed from a key, provided the caller has attribute modification access. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd140a5c1f456f50897af4a2e9a23d228a5fe719 Author: Guillaume Chazarain Date: Sun Jan 8 01:02:43 2006 -0800 [PATCH] kmsg_write: don't return printk return value kmsg_write returns with printk, so some programs may be confused by a successful write() with a return value different than the buffer length. # /bin/echo something > /dev/kmsg /bin/echo: write error: Inappropriate ioctl for device The drawbacks is that the printk return value can no more be quickly checked from userspace. Signed-off-by: Guillaume Chazarain Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 025510cd20f4c35c3958bea133d96c9bd7c6ef9e Author: Guillaume Chazarain Date: Sun Jan 8 01:02:41 2006 -0800 [PATCH] printk return value: fix it What's the true meaning of the printk return value? Should it include the priority prefix length of 3? and what about the timing information? In both cases it was broken: strace -e write echo 1 > /dev/kmsg => write(1, "1\n", 2) = 5 strace -e write echo "<1>1" > /dev/kmsg => write(1, "<1>1\n", 5) = 8 The returned length was "length of input string + 3", I made it "length of string output to the log buffer". Note that I couldn't find any printk caller in the kernel interested by its return value besides kmsg_write. Signed-off-by: Guillaume Chazarain Acked-By: Tim Bird Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2520f14ca85e38f575eed6acc6e586df246abea6 Author: NeilBrown Date: Sun Jan 8 01:02:40 2006 -0800 [PATCH] Fix overflow tests for compat_sys_fcntl64 locking When making an fctl locking call through compat_sys_fcntl64 (i.e. a 32bit app on a 64bit kernel), the syscall can return a locking range that is in conflict with the queried lock. If some aspect of this range does not fit in the 32bit structure, something needs to be done. The current code is wrong in several respects: - It returns data to userspace even if no conflict was found i.e. it should check l_type for F_UNLCK - It returns -EOVERFLOW too agressively. A lock range covering the last possible byte of the file (start = COMPAT_OFF_T_MAX, len = 1) should be possible, but is rejected with the current test. - A extra-long 'len' should not be a problem. If only that part of the conflicting lock that would be visible to the 32bit app needs to be reported to the 32bit app anyway. This patch addresses those three issues and adds a comment to (hopefully) record it for posterity. Note: this patch mainly affects test-cases. Real applications rarely is ever see the problems. This patch has been tested (LSB test suite), and works. Signed-off-by: Neil Brown Cc: Arnd Bergmann Cc: Christoph Hellwig Cc: Matthew Wilcox Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a30131e7dbb17e5fec6958bfac9da9aff1fa29b Author: NeilBrown Date: Sun Jan 8 01:02:39 2006 -0800 [PATCH] Fix some problems with truncate and mtime semantics. SUS requires that when truncating a file to the size that it currently is: truncate and ftruncate should NOT modify ctime or mtime O_TRUNC SHOULD modify ctime and mtime. Currently mtime and ctime are always modified on most local filesystems (side effect of ->truncate) or never modified (on NFS). With this patch: ATTR_CTIME|ATTR_MTIME are sent with ATTR_SIZE precisely when an update of these times is required whether size changes or not (via a new argument to do_truncate). This allows NFS to do the right thing for O_TRUNC. inode_setattr nolonger forces ATTR_MTIME|ATTR_CTIME when the ATTR_SIZE sets the size to it's current value. This allows local filesystems to do the right thing for f?truncate. Also, the logic in inode_setattr is changed a bit so there are two return points. One returns the error from vmtruncate if it failed, the other returns 0 (there can be no other failure). Finally, if vmtruncate succeeds, and ATTR_SIZE is the only change requested, we now fall-through and mark_inode_dirty. If a filesystem did not have a ->truncate function, then vmtruncate will have changed i_size, without marking the inode as 'dirty', and I think this is wrong. Signed-off-by: Neil Brown Cc: Christoph Hellwig Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 788540141f4549637e89aadca6e25cf25eb53383 Author: David Howells Date: Sun Jan 8 01:02:37 2006 -0800 [PATCH] Permit multiple inclusion of linux/pagevec.h Make it possible to include linux/pagevec.h multiple times without incurring errors due to duplicate definitions. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53dbb26dbcf0d844967677633d7587c1d34740d5 Author: Antonino A. Daplas Date: Sun Jan 8 01:02:36 2006 -0800 [PATCH] vgacon: Workaround for resize bug in some chipsets Reported from Redhat Bugzilla Bug 170450 "I updated to the development kernel and now during boot only the top of the text is visable. For example the monitor screen the is the lines and I can only see text in the asterisk area. commit 954de9141e75cf2f1ce69ccdbedc83ec827a01ec Author: Samuel Thibault Date: Sun Jan 8 01:02:34 2006 -0800 [PATCH] vgacon: fix doublescan mode When doublescan mode is in use, scanlines must be doubled. Thanks to Jason Dravet for reporting and testing. Signed-off-by: Samuel Thibault Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8b0af24353eafadf58a0889999700e43f135aad Author: Christoph Hellwig Date: Sun Jan 8 01:02:33 2006 -0800 [PATCH] udf: remove bogus inode == NULL check in inode_bmap inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c7ed84837753a436415097063232422e29a35 Author: Christoph Hellwig Date: Sun Jan 8 01:02:33 2006 -0800 [PATCH] use ptrace_get_task_struct in various places The ptrace_get_task_struct() helper that I added as part of the ptrace consolidation is useful in variety of places that currently opencode it. Switch them to the common helpers. Add a ptrace_traceme() helper that needs to be explicitly called, and simplify the ptrace_get_task_struct() interface. We don't need the request argument now, and we return the task_struct directly, using ERR_PTR() for error returns. It's a bit more code in the callers, but we have two sane routines that do one thing well now. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b34350f490b2c8508717541ec1fd2bbaadded94 Author: Tom Zanussi Date: Sun Jan 8 01:02:32 2006 -0800 [PATCH] relayfs: Documentation cleanup, remove obsolete info librelay and relay-app.h have been retired - update Documentation to reflect that. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761da5c88aca34586e5b7295bd8b9be2438906f2 Author: Tom Zanussi Date: Sun Jan 8 01:02:31 2006 -0800 [PATCH] relayfs: cleanup, change relayfs_file_* to relay_file_* This patch renames relayfs_file_operations to relay_file_operations, and the file operations themselves from relayfs_XXX to relay_file_XXX, to make it more clear that they refer to relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df49af8f3392e96ddbc9cf6dd81fbdc0496e1b44 Author: Tom Zanussi Date: Sun Jan 8 01:02:30 2006 -0800 [PATCH] relayfs: add Documentation on global relay buffers Documentation update for creating global buffers. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c08367b8fc6dce6dfd1106f53f6ef28215b313 Author: Tom Zanussi Date: Sun Jan 8 01:02:29 2006 -0800 [PATCH] relayfs: add support for global relay buffers This patch adds the optional is_global outparam to the create_buf_file() callback. This can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03d78d11d92b5ed688bb18167b05d9d01493e175 Author: Tom Zanussi Date: Sun Jan 8 01:02:29 2006 -0800 [PATCH] relayfs: add Documentation on relay files in other filesystems Documentation update for creating relay files in other filesystems. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08c541a7ade230883c48225f4ea406a0117e7c2f Author: Tom Zanussi Date: Sun Jan 8 01:02:28 2006 -0800 [PATCH] relayfs: add support for relay files in other filesystems This patch adds a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. This is to support the creation and use of relay files in other filesystems such as debugfs, as implied by the fact that relayfs_file_operations are exported. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 925ac8a2b637466ba0ad8dfaf7b49aa9a362502f Author: Tom Zanussi Date: Sun Jan 8 01:02:27 2006 -0800 [PATCH] relayfs: add Documention for non-relay files Documentation update for non-relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaea25d7a68a7f72e167dc1698b66a15edc71883 Author: Tom Zanussi Date: Sun Jan 8 01:02:26 2006 -0800 [PATCH] relayfs: remove unused alloc/destroy_inode() Since we're no longer using relayfs_inode_info, remove relayfs_alloc_inode() and relayfs_destroy_inode() along with the relayfs inode cache. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51008f9f95a4c3158151a75f88fb03fb0f646aba Author: Tom Zanussi Date: Sun Jan 8 01:02:26 2006 -0800 [PATCH] relayfs: use generic_ip for private data Use inode->u.generic_ip instead of relayfs_inode_info to store pointer to user data. Clients using relayfs_file_create() to create their own files would probably more expect their data to be stored in generic_ip; we also intend in the next set of patches to get rid of relayfs-specific stuff in the file operations, so we might as well do it here. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7431733791feb0b19453d8047b0723c744667040 Author: Tom Zanussi Date: Sun Jan 8 01:02:25 2006 -0800 [PATCH] relayfs: add relayfs_remove_file() This patch adds and exports relayfs_remove_file(), for API symmetry (with relayfs_create_file()). Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 907f2c77d1653ce235e8e1fd6ce5c46005814e78 Author: Tom Zanussi Date: Sun Jan 8 01:02:24 2006 -0800 [PATCH] relayfs: export relayfs_create_file() with fileops param This patch adds a mandatory fileops param to relayfs_create_file() and exports that function so that clients can use it to create files defined by their own set of file operations, in relayfs. The purpose is to allow relayfs applications to create their own set of 'control' files alongside their relay files in relayfs rather than having to create them in /proc or debugfs for instance. relayfs_create_file() is also used by relay_open_buf() to create the relay files for a channel. In this case, a pointer to relayfs_file_operations is passed in, along with a pointer to the buffer associated with the file. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6625b861f8f0e429902b8671b3e70792cd99074e Author: Tom Zanussi Date: Sun Jan 8 01:02:23 2006 -0800 [PATCH] relayfs: decouple buffer creation from inode creation The patch series implementa or fixes 3 things that were specifically requested or suggested by relayfs users: - support for non-relay files (patches 1-6) Currently, the relayfs API only supports the creation of directories (relayfs_create_dir()) and relay files (relay_open()). These patches adds support for non-relay files (relayfs_create_file()). This is so relayfs applications can create 'control files' in relayfs itself rather than in /proc or via a netlink channel, as is currently done in the relay-app examples. Basically what this amounts to is exporting relayfs_create_file() with an additional file_ops param that clients can use to supply file operations for their own special-purpose files in relayfs. - make exported relay file ops useful (patches 7-8) The relayfs relay_file_operations have always been exported, the intent being to make it possible to create relay files in other filesystems such as debugfs. The problem, though, is that currently the file operations are too tightly coupled to relayfs to actually be used for this purpose. This patch fixes that by adding a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. - add an option to create global relay buffer (patches 9-10) The file creation callback also supplies an optional param, is_global, that can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. - cleanup, some renaming and Documentation updates (patches 11-12) There were several comments that the use of netlink in the example code was non-intuitive and in fact the whole relay-app business was needlessly confusing. Based on that feedback, the example code has been completely converted over to relayfs control files as supported by this patch, and have also been made completely self-contained. The converted examples along with a couple of new examples that demonstrate using exported relay files can be found in relay-apps tarball: http://prdownloads.sourceforge.net/relayfs/relay-apps-0.9.tar.gz?download This patch: Separate buffer create/destroy from inode create/destroy. We want to be able to associate other data and not just relay buffers with inodes. Buffer create/destroy is moved out of inode.c and into relayfs core code. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b33291c0bcecfa44baa905964eec4b8815dcbcdf Author: Andrew Morton Date: Sun Jan 8 01:02:21 2006 -0800 [PATCH] ipc: expand shm_flags Unobfsucate this struct member Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3f3d6141f8636f627bf19fd44eaf59a52637ac8 Author: Jan Beulich Date: Sun Jan 8 01:02:20 2006 -0800 [PATCH] ELF: symbol table type additions Needed for the Novell kernel debugger and perhaps some per-cpu data on x86_64 in the future. Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 095975da26dba21698582e91e96be10f7417333f Author: Nick Piggin Date: Sun Jan 8 01:02:19 2006 -0800 [PATCH] rcu file: use atomic primitives Use atomic_inc_not_zero for rcu files instead of special case rcuref. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a57004e1afb6ee03c509f1b1ec74a000682ab93b Author: Nick Piggin Date: Sun Jan 8 01:02:19 2006 -0800 [PATCH] atomic: dec_and_lock use atomic primitives Convert atomic_dec_and_lock to use new atomic primitives. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8382bf2e72d16d0532e351299121ccd3bca0fdd8 Author: Peter Osterlund Date: Sun Jan 8 01:02:17 2006 -0800 [PATCH] pktcdvd: Use bd_claim to get exclusive access Use bd_claim() when opening the cdrom device to prevent user space programs such as cdrecord, hald and kded from interfering with the burning process. Signed-off-by: Peter Osterlund Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97a41e26124330e41aa10ef88cd1711bc3d17460 Author: Adrian Bunk Date: Sun Jan 8 01:02:17 2006 -0800 [PATCH] kernel/: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7b4d7a4666454b40b45a853bd1d296af37a85f0 Author: Adrian Bunk Date: Sun Jan 8 01:02:16 2006 -0800 [PATCH] drivers/isdn/: "extern inline" -> "static inline" "extern inline" -> "static inline" Since there's no pullphone() function this patch removes the dead prototype. Signed-off-by: Adrian Bunk Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a10e0b28b196051ae71829e5b989cba00513289 Author: Adrian Bunk Date: Sun Jan 8 01:02:15 2006 -0800 [PATCH] move rtc_interrupt() prototype to rtc.h This patch moves the rtc_interrupt() prototype to rtc.h and removes the prototypes from C files. It also renames static rtc_interrupt() functions in arch/arm/mach-integrator/time.c and arch/sh64/kernel/time.c to avoid compile problems. Signed-off-by: Adrian Bunk Signed-off-by: Paul Gortmaker Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28fd129827b00e12829d48a5290f46277600619b Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:14 2006 -0800 [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) This patch add EXPORT_SYMBOL(filemap_write_and_wait) and use it. See mm/filemap.c: And changes the filemap_write_and_wait() and filemap_write_and_wait_range(). Current filemap_write_and_wait() doesn't wait if filemap_fdatawrite() returns error. However, even if filemap_fdatawrite() returned an error, it may have submitted the partially data pages to the device. (e.g. in the case of -ENOSPC) Andrew Morton writes, If filemap_fdatawrite() returns an error, this might be due to some I/O problem: dead disk, unplugged cable, etc. Given the generally crappy quality of the kernel's handling of such exceptions, there's a good chance that the filemap_fdatawait() will get stuck in D state forever. So, this patch doesn't wait if filemap_fdatawrite() returns the -EIO. Trond, could you please review the nfs part? Especially I'm not sure, nfs must use the "filemap_fdatawrite(inode->i_mapping) == 0", or not. Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05eb0b51fb46430050d5873458612f53e0234f2e Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:13 2006 -0800 [PATCH] fat: support a truncate() for expanding size (generic_cont_expand) This patch changes generic_cont_expand(), in order to share the code with fatfs. - Use vmtruncate() if ->prepare_write() returns a error. Even if ->prepare_write() returns an error, it may already have added some blocks. So, this truncates blocks outside of ->i_size by vmtruncate(). - Add generic_cont_expand_simple(). The generic_cont_expand_simple() assumes that ->prepare_write() can handle the block boundary. With this, we don't need to care the extra byte. And for expanding a file size by truncate(), fatfs uses the added generic_cont_expand_simple(). Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 268fc16e343b4f8e249468747db2e658da46a814 Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:12 2006 -0800 [PATCH] export/change sync_page_range/_nolock() This exports/changes the sync_page_range/_nolock(). The fatfs needs sync_page_range/_nolock() for expanding truncate, and changes "size_t count" to "loff_t count". Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5174baaea7585760f02eef23b225847d209a8db Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:11 2006 -0800 [PATCH] fat: support ->direct_IO() This patch add to support of ->direct_IO() for mostly read. The user of this seems to want to use for streaming read. So, current direct I/O has limitation, it can only overwrite. (For write operation, mainly we need to handle the hole etc..) Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:10 2006 -0800 [PATCH] fat: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/ All EXPORT_SYMBOL of fatfs is only for vfat/msdos. _GPL would be proper. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5425d2927a6a771f9ae8767b6bfb3c09225bcdd Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:10 2006 -0800 [PATCH] fat: add the read/writepages() Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83b7c996dc859c7b53f94d46ee5c5929cc0399e2 Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:09 2006 -0800 [PATCH] fat: use sb_find_get_block() instead of sb_getblk() We don't need to allocate buffer for checking the buffer is uptodate. This use sb_find_get_block() instead, and if it returns NULL it's not uptodate. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6bf6b211cdb92c315c24719a522d8b6f3998210 Author: OGAWA Hirofumi Date: Sun Jan 8 01:02:08 2006 -0800 [PATCH] fat: move fat_clusters_flush() to write_super() It is overkill to update the FS_INFO whenever modifying prev_free/free_clusters, because those are just a hint. So, this patch uses ->write_super() for updating FS_INFO instead. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ded96f24c3a5fcbef954e88c443385a1af37eb9 Author: Russell King Date: Sun Jan 8 01:02:07 2006 -0800 [PATCH] IRQ type flags Some ARM platforms have the ability to program the interrupt controller to detect various interrupt edges and/or levels. For some platforms, this is critical to setup correctly, particularly those which the setting is dependent on the device. Currently, ARM drivers do (eg) the following: err = request_irq(irq, ...); set_irq_type(irq, IRQT_RISING); However, if the interrupt has previously been programmed to be level sensitive (for whatever reason) then this will cause an interrupt storm. Hence, if we combine set_irq_type() with request_irq(), we can then safely set the type prior to unmasking the interrupt. The unfortunate problem is that in order to support this, these flags need to be visible outside of the ARM architecture - drivers such as smc91x need these flags and they're cross-architecture. Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the property that the device would like. The IRQ controller code should do its best to select the most appropriate supported mode. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 Author: Paul Fulghum Date: Sun Jan 8 01:02:06 2006 -0800 [PATCH] new driver synclink_gt New character device driver for the SyncLink GT and SyncLink AC families of synchronous and asynchronous serial adapters Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de25968cc87cc5b76d09de8b4cbddc8f24fcf5f7 Author: Tim Schmielau Date: Sun Jan 8 01:02:05 2006 -0800 [PATCH] fix more missing includes Include fixes for 2.6.14-git11. Should allow to remove sched.h from module.h on i386, x86_64, arm, ia64, ppc, ppc64, and s390. Probably more to come since I haven't yet checked the other archs. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03a285f58064b8e0af08383e082e383753d9c33e Author: Paul Jackson Date: Sun Jan 8 01:02:04 2006 -0800 [PATCH] cpuset: skip rcu check if task is in root cpuset For systems that aren't using cpusets, but have them CONFIG_CPUSET enabled in their kernel (eventually this may be most distribution kernels), this patch removes even the minimal rcu_read_lock() from the memory page allocation path. Actually, it removes that rcu call for any task that is in the root cpuset (top_cpuset), which on systems not actively using cpusets, is all tasks. We don't need the rcu check for tasks in the top_cpuset, because the top_cpuset is statically allocated, so at no risk of being freed out from underneath us. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7edc59628b2f5d6516b4677b3b56f5f056e45cd9 Author: Paul Jackson Date: Sun Jan 8 01:02:03 2006 -0800 [PATCH] cpuset: mark number_of_cpusets read_mostly Mark cpuset global 'number_of_cpusets' as __read_mostly. This global is accessed everytime a zone is considered in the zonelist loops beneath __alloc_pages, looking for a free memory page. If number_of_cpusets is just one, then we can short circuit the mems_allowed check. Since this global is read alot on a hot path, and written rarely, it is an excellent candidate for __read_mostly. Thanks to Christoph Lameter for the suggestion. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c2603ce07f70de9c7a8d335ecd028e8ff11f3 Author: Paul Jackson Date: Sun Jan 8 01:02:02 2006 -0800 [PATCH] cpuset: use rcu directly optimization Optimize the cpuset impact on page allocation, the most performance critical cpuset hook in the kernel. On each page allocation, the cpuset hook needs to check for a possible change in the current tasks cpuset. It can now handle the common case, of no change, without taking any spinlock or semaphore, thanks to RCU. Convert a spinlock on the current task to an rcu_read_lock(), saving approximately a memory barrier and an atomic op, depending on architecture. This is done by adding rcu_assign_pointer() and synchronize_rcu() calls to the write side of the task->cpuset pointer, in cpuset.c:attach_task(), to delay freeing up a detached cpuset until after any critical sections referencing that pointer. Thanks to Andi Kleen, Nick Piggin and Eric Dumazet for ideas. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c417f0242ebe578924a30d4e53d35b5059fed4e7 Author: Paul Jackson Date: Sun Jan 8 01:02:01 2006 -0800 [PATCH] cpuset: remove test for null cpuset from alloc code path Remove a couple of more lines of code from the cpuset hooks in the page allocation code path. There was a check for a NULL cpuset pointer in the routine cpuset_update_task_memory_state() that was only needed during system boot, after the memory subsystem was initialized, before the cpuset subsystem was initialized, to catch a NULL task->cpuset pointer. Add a cpuset_init_early() routine, just before the mem_init() call in init/main.c, that sets up just enough of the init tasks cpuset structure to render cpuset_update_task_memory_state() calls harmless. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04c19fa6f16047abff2288ddbc1f0798ede5a849 Author: Paul Jackson Date: Sun Jan 8 01:02:00 2006 -0800 [PATCH] cpuset: migrate all tasks in cpuset at once Given the mechanism in the previous patch to handle rebinding the per-vma mempolicies of all tasks in a cpuset that changes its memory placement, it is now easier to handle the page migration requirements of such tasks at the same time. The previous code didn't actually attempt to migrate the pages of the tasks in a cpuset whose memory placement changed until the next time each such task tried to allocate memory. This was undesirable, as users invoking memory page migration exected to happen when the placement changed, not some unspecified time later when the task needed more memory. It is now trivial to handle the page migration at the same time as the per-vma rebinding is done. The routine cpuset.c:update_nodemask(), which handles changing a cpusets memory placement ('mems') now checks for the special case of being asked to write a placement that is the same as before. It was harmless enough before to just recompute everything again, even though nothing had changed. But page migration is a heavy weight operation - moving pages about. So now it is worth avoiding that if asked to move a cpuset to its current location. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4225399a66b315d4d1fb1cb61b75dda201c832e3 Author: Paul Jackson Date: Sun Jan 8 01:01:59 2006 -0800 [PATCH] cpuset: rebind vma mempolicies fix Fix more of longstanding bug in cpuset/mempolicy interaction. NUMA mempolicies (mm/mempolicy.c) are constrained by the current tasks cpuset to just the Memory Nodes allowed by that cpuset. The kernel maintains internal state for each mempolicy, tracking what nodes are used for the MPOL_INTERLEAVE, MPOL_BIND or MPOL_PREFERRED policies. When a tasks cpuset memory placement changes, whether because the cpuset changed, or because the task was attached to a different cpuset, then the tasks mempolicies have to be rebound to the new cpuset placement, so as to preserve the cpuset-relative numbering of the nodes in that policy. An earlier fix handled such mempolicy rebinding for mempolicies attached to a task. This fix rebinds mempolicies attached to vma's (address ranges in a tasks address space.) Due to the need to hold the task->mm->mmap_sem semaphore while updating vma's, the rebinding of vma mempolicies has to be done when the cpuset memory placement is changed, at which time mmap_sem can be safely acquired. The tasks mempolicy is rebound later, when the task next attempts to allocate memory and notices that its task->cpuset_mems_generation is out-of-date with its cpusets mems_generation. Because walking the tasklist to find all tasks attached to a changing cpuset requires holding tasklist_lock, a spinlock, one cannot update the vma's of the affected tasks while doing the tasklist scan. In general, one cannot acquire a semaphore (which can sleep) while already holding a spinlock (such as tasklist_lock). So a list of mm references has to be built up during the tasklist scan, then the tasklist lock dropped, then for each mm, its mmap_sem acquired, and the vma's in that mm rebound. Once the tasklist lock is dropped, affected tasks may fork new tasks, before their mm's are rebound. A kernel global 'cpuset_being_rebound' is set to point to the cpuset being rebound (there can only be one; cpuset modifications are done under a global 'manage_sem' semaphore), and the mpol_copy code that is used to copy a tasks mempolicies during fork catches such forking tasks, and ensures their children are also rebound. When a task is moved to a different cpuset, it is easier, as there is only one task involved. It's mm->vma's are scanned, using the same mpol_rebind_policy() as used above. It may happen that both the mpol_copy hook and the update done via the tasklist scan update the same mm twice. This is ok, as the mempolicies of each vma in an mm keep track of what mems_allowed they are relative to, and safely no-op a second request to rebind to the same nodes. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202f72d5d1b5c2c084f63ef996c736d208b447b5 Author: Paul Jackson Date: Sun Jan 8 01:01:57 2006 -0800 [PATCH] cpuset: number_of_cpusets optimization Easy little optimization hack to avoid actually having to call cpuset_zone_allowed() and check mems_allowed, in the main page allocation routine, __alloc_pages(). This saves several CPU cycles per page allocation on systems not using cpusets. A counter is updated each time a cpuset is created or removed, and whenever there is only one cpuset in the system, it must be the root cpuset, which contains all CPUs and all Memory Nodes. In that case, when the counter is one, all allocations are allowed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74cb21553f4bf244185b9bec4c26e4e3169ad55e Author: Paul Jackson Date: Sun Jan 8 01:01:56 2006 -0800 [PATCH] cpuset: numa_policy_rebind cleanup Cleanup, reorganize and make more robust the mempolicy.c code to rebind mempolicies relative to the containing cpuset after a tasks memory placement changes. The real motivator for this cleanup patch is to lay more groundwork for the upcoming patch to correctly rebind NUMA mempolicies that are attached to vma's after the containing cpuset memory placement changes. NUMA mempolicies are constrained by the cpuset their task is a member of. When either (1) a task is moved to a different cpuset, or (2) the 'mems' mems_allowed of a cpuset is changed, then the NUMA mempolicies have embedded node numbers (for MPOL_BIND, MPOL_INTERLEAVE and MPOL_PREFERRED) that need to be recalculated, relative to their new cpuset placement. The old code used an unreliable method of determining what was the old mems_allowed constraining the mempolicy. It just looked at the tasks mems_allowed value. This sort of worked with the present code, that just rebinds the -task- mempolicy, and leaves any -vma- mempolicies broken, referring to the old nodes. But in an upcoming patch, the vma mempolicies will be rebound as well. Then the order in which the various task and vma mempolicies are updated will no longer be deterministic, and one can no longer count on the task->mems_allowed holding the old value for as long as needed. It's not even clear if the current code was guaranteed to work reliably for task mempolicies. So I added a mems_allowed field to each mempolicy, stating exactly what mems_allowed the policy is relative to, and updated synchronously and reliably anytime that the mempolicy is rebound. Also removed a useless wrapper routine, numa_policy_rebind(), and had its caller, cpuset_update_task_memory_state(), call directly to the rewritten policy_rebind() routine, and made that rebind routine extern instead of static, and added a "mpol_" prefix to its name, making it mpol_rebind_policy(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 909d75a3b77bdd8baa9429bad3b69a654d2954ce Author: Paul Jackson Date: Sun Jan 8 01:01:55 2006 -0800 [PATCH] cpuset: implement cpuset_mems_allowed Provide a cpuset_mems_allowed() method, which the sys_migrate_pages() code needed, to obtain the mems_allowed vector of a cpuset, and replaced the workaround in sys_migrate_pages() to call this new method. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf2a473c4089aa41c26f653200673f5a4cc25047 Author: Paul Jackson Date: Sun Jan 8 01:01:54 2006 -0800 [PATCH] cpuset: combine refresh_mems and update_mems The important code paths through alloc_pages_current() and alloc_page_vma(), by which most kernel page allocations go, both called cpuset_update_current_mems_allowed(), which in turn called refresh_mems(). -Both- of these latter two routines did a tasklock, got the tasks cpuset pointer, and checked for out of date cpuset->mems_generation. That was a silly duplication of code and waste of CPU cycles on an important code path. Consolidated those two routines into a single routine, called cpuset_update_task_memory_state(), since it updates more than just mems_allowed. Changed all callers of either routine to call the new consolidated routine. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4b2641843db124637fa3d2cb2101982035dcc82 Author: Paul Jackson Date: Sun Jan 8 01:01:53 2006 -0800 [PATCH] cpuset: fork hook fix Fix obscure, never seen in real life, cpuset fork race. The cpuset_fork() call in fork.c was setting up the correct task->cpuset pointer after the tasklist_lock was dropped, which briefly exposed the newly forked process with an unsafe (copied from parent without locks or usage counter increment) cpuset pointer. In theory, that exposed cpuset pointer could have been pointing at a cpuset that was already freed and removed, and in theory another task that had been sitting on the tasklist_lock waiting to scan the task list could have raced down the entire tasklist, found our new child at the far end, and dereferenced that bogus cpuset pointer. To fix, setup up the correct cpuset pointer in the new child by calling cpuset_fork() before the new task is linked into the tasklist, and with that, add a fork failure case, to dereference that cpuset, if the fork fails along the way, after cpuset_fork() was called. Had to remove a BUG_ON() from cpuset_exit(), because it was no longer valid - the call to cpuset_exit() from a failed fork would not have PF_EXITING set. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59dac16fb95f09253b8086134443abeb439703cd Author: Paul Jackson Date: Sun Jan 8 01:01:52 2006 -0800 [PATCH] cpuset: update_nodemask code reformat Restructure code layout of the kernel/cpuset.c update_nodemask() routine, removing embedded returns and nested if's in favor of goto completion labels. This is being done in anticipation of adding more logic to this routine, which will favor the goto style structure. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5b2aff89635495064592dc90da595f8a880ee87 Author: Paul Jackson Date: Sun Jan 8 01:01:51 2006 -0800 [PATCH] cpuset: minor spacing initializer fixes Four trivial cpuset fixes: remove extra spaces, remove useless initializers, mark one __read_mostly. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90c9cc4043fd8454d11886379f841f70e176698e Author: Paul Jackson Date: Sun Jan 8 01:01:51 2006 -0800 [PATCH] cpuset: remove marker_pid documentation Remove documentation for the cpuset 'marker_pid' feature, that was in the patch "cpuset: change marker for relative numbering" That patch was previously pulled from *-mm at my (pj) request. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd5e09cf7054878a3db6a8c8bab1c2fabcd4f072 Author: Paul Jackson Date: Sun Jan 8 01:01:50 2006 -0800 [PATCH] cpuset: document additional features Document the additional cpuset features: notify_on_release marker_pid memory_pressure memory_pressure_enabled Rearrange and improve formatting of existing documentation for cpu_exclusive and mem_exclusive features. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e0d98b9f1eb757fc98efc84e74e54a08308aa73 Author: Paul Jackson Date: Sun Jan 8 01:01:49 2006 -0800 [PATCH] cpuset: memory pressure meter Provide a simple per-cpuset metric of memory pressure, tracking the -rate- that the tasks in a cpuset call try_to_free_pages(), the synchronous (direct) memory reclaim code. This enables batch managers monitoring jobs running in dedicated cpusets to efficiently detect what level of memory pressure that job is causing. This is useful both on tightly managed systems running a wide mix of submitted jobs, which may choose to terminate or reprioritize jobs that are trying to use more memory than allowed on the nodes assigned them, and with tightly coupled, long running, massively parallel scientific computing jobs that will dramatically fail to meet required performance goals if they start to use more memory than allowed to them. This patch just provides a very economical way for the batch manager to monitor a cpuset for signs of memory pressure. It's up to the batch manager or other user code to decide what to do about it and take action. ==> Unless this feature is enabled by writing "1" to the special file /dev/cpuset/memory_pressure_enabled, the hook in the rebalance code of __alloc_pages() for this metric reduces to simply noticing that the cpuset_memory_pressure_enabled flag is zero. So only systems that enable this feature will compute the metric. Why a per-cpuset, running average: Because this meter is per-cpuset, rather than per-task or mm, the system load imposed by a batch scheduler monitoring this metric is sharply reduced on large systems, because a scan of the tasklist can be avoided on each set of queries. Because this meter is a running average, instead of an accumulating counter, a batch scheduler can detect memory pressure with a single read, instead of having to read and accumulate results for a period of time. Because this meter is per-cpuset rather than per-task or mm, the batch scheduler can obtain the key information, memory pressure in a cpuset, with a single read, rather than having to query and accumulate results over all the (dynamically changing) set of tasks in the cpuset. A per-cpuset simple digital filter (requires a spinlock and 3 words of data per-cpuset) is kept, and updated by any task attached to that cpuset, if it enters the synchronous (direct) page reclaim code. A per-cpuset file provides an integer number representing the recent (half-life of 10 seconds) rate of direct page reclaims caused by the tasks in the cpuset, in units of reclaims attempted per second, times 1000. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5966514db662fb24c9bb43226a80106bcffd51f8 Author: Paul Jackson Date: Sun Jan 8 01:01:47 2006 -0800 [PATCH] cpuset: mempolicy one more nodemask conversion Finish converting mm/mempolicy.c from bitmaps to nodemasks. The previous conversion had left one routine using bitmaps, since it involved a corresponding change to kernel/cpuset.c Fix that interface by replacing with a simple macro that calls nodes_subset(), or if !CONFIG_CPUSET, returns (1). Signed-off-by: Paul Jackson Cc: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96b7f34143c2c823a6a750fcb758fc66c44945d2 Author: Paul Jackson Date: Sun Jan 8 01:01:46 2006 -0800 [PATCH] cpuset: better bitmap remap defaults Fix the default behaviour for the remap operators in bitmap, cpumask and nodemask. As previously submitted, the pair of masks defined a map of the positions of the set bits in A to the corresponding bits in B. This is still true. The issue is how to map the other positions, corresponding to the unset (0) bits in A. As previously submitted, they were all mapped to the first set bit position in B, a constant map. When I tried to code per-vma mempolicy rebinding using these remap operators, I realized this was wrong. This patch changes the default to map all the unset bit positions in A to the same positions in B, the identity map. For example, if A has bits 4-7 set, and B has bits 9-12 set, then the map defined by the pair maps each bit position in the first 32 bits as follows: 0 ==> 0 ... 3 ==> 3 4 ==> 9 ... 7 ==> 12 8 ==> 8 9 ==> 9 ... 31 ==> 31 This now corresponds to the typical behaviour desired when migrating pages and policies from one cpuset to another. The pages on nodes within the original cpuset, and the references in memory policies to nodes within the original cpuset, are migrated to the corresponding cpuset-relative nodes in the destination cpuset. Other pages and node references are left untouched. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10cef6029502915bdb3cf0821d425cf9dc30c817 Author: Matt Mackall Date: Sun Jan 8 01:01:45 2006 -0800 [PATCH] slob: introduce the SLOB allocator configurable replacement for slab allocator This adds a CONFIG_SLAB option under CONFIG_EMBEDDED. When CONFIG_SLAB is disabled, the kernel falls back to using the 'SLOB' allocator. SLOB is a traditional K&R/UNIX allocator with a SLAB emulation layer, similar to the original Linux kmalloc allocator that SLAB replaced. It's signicantly smaller code and is more memory efficient. But like all similar allocators, it scales poorly and suffers from fragmentation more than SLAB, so it's only appropriate for small systems. It's been tested extensively in the Linux-tiny tree. I've also stress-tested it with make -j 8 compiles on a 3G SMP+PREEMPT box (not recommended). Here's a comparison for otherwise identical builds, showing SLOB saving nearly half a megabyte of RAM: $ size vmlinux* text data bss dec hex filename 3336372 529360 190812 4056544 3de5e0 vmlinux-slab 3323208 527948 190684 4041840 3dac70 vmlinux-slob $ size mm/{slab,slob}.o text data bss dec hex filename 13221 752 48 14021 36c5 mm/slab.o 1896 52 8 1956 7a4 mm/slob.o /proc/meminfo: SLAB SLOB delta MemTotal: 27964 kB 27980 kB +16 kB MemFree: 24596 kB 25092 kB +496 kB Buffers: 36 kB 36 kB 0 kB Cached: 1188 kB 1188 kB 0 kB SwapCached: 0 kB 0 kB 0 kB Active: 608 kB 600 kB -8 kB Inactive: 808 kB 812 kB +4 kB HighTotal: 0 kB 0 kB 0 kB HighFree: 0 kB 0 kB 0 kB LowTotal: 27964 kB 27980 kB +16 kB LowFree: 24596 kB 25092 kB +496 kB SwapTotal: 0 kB 0 kB 0 kB SwapFree: 0 kB 0 kB 0 kB Dirty: 4 kB 12 kB +8 kB Writeback: 0 kB 0 kB 0 kB Mapped: 560 kB 556 kB -4 kB Slab: 1756 kB 0 kB -1756 kB CommitLimit: 13980 kB 13988 kB +8 kB Committed_AS: 4208 kB 4208 kB 0 kB PageTables: 28 kB 28 kB 0 kB VmallocTotal: 1007312 kB 1007312 kB 0 kB VmallocUsed: 48 kB 48 kB 0 kB VmallocChunk: 1007264 kB 1007264 kB 0 kB (this work has been sponsored in part by CELF) From: Ingo Molnar Fix 32-bitness bugs in mm/slob.c. Signed-off-by: Matt Mackall Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30992c97ae9d01b17374fbfab76a869fb4bba500 Author: Matt Mackall Date: Sun Jan 8 01:01:43 2006 -0800 [PATCH] slob: introduce mm/util.c for shared functions Add mm/util.c for functions common between SLAB and SLOB. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50dd26ba0947aa653f0e42897aad7a4adce4e620 Author: Ingo Molnar Date: Sun Jan 8 01:01:42 2006 -0800 [PATCH] DEBUG_SLAB depends on SLAB Make DEBUG_SLAB depend on SLAB. Signed-off-by: Ingo Molnar Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5f51c966720fa519c6ce69b169107dbc5769cdf Author: Nick Piggin Date: Sun Jan 8 01:01:41 2006 -0800 [PATCH] radix-tree: reduce tree height upon partial truncation Shrink the height of a radix tree when it is partially truncated - we only do shrinkage of full truncation at present. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5274261ea46f0aae93820fe36628249120d2f75 Author: Nick Piggin Date: Sun Jan 8 01:01:41 2006 -0800 [PATCH] radix tree: early termination of tag clearing Correctly determine the tags to be cleared in radix_tree_delete() so we don't keep moving up the tree clearing tags that we don't need to. For example, if a tag is simply not set in the deleted item, nor anywhere up the tree, radix_tree_delete() would attempt to clear it up the entire height of the tree. Also, tag_set() was made conditional so as not to dirty too many cachelines high up in the radix tree. Instead, put this logic into radix_tree_tag_set(). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e954b9e90c3a7157c0c1457dd3919e2a1345d23 Author: Nick Piggin Date: Sun Jan 8 01:01:40 2006 -0800 [PATCH] radix tree: code consolidation Introduce helper any_tag_set() rather than repeat the same code sequence 4 times. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4829cd5b4bd1ea58ba1bebad44d562f4027c290 Author: Paul E. McKenney Date: Sun Jan 8 01:01:39 2006 -0800 [PATCH] remove get_task_struct_rcu() The latest set of signal-RCU patches does not use get_task_struct_rcu(). Attached is a patch that removes it. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d89c929078588aa9b9c674ef03ee9aa816b59b8 Author: Paul E. McKenney Date: Sun Jan 8 01:01:38 2006 -0800 [PATCH] Simpler signal-exit concurrency handling Some simplification in checking signal delivery against concurrent exit. Instead of using get_task_struct_rcu(), which increments the task_struct reference count, check the reference count after acquiring sighand lock. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56d090310d7625ecb43a1eeebd479f04affb48b Author: Ingo Molnar Date: Sun Jan 8 01:01:37 2006 -0800 [PATCH] RCU signal handling RCU tasklist_lock and RCU signal handling: send signals RCU-read-locked instead of tasklist_lock read-locked. This is a scalability improvement on SMP and a preemption-latency improvement under PREEMPT_RCU. Signed-off-by: Paul E. McKenney Signed-off-by: Ingo Molnar Acked-by: William Irwin Cc: Roland McGrath Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4369ef3c3e9d3bd9b879580678778f558d481e90 Author: Paul E. McKenney Date: Sun Jan 8 01:01:35 2006 -0800 [PATCH] Make RCU task_struct safe for oprofile Applying RCU to the task structure broke oprofile, because free_task_notify() can now be called from softirq. This means that the task_mortuary lock must be acquired with irq disabled in order to avoid intermittent self-deadlock. Since irq is now disabled, the critical section within process_task_mortuary() has been restructured to be O(1) in order to maximize scalability and minimize realtime latency degradation. Kudos to Wu Fengguang for finding this problem! CC: Wu Fengguang Cc: Philippe Elie Cc: John Levon Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eafbaa94691f6a1fa67c3b076caa3ce4e2920100 Author: Adrian Bunk Date: Sun Jan 8 01:01:34 2006 -0800 [PATCH] uml: prevent MODE_SKAS=n and MODE_TT=n If MODE_TT=n, MODE_SKAS must be y. Signed-off-by: Adrian Bunk Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a689d05d8dc1580aeb87b2959e3de8c57f5f77 Author: Jeff Dike Date: Sun Jan 8 01:01:33 2006 -0800 [PATCH] uml: whitespace cleanup This fixes some mangled whitespace added by the earlier trap_user.c patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aaeacec159f2d9003872781fa4d49659e347fb Author: Jeff Dike Date: Sun Jan 8 01:01:32 2006 -0800 [PATCH] consolidate asm/futex.h Most of the architectures have the same asm/futex.h. This consolidates them into asm-generic, with the arches including it from their own asm/futex.h. In the case of UML, this reverts the old broken futex.h and goes back to using the same one as almost everyone else. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66fdd5e324392584c6f11de65cfe24b0e2d9303 Author: Gennady Sharapov Date: Sun Jan 8 01:01:32 2006 -0800 [PATCH] uml: merge trap_user.c and trap_kern.c The serial UML OS-abstraction layer patch (um/kernel dir). This joins trap_user.c and trap_kernel.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 Author: Gennady Sharapov Date: Sun Jan 8 01:01:31 2006 -0800 [PATCH] uml: move libc-dependent code from trap_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from trap_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0805d89c151b4800eade4c2f50d39c5253d7d054 Author: Gennady Sharapov Date: Sun Jan 8 01:01:29 2006 -0800 [PATCH] uml: move libc-dependent code from signal_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from signal_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2de464f7f0006bec162559a8db161869d32ee93 Author: Woody Suwalski Date: Sun Jan 8 01:01:29 2006 -0800 [PATCH] ARM: Netwinder ds1620 driver needs an export to be built as module ds1620 module is using gpio_read symbol, so works only if "built-in" symbol needs to be exported from the kernel image Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fd73c6b6737b7e6eacac1b00dac16e7540c3cb1 Author: Ravikiran G Thirumalai Date: Sun Jan 8 01:01:28 2006 -0800 [PATCH] Kill L1_CACHE_SHIFT_MAX Kill L1_CACHE_SHIFT from all arches. Since L1_CACHE_SHIFT_MAX is not used anymore with the introduction of INTERNODE_CACHE, kill L1_CACHE_SHIFT_MAX. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22fc6eccbf4ce4eb6265e6ada7b50a7b9cc57d05 Author: Ravikiran G Thirumalai Date: Sun Jan 8 01:01:27 2006 -0800 [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros ____cacheline_maxaligned_in_smp is currently used to align critical structures and avoid false sharing. It uses per-arch L1_CACHE_SHIFT_MAX and people find L1_CACHE_SHIFT_MAX useless. However, we have been using ____cacheline_maxaligned_in_smp to align structures on the internode cacheline size. As per Andi's suggestion, following patch kills ____cacheline_maxaligned_in_smp and introduces INTERNODE_CACHE_SHIFT, which defaults to L1_CACHE_SHIFT for all arches. Arches needing L3/Internode cacheline alignment can define INTERNODE_CACHE_SHIFT in the arch asm/cache.h. Patch replaces ____cacheline_maxaligned_in_smp with ____cacheline_internodealigned_in_smp With this patch, L1_CACHE_SHIFT_MAX can be killed Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d524aed1f50b2b1d5b4ad5a4e2fe3f38106d0a6 Author: David Howells Date: Sun Jan 8 01:01:26 2006 -0800 [PATCH] frv: fix uninitialised variable in serverworks driver Fix an uninitialised variable warning in the serverworks driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2087ff3ec56eba9bccd3b3a9d4d42670b1543f5d Author: David Howells Date: Sun Jan 8 01:01:25 2006 -0800 [PATCH] frv: fix uninitialised variable in atm nicstar driver Fix an uninitialised variable warning in the atm nicstar driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41be6aef38c08f1f85ac1c4bd8191b0d1ec61b4c Author: David Howells Date: Sun Jan 8 01:01:25 2006 -0800 [PATCH] frv: miscellaneous changes Fix a number of miscellanous items: (1) Declare lock sections in the linker script. (2) Recurse in the correct manner in the arch makefile. (3) asm/bug.h requires asm/linkage.h to be included first. One C file puts asm/bug.h first. (4) Add an empty RTC header file to avoid missing header file errors. (5) sg_dma_address() should use the dma_address member of a scatter list. (6) Add trivial pci_unmap support. (7) Add pgprot_noncached() (8) Discard u_quad_t. (9) Use ~0UL rather than ULONG_MAX in unistd.h in case the latter isn't declared. (10) Add an empty VGA header file to avoid missing header file errors. (11) Add an XOR header file to use the generic XOR stuff. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c15d41bab185431a9a28982b5aaac251dde4556 Author: David Howells Date: Sun Jan 8 01:01:24 2006 -0800 [PATCH] frv: make get_user macro cast pointers Make the get_user macro cast the source pointer to an appropriate type for the specified size. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aec7573b87d2bc09cafab459476953353d2efa Author: David Howells Date: Sun Jan 8 01:01:23 2006 -0800 [PATCH] frv: force serial driver inclusion Force the 8230 serial driver to be built in if the on-CPU UARTs are to be used. It can't be used as a module because the arch setup needs to call into it. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a758313905f8b085b4591e8838626274e88b969 Author: David Howells Date: Sun Jan 8 01:01:22 2006 -0800 [PATCH] frv: fix PCMCIA configuration Fix PCMCIA configuration for FRV by including the stock PCMCIA configuration description file. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2a88f88782e8815cafa22f2b9e22234b9a61d0a Author: David Howells Date: Sun Jan 8 01:01:22 2006 -0800 [PATCH] frv: add pci_iomap Implement pci_iomap() for FRV. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d76710c253341b1e84795923e59ccdb099628f Author: David Howells Date: Sun Jan 8 01:01:21 2006 -0800 [PATCH] frv: add module support stubs Add stubs for FRV module support. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a90a72c85fb202d0b172da27d8df2579b6591783 Author: David Howells Date: Sun Jan 8 01:01:20 2006 -0800 [PATCH] frv: supply various missing I/O access primitives Supply various I/O access primitives that are missing for the FRV arch: (*) mmiowb() (*) read*_relaxed() (*) ioport_*map() (*) ioread*(), iowrite*(), ioread*_rep() and iowrite*_rep() (*) pci_io*map() (*) check_signature() The patch also makes __is_PCI_addr() more efficient. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 018b8d12bc85f8fb332239b11d919ea0724c49a4 Author: David Howells Date: Sun Jan 8 01:01:19 2006 -0800 [PATCH] frv: support module exception tables Fix the exception table handling so that modules exceptions are dealt with. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 402344012ebe696d9353bbf056889ddaaec83079 Author: David Howells Date: Sun Jan 8 01:01:19 2006 -0800 [PATCH] frv: implement and export various things required by modules Export a number of features required to build all the modules. It also implements the following simple features: (*) csum_partial_copy_from_user() for MMU as well as no-MMU. (*) __ucmpdi2(). so that they can be exported too. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8369ce4cfe18decc3ea0afcf91e67c665479c78e Author: David Howells Date: Sun Jan 8 01:01:18 2006 -0800 [PATCH] frv: drop unsupported debugging features Drop support for debugging features that aren't supported on FRV: (*) EARLY_PRINTK The on-chip UARTs are set up early enough that this isn't required, and VGA support isn't available. There's also a gdbstub available. (*) DEBUG_PAGEALLOC This can't be easily be done since we use huge static mappings to cover the kernel, not pages. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fa9e7e2dce6aafecc1890461bdc00d78897be8b Author: David Howells Date: Sun Jan 8 01:01:17 2006 -0800 [PATCH] frv: drop 8/16-bit xchg and cmpxchg Drop support for 8-bit and 16-bit xchg and cmpxchg emulation and implements 32-bit xchg with the SWAP/SWAPI instruction. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2919b51075b3906c2f476e5a932244af1947bf80 Author: David Howells Date: Sun Jan 8 01:01:16 2006 -0800 [PATCH] frv: suppress configuration of certain features for FRV Suppress configuration of certain features for the FRV arch as they can't be built for FRV at the moment: (*) RTC (*) HISAX_* (*) PARPORT_PC (*) VGA_CONSOLE (*) BINFMT_ELF Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88ced0314938814e1772b4d0d7ab20c52e4472b6 Author: Arnd Bergmann Date: Fri Dec 16 22:43:46 2005 +0100 [PATCH] powerpc: sanitize header files for user space includes include/asm-ppc/ had #ifdef __KERNEL__ in all header files that are not meant for use by user space, include/asm-powerpc does not have this yet. This patch gets us a lot closer there. There are a few cases where I was not sure, so I left them out. I have verified that no CONFIG_* symbols are used outside of __KERNEL__ any more and that there are no obvious compile errors when including any of the headers in user space libraries. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 277cb103e3d7b31b8f4941b6a495b1b80236b05c Author: Lennert Buytenhek Date: Sun Jan 8 01:01:14 2006 -0800 [PATCH] cs89x0: fix up after pnx0105 Kconfig symbol renaming The Kconfig symbol for pnx0105 was recently renamed to ARCH_PNX010X. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37610ff3cb63f59b89370681ff780687d8a7bed3 Author: Lennert Buytenhek Date: Sun Jan 8 01:01:13 2006 -0800 [PATCH] fix Kconfig depends for cs89x0 (PNX010X support) PNX010X support for CS89x0 should be conditional on NET_PCI, as it is an 'on board controller' and NET_PCI includes that category of NICs. Since ARCH_PNX0105 was recently changed to ARCH_PNX010X, incorporate that change as well while we're at it. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 084f746a01ca026920e388e76e913cc7a26d5a3f Author: Lennert Buytenhek Date: Sun Jan 8 01:01:12 2006 -0800 [PATCH] cs89x0: switch {in,out}sw to {read,write}words Implement readwords/writewords that use readword/writeword, and switch the rest of the driver over to use these. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b68d70dffe255e7681d5725d96bc2b92a24bb9d Author: Lennert Buytenhek Date: Sun Jan 8 01:01:11 2006 -0800 [PATCH] cs89x0: cleanly implement ixdp2x01 and pnx0501 support Implement suitable versions of the readword/writeword macros for ixdp2x01 and pnx0501. Handle the 32-bit spacing of the registers in these functions instead of in the header file. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5 Author: Lennert Buytenhek Date: Sun Jan 8 01:01:10 2006 -0800 [PATCH] cs89x0: make {read,write}reg use {read,write}word Make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d5affcfe23ade8c4c01154e7e381e2a9a916399 Author: Lennert Buytenhek Date: Sun Jan 8 01:01:09 2006 -0800 [PATCH] cs89x0: swap {read,write}reg and {read,write}word Reverse the order of readreg/writereg and readword/writeword in the file, so that we can make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc8c7d79b117f7a5b17640bf657d95afe4025bb8 Author: Lennert Buytenhek Date: Sun Jan 8 01:01:08 2006 -0800 [PATCH] cs89x0: convert {inw,outw} calls to {read,write}word Switch all occurences of inw/outw in the driver over to readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 974dffc2dd72d499a3ff150f61c8025b097a2c34 Author: Lennert Buytenhek Date: Sun Jan 8 01:01:06 2006 -0800 [PATCH] cs89x0: make {read,write}word take base_addr readword() and writeword() take a 'struct net_device *' and deref its ->base_addr member. Make them take the base_addr directly instead, so that we can switch the other occurences of inw/outw in the file over to readword/writeword as well. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f659f462d2ab519068d0e2bb677d7a700decb8d Author: Kirill Korotaev Date: Sun Jan 8 01:01:05 2006 -0800 [PATCH] Optimise oom kill of current task When oom_killer kills current there's no need to call schedule_timeout_interruptible() since task must die ASAP. Signed-Off-By: Pavel Emelianov Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26 Author: Christoph Lameter Date: Sun Jan 8 01:01:04 2006 -0800 [PATCH] Move page migration related functions near do_migrate_pages() Group page migration functions in mempolicy.c Add a forward declaration for migrate_page_add (like gather_stats()) and use our new found mobility to group all page migration related function around do_migrate_pages(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48fce3429df84a94766fbbc845fa8450d0715b48 Author: Christoph Lameter Date: Sun Jan 8 01:01:03 2006 -0800 [PATCH] mempolicies: unexport get_vma_policy() Since the numa_maps functionality is now in mempolicy.c we no longer need to export get_vma_policy(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 132beacf9785d2e6e8aecb59aa078f3ca5668fa6 Author: Christoph Lameter Date: Sun Jan 8 01:01:02 2006 -0800 [PATCH] Drop page table lock before calling migrate_page_add() migrate_page_add cannot be called with a spinlock held (calls isolate_lru_page which calles schedule_on_each_cpu). Drop ptl lock in check_pte_range before calling migrate_page_add(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a75a6c825c17249ca49f050a872a04ce0997ce3 Author: Christoph Lameter Date: Sun Jan 8 01:01:02 2006 -0800 [PATCH] Fold numa_maps into mempolicies.c First discussed at http://marc.theaimsgroup.com/?t=113149255100001&r=1&w=2 - Use the check_range() in mempolicy.c to gather statistics. - Improve the numa_maps code in general and fix some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38e35860dbe6197a4b42eb6e8b47da940b7695dd Author: Christoph Lameter Date: Sun Jan 8 01:01:01 2006 -0800 [PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT This was was first posted at http://marc.theaimsgroup.com/?l=linux-mm&m=113149240227584&w=2 (Part of this functionality is also contained in the direct migration pathset. The functionality here is more generic and independent of that patchset.) - Add internal flags MPOL_MF_INVERT to control check_range() behavior. - Replace the pagelist passed through by check_range by a general private pointer that may be used for other purposes. (The following patches will use that to merge numa_maps into mempolicy.c and to better group the page migration code in the policy layer) - Improve some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e Author: Dave Jones Date: Sun Jan 8 01:01:00 2006 -0800 [PATCH] rmap: additional diagnostics in page_remove_rmap() We seem to be hitting this assertion failure too often for it to be hardware bugs. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd105df4590c89837a1c300843238148cfef9b5f Author: Tobias Klauser Date: Sun Jan 8 01:00:59 2006 -0800 [PATCH] mm: clean up local variables Clean up a local variable with the same name as a variable in a larger block. Also move a variable into the block where it's actually used. Spotted by http://linuxicc.sourceforge.net/ Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152194aaa6266d71dfee57882a23def339ef17a4 Author: Avishay Traeger Date: Sun Jan 8 01:00:58 2006 -0800 [PATCH] set_page_count() macro safety Fix set_page_count() macro to handle complex arguments. Signed-off-by: Avishay Traeger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aea47ff363c15b0be5fc27ed991b1fdee338f0a7 Author: Christoph Lameter Date: Sun Jan 8 01:00:57 2006 -0800 [PATCH] mm: make hugepages obey cpusets. See http://marc.theaimsgroup.com/?l=linux-kernel&m=113167000201265&w=2 http://marc.theaimsgroup.com/?l=linux-mm&m=113167267527312&w=2 Make hugepages obey cpusets. Signed-off-by: Christoph Lameter Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45b07ef31d1182d2cfde7711327e3afb268bb1ac Author: Paul Jackson Date: Sun Jan 8 01:00:56 2006 -0800 [PATCH] cpusets: swap migration interface Add a boolean "memory_migrate" to each cpuset, represented by a file containing "0" or "1" in each directory below /dev/cpuset. It defaults to false (file contains "0"). It can be set true by writing "1" to the file. If true, then anytime that a task is attached to the cpuset so marked, the pages of that task will be moved to that cpuset, preserving, to the extent practical, the cpuset-relative placement of the pages. Also anytime that a cpuset so marked has its memory placement changed (by writing to its "mems" file), the tasks in that cpuset will have their pages moved to the cpusets new nodes, preserving, to the extent practical, the cpuset-relative placement of the moved pages. Signed-off-by: Paul Jackson Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0d963281ccb22e6f339bfdd75c6b2e31351929f Author: Christoph Lameter Date: Sun Jan 8 01:00:55 2006 -0800 [PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx Use -Exxx instead of numeric return codes and cleanup the code in migrate_pages() using -Exx error codes. Consolidate successful migration handling Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d498471133ff1f9586a06820beaeebc575fe2814 Author: Christoph Lameter Date: Sun Jan 8 01:00:55 2006 -0800 [PATCH] SwapMig: Extend parameters for migrate_pages() Extend the parameters of migrate_pages() to allow the caller control over the fate of successfully migrated or impossible to migrate pages. Swap migration and direct migration will have the same interface after this patch so that patches can be independently applied to the policy layer and the core migration code. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee27497df36823f2793212cad0997c044eb0e1eb Author: Christoph Lameter Date: Sun Jan 8 01:00:54 2006 -0800 [PATCH] SwapMig: Drop unused pages immediately Drop unused pages immediately If a page is encountered that is only referenced by the migration code then there is no reason to swap or migrate the page. Release the page by calling move_to_lru(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1480a540c98525640174a7eadd712378fcd6fd63 Author: Christoph Lameter Date: Sun Jan 8 01:00:53 2006 -0800 [PATCH] SwapMig: add_to_swap() avoid atomic allocations Add gfp_mask to add_to_swap add_to_swap does allocations with GFP_ATOMIC in order not to interfere with swapping. During migration we may have use add_to_swap extensively which may lead to out of memory errors. This patch makes add_to_swap take a parameter that specifies the gfp mask. The page migration code can then make add_to_swap use GFP_KERNEL. Signed-off-by: Hirokazu Takahashi Signed-off-by: Dave Hansen Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8419c3181086c86664e8246bc997afc2e4ffba4f Author: Christoph Lameter Date: Sun Jan 8 01:00:52 2006 -0800 [PATCH] SwapMig: CONFIG_MIGRATION fixes Move move_to_lru, putback_lru_pages and isolate_lru in section surrounded by CONFIG_MIGRATION saving some codesize for single processor kernels. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39743889aaf76725152f16aa90ca3c45f6d52da3 Author: Christoph Lameter Date: Sun Jan 8 01:00:51 2006 -0800 [PATCH] Swap Migration V5: sys_migrate_pages interface sys_migrate_pages implementation using swap based page migration This is the original API proposed by Ray Bryant in his posts during the first half of 2005 on linux-mm@kvack.org and linux-kernel@vger.kernel.org. The intent of sys_migrate is to migrate memory of a process. A process may have migrated to another node. Memory was allocated optimally for the prior context. sys_migrate_pages allows to shift the memory to the new node. sys_migrate_pages is also useful if the processes available memory nodes have changed through cpuset operations to manually move the processes memory. Paul Jackson is working on an automated mechanism that will allow an automatic migration if the cpuset of a process is changed. However, a user may decide to manually control the migration. This implementation is put into the policy layer since it uses concepts and functions that are also needed for mbind and friends. The patch also provides a do_migrate_pages function that may be useful for cpusets to automatically move memory. sys_migrate_pages does not modify policies in contrast to Ray's implementation. The current code here is based on the swap based page migration capability and thus is not able to preserve the physical layout relative to it containing nodeset (which may be a cpuset). When direct page migration becomes available then the implementation needs to be changed to do a isomorphic move of pages between different nodesets. The current implementation simply evicts all pages in source nodeset that are not in the target nodeset. Patch supports ia64, i386 and x86_64. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd Author: Christoph Lameter Date: Sun Jan 8 01:00:50 2006 -0800 [PATCH] Swap Migration V5: MPOL_MF_MOVE interface Add page migration support via swap to the NUMA policy layer This patch adds page migration support to the NUMA policy layer. An additional flag MPOL_MF_MOVE is introduced for mbind. If MPOL_MF_MOVE is specified then pages that do not conform to the memory policy will be evicted from memory. When they get pages back in new pages will be allocated following the numa policy. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cbe34cf86c673503b177ff47cfa2c7030dabb50 Author: Christoph Lameter Date: Sun Jan 8 01:00:49 2006 -0800 [PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support Include page migration if the system is NUMA or having a memory model that allows distinct areas of memory (SPARSEMEM, DISCONTIGMEM). And: - Only include lru_add_drain_per_cpu if building for an SMP system. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 Author: Christoph Lameter Date: Sun Jan 8 01:00:48 2006 -0800 [PATCH] Swap Migration V5: migrate_pages() function This adds the basic page migration function with a minimal implementation that only allows the eviction of pages to swap space. Page eviction and migration may be useful to migrate pages, to suspend programs or for remapping single pages (useful for faulty pages or pages with soft ECC failures) The process is as follows: The function wanting to migrate pages must first build a list of pages to be migrated or evicted and take them off the lru lists via isolate_lru_page(). isolate_lru_page determines that a page is freeable based on the LRU bit set. Then the actual migration or swapout can happen by calling migrate_pages(). migrate_pages does its best to migrate or swapout the pages and does multiple passes over the list. Some pages may only be swappable if they are not dirty. migrate_pages may start writing out dirty pages in the initial passes over the pages. However, migrate_pages may not be able to migrate or evict all pages for a variety of reasons. The remaining pages may be returned to the LRU lists using putback_lru_pages(). Changelog V4->V5: - Use the lru caches to return pages to the LRU Changelog V3->V4: - Restructure code so that applying patches to support full migration does require minimal changes. Rename swapout_pages() to migrate_pages(). Changelog V2->V3: - Extract common code from shrink_list() and swapout_pages() Signed-off-by: Mike Kravetz Signed-off-by: Christoph Lameter Cc: "Michael Kerrisk" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930d915252edda7042c944ed3c30194a2f9fe163 Author: Christoph Lameter Date: Sun Jan 8 01:00:47 2006 -0800 [PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap Add PF_SWAPWRITE to control a processes permission to write to swap. - Use PF_SWAPWRITE in may_write_to_queue() instead of checking for kswapd and pdflush - Set PF_SWAPWRITE flag for kswapd and pdflush Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21eac81f252fe31c3cf64b805a1e8652192f3a3b Author: Christoph Lameter Date: Sun Jan 8 01:00:45 2006 -0800 [PATCH] Swap Migration V5: LRU operations This is the start of the `swap migration' patch series. Swap migration allows the moving of the physical location of pages between nodes in a numa system while the process is running. This means that the virtual addresses that the process sees do not change. However, the system rearranges the physical location of those pages. The main intent of page migration patches here is to reduce the latency of memory access by moving pages near to the processor where the process accessing that memory is running. The patchset allows a process to manually relocate the node on which its pages are located through the MF_MOVE and MF_MOVE_ALL options while setting a new memory policy. The pages of process can also be relocated from another process using the sys_migrate_pages() function call. Requires CAP_SYS_ADMIN. The migrate_pages function call takes two sets of nodes and moves pages of a process that are located on the from nodes to the destination nodes. Manual migration is very useful if for example the scheduler has relocated a process to a processor on a distant node. A batch scheduler or an administrator can detect the situation and move the pages of the process nearer to the new processor. sys_migrate_pages() could be used on non-numa machines as well, to force all of a particualr process's pages out to swap, if someone thinks that's useful. Larger installations usually partition the system using cpusets into sections of nodes. Paul has equipped cpusets with the ability to move pages when a task is moved to another cpuset. This allows automatic control over locality of a process. If a task is moved to a new cpuset then also all its pages are moved with it so that the performance of the process does not sink dramatically (as is the case today). Swap migration works by simply evicting the page. The pages must be faulted back in. The pages are then typically reallocated by the system near the node where the process is executing. For swap migration the destination of the move is controlled by the allocation policy. Cpusets set the allocation policy before calling sys_migrate_pages() in order to move the pages as intended. No allocation policy changes are performed for sys_migrate_pages(). This means that the pages may not faulted in to the specified nodes if no allocation policy was set by other means. The pages will just end up near the node where the fault occurred. There's another patch series in the pipeline which implements "direct migration". The direct migration patchset extends the migration functionality to avoid going through swap. The destination node of the relation is controllable during the actual moving of pages. The crutch of using the allocation policy to relocate is not necessary and the pages are moved directly to the target. Its also faster since swap is not used. And sys_migrate_pages() can then move pages directly to the specified node. Implement functions to isolate pages from the LRU and put them back later. This patch: An earlier implementation was provided by Hirokazu Takahashi and IWAMOTO Toshihiro for the memory hotplug project. From: Magnus This breaks out isolate_lru_page() and putpack_lru_page(). Needed for swap migration. Signed-off-by: Magnus Damm Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15316ba81aee6775d6079fb46c66c801989e7d10 Author: Christoph Lameter Date: Sun Jan 8 01:00:43 2006 -0800 [PATCH] add schedule_on_each_cpu() swap migration's isolate_lru_page() currently uses an IPI to notify other processors that the lru caches need to be drained if the page cannot be found on the LRU. The IPI interrupt may interrupt a processor that is just processing lru requests and cause a race condition. This patch introduces a new function run_on_each_cpu() that uses the keventd() to run the LRU draining on each processor. Processors disable preemption when dealing the LRU caches (these are per processor) and thus executing LRU draining from another process is safe. Thanks to Lee Schermerhorn for finding this race condition. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48db57f8ff10eb09ab887ccb6150b0da0c7be24e Author: Nick Piggin Date: Sun Jan 8 01:00:42 2006 -0800 [PATCH] mm: free_pages opt Try to streamline free_pages_bulk by ensuring callers don't pass in a 'count' that exceeds the list size. Some cleanups: Rename __free_pages_bulk to __free_one_page. Put the page list manipulation from __free_pages_ok into free_one_page. Make __free_pages_ok static. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23316bc86fd31c5d644a71c398ec41d9fecacec4 Author: Nick Piggin Date: Sun Jan 8 01:00:41 2006 -0800 [PATCH] mm: cleanup zone_pcp Use zone_pcp everywhere even though NUMA code "knows" the internal details of the zone. Stop other people trying to copy, and it looks nicer. Also, only print the pagesets of online cpus in zoneinfo. Signed-off-by: Nick Piggin Cc: "Seth, Rohit" Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ad4b1fb8205340dba16b63467bb23efc27264d6 Author: Rohit Seth Date: Sun Jan 8 01:00:40 2006 -0800 [PATCH] Make high and batch sizes of per_cpu_pagelists configurable As recently there has been lot of traffic on the right values for batch and high water marks for per_cpu_pagelists. This patch makes these two variables configurable through /proc interface. A new tunable /proc/sys/vm/percpu_pagelist_fraction is added. This entry controls the fraction of pages at most in each zone that are allocated for each per cpu page list. The min value for this is 8. It means that we don't allow more than 1/8th of pages in each zone to be allocated in any single per_cpu_pagelist. The batch value of each per cpu pagelist is also updated as a result. It is set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8) Signed-off-by: Rohit Seth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d0243bca345d5ce25d3f4b74b7facb3a6df1232 Author: Andrew Morton Date: Sun Jan 8 01:00:39 2006 -0800 [PATCH] drop-pagecache Add /proc/sys/vm/drop_caches. When written to, this will cause the kernel to discard as much pagecache and/or reclaimable slab objects as it can. THis operation requires root permissions. It won't drop dirty data, so the user should run `sync' first. Caveats: a) Holds inode_lock for exorbitant amounts of time. b) Needs to be taught about NUMA nodes: propagate these all the way through so the discarding can be controlled on a per-node basis. This is a debugging feature: useful for getting consistent results between filesystem benchmarks. We could possibly put it under a config option, but it's less than 300 bytes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bec6b0c89b234090681a4516e20ac5debe3e7c59 Author: Christoph Lameter Date: Sun Jan 8 01:00:38 2006 -0800 [PATCH] slab: remove nested #ifdef CONFIG_NUMA For some reason there is an #ifdef CONFIG_NUMA within another #ifdef CONFIG_NUMA in the page allocator. Remove innermost #ifdef CONFIG_NUMA Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b28a02de8c70d41d6b6ba8911e83ed3ccf2e13f8 Author: Pekka Enberg Date: Sun Jan 8 01:00:37 2006 -0800 [PATCH] slab: fix code formatting The slab allocator code is inconsistent in coding style and messy. For this patch, I ran Lindent for mm/slab.c and fixed up goofs by hand. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d268eba1187ef66844a6a33b9431e5d0dadd4ad Author: Pekka Enberg Date: Sun Jan 8 01:00:36 2006 -0800 [PATCH] slab: extract slab order calculation to separate function This patch moves the ugly loop that determines the 'optimal' size (page order) of cache slabs from kmem_cache_create() to a separate function and cleans it up a bit. Thanks to Matthew Wilcox for the help with this patch. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85289f98ddc13f6cea82c59d6ff78f9d205dfccc Author: Pekka Enberg Date: Sun Jan 8 01:00:36 2006 -0800 [PATCH] slab: extract slabinfo header printing to separate function This patch extracts slabinfo header printing to a separate function print_slabinfo_header() to make s_start() more readable. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9f7500521b25dbf1aba476b81230489ad8e2c4b Author: Pekka Enberg Date: Sun Jan 8 01:00:33 2006 -0800 [PATCH] slab: remove unused align parameter from alloc_percpu __alloc_percpu and alloc_percpu both take an 'align' argument which is completely ignored. snmp6_mib_init() in net/ipv6/af_inet6.c attempts to use it, but it will be ignored. Therefore, remove the 'align' argument and fixup the lone caller. Signed-off-by: Matthew Dobson Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b792de39d892e06b18ddea85be076bae123d6bf6 Author: Olaf Hering Date: Sun Jan 8 01:00:32 2006 -0800 [PATCH] Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Also remove unneeded declations, add a public function. drivers/base/memory.c:53: error: static declaration of 'register_memory_notifier' follows non-static declaration include/linux/memory.h:85: error: previous declaration of 'register_memory_notifier' was here drivers/base/memory.c:58: error: static declaration of 'unregister_memory_notifier' follows non-static declaration include/linux/memory.h:86: error: previous declaration of 'unregister_memory_notifier' was here drivers/base/memory.c:68: error: static declaration of 'register_memory' follows non-static declaration include/linux/memory.h:73: error: previous declaration of 'register_memory' was here Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dab06fa7b6d07ee95c8bba5ddd0840633069159 Author: Woody Suwalski Date: Sun Jan 8 01:00:31 2006 -0800 [PATCH] ARM Netwinder watchdog wdt977 update Cleanup for the ARM-only watchdog driver wdt977. This is probably the last update, since we want to merge with w83977f_wdt. Jose Goncalves has ported this driver to i386, so probably we can iron out configuration differences. Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70c00ba0bbfb583e39b964ebd88620c18aa02c62 Author: Marcelo Tosatti Date: Sun Jan 8 01:00:29 2006 -0800 [PATCH] small hp_sdc_rtc cleanup: use no_llseek Use no_llseek function. Signed-off-by: Marcelo Tosatti Cc: "Brian S. Julin" Acked-by: Vojtech Pavlik Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5998bf1ddb5fb236597190b2274d357add63fd7e Author: Andrew Morton Date: Sun Jan 8 01:00:29 2006 -0800 [PATCH] asm-generic/atomic.h needs types.h For BITS_PER_LONG Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84c2008af01132c4ca257ed9b595693c611df15d Author: Andrew Morton Date: Sun Jan 8 01:00:28 2006 -0800 [PATCH] revert "mm: page_state fixes" Hugh says: page_alloc_cpu_notify() specifically contains code to /* Add dead cpu's page_states to our own. */ which handles this more efficiently. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1333803c3a8fb167ba67ffc5540dbb53fa7deb3 Author: David Gibson Date: Fri Dec 16 14:49:25 2005 +1100 [PATCH] powerpc: Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation Oops, forgot to compile the VMALLOCBASE/VMALLOC_START patch on iSeries. VMALLOC_START is defined in pgtable.h whereas previously VMALLOCBASE was previously defined in page.h. lparmap.c needs to be updated appropriately. Booted on iSeries RS64 (now). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 555d97ac87aef08bb55dff6f05e68fe2987d6f6d Author: Andy Fleming Date: Thu Dec 15 20:02:04 2005 -0600 [PATCH] powerpc: G4+ oprofile support This patch adds oprofile support for the 7450 and all its multitudinous derivatives. * Added 7450 (and derivatives) support for oprofile * Changed e500 cputable to have oprofile model and cpu_type fields * Added support for classic 32-bit performance monitor interrupt * Cleaned up common powerpc oprofile code to be as common as possible * Cleaned up oprofile_impl.h to reflect 32 bit classic code * Added 32-bit MMCRx bitfield definitions and SPR numbers Signed-off-by: Andy Fleming Signed-off-by: Paul Mackerras commit e5cd040409dc0f8d34a21827d6b74918b3a4fccf Author: Kumar Gala Date: Mon Dec 19 15:49:07 2005 -0600 [PATCH] powerpc: Fix compile problem in pci.c for ppc32 pci_address_to_pio is missing a closing curly brace Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f2c4583a381c584c8c025048071a120cc9562ded Author: Benjamin Herrenschmidt Date: Thu Dec 15 15:00:57 2005 +1100 [PATCH] powerpc: pci_address_to_pio fix This fixes pci_address_to_pio() to return an unsigned long (to be safe) and fixes a bug in the implementation that caused it to return a bogus IO port number Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a04c8780fd234aeeba5e87f7e37beffd05ef21ae Author: Kristian Mueller Date: Thu Dec 15 12:31:55 2005 +0800 [PATCH] via-pmu: compile without Power Management support Fix compilation of via-pmu.c without Power Management support. Signed-off-by: Paul Mackerras commit 14c89e7fc84ae55354b8bf12fee1b6d14f259c8a Author: David Gibson Date: Wed Dec 14 16:08:40 2005 +1100 [PATCH] powerpc: Replace VMALLOCBASE with VMALLOC_START On ppc64, we independently define VMALLOCBASE and VMALLOC_START to be the same thing: the start of the vmalloc() area at 0xd000000000000000. VMALLOC_START is used much more widely, including in generic code, so this patch gets rid of the extraneous VMALLOCBASE. This does require moving the definitions of region IDs from page_64.h to pgtable.h, but they don't clearly belong in the former rather than the latter, anyway. While we're moving them, clean up the definitions of the REGION_IDs: - Abolish REGION_SIZE, it was only used once, to define REGION_MASK anyway - Define the specific region ids in terms of the REGION_ID() macro. - Define KERNEL_REGION_ID in terms of PAGE_OFFSET rather than KERNELBASE. It amounts to the same thing, but conceptually this is about the region of the linear mapping (which starts at PAGE_OFFSET) rather than of the kernel text itself (which is at KERNELBASE). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 56c8eaee65d688b526c12dca54a30276335679e5 Author: Benjamin Herrenschmidt Date: Mon Dec 19 16:49:07 2005 +1100 [PATCH] powerpc: Fix g5 DART init The patch enabling the new G5's with U4 broke initialization of the DART driver, causing it to trigger a BUG_ON for a case that is actually valid. This patch fixes it: Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1beb6a7d6cbed3ac03500ce9b5b9bb632c512039 Author: Benjamin Herrenschmidt Date: Wed Dec 14 13:10:10 2005 +1100 [PATCH] powerpc: Experimental support for new G5 Macs (#2) This adds some very basic support for the new machines, including the Quad G5 (tested), and other new dual core based machines and iMac G5 iSight (untested). This is still experimental ! There is no thermal control yet, there is no proper handing of MSIs, etc.. but it boots, I have all 4 cores up on my machine. Compared to the previous version of this patch, this one adds DART IOMMU support for the U4 chipset and thus should work fine on setups with more than 2Gb of RAM. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit cd0c7f06803be06a5cf4564aa5a900f4b6aea603 Author: Kumar Gala Date: Tue Dec 13 14:46:29 2005 -0600 [PATCH] powerpc: Detect prefetchable windows in pci_process_bridge_OF_ranges Added the ability to determine if an outbound window in the PCI host controller is for prefetchable memory and report it as such. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 31087d7d49bf5fc9cbc2c4852a079213755e8733 Author: linas Date: Tue Dec 13 13:46:36 2005 -0600 [PATCH] powerpc: export PCI fixup routine There is code in the RPAPHP directory that is identical to this routine; I'll be removing that code in an upcoming patch, but this patch is needed to expose the function to make it callable. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit c4b22f268914ff824a6334b62afd23f7ad79df11 Author: Segher Boessenkool Date: Tue Dec 13 18:04:29 2005 +1100 [PATCH] powerpc: Update MPIC workarounds Cleanup the MPIC IO-APIC workarounds, make them a bit more generic, smaller and faster. Signed-off-by: Segher Boessenkool Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit cc5d0189b9ba95260857a5018a1c2fef90008507 Author: Benjamin Herrenschmidt Date: Tue Dec 13 18:01:21 2005 +1100 [PATCH] powerpc: Remove device_node addrs/n_addr The pre-parsed addrs/n_addrs fields in struct device_node are finally gone. Remove the dodgy heuristics that did that parsing at boot and remove the fields themselves since we now have a good replacement with the new OF parsing code. This patch also fixes a bunch of drivers to use the new code instead, so that at least pmac32, pseries, iseries and g5 defconfigs build. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 9cf84d7c97992dbe5360b241327341c07ce30fc9 Author: Benjamin Herrenschmidt Date: Tue Dec 13 17:48:35 2005 +1100 [PATCH] powerpc: Fix platinumfb for some modes The platinumfb driver used only on some powermacs has an issue with some video modes & limited VRAM. This patch fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f75225d0a01e4f468b0395b02e549d2763bbabfb Author: Benjamin Herrenschmidt Date: Tue Dec 13 17:46:23 2005 +1100 [PATCH] powerpc: Add pmac32 defconfig for ARCH=powerpc This adds a defconfig for PowerMac with ARCH=powerpc Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 448b2719408c736080e1147c615ccefce16ede41 Author: Anton Blanchard Date: Tue Dec 13 07:56:54 2005 +1100 [PATCH] powerpc: Remove old comment in head.S Remove a comment in head.S which is no longer relevant. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 2406f6063a9caa8ea39e4040e1759db553388caf Author: Anton Blanchard Date: Tue Dec 13 07:45:33 2005 +1100 [PATCH] powerpc: Dont set 32bit cputable bits on 64bit Milton and I were looking at the cputable code and it looks like we can set spurious bits on 64bit. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 4b703a231799f43f3414b62300b8ad6736a4aa9d Author: Anton Blanchard Date: Tue Dec 13 06:56:47 2005 +1100 [PATCH] ppc64: Add NUMA cpu summary at boot We used to print a NUMA cpu summary at boot before the hotplug cpu code was added. This has been useful for catching machine configuration as well as firmware bugs in the past. This patch restores that functionality. An example of the output is: Node 0 CPUs: 0-7 Node 1 CPUs: 8-15 Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 2c066042ecc3b0d811440002b74fa3778d4432cb Author: Nicolas Kaiser Date: Sun Dec 11 01:50:03 2005 +0100 [PATCH] Documentation/powerpc: index update Add three files not mentioned in Documentation/powerpc/00-INDEX. Sort alphabetically. Signed-off-by: Nicolas Kaiser Signed-off-by: Paul Mackerras commit f9ce299fc629d5c899a2e56b00e21f5da05cf590 Author: Arnd Bergmann Date: Fri Dec 9 19:21:44 2005 +0100 [PATCH] powerpc: fix large nvram access /dev/nvram uses the user-provided read/write size for kmalloc, which fails, if a large number is passed. This will always use a single page at most, which can be expected to succeed. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d52771fce4e774fa786097d34412a057d487c697 Author: David Woodhouse Date: Fri Dec 9 19:04:21 2005 +0100 [PATCH] powerpc/cell: disable legacy i/o area We currently crash in the fedora installer because the keyboard driver tries to access I/O space that is not there on our hardware. This uses the same solution as powermac by just marking all legacy i/o as invalid. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 49d65b3ac5614431041abcd2eabc0d77eff5e32d Author: Jens.Osterkamp@de.ibm.com Date: Fri Dec 9 19:04:20 2005 +0100 [PATCH] powerpc/cell: add iommu support for larger memory So far, the iommu code was hardwired to a linear mapping between 0x20000000 and 0x40000000, so it could only support 512MB of RAM. This patch still keeps the linear mapping, but looks for proper ibm,dma-window properties to set up larger windows, this makes the maximum supported RAM size 2GB. If there is anything unusual about the dma-window properties, we fall back to the old behavior. We also support switching off the iommu completely now with the regular iommu=off command line option. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 38307341af3a0be8ec5319756361b51ac29dffc7 Author: Arnd Bergmann Date: Fri Dec 9 19:04:18 2005 +0100 [PATCH] spufs: clear dsisr on CLASS1[Mf] exception Because of always clearing DSISR at spu class 1 interrupt handler, kernel may lose Class1[Mf] interrupt. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 462c853eb574bc7843d9c56e84aca129aaa8e018 Author: Arnd Bergmann Date: Fri Dec 9 19:04:17 2005 +0100 [PATCH] spufs: fix hexdump format Output from hexdump with "%08x" depends on HOST platform's endian. When building linux by cross toolchain, that difference makes errors. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 7945a4a27d5d914918b7637b055e01abfe05906e Author: Arnd Bergmann Date: Fri Dec 9 19:04:16 2005 +0100 [PATCH] spufs: trivial compile fix One of my last patches contained a broken line from splitting out some other changes, this restores a working version. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 59d6d39f30f4460b7e6489831caf7fbfe371941a Author: Arnd Bergmann Date: Fri Dec 9 19:04:15 2005 +0100 [PATCH] spufs: fix module refcount race One of the two users of spufs_calls.owner still has a race when calling try_module_get while the module is removed. This makes it use the correct instance of owner. Noticed by Milton Miller. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit a819f8ba76e81669fcc2665ac532cac650694b99 Author: Kumar Gala Date: Fri Dec 9 11:57:44 2005 -0600 [PATCH] ppc32: Add TQM85xx (8540/8541/8555/8560) board support This patch adds support for the TQ Components TQM85xx modules. Currently the modules TQM8540/8541/8555/8560 are supported. Signed-off-by: Stefan Roese Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit dad482c25698134b79c80694c81f0495019e0842 Author: Arnd Bergmann Date: Mon Dec 5 22:52:29 2005 -0500 [PATCH] cell: add platform detection code I can't really get a conclusive answer from the firmware people what to check for, so I just try scanning for anything that starts with "IBM,CPB", which should be correct for all hardware produced so far and for systemsim. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Author: Arnd Bergmann Date: Mon Dec 5 22:52:27 2005 -0500 [PATCH] spufs: fix mailbox polling Handling mailbox interrupts was broken in multiple respects, the combination of which was hiding the bugs most of the time. - The ibox interrupt mask was open initially even though there are no waiters on a newly created SPU. - Acknowledging the mailbox interrupt did not work because it is level triggered and the mailbox data is never retrieved from inside the interrupt handler. - The interrupt handler delivered interrupts with a disabled mask if another interrupt is triggered for the same class but a different mask. - The poll function did not enable the interrupt if it had not been enabled, so we might run into the poll timeout if none of the other bugs saved us and no signal was delivered. We probably still have a similar problem with blocking read/write on mailbox files, but that will result in extra wakeup in the worst case, not in incorrect behaviour. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2a911f0bb73e67826062b7d073dd7367ca449724 Author: Arnd Bergmann Date: Mon Dec 5 22:52:26 2005 -0500 [PATCH] spufs: Improved SPU preemptability [part 2]. This patch reduces lock complexity of SPU scheduler, particularly for involuntary preemptive switches. As a result the new code does a better job of mapping the highest priority tasks to SPUs. Lock complexity is reduced by using the system default workqueue to perform involuntary saves. In this way we avoid nasty lock ordering problems that the previous code had. A "minimum timeslice" for SPU contexts is also introduced. The intent here is to avoid thrashing. While the new scheduler does a better job at prioritization it still does nothing for fairness. From: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5110459f181ef1f11200bb3dec61953f08cc49e7 Author: Arnd Bergmann Date: Mon Dec 5 22:52:25 2005 -0500 [PATCH] spufs: Improved SPU preemptability. This patch makes it easier to preempt an SPU context by having the scheduler hold ctx->state_sema for much shorter periods of time. As part of this restructuring, the control logic for the "run" operation is moved from arch/ppc64/kernel/spu_base.c to fs/spufs/file.c. Of course the base retains "bottom half" handlers for class{0,1} irqs. The new run loop will re-acquire an SPU if preempted. From: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3b3d22cb84a0bb12f6bbb2b1158972894bec3f21 Author: Arnd Bergmann Date: Mon Dec 5 22:52:24 2005 -0500 [PATCH] spufs: Turn off debugging output spufs is rather noisy when debugging is enabled, this turns off the messages for production use. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b41305a39a6966d8e8b1449d6b7c194923bfb451 Author: Arnd Bergmann Date: Mon Dec 5 22:52:23 2005 -0500 [PATCH] spufs: Fix oops when spufs module is not loaded try_module_get returns true when NULL arguments, so we first need to check if there is a module loaded before getting the reference count. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e Author: Arnd Bergmann Date: Mon Dec 5 22:52:22 2005 -0500 [PATCH] spufs: fix local store page refcounting With the new rules for reserved pages, the spufs now needs working page reference counting. I should probably look into converting to vm_insert_page, but for now this patch makes spufs work again. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 39c73c332c8264c0a3a1ce58aa3eae52d17af025 Author: Arnd Bergmann Date: Mon Dec 5 22:52:21 2005 -0500 [PATCH] spufs: Make all exports GPL-only This changes all exported symbols of spufs to EXPORT_SYMBOL_GPL. The spu_ibox_read/spu_wbox_write symbols are not exported any more when the scheduler patch is applied. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ba7594852f4e7121b3f037d59f983637b795f0dd Author: Michael Ellerman Date: Sun Dec 4 18:39:55 2005 +1100 [PATCH] powerpc: Add support for "linux,usable-memory" on memory nodes Milton has proposed that we should support a "linux,usable-memory" property on memory nodes which describes, in preference to "reg", the regions of memory Linux should use. This facility is required for kdump to inform the second kernel which memory it should use. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 54c32021eb6feafc32e90104e960b38301521b7b Author: Michael Ellerman Date: Sun Dec 4 18:39:51 2005 +1100 [PATCH] powerpc: Add arch-dependent copy_oldmem_page Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit dcee30361d25ea83499a99f921f9a56b4a1a79e7 Author: Michael Ellerman Date: Sun Dec 4 18:39:48 2005 +1100 [PATCH] powerpc: Parse crashkernel= parameter in first kernel This patch adds code to parse and setup the crash kernel resource in the first kernel. PPC64 ignores the @x part, we always run at 32 MB. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit cc53291521701f9c7c7265bbb3c140563174d8b2 Author: Michael Ellerman Date: Sun Dec 4 18:39:43 2005 +1100 [PATCH] powerpc: Add arch dependent basic infrastructure for Kdump. Implementing the machine_crash_shutdown which will be called by crash_kexec (called in case of a panic, sysrq etc.). Disable the interrupts, shootdown cpus using debugger IPI and collect regs for all CPUs. elfcorehdr= specifies the location of elf core header stored by the crashed kernel. This command line option will be passed by the kexec-tools to capture kernel. savemaxmem= specifies the actual memory size that the first kernel has and this value will be used for dumping in the capture kernel. This command line option will be passed by the kexec-tools to capture kernel. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 758438a7b8da593c9116e95cc7fdff6e9e0b0c40 Author: Michael Ellerman Date: Mon Dec 5 15:49:00 2005 -0600 [PATCH] powerpc: Fixups for kernel linked at 32 MB There's a few places where we need to fix things up for the kernel to work if it's linked at 32MB: - platforms/powermac/smp.c To start secondary cpus on pmac we patch the reset vector, which is fine. Except if we're above 32MB we don't have enough bits for an absolute branch, it needs to relative. - kernel/head_64.s - A few branches in the cpu hold code need to load the full target address and do a bctr. - after_prom_start needs to load PHYSICAL_START as the dest address, not 0. - The exception prolog needs to load the low word of the target adddress, not just the low halfword. - Fixup handling of the initial stab address. - kernel/setup_64.c smp_release_cpus() needs to write 1 to the spinloop flag near 0, not 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0cc4746cadda16826a1b3214c042a2f75445b71c Author: Michael Ellerman Date: Sun Dec 4 18:39:37 2005 +1100 [PATCH] powerpc: Reroute interrupts from 0 + offset to PHYSICAL_START + offset Regardless of where the kernel's linked we always get interrupts at low addresses. This patch creates a trampoline in the first 3 pages of memory, where interrupts land, and patches those addresses to jump into the real kernel code at PHYSICAL_START. We also need to reserve the trampoline code and a bit more in prom.c Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093 Author: Michael Ellerman Date: Sun Dec 4 18:39:33 2005 +1100 [PATCH] powerpc: Create a trampoline for the fwnmi vectors The fwnmi vectors can be anywhere < 32 MB, so we need to use a trampoline for them. The kdump kernel will register the trampoline addresses, which will then jump up to the real code above 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 398ab1fcb960ea0800f40a9c36355855e3e23389 Author: Michael Ellerman Date: Sun Dec 4 18:39:23 2005 +1100 [PATCH] powerpc: Add CONFIG_CRASH_DUMP This patch adds a Kconfig variable, CONFIG_CRASH_DUMP, which configures the built kernel for use as a Kdump kernel. Currently "all" this involves is changing the value of KERNELBASE to 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 4693c09a47203d79a9adb69acaf3b3bb3dcf9390 Author: Paul Mackerras Date: Wed Dec 7 14:52:16 2005 +1100 powerpc: Fix typo in head_64.S Signed-off-by: Paul Mackerras commit d4e4b3520c4df46cf1d15a56379a6fa57e267b7d Author: Stephen Rothwell Date: Wed Dec 7 13:01:05 2005 +1100 [PATCH] powerpc: fix for "Update OF address parsers" This allows iSeries to build again. It just moves pci_address_to_pio outside the #ifdef CONFIG_PPC_MULTIPLATFORM. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit e07102db63d10d9f9d94d21dfdb1178e65154b9e Author: linas Date: Mon Dec 5 19:37:35 2005 -0600 [PATCH] powerpc: minor cleanup of void ptr deref Minor: use macro to perform void pointer deref; this may someday help avoid pointer typecasting errors. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 398f68580f3edd99728028facf571e4a07f9a035 Author: Marcelo Tosatti Date: Mon Dec 5 19:31:36 2005 -0200 [PATCH] powerpc/8xx: Fix m8xx_wdt issues The following fixes some issues with the last mpc8xx_wdt update: - Adds missing #include - Use "uint __iomem" pointer for in_be32/out_be32 Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 237a0989e2902b7d43c4228a36d82f8691fb2118 Author: Mike Kravetz Date: Mon Dec 5 12:06:42 2005 -0800 [PATCH] powerpc: numa placement for dynamically added memory This places dynamically added memory within the appropriate numa node. A new routine hot_add_scn_to_nid() replicates most of the memory scanning code in parse_numa_properties(). Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit b5666f70395016a55cc9d57826508b8a346398d0 Author: Michael Ellerman Date: Mon Dec 5 10:24:33 2005 -0600 [PATCH] powerpc: Separate usage of KERNELBASE and PAGE_OFFSET This patch separates usage of KERNELBASE and PAGE_OFFSET. I haven't looked at any of the PPC32 code, if we ever want to support Kdump on PPC we'll have to do another audit, ditto for iSeries. This patch makes PAGE_OFFSET the constant, it'll always be 0xC * 1 gazillion for 64-bit. To get a physical address from a virtual one you subtract PAGE_OFFSET, _not_ KERNELBASE. KERNELBASE is the virtual address of the start of the kernel, it's often the same as PAGE_OFFSET, but _might not be_. If you want to know something's offset from the start of the kernel you should subtract KERNELBASE. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 51fae6de24da57bc6cdaa1b253595c3513ecbf2d Author: Michael Ellerman Date: Sun Dec 4 18:39:15 2005 +1100 [PATCH] powerpc: Add a is_kernel_addr() macro There's a bunch of code that compares an address with KERNELBASE to see if it's a "kernel address", ie. >= KERNELBASE. The proper test is actually to compare with PAGE_OFFSET, since we're going to change KERNELBASE soon. So replace all of them with an is_kernel_addr() macro that does that. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit cd0ca2ce4b2f4a5132e7e230be8a510755c20870 Author: Michael Ellerman Date: Sun Dec 4 18:39:12 2005 +1100 [PATCH] powerpc: Propagate regs through to machine_crash_shutdown Currently machine_crash_shutdown() gets a struct pt_regs, but doesn't pass it through to the ppc_md function, it should. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit e40c7f02723e2be5d3144917191aa9fbec5bb64e Author: Andy Whitcroft Date: Tue Nov 29 19:25:54 2005 +0000 [PATCH] powerpc32: fix definition of distribute_irqs When we select ppc32 under the powerpc architecture we get the error below. This relates to defining distribute_irqs when this configuratiom option is undefined. CC arch/powerpc/sysdev/mpic.o .../arch/powerpc/sysdev/mpic.c: In function `mpic_setup_this_cpu': .../arch/powerpc/sysdev/mpic.c:788: error: `CONFIG_IRQ_ALL_CPUS' undeclared (first use in this function) Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 9100b205fdc70b300894954ebebbf2709c5ed525 Author: Andy Whitcroft Date: Tue Nov 29 19:20:55 2005 +0000 [PATCH] powerpc32: clean up available memory models Clean up the currently available memory models for ppc32 under the powerpc architecture. We need FLATMEM for ppc32: enable it. SPARSEMEM is not parameterised for ppc32 so disable that. Take this opportunity to clean up white space for FLATMEM_ENABLE. Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 7b653cafcbf187c6d86ee3551e4d73a610f18d27 Author: Otavio Salvador Date: Sat Dec 3 16:42:25 2005 -0200 [PATCH] ppc: removed unused variable i from code. Signed-off-by: Paul Mackerras commit 84c9fdd11e40f46028ff4669bfe5177ce9521266 Author: Mike Kravetz Date: Wed Nov 30 13:47:23 2005 -0800 [PATCH] powerpc: Minor numa memory code cleanup Here is an updated version of the patch that panics if no memory is found as Nathan suggested. I'm still concerned that panic strings (not just the one added here) at this stage of booting do not show up on my system. But, that is an issue separate from this patch. Combine get_mem_*_cells() routines to avoid multiple memory node lookups. Added missing of_node_put() call. Changed variable names to help with some confusion as to meaning. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 54c233102f3680c7f08b6f06d229cc48503b79c4 Author: Paul Mackerras Date: Mon Dec 5 15:50:39 2005 +1100 Revert "[PATCH] powerpc: Minor numa memory code cleanup" This reverts f1fdc0117004d343698b9830e141491d5ae320d1 commit. commit d2dd482bc17c3bc240045f80a7c4b4d5cea5e29c Author: Benjamin Herrenschmidt Date: Wed Nov 30 16:57:28 2005 +1100 [PATCH] powerpc: Update OF address parsers This updates the OF address parsers to return the IO flags indicating the type of address obtained. It also adds a PCI call for converting physical addresses that hit IO space into into IO tokens, and add routines that return the translated addresses into struct resource Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bb6b9b28d6847bc71f910e2e82c9040ff4b97ec0 Author: Benjamin Herrenschmidt Date: Wed Nov 30 16:54:12 2005 +1100 [PATCH] powerpc: udbg updates The udbg low level io layer has an issue with udbg_getc() returning a char (unsigned on ppc) instead of an int, thus the -1 if you had no available input device could end up turned into 0xff, filling your display with bogus characters. This fixes it, along with adding a little blob to xmon to do a delay before exiting when getting an EOF and fixing the detection of ADB keyboards in udbg_adb.c Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 54b9a9aedc990dd2aefc45ab16d84f245cb7d8d0 Author: Andy Whitcroft Date: Wed Nov 30 17:35:01 2005 +0000 [PATCH] powerpc: powermac adb fix udbg_adb_use_btext warning When compiling without BOOTX_TEXT the following warning is emitted. Fix up the definition to only be made when required. CC arch/powerpc/platforms/powermac/udbg_adb.o .../arch/powerpc/platforms/powermac/udbg_adb.c:41: warning: `udbg_adb_use_btext' defined but not used Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 52020d2bda9fe447bb50674a2e39e4064b6a10b5 Author: Andy Whitcroft Date: Wed Nov 30 17:34:50 2005 +0000 [PATCH] powerpc: powermac adb fix dependency on btext_drawchar udbg_adb_init() has become dependent on btext_drawchar, even when BOOTX_TEXT support is not selected. This leads to the error below. Make the check dependant on BOOTX_TEXT. LD .tmp_vmlinux1 arch/powerpc/platforms/built-in.o(.toc1+0xa40): undefined reference to `btext_drawchar' Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 2bf6a8fa21570f37fd1789610da30f70a05ac5e3 Author: Linas Vepstas Date: Thu Nov 3 18:52:16 2005 -0600 [PATCH] powerpc: migrate common PCI hotplug code 23-rpaphp-migrate.patch (parts) This patch moves some pci device add & remove code from the PCI hotplug directory to the arch/powerpc/kernel directory, and cleans it up a tad. The primary reason for this is that the code performs some fairly generic operations that are shared with the PCI error recovery code (living in the arch/powerpc/kernel directory). Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit facf07870b6103b8f9b6c872e3cb1032c5185d0b Author: Linas Vepstas Date: Thu Nov 3 18:52:01 2005 -0600 [PATCH] powerpc: make pcibios_claim_one_bus available to other code 22-rpaphp-eliminate-dupe-code.patch (parts) The RPAPHP code contains two routines that appear to be gratuitous copies of very similar pci code. In particular, rpaphp_claim_resource ~~ pci_claim_resource rpadlpar_claim_one_bus == pcibios_claim_one_bus This makes pcibios_claim_one_bus from arch/powerpc/kernel/pci_64.c available to the RPAPHP code. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit e2a296eeaa344450196e910a136ab14119d7ae48 Author: Linas Vepstas Date: Thu Nov 3 18:51:31 2005 -0600 [PATCH] powerpc: PCI hotplug common code elimination 20-rpaphp-eeh-cleanup.patch This patch move some code from the rpaphp directory, to the powerpc directory, where it should have been all along (Among other things, I need it in the powerpc directory for the PCI error recovery.) Please note that patch affects TWO maintainers: Paul, after applying the powerpc part, please ask that GregKH appli the PCI part. It is safe to have the powerpc part go in first. It would be bad to have the PCI part go in first. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 74761bb53df1e2d603937b6abbd8437b03840e38 Author: Mike Kravetz Date: Mon Nov 28 16:33:24 2005 -0800 [PATCH] powerpc: Minor numa memory code cleanup I started to add missing of_node_put() calls to the routines that determine the number of cells for memory. Decided to combine the routines instead of making separate node lookups. Changed variable names to help with some confusion as to meaning. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 8dacaedf04467e32c50148751a96150e73323cdc Author: Benjamin Herrenschmidt Date: Tue Nov 29 11:21:59 2005 +1100 [PATCH] powerpc: More serial probe fixes (#2) This fixes the new serial probe code with some PCI MMIO UARTs, and fixes CHRP build with ARCH=powerpc. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1c3eb629102bd4e327cc8b08fb9cdae4a985e841 Author: David Woodhouse Date: Sat Nov 26 14:44:47 2005 +0000 [PATCH] ppc: Make ARCH=ppc build again with new syscall path This makes ARCH=ppc build in your powerpc tree again, with the new syscall entry/exit path. Still doesn't actually boot on my Pegasos; the last thing I see is 'MMU:exit'. But at least it builds -- I'll look at why it doesn't boot later, so that I can see if the mv643xx_eth actually works with ARCH=ppc (it doesn't with ARCH=powerpc; two in every three packets I receive are offset by 4 bytes). Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit fb64c2446b20bf0206a690e9e1df88b25ac421e6 Author: Marcelo Tosatti Date: Thu Nov 24 11:32:09 2005 -0200 [PATCH] ppc32: m8xx watchdog update This updates m8xx_wdt as follows: 1) Remove now obsolete fpos check in the write() function. The driver is currently non functional due to this bug. 2) Use in/out macros for register access. 3) Allows m8xx_wdt to use a kernel timer instead of the builtin RTC/PIT for keep-alive trigger (which is responsible for servicing the watchdog until an userspace application takes over). For instance Cyclades PRxK boards (MPC 855T based) have a non-functional internal RTC/PIT unit. Behaviour for boards with RTC/PIT is unchaged. 4) The last change required moving the RTCSC register setting code to a weak function which can be overriden by board specific files. Otherwise the timer init code trashes the register making it impossible for m8xx_wdt to detect the situation. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 623703f620453c798b6fa3eb79ad8ea27bfd302a Author: David Woodhouse Date: Thu Nov 24 17:36:20 2005 +0000 [PATCH] Fix code that saves NVGPRS in 32-bit signal frame On Thu, 2005-11-24 at 12:51 +0000, David Woodhouse wrote: > Somehow this one slipped through the cracks; when we ended up in > do_signal() on a 32-bit kernel but without having the caller-saved > registers into the regs, we didn't set the TIF_SAVE_NVGPRS flag to > ensure they got saved later. Oh, and if we actually set the flag, then we fairly quickly find out that I was a bit overzealous in copying code from entry_64.S ... :) Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 9687c587596b54a77f08620595f5686ea35eed97 Author: David Woodhouse Date: Thu Nov 24 12:51:40 2005 +0000 [PATCH] Save NVGPRS in 32-bit signal frame Somehow this one slipped through the cracks; when we ended up in do_signal() on a 32-bit kernel but without having the caller-saved registers into the regs, we didn't set the TIF_SAVE_NVGPRS flag to ensure they got saved later. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 31df1678d7732b94178a6e457ed6666e4431212f Author: David Woodhouse Date: Thu Nov 24 17:08:56 2005 +0000 [PATCH] powerpc: serial port discovery: cope with broken firmware On Tue, 2005-11-22 at 15:49 +1100, Benjamin Herrenschmidt wrote: > This moves the discovery of legacy serial ports to a separate file, > makes it common to ppc32 and ppc64, and reworks it to use the new OF > address translators to get to the ports early. This new version can also > detect some PCI serial cards using legacy chips and will probably match > those discovered port with the default console choice. This makes it deal with the fact that the Pegasos firmware reports that its clock frequency is zero... Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 9177ae4378add0126104e2966aa6150258610d59 Author: Benjamin Herrenschmidt Date: Thu Nov 24 17:34:03 2005 +1100 [PATCH] powerpc: Fix g5 build with xmon My previous patches inadvertently broke building a G5 kernel with CONFIG_XMON enabled. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 404849bbd2bfd62e05b36f4753f6e1af6050a824 Author: David Gibson Date: Thu Nov 24 16:51:31 2005 +1100 [PATCH] powerpc: Remove some unneeded fields from the paca This patch removes several unnecessary fields from the paca: - next_jiffy_update_tb was simply unused. Remove trivially. - The exdsi exception save area was not used. There were plans to use it, but they never seem to have gone anywhere. If they ever do, we can put it back. Remove from the paca, and from asm-offsets.c - The default_decr field was used from asm, but was only ever assigned the value of tb_ticks_per_jiffy. Just access tb_ticks_per_jiffy from asm directly instead. Built and booted on POWER5 LPAR and iSeries RS64. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 1888e7b51c0cb5db49911b59cb758ad2c7a530f2 Author: David Gibson Date: Thu Nov 24 16:34:45 2005 +1100 [PATCH] powerpc: Remove ItLpRegSave area from the paca On iSeries, the paca contains, amongst other things an ItLpRegSave structure used by the hypervisor to save registers. The hypervisor locates this area through a pointer at the beginning of the paca, so the structure itself can be located elsewhere. This patch moves the reg_save area out into its own array. This reduces the amount of iSeries specific gunk which is visible to general powerpc code via paca.h Built and booted on POWER5 LPAR and iSeries RS64. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 456752f7505ef8f580ffd157558e661da2767d99 Author: David Gibson Date: Thu Nov 24 14:16:15 2005 +1100 [PATCH] powerpc: Make hugepage mappings respect hint addresses Currently, the powerpc version of hugetlb_get_unmapped_area() entirely ignores the hint address. The only way to get a hugepage mapping at a specified address is with MAP_FIXED, in which case there's no way (short of parsing /proc/self/maps) for userspace to tell if it will clobber an existing mapping. This is inconvenient, so the patch below makes hugepage mappings use the given hint address if possible. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 706e6b2caf285d3eb056c2847b7c53ae823e8a87 Author: Kumar Gala Date: Wed Nov 23 13:03:37 2005 -0600 [PATCH] powerpc: Fix suboptimal uImage target Sam Ravnborg pointed out that calling if_changed was redundant in the rule since a prerequisite had to have changed for us to get there. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8c441a57d789e59ba9cc7f652a028b4a7e5471f7 Author: Kumar Gala Date: Wed Nov 23 12:43:15 2005 -0600 [PATCH] powerpc: Add support for building uImages powerpc: Add support for building uImages Add support to build a kernel image bootable by u-boot. Most of the makefile foo is taken from arch/ppc/boot/images/Makefile Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 1d7a6b97f3c30087e307655116ff2ed492a37ad0 Author: Stephen Rothwell Date: Thu Nov 17 18:04:37 2005 +1100 powerpc: more iseries irq work Make get_IRQ return a pending irq number so it can be handled in the powerpc geeneric code. Signed-off-by: Stephen Rothwell commit a50b56d24c59db33792b421af4016a9c958a906f Author: Stephen Rothwell Date: Thu Nov 17 16:14:17 2005 +1100 powerpc: reduce include in irq.c Signed-off-by: Stephen Rothwell commit e199500c6280aadf98c185db99fd24ab61ebe0c7 Author: Stephen Rothwell Date: Wed Nov 16 18:53:29 2005 +1100 powerpc: partly merge iseries do_IRQ Hide some of the iseries details in iSeries_get_irq. Signed-off-by: Stephen Rothwell commit 853f828cfd29d3d486d9f4b4df91d99ce509e3b5 Author: Stephen Rothwell Date: Wed Nov 16 18:10:40 2005 +1100 powerpc: use end_IRQ for iseries irqs Encode the sub bus number into the real irq number (even though it is always zero for now) so that we have enough information to do the EOI in iseries_end_IRQ. Signed-off-by: Stephen Rothwell commit 60798c6a27b4e9827bdf641259409ada674c2868 Author: Stephen Rothwell Date: Wed Nov 16 17:47:43 2005 +1100 powerpc: cleanup iseries irq.c Remove two useless counters. DeStropify. Signed-off-by: Stephen Rothwell commit 2c5bd01f8f5d7c655d9d1aa60b696d980947e3be Author: Benjamin Herrenschmidt Date: Wed Nov 23 17:59:04 2005 +1100 [PATCH] powerpc: convert macio_asic to use prom_parse Converts the macio_asic core to use the new OF parsing routines instead of relying on the pre-parsed values in struct device_node. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d7f3945420b5d8114f2d4d85e90abe5063cc196a Author: Benjamin Herrenschmidt Date: Wed Nov 23 17:58:13 2005 +1100 [PATCH] powerpc: Add back support for booting from BootX (#2) ARCH=powerpc couldn't boot from BootX as it uses a "different" way of getting in the kernel. This patch adds the necessary trampolines, creating a flattened device-tree from the tree passed from MacOS, and initializing the btext engine early for really-early debugging. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 51d3082fe6e55aecfa17113dbe98077c749f724c Author: Benjamin Herrenschmidt Date: Wed Nov 23 17:57:25 2005 +1100 [PATCH] powerpc: Unify udbg (#2) This patch unifies udbg for both ppc32 and ppc64 when building the merged achitecture. xmon now has a single "back end". The powermac udbg stuff gets enriched with some ADB capabilities and btext output. In addition, the early_init callback is now called on ppc32 as well, approx. in the same order as ppc64 regarding device-tree manipulations. The init sequences of ppc32 and ppc64 are getting closer, I'll unify them in a later patch. For now, you can force udbg to the scc using "sccdbg" or to btext using "btextdbg" on powermacs. I'll implement a cleaner way of forcing udbg output to something else than the autodetected OF output device in a later patch. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 463ce0e103f419f51b1769111e73fe8bb305d0ec Author: Benjamin Herrenschmidt Date: Wed Nov 23 17:56:06 2005 +1100 [PATCH] powerpc: serial port discovery (#2) This moves the discovery of legacy serial ports to a separate file, makes it common to ppc32 and ppc64, and reworks it to use the new OF address translators to get to the ports early. This new version can also detect some PCI serial cards using legacy chips and will probably match those discovered port with the default console choice. Only ppc64 gets udbg still yet, unifying udbg isn't finished yet. It also adds some speed-probing code to udbg so that the default console can come up at the same speed it was set to by the firmware. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d1405b869850982f05c7ec0d3f137ca27588192f Author: Benjamin Herrenschmidt Date: Wed Nov 23 17:53:42 2005 +1100 [PATCH] powerpc: Add OF address parsing code (#2) Parsing addresses extracted from Open Firmware isn't a simple matter. We have various bits of code that try to do it in various place, including some heuristics in prom.c that pre-parse addresses at boot and fill device-nodes "addrs", but those are dodgy at best and I want to deprecate them. So this patch introduces a new set of routines that should be capable of parsing most types of addresses and translating them into CPU physical addresses. It currently works for things on PCI busses and ISA busses and should work on "standard" busses like the root bus or the MacIO bus that don't put funky flags in addresses. If you have other bus types that do use funky flags, you'll have to add new bus type translators, which is fairly easy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bcb05504edf0e27a648aa1059cbb71e8746758a1 Author: David Woodhouse Date: Fri Nov 18 12:15:33 2005 +0000 [PATCH] ppc64 syscall_exit_work: call the save_nvgprs function, not its descriptor. On Tue, 2005-11-15 at 18:52 +0000, David Woodhouse wrote: > This cleanup patch speeds up the null syscall path on ppc64 by about 3%, > and brings the ppc32 and ppc64 code slightly closer together. Needs this unless your binutils, like mine, are clever enough to notice my stupidity and fix it up automatically... Spotted by Paul. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit c1189c9275dbaa474e1f5ce0b62f6b4d9be67d51 Author: Paul Mackerras Date: Fri Nov 18 22:30:06 2005 +1100 ppc: remove duplicate bseip.h include/asm-ppc/bseip.h is a duplicate of arch/ppc/platforms/bseip.h and is not referenced anywhere, so get rid of it. Pointed out by Marcelo Tosatti. Signed-off-by: Paul Mackerras commit d6a55504b31dac7a0fd5d12bb6bd9f3773c88569 Author: Paul Mackerras Date: Fri Nov 18 13:16:43 2005 +1100 powerpc: Update __NR_syscalls to account for SPU syscalls A previous patch ended up not increasing __NR_syscalls to account for the new SPU syscalls (probably my fault). Signed-off-by: Paul Mackerras commit 8b3d6663c6217e4f50cc3720935a96da9b984117 Author: Arnd Bergmann Date: Tue Nov 15 15:53:52 2005 -0500 [PATCH] spufs: cooperative scheduler support This adds a scheduler for SPUs to make it possible to use more logical SPUs than physical ones are present in the system. Currently, there is no support for preempting a running SPU thread, they have to leave the SPU by either triggering an event on the SPU that causes it to return to the owning thread or by sending a signal to it. This patch also adds operations that enable accessing an SPU in either runnable or saved state. We use an RW semaphore to protect the state of the SPU from changing underneath us, while we are holding it readable. In order to change the state, it is acquired writeable and a context save or restore is executed before downgrading the semaphore to read-only. From: Mark Nutter , Uli Weigand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 05b841174c289ca62a6b42d883b8791d9ac3a4bd Author: Mark Nutter Date: Tue Nov 15 15:53:51 2005 -0500 [PATCH] spufs: add spu-side context switch code Add the source code that is used to generate spu_save_dump.h and spu_restore_dump.h. Since a full spu tool chain is needed to generate these files, the default remains to use the shipped versions in order to keep the number of tools for building the kernel down. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 7c038749d1e6a2d5fb37ed14aed0fffa34c4e504 Author: Mark Nutter Date: Tue Nov 15 15:53:50 2005 -0500 [PATCH] kernel-side context switch code for spufs This adds the code needed to perform a context switch from spufs, following the recommended 76-step sequence. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5473af049d8b3556874174e61ce1986c9b5e8fa6 Author: Mark Nutter Date: Tue Nov 15 15:53:49 2005 -0500 [PATCH] spufs: switchable spu contexts Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access its registers. The actual PPE- and SPE-side context switch code are two separate patches. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 67207b9664a8d603138ef1556141e6d0a102bea7 Author: Arnd Bergmann Date: Tue Nov 15 15:53:48 2005 -0500 [PATCH] spufs: The SPU file system, base This is the current version of the spu file system, used for driving SPEs on the Cell Broadband Engine. This release is almost identical to the version for the 2.6.14 kernel posted earlier, which is available as part of the Cell BE Linux distribution from http://www.bsc.es/projects/deepcomputing/linuxoncell/. The first patch provides all the interfaces for running spu application, but does not have any support for debugging SPU tasks or for scheduling. Both these functionalities are added in the subsequent patches. See Documentation/filesystems/spufs.txt on how to use spufs. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d7a301033f1990188f65abf4fe8e5b90ef0e3888 Author: Heiko J Schick Date: Wed Nov 16 08:56:43 2005 +0100 [PATCH] powerpc: IBMEBUS bus support This patch adds the necessary core bus support used by device drivers that sit on the IBM GX bus on modern pSeries machines like the Galaxy infiniband for example. It provide transparent DMA ops (the low level driver works with virtual addresses directly) along with a simple bus layer using the Open Firmware matching routines. Signed-off-by: Heiko J Schick Signed-off-by: Paul Mackerras commit 401d1f029bebb7153ca704997772113dc36d9527 Author: David Woodhouse Date: Tue Nov 15 18:52:18 2005 +0000 [PATCH] syscall entry/exit revamp This cleanup patch speeds up the null syscall path on ppc64 by about 3%, and brings the ppc32 and ppc64 code slightly closer together. The ppc64 code was checking current_thread_info()->flags twice in the syscall exit path; once for TIF_SYSCALL_T_OR_A before disabling interrupts, and then again for TIF_SIGPENDING|TIF_NEED_RESCHED etc after disabling interrupts. Now we do the same as ppc32 -- check the flags only once in the fast path, and re-enable interrupts if necessary in the ptrace case. The patch abolishes the 'syscall_noerror' member of struct thread_info and replaces it with a TIF_NOERROR bit in the flags, which is handled in the slow path. This shortens the syscall entry code, which no longer needs to clear syscall_noerror. The patch adds a TIF_SAVE_NVGPRS flag which causes the syscall exit slow path to save the non-volatile GPRs into a signal frame. This removes the need for the assembly wrappers around sys_sigsuspend(), sys_rt_sigsuspend(), et al which existed solely to save those registers in advance. It also means I don't have to add new wrappers for ppoll() and pselect(), which is what I was supposed to be doing when I got distracted into this... Finally, it unifies the ppc64 and ppc32 methods of handling syscall exit directly into a signal handler (as required by sigsuspend et al) by introducing a TIF_RESTOREALL flag which causes _all_ the registers to be reloaded from the pt_regs by taking the ret_from_exception path, instead of the normal syscall exit path which stomps on the callee-saved GPRs. It appears to pass an LTP test run on ppc64, and passes basic testing on ppc32 too. Brief tests of ptrace functionality with strace and gdb also appear OK. I wouldn't send it to Linus for 2.6.15 just yet though :) Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 1cd8e506209223ed10da805d99be55e268f4023c Author: Kumar Gala Date: Mon Nov 14 12:54:33 2005 -0600 [PATCH] powerpc: moved ipic code to arch/powerpc Moved 83xx and QUICC Engine interrupt handling code into arch/powerpc as a precursor of getting 83xx sub-arch building in arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3d1229d6ae92ed1994f4411b8493327ef8f4b76f Author: Michael Ellerman Date: Mon Nov 14 23:35:00 2005 +1100 [PATCH] powerpc: Merge kexec This patch merges, to some extent, the PPC32 and PPC64 kexec implementations. We adopt the PPC32 approach of having ppc_md callbacks for the kexec functions. The current PPC64 implementation becomes the "default" implementation for PPC64 which platforms can select if they need no special treatment. I've added these default callbacks to pseries/maple/cell/powermac, this means iSeries no longer supports kexec - but it never worked anyway. I've renamed PPC32's machine_kexec_simple to default_machine_kexec, inline with PPC64. Judging by the comments it might be better named machine_kexec_non_of, or something, but at the moment it's the only implementation for PPC32 so it's the "default". Kexec requires machine_shutdown(), which is in machine_kexec.c on PPC32, but we already have in setup-common.c on powerpc. All this does is call ppc_md.nvram_sync, which only powermac implements, so instead make machine_shutdown a ppc_md member and have it call core99_nvram_sync directly on powermac. I've also stuck relocate_kernel.S into misc_32.S for powerpc. Built for ARCH=ppc, and 32 & 64 bit ARCH=powerpc, with KEXEC=y/n. Booted on P5 LPAR and successfully kexec'ed. Should apply on top of 493f25ef4087395891c99fcfe2c72e62e293e89f. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit afcc2472d80569059b5fe71fcb67e618b9d83fa8 Author: Adrian Bunk Date: Sun Nov 13 02:26:09 2005 +0100 [PATCH] PPC_PREP: remove unneeded exports This patch removes the EXPORT_SYMBOL'ed but completely unused variable ucSystemType and removes the unneeded EXPORT_SYMBOL(_prep_type). Signed-off-by: Adrian Bunk Acked-by: Tom Rini Signed-off-by: Paul Mackerras commit 0fec53a24a5e5f7ba68d891b68f568b6aeafaca6 Author: Russell King Date: Sun Jan 8 22:37:46 2006 +0000 [ARM] Remove EPXA10DB machine support EPXA10DB seems to be uncared for: - the "PLD" code has never been merged - no one has reported that this platform has been broken since at least 2.6.10 - interest seems to have dried up around March 2003. Therefore, remove EPXA10DB support. Signed-off-by: Russell King commit 63b794bfd898899cc8b6d4679d4fdc486606194b Author: Sam Ravnborg Date: Sun Jan 8 20:37:39 2006 +0100 frv: Use KERNELRELEASE Signed-off-by: Sam Ravnborg commit ad14336de8e9cddae9ed29d45bd2e97abb72eaf9 Author: Sam Ravnborg Date: Sun Jan 8 19:58:51 2006 +0100 kbuild: remove GCC_VERSION This was causing some ordering problems. Remove the up-front evaluation and just revaluate the compiler version each time we need it. (The up-front evaluation was problematic because some architectures modify the value of $(CC)). Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit cfa7f52164d6cdcb6cea87386562c568da66ff9e Author: Pierre Ossman Date: Sun Jan 8 18:17:55 2006 +0000 [MMC] Lindent wbsd driver Fix the coding style in the wbsd driver once and for all. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 442ce844e139c1e3c23e8b4df13468041ae35721 Author: Dave Jones Date: Fri Jan 6 02:40:19 2006 -0500 kbuild: reference_discarded addition Error: ./fs/quota_v2.o .opd refers to 0000000000000020 R_PPC64_ADDR64 .exit.text Been carrying this for some time in Red Hat trees. Keith Ownes commented: For our future {in}sanity, add a comment that this is the ppc .opd section, not the ia64 .opd section. ia64 .opd should not point to discarded sections. Any idea why ppc .opd points to discarded sections when ia64 does not? AFAICT no ia64 object has a useful .opd section, they are all empty or (sometimes) a dummy entry which is 1 byte long. ia64 .opd data is built at link time, not compile time. Signed-off-by: Dave Jones Signed-off-by: Sam Ravnborg commit 50aa88e2877f1375ba79d1be7a0ff4aa563741c7 Author: Tore Anderson Date: Sat Jan 7 15:34:40 2006 +0100 kbuild: ensure mrproper removes .old_version If the final linking of vmlinux fails, the file .old_version are left behind. This patch ensures the mrproper target will remove it if present. Signed-off-by: Tore Anderson Signed-off-by: Sam Ravnborg commit 24d49756aa67322c2def5dc97344615572ac454e Author: Ryan Anderson Date: Sun Jan 8 04:35:36 2006 -0500 kbuild: In setlocalversion change -git_dirty to just -dirty When building Debian packages directly from the git tree, the appended "git_dirty" is a problem due to the underscore. In order to cause the least problems, change that just to "dirty". Signed-off-by: Ryan Anderson Signed-off-by: Sam Ravnborg commit cc6fa432f5eec26c43fd06c0314cb1c2cae6d9a1 Author: Brian Gerst Date: Sun Jan 8 10:53:55 2006 -0500 modpost/file2alias: Fix typo SND_MAX should be FF_MAX Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit ac448afbcdcc218fd8d177960466ecc4a523722f Author: Brian Gerst Date: Fri Jan 6 18:28:45 2006 -0500 kbuild: clean up asm-offsets.h creation - Move mkdir out of cmd_offsets - Add input file to sed command instead of using cat Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit ae215b14bdbd459afe5f371175765fae817062a8 Author: Sam Ravnborg Date: Sun Jan 8 18:39:44 2006 +0100 kconfig: factor out ncurses check in a shell script Cleaning up the lxdialog Makefile by factoring out the ncurses compatibility checks. This made the checks much more obvious and easier to extend. Signed-off-by: Sam Ravnborg commit cb757b4eefd4600a3afa58f6983addbbe82989a8 Author: Pierre Ossman Date: Sun Jan 8 14:23:02 2006 +0000 [MMC] Support MMC version 4 cards Version 4 of the MMC specification increased the version number of the CID structure. None of the fields changed though so the only required change is adding '4' to the approved list. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 5e68d95d155c94e45f16b521fd4e2bcd6c8481b1 Author: Pierre Ossman Date: Sun Jan 8 14:21:52 2006 +0000 [MMC] wbsd pnp suspend Allow the wbsd driver to use the new suspend/resume functions added to the PnP layer. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit a61c2d78ce61e67baf27c43f6721db87a27ac762 Author: Dave Jones Date: Sat Jan 7 23:18:19 2006 +0000 [SERIAL] Make the number of UARTs registered configurable. Also add a nr_uarts module option to the 8250 code to override this, up to a maximum of CONFIG_SERIAL_8250_NR_UARTS This should appease people who complain about a proliferation of /dev/ttyS & /sysfs nodes whilst at the same time allowing a single kernel image to support the rarer occasions of lots of devices. Signed-off-by: Dave Jones commit f61051cd2fc58546f28c226933942d4360810ffb Author: Russell King Date: Sat Jan 7 23:11:23 2006 +0000 [SERIAL] Fix clocal wakeup problem Jim Alexander reported a problem where "if one calls open() in blocking mode with CLOCAL off, the 8250.c driver under the 2.6 kernel (or at least 2.6.8 and 2.6.10) does not wake up the blocked process when DCD is asserted." Fix this by enabling modem status interrupts immediately before we read the carrier detect status. Thanks to Jim for reporting the problem and testing the fix. Signed-off-by: Russell King commit 9f5336e21893fafd232a9a02cfa7588ad153889a Author: Adrian Bunk Date: Sat Jan 7 13:24:25 2006 -0800 [IPV6]: small cleanups This patch contains the following cleanups: - addrconf.c: make addrconf_dad_stop() static - inet6_connection_sock.c should #include for getting the prototypes of it's global functions Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 97dc627fb3471664c72d0933790a90ba3f91e131 Author: Adrian Bunk Date: Sat Jan 7 13:23:39 2006 -0800 [IPV4]: make ip_fragment() static Since there's no longer any external user of ip_fragment() we can make it static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit f53b61d8c385140fe7f09e0c9187ae813ee9f330 Author: David S. Miller Date: Sat Jan 7 12:50:27 2006 -0800 [NETFILTER]: Add dummy nf_hook{_thresh}() when NETFILTER is disabled. Signed-off-by: David S. Miller commit da7bc6ee8ee3976696fc740065362ca442eb61c9 Author: Joe Kappus Date: Fri Jan 6 23:15:04 2006 -0800 [NETFILTER]: ip_conntrack_proto_sctp.c needs linux/interrupt.h Signed-off-by: Joe Kappus Signed-off-by: David S. Miller commit b341387225832c392ed83b9f89d15668b033a106 Author: Francois Romieu Date: Fri Jan 6 23:08:42 2006 -0800 [AX25/MKISS]: unbalanced spinlock_bh in ax_encaps() The unlocking disappeared during commit 5793f4be23f0171b4999ca68a39a9157b44139f3. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit e16a8f0b8c53312beb1d8b52e463aae79aa809c7 Author: Patrick McHardy Date: Fri Jan 6 23:06:48 2006 -0800 [NETFILTER]: Add ipt_policy/ip6t_policy matches Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit eb9c7ebe6980c41cf6ae889e301c3b49f473ee9f Author: Patrick McHardy Date: Fri Jan 6 23:06:30 2006 -0800 [NETFILTER]: Handle NAT in IPsec policy checks Handle NAT of decapsulated IPsec packets by reconstructing the struct flowi of the original packet from the conntrack information for IPsec policy checks. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b59c270104f03960069596722fea70340579244d Author: Patrick McHardy Date: Fri Jan 6 23:06:10 2006 -0800 [NETFILTER]: Keep conntrack reference until IPsec policy checks are done Keep the conntrack reference until policy checks have been performed for IPsec NAT support. The reference needs to be dropped before a packet is queued to avoid having the conntrack module unloadable. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 Author: Patrick McHardy Date: Fri Jan 6 23:05:36 2006 -0800 [NETFILTER]: Redo policy lookups after NAT when neccessary When NAT changes the key used for the xfrm lookup it needs to be done again. If a new policy is returned in POST_ROUTING the packet needs to be passed to xfrm4_output_one manually after all hooks were called because POST_ROUTING is called with fixed okfn (ip_finish_output). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4e8e9de7c25315669e2d5565acc50ec379522c28 Author: Patrick McHardy Date: Fri Jan 6 23:05:17 2006 -0800 [NETFILTER]: Use conntrack information to determine if packet was NATed Preparation for IPsec support for NAT: Use conntrack information instead of saving the saving and comparing the addresses to determine if a packet was NATed and needs to be rerouted to make it easier to extend the key. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6 Author: Patrick McHardy Date: Fri Jan 6 23:04:54 2006 -0800 [NETFILTER]: Fix xfrm lookup in ip_route_me_harder/ip6_route_me_harder ip_route_me_harder doesn't use the port numbers of the xfrm lookup and uses ip_route_input for non-local addresses which doesn't do a xfrm lookup, ip6_route_me_harder doesn't do a xfrm lookup at all. Use xfrm_decode_session and do the lookup manually, make sure both only do the lookup if the packet hasn't been transformed already. Makeing sure the lookup only happens once needs a new field in the IP6CB, which exceeds the size of skb->cb. The size of skb->cb is increased to 48b. Apparently the IPv6 mobile extensions need some more room anyway. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 8cdfab8a43bb4b3da686ea503a702cb6f9f6a803 Author: Patrick McHardy Date: Fri Jan 6 23:04:01 2006 -0800 [IPV4]: reset IPCB flags when neccessary Reset IPSKB_XFRM_TUNNEL_SIZE flags in ipip and ip_gre hard_start_xmit function before the packet reenters IP. This is neccessary so the encapsulated packets are checked not to be oversized in xfrm4_output.c again. Reset all flags in sit when a packet changes its address family. Also remove some obsolete IPSKB flags. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b05e106698d9966de524e78d9da1bf6407fe0c32 Author: Patrick McHardy Date: Fri Jan 6 23:03:34 2006 -0800 [IPV4/6]: Netfilter IPsec input hooks When the innermost transform uses transport mode the decapsulated packet is not visible to netfilter. Pass the packet through the PRE_ROUTING and LOCAL_IN hooks again before handing it to upper layer protocols to make netfilter-visibility symetrical to the output path. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 951dbc8ac714b04c36296b8b5c36c8e036ce433f Author: Patrick McHardy Date: Fri Jan 6 23:02:34 2006 -0800 [IPV6]: Move nextheader offset to the IP6CB Move nextheader offset to the IP6CB to make it possible to pass a packet to ip6_input_finish multiple times and have it skip already parsed headers. As a nice side effect this gets rid of the manual hopopts skipping in ip6_input_finish. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 16a6677fdf1d1194f688f8291b06fbaff248c353 Author: Patrick McHardy Date: Fri Jan 6 23:01:48 2006 -0800 [XFRM]: Netfilter IPsec output hooks Call netfilter hooks before IPsec transforms. Packets visit the FORWARD/LOCAL_OUT and POST_ROUTING hook before the first encapsulation and the LOCAL_OUT and POST_ROUTING hook before each following tunnel mode transform. Patch from Herbert Xu : Move the loop from dst_output into xfrm4_output/xfrm6_output since they're the only ones who need to it. xfrm{4,6}_output_one() processes the first SA all subsequent transport mode SAs and is called in a loop that calls the netfilter hooks between each two calls. In order to avoid the tail call issue, I've added the inline function nf_hook which is nf_hook_slow plus the empty list check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee2e6841b934d76cb944a3390bbea84da777d4fa Author: Luiz Capitulino Date: Fri Jan 6 22:59:43 2006 -0800 [XFRM]: Fix sparse warning. security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit aa0e4e4aea8d9e0a559a884336d728f0263063e0 Author: David S. Miller Date: Fri Jan 6 22:55:39 2006 -0800 [DCCP]: ipv6.c needs net/ip6_checksum.c Reported by Dave Jones. Signed-off-by: David S. Miller commit d354d9afe923eb08f7ee89128b38ddb6415de01d Author: Knut Petersen Date: Sat Jan 7 10:22:04 2006 +0100 [PATCH] fbcon: don´t call set_par() in fbcon_init() if vc_mode == KD_GRAPHICS Nothing prevents a user to modprobe a framebuffer driver from e.g. the xterm prompt. As a result, the set_par() function of the driver will be called from fbcon_init(). This is fatal as a lot of X / framebuffer combinations are unable to recover from set_par() reprogramming the graphics controller in KD_GRAPHICS mode. It is also unnecessary as the set_par() function will be called during a switch to KD_TEXT anyway. Because of this no side effects are possible. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds commit fe5dd7c73d328b255286b6b65ca19dd34447f709 Author: Russell King Date: Sat Jan 7 16:55:50 2006 +0000 [ARM] byteorder.h needs linux/compiler.h Signed-off-by: Russell King commit 736ce43295682d060f2b93624b4a339f9af6aab1 Author: Vernon Mauery Date: Sat Jan 7 11:35:05 2006 -0500 Input: ibmasm - convert to dynamic input_dev allocation Update the ibmasm driver to use the dynamic allocation of input_dev structs to work with the sysfs subsystem. Vojtech: Fixed some problems/bugs in the patch. Dmitry: Fixed some more. Signed-off-by: Vernon Mauery Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit f8ce25476d5f12ffa29b885e49c38cd95053437e Author: Russell King Date: Sat Jan 7 16:15:52 2006 +0000 [ARM] Move asm/hardware/clock.h to linux/clk.h This is needs to be visible to other architectures using the AMBA bus and peripherals. Signed-off-by: Russell King commit de1d815fccee1f4766a7e56054ab0ec3f6f3a7db Author: Russell King Date: Sat Jan 7 14:54:15 2006 +0000 [ARM] Move AMBA bus code to drivers/amba/ Make the AMBA bus code visible to other architectures. Signed-off-by: Russell King commit a62c80e559809e6c7851ec04d30575e85ad6f6ed Author: Russell King Date: Sat Jan 7 13:52:45 2006 +0000 [ARM] Move AMBA include files to include/linux/amba/ Since the ARM AMBA bus is used on MIPS as well as ARM, we need to make the bus available for other architectures to use. Move the AMBA include files from include/asm-arm/hardware/ to include/linux/amba/ Signed-off-by: Russell King commit 6351610d6906aacbf9176cbdd045dd3876eec4c0 Author: Andre McCurdy Date: Sat Jan 7 11:39:20 2006 +0000 [ARM] 3239/1: Add ARM optimised swab32 Patch from Andre McCurdy Replaces generic swab32 routine with a more ARM friendly version. Reduces kernel text size by approx 1200 bytes when compiled with 3.4.4 and approx 2400 bytes with 4.0.2 Probably some performance benefit as well. Signed-off-by: Andre McCurdy Signed-off-by: Russell King commit 2c041f4b9be5cecbd0a042ecd9122a9db6f50416 Author: Richard Purdie Date: Sat Jan 7 11:12:26 2006 +0000 [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error Patch from Richard Purdie Fix a gcc4 build error (incomplete element type) in the pxa SharpSL PM code. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f99c89297cd6995ccad6394c87383941c2570fe9 Author: Pavel Pisa Date: Sat Jan 7 10:44:32 2006 +0000 [ARM] 3232/1: i.MX Frame Buffer undeclared "dev" variable fix Patch from Pavel Pisa Correction of the code broken by update whole-tree platform devices update. Signed-off-by: Pavel Pisa Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit f9a204e1de73a7007de66fb289e1d64a7665c9b4 Author: Borislav Petkov Date: Fri Jan 6 01:31:00 2006 -0500 [ACPI] remove Kconfig "default y" for laptop drivers Signed-off-by: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit d758a8fa8ce0566947677f7e70bf70c57ad9445c Author: Randy Dunlap Date: Fri Jan 6 01:31:00 2006 -0500 [ACPI] fix kernel-doc warnings in acpi/scan.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 0aec63e67c69545ca757a73a66f5dcf05fa484bf Author: David S. Miller Date: Fri Jan 6 15:36:48 2006 -0800 [PATCH] Fix posix-cpu-timers sched_time accumulation I've spent the past 3 days digging into a glibc testsuite failure in current CVS, specifically libc/rt/tst-cputimer1.c The thr1 and thr2 timers fire too early in the second pass of this test. The second pass is noteworthy because it makes use of intervals, whereas the first pass does not. All throughout the posix-cpu-timers.c code, the calculation of the process sched_time sum is implemented roughly as: unsigned long long sum; sum = tsk->signal->sched_time; t = tsk; do { sum += t->sched_time; t = next_thread(t); } while (t != tsk); In fact this is the exact scheme used by check_process_timers(). In the case of check_process_timers(), current->sched_time has just been updated (via scheduler_tick(), which is invoked by update_process_times(), which subsequently invokes run_posix_cpu_timers()) So there is no special processing necessary wrt. that. In other contexts, we have to allot for the fact that tsk->sched_time might be a bit out of date if we are current. And the posix-cpu-timers.c code uses current_sched_time() to deal with that. Unfortunately it does so in an erroneous and inconsistent manner in one spot which is what results in the early timer firing. In cpu_clock_sample_group_locked(), it does this: cpu->sched = p->signal->sched_time; /* Add in each other live thread. */ while ((t = next_thread(t)) != p) { cpu->sched += t->sched_time; } if (p->tgid == current->tgid) { /* * We're sampling ourselves, so include the * cycles not yet banked. We still omit * other threads running on other CPUs, * so the total can always be behind as * much as max(nthreads-1,ncpus) * (NSEC_PER_SEC/HZ). */ cpu->sched += current_sched_time(current); } else { cpu->sched += p->sched_time; } The problem is the "p->tgid == current->tgid" test. If "p" is not current, and the tgids are the same, we will add the process t->sched_time twice into cpu->sched and omit "p"'s sched_time which is very very very wrong. posix-cpu-timers.c has a helper function, sched_ns(p) which takes care of this, so my fix is to use that here instead of this special tgid test. The fact that current can be one of the sub-threads of "p" points out that we could make things a little bit more accurate, perhaps by using sched_ns() on every thread we process in these loops. It also points out that we don't use the most accurate value for threads in the group actively running other cpus (and this is mentioned in the comment). But that is a future enhancement, and this fix here definitely makes sense. Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 4f8448dfe8d3804fadad90c9b77494238b4a4eae Author: Ralph Campbell Date: Fri Jan 6 16:43:47 2006 -0800 IB: Set GIDs correctly in ib_create_ah_from_wc() ib_create_ah_from_wc() doesn't create the correct return address (AH) when there is a GRH present (source & dest GIDs need to be swapped). Signed-off-by: Ralph Campbell Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ac4e7b35579de55db50d602a472858867808a9c3 Author: Jack Morgenstein Date: Fri Jan 6 16:43:14 2006 -0800 IB/uverbs: Release event file reference on ib_uverbs_create_cq() error ib_uverbs_create_cq() should release the completion channel event file if an error occurs after it looks it up. Also, if userspace asks for a completion channel and we don't find it, an error should be returned instead of silently creating a CQ without a completion channel. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ea5d4a6ad2bfd1006790666981645cab43d3afbd Author: Ralph Campbell Date: Fri Jan 6 16:24:45 2006 -0800 IB/uverbs: set ah_flags when creating address handle AH attribute's ah_flags need to be set according to the is_global flag passed in from userspace. Signed-off-by: Roland Dreier commit b4ca1a3f8ca24033d7b7ef595faef97d9f8b2326 Author: Jack Morgenstein Date: Fri Jan 6 16:21:19 2006 -0800 IB/uverbs: Fix reference counting on error paths If an operation fails after incrementing an object's reference count, then it should decrement the reference count on the error path. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 221fc10ec89834329e5613e3cab4569ba22da410 Author: Evgeniy Date: Fri Jan 6 21:18:01 2006 +0300 [PATCH] fs/ufs: debug mode compilation failure This patch should fix compilation failure of fs/ufs/dir.c with defined UFS_DIR_DEBUG Signed-off-by: Evgeniy Dushistov Signed-off-by: Linus Torvalds commit 76832c28de4fabbf32fe1e5a25194724a3430070 Author: Dimitri Sivanich Date: Fri Jan 6 11:33:41 2006 -0600 [PATCH] shrink mmtimer memory size This greatly reduces the amount of memory used by mmtimer on smaller machines with large values of MAX_COMPACT_NODES. Signed-off-by: Dimitri Sivanich Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit c0e7dcc8bc01d7ea1865e7040a586207d1b34b36 Author: Adrian Bunk Date: Fri Jan 6 18:26:29 2006 +0100 [PATCH] MAINTAINERS: remove the outdated DAC960 entry Randy Dunlap: "Dave is no longer at OSDL and is no longer maintaining that driver." Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds commit d51bfb7852d0e524074ad1cf04e4c3026d75d652 Author: Sam Ravnborg Date: Fri Jan 6 22:35:59 2006 +0100 kbuild: introduce escsq to escapre single quotes This makes things a little bit more reader friendly and gvim is less confused. Signed-off-by: Sam Ravnborg commit a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c Author: Alexey Dobriyan Date: Fri Jan 6 13:24:54 2006 -0800 [NET]: Endian-annotate in_aton() Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 Author: Alexey Dobriyan Date: Fri Jan 6 13:24:29 2006 -0800 [NET]: Endian-annotate struct iphdr And fix trivial warnings that emerged. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 4de144bf721e46e7ccc8fed45b20a640cc364904 Author: Dotan Barak Date: Fri Jan 6 13:23:58 2006 -0800 IB/mthca: Add support for automatic path migration (APM) Add code to modify QP operation to handle setting alternate paths for connected QPs. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5f8ac64b15172c7ced7d7990eb28342092bc751b Author: Trent Jaeger Date: Fri Jan 6 13:22:39 2006 -0800 [LSM-IPSec]: Corrections to LSM-IPSec Nethooks This patch contains two corrections to the LSM-IPsec Nethooks patches previously applied. (1) free a security context on a failed insert via xfrm_user interface in xfrm_add_policy. Memory leak. (2) change the authorization of the allocation of a security context in a xfrm_policy or xfrm_state from both relabelfrom and relabelto to setcontext. Signed-off-by: Trent Jaeger Signed-off-by: David S. Miller commit 69549ddd2f894c4cead50ee2b60cc02990c389ad Author: Luiz Capitulino Date: Fri Jan 6 13:19:31 2006 -0800 [PKTGEN]: Adds missing __init. pktgen_find_thread() and pktgen_create_thread() are only called at initialization time. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 036d25f79ddfbc9878da24ef8e468a6d22caa605 Author: Len Brown Date: Fri Jan 6 16:19:26 2006 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 3cbc4ab58f79853740bf21f3736913d223ee50d4 Author: Joe Date: Fri Jan 6 13:15:11 2006 -0800 [NETFILTER]: ipt_helper.c needs linux/interrupt.h From: Joe Signed-off-by: David S. Miller commit 0f8e8f9607d77ffc1f9820446dfcf781e96fdfd4 Author: Michael S. Tsirkin Date: Fri Jan 6 13:13:32 2006 -0800 IB/mthca: Fill in vendor_err field in completion with error Fill vendor_err field in completion with error. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ee02b3a613a692a40e0f48a25d9d60cc751ebbe5 Author: Stephen Hemminger Date: Fri Jan 6 13:13:29 2006 -0800 [BRIDGE] netfilter: vlan + hw checksum = bug? It looks like the bridge netfilter code does not correctly update the hardware checksum after popping off the VLAN header. This is by inspection, I have *not* tested this. To test you would need to set up a filtering bridge with vlans and a device the does hardware receive checksum (skge, or sungem) Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a20a8554796bc4e28879beabd0db4bf3ce77b686 Author: Shaun Pereira Date: Fri Jan 6 13:11:35 2006 -0800 [X25]: Fix for broken x25 module. When a user-space server application calls bind on a socket, then in kernel space this bound socket is considered 'x25-linked' and the SOCK_ZAPPED flag is unset.(As in x25_bind()/af_x25.c). Now when a user-space client application attempts to connect to the server on the listening socket, if the kernel accepts this in-coming call, then it returns a new socket to userland and attempts to reply to the caller. The reply/x25_sendmsg() will fail, because the new socket created on call-accept has its SOCK_ZAPPED flag set by x25_make_new(). (sock_init_data() called by x25_alloc_socket() called by x25_make_new() sets the flag to SOCK_ZAPPED)). Fix: Using the sock_copy_flag() routine available in sock.h fixes this. Tested on 32 and 64 bit kernels with x25 over tcp. Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 5ceb74557c71465cf8f6fda050aac00e53f9ad3d Author: Jack Morgenstein Date: Fri Jan 6 13:11:07 2006 -0800 IB/mthca: multiple fixes for multicast group handling Multicast group management fixes: . Fix leak of mailbox memory in error handling on multicast group operations. . Free AMGM indices at detach and in attach error handling. . Fix amount to shift for aligning next_gid_index in mailbox: it starts at bit 6, not bit 5. . Allocate AMGM index after end of MGM table, in the range num_mgms to multicast table size - 1. Add some BUG_ON checks to catch cases where the index falls in the MGM hash area. . Initialize the list of QPs in a newly-allocated group from AMGM to 0 This is necessary since when a group is moved from AMGM to MGM (in the case where the MGM entry has been emptied of QPs), the AMGM entry is not reset to 0 (and we don't want an extra command to do that). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4bad4dc919573dbe9a5b41dd9edff279e99822d7 Author: Kris Katterjohn Date: Fri Jan 6 13:08:20 2006 -0800 [NET]: Change sk_run_filter()'s return type in net/core/filter.c It should return an unsigned value, and fix sk_filter() as well. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit dbbc0988288d9643044e8bd8c7e7de70016ecd23 Author: Kris Katterjohn Date: Fri Jan 6 13:05:58 2006 -0800 [NET]: Use newer is_multicast_ether_addr() in some files This uses is_multicast_ether_addr() because it has recently been changed to do the same thing these seperate tests are doing. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 0d3b525fff40475e58dab9176740d2efc5f37838 Author: Jack Morgenstein Date: Fri Jan 6 13:03:43 2006 -0800 IB/mthca: fix for RTR-to-RTS transition in modify QP PKEY_INDEX is not a legal parameter in the RTR->RTS transition. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0364ffc3e8c441d4185e3eb41ecc61dbb09614e4 Author: Jack Morgenstein Date: Fri Jan 6 13:01:27 2006 -0800 IB/mthca: fix for SQEr-to-RTS transition in modify QP Fixes to SQEr->RTS transition in modify_qp: 1. The flag IB_QP_ACCESS_FLAGS is optional for UC qps 2. The SQEr state is not supported for RC qps Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 5b3bc7a68171138d52b1b62012c37ac888895460 Author: Jack Morgenstein Date: Fri Jan 6 12:57:30 2006 -0800 IB/mthca: max_inline_data handling tweaks Fix a case where copying max_inline_data from a successful create_qp capabilities output to create_qp input could cause EINVAL error: mthca_set_qp_size must check max_inline_data directly against max_desc_sz; checking qp->sq.max_gs is wrong since max_inline_data depends on the qp type and does not involve max_sg. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 37193147991a53b2e9f573d0ec47f63a2d4de8dc Author: Adrian Bunk Date: Mon Jan 2 11:25:30 2006 +0100 kconfig: fix gconfig with POSIXLY_CORRECT=1 This patch fixed "make gconfig" with POSIXLY_CORRECT=1 set. This issue was reported by Jens Elkner in kernel Bugzilla #2919. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 367cb704212cd0c9273ba2b1e62523139210563b Author: Sam Ravnborg Date: Fri Jan 6 21:17:50 2006 +0100 kbuild: un-stringnify KBUILD_MODNAME Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when used. Remove __stringnify for all users. This also fixes the output of: $ ls -l /sys/module/ drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor" drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse" The quoting of the module names will be gone again. Thanks to GregKH + Kay Sievers for reproting this. Signed-off-by: Sam Ravnborg commit 9e56904e41e242169007e69d9916059dab995d90 Author: J. Bruce Fields Date: Tue Jan 3 09:56:01 2006 +0100 SUNRPC: Make krb5 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 42181d4bafe9047d0cd7f92fc11d79496bd95034 Author: J. Bruce Fields Date: Tue Jan 3 09:56:01 2006 +0100 SUNRPC: Make spkm3 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 Author: J. Bruce Fields Date: Tue Jan 3 09:56:00 2006 +0100 SUNRPC: Update the spkm3 code to use the make_checksum interface Also update the tokenlen calculations to accomodate g_token_size(). Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 Author: Trond Myklebust Date: Tue Jan 3 09:55:58 2006 +0100 NFSv4: Fix an Oops in nfs_do_expire_all_delegations If the loop errors, we need to exit. Signed-off-by: Trond Myklebust commit 58df095b732529ade8f4051b41d7c29731afecd6 Author: Trond Myklebust Date: Tue Jan 3 09:55:57 2006 +0100 NFSv4: Allow entries in the idmap cache to expire If someone changes the uid/gid mapping in userland, then we do eventually want those changes to be propagated to the kernel. Currently the kernel assumes that it may cache entries forever. Add an expiration time + garbage collector for idmap entries. Signed-off-by: Trond Myklebust commit 0065db328533c390fbfb0fe0c46bcf9a278fb99e Author: Trond Myklebust Date: Tue Jan 3 09:55:56 2006 +0100 SUNRPC: Clean up xprt_destroy() We ought never to be calling xprt_destroy() if there are still active rpc_tasks. Optimise away the broken code that attempts to "fix" that case. Signed-off-by: Trond Myklebust commit 632e3bdc5006334cea894d078660b691685e1075 Author: Trond Myklebust Date: Tue Jan 3 09:55:55 2006 +0100 SUNRPC: Ensure client closes the socket when server initiates a close If the server decides to close the RPC socket, we currently don't actually respond until either another RPC call is scheduled, or until xprt_autoclose() gets called by the socket expiry timer (which may be up to 5 minutes later). This patch ensures that xprt_autoclose() is called much sooner if the server closes the socket. Signed-off-by: Trond Myklebust commit eadb8c147154bff982f02accf31b847a1f142ace Author: Trond Myklebust Date: Tue Jan 3 09:55:54 2006 +0100 NFS: get rid of some needless code obfuscation in xdr_encode_sattr(). Signed-off-by: Trond Myklebust commit cf3fff54a46e1f8fa4cc1deb783172a392077eb0 Author: Trond Myklebust Date: Tue Jan 3 09:55:53 2006 +0100 NFS: Send valid mode bits to the server inode->i_mode contains a lot more than just the mode bits. Make sure that we mask away this extra stuff in SETATTR calls to the server. Signed-off-by: Trond Myklebust commit f518e35aec984036903c1003e867f833747a9d79 Author: Chuck Lever Date: Tue Jan 3 09:55:52 2006 +0100 SUNRPC: get rid of cl_chatty Clean up: Every ULP that uses the in-kernel RPC client, except the NLM client, sets cl_chatty. There's no reason why NLM shouldn't set it, so just get rid of cl_chatty and always be verbose. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 922004120b10dcb0ce04b55014168e8a7a8c1a0e Author: Chuck Lever Date: Tue Jan 3 09:55:51 2006 +0100 SUNRPC: transport switch API for setting port number At some point, transport endpoint addresses will no longer be IPv4. To hide the structure of the rpc_xprt's address field from ULPs and port mappers, add an API for setting the port number during an RPC bind operation. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 35f5a422ce1af836007f811b613c440d0e348e06 Author: Chuck Lever Date: Tue Jan 3 09:55:50 2006 +0100 SUNRPC: new interface to force an RPC rebind We'd like to hide fields in rpc_xprt and rpc_clnt from upper layer protocols. Start by creating an API to force RPC rebind, replacing logic that simply sets cl_port to zero. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 02107148349f31eee7c0fb06fd7a880df73dbd20 Author: Chuck Lever Date: Tue Jan 3 09:55:49 2006 +0100 SUNRPC: switchable buffer allocation Add RPC client transport switch support for replacing buffer management on a per-transport basis. In the current IPv4 socket transport implementation, RPC buffers are allocated as needed for each RPC message that is sent. Some transport implementations may choose to use pre-allocated buffers for encoding, sending, receiving, and unmarshalling RPC messages, however. For transports capable of direct data placement, the buffers can be carved out of a pre-registered area of memory rather than from a slab cache. Test-plan: Millions of fsx operations. Performance characterization with "sio" and "iozone". Use oprofile and other tools to look for significant regression in CPU utilization. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03c21733938aad0758f5f88e1cc7ede69fc3c910 Author: J. Bruce Fields Date: Tue Jan 3 09:55:48 2006 +0100 NFSv3: try get_root user-supplied security_flavor Thanks to Ed Keizer for bug and root cause. He says: "... we could only mount the top-level Solaris share. We could not mount deeper into the tree. Investigation showed that Solaris allows UNIX authenticated FSINFO only on the top level of the share. This is a problem because we share/export our home directories one level higher than we mount them. I.e. we share the partition and not the individual home directories. This prevented access to home directories." We still may need to try auth_sys for the case where the client doesn't have appropriate credentials. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit a659753ecc66945e9c69823fcbbe222b446c66d7 Author: J. Bruce Fields Date: Tue Jan 3 09:55:46 2006 +0100 NLM: fix parsing of sm notify procedure The procedure that decodes statd sm_notify call seems to be skipping a few arguments. How did this ever work? >From folks at Polyserve. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 64a318ee2af9000df482d7a125c3b3e1f1007404 Author: J. Bruce Fields Date: Tue Jan 3 09:55:46 2006 +0100 NLM: Further cancel fixes If the server receives an NLM cancel call and finds no waiting lock to cancel, then chances are the lock has already been applied, and the client just hadn't yet processed the NLM granted callback before it sent the cancel. The Open Group text, for example, perimts a server to return either success (LCK_GRANTED) or failure (LCK_DENIED) in this case. But returning an error seems more helpful; the client may be able to use it to recognize that a race has occurred and to recover from the race. So, modify the relevant functions to return an error in this case. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2c5acd2e1a73cad59203a1bace21e6b03f2920a9 Author: J. Bruce Fields Date: Tue Jan 3 09:55:45 2006 +0100 NLM: clean up nlmsvc_delete_block The fl_next check here is superfluous (and possibly a layering violation). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 5996a298da43a03081e9ba2116983d173001c862 Author: J. Bruce Fields Date: Tue Jan 3 09:55:44 2006 +0100 NLM: don't unlock on cancel requests Currently when lockd gets an NLM_CANCEL request, it also does an unlock for the same range. This is incorrect. The Open Group documentation says that "This procedure cancels an *outstanding* blocked lock request." (Emphasis mine.) Also, consider a client that holds a lock on the first byte of a file, and requests a lock on the entire file. If the client cancels that request (perhaps because the requesting process is signalled), the server shouldn't apply perform an unlock on the entire file, since that will also remove the previous lock that the client was already granted. Or consider a lock request that actually *downgraded* an exclusive lock to a shared lock. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f232142cc21127c829559923eb405d1bcb2e2278 Author: J. Bruce Fields Date: Tue Jan 3 09:55:42 2006 +0100 NLM: Clean up nlmsvc_grant_reply locking Slightly simpler logic here makes it more trivial to verify that the up's and down's are balanced here. Break out an assignment from a conditional while we're at it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit fb459f45f7c7689714023d41b3dca999bb90a5d3 Author: Adrian Bunk Date: Tue Jan 3 09:55:41 2006 +0100 SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() This patch removes ths unused function xdr_decode_string(). Signed-off-by: Adrian Bunk Acked-by: Neil Brown Acked-by: Charles Lever Signed-off-by: Trond Myklebust commit a72b44222d222749d54b3e370d825094352e389f Author: Trond Myklebust Date: Tue Jan 3 09:55:41 2006 +0100 NFSv4: Allow user to set the port used by the NFSv4 callback channel Signed-off-by: Trond Myklebust commit a895b4a198dd06f8353328867e4f6cfd28b63081 Author: Trond Myklebust Date: Tue Jan 3 09:55:40 2006 +0100 NFS: Clean up weak cache consistency code ...and ensure that nfs_update_inode() respects wcc Signed-off-by: Trond Myklebust commit fa178f29c0f8a0dce748181a5351f4a92fd4f455 Author: Trond Myklebust Date: Tue Jan 3 09:55:38 2006 +0100 NFSv4: Ensure DELEGRETURN returns attributes Upon return of a write delegation, the server will almost always bump the change attribute. Ensure that we pick up that change so that we don't invalidate our data cache unnecessarily. Signed-off-by: Trond Myklebust commit beb2a5ec386e5ce6891ebd1c06b913da04354b40 Author: Trond Myklebust Date: Tue Jan 3 09:55:37 2006 +0100 NFSv4: Ensure change attribute returned by GETATTR callback conforms to spec According to RFC3530 we're supposed to cache the change attribute at the time the client receives a write delegation. If the inode is clean, a CB_GETATTR callback by the server to the client is supposed to return the cached change attribute. If, OTOH, the inode is dirty, the client should bump the cached change attribute by 1. Signed-off-by: Trond Myklebust commit 969b7f2522c90dfed5d0d2553a91522bda2c3bf3 Author: Trond Myklebust Date: Tue Jan 3 09:55:36 2006 +0100 SUNRPC: Fix a potential race in rpc_pipefs. Signed-off-by: Trond Myklebust commit 566dd6064e89b15ff2dec666a421bebf0f98f26c Author: Trond Myklebust Date: Tue Jan 3 09:55:35 2006 +0100 NFS: Make directIO aware of compound pages... ...and avoid calling set_page_dirty on them Signed-off-by: Trond Myklebust commit 70b9ecbdb9c5fdc731f8780bffd45d9519020c4a Author: Trond Myklebust Date: Tue Jan 3 09:55:34 2006 +0100 NFS: Make stat() return updated mtimes after a write() The SuS states that a call to write() will cause mtime to be updated on the file. In order to satisfy that requirement, we need to flush out any cached writes in nfs_getattr(). Speed things up slightly by not committing the writes. Signed-off-by: Trond Myklebust commit 24174119c73983d5217da8f56a12c79a9b57e056 Author: Trond Myklebust Date: Tue Jan 3 09:55:33 2006 +0100 NFSv4: Ensure that we return the delegation on the target of a rename too. Signed-off-by: Trond Myklebust commit 40859d7ee64ed6bfad8a4e93f9bb5c1074afadff Author: Chuck Lever Date: Wed Nov 30 18:09:02 2005 -0500 NFS: support large reads and writes on the wire Most NFS server implementations allow up to 64KB reads and writes on the wire. The Solaris NFS server allows up to a megabyte, for instance. Now the Linux NFS client supports transfer sizes up to 1MB, too. This will help reduce protocol and context switch overhead on read/write intensive NFS workloads, and support larger atomic read and write operations on servers that support them. Test-plan: Connectathon and iozone on mount point with wsize=rsize>32768 over TCP. Tests with NFS over UDP to verify the maximum RPC payload size cap. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 325cfed9ae901320e9234b18c21434b783dbe342 Author: Chuck Lever Date: Wed Nov 30 18:08:55 2005 -0500 NFS: make "inode number mismatch" message more useful To help NFS users and server developers, make the "inode number mismatch" message display more useful information. Test-plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit dc20f803904dbf30f834dcc43c14701dfce32491 Author: Chuck Lever Date: Wed Nov 30 18:08:57 2005 -0500 NFS: get rid of useless kernel log message nfs_statfs() generates a log message when GETATTR returns an error. This is usually a useless message. Make it a dprintk. Test plan: None Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a911fd9a6046200e439b4af172e8379c0942eec3 Author: Chuck Lever Date: Wed Nov 30 18:08:59 2005 -0500 NFS: simplify inlined bit ops in nfs_page.h Minor cleanup: inlined bit ops in nfs_page.h can be simpler. Test plan: Write-intensive workload against a server that requires COMMITs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6b59a75460eb9527145d7bd55068e5d32bee8a44 Author: Chuck Lever Date: Wed Nov 30 18:08:19 2005 -0500 NFS: Fix error recovery code in fs/nfs/inode.c:__init_nfs() Red Hat found a problem in the error recovery logic in __init_nfs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ce1a8e6796150233f5098100f70217521dc7c08f Author: Chuck Lever Date: Wed Nov 30 18:08:17 2005 -0500 NFS: use generic_write_checks() to sanity check direct writes Replace ad hoc write parameter sanity checking in nfs_file_direct_write() with a call to generic_write_checks(). This should make the proper checks modulo the O_LARGEFILE flag, and should catch NFSv2-specific limitations by virtue of i_sb->s_maxbytes. Test plan: Posix compliance testing with both NFSv2 and NFSv3. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 286d7d6a0cb38d3d4316a1dfea9b0c0fc5a6455b Author: Trond Myklebust Date: Tue Jan 3 09:55:26 2006 +0100 NFSv4: Remove requirement for machine creds for the "setclientid" operation Use a cred from the nfs4_client->cl_state_owners list. Signed-off-by: Trond Myklebust commit b4454fe1a7cb76a248d0641c9d68a44a1b8d9a1f Author: Trond Myklebust Date: Tue Jan 3 09:55:25 2006 +0100 NFSv4: Remove requirement for machine creds for the "renew" operation In RFC3530, the RENEW operation is allowed to use either the same principal, RPC security flavour and (if RPCSEC_GSS), the same mechanism and service that was used for SETCLIENTID_CONFIRM OR Any principal, RPC security flavour and service combination that currently has an OPEN file on the server. Choose the latter since that doesn't require us to keep credentials for the same principal for the entire duration of the mount. Signed-off-by: Trond Myklebust commit 58d9714a44a79bba9b414da3ffbf3c753dc5915f Author: Trond Myklebust Date: Tue Jan 3 09:55:24 2006 +0100 NFSv4: Send RENEW requests to the server only when we're holding state Signed-off-by: Trond Myklebust commit 5043e900f5404c01864fbeb5826aa7de3981bbc1 Author: Trond Myklebust Date: Tue Jan 3 09:55:23 2006 +0100 NFS: Convert instances of kernel_thread() to kthread() Convert private implementations in NFSv4 state recovery and delegation code to use kthreads. Signed-off-by: Trond Myklebust commit 433fbe4c8837e3cc2ba6a6374edf28737d01a2e9 Author: Trond Myklebust Date: Tue Jan 3 09:55:22 2006 +0100 NFSv4: State recovery cleanup Use wait_on_bit() when waiting for state recovery to complete. Signed-off-by: Trond Myklebust commit 26e976a884be9aa08f8ff906372f25f68df0d948 Author: Trond Myklebust Date: Tue Jan 3 09:55:21 2006 +0100 NFSv4: OPEN/LOCK/LOCKU/CLOSE will automatically renew the NFSv4 lease Cut down on the number of unnecessary RENEW requests on the wire. Signed-off-by: Trond Myklebust commit 2bd615797ef32ec06ef0ee44198a7aecc21ffd8c Author: Trond Myklebust Date: Tue Jan 3 09:55:19 2006 +0100 SUNRPC: Ensure that SIGKILL will always terminate a synchronous RPC call. ...and make sure that the "intr" flag also enables SIGHUP and SIGTERM to interrupt RPC calls too (as per the Solaris implementation). Signed-off-by: Trond Myklebust commit fe650407a86823bcafbfbee96c7bc6a1b5cd1c76 Author: Trond Myklebust Date: Tue Jan 3 09:55:18 2006 +0100 NFSv4: Make DELEGRETURN an interruptible operation. Signed-off-by: Trond Myklebust commit a5d16a4d090bd2af86e648ed9bb205903fcf1e86 Author: Trond Myklebust Date: Tue Jan 3 09:55:17 2006 +0100 NFSv4: Convert LOCK rpc call into an asynchronous RPC call In order to allow users to interrupt/cancel it. Signed-off-by: Trond Myklebust commit 911d1aaf26fc4d771174d98fcab710a44e2a5fa0 Author: Trond Myklebust Date: Tue Jan 3 09:55:16 2006 +0100 NFSv4: locking XDR cleanup Get rid of some unnecessary intermediate structures Signed-off-by: Trond Myklebust commit 864472e9b8fa76ffaad17dfcb84d79e16df6828c Author: Trond Myklebust Date: Tue Jan 3 09:55:15 2006 +0100 NFSv4: Make open recovery track O_RDWR, O_RDONLY and O_WRONLY correctly When recovering from a delegation recall or a network partition, we need to replay open(O_RDWR), open(O_RDONLY) and open(O_WRONLY) separately. Signed-off-by: Trond Myklebust commit e761692381f294ea079d2e869fcd7c0afc79e394 Author: Trond Myklebust Date: Tue Jan 3 09:55:13 2006 +0100 NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately A closer reading of RFC3530 reveals that OPEN_DOWNGRADE must always specify a access modes that have been the argument of a previous OPEN operation. IOW: doing OPEN(O_RDWR) and then OPEN_DOWNGRADE(O_WRONLY) is forbidden unless the user called OPEN(O_WRONLY) In order to fix that, we really need to track the three possible open states separately. Signed-off-by: Trond Myklebust commit cdd4e68b5f0ed12c64b3e2be83655d2a47588a74 Author: Trond Myklebust Date: Tue Jan 3 09:55:12 2006 +0100 NFSv4: Make open_confirm() asynchronous too Signed-off-by: Trond Myklebust commit 24ac23ab88df5b21b5b2df8cde748bf99b289099 Author: Trond Myklebust Date: Tue Jan 3 09:55:11 2006 +0100 NFSv4: Convert open() into an asynchronous RPC call OPEN is a stateful operation, so we must ensure that it always completes. In order to allow users to interrupt the operation, we need to make the RPC call asynchronous, and then wait on completion (or cancel). Signed-off-by: Trond Myklebust commit e60859ac0e50f660d23b72e42e05f58757dcfeff Author: Trond Myklebust Date: Tue Jan 3 09:55:10 2006 +0100 SUNRPC: rpc_execute should not return task->tk_status; Signed-off-by: Trond Myklebust commit 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 Author: Trond Myklebust Date: Tue Jan 3 09:55:09 2006 +0100 SUNRPC: Get rid of some unused exports Signed-off-by: Trond Myklebust commit e56e0b78eb1097a8e06512b9ed4be94d7538e7ac Author: Trond Myklebust Date: Tue Jan 3 09:55:08 2006 +0100 NFSv4: Allocate OPEN call RPC arguments using kmalloc() Cleanup in preparation for making OPEN calls interruptible by the user. Signed-off-by: Trond Myklebust commit 06f814a3ad0ddfe19e6e4f44e3da5d490547faf3 Author: Trond Myklebust Date: Tue Jan 3 09:55:07 2006 +0100 NFSv4: Make locku use the new RPC "wait on completion" interface. Signed-off-by: Trond Myklebust commit 44c288732fdbd7e38460d156a40d29590bf93bce Author: Trond Myklebust Date: Tue Jan 3 09:55:06 2006 +0100 NFSv4: stateful NFSv4 RPC call interface The NFSv4 model requires us to complete all RPC calls that might establish state on the server whether or not the user wants to interrupt it. We may also need to schedule new work (including new RPC calls) in order to cancel the new state. The asynchronous RPC model will allow us to ensure that RPC calls always complete, but in order to allow for "synchronous" RPC, we want to add the ability to wait for completion. The waits are, of course, interruptible. Signed-off-by: Trond Myklebust commit 4ce70ada1ff1d0b80916ec9ec5764ce44a50a54f Author: Trond Myklebust Date: Tue Jan 3 09:55:05 2006 +0100 SUNRPC: Further cleanups Signed-off-by: Trond Myklebust commit 963d8fe53339128ee46a7701f2e36305f0ccff8c Author: Trond Myklebust Date: Tue Jan 3 09:55:04 2006 +0100 RPC: Clean up RPC task structure Shrink the RPC task structure. Instead of storing separate pointers for task->tk_exit and task->tk_release, put them in a structure. Also pass the user data pointer as a parameter instead of passing it via task->tk_calldata. This enables us to nest callbacks. Signed-off-by: Trond Myklebust commit abbcf28f23d53e8ec56a91f3528743913fa2694a Author: Trond Myklebust Date: Tue Jan 3 09:55:03 2006 +0100 SUNRPC: Yet more RPC cleanups Signed-off-by: Trond Myklebust commit abd3e641d5ef9f836ab2f2b04d80b8619b051531 Author: Trond Myklebust Date: Tue Jan 3 09:55:02 2006 +0100 NFS: Work correctly with single-page ->writepage() calls Ensure that we always initiate flushing of data before we exit a single-page ->writepage() call. Signed-off-by: Trond Myklebust commit 22905f775dd6a8b73be99826dcad07ceec00244b Author: Andrew Morton Date: Wed Nov 16 15:07:01 2005 -0800 identify multipage ->writepages() calls NFS needs to be able to distinguish between single-page ->writepage() calls and multipage ->writepages() calls. For the single-page writepage calls NFS can kick off the I/O within the context of ->writepage(). For multipage ->writepages calls, nfs_writepage() will leave the I/O pending and nfs_writepages() will kick off the I/O when it all has been queued up within NFS. Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 20ede2741551d4a1d24313292beb0da915a55911 Author: Brian Gerst Date: Thu Jan 5 12:10:52 2006 -0500 gitignore: ignore shared objects Many arches make shared objects for VDSOs. Generally exclude them. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 117a93db1dcd6ed61336b27e4e2938f791c1841b Author: Rene Scharfe Date: Wed Jan 4 20:42:03 2006 +0100 kbuild: Use git in scripts/setlocalversion Currently scripts/setlocalversion is a Perl script that tries to figure out the current git commit ID of a repo without using git. It also imports Digest::MD5 without using it and generally is too big for the small task it does. :] And it always reports a git ID, even when the HEAD is tagged -- this is a bug. This patch replaces it with a Bourne Shell script that uses git commands to do the same. I can't come up with a scenario where someone would use a git repo and refuse to install git core at the same time, so I think it's reasonable to assume git is available. The new script also reports uncommitted changes by adding -git_dirty to the version string. Obviously you can't see from that _what_ has been changed from the last commit, so it's more of a reminder that you forgot to commit something. The script is easily extensible: simply add a check for Mercurial (or whatever) below the git check. Note: the script doesn't print a newline char anymore. That's only because it was easier to implement it that way, not a feature (or bug). 'make kernelrelease' doesn't care. Signed-off-by: Rene Scharfe Acked-by: Ryan Anderson Signed-off-by: Sam Ravnborg commit 253dfa6e465c054a73bd3b13af51c34c9d8d233d Author: Sam Ravnborg Date: Fri Jan 6 20:33:41 2006 +0100 kbuild: document howto build external modules using several directories Update modules.txt with info how to build external modules with files in several directories. The question popped up on lkml often enough to warrant this, let's see if people read this stuff - or google hits it. Signed-off-by: Sam Ravnborg commit 7ed40918a386afc2e14a6d3da563ea6d13686c25 Author: Linus Torvalds Date: Fri Jan 6 08:43:16 2006 -0800 x86: remove bogus 'pci=usepirqmask' suggestion when no irq is defined This was harmless, but for the case of a device that had no irq pre-defined we would incorrectly suggest that "usepirqmask" might make a difference. It never would, and the message was just confusing people. Reported in the dmesg of Etienne Lorrain. Signed-off-by: Linus Torvalds commit 9b847548663ef1039dd49f0eb4463d001e596bc3 Author: Jens Axboe Date: Fri Jan 6 09:28:07 2006 +0100 [PATCH] Suspend support for libata This patch adds suspend patch to libata, and ata_piix in particular. For most low level drivers, they should just need to add the 4 hooks to work. As I can only test ata_piix, I didn't enable it for more though. Suspend support is the single most important feature on a notebook, and most new notebooks have sata drives. It's quite embarrassing that we _still_ do not support this. Right now, it's perfectly possible to suspend the drive in mid-transfer. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88202a0c84e1951d6630d1d557d4801a8cc5b5ef Author: NeilBrown Date: Fri Jan 6 00:21:36 2006 -0800 [PATCH] md: allow sync-speed to be controlled per-device Also export current (average) speed and status in sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf Author: NeilBrown Date: Fri Jan 6 00:21:16 2006 -0800 [PATCH] md: support adding new devices to md arrays via sysfs Writing major:minor to md/new_dev will bind that device to the array. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83303b613d00718b07ec0a4dee7c99aa66629d96 Author: NeilBrown Date: Fri Jan 6 00:21:06 2006 -0800 [PATCH] md: allow available size of component devices to be set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6961ece46c7d02de1bb83914900608e39633787d Author: Andrew Morton Date: Fri Jan 6 00:20:59 2006 -0800 [PATCH] md-export-rdev-data_offset-via-sysfs-fix drivers/md/md.c: In function `offset_show': drivers/md/md.c:1670: warning: long long unsigned int format, different type arg (arg 3) Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c8cad03f02dbd1532a5413bdced25f000d5728 Author: NeilBrown Date: Fri Jan 6 00:20:56 2006 -0800 [PATCH] md: export rdev->data_offset via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 014236d2b8ec6faea2a6134ab8e019d84d67b524 Author: NeilBrown Date: Fri Jan 6 00:20:55 2006 -0800 [PATCH] md: expose device slot information via sysfs This the role that a device has in an array can be viewed and set. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bf071bf50580380a8c3afe5eef8152a66be96c7 Author: NeilBrown Date: Fri Jan 6 00:20:55 2006 -0800 [PATCH] md: keep better track of dev/array size when assembling md arrays Move the checks - that dev size is never less than array size - into bind_rdev_to_array to make sure it always happens properly (there is one place where currently it doesn't). Also reject any superblock which claims an array size smaller than the device in question can hold. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da943b9912df063322d37b1a1f285460531d481d Author: NeilBrown Date: Fri Jan 6 00:20:54 2006 -0800 [PATCH] md: allow md/raid_disks to be settable If array is active, try to reshape, else just set the value. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 Author: NeilBrown Date: Fri Jan 6 00:20:52 2006 -0800 [PATCH] md: count corrected read errors per drive Store this total in superblock (As appropriate), and make it available to userspace via sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9d166c2a9d5d01af34396793950aa695883eed4 Author: NeilBrown Date: Fri Jan 6 00:20:51 2006 -0800 [PATCH] md: allow array level to be set textually via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bb93aaca2062cd54cc2c58c76ee8409cae209a7 Author: NeilBrown Date: Fri Jan 6 00:20:50 2006 -0800 [PATCH] md: expose md metadata format in sysfs Allow it to be set to a particular version, or 'none'. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a35b0d695d44410eb1734c9abb632725a3138628 Author: NeilBrown Date: Fri Jan 6 00:20:49 2006 -0800 [PATCH] md: allow md array component size to be accessed and set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 Author: NeilBrown Date: Fri Jan 6 00:20:47 2006 -0800 [PATCH] md: allow chunk_size to be settable through sysfs ... only before array is started of course. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03c902e17f40cfed63cd2494616f35fc9c58571b Author: NeilBrown Date: Fri Jan 6 00:20:46 2006 -0800 [PATCH] md: fix rdev->pending counts in raid1 When we do a user-requested check/repair, we lose count of the outstanding requests... Also make sure that when anything is written to md/sync_action, the RECOVERY_NEEDED flag is set and the thread is woken up so any changes take effect. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c708443c004f2310abdd7f1c353daa372b37f7a2 Author: NeilBrown Date: Fri Jan 6 00:20:45 2006 -0800 [PATCH] md: make sure bitmap updates are visible through filesystem When we update a page_cache page in the kernel, we need to flush_dache_page or userspace might not see the change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07dbd37727049c0d56e313e5afcf8db07a9c3e37 Author: Adrian Bunk Date: Fri Jan 6 00:20:44 2006 -0800 [PATCH] drivers/md/md.c: make md_new_event() static Make the needlessly global function md_new_event() static. Signed-off-by: Adrian Bunk Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2989ddbd6e1d9638a188311b896362c4bf7b7c25 Author: NeilBrown Date: Fri Jan 6 00:20:43 2006 -0800 [PATCH] md: make a couple of names in md.c static .. because they aren't used outside md.c Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f188593ee7af8c71755d2df269a7a5f62c4b695e Author: NeilBrown Date: Fri Jan 6 00:20:42 2006 -0800 [PATCH] md: fix typo in comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bce74dac082787375e76d2b33726b94c9701fabc Author: NeilBrown Date: Fri Jan 6 00:20:41 2006 -0800 [PATCH] md: helper function to match commands written to sysfs files Commands written to sysfs files may, or my not, be \n terminated. We want to accept with case. For this we use cmd_match. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1345b1d8adbdeceb1c871d9a4af5e2a700b341c6 Author: NeilBrown Date: Fri Jan 6 00:20:40 2006 -0800 [PATCH] md: define and use safe_put_page for md md sometimes call put_page on NULL pointers (treating it like kfree). This is not safe, so define and use a 'safe_put_page' which checks for NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7dd5d34c6c2da04e8cd0732e08b33cd3359e4bae Author: NeilBrown Date: Fri Jan 6 00:20:39 2006 -0800 [PATCH] md: remove inappropriate limits in md/bitmap configuration. The kernel should not be imposing these policy limits: The time between bitmap updates should certainly be allowed to be more than 15 seconds, and if someone wants a bitmap chunk size in excess of 4MB, the kernel isn't the place to stop them. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097426f689f179747f3cd6b4749eb2a6b605702d Author: NeilBrown Date: Fri Jan 6 00:20:37 2006 -0800 [PATCH] md: fix possible problem in raid1/raid10 error overwriting The code to overwrite/reread for addressing read errors in raid1/raid10 currently assumes that the read will not alter the buffer which could be used to write to the next device. This is not a safe assumption to make. So we split the loops into a overwrite loop and a separate re-read loop, so that the writing is complete before reading is attempted. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2604b703b6b3db80e3c75ce472a54dfd0b7bf9f4 Author: NeilBrown Date: Fri Jan 6 00:20:36 2006 -0800 [PATCH] md: remove personality numbering from md md supports multiple different RAID level, each being implemented by a 'personality' (which is often in a separate module). These personalities have fairly artificial 'numbers'. The numbers are use to: 1- provide an index into an array where the various personalities are recorded 2- identify the module (via an alias) which implements are particular personality. Neither of these uses really justify the existence of personality numbers. The array can be replaced by a linked list which is searched (array lookup only happens very rarely). Module identification can be done using an alias based on level rather than 'personality' number. The current 'raid5' modules support two level (4 and 5) but only one personality. This slight awkwardness (which was handled in the mapping from level to personality) can be better handled by allowing raid5 to register 2 personalities. With this change in place, the core md module does not need to have an exhaustive list of all possible personalities, so other personalities can be added independently. This patch also moves the check for chunksize being non-zero into the ->run routines for the personalities that need it, rather than having it in core-md. This has a side effect of allowing 'faulty' and 'linear' not to have a chunk-size set. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a24a8dd858e0ba50f06a9fd8f61fe8c4fe7a8d8e Author: NeilBrown Date: Fri Jan 6 00:20:35 2006 -0800 [PATCH] md: break out of a loop that doesn't need to run to completion Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8745db232dd86f145bff6946e78f839acab511b Author: NeilBrown Date: Fri Jan 6 00:20:34 2006 -0800 [PATCH] md: convert recently exported symbol to GPL ...because that seems to be the preferred practice these days. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea03aff93b4117c2ddfb91b34b44a44e19df24cd Author: NeilBrown Date: Fri Jan 6 00:20:34 2006 -0800 [PATCH] md: convert various kmap calls to kmap_atomic Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fccddba060f2b4916a30aa27acc3d03b01bb981e Author: NeilBrown Date: Fri Jan 6 00:20:33 2006 -0800 [PATCH] md: tidy up raid5/6 hash table code - replace open-coded hash chain with hlist macros - Fix hash-table size at one page - it is already quite generous, so there will never be a need to use multiple pages, so no need for __get_free_pages No functional change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ffae0cf3ea02f75d163922accfd3e592d87adde Author: NeilBrown Date: Fri Jan 6 00:20:32 2006 -0800 [PATCH] md: convert md to use kzalloc throughout Replace multiple kmalloc/memset pairs with kzalloc calls. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d1f3b5d1b2cd11a162eb29645df749ec0036413 Author: NeilBrown Date: Fri Jan 6 00:20:31 2006 -0800 [PATCH] md: clean up 'page' related names in md Substitute: page_cache_get -> get_page page_cache_release -> put_page PAGE_CACHE_SHIFT -> PAGE_SHIFT PAGE_CACHE_SIZE -> PAGE_SIZE PAGE_CACHE_MASK -> PAGE_MASK __free_page -> put_page because we aren't using the page cache, we are just using pages. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7603b7e3a7f802c67f9190b2387d4d5d111ec14 Author: NeilBrown Date: Fri Jan 6 00:20:30 2006 -0800 [PATCH] md: make /proc/mdstat pollable With this patch it is possible to poll /proc/mdstat to detect arrays appearing or disappearing, to detect failures, recovery starting, recovery completing, and devices being added and removed. It is similar to the poll-ability of /proc/mounts, though different in that: We always report that the file is readable (because face it, it is, even if only for EOF). We report POLLPRI when there is a change so that select() can detect it as an exceptional event. Not only are these exceptional events, but that is the mechanism that the current 'mdadm' uses to watch for events (It also polls after a timeout). (We also report POLLERR like /proc/mounts). Finally, we only reset the per-file event counter when the start of the file is read, rather than when poll() returns an event. This is more robust as it means that an fd will continue to report activity to poll/select until the program clearly responds to that activity. md_new_event takes an 'mddev' which isn't currently used, but it will be soon. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eb3ff12aa8a12538ef681dc83f4361636a0699f Author: NeilBrown Date: Fri Jan 6 00:20:29 2006 -0800 [PATCH] md: raid10 read-error handling - resync and read-only Add in correct read-error handling for resync and read-only situations. When read-only, we don't over-write, so we need to mark the failed drive in the r10_bio so we don't re-try it. During resync, we always read all blocks, so if there is a read error, we simply over-write it with the good block that we found (assuming we found one). Note that the recovery case still isn't handled in an interesting way. There is nothing useful to do for the 2-copies case. If there are 3 or more copies, then we could try reading from one of the non-missing copies, but this is a bit complicated and very rarely would be used, so I'm leaving it for now. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4443ae10ca15d07922ceda622f03db8865fa3d13 Author: NeilBrown Date: Fri Jan 6 00:20:28 2006 -0800 [PATCH] md: auto-correct correctable read errors in raid10 Largely just a cross-port from raid1. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 220946c9018de74b952446e3a4dff1bfd4cbf310 Author: NeilBrown Date: Fri Jan 6 00:20:27 2006 -0800 [PATCH] md: make sure read error on last working drive of raid1 actually returns failure We are inadvertently setting the R1BIO_Uptodate bit on read errors when we decide not to try correcting (because there are no other working devices). This means that the read error is reported to the client as success. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d11c171e636cfd2df818cf3411d88222c2f4fcef Author: NeilBrown Date: Fri Jan 6 00:20:26 2006 -0800 [PATCH] md: allow raid1 to check consistency Where performing a user-requested 'check' or 'repair', we read all readable devices, and compare the contents. We only write to blocks which had read errors, or blocks with content that differs from the first good device found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18f08819f42b647783e4f6ea99141623881bf182 Author: NeilBrown Date: Fri Jan 6 00:20:25 2006 -0800 [PATCH] md: support check-without-repair of raid10 arrays Also keep count on the number of errors found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9910f16af35419a5382fa7850eecc220103036fa Author: NeilBrown Date: Fri Jan 6 00:20:24 2006 -0800 [PATCH] md: fix up some rdev rcu locking in raid5/6 There is this "FIXME" comment with a typo in it!! that been annoying me for days, so I just had to remove it. conf->disks[i].rdev should only be accessed if - we know we hold a reference or - the mddev->reconfig_sem is down or - we have a rcu_readlock handle_stripe was referencing rdev in three places without any of these. For the first two, get an rcu_readlock. For the last, the same access (md_sync_acct call) is made a little later after the rdev has been claimed under and rcu_readlock, if R5_Syncio is set. So just use that access... However R5_Syncio isn't really needed as the 'syncing' variable contains the same information. So use that instead. Issues, comment, and fix are identical in raid5 and raid6. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf30a473a02901fe4db37abc0b0fa26dd5ba3f72 Author: NeilBrown Date: Fri Jan 6 00:20:23 2006 -0800 [PATCH] md: handle errors when read-only Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69382e85371c232df71524137a806b9c210ec021 Author: NeilBrown Date: Fri Jan 6 00:20:22 2006 -0800 [PATCH] md: better handling for read error in raid1 during resync Handling of read errors during resync is separate from handling of read errors during normal IO in raid1. A previous patch added support for read errors during normal IO. This one adds support for read errors during resync or recovery. The key differences are that we don't need to freeze the array, because the normal handling of resync means that this part of the array will be idle except for resync, and the read/overwrite/re-read is needed in a separate piece of code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e198f7826f830604f3aa7c20359a773e70cbeaa Author: NeilBrown Date: Fri Jan 6 00:20:21 2006 -0800 [PATCH] md: tidyup some issues with raid1 resync and prepare for catching read errors We are dereferencing ->rdev without an rcu lock! Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddaf22abaa831763e75775e6d4c7693504237997 Author: NeilBrown Date: Fri Jan 6 00:20:19 2006 -0800 [PATCH] md: attempt to auto-correct read errors in raid1 On a read-error we suspend the array, then synchronously read the block from other arrays until we find one where we can read it. Then we try writing the good data back everywhere and make sure it works. If any write or subsequent read fails, only then do we fail the device out of the array. To be able to suspend the array, we need to also keep track of how many requests are queued for handling by raid1d. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d69762e98456b71167865db9e33e732a28dd36ab Author: NeilBrown Date: Fri Jan 6 00:20:18 2006 -0800 [PATCH] md: improve handing of read errors with raid6 This is a simple port of match functionality across from raid5. If we get a read error, we don't kick the drive straight away, but try to over-write with good data first. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca65b73bd9c301d243df93780f7b26579e6c9204 Author: NeilBrown Date: Fri Jan 6 00:20:17 2006 -0800 [PATCH] md: fix raid6 resync check/repair code raid6 currently does not check the P/Q syndromes when doing a resync, it just calculates the correct value and writes it. Doing the check can reduce writes (often to 0) for a resync, and it is needed to properly implement the echo check > sync_action operation. This patch implements the appropriate checks and tidies up some related code. It also allows raid6 user-requested resync to bypass the intent bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8 Author: NeilBrown Date: Fri Jan 6 00:20:16 2006 -0800 [PATCH] md: write intent bitmap support for raid10 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363 Author: NeilBrown Date: Fri Jan 6 00:20:16 2006 -0800 [PATCH] md: move bitmap_create to after md array has been initialised This is important because bitmap_create uses mddev->resync_max_sectors and that doesn't have a valid value until after the array has been initialised (with pers->run()). [It doesn't make a difference for current personalities that support bitmaps, but will make a difference for raid10] This has the added advantage of meaning with can move the thread->timeout manipulation inside the bitmap.c code instead of sprinkling identical code throughout all personalities. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ff8d8ec06690f4011a6c3ad9e0759b9094f0601 Author: NeilBrown Date: Fri Jan 6 00:20:15 2006 -0800 [PATCH] md: allow dirty raid[456] arrays to be started at boot See patch to md.txt for more details Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14f8d26b8ea3413b28f2cac208c9a93600fe3a80 Author: NeilBrown Date: Fri Jan 6 00:20:14 2006 -0800 [PATCH] md: small cleanups for raid5 Resync code: A test that isn't needed, a 'compute_block' that makes more sense elsewhere (And then doesn't need a test), a couple of BUG_ONs to confirm the change makes sense. Printks: A few were missing KERN_* Also fix a typo in a comment.. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a27ec96b6fb1abf867e36d7b0b681d67588767a Author: NeilBrown Date: Fri Jan 6 00:20:13 2006 -0800 [PATCH] md: improve raid10 "IO Barrier" concept raid10 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17999be4aa408e7ff3b9d32c735649676567a3cd Author: NeilBrown Date: Fri Jan 6 00:20:12 2006 -0800 [PATCH] md: improve raid1 "IO Barrier" concept raid1 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac81b2ee45eb811fdb0aa1cfb71d468d944d00ce Author: Darrick J. Wong Date: Fri Jan 6 00:20:11 2006 -0800 [PATCH] make dm-mirror not issue invalid resync requests I've been attempting to set up a (Host)RAID mirror with dm_mirror on 2.6.14.3, and I've been having a strange little problem. The configuration in question is a set of 9GB SCSI disks that have 17942584 sectors. I set up the dm_mirror table as such: 0 17942528 mirror core 2 2048 nosync 2 8:48 0 8:64 0 If I'm not mistaken, this sets up a 9GB RAID1 mriror with 1MB stripes across both SCSI disks. The sector count of the dm device is less than the size of the disks, so we shouldn't fall off the end. However, I always get the messages like this in dmesg when I set up the dm table: attempt to access beyond end of device sdd: rw=0, want=17958656, limit=17942584 Clearly, something is trying to read sectors past the end of the drive. I traced it down to the __rh_recovery_prepare function in dm-raid1.c, which gets called when we're putting the mirror set together. This function calls the dirty region log's get_resync_work function to see if there's any resync that needs to be done, and queues up any areas that are out of sync. The log's get_resync_work function is actually a pointer to the core_get_resync_work function in dm-log.c. The core_get_resync_work function queries a bitset lc->sync_bits to find out if there are any regions that are out of date (i.e. the bit is 0), which is where the problem occurs. If every bit in lc->sync_bits is 1 (which is the case when we've just configured a new RAID1 with the nosync option), the find_next_zero_bit does NOT return the size parameter (lc->region_count in this case), it returns the size parameter rounded up to the nearest multiple of 32! I don't know if this is intentional, but i386 and x86_64 both exhibit this behavior. In any case, the statement "if (*region == lc->region_count)" looks like it's supposed to catch the case where are no regions to resync and return 0. Since find_next_zero_bit apparently has a habit of returning a value that's larger than lc->region_count, the enclosed patch changes the equality test to a greater-than test so that we don't try to resync areas outside of the RAID1 region. Seeing as the HostRAID metadata lives just past the end of the RAID1 data, mucking around in that area is not a good idea. I suppose another way to fix this would be to amend find_next_zero_bit so that it doesn't return values larger than "size", but I don't know if there's a reason for the current behavior. Signed-Off-By: Darrick J. Wong Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d3520a339d62f942085e9888f66905eb8b350bd Author: Stefan Rompf Date: Fri Jan 6 00:20:08 2006 -0800 [PATCH] dm-crypt: zero key before freeing it Zap the memory before freeing it so we don't leave crypto information around in memory. Signed-off-by: Stefan Rompf Acked-by: Clemens Fruhwirth Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b56306e56784d0513e1193d58c05a6bd97bd1a9 Author: Adrian Bunk Date: Fri Jan 6 00:20:08 2006 -0800 [PATCH] drivers/md/kcopyd.c: #if 0 kcopyd_cancel() This patch #if 0's the not yet implemented global function kcopyd_cancel(). Signed-off-by: Adrian Bunk Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6da487dcc0c6f4c827779687a20016efeffc4d60 Author: Alasdair G Kergon Date: Fri Jan 6 00:20:07 2006 -0800 [PATCH] device-mapper ioctl: add skip lock_fs flag Add ioctl DM_SKIP_LOCKFS_FLAG for userspace to request that lock_fs is bypassed when suspending a device. There's no change to the behaviour of existing code that doesn't know about the new flag. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 Author: Alasdair G Kergon Date: Fri Jan 6 00:20:06 2006 -0800 [PATCH] device-mapper: make lock_fs optional Devices only needs syncing when creating snapshots, so make this optional when suspending a device. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 Author: Alasdair G Kergon Date: Fri Jan 6 00:20:05 2006 -0800 [PATCH] device-mapper: rename frozen_bdev Rename frozen_bdev to suspended_bdev and move the bdget outside lockfs. (This prepares for making lockfs optional.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a190807074bd6ad8771e00b00752771ae586cb Author: Jonathan E Brassow Date: Fri Jan 6 00:20:05 2006 -0800 [PATCH] device-mapper raid1: add default mirror This patch introduces a new field to the mirror_set (default_mirror) to store the default mirror. (A subsequent patch will allow us to change the default mirror in the event of a failure.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d5fe68987341a59a3fd97c71695efcabb0c6fd5 Author: Alasdair G Kergon Date: Fri Jan 6 00:20:04 2006 -0800 [PATCH] device-mapper: scanf sector format change Use %llu not %Lu in sscanf/printf format strings. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c276159c812ab25f47b7c7b683a5c97c442dd5 Author: Andrew Stribblehill Date: Fri Jan 6 00:20:03 2006 -0800 [PATCH] device-mapper: remove unused definition This patch removes an unused #define. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d38fe204461dc542bb38f2b01a9cd115b367b36 Author: Alasdair G Kergon Date: Fri Jan 6 00:20:02 2006 -0800 [PATCH] device-mapper snapshot: metadata reading separation More snapshot metadata reading into separate function, to prepare for changing the place it gets called from. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81f1777a55e8c631b61e5fa5980fb7a2004287af Author: goggin, edward Date: Fri Jan 6 00:20:01 2006 -0800 [PATCH] device-mapper ioctl: event on rename After changing the name of a mapped device, trigger a dm event. (For userspace multipath tools.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d229a9589ff3b988d3f999cdcfa350f97a372673 Author: David Teigland Date: Fri Jan 6 00:20:01 2006 -0800 [PATCH] device-mapper: add dm_get_md Add dm_get_dev() to get a mapped device given its dev_t. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 637842cfdbe2b981f7088f7633e630570f58efaf Author: David Teigland Date: Fri Jan 6 00:20:00 2006 -0800 [PATCH] device-mapper: add dm_find_md Abstract dm_find_md() from dm_get_mdptr() to allow use elsewhere. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f708e40fe040e79f6c393a282f0701c9f8dc174 Author: Neil Brown Date: Fri Jan 6 00:19:59 2006 -0800 [PATCH] knfsd: reduce stack consumption A typical nfsd call trace is nfsd -> svc_process -> nfsd_dispatch -> nfsd3_proc_write -> nfsd_write ->nfsd_vfs_write -> vfs_writev These add up to over 300 bytes on the stack. Looking at each of these, I see that nfsd_write (which includes nfsd_vfs_write) contributes 0x8c to stack usage itself!! It turns out this is because it puts a 'struct iattr' on the stack so it can kill suid if needed. The following patch saves about 50 bytes off the stack in this call path. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a334de28665b14f0a33df82699fa9a78cfeedf31 Author: David Shaw Date: Fri Jan 6 00:19:58 2006 -0800 [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync Both vfs_getattr and i_op->fsync return error statuses which nfsd was largely ignoring. This as noticed when exporting directories using fuse. This patch cleans up most of the offences, which involves moving the call to vfs_getattr out of the xdr encoding routines (where it is too late to report an error) into the main NFS procedure handling routines. There is still a called to vfs_gettattr (related to the ACL code) where the status is ignored, and called to nfsd_sync_dir don't check return status either. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93fbf1a5de8afde08988dda3735669099dee84d0 Author: Olaf Kirch Date: Fri Jan 6 00:19:56 2006 -0800 [PATCH] Keep nfsd from exiting when seeing recv() errors I submitted this one previously - svc_tcp_recvfrom currently returns any errors to the caller, including ECONNRESET and the like. This is something svc_recv isn't able to deal with: len = svsk->sk_recvfrom(rqstp); [...] if (len == 0 || len == -EAGAIN) { [...] return -EAGAIN; } [...] return len; The nfsd main loop will exit when it sees an error code other than EAGAIN. The following patch fixes this problem svc_recv is not equipped to deal with error codes other than EAGAIN, and will propagate anything else (such as ECONNRESET) up to nfsd, causing it to exit. Signed-off-by: Olaf Kirch Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f93ea411b73594f7d144855fd34278bcf34a9afc Author: Jan Kara Date: Fri Jan 6 00:19:55 2006 -0800 [PATCH] jbd: split checkpoint lists Split the checkpoint list of the transaction into two lists. In the first list we keep the buffers that need to be submitted for IO. In the second list are kept buffers that were already submitted and we just have to wait for the IO to complete. This should simplify a handling of checkpoint lists a bit and can eventually be also a performance gain. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc Author: Jayachandran C Date: Fri Jan 6 00:19:54 2006 -0800 [PATCH] kernel/module.c: removed dead code This patch fixes an issue reported by Coverity in kernel/module.c Error reported: Cannot reach this line of code "else return ptr;" Patch description: This is the error path, so 'err' will be negative, the else case is not required, this patch removes it. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 066bb8d03b6e52e4844d37145573d6a2bedaa339 Author: Paul E. McKenney Date: Fri Jan 6 00:19:53 2006 -0800 [PATCH] fix remaining list_for_each_safe_rcu in -mm (take 2) I missed a use of list_for_each_rcu_safe() in -mm tree. Here is an updated patch to fix it. This time tested on a machine that actually uses IPMI... (Thanks to Serge Hallyn for spotting this.) Signed-off-by: "Paul E. McKenney" Cc: Corey Minyard Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81684ee645e15601ec935461d9069a3086179c06 Author: Adrian Bunk Date: Fri Jan 6 00:19:53 2006 -0800 [PATCH] include/linux/parport_pc.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1b9168d83962fbb05859c1ecaa57fd4f53cf38e Author: Adrian Bunk Date: Fri Jan 6 00:19:52 2006 -0800 [PATCH] simplify PARPORT_PC_PCMCIA dependencies Unless I miss something, this should be the simplest way to express the intended dependencies. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94b82095d0f5d6a72a0c619f54645727ebf66642 Author: Marko Kohtala Date: Fri Jan 6 00:19:51 2006 -0800 [PATCH] parport: export parport_get_port() Help external ppSCSI driver by exporting parport_get_port to match the parport_put_port. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a85081d1c3ab7935c3ade8f4b2700a860d6fb2e Author: Marko Kohtala Date: Fri Jan 6 00:19:51 2006 -0800 [PATCH] parport: include fixes Small cleanup of includes meant for older implementation. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a19b41b35bf45fc27a46dccf26005b3f44c1aa1 Author: Marko Kohtala Date: Fri Jan 6 00:19:49 2006 -0800 [PATCH] parport: Kconfig dependency fixes Make drivers that use directly PC parport HW depend on PARPORT_PC rather than HW independent PARPORT. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 110bee75d2e03d3b4bcc74743dee5a21fe7b43bd Author: Marko Kohtala Date: Fri Jan 6 00:19:49 2006 -0800 [PATCH] parport: DEBUG_PARPORT build fix Add missing "struct" keyword preventing compilation with DEBUG_PARPORT defined. Also add some "const". Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6767b7cc674ee39635db75ed2f6f65ed0012239 Author: Marko Kohtala Date: Fri Jan 6 00:19:48 2006 -0800 [PATCH] parport: constification Trivial "const" additions to places in parport that truly are const. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 Author: Marko Kohtala Date: Fri Jan 6 00:19:47 2006 -0800 [PATCH] parport: use complete slab buffer Use the complete slab buffer that is allocated by kmalloc. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c9cc3be1094b267a2da2e0016cbd6ced663da6d Author: Marko Kohtala Date: Fri Jan 6 00:19:46 2006 -0800 [PATCH] parport: parport_daisy_select return value fix parport_daisy_select returned wrong status that is read at wrong time during daisy command execution. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c29a75ed0d94fae64b59345ea96e52424ae9c6a2 Author: Marko Kohtala Date: Fri Jan 6 00:19:46 2006 -0800 [PATCH] parport: daisy chain device id reading fix Device ID reading from daisy chain devices failed because the daisy device could not be opened. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 310c8c324f988625a2880deab67607bf4e5aeb8a Author: Marko Kohtala Date: Fri Jan 6 00:19:45 2006 -0800 [PATCH] parport: daisy chain end detection fix Daisy chain end detection failed at least with older daisy chain devices that do not implement the last device signal. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 742ec650e9b63ea61891455bb6f76bac37025c78 Author: Marko Kohtala Date: Fri Jan 6 00:19:44 2006 -0800 [PATCH] parport: phase fixes Did not move the parport interface properly into IEEE1284_PH_REV_IDLE phase at end of data due to comparing bytes with nibbles. Internal phase IEEE1284_PH_HBUSY_DNA became unused, so remove it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c660629059abbbd0eb56e12f9bb4494f01800bbc Author: Marko Kohtala Date: Fri Jan 6 00:19:43 2006 -0800 [PATCH] parport: buffer overflow fix Fix potential buffer overflow in case the device ID did not end in semicolon. Also might fail to negotiate back to IEEE1284_MODE_COMPAT in case of failure. parport_device_id did not return what Documentation/parport-lowlevel.txt said, so I changed it to match it. Determining device ID length is overly complicated, but Tim Waugh recalled on linux-parport seeing some buggy device that might need it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39ee059affaf57a152c64cd3a0adc3f48f02ed71 Author: Miklos Szeredi Date: Fri Jan 6 00:19:43 2006 -0800 [PATCH] fuse: check file type in lookup Previously invalid types were quietly changed to regular files, but at revalidation the inode was changed to bad. This was rather inconsistent behavior. Now check if the type is valid on initial lookup, and return -EIO if not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ad84acab972f4dfc78e6fdb04c419f82c497d29 Author: Miklos Szeredi Date: Fri Jan 6 00:19:42 2006 -0800 [PATCH] fuse: ensure progress in read and write In direct_io mode, send at least one page per reqest. Previously it was possible that reqests with zero data were sent, and hence the read/write didn't make any progress, resulting in an infinite (though interruptible) loop. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec870d524c9150add120475c8ddcfa50574f98e Author: Miklos Szeredi Date: Fri Jan 6 00:19:41 2006 -0800 [PATCH] fuse: make maximum write data configurable Make the maximum size of write data configurable by the filesystem. The previous fixed 4096 limit only worked on architectures where the page size is less or equal to this. This change make writing work on other architectures too, and also lets the filesystem receive bigger write requests in direct_io mode. Normal writes which go through the page cache are still limited to a page sized chunk per request. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c Author: Miklos Szeredi Date: Fri Jan 6 00:19:40 2006 -0800 [PATCH] fuse: clean up request size limit checking Change the way a too large request is handled. Until now in this case the device read returned -EINVAL and the operation returned -EIO. Make it more flexibible by not returning -EINVAL from the read, but restarting it instead. Also remove the fixed limit on setxattr data and let the filesystem provide as large a read buffer as it needs to handle the extended attribute data. The symbolic link length is already checked by VFS to be less than PATH_MAX, so the extra check against FUSE_SYMLINK_MAX is not needed. The check in fuse_create_open() against FUSE_NAME_MAX is not needed, since the dentry has already been looked up, and hence the name already checked. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 248d86e87d12da19eee602075f05a49a5215288b Author: Miklos Szeredi Date: Fri Jan 6 00:19:39 2006 -0800 [PATCH] fuse: fail file operations on bad inode Make file operations on a bad inode fail. This just makes things a bit more consistent. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f9f11806af8ad3a107714a3ece56c1c4fafd047 Author: Miklos Szeredi Date: Fri Jan 6 00:19:39 2006 -0800 [PATCH] fuse: add code documentation Document some not-so-trivial functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 Author: Miklos Szeredi Date: Fri Jan 6 00:19:38 2006 -0800 [PATCH] fuse: support caching negative dentries Add support for caching negative dentries. Up till now, ->d_revalidate() always forced a new lookup on these. Now let the lookup method return a zero node ID (not used for anything else) meaning a negative entry, but with a positive cache timeout. The old way of signaling negative entry (replying ENOENT) still works. Userspace should check the ABI minor version to see whether sending a zero ID is allowed by the kernel or not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de5f12025572ef8fcffa4be5453061725acfb754 Author: Miklos Szeredi Date: Fri Jan 6 00:19:37 2006 -0800 [PATCH] fuse: add frsize to statfs reply Add 'frsize' member to the statfs reply. I'm not sure if sending f_fsid will ever be needed, but just in case leave some space at the end of the structure, so less compatibility mess would be required. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45714d65618407bce1fd0271bc58303ce14b0785 Author: Miklos Szeredi Date: Fri Jan 6 00:19:36 2006 -0800 [PATCH] fuse: bump interface version Change interface version to 7.4. Following changes will need backward compatibility support, so store the minor version returned by userspace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4633a22e7added835fd1d4b072dbcc4474aa3017 Author: Miklos Szeredi Date: Fri Jan 6 00:19:36 2006 -0800 [PATCH] fuse: clean up page offset calculation Use page_offset() instead of doing page offset calculation by hand. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0aa7c6990e7de06131cdc14ef4abfcab017c24a0 Author: Miklos Szeredi Date: Fri Jan 6 00:19:34 2006 -0800 [PATCH] fuse: clean up fuse_lookup() Simplify fuse_lookup() and related functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 524e3b623a9228efbdb70484b5214f27a1ca985d Author: Markus Lidel Date: Fri Jan 6 00:19:34 2006 -0800 [PATCH] I2O: Lindent run Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6ed39a6e1a88240eec629a3da17c3a47ada3b89 Author: Markus Lidel Date: Fri Jan 6 00:19:33 2006 -0800 [PATCH] I2O: Optimizing - make i2o_iop_free() static inline (from Adrian Bunk) - changed kmalloc() + memset(0) into kzalloc() Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e1973a3cd0b9fe31469be62df3583bdc5a34f51 Author: Markus Lidel Date: Fri Jan 6 00:19:32 2006 -0800 [PATCH] I2O: Beautifying Fix some typos and minor code beautifying. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcceafe25a5f47cf69e5b46b4da6f15186ec8386 Author: Markus Lidel Date: Fri Jan 6 00:19:32 2006 -0800 [PATCH] I2O: Bugfixes - Removed some kmalloc's with __GFP_ZERO and replace it with memset() because it didn't work properly. - Fixed returned message frame in i2o_cfg_passthru() which caused raidutils to display wrong error message in case a disk was missing. - Fixed size of printk() in i2o_scsi.c. - Fixed get_device() and put_device() in probing of the I2O controller. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24791bd48f643194d806654b587251b0f92233e8 Author: Markus Lidel Date: Fri Jan 6 00:19:31 2006 -0800 [PATCH] I2O: Remove wrong I2O device class Removed wrong I2O device class, which was only needed to add sysfs attributes. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 793fd15d9fafe5b1c71e50d3c041f1463895dbde Author: Markus Lidel Date: Fri Jan 6 00:19:30 2006 -0800 [PATCH] I2O: SPARC fixes Fix lot of BE <-> LE bugs which prevent it from working on SPARC. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a5ea70a6e9db6332b27fe2d96666e17aa1436b Author: Markus Lidel Date: Fri Jan 6 00:19:29 2006 -0800 [PATCH] I2O: changed I2O API to create I2O messages in kernel memory Changed the I2O API to create I2O messages first in kernel memory and then transfer it at once over the PCI bus instead of sending each quad-word over the PCI bus. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 Author: Martin Schwidefsky Date: Fri Jan 6 00:19:28 2006 -0800 [PATCH] s390: cleanup Kconfig Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9bbc8346fb21fad3f678220b067450e436e45dbf Author: Peter Oberparleiter Date: Fri Jan 6 00:19:27 2006 -0800 [PATCH] s390: fix invalid return code in sclp_cpi When the sclp_cpi module is loaded on a system which does not support the required SCLP call (e.g. on z/VM), ENOSUPP is returned to user space. The correct return value is EOPNOTSUPP. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b793060e768197d525e892fd1f84dbc8767cada Author: Cornelia Huck Date: Fri Jan 6 00:19:26 2006 -0800 [PATCH] s390: Fix missing release function and cosmetic changes - Use kzalloc() in blacklist.c. - Kill unwanted casts in blacklist.c. - Provide release function for struct channel_subsystem. Signed-off-by: Cornelia Huck Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fbf18399bde8f2900cf932acd40733dfa1effa Author: Eric Rossman Date: Fri Jan 6 00:19:25 2006 -0800 [PATCH] s390: add support for cex2a crypto cards Signed-off-by: Eric Rossman Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb6958a594da49ece869793e6ec163b89fc5f79f Author: Cornelia Huck Date: Fri Jan 6 00:19:25 2006 -0800 [PATCH] s390: multiple subchannel sets support Add support for multiple subchannel sets. Works with arbitrary devices in subchannel set 1 and is transparent to device drivers. Although currently only two subchannel sets are available, this will work with the architectured maximum number of subchannel sets as well. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 678a395b356a98368a93c3640252502b70c3676f Author: Cornelia Huck Date: Fri Jan 6 00:19:24 2006 -0800 [PATCH] s390: convert /proc/cio_ignore Convert /proc/cio_ignore to a sequential file. This makes multiple subchannel sets support easier. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a28c69448154a0901e8815922030c5dcd2f8e388 Author: Cornelia Huck Date: Fri Jan 6 00:19:23 2006 -0800 [PATCH] s390: introduce struct channel_subsystem struct channel_subsystem encapsulates several per channel subsystem properties, like status of chpids or the global path group id. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f97a56fb768e5fe9cd07c56ca47870136bb5530c Author: Cornelia Huck Date: Fri Jan 6 00:19:22 2006 -0800 [PATCH] s390: introduce for_each_subchannel for_each_subchannel() is an iterator calling a function for every possible subchannel id until non-zero is returned. Convert the current iterating functions to it. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8237fc4108060402d904bea5e1062e22e731969 Author: Cornelia Huck Date: Fri Jan 6 00:19:21 2006 -0800 [PATCH] s390: introduce struct subchannel_id This patch introduces a struct subchannel_id containing the subchannel number (formerly referred to as "irq") and switches code formerly relying on the subchannel number over to it. While we're touching inline assemblies anyway, make sure they have correct memory constraints. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 Author: Frank Pavlic Date: Fri Jan 6 00:19:20 2006 -0800 [PATCH] s390: qdio V=V pass-through New feature V=V qdio pass-through. QDIO and HiperSockets processing in z/VM V=V guest environments (as well as V=R with z/VM running in LPAR mode) requires shadowing of all QDIO architecture queue elements. Especially the shadowing of SBALs and SLSBs structures in the hypervisor, and the need to issue SIGA SYNC operations to observe state changes, eventually causes significant CPU processing overhead in the hypervisor. The QDIO pass-through support for V=V guests avoids the shadowing of SBALs and SLSBs. This significantly reduces the hypervisor overhead for QDIO based I/O. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05f29fcdb0c6c99484c8bea5e244fe2f4edc9337 Author: Jan Glauber Date: Fri Jan 6 00:19:19 2006 -0800 [PATCH] s390: in-kernel crypto test vectors Add new test vectors to the AES test suite for AES CBC and AES with plaintext larger than AES blocksize. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf754ae8ef8bc443c067601d9401103e4001e7c5 Author: Jan Glauber Date: Fri Jan 6 00:19:18 2006 -0800 [PATCH] s390: aes support Add support for the hardware accelerated AES crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a497c17fee428604e06320272ff74415eacdc31 Author: Jan Glauber Date: Fri Jan 6 00:19:18 2006 -0800 [PATCH] s390: sha256 support Add support for the hardware accelerated sha256 crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 Author: Jan Glauber Date: Fri Jan 6 00:19:17 2006 -0800 [PATCH] s390: in-kernel crypto rename Replace all references to z990 by s390 in the in-kernel crypto files in arch/s390/crypto. The code is not specific to a particular machine (z990) but to the s390 platform. Big diff, does nothing.. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0f4c16febf258ba8c0f917ac3ba935fc5459566 Author: Andreas Krebbel Date: Fri Jan 6 00:19:16 2006 -0800 [PATCH] s390: add oprofile callgraph support Signed-off-by: Andreas Krebbel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c01b8a5963aec60488c1c97d67cffd8b5275e3f Author: Horst Hummel Date: Fri Jan 6 00:19:15 2006 -0800 [PATCH] s390: dasd failfast support To properly support multipath-failover handling, the linux block layer has introduced a special request flag, 'REQ_FAILFAST'. This flag is now used to return requests immediately in case the device is not operational. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a7af289660dc749d7c58234191601046a9bf488 Author: Horst Hummel Date: Fri Jan 6 00:19:14 2006 -0800 [PATCH] s390: BIODASDPRRD ioctl return code The IOCTL BIODASDPRRD had no return code for 'profiling is inactive' and therefore tunedasd wrote misleading message for request-counter = 0. Introduce return-code EIO for inactive profiling. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfb1b55595a0dfd87b5849e8d0216c029f34445f Author: Carsten Otte Date: Fri Jan 6 00:19:14 2006 -0800 [PATCH] s390: move s390_root_dev_* out of the cio layer Extract the s390_root_dev_* functions from the common I/O layer as they are also used by non-ccw device drivers. Signed-off-by: Carsten Otte Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6810a2bce3aa6573faa9920487274f166fe95c6e Author: Cornelia Huck Date: Fri Jan 6 00:19:13 2006 -0800 [PATCH] s390: re-activated path detection If we receive path not operational indications (pnom in pmcw nonzero), we switch off those paths. To catch them becoming available again, we have to recalculate the lpm from the pmcw each time we start path verification. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 089545f0c71bab6511395c2a060d7f81a99bad58 Author: Martin Schwidefsky Date: Fri Jan 6 00:19:12 2006 -0800 [PATCH] s390: cputime_t fixes There are some more places where the use of cputime_t instead of an integer type and the associated macros is necessary for the virtual cputime accounting on s390. Affected are the s390 specific appldata code and BSD process accounting. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 088c4ec16aa6b865dcf690051ddac30eb2bf6bcc Author: Martin Schwidefsky Date: Fri Jan 6 00:19:11 2006 -0800 [PATCH] s390: update default configuration Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e3df37e7fb4e41bec84465ff31949737160ed58 Author: Cedric Le Goater Date: Fri Jan 6 00:19:10 2006 -0800 [PATCH] s390: rt_sigreturn fix Check return code of do_sigaltstack and force a SIGSEGV if it is -EFAULT. Signed-off-by: Martin Schwidefsky Signed-off-by: Cedric Le Goater Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a63a4931c301a14ca79c41fec0b99d898dbba1fb Author: Martin Schwidefsky Date: Fri Jan 6 00:19:09 2006 -0800 [PATCH] s390: uaccess warnings Convert __access_ok to an inline C function and change __get_user primitive to avoid uaccess compiler warnings. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56dc6a88ec76019e0d0729165cb5b98536270e1d Author: Peter Oberparleiter Date: Fri Jan 6 00:19:09 2006 -0800 [PATCH] s390: cms volume label definitions Moved definition of CMS volume label to vtoc.h and modify partitions/ibm.c to use this volume label definition instead of anonymous array. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 973bd9937569146de0917f54f05b2942f8257912 Author: Martin Schwidefsky Date: Fri Jan 6 00:19:07 2006 -0800 [PATCH] s390: atomic primitives Hugh Dickins Fix the broken atomic_cmpxchg primitive. Add atomic_sub_and_test, atomic64_sub_return, atomic64_sub_and_test, atomic64_cmpxchg, atomic64_add_unless and atomic64_inc_not_zero. Replace old style atomic_compare_and_swap by atomic_cmpxchg. Shorten the whole header by defining most primitives with the two inline functions atomic_add_return and atomic_sub_return. In addition this patch contains the s390 related fixes of Hugh's "mm: fill arch atomic64 gaps" patch. Signed-off-by: Martin Schwidefsky Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d93c700a489eba08514222df414a23852a85d2b Author: Jeff Dike Date: Fri Jan 6 00:19:06 2006 -0800 [PATCH] uml: free network IRQ correctly Free the network IRQ when closing down the network devices at shutdown. Delete the device from the opened devices list on close. These prevent an -EBADF when later disabling SIGIO on all extant descriptors and a complaint from free_irq about freeing the IRQ twice. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a331a511a2fe522034f3958eecf58751be434ac Author: Jeff Dike Date: Fri Jan 6 00:19:05 2006 -0800 [PATCH] uml: fix whitespace in mconsole driver Fix up some bogus spacing in the mconsole driver. Also delete the emacs formatting comment at the end. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4111b025dc64f33803d2147565147428dc51d014 Author: Jeff Dike Date: Fri Jan 6 00:19:05 2006 -0800 [PATCH] uml: capture printk output for mconsole sysrq Pass sysrq output back to the mconsole client using the mechanism introduced for stack output. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f517d3fc862d3c8d8ba65c0b2472d399aceb9ed Author: Jeff Dike Date: Fri Jan 6 00:19:04 2006 -0800 [PATCH] uml: capture printk output for mconsole stack The stack command now sends the printk output back to the mconsole client. This is done by registering a special console for the mconsole driver. This receives all printk output. Normally, it is ignored, but when a stack command is issued, any printk output will be sent back to the client. This will capture any printk output, whether it is stack output or not, since we can't tell the difference. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d Author: Jeff Dike Date: Fri Jan 6 00:19:03 2006 -0800 [PATCH] uml: add mconsole_reply variant with length param This is needed for the console output patch, since we have a possibly non-NULL-terminated string there. So, the new interface takes a string and a length, and the old interface calls strlen on its string and calls the new interface with the length. There's also a bit of whitespace cleanup. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44700a4469b6bb89e6f1edd32b8a4a915dd967c6 Author: Jeff Dike Date: Fri Jan 6 00:19:02 2006 -0800 [PATCH] uml: better diagnostics for broken configs Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e464bf2bed027ea185992b44bf4b0326387a520d Author: Jeff Dike Date: Fri Jan 6 00:19:01 2006 -0800 [PATCH] uml: SIGWINCH handling cleanup Code cleanup - unregister_winch and winch_cleanup had some duplicate code. This is now abstracted out into free_winch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eebe8a9c51686927709a57b1f2725d371014abc Author: Jeff Dike Date: Fri Jan 6 00:19:01 2006 -0800 [PATCH] uml: umid cleanup This patch cleans up the umid code: - The only_if_set argument to get_umid is gone. - get_umid returns an empty string rather than NULL if there is no umid. - umid_is_random is gone since its users went away. - Some printfs were turned into printks because the code runs late enough that printk is working. - Error paths were cleaned up. - Some functions now return an error and let the caller print the error message rather than printing it themselves. This eliminates the practice of passing a pointer to printf or printk in, depending on where in the boot process we are. - Major tidying of not_dead_yet - mostly error path cleanup, plus a comment explaining why it doesn't react to errors the way you might expect. - Calls to os_* interfaces that were moved under os are changed back to their native libc forms. - snprintf, strlcpy, and their bounds-checking friends are used more often, replacing by-hand bounds checking in some places. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2264c475e4bf7427e59921953c89a5693ecb506f Author: Jeff Dike Date: Fri Jan 6 00:18:59 2006 -0800 [PATCH] uml: separate libc-dependent umid code I reworked Gennady's umid OS abstraction patch because the code shouldn't be moved entirely to os. As it turns out, I moved most of it anyway. This patch is the minimal one needed to move the code and have it work. It turns out that the concept of the umid is OS-independent, but almost everything else about the implementation is OS-dependent. This is code movement without cleanup - a follow-on patch tidies everything up without shuffling code around. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4dcee8099802c71437a15b940f66106d9f88b2f Author: Jeff Dike Date: Fri Jan 6 00:18:58 2006 -0800 [PATCH] uml: Add throttling to console driver This patch adds support for throttling and unthrottling input when the tty driver can't handle it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c Author: Jeff Dike Date: Fri Jan 6 00:18:58 2006 -0800 [PATCH] uml: Fix flip_buf full handling When the tty flip_buf is full, it's a good idea to delay the input processing for a jiffy, rather than just scheduling the tasklet immediately. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165dc5911627a9c4752e909a0da661b96b6fd269 Author: Jeff Dike Date: Fri Jan 6 00:18:57 2006 -0800 [PATCH] uml: Simplify console opening/closing and irq registration This patch simplifies the opening and closing of host console devices and the registration and deregistration of IRQs. The intent is to make it obvious that an IRQ can't exist without an open file descriptor. chan_enable will now open the channel, and when both opening and IRQ registration are desired, this should be used. Opening only is done for the initial console, so that interface still needs to exist. The free_irqs_later interface is now gone. It was intended to avoid freeing an IRQ while it was being processed. It did this, but it didn't eliminate the possiblity of free_irq being called from an interrupt, which is bad. In its place is a list of irqs to be freed, which is processed by the signal handler just before exiting. close_one_chan now disables irqs. When a host device disappears, it is just closed, and that disables IRQs. The device id registered with the IRQ is now the chan structure, not the tty. This is because the interrupt arrives on a descriptor associated with the channel. This caused equivalent changes in the arguments to line_timer_cb. line_disable is gone since it is not used any more. The count field in the line structure is gone. tty->count is used instead. The complicated logic in sigio_handler with freeing IRQs when necessary and making sure its idea of the next irq is correct is now much simpler. The irq list can't be rearranged underneath it, so it is now a simple list walk. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f80171e81ed0d08dcdb6efe239d7b929aef498f Author: Jeff Dike Date: Fri Jan 6 00:18:55 2006 -0800 [PATCH] uml: move console configuration This patch changes when console devices are configured in order to prepare the ground for the next patch. parse_chan_pair is now done earlier, when initcalls are run, rather than when the device is opened. When a host device disappears, the channel list is closed, but not freed. This is required by the previous change. line_config now takes the options structure as an argument, and line_open doesn't. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119 Author: Jeff Dike Date: Fri Jan 6 00:18:54 2006 -0800 [PATCH] uml: line_setup interface change line_setup is changed to return the device which it set up, rather than just success or failure. This will be important in the line-config patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9010772cdff36072dd509ec72c1a55fccde8e58e Author: Jeff Dike Date: Fri Jan 6 00:18:54 2006 -0800 [PATCH] uml: Add static initializations and declarations Some structure fields were being dynamically initialized when they could be initialized at compile-time instead. This also makes some declarations static (in the C sense). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d571cd18f225542460b5d9b83e5e0d507be71656 Author: Jeff Dike Date: Fri Jan 6 00:18:53 2006 -0800 [PATCH] uml: Move mconsole support out of generic code A bit of restructuring which eliminates the all_allowed argument (which is mconsole-specific) to line_setup. That logic is moved to the mconsole callback. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88890b88742debb97006df264b653d18acdc80d0 Author: Jeff Dike Date: Fri Jan 6 00:18:52 2006 -0800 [PATCH] uml: Remove unneeded structure field This removes a structure field which turned out to be pointless, and references to it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0834cc77af6a8a650f803d4a7c3c0f134b366f87 Author: Jeff Dike Date: Fri Jan 6 00:18:51 2006 -0800 [PATCH] uml: use ARRAY_SIZE This patch replaces instances of "sizeof(foo)/sizeof(foo[0])" with ARRAY_SIZE(foo), which expands to the same thing. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d50084a2991f3d9490d5c0f3af72e6fe1515a493 Author: Jeff Dike Date: Fri Jan 6 00:18:50 2006 -0800 [PATCH] uml: Formatting changes This patch makes a bunch of non-functional changes - return(foo); becomes return foo; some statements are broken across lines for readability some trailing whitespace is cleaned up open_one_chan took four arguments, three of which could be deduced from the first. Accordingly, they were eliminated. some examples of "} else {" had a newline added some whitespace cleanup in the indentation lines_init got some control flow cleanup some long lines were broken removed another emacs-specific C formatting comment Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b57e9c27882a908f180d4daf72ee12c6f137178 Author: Jeff Dike Date: Fri Jan 6 00:18:49 2006 -0800 [PATCH] uml: non-void functions should return something There are a few functions which are declared to return something, but don't. These are actually infinite loops which are forced to be declared as non-void. This makes them all return 0. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 970d6e3a3461ebc62bc3fc6d4962c936cb2ed97c Author: Jeff Dike Date: Fri Jan 6 00:18:48 2006 -0800 [PATCH] uml: use kstrdup There were a bunch of calls to uml_strdup dating from before kstrdup was introduced. This changes those calls. It doesn't eliminate the definition since there is still a couple of calls in userspace code (which should probably call the libc strdup). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 118c1f27b838c5d1cf5338dc5abff52ceb364826 Author: Alexey Dobriyan Date: Fri Jan 6 00:18:47 2006 -0800 [PATCH] cris: kgdb: remove double_this() Doesn't make much sense and unused. Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b14a72d6cbf73443b975ffb04871e0ffb240df58 Author: Christoph Hellwig Date: Fri Jan 6 00:18:46 2006 -0800 [PATCH] m68knommu: remove enable_irq_nosync() m68k, m68knommu and h8300 define this, but it's not actually used anywhere. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32588918254cff7c03651dcbd3d8cc2301aba5bd Author: Christoph Hellwig Date: Fri Jan 6 00:18:45 2006 -0800 [PATCH] m68knommu: enable_irq/disable_irq mach_enable_irq/mach_disable_irq are never actually set, so let's remove them. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit adfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 Author: Hirokazu Takata Date: Fri Jan 6 00:18:45 2006 -0800 [PATCH] m32r: Remove unnecessary icu_data_t definitions This patch removes unnecessary struct icu_data_t definitions of arch/m32r/kernel/setup_*.c. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b791d4766c19ac014a7b81a551efe4a7511e12a Author: Hirokazu Takata Date: Fri Jan 6 00:18:44 2006 -0800 [PATCH] m32r: Fix M32104 cache flushing routines This patch fixes cache memory parameter setting for the M32104 target. So far, its performance seemed to have been degraded due to incorrect cache parameter setting. * arch/m32r/boot/setup.S: Set SFR(Special Fuction Registers) region to be non-cachable explicitly. * arch/m32r/mm/cache.c: Fix cache flushing routines not to switch off the M32104 cache. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46ea178b7a5162405bf70954d769165cf2161309 Author: Hirokazu Takata Date: Fri Jan 6 00:18:43 2006 -0800 [PATCH] m32r: Update _port2addr to use NONCACHE_OFFSET Modify _port2addr*() routines in arch/m32r/kernel/io_*.c to use NONCACHE_OFFSET instead of hard-coding of a constant address. This modification is also required to support an M3A-ZA36 FPGA eva board in case an MMU-less synthesizable m32r core is used. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b5b776aa5730cbda9cba84ba0f8ccd53a775797 Author: Hirokazu Takata Date: Fri Jan 6 00:18:42 2006 -0800 [PATCH] m32r: Update syscall macros for MMU-less targets This patch is for updating m32r's MMU-less support. Some legacy MMU-less m32r chips cannot return from a trap handler to the right-hand side 16-bit halfword code of a 32-bit instrucion code pair, because a "trap" instruction specification was expanded in M32R-II ISA. This modification forces "trap" instructions to be placed in word alignment location with a parallel "nop" code. Signed-off-by: Kazuhiro Inaoka Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9287d95ea194abf32fab24c6909f8ea55ab0292f Author: Hirokazu Takata Date: Fri Jan 6 00:18:41 2006 -0800 [PATCH] m32r: Support M32104UT target platform This patch is for supporting a new target platform, Renesas M32104UT evaluation board. The M32104UT is an eval board based on an uT-Engine specification. This board has an MMU-less M32R family processor, M32104. http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf This board is one of the most popular M32R platform, so we have ported Linux/M32R to it. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b Author: Hirokazu Takata Date: Fri Jan 6 00:18:39 2006 -0800 [PATCH] m32r: trivial fix to remove unused instructions A trivial fix to remove unused instructions. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 Author: Dave Jones Date: Fri Jan 6 00:18:38 2006 -0800 [PATCH] don't freeze firewire on suspend. We had a report from one loony user who tried out suspend to disk using a swap partition on a firewire drive. As the firewire thread was put to sleep it didn't work out too well. Signed-off-by: Dave Jones Cc: Pavel Machek Cc: Ben Collins Cc: Jody McIntyre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 Author: Rafael J. Wysocki Date: Fri Jan 6 00:17:58 2006 -0800 [PATCH] swsusp: save image header first This makes the swsusp_info structure become the header of the image in the literal sense (ie. it is saved to the swap and read before any other image data with the help of the swsusp's swap map structure, so generally it is treated in the same way as the rest of the image). The main thing it does is to make swsusp_header contain the offset of the swap map used to track the image data pages rather than the offset of swsusp_info.  Simultaneously, swsusp_info becomes the first image page written to the swap. The other changes are generally consequences of the above with a few exceptions (there's some consolidation in the image reading part as a few functions turn into trivial wrappers around something else). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1adf6c8ea916bc4a2587a881ec7715fece63fb5e Author: Rafael J. Wysocki Date: Fri Jan 6 00:17:16 2006 -0800 [PATCH] swsusp: improve handling of swap partitions This changes the handling of swap partitions by swsusp to avoid locking of the swap devices that are not used for suspend and, consequently, simplifies the code. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 Author: Rafael J. Wysocki Date: Fri Jan 6 00:16:37 2006 -0800 [PATCH] mm: add a new function (needed for swap suspend) This adds the function get_swap_page_of_type() allowing us to specify an index in swap_info[] and select a swap_info_struct structure to be used for allocating a swap page. This function (or another one of similar functionality) will be necessary for implementing the image-writing part of swsusp in the user space.  It can also be used for simplifying the current in-kernel implementation of the image-writing part of swsusp. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a Author: Rafael J. Wysocki Date: Fri Jan 6 00:15:56 2006 -0800 [PATCH] swsusp: make image size limit tunable Make the suspend image size limit tunable via /sys/power/image_size. It is necessary for systems on which there is a limited amount of swap available for suspend. It can also be useful for optimizing performance of swsusp on systems with 1 GB of RAM or more. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3a93a255ec33a04776ec50efb30b7a99168dda2 Author: Rafael J. Wysocki Date: Fri Jan 6 00:15:22 2006 -0800 [PATCH] swsusp: limit image size Limit the size of the suspend image to approx. 500 MB, which should improve the overall performance of swsusp on systems with more than 1 GB of RAM. It introduces the constant IMAGE_SIZE that can be set to the preferred size of the image (in MB) and modifies the memory-shrinking part of swsusp to take this constant into account (500 is the default value of IMAGE_SIZE). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c050ca78705592d440c22055865bf4de40fe2a4c Author: Pavel Machek Date: Fri Jan 6 00:15:21 2006 -0800 [PATCH] swsusp: Drop duplicate prototypes These two prototypes are already present in sched.h, remove duplicate version. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45029c3207840edb9c9b795de0145ded1c675fce Author: Patrick Mochel Date: Fri Jan 6 00:15:20 2006 -0800 [PATCH] oss: remove deprecated PM interface from opl3sa2 driver This change removes the old, deprecated interface from the opl3sa2 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76cd48a397f126ea883835f5889ee1837596f021 Author: Patrick Mochel Date: Fri Jan 6 00:15:19 2006 -0800 [PATCH] oss: remove deprecated PM interface from nm256 driver This change removes the old, deprecated interface from the nm256 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53052539f3e2b29ccaf2064b0d3b8cee51d05621 Author: Patrick Mochel Date: Fri Jan 6 00:15:18 2006 -0800 [PATCH] oss: remove deprecated PM interface from maestro driver This change removes the old, deprecated interface from the maestro driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. The check_suspend() function and associated logic was not removed, even though it is now unnecessary. Note that this driver has been obsoleted by an ALSA equivalent. Acked-by: Zach Brown Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94661e7c33e6e3001be07d76d3a87eaa41dad3df Author: Patrick Mochel Date: Fri Jan 6 00:15:17 2006 -0800 [PATCH] oss: remove deprecated PM interface from cs46xx driver This change removes the old, deprecated interface from the cs46xx driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note this driver has PCI PM hooks which are set properly. It also has the ability to trigger suspend/resume from an ioctl. This functionality was not touched, though it could use a serious review if this driver continues to persist in the mainline tree.. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee77e2754247d011a11f572788040cda2493c998 Author: Patrick Mochel Date: Fri Jan 6 00:15:14 2006 -0800 [PATCH] oss: remove deprecated PM interface from cs4281 driver This change removes the old, deprecated interface from the cs4281 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Note that this driver has hooks for PCI power management, but does not implement the ->suspend()/->resume() methods. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c045c14bffcab2d329e86b80dc8ff7d528e05b Author: Patrick Mochel Date: Fri Jan 6 00:15:07 2006 -0800 [PATCH] oss: remove deprecated PM interface from ad1848 driver This change removes the old, deprecated interface from the ad1848 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5e2fa7857f6bf46605c77d949fa6698b9b0bc28 Author: Rafael J. Wysocki Date: Fri Jan 6 00:14:20 2006 -0800 [PATCH] swsusp: fix enough_free_mem This patch fixes a problem with the function enough_free_mem() used by swsusp to verify if there is a sufficient number of memory pages available to it to create and save the suspend image. Namely, enough_free_mem() uses nr_free_pages() to obtain the number of free memory pages, which is incorrect, because this function returns the total number of free pages, including free highmem pages, and the highmem pages cannot be used by swsusp for storing the image data. The patch makes enough_free_mem() avoid counting the free highmem pages as available to swsusp. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72a97e08394a3b2e75481ff680ec2a0591e3cba4 Author: Rafael J. Wysocki Date: Fri Jan 6 00:13:46 2006 -0800 [PATCH] swsusp: improve freeing of memory This patch makes swsusp free only as much memory as needed to complete the suspend and not as much as possible.  In the most of cases this should speed up the suspend and make the system much more responsive after resume, especially if a GUI (eg. X Windows) is used. If needed, the old behavior (ie to free as much memory as possible during suspend) can be restored by unsetting FAST_FREE in power.h Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7088a5c00103ef48782d6c359cd12b13a10666e6 Author: Rafael J. Wysocki Date: Fri Jan 6 00:13:05 2006 -0800 [PATCH] swsusp: introduce the swap map structure This patch introduces the swap map structure that can be used by swsusp for keeping tracks of data pages written to the swap.  The structure itself is described in a comment within the patch. The overall idea is to reduce the amount of metadata written to the swap and to write and read the image pages sequentially, in a file-alike way. This makes the swap-handling part of swsusp fairly independent of its snapshot-handling part and will hopefully allow us to completely separate these two parts in the future. This patch is needed to remove the suspend image size limit imposed by the limited size of the swsusp_info structure, which is essential for x86-64 systems with more than 512 MB of RAM. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d97f02961e8b1f8a24befb88ab0e5c886586ff Author: Rafael J. Wysocki Date: Fri Jan 6 00:12:24 2006 -0800 [PATCH] swsusp: remove encryption This patch removes the image encryption that is only used by swsusp instead of zeroing the image after resume in order to prevent someone from reading some confidential data from it in the future and it does not protect the image from being read by an unauthorized person before resume. The functionality it provides should really belong to the user space and will possibly be reimplemented after the swap-handling functionality of swsusp is moved to the user space. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0595bf3bca9d9932a05b06dd438f40f01d27cd33 Author: Ivan Kokshaysky Date: Fri Jan 6 00:12:22 2006 -0800 [PATCH] Alpha: convert to generic irq framework (alpha part) Kconfig tweaks and tons of deletions. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee45269b0f5979c70bc151c6c2f4e5f4f5ababe Author: Ivan Kokshaysky Date: Fri Jan 6 00:12:21 2006 -0800 [PATCH] Alpha: convert to generic irq framework (generic part) Thanks to Christoph for doing most of the work. This allows automatic SMP IRQ affinity assignment other than default "all interrupts on all CPUs" which is rather expensive. This might be useful if the hardware can be programmed to distribute interrupts among different CPUs, like Alpha does. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fa744e6e91a895750b9980d13fcfc5791a0cd91 Author: Shaohua Li Date: Fri Jan 6 00:12:20 2006 -0800 [PATCH] cpu hotplug/x86_64: disable interrupt in play_dead With physical CPU hotplug, the CPU is hot removed and it should not receive any interrupts. Disabling interrupt is much safer. This basically is what we do in ia64 & x86. Signed-off-by: Shaohua Li Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 766c3f94d4492ee4ec60b65693e71ee4b1d6fd68 Author: Ben Collins Date: Fri Jan 6 00:12:20 2006 -0800 [PATCH] i386: Handle HP laptop rebooting properly. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76865c3f87e825dda0c458b02f30dd8ae64b7bdc Author: Vivek Goyal Date: Fri Jan 6 00:12:19 2006 -0800 [PATCH] i386: ioapic virtual wire mode fix o Currently, during kexec reboot, IOAPIC is re-programmed back to virtual wire mode if there was an i8259 connected to it. This enables getting timer interrupts in second kernel in legacy mode. o After putting into virtual wire mode, IOAPIC delivers the i8259 interrupts to CPU0. This works well for kexec but not for kdump as we might crash on a different CPU and second kernel will not see timer interrupts. o This patch modifies the redirection table entry to deliver the timer interrupts to the cpu we are rebooting (instead of hardcoding to zero). This ensures that second kernel receives timer interrupts even on a non-boot cpu. Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19d534842cc39df1b568722c18f96ae24fb0e136 Author: Brian Gerst Date: Fri Jan 6 00:12:18 2006 -0800 [PATCH] mpspec: remove unneeded packed attribute GCC 4.1 gives the following warning: include/asm/mpspec.h:79: warning: `packed' attribute ignored for field of type `unsigned char' The packed attribute isn't really necessary anyways so just remove it. Signed-off-by: Brian Gerst Acked-by: Dave Jones Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcf0f0d233fc76e7c59c7f731caad555428d0e8d Author: Larry Finger Date: Fri Jan 6 00:12:17 2006 -0800 [PATCH] fix cpu frequency detection in arch/i386/kernel/timers/timer_tsc.c::recalibrate_cpu_khz() When we re-calibrate the frequency, it is likely that an interrupt (as for example the main system clock) will be triggered by the system. Therefore the calibration may not be accurate. This will also provide a fix to bug #5266. Many thanks to Larry Finger for helping resolving this issue. Signed-off-by: Bruno Ducrot Cc: john stultz Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3841b0a173cb6fc52163e67c03280543f2412db3 Author: Jordan Crouse Date: Fri Jan 6 00:12:16 2006 -0800 [PATCH] APM Screen Blanking fix - Fix screen blanking on BIOSes that return APM_NOT_ENGAGED when APM enabled screen blanking is not turned on. The original code only tried to set the state on device 0x100, and then 0x1FF, and I added 0x101 to the mix too. - Clean up logic in apm_console_blank(). - Prevent the error message from printing out twice. Cc: Jordan Crouse Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a Author: Jordan Crouse Date: Fri Jan 6 00:12:15 2006 -0800 [PATCH] Geode LX HW RNG Support Add support to hw_random for the Geode LX HRNG device. Signed-off-by: Jordan Crouse Cc: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f90b8116032f4216d260e31f966a3585319387ac Author: Jordan Crouse Date: Fri Jan 6 00:12:14 2006 -0800 [PATCH] Base support for AMD Geode GX/LX processors Provide basic support for the AMD Geode GX and LX processors. Signed-off-by: Jordan Crouse Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b7f430ee0a269464aa29159eb464e647ca313d3 Author: Daniel Marjamaki Date: Fri Jan 6 00:12:13 2006 -0800 [PATCH] arch/i386/kernel/cpuid.c: unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6926d570b6159c6a7f65921ca119a675b12fef86 Author: Daniel Marjamaki Date: Fri Jan 6 00:12:12 2006 -0800 [PATCH] arch/i386/kernel/msr.c: removed unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d832245d7cc16d50b29c1b708ccbe9c75ac376a3 Author: Stephen Hemminger Date: Fri Jan 6 00:12:12 2006 -0800 [PATCH] x86: fls() in asm There is a single instruction on i386 to find largest set bit; so it makes sense to use it (like we use bfs for ffs()). Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e31b88ba49460653bab87423287bb68743f5de5c Author: Dave Jones Date: Fri Jan 6 00:12:11 2006 -0800 [PATCH] x86: missing printk newline in apic boot option parser Missing newline in printk. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8af095d3a4c8300b4e63ee2c4bb198b565d9431 Author: Dave Jones Date: Fri Jan 6 00:12:10 2006 -0800 [PATCH] x86: change_page_attr() fix The 'make rodata read-only' patch in -mm exposes a latent bug in the 32-bit change_page_attr() function, which causes certain CPUs (Those with NX basically) to reboot instantly after pages are marked read-only. The same bug got fixed a while back on x86-64, but never got propagated to i386. Stuart Hayes from Dell also picked up on this last June, but it never got fixed, as the only thing affected by it aparently was the nvidia driver. Blatantly stealing description from his post.. "It doesn't appear to be fixed (in the i386 arch). The change_page_attr()/split_large_page() code will still still set all the 4K PTEs to PAGE_KERNEL (setting the _PAGE_NX bit) when a large page needs to be split. This wouldn't be a problem for the bulk of the kernel memory, but there are pages in the lower 4MB of memory that's free, and are part of large executable pages that also contain kernel code. If change_page_attr() is called on these, it will set the _PAGE_NX bit on the whole 2MB region that was covered by the large page, causing a large chunk of kernel code to be non-executable." Signed-off-by: Arjan van de Ven Signed-off-by: Dave Jones Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e72c8585e09f127a69a1608bb5ccd1e3fc0dd41e Author: Ashok Raj Date: Fri Jan 6 00:12:09 2006 -0800 [PATCH] make bigsmp the default mode if CONFIG_HOTPLUG_CPU If we are using hotplug enabled kernel, then make bigsmp the default mode. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1855a2c4ce708b823b8b824f8b12937b45f5462a Author: Ashok Raj Date: Fri Jan 6 00:12:08 2006 -0800 [PATCH] x86: convert bigsmp to use flat physical mode When we bring up a new CPU via INIT/startup IPI messages, the CPU that's coming up sends a xTPR message to the chipset. Intel chipsets (at least) don't provide any architectural guarantee on what the chipset will do with this message. For example, the E850x chipsets uses this xTPR message to interpret the interrupt operating mode of the platform. When the CPU coming online sends this message, it always indicates that it is in logical flat mode. For the CPU hotplug case, the platform may already be functioning in cluster APIC mode at this time, the chipset can get confused and mishandle I/O device and IPI interrupt routing. The situation eventually gets corrected when the new CPU sends another xTPR update when we switch it to cluster mode, but there's a window during which the chipset may be in an inconsistent state. This patch avoids this problem by using the flat physical interrupt delivery mode instead of cluster mode for bigsmp (>8 cpu) support. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c898ec16e83331abde39118e22e9e38335bbb950 Author: Anton Blanchard Date: Fri Jan 6 00:12:07 2006 -0800 [PATCH] allow flatmem to be disabled when only sparsemem is implemented On architectures that implement sparsemem but not discontigmem we want to be able to hide the flatmem option in some cases. On ppc64 for example, when we select NUMA we must not select flatmem. Signed-off-by: Anton Blanchard Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 215c3409eed16c89b6d11ea1126bd9d4f36b9afd Author: Andy Whitcroft Date: Fri Jan 6 00:12:06 2006 -0800 [PATCH] i386 sparsemem for single node systems Allow SPARSEMEM to be enabled on non-numa x86 systems. This is made dependant on EXPERIMENTAL also being set. When an in-tree user (such as simulated numa) exists it should be made dependant on that. The plan is to have no options and no selector as normal when !EXPERIMENTAL. When EXPERIMENTAL we enable the FLATMEM and SPARSEMEM options for X86_PC whilst maintaining DISCONTIGMEM and SPARSEMEM for NUMA. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb152f53120d66c98c1f16518407df6a84f23714 Author: Arjan van de Ven Date: Fri Jan 6 00:12:05 2006 -0800 [PATCH] x86/x86_64: mark rodata section read-only: make some datastructures const Mark some key kernel datastructures readonly. This patch was previously posted on Jun 28th but was back then not merged because nothing was enforcing rodata anyway.. well that changed now :) Patch by Christoph Lameter and Dave Jones Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67df197b1a07944c2e0e40ded3d4fd07d108e110 Author: Arjan van de Ven Date: Fri Jan 6 00:12:04 2006 -0800 [PATCH] x86/x86_64: mark rodata section read-only: x86-64 support x86-64 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c728252c7a072628bd3932ff87943d1e12423359 Author: Arjan van de Ven Date: Fri Jan 6 00:12:03 2006 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic x86-64 bugfix Bug fix required for the .rodata work on x86-64: when change_page_attr() and friends need to break up a 2Mb page into 4Kb pages, it always set the NX bit on the PMD, which causes the cpu to consider the entire 2Mb region to be NX regardless of the actual PTE perms. This is fine in general, with one big exception: the 2Mb page that covers the last part of the kernel .text! The fix is to not invent a new permission for the new PMD entry, but to just inherit the existing one minus the PSE bit. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63aaf3086baea7b94c218053af8237f9dbac5d05 Author: Arjan van de Ven Date: Fri Jan 6 00:12:02 2006 -0800 [PATCH] x86/x86_64: mark rodata section read only: x86 parts x86 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b73c828185731f6236a6387c02d7b08c150810 Author: Arjan van de Ven Date: Fri Jan 6 00:12:01 2006 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic infrastructure Generic prep-work for marking the .rodata section readonly: * Align the rodata section at 4Kb boundary * call the mark_rodata_ro() function when available Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d89c145c0344fe2180336af6a309a59a8bc8c1c0 Author: David Howells Date: Fri Jan 6 00:11:59 2006 -0800 [PATCH] x86: handle -Wsign-compare in bitops Make i386's find_first_bit() use an unsigned integer as a counter to avoid getting warnings when -Wsign-compare is given. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2684927c6b938ec7a679891e0ec1fa0709c521bd Author: Zachary Amsden Date: Fri Jan 6 00:11:59 2006 -0800 [PATCH] x86: Deprecate useless bug Remove the "temporary debugging check" which has managed to live for quite some time, and is clearly unneeded. The mm can never be live at this point, so clearly checking the LDT in the mm->context is redundant as well. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92f17f0171e864a2cbe448c5b7b473e72a7d27b8 Author: Zachary Amsden Date: Fri Jan 6 00:11:58 2006 -0800 [PATCH] x86: Apm is on cpu zero only APM BIOS code has a protective wrapper that runs it only on CPU zero. Thus, no need to set APM BIOS segments in the GDT for other CPUs. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b Author: Zachary Amsden Date: Fri Jan 6 00:11:57 2006 -0800 [PATCH] x86: Stop deleting nt Stop deleting NT bit from EFLAGS. See arch/i386/kernel/head.S line 223, which does something even better. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a9918c9617ed21f71f2f20b45efe06822c8f00 Author: Zachary Amsden Date: Fri Jan 6 00:11:56 2006 -0800 [PATCH] x86: Fixed pnp bios limits PnP BIOS data, code, and 32-bit entry segments all have fixed limits as well; set them in the GDT rather than adding more code. It would be nice to add these fixups to the boot GDT rather than setting the GDT for each CPU; perhaps I can wiggle this in later, but getting it in before the subsys init looks tricky. Also, make some progress on deprecating the ugly Q_SET_SEL macros. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fe9fe3c6f9a1ae7aa224bb7a66eb9aad9e4abef Author: Zachary Amsden Date: Fri Jan 6 00:11:55 2006 -0800 [PATCH] x86: Pnp byte granularity The one remaining caller of set_limit, the PnP BIOS code, calls into the PnP BIOS, passing kernel parameters in and out. These parameteres may be passed from arbitrary kernel virtual memory, so they deserve strict protection to stop a bad BIOS from smashing beyond the object size. Unfortunately, the use of set_limit was badly botching this by setting the limit in terms of pages, when it really should have byte granularity. When doing this, I discovered my BIOS had the buggy code during the "get system device node" call: mov ax, es:[bx] Which is harmless, but has a trivial workaround. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fae1c37eea98097de34ba665796fea93b29f4aa Author: Zachary Amsden Date: Fri Jan 6 00:11:54 2006 -0800 [PATCH] x86: Deprecate obsolete ldt accessors Old accessors to fetch LDT descriptors are unused and outdated and in the wrong header file. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99022c4695d3f45fcf7f3827aa46dd2d9e53e365 Author: Zachary Amsden Date: Fri Jan 6 00:11:53 2006 -0800 [PATCH] x86: Apm seg in gdt Since APM BIOS segment limits are now fixed, set them in head.S GDT and don't use the complicated _set_limit() macro expansion. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3012d2d209580c78b5927d55c60a10891be8befd Author: Zachary Amsden Date: Fri Jan 6 00:11:53 2006 -0800 [PATCH] x86: Always relax segments APM BIOSes have many bugs regarding proper representation of the appropriate segment limits for calling the BIOS. By default, APM_RELAX_SEGMENTS is always turned on to support running the APM BIOS on these buggy machines. Keeping 64k limits poses very little danger to the kernel, because the pages where the APM BIOS is located will always be in low physical memory BIOS areas, which should already be marked reserved, and only buggy BIOSes would possibly overstep the segment bounds with writes to data anyway. Since forcing stricter limits breaks many machines and is not default behavior, it seems reasonable to deprecate the older code which may cause APM BIOS to fault. If you really have a badly enough broken APM BIOS that you have to turn off APM_RELAX_SEGMENTS, seems like the best recourse here would be to disable the APM BIOS and / or not compile it into your kernel to begin with, and / or add your system to the known bad list. The reason I want to deprecate this code is there is underlying brokenness with the set_limit macros, and getting rid of many of the call sites rather than rewriting them seems to be the simplest and most correct course of action. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5702d0f742b2f462267bca147334f77a255bcc74 Author: Zachary Amsden Date: Fri Jan 6 00:11:51 2006 -0800 [PATCH] x86: Pnp segments in segment h Move PnP BIOS segment definitions into segment.h; the segments are reserved here, so they might as well be defined here as well. Note I didn't do this for APM BIOS, as Macintosh and other systems use those values to emulate APM in some scary way I don't want to understand. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff6e8c0d5e47f0ceeebde86ec2f5919dbd5beb67 Author: Zachary Amsden Date: Fri Jan 6 00:11:50 2006 -0800 [PATCH] x86: Cr4 is valid on some 486s So some 486 processors do have CR4 register. Allow them to present it in register dumps by using the old fault technique rather than testing processor family. Thanks to Maciej for noticing this. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb05c3249a8e8a675e79d221f4a0874dc10ec903 Author: Jan Beulich Date: Fri Jan 6 00:11:49 2006 -0800 [PATCH] i386: fix bound check IDT gate Other than apparently commonly assumed, the bound instruction does not require the corresponding IDT entry to have DPL 3. Acked-by: "Seth, Rohit" Acked-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d43c6e8083ac8baeb1a167510aea34fcef396e33 Author: Jan Beulich Date: Fri Jan 6 00:11:49 2006 -0800 [PATCH] i386: move SIMD initialization Move some code unrelated to any dealing with hardware bugs from i386's bugs.h to a more logical place. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e43d674f44dc885a2476cab3537e639d9eaa31a9 Author: Jan Beulich Date: Fri Jan 6 00:11:48 2006 -0800 [PATCH] i386: don't blindly enable interrupts in die() Rather than blindly re-enabling interrupts in die(), save their state upon entry and then restore that state. If the kernel is in really bad condition and faults with interrupts disabled, re-enabling them in die() may cause even more trouble, implying more chances of data corruption. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c4cb60e5b97677424e95baee9c29df54b26e6ba Author: Zachary Amsden Date: Fri Jan 6 00:11:47 2006 -0800 [PATCH] x86: GDT alignment fix Make GDT page aligned and page padded to support running inside of a hypervisor. This prevents false sharing of the GDT page with other hot data, which is not allowed in Xen, and causes performance problems in VMware. Rather than go back to the old method of statically allocating the GDT (which wastes unneded space for non-present CPUs), the GDT for APs is allocated dynamically. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 599a6e8ca4ff7f453f847217ecc2718d68e3b0f6 Author: Domen Puncer Date: Fri Jan 6 00:11:46 2006 -0800 [PATCH] mips: remove include/asm-mips/riscos-syscall.h Remove nowhere referenced file ("grep riscos -r ." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Acked-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fef2b580eb50281ae1d2413ab340f677f6722281 Author: David Howells Date: Fri Jan 6 00:11:45 2006 -0800 [PATCH] frv: improve signal handling The attached patch improves the signal handling: (1) It makes do_signal() static as it isn't called from anywhere outside of the arch code. (2) It removes the regs argument to all the static functions within that file, using __frame instead (which is the same thing held in a global register). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8efc0ab50edbac5c65191b8a58dfdab3741b7901 Author: David Howells Date: Fri Jan 6 00:11:44 2006 -0800 [PATCH] frv: fix signal handling The attached patch makes FRV signal handling work properly: (1) After do_notify_resume() has been called, the work flags must be checked again (there may be another signal to deliver or the process might require rescheduling for instance). (2) After the signal frame is set up on the userspace stack, ptrace() should be given an opportunity to single-step into the signal handler. (3) The error state from setting up a signal frame should be passed back up the call chain. (4) The segfault handler shouldn't be preemptively reset in the arch if we fail to deliver a SEGV signal: force_sig() will take care of that. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee1dd3fee22f15728f545d266403fc977e1eb99 Author: David Howells Date: Fri Jan 6 00:11:44 2006 -0800 [PATCH] FRV: Make futex code compilable on nommu [try #2] Make the futex code compilable and usable on NOMMU by making the attempt to handle page faults conditional on CONFIG_MMU. If this is not enabled, then we can assume that EFAULT returned from futex_atomic_op_inuser() is not recoverable, and that the address lies outside of valid memory. handle_mm_fault() is made to BUG if called on NOMMU without attempting to invoke the actual handler (__handle_mm_fault). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c40f7f373889930d176a515ec375b60a70b5b49 Author: David Howells Date: Fri Jan 6 00:11:43 2006 -0800 [PATCH] FRV: Implement futex operations for FRV The attached patch implements futex operations for the FRV architecture. The operations are applicable to both MMU and no-MMU modes; though the EFAULT handling will be a little bit of wasted space on the latter. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0e15190ead07056ab0c3844a499ff35e66d27cc Author: David Howells Date: Fri Jan 6 00:11:42 2006 -0800 [PATCH] NOMMU: Make SYSV IPC SHM use ramfs facilities on NOMMU The attached patch makes the SYSV IPC shared memory facilities use the new ramfs facilities on a no-MMU kernel. The following changes are made: (1) There are now shmem_mmap() and shmem_get_unmapped_area() functions to allow the IPC SHM facilities to commune with the tiny-shmem and shmem code. (2) ramfs files now need resizing using do_truncate() rather than by modifying the inode size directly (see shmem_file_setup()). This causes ramfs to attempt to bind a block of pages of sufficient size to the inode. (3) CONFIG_SYSVIPC is no longer contingent on CONFIG_MMU. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642fb4d1f1dd2417aa69189fe5ceb81e4fb72900 Author: David Howells Date: Fri Jan 6 00:11:41 2006 -0800 [PATCH] NOMMU: Provide shared-writable mmap support on ramfs The attached patch makes ramfs support shared-writable mmaps by: (1) Attempting to perform a contiguous block allocation to the requested size when truncate attempts to increase the file from zero size, such as happens when: fd = shm_open("/file/on/ramfs", ...): ftruncate(fd, size_requested); addr = mmap(NULL, subsize, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, fd, offset); (2) Permitting any shared-writable mapping over any contiguous set of extant pages. get_unmapped_area() will return the address into the actual ramfs pages. The mapping may start anywhere and be of any size, but may not go over the end of file. Multiple mappings may overlap in any way. (3) Not permitting a file to be shrunk if it would truncate any shared mappings (private mappings are copied). Thus this patch provides support for POSIX shared memory on NOMMU kernels, with certain limitations such as there being a large enough block of pages available to support the allocation and it only working on directly mappable filesystems. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f6d4b0c21a6894dad7665d3dda4174c7c120784 Author: Ben Collins Date: Fri Jan 6 00:11:40 2006 -0800 [PATCH] therm_adt746x: Quiet fan speed change messages Only output the messages about fan speed changes with a verbose=1 module param. Signed-off-by: Fabio M. Di Nitto Signed-off-by: Ben Collins Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 683e2cc6dc5aa9bb4ba2f2e0662df9d7f0a1d6c2 Author: Peter Korsgaard Date: Fri Jan 6 00:11:39 2006 -0800 [PATCH] ppc32: Re-add embed_config.c to ml300/ep405 Commit 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 (ppc32: cleanup AMCC PPC40x eval boards to support U-Boot) broke the kernel for ML300 / EP405. It still compiles as there's a weak definition of the function in misc-embedded.c, but the kernel crashes as the bd_t fixup isn't performed. Signed-off-by: Peter Korsgaard Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f80257a25d9f73a0e6e377c7d6bf29b8938c042d Author: Sylvain Munaut Date: Fri Jan 6 00:11:38 2006 -0800 [PATCH] ppc32: Allows compilation of a MPC52xx kernel without PCI Some custom cards might not need PCI, without this patch, compilation fails. Signed-off-by: Roger Blofeld Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 041cb6241fa97c4881dd19d79f783b2e077acd28 Author: Sylvain Munaut Date: Fri Jan 6 00:11:37 2006 -0800 [PATCH] ppc32: Fix MPC52xx PCI init in cas the bootloader didn't do it We were counting on the bootloader to init some stuff, like get the bus out of reset and enable accesses. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db674ed450f113518285f410c93abecd93e71a2f Author: Sylvain Munaut Date: Fri Jan 6 00:11:36 2006 -0800 [PATCH] ppc32: Fix MPC52xx configuration space access This patch takes care of an errata of the MPC5200 by avoiding 32 bits access in type 1 configuration accesses. All others accesses are still 32 bits wide. It also adds some mb() since the simple out_be(...) are not sufficient in this case. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef Author: Sylvain Munaut Date: Fri Jan 6 00:11:35 2006 -0800 [PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups The mpc52xx_pci_fixup_resources is not only called at init but also when there is a pci hotplug like when a cardbus card is plugged in. So that function is needed after init too. Thanks to Asier Llano Palacios for reporting this. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e21b9f2e9a580ce7375ec58953c1bb19aabe0db4 Author: Sylvain Munaut Date: Fri Jan 6 00:11:35 2006 -0800 [PATCH] ppc32: Modify Freescale MPC52xx IRQ mapping to _not_ use irq 0 AFAIK IRQ number 0 is a perfectly valid IRQ number. But it seems there are numerous places where it's considered to be invalid or "no irq" value. Since that value is problematic, the IRQ mapping is changed to not use it. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aa7c80193c561e52c06351e0f521e697954a859 Author: Sylvain Munaut Date: Fri Jan 6 00:11:34 2006 -0800 [PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx The current iomapping used MBAR_SIZE for the size argument of io_block_mapping, resulting in a call to setbat with a size argument of 64k which is invalid. This patch correct this and maps the whole 0xf0000000->0xffffffff range so that devices on the local bus are also included in the BAT mapping. Thanks to Bernhard Kuhn from Metrowerks for pointing this out. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d62de3aa8ac762c09845aa38634a845da55f31dc Author: Sylvain Munaut Date: Fri Jan 6 00:11:32 2006 -0800 [PATCH] ppc32/serial: Change mpc52xx_uart.c to use the Low Density Serial port major Before this patch we were just using the "classic" /dev/ttySx devices. However when another on the system is loaded that uses those (like drivers for serial PCMCIA), that creates a conflict for the minors. Therefore, we now use /dev/ttyPSC[0:5] (note the 0-based numbering !) with some minors we've been assigned in the "Low Density Serial port major" Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d8179c0b77b54e27321944e16f65defeda81e27 Author: Sylvain Munaut Date: Fri Jan 6 00:11:31 2006 -0800 [PATCH] ppc32/serial: Fix compiler errors with GCC 4.x in mpc52xx_uart.c Signed-off-by: Wolfgang Denk Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7558824a8d16e244072bfebc9e5e3e3b1b9af261 Author: Sylvain Munaut Date: Fri Jan 6 00:11:30 2006 -0800 [PATCH] ppc32: Remove useless file arch/ppc/platforms/mpc5200.c That file is a left-over of the 'old' OCP model that should have been erased during the change to platform model but I forgot it ... Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd Author: Arthur Othieno Date: Fri Jan 6 00:11:29 2006 -0800 [PATCH] macintosh: don't store i2c_add_driver() return if no further processing done therm_pm72.c and windfarm_lm75_sensor.c both store the return from i2c_add_driver() but do no further processing on the result. Simply return what i2c_add_driver() did, instead. Signed-off-by: Arthur Othieno Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e13ac219816c58579f40b48220b2fa5d94c30e84 Author: Otavio Salvador Date: Fri Jan 6 00:11:26 2006 -0800 [PATCH] arch/ppc/kernel/idle.c: don't declare cpu variable in non-SMP kernels Disable declaration of cpu variable in default_idle function when building non-SMP kernels. Signed-off-by: Otavio Salvador Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d Author: Eugene Surovegin Date: Fri Jan 6 00:11:26 2006 -0800 [PATCH] ppc32: remove "jumbo" member from ocp_func_emac_data Remove the not needed anymore "jumbo" member from ocp_func_emac_data. Jumbo frame support is handled by PPC4xx EMAC driver internally now. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ae8f40767a3afc6244719a2c8fbcf546767d5b0 Author: Adrian Bunk Date: Fri Jan 6 00:11:25 2006 -0800 [PATCH] security/: possible cleanups make needlessly global code static Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 Author: David Howells Date: Fri Jan 6 00:11:24 2006 -0800 [PATCH] Keys: Remove key duplication Remove the key duplication stuff since there's nothing that uses it, no way to get at it and it's awkward to deal with for LSM purposes. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32725ad8430b58e42c5d54757ce7871e680d05cb Author: Tobias Klauser Date: Fri Jan 6 00:11:23 2006 -0800 [PATCH] selinux: more ARRAY_SIZE cleanups Further ARRAY_SIZE cleanups under security/selinux. Signed-off-by: Tobias Klauser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e20a64a3913819133fefeca466211c7eb8adda1 Author: Nicolas Kaiser Date: Fri Jan 6 00:11:22 2006 -0800 [PATCH] selinux: ARRAY_SIZE cleanups Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Signed-off-by: Nicolas Kaiser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b09eb1c06a14641209e6b86e9a5b28ea8287f193 Author: Nick Piggin Date: Fri Jan 6 00:11:21 2006 -0800 [PATCH] mm: page_state opt docs Comment the new locking rules for page_state statistics. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a74609fafa2e5cc31d558012abaaa55ec9ad9da4 Author: Nick Piggin Date: Fri Jan 6 00:11:20 2006 -0800 [PATCH] mm: page_state opt Optimise page_state manipulations by introducing interrupt unsafe accessors to page_state fields. Callers must provide their own locking (either disable interrupts or not update from interrupt context). Switch over the hot callsites that can easily be moved under interrupts off sections. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3cb487149bd706aa6aeb02042332a450978dc1c Author: Christoph Lameter Date: Fri Jan 6 00:11:20 2006 -0800 [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 Several counters already have the need to use 64 atomic variables on 64 bit platforms (see mm_counter_t in sched.h). We have to do ugly ifdefs to fall back to 32 bit atomic on 32 bit platforms. The VM statistics patch that I am working on will also make more extensive use of atomic64. This patch introduces a new type atomic_long_t by providing definitions in asm-generic/atomic.h that works similar to the c "long" type. Its 32 bits on 32 bit platforms and 64 bits on 64 bit platforms. Also cleans up the determination of the mm_counter_t in sched.h. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 070f80326a215d8e6c4fd6f175e28eb446c492bc Author: Christoph Lameter Date: Fri Jan 6 00:11:19 2006 -0800 [PATCH] build_zonelists_node(): rename args Give j and r meaningful names. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02a68a5ebc7dd823da7496116f42290103e1e4a9 Author: Christoph Lameter Date: Fri Jan 6 00:11:18 2006 -0800 [PATCH] Fix zone policy determination The use k in the inner loop means that the highest zone nr is always used if any zone of a node is populated. This means that the policy zone is not correctly determined on arches that do no use HIGHMEM like ia64. Change the loop to decrement k which also simplifies the BUG_ON. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4be38e351c5f455f6f490f5aff29053e33ab4f99 Author: Christoph Lameter Date: Fri Jan 6 00:11:17 2006 -0800 [PATCH] mm: move determination of policy_zone into page allocator Currently the function to build a zonelist for a BIND policy has the side effect to set the policy_zone. This seems to be a bit strange. policy zone seems to not be initialized elsewhere and therefore 0. Do we police ZONE_DMA if no bind policy has been used yet? This patch moves the determination of the zone to apply policies to into the page allocator. We determine the zone while building the zonelist for nodes. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a93205bdffd9d7278d4a66081cdb48452522a58 Author: Christoph Lameter Date: Fri Jan 6 00:11:16 2006 -0800 [PATCH] mm: simplify build_zonelists_node by removing the case statement. Simplify build_zonelists_node by removing the case statement. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3fe65122da05e1cd4c9140340d96ea2f95d0c49 Author: Con Kolivas Date: Fri Jan 6 00:11:15 2006 -0800 [PATCH] mm: add populated_zone() helper There are numerous places we check whether a zone is populated or not. Provide a helper function to check for populated zones and convert all checks for zone->present_pages. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80bfed904c690642db9d4178950735299160950b Author: Andrew Morton Date: Fri Jan 6 00:11:14 2006 -0800 [PATCH] consolidate lru_add_drain() and lru_drain_cache() Cc: Christoph Lameter Cc: Rajesh Shah Cc: Li Shaohua Cc: Srivatsa Vaddagiri Cc: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 210fe530305ee50cd889fe9250168228b2994f32 Author: Andrew Morton Date: Fri Jan 6 00:11:14 2006 -0800 [PATCH] vmscan: balancing fix Revert a patch which went into 2.6.8-rc1. The changelog for that patch was: The shrink_zone() logic can, under some circumstances, cause far too many pages to be reclaimed. Say, we're scanning at high priority and suddenly hit a large number of reclaimable pages on the LRU. Change things so we bale out when SWAP_CLUSTER_MAX pages have been reclaimed. Problem is, this change caused significant imbalance in inter-zone scan balancing by truncating scans of larger zones. Suppose, for example, ZONE_HIGHMEM is 10x the size of ZONE_NORMAL. The zone balancing algorithm would require that if we're scanning 100 pages of ZONE_HIGHMEM, we should scan 10 pages of ZONE_NORMAL. But this logic will cause the scanning of ZONE_HIGHMEM to bale out after only 32 pages are reclaimed. Thus effectively causing smaller zones to be scanned relatively harder than large ones. Now I need to remember what the workload was which caused me to write this patch originally, then fix it up in a different way... Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41e9b63b35b52cf918a4ffdb8d77862ab824aa8b Author: Nick Piggin Date: Fri Jan 6 00:11:13 2006 -0800 [PATCH] mm: pfault optimisation This atomic operation is superfluous: the pte will be added with the referenced bit set, and the page will be referenced through this mapping after the page fault handler returns anyway. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9617d95e6e9ffd883cf90a89724fe60d7ab22f9a Author: Nick Piggin Date: Fri Jan 6 00:11:12 2006 -0800 [PATCH] mm: rmap optimisation Optimise rmap functions by minimising atomic operations when we know there will be no concurrent modifications. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 224abf92b2f439a9030f21d2926ec8047d1ffcdb Author: Nick Piggin Date: Fri Jan 6 00:11:11 2006 -0800 [PATCH] mm: bad_page optimisation Cut down size slightly by not passing bad_page the function name (it should be able to be determined by dump_stack()). And cut down the number of printks in bad_page. Also, cut down some branching in the destroy_compound_page path. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9328b8faae922e52073785ed6c1eaa8565648a0e Author: Nick Piggin Date: Fri Jan 6 00:11:10 2006 -0800 [PATCH] mm: dma32 zone statistics Add dma32 to zone statistics. Also attempt to arrange struct page_state a bit better (visually). Signed-off-by: Nick Piggin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a Author: Andrew Morton Date: Fri Jan 6 00:11:09 2006 -0800 [PATCH] kill last zone_reclaim() bits Remove the last bits of Martin's ill-fated sys_set_zone_reclaim(). Cc: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbfbb7cec9dd7266534b2b4b9c8be2fa425bbfc9 Author: Nikita Danilov Date: Fri Jan 6 00:11:08 2006 -0800 [PATCH] find_lock_page(): call __lock_page() directly. As find_lock_page() already checks with TestSetPageLocked() that page is locked, there is no need to call lock_page() that will try-lock page again (chances of page being unlocked in between are small). Call __lock_page() directly, this saves one atomic operation. Also, mark truncate-while-slept path as unlikely while we are here. (akpm: ug. But this is actually a common path for normal old read()s against a page which is under readahead I/O so ho-hum.) Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a226f6c899799fe2c4919daa0767ac579c88f7bd Author: David Howells Date: Fri Jan 6 00:11:08 2006 -0800 [PATCH] FRV: Clean up bootmem allocator's page freeing algorithm The attached patch cleans up the way the bootmem allocator frees pages. A new function, __free_pages_bootmem(), is provided in mm/page_alloc.c that is called from mm/bootmem.c to turn pages over to the main allocator. All the bits of code to initialise pages (clearing PG_reserved and setting the page count) are moved to here. The checks on page validity are removed, on the assumption that the struct page arrays will have been prepared correctly. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008857c1a49ccffc31a54c3ea7e182833bd61304 Author: Ravikiran G Thirumalai Date: Fri Jan 6 00:11:01 2006 -0800 [PATCH] Cleanup bootmem allocator and fix alloc_bootmem_low Patch cleans up the alloc_bootmem fix for swiotlb. Patch removes alloc_bootmem_*_limit api and fixes alloc_boot_*low api to do the right thing -- allocate from low32 memory. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 085cc7d5de3cc662da7ea78296464a0d52f3f01f Author: Nick Piggin Date: Fri Jan 6 00:11:01 2006 -0800 [PATCH] mm: page_alloc cleanups Small cleanups that does not change generated code with the gcc's I've tested with. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a86b1f53166a260ced8f3c8c526945bf496f2e78 Author: Nick Piggin Date: Fri Jan 6 00:11:00 2006 -0800 [PATCH] mm: page_state fixes read_page_state and __get_page_state only traverse online CPUs, which will cause results to fluctuate when CPUs are plugged in or out. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a Author: Nick Piggin Date: Fri Jan 6 00:10:59 2006 -0800 [PATCH] mm: remove pcp low struct per_cpu_pages.low is useless. Remove it. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 Author: Nick Piggin Date: Fri Jan 6 00:10:58 2006 -0800 [PATCH] mm: remove bad_range bad_range is supposed to be a temporary check. It would be a pity to throw it out. Make it depend on CONFIG_DEBUG_VM instead. CONFIG_HOLES_IN_ZONE systems were relying on this to check pfn_valid in the page allocator. Add that to page_is_buddy instead. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92be2e33b155ee76399f51f41fb061f850d02f08 Author: Nick Piggin Date: Fri Jan 6 00:10:57 2006 -0800 [PATCH] mm: microopt conditions Micro optimise some conditionals where we don't need lazy evaluation. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77a8a78834561398fb4cb1480afa7b0e80b1dd53 Author: Nick Piggin Date: Fri Jan 6 00:10:57 2006 -0800 [PATCH] mm: set_page_refs opt Inline set_page_refs. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c54ad30c784b84d0275152d0ca80985b21471811 Author: Nick Piggin Date: Fri Jan 6 00:10:56 2006 -0800 [PATCH] mm: pagealloc opt Slightly optimise some page allocation and freeing functions by taking advantage of knowing whether or not interrupts are disabled. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c484d41042e6ccb88089ca41e3b3eed1bafdae21 Author: Hugh Dickins Date: Fri Jan 6 00:10:55 2006 -0800 [PATCH] mm: free_pages_and_swap_cache opt Minor optimization (though it doesn't help in the PREEMPT case, severely constrained by small ZAP_BLOCK_SIZE). free_pages_and_swap_cache works in chunks of 16, calling release_pages which works in chunks of PAGEVEC_SIZE. But PAGEVEC_SIZE was dropped from 16 to 14 in 2.6.10, so we're now doing more spin_lock_irq'ing than necessary: use PAGEVEC_SIZE throughout. Signed-off-by: Hugh Dickins Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 161599ff39a3c3cdea0a1be05ac53accd2c45cdd Author: Andy Whitcroft Date: Fri Jan 6 00:10:54 2006 -0800 [PATCH] sparsemem: provide pfn_to_nid Before SPARSEMEM is initialised we cannot provide an efficient pfn_to_nid() implmentation; before initialisation is complete we use early_pfn_to_nid() to provide location information. Until recently there was no non-init user of this functionality. Provide a post init pfn_to_nid() implementation. Note that this implmentation assumes that the pfn passed has been validated with pfn_valid(). The current single user of this function already has this check. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bdaf115b1c364d89484b59d5b937973f1c5a5c3 Author: Andy Whitcroft Date: Fri Jan 6 00:10:53 2006 -0800 [PATCH] flatmem split out memory model There are three places we define pfn_to_nid(). Two in linux/mmzone.h and one in asm/mmzone.h. These in essence represent the three memory models. The definition in linux/mmzone.h under !NEED_MULTIPLE_NODES is both the FLATMEM definition and the optimisation for single NUMA nodes; the one under SPARSEMEM is the NUMA sparsemem one; the one in asm/mmzone.h under DISCONTIGMEM is the discontigmem one. This is not in the least bit obvious, particularly the connection between the non-NUMA optimisations and the memory models. Two patches: flatmem-split-out-memory-model: simplifies the selection of pfn_to_nid() implementations. The selection is based primarily off the memory model selected. Optimisations for non-NUMA are applied where needed. sparse-provide-pfn_to_nid: implement pfn_to_nid() for SPARSEMEM This patch: pfn_to_nid is memory model specific The pfn_to_nid() call is memory model specific. It represents the locality identifier for the memory passed. Classically this would be a NUMA node, but not a chunk of memory under DISCONTIGMEM. The SPARSEMEM and FLATMEM memory model non-NUMA versions of pfn_to_nid() are folded together under NEED_MULTIPLE_NODES, while DISCONTIGMEM has its own optimisation. This is all very confusing. This patch splits out each implementation of pfn_to_nid() so that we can see them and the optimisations to each. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03b00ebcc804180829d513df9e92e5fe8f72aacf Author: Russell King Date: Fri Jan 6 00:10:52 2006 -0800 [PATCH] Shut up warnings in ipc/shm.c Fix two warnings in ipc/shm.c ipc/shm.c:122: warning: statement with no effect ipc/shm.c:560: warning: statement with no effect by converting the macros to empty inline functions. For safety, let's do all three. This also has the advantage that typechecking gets performed even without CONFIG_SHMEM enabled. Signed-off-by: Russell King Cc: Manfred Spraul Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a94b3ab7eab4edcc9b2cb474b188f774c331adf7 Author: Mike Kravetz Date: Fri Jan 6 00:10:51 2006 -0800 [PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODES The NODES_SPAN_OTHER_NODES config option was created so that DISCONTIGMEM could handle pSeries numa layouts. However, support for DISCONTIGMEM has been replaced by SPARSEMEM on powerpc. As a result, this config option and supporting code is no longer needed. I have already sent a patch to Paul that removes the option from powerpc specific code. This removes the arch independent piece. Doesn't really matter which is applied first. Signed-off-by: Mike Kravetz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 Author: Andy Whitcroft Date: Fri Jan 6 00:10:50 2006 -0800 [PATCH] mm: pfn_to_pgdat not used in common code pfn_to_pgdat() isn't used in common code. Remove definition. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 Author: Andy Whitcroft Date: Fri Jan 6 00:10:50 2006 -0800 [PATCH] mm: kvaddr_to_nid not used in common code kvaddr_to_nid() isn't used in common code nor in i386 code. Remove these definitions. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bda666a03f063968833760c5bb5c13062ab9291 Author: Christoph Lameter Date: Fri Jan 6 00:10:49 2006 -0800 [PATCH] hugepages: fold find_or_alloc_pages into huge_no_page() The number of parameters for find_or_alloc_page increases significantly after policy support is added to huge pages. Simplify the code by folding find_or_alloc_huge_page() into hugetlb_no_page(). Adam Litke objected to this piece in an earlier patch but I think this is a good simplification. Diffstat shows that we can get rid of almost half of the lines of find_or_alloc_page(). If we can find no consensus then lets simply drop this patch. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21abb1478a87e26f5fa71dbcb7cf4264272c2248 Author: Christoph Lameter Date: Fri Jan 6 00:10:47 2006 -0800 [PATCH] Remove old node based policy interface from mempolicy.c mempolicy.c contains provisional interface for huge page allocation based on node numbers. This is in use in SLES9 but was never used (AFAIK) in upstream versions of Linux. Huge page allocations now use zonelists to figure out where to allocate pages. The use of zonelists allows us to find the closest hugepage which was the consideration of the NUMA distance for huge page allocations. Remove the obsolete functions. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5da7ca86078964cbfe6c83efc1205904587706fe Author: Christoph Lameter Date: Fri Jan 6 00:10:46 2006 -0800 [PATCH] Add NUMA policy support for huge pages. The huge_zonelist() function in the memory policy layer provides an list of zones ordered by NUMA distance. The hugetlb layer will walk that list looking for a zone that has available huge pages but is also in the nodeset of the current cpuset. This patch does not contain the folding of find_or_alloc_huge_page() that was controversial in the earlier discussion. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96df9333c94d7d5aeceb21f6c5e7ae8ff34753cf Author: Christoph Lameter Date: Fri Jan 6 00:10:45 2006 -0800 [PATCH] mm: dequeue a huge page near to this node This was discussed at http://marc.theaimsgroup.com/?l=linux-kernel&m=113166526217117&w=2 This patch changes the dequeueing to select a huge page near the node executing instead of always beginning to check for free nodes from node 0. This will result in a placement of the huge pages near the executing processor improving performance. The existing implementation can place the huge pages far away from the executing processor causing significant degradation of performance. The search starting from zero also means that the lower zones quickly run out of memory. Selecting a huge page near the process distributed the huge pages better. Signed-off-by: Christoph Lameter Cc: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8f889b10d8d2223105719e36ce45688fedbd59 Author: David Gibson Date: Fri Jan 6 00:10:44 2006 -0800 [PATCH] Hugetlb: Copy on Write support Implement copy-on-write support for hugetlb mappings so MAP_PRIVATE can be supported. This helps us to safely use hugetlb pages in many more applications. The patch makes the following changes. If needed, I also have it broken out according to the following paragraphs. 1. Add a pair of functions to set/clear write access on huge ptes. The writable check in make_huge_pte is moved out to the caller for use by COW later. 2. Hugetlb copy-on-write requires special case handling in the following situations: - copy_hugetlb_page_range() - Copied pages must be write protected so a COW fault will be triggered (if necessary) if those pages are written to. - find_or_alloc_huge_page() - Only MAP_SHARED pages are added to the page cache. MAP_PRIVATE pages still need to be locked however. 3. Provide hugetlb_cow() and calls from hugetlb_fault() and hugetlb_no_page() which handles the COW fault by making the actual copy. 4. Remove the check in hugetlbfs_file_map() so that MAP_PRIVATE mmaps will be allowed. Make MAP_HUGETLB exempt from the depricated VM_RESERVED mapping check. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86e5216f8d8aa258ba836caffe2613d79cc9aead Author: Adam Litke Date: Fri Jan 6 00:10:43 2006 -0800 [PATCH] Hugetlb: Reorganize hugetlb_fault to prepare for COW This patch splits the "no_page()" type activity into its own function, hugetlb_no_page(). hugetlb_fault() becomes the entry point for hugetlb faults and delegates to the appropriate handler depending on the type of fault. Right now we still have only hugetlb_no_page() but a later patch introduces a COW fault. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85ef47f74afe96c8c23eaa605f28cc01443c905f Author: Adam Litke Date: Fri Jan 6 00:10:42 2006 -0800 [PATCH] Hugetlb: Rename find_lock_page to find_or_alloc_huge_page find_lock_huge_page() isn't a great name, since it does extra things not analagous to find_lock_page(). Rename it find_or_alloc_huge_page() which is closer to the mark. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0916794f00be44154102dedaeafe68b743078a2 Author: Adam Litke Date: Fri Jan 6 00:10:40 2006 -0800 [PATCH] Hugetlb: Remove duplicate i_size check cleanup Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6b3ec238d12c8cc6cc71490c6e3127988460349 Author: Badari Pulavarty Date: Fri Jan 6 00:10:38 2006 -0800 [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store Here is the patch to implement madvise(MADV_REMOVE) - which frees up a given range of pages & its associated backing store. Current implementation supports only shmfs/tmpfs and other filesystems return -ENOSYS. "Some app allocates large tmpfs files, then when some task quits and some client disconnect, some memory can be released. However the only way to release tmpfs-swap is to MADV_REMOVE". - Andrea Arcangeli Databases want to use this feature to drop a section of their bufferpool (shared memory segments) - without writing back to disk/swap space. This feature is also useful for supporting hot-plug memory on UML. Concerns raised by Andrew Morton: - "We have no plan for holepunching! If we _do_ have such a plan (or might in the future) then what would the API look like? I think sys_holepunch(fd, start, len), so we should start out with that." - Using madvise is very weird, because people will ask "why do I need to mmap my file before I can stick a hole in it?" - None of the other madvise operations call into the filesystem in this manner. A broad question is: is this capability an MM operation or a filesytem operation? truncate, for example, is a filesystem operation which sometimes has MM side-effects. madvise is an mm operation and with this patch, it gains FS side-effects, only they're really, really significant ones." Comments: - Andrea suggested the fs operation too but then it's more efficient to have it as a mm operation with fs side effects, because they don't immediatly know fd and physical offset of the range. It's possible to fixup in userland and to use the fs operation but it's more expensive, the vmas are already in the kernel and we can use them. Short term plan & Future Direction: - We seem to need this interface only for shmfs/tmpfs files in the short term. We have to add hooks into the filesystem for correctness and completeness. This is what this patch does. - In the future, plan is to support both fs and mmap apis also. This also involves (other) filesystem specific functions to be implemented. - Current patch doesn't support VM_NONLINEAR - which can be addressed in the future. Signed-off-by: Badari Pulavarty Cc: Hugh Dickins Cc: Andrea Arcangeli Cc: Michael Kerrisk Cc: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7339071f6a8b50101d7ba327926b770f22d5d8b Author: Hans Reiser Date: Fri Jan 6 00:10:36 2006 -0800 [PATCH] reiser4: vfs: add truncate_inode_pages_range() This patch makes truncate_inode_pages_range from truncate_inode_pages. truncate_inode_pages became a one-liner call to truncate_inode_pages_range. Reiser4 needs truncate_inode_pages_ranges because it tries to keep correspondence between existences of metadata pointing to data pages and pages to which those metadata point to. So, when metadata of certain part of file is removed from filesystem tree, only pages of corresponding range are to be truncated. (Needed by the madvise(MADV_REMOVE) patch) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 900b2b463dc6e65ec474d6880412c63c25b3aea9 Author: Andy Whitcroft Date: Fri Jan 6 00:10:35 2006 -0800 [PATCH] memhotplug: register_memory should be global register_memory is global and declared so in linux/memory.h. Update the HOTPLUG specific definition to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98a38ebdda69f1498be4f618d8d919695c8d6352 Author: Andy Whitcroft Date: Fri Jan 6 00:10:35 2006 -0800 [PATCH] memhotplug: register_ and unregister_memory_notifier should be global Both register_memory_notifer and unregister_memory_notifier are global and declared so in linux/memory.h. Update the HOTPLUG specific definitions to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac24eefd1d89bc6aa2817741c3bd5d4205b2efd Author: Andy Whitcroft Date: Fri Jan 6 00:10:33 2006 -0800 [PATCH] memhotplug: __add_section remove unused pgdat definition __add_section defines an unused pointer to the zones pgdat. Remove this definition. This fixes a compile warning. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47f3a867f6310d6abfa185ab12baaba7ed1d69af Author: Paul Jackson Date: Fri Jan 6 00:10:32 2006 -0800 [PATCH] mm: fix __alloc_pages cpuset ALLOC_* flags Two changes to the setting of the ALLOC_CPUSET flag in mm/page_alloc.c:__alloc_pages() - A bug fix - the "ignoring mins" case should not be honoring ALLOC_CPUSET. This case of all cases, since it is handling a request that will free up more memory than is asked for (exiting tasks, e.g.) should be allowed to escape cpuset constraints when memory is tight. - A logic change to make it simpler. Honor cpusets even on GFP_ATOMIC (!wait) requests. With this, cpuset confinement applies to all requests except ALLOC_NO_WATERMARKS, so that in a subsequent cleanup patch, I can remove the ALLOC_CPUSET flag entirely. Since I don't know any real reason this logic has to be either way, I am choosing the path of the simplest code. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a576219aca70e6700705a9836e098dbecd25fb56 Author: Andrew Morton Date: Fri Jan 6 00:09:50 2006 -0800 [PATCH] swsusp: resume_store() retval fix - This function returns -EINVAL all the time. Fix. - Decruftify it a bit too. - Writing to it doesn't seem to do what it's suppoed to do. Cc: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 817c41d76e9eaf72044268b0e545a547abadc0bb Author: Andrew Morton Date: Fri Jan 6 00:09:50 2006 -0800 [PATCH] alpha: dma_map_page() fix Cc: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f1e030bf75774b6a283518e1534d598e14147d4 Author: NeilBrown Date: Fri Jan 6 00:09:49 2006 -0800 [PATCH] knfsd: fix hash function for IP addresses on 64bit little-endian machines. The hash.h hash_long function, when used on a 64 bit machine, ignores many of the middle-order bits. (The prime chosen it too bit-sparse). IP addresses for clients of an NFS server are very likely to differ only in the low-order bits. As addresses are stored in network-byte-order, these bits become middle-order bits in a little-endian 64bit 'long', and so do not contribute to the hash. Thus you can have the situation where all clients appear on one hash chain. So, until hash_long is fixed (or maybe forever), us a hash function that works well on IP addresses - xor the bytes together. Thanks to "Iozone" for identifying this problem. Cc: "Iozone" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2f0260c74324abca76ccaa42d426af163125e7 Author: Herbert Xu Date: Fri Jan 6 00:09:47 2006 -0800 [PATCH] nbd: fix TX/RX race condition Janos Haar of First NetCenter Bt. reported numerous crashes involving the NBD driver. With his help, this was tracked down to bogus bio vectors which in turn was the result of a race condition between the receive/transmit routines in the NBD driver. The bug manifests itself like this: CPU0 CPU1 do_nbd_request add req to queuelist nbd_send_request send req head for each bio kmap send nbd_read_stat nbd_find_request nbd_end_request kunmap When CPU1 finishes nbd_end_request, the request and all its associated bio's are freed. So when CPU0 calls kunmap whose argument is derived from the last bio, it may crash. Under normal circumstances, the race occurs only on the last bio. However, if an error is encountered on the remote NBD server (such as an incorrect magic number in the request), or if there were a bug in the server, it is possible for the nbd_end_request to occur any time after the request's addition to the queuelist. The following patch fixes this problem by making sure that requests are not added to the queuelist until after they have been completed transmission. In order for the receiving side to be ready for responses involving requests still being transmitted, the patch introduces the concept of the active request. When a response matches the current active request, its processing is delayed until after the tranmission has come to a stop. This has been tested by Janos and it has been successful in curing this race condition. From: Herbert Xu Here is an updated patch which removes the active_req wait in nbd_clear_queue and the associated memory barrier. I've also clarified this in the comment. Signed-off-by: Herbert Xu Cc: Cc: Paul Clements Signed-off-by: Herbert Xu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd6a59b22fd3bd044bb14978b885bcd042a10e8e Author: Joshua Kwan Date: Fri Jan 6 00:09:45 2006 -0800 [PATCH] hfsplus oops fix nls_utf8 is available, and the check in hfsplus_fill_super checks the wrong pointer for NULLness (it checks the saved nls, not the new one that it needs to use.) Signed-off-by: Joshua Kwan Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e650c305ec3178818b317dad37a6d9c7fa8ba28d Author: Jens Axboe Date: Fri Jan 6 12:38:30 2006 +0100 [SCSI] scsi_end_async() needs to take an uptodate parameter Signed-off-by: Jens Axboe commit 15fc858a0067c800f410a24551a7b461978abf0b Author: Jens Axboe Date: Fri Jan 6 10:00:50 2006 +0100 [BLOCK] Correct blk_execute_rq_nowait() prototype commit ff5b8cf1491330836d75eede4e5632caa32b776a Author: Tejun Heo Date: Fri Jan 6 09:58:37 2006 +0100 [BLOCK] I/O barrier documentation update Update documentation to match new barrier implementation. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 3e087b575496b8aa445192f58e7d996b1cdfa121 Author: Tejun Heo Date: Fri Jan 6 09:57:31 2006 +0100 [BLOCK] update IDE to use new blk_ordered for barriers Update IDE to use new blk_ordered. This change makes the following behavior changes. * Partial completion of the barrier request is handled as failure of the whole ordered sequence. No more partial completion for barrier requests. * Any failure of pre or post flush request results in failure of the whole ordered sequence. So, successfully completed ordered sequence guarantees that all requests prior to the barrier made to physical medium and, then, the while barrier request made to the physical medium. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 9a3dccc42556537a48f39ee9a9e7ab90a933f766 Author: Tejun Heo Date: Fri Jan 6 09:56:18 2006 +0100 [BLOCK] add FUA support to libata Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 93c9338713d4e11102cd09b4670ad42a336b06a3 Author: Tejun Heo Date: Fri Jan 6 09:55:00 2006 +0100 [BLOCK] update libata to use new blk_ordered for barriers Reflect changes in SCSI midlayer and updated to use new ordered request implementation Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 007365ad60387df30f02f01fdc2b6e6432f6c265 Author: Tejun Heo Date: Fri Jan 6 09:53:52 2006 +0100 [BLOCK] scsi: add FUA support to sd Add FUA support for barriers to SCSI disk. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 461d4e90c8cd049718884cd17c955e231140d3be Author: Tejun Heo Date: Fri Jan 6 09:52:55 2006 +0100 [BLOCK] update SCSI to use new blk_ordered for barriers All ordered request related stuff delegated to HLD. Midlayer now doens't deal with ordered setting or prepare_flush callback. sd.c updated to deal with blk_queue_ordered setting. Currently, ordered tag isn't used as SCSI midlayer cannot guarantee request ordering. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 797e7dbbee0a91fa1349192f18ad5c454997d876 Author: Tejun Heo Date: Fri Jan 6 09:51:03 2006 +0100 [BLOCK] reimplement handling of barrier request Reimplement handling of barrier requests. * Flexible handling to deal with various capabilities of target devices. * Retry support for falling back. * Tagged queues which don't support ordered tag can do ordered. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 52d9e675361261a1eb1716b02222ec6177ec342b Author: Tejun Heo Date: Fri Jan 6 09:49:58 2006 +0100 [BLOCK] ll_rw_blk: separate out bio init part from __make_request Separate out bio initialization part from __make_request. It will be used by the following blk_ordered_reimpl. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2 Author: Tejun Heo Date: Fri Jan 6 09:49:03 2006 +0100 [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() add @uptodate argument to end_that_request_last() and @error to rq_end_io_fn(). there's no generic way to pass error code to request completion function, making generic error handling of non-fs request difficult (rq->errors is driver-specific and each driver uses it differently). this patch adds @uptodate to end_that_request_last() and @error to rq_end_io_fn(). for fs requests, this doesn't really matter, so just using the same uptodate argument used in the last call to end_that_request_first() should suffice. imho, this can also help the generic command-carrying request jens is working on. Signed-off-by: tejun heo Signed-Off-By: Jens Axboe commit 64100099ed22f71cce656c5c2caecf5c9cf255dc Author: Arjan van de Ven Date: Fri Jan 6 09:46:02 2006 +0100 [BLOCK] mark some block/ variables cons the patch below marks various read-only variables in block/* as const, so that gcc can optimize the use of them; eg gcc will replace the use by the value directly now and will even remove the memory usage of these. Signed-off-by: Arjan van de Ven Signed-off-by: Jens Axboe commit 80cfd548eed68cf90c5ae9cfcd6b02230cece756 Author: Jens Axboe Date: Fri Jan 6 09:43:28 2006 +0100 [BLOCK] bio: check for same page merge possibilities in __bio_add_page() For filesystems with a blocksize < page size, we can merge same page calls into the bio_vec at the end of the bio. This saves segments on systems with a page size > the "normal" 4kb fs block size. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe commit 88ee5ef157202624de2b43b3512fdcb54fda1ab5 Author: Jens Axboe Date: Sat Nov 12 11:09:12 2005 +0100 [BLOCK] ll_rw_blk: fastpath get_request() Originally from: Nick Piggin Move current_io_context out of the get_request fastpth. Also try to streamline a few other things in this area. Signed-off-by: Jens Axboe commit ef9be1d336378de279d4e37779f1b83cebadbcc0 Author: Tejun Heo Date: Fri Nov 11 14:27:09 2005 +0100 [BLOCK] as-iosched: update alias handling Unlike other ioscheds, as-iosched handles alias by chaing them using rq->queuelist. As aliased requests are very rare in the first place, this complicates merge/dispatch handling without meaningful performance improvement. This patch updates as-iosched to dump aliased requests into dispatch queue as other ioscheds do. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit e91c021c487110386a07facd0396e6c3b7cf9c1f Author: Mark A. Greer Date: Sun Dec 18 17:22:01 2005 +0100 [PATCH] i2c: i2c-mv64xxx fix transaction abortion When the i2c-mv64xxx i2c driver is signalled to abort a transaction, it aborts it immediately by issuing a stop condition on the bus. This violates the i2c protocol and can cause what appears to be an i2c bus hang. This patch delays issuing the stop condition until the i2c device can reasonably expect a stop condition. Also includes a minor fixup. Signed-off-by: Mark A. Greer Signed-off-by: Jean Delvare commit 7c72ccf09b6debe55b8e049377ad3183ed4f4cb3 Author: Jean Delvare Date: Sun Dec 18 17:25:18 2005 +0100 [PATCH] i2c: i2c-nforce2 add nforce4 MCP-04 device ID One more supported PCI ID for the i2c-nforce2 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a4787c0d232e16e727b37205dc647337b8974f35 Author: Martin Hicks Date: Sun Dec 18 17:18:01 2005 +0100 [PATCH] i2c: i2c-ibm_iic add I2C_CLASS_HWMON Add the ibm_iic driver to the HWMON class so it will scan the bus for connected hardware monitor sensors. Signed-off-by: Martin Hicks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3fb81a3df63e1900a7b3f496806a3f8d2b4295dd Author: Jean Delvare Date: Sun Dec 18 17:11:51 2005 +0100 [PATCH] i2c: I2C_DF_NOTIFY removal comment cleanups The removal of I2C_DF_NOTIFY left some out of date comments in the code. Drop them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fb687d73fa7685ffeed1a6b24fadb5f4db817783 Author: Jean Delvare Date: Sun Dec 18 16:51:55 2005 +0100 [PATCH] i2c: update i2c_driver.command documentation Document i2c_driver.command as being deprecated, and don't suggest an empty implementation of this callback as it doesn't make any sense. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d564baee2984098c73fd0e55bc5c8a890878ef3b Author: Laurent Riffard Date: Sun Dec 18 16:49:30 2005 +0100 [PATCH] i2c: drop empty i2c_driver.command implementations Given that implementing i2c_driver.command is optional, there is no point in an empty implementation thereof. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Cc: Michael Geng Cc: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit 04b4b8434a92b9ef127985113c0bd961957778b7 Author: Jean Delvare Date: Sun Dec 18 16:42:35 2005 +0100 [PATCH] i2c: driver ID list cleanups Cleanups to i2c driver ID list: * Remove mostly bogus comments about driver ID ranges. * Drop experimental driver IDs, as the concept is pretty broken. * Drop now unused IDs of non-I2C (ISA) drivers. * Drop a few more IDs which are no more used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a7be58a126d4cd9f0588df23f58796ed996c1835 Author: Jean Delvare Date: Sun Dec 18 16:40:14 2005 +0100 [PATCH] hwmon: it87 use u8 for vrm VRM values fit in u8 by design now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 734a12a36676ad3b9418fa5a829c518afec02b8a Author: Rudolf Marek Date: Sun Dec 18 16:36:52 2005 +0100 [PATCH] hwmon: add VRM/VID support for some VIA CPUs This patch adds the VIA CENTAUR CPUs to detection table. Table was updated to treat future Intel x86 CPUs as VRD10. Stepping field was added, because some VIA CPUs have different VRM specs across stepping. I changed the vrm type to u8 because all drivers use u8 anyway. Signed-off-by: Rudolf Marek Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 99d855602c1d7968ca6b6cc99b773b0b47909690 Author: Jean Delvare Date: Sun Dec 18 16:34:28 2005 +0100 [PATCH] hwmon: w83792d simplify in low bits handling Simplify the way the w83792d driver handles the extra resolution bits of voltage input channels. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit c9152deaa635cab09cb43c17cf80130b9e6ee29d Author: Jean Delvare Date: Sun Dec 18 16:29:40 2005 +0100 [PATCH] hwmon: w83792d misc cleanups Cleanup the w83792d driver a bit: * Discard unused lock and irrelevant comments inherited from the w83781d driver. * Simplify w83792d_{read,write}_value functions. * Drop useless address test during detection. * Drop useless bitmasking. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit 79472132f555ae1e912699e116e5c82f338872f6 Author: Greg Kroah-Hartman Date: Tue Dec 6 15:33:15 2005 -0800 [PATCH] I2C: move i2c-dev to use dynamic class devices i2c-dev doesn't use the reference counting logic of struct class_device so move it to the dynamic method. This makes the code paths simpler and the driver smaller. Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit d82c0bf88fa97c1993ea9d6051488e7cb012b440 Author: Jean Delvare Date: Wed Dec 7 21:54:26 2005 +0100 [PATCH] i2c: Documentation update Update the i2c documentation to reflect the recent change to i2c_add_driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 Author: Greg Kroah-Hartman Date: Tue Dec 6 15:33:15 2005 -0800 [PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed Now that i2c_add_driver() doesn't need the module owner to be set by hand, we can delete it from the drivers. This patch catches all of the drivers that I found in the current tree (if a driver sets the .owner by hand, it's not a problem, just not needed.) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit de59cf9ed44f64991e52a9de6094729537f0420c Author: Greg Kroah-Hartman Date: Tue Dec 6 15:33:15 2005 -0800 [PATCH] I2C: Make i2c_add_driver automatically set the proper module owner This prevents i2c drivers from messing up and forgetting to set the module owner of their driver. It also reduces the size of their drivers by one line :) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit e1c489b0e4fbb1687f8227fe78b4769c123768c1 Author: Greg Kroah-Hartman Date: Wed Nov 30 16:35:09 2005 -0800 [PATCH] I2C: Fix up debug build error for previous i2c structure changes Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jean Delvare commit d45d204f0c3daa01a393dfe81415573f9459506a Author: Jean Delvare Date: Sat Nov 26 20:55:35 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 11 of 11 Document the drop of the owner and name fields of the i2c_driver structure. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit b33a665dba55c83f08cdd62aba1cd2672bccdd80 Author: Jean Delvare Date: Sat Nov 26 20:54:10 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 10 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for arm arch. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit 1a7edcdca618d25564690c2df27c2c5c6e9f6316 Author: Laurent Riffard Date: Sat Nov 26 20:52:34 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 9 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the matroxfb driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit e533449d291b5a28ce9527539750a0cb88146f6e Author: Laurent Riffard Date: Sat Nov 26 20:51:06 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 8 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for acorn arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Russell King Signed-off-by: Greg Kroah-Hartman commit e100fe103e679372b3d1d6e9d32fd3ab57484be2 Author: Laurent Riffard Date: Sat Nov 26 20:48:35 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 7 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for ppc arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d74cdab1cad1e5895d8928eeeb2ac469f8410d2e Author: Laurent Riffard Date: Sat Nov 26 20:46:32 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 6 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the OSS drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 604f28e2b8d34cbaf08f0351374645f161335a82 Author: Laurent Riffard Date: Sat Nov 26 20:43:39 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 5 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers/media/video and usb/media drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a33ca23231a37e28d15da9546b1f3e83dc48284b Author: Laurent Riffard Date: Sat Nov 26 20:40:34 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 4 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for macintosh. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit cdaf79349c7d24e1d33acb6497849c9e956a33ea Author: Laurent Riffard Date: Sat Nov 26 20:37:41 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 3 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the hwmon drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a9718b0c1154dcbd955be6aaee47a314cde6a25a Author: Laurent Riffard Date: Sat Nov 26 20:36:00 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 2 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the miscellaneaous i2c chip drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 35d8b2e6b8e86b0d5126f36613b5202d4eb978b6 Author: Laurent Riffard Date: Sat Nov 26 20:34:05 2005 +0100 [PATCH] i2c: Drop i2c_driver.{owner,name}, 1 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the core of the i2c drivers: it removes .name and .owner fields from the struct i2c_device and modify various functions to use struct device fields instead. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 482c788ded0aa9710722eaf9cf60886d3b923218 Author: Jean Delvare Date: Sat Nov 26 21:06:08 2005 +0100 [PATCH] i2c: i2c_get_client is gone The i2c_get_client function doesn't exist anymore, so we shouldn't have a definition for it in i2c.h. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 92b429461228f0f06a994dd3d4ccf1c9ff7596bd Author: Jean Delvare Date: Sat Nov 26 21:05:17 2005 +0100 [PATCH] i2c: Chip driver porting guide update Update Documentation/i2c/porting-clients. Many recent changes to the i2c and hwmon subsystems were never reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cf02df770228350254251fde520007a2709db785 Author: Jean Delvare Date: Sat Nov 26 21:03:41 2005 +0100 [PATCH] i2c: Rework client usage count, 3 of 3 Do not limit the usage count of i2c clients to 1. In other words, change the client usage count behavior from the old I2C_CLIENT_ALLOW_USE to the old I2C_CLIENT_ALLOW_MULTIPLE_USE. The rationale is that no driver actually needs the limiting behavior, and the unlimiting behavior is slightly easier to implement. Update the documentation to reflect this change. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cde7859bda0d1124392b44e50aa11df99707e1d9 Author: Jean Delvare Date: Sat Nov 26 21:00:54 2005 +0100 [PATCH] i2c: Rework client usage count, 2 of 3 Make I2C_CLIENT_ALLOW_USE the default for all i2c clients. It doesn't hurt if the usage count is actually never used for any given driver, and allows for nice code simplifications in i2c-core. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cb748fb20186d4b345c68a7f580429f379fdd268 Author: Jean Delvare Date: Sat Nov 26 20:58:35 2005 +0100 [PATCH] i2c: Rework client usage count, 1 of 3 No i2c client uses the I2C_CLIENT_ALLOW_MULTIPLE_USE flag, drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5d7b851dcced3611e4a4432308618b1ed1a9fc31 Author: Jean Delvare Date: Sun Nov 27 08:57:10 2005 +0100 [PATCH] i2c: Drop i2c_driver.flags, 3 of 3 The flags member of the i2c_driver structure is no more used. Drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a9947552d43b0d20d5fa23ac0ba435d526be454 Author: Jean Delvare Date: Sat Nov 26 20:28:06 2005 +0100 [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we can simply make it the default and drop the flag. If any driver really doesn't want to be notified when i2c adapters are added, that driver can simply omit to set .attach_adapter. This approach is also more robust as it prevents accidental NULL pointer dereferences. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ff179c8cf5caa17bf3d407edbb5872aa2eee6900 Author: Jean Delvare Date: Sat Nov 26 20:24:59 2005 +0100 [PATCH] i2c: Drop i2c_driver.flags, 1 of 3 The I2C_DF_DUMMY flag is gone since 2.5.70, it's about time to drop all ifdef'd out references thereto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1de9e371b89e1cf4da123f0d92efa8eb134ca5e8 Author: Roger Lucas Date: Sat Nov 26 20:20:05 2005 +0100 [PATCH] hwmon: New vt8231 driver Port the vt8231 hardware monitoring driver from lm_sensors CVS to Linux 2.6. Signed-off-by: Roger Lucas Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1d26f455eb0db0bf4d4b7177547f4310b645a32a Author: Peter Korsgaard Date: Sat Nov 26 20:18:43 2005 +0100 [PATCH] i2c: Add support for Barco LPT->DVI to i2c-parport The following patch adds support for the Barco LPT->DVI I2C adapter to the i2c-parport driver. Signed-off-by: Peter Korsgaard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7e94436942a7517d08c0cd1a8831122a0fea289e Author: Nicolas Kaiser Date: Sat Nov 26 20:15:23 2005 +0100 [PATCH] i2c: Remove duplicate rtc8564 BCD macros Remove duplicate of BCD macros. Signed-off-by: Nicolas Kaiser Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5b319400f5e2cd31a82b38405856ff2b46a9bb83 Author: Mark M. Hoffman Date: Sat Nov 26 20:10:56 2005 +0100 [PATCH] hwmon: Clarify the W83627THF VID documentation This patch clarifies the W83627THF VID documentation. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit dd149c52223cfb05cdefb0755d3c2793e8d33ede Author: Yuan Mu Date: Sat Nov 26 20:13:18 2005 +0100 [PATCH] hwmon: W83627THF VID fixes This patch fixes the VID reading; no cpu0_vid and vrm files created if the chip is w83627thf and GPIO5 not enabled. Signed-off-by: Yuan Mu Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9c516ef496c857aa4b1b41dc313010f11d39c496 Author: Jean Delvare Date: Sat Nov 26 20:07:54 2005 +0100 [PATCH] hwmon: Support the VRM 10 mode of the ADT7463 Support the VRM 10 mode of the ADT7463. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 07421cabdc62519d0f747149b7c9b425b4d746cd Author: Grant Coady Date: Sun Nov 6 23:13:06 2005 +0100 [PATCH] hwmon: remove deprecated sysfs names of adm1025 and adm1026 drivers, hwmon, adm1025 and adm1026: remove deprecated sysfs names. these names have been listed for removal for six months, time for them to go Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f9e8957937ebf60d22732a5ca9130f48a7603f60 Author: Michael Burian Date: Mon Nov 7 22:30:14 2005 +0100 [PATCH] i2c: Extend ds1337 initialization Add code to handle case where board firmware does not start the RTC. Signed-off-by: Jean Delvare CC: James Chapman Signed-off-by: Greg Kroah-Hartman commit 2e3e13f8e9d9b2111404cdccaa4e1b988b70acce Author: Mark M. Hoffman Date: Sun Nov 6 23:04:51 2005 +0100 [PATCH] i2c: i2c-i801 explicitly enables/disables PEC This patch tweaks i2c-i801.c so that the driver always sets the SMBAUXCTL register (which enables/disables PEC) explicitly before each transaction. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9f155b9802bb7049cd0f216c3fe903b58620df11 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Thu Jan 5 23:11:29 2006 -0500 [PATCH] i386: PTRACE_POKEUSR: allow changing RF bit in EFLAGS register. Setting RF (resume flag) allows a debugger to resume execution after a code breakpoint without tripping the breakpoint again. It is reset by the CPU after execution of one instruction. Requested by Stephane Eranian: "I am trying to the user HW debug registers on i386 and I am running into a problem with ptrace() not allowing access to EFLAGS_RF for POKEUSER (see FLAG_MASK). [ ... ] It avoids the need to remove the breakpoint, single step, and reinstall. The equivalent functionality exists on IA-64 and is allowed by ptrace()" Cc: Stephane Eranian Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 6c59f9d9fb95934bf3d7d64249b338ce79953b5b Author: Jody McIntyre Date: Thu Jan 5 23:04:08 2006 -0500 Update MAINTAINERS - Jody is no longer at Steamballoon. commit 6020bafc9e30e04f4db65298d00e8e28ffb40652 Author: Ben Collins Date: Thu Jan 5 23:00:38 2006 -0500 Input: i8042 - add OQO Zepto to noloop dmi table. Signed-off-by: Ben Collins Signed-off-by: Dmitry Torokhov commit 1f85145c5825a6f1fdf83e6c48e788dd3117c39a Author: Michael Hanselmann Date: Thu Jan 5 23:00:26 2006 -0500 Input: add missing keys from input.h to hid-debug.h Signed-off-by: Michael Hanselmann Signed-off-by: Dmitry Torokhov commit dbc26344350dff2932902a7723a4e89e71752803 Author: Dmitry Torokhov Date: Thu Jan 5 23:00:13 2006 -0500 Input: atkbd - don't lose keymap settings when reconnecting keyboard Call serio_reconnect() instead of serio_rescan() when detecting that a new keyboard was plugged in. This should help KVM uses losing custom keymap settings when switching between boxes. Signed-off-by: Dmitry Torokhov commit 46f25dffbaba48c571d75f5f574f31978287b8d2 Author: Kris Katterjohn Date: Thu Jan 5 16:35:42 2006 -0800 [NET]: Change 1500 to ETH_DATA_LEN in some files These patches add the header linux/if_ether.h and change 1500 to ETH_DATA_LEN in some files. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit e924283bf93989979f27ef4f1228c5925f584a0a Author: Andrew Morton Date: Thu Jan 5 14:57:36 2006 -0800 [IPVS]: Another file needs linux/interrupt.h Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 466200562ccd80f728f7ef602d2b97b4fdedd566 Author: Michael S. Tsirkin Date: Thu Jan 5 16:17:38 2006 -0800 IB/mthca: create_eq with size not a power of 2 Fix mthca_create_eq for when the EQ size is not a power of 2. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 38d1e793471d95728219f500bbb8bd25658d73b0 Author: Jack Morgenstein Date: Thu Jan 5 16:13:46 2006 -0800 IB/mthca: check port validity in modify_qp Modify_qp should check that the physical port number provided is a legal value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit aa2f9367790ad81ef51d3f667124227ca3003d3b Author: Jack Morgenstein Date: Thu Jan 5 16:12:01 2006 -0800 IB/mthca: check return value in mthca_dev_lim call Check error return on call to mthca_dev_lim for Tavor (as is done for memfree). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 725a6abfe37025975c125ace1c7da35f27ce5384 Author: Richard Purdie Date: Thu Jan 5 09:56:03 2006 +0000 [PATCH] pcmcia: add some IDs for ide-cs and dtl1_cs Add some PCMCIA device IDs for the microdrive found in the Sharp Zaurus and a different revision of the Socket CF+ Bluetooth card. Signed-off-by: Richard Purdie Signed-off-by: Dominik Brodowski commit 6e493882726e762d0eb7a0a5fcae42a122ae75a5 Author: Daniel Ritz Date: Fri Dec 30 15:12:35 2005 +0100 [PATCH] pcmcia: cleanup cs.c, reduce size kill the socket_shutdown()/shutdown_socket() confusion by making it one single function. move cs_socket_put() in there. nicer to read and smaller: original: text data bss dec hex filename 25181 1076 32 26289 66b1 drivers/pcmcia/pcmcia_core.ko patched: text data bss dec hex filename 24973 1076 32 26081 65e1 drivers/pcmcia/pcmcia_core.ko Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 3cf89b185971bf186cec657911f08354e7701635 Author: Alexey Dobriyan Date: Fri Dec 23 23:51:08 2005 +0300 [PATCH] drivers/pcmcia/cistpl.c: fix endian warnings Signed-off-by: Alexey Dobriyan Signed-off-by: Dominik Brodowski commit 8084b372adac9c24ff7abdd939b2e8816e7b88a3 Author: Dominik Brodowski Date: Sun Dec 11 21:18:26 2005 +0100 [PATCH] pcmcia: kzalloc conversion Convert users of kmalloc and memset to kzalloc Signed-off-by: Dominik Brodowski commit 6423efaacbf0bce6372897e793d8450c1c08ec8d Author: Dominik Brodowski Date: Sun Dec 11 20:47:44 2005 +0100 [PATCH] pcmcia: no probing of ioports on PARISC Do not wildly probe the IO ports we're trying to use on PARISC. Signed-off-by: Dominik Brodowski commit 002dbb2d0d42b4a2c1eef2012c2fe7af48163b3c Author: Dominik Brodowski Date: Thu Dec 8 23:50:36 2005 +0100 [PATCH] pcmcia: export stored values in sysfs Export the stored values instead of re-reading everything in the socket information sysfs files, and make them accessible to all users, not only to root. Signed-off-by: Dominik Brodowski commit 1371d3be045a6a1a8b828b838069b5fe6e0ab4c6 Author: Vitaly Bordug Date: Thu Dec 8 13:56:12 2005 -0200 [PATCH] 8xx PCMCIA: support for MPC885ADS and MPC866ADS This adds PCMCIA support for both MPC885ADS and MPC866ADS. This is established not together with FADS, because 885 does not have io_block_mapping() for BCSR area. Also, some cleanups done both for 885ADS and MBX. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit a94515fa1f1609249dbebcfb93181ad0ba4b285a Author: Vitaly Bordug Date: Thu Dec 8 13:53:20 2005 -0200 [PATCH] m8xx_pcmcia: support MAP_AUTOSZ required for CF cards This fixes misconfiguration that could result in odd work of some old CF cards. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit 3b27e9421a1433689704fe0a02e926d4ba971121 Author: Dominik Brodowski Date: Wed Dec 7 12:32:20 2005 +0100 [PATCH] pcmcia: properly handle static mem, but dynamic io sockets Some PCMCIA sockets have statically mapped memory windows, but dynamically mapped IO windows. Using the "nonstatic" socket library is inpractical for them, as they do neither need a resource database (as we can trust the kernel resource database on m68k and ppc) nor lots of other features of that library. Let them get a small "iodyn" socket library (105 lines of code) instead. Signed-off-by: Dominik Brodowski commit efe3cd105f2a19e72ce9280bb22c7c80752e4314 Author: Dominik Brodowski Date: Fri Jan 6 00:27:16 2006 +0100 [PATCH] pcmcia: fix sound drivers Update the PCMCIA sound drivers to handle the recent changes to the PCMCIA core. A part of this merge was done by Takashi Iwai . Signed-off-by: Dominik Brodowski commit f8cfa618dccbdc6dab5297f75779566a388a98fd Author: Dominik Brodowski Date: Mon Nov 14 21:25:51 2005 +0100 [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified probe() callback. As all in-kernel drivers are changed to this new callback, there will be no temporary backwards-compatibility. Inside a probe() function, each driver _must_ set struct pcmcia_device *p_dev->instance and instance->handle correctly. With these patches, the basic driver interface for 16-bit PCMCIA drivers now has the classic four callbacks known also from other buses: int (*probe) (struct pcmcia_device *dev); void (*remove) (struct pcmcia_device *dev); int (*suspend) (struct pcmcia_device *dev); int (*resume) (struct pcmcia_device *dev); Signed-off-by: Dominik Brodowski commit b463581154f3f3eecda27cae60df813fefcd84d3 Author: Dominik Brodowski Date: Mon Nov 14 21:25:35 2005 +0100 [PATCH] pcmcia: remove dev_list from drivers The linked list of devices managed by each PCMCIA driver is, in very most cases, unused. Therefore, remove it from many drivers. Signed-off-by: Dominik Brodowski commit f3990715589d378a2d3aa9b8accd78bb4a2378b7 Author: Dominik Brodowski Date: Mon Nov 14 21:25:23 2005 +0100 [PATCH] pcmcia: remove old detach mechanism Remove the old "detach" mechanism as it is unused now. Signed-off-by: Dominik Brodowski commit cc3b4866bee996c922e875b8c8efe9f0d8803aae Author: Dominik Brodowski Date: Mon Nov 14 21:23:14 2005 +0100 [PATCH] pcmcia: unify detach, REMOVAL_EVENT handlers into one remove callback Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function. Old functionality is preserved, for the moment. Signed-off-by: Dominik Brodowski commit 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 Author: Dominik Brodowski Date: Fri Jan 6 00:02:03 2006 +0100 [PATCH] pcmcia: merge suspend into device model Merge the suspend and resume methods for 16-bit PCMCIA cards into the device model -- for both runtime power management and suspend to ram/disk. Bugfix in ds.c by Richard Purdie Signed-Off-By: Richard Purdie Signed-off-by: Dominik Brodowski commit 98e4c28b7ec390c2dad6a4c69d69629c0f7e8b10 Author: Dominik Brodowski Date: Mon Nov 14 21:21:18 2005 +0100 [PATCH] pcmcia: new suspend core Move the suspend and resume methods out of the event handler, and into special functions. Also use these functions for pre- and post-reset, as almost all drivers already do, and the remaining ones can easily be converted. Bugfix to include/pcmcia/ds.c Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit 63e7ebd06402951bc8863ba5b7bc9b9f42044849 Author: Daniel Ritz Date: Thu Nov 3 21:12:14 2005 +0100 [PATCH] yenta: make bridge specific init code configurable Make the bridge specific initialization code config options depending on CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are available. Disabling all of the specific tweaks cuts off more than half of yenta_socket.ko. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 2cff944720332535a24b7eae16cff32055a43048 Author: Andrew Morton Date: Wed Nov 16 21:29:26 2005 -0800 [PATCH] pcmcia: validate_mem fix Also return a value if CONFIG_PCMCIA_PROBE is not set. Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit de75914ee103a30d82ad21b39b7e04f70e4fa1f0 Author: Dominik Brodowski Date: Wed Sep 28 19:41:56 2005 +0200 [PATCH] pcmcia: validate_mem shouldn't be void Add a return value to pcmcia_validate_mem. Only if we have enough memory available to map the CIS, we should proceed in trying to determine information about the device. Signed-off-by: Dominik Brodowski commit 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a Author: Dominik Brodowski Date: Sat Nov 12 23:56:33 2005 +0100 [PATCH] pcmcia: remove get_socket callback The .get_socket callback is never used by the PCMCIA core, therefore remove it. Signed-off-by: Dominik Brodowski commit 7f316b033b36adfbdf56bfb15c13de49798ab0b2 Author: Dominik Brodowski Date: Wed Sep 28 19:41:55 2005 +0200 [PATCH] pcmcia: remove socket register_callback Remove the register_callback declaration in struct pccard_operations as it is unused. Signed-off-by: Dominik Brodowski commit e4115805cf2020da94e8bd1296243605cda487ff Author: Daniel Ritz Date: Tue Sep 20 14:17:37 2005 -0700 [PATCH] yenta: optimize interrupt handler Don't waste cpu time in yenta interrupt handler when the interrupt was for another device. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 37f779554404ddca981ac4b4cc6692fc09b71e96 Author: Pavel Machek Date: Wed Sep 7 16:00:26 2005 -0700 [PATCH] pcmcia: avoid macro usage in cistpl Fix macro abuse in pcmcia. Signed-off-by: Pavel Machek Signed-off-by: Dominik Brodowski commit 38c0b2c2aaab5595a140ade4410e01d407fff751 Author: Tony Luck Date: Thu Jan 5 13:30:52 2006 -0800 [IA64] Fix compile warnings in setup.c arch/ia64/kernel/setup.c: In function `show_cpuinfo': arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 12) arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 13) Introduced by 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 Signed-off-by: Tony Luck commit 5b373e10aeadc2599c085a3357b7fad8b8e760b8 Author: Luis F. Ortiz Date: Thu Jan 5 13:12:41 2006 -0800 [ATYFB]: Fix onboard video on SPARC Blade 100 for 2.6.{13,14,15} I have recently been switching from using 2.4.32 on my trusty old Sparc Blade 100 to using 2.6.15 . Some of the problems I ran into were distorted video when the console was active (missing first character, skipped dots) and when running X windows (colored snow, stripes, missing pixels). A quick examination of the 2.6 versus 2.4 source for the ATY driver revealed alot of changes. A closer look at the code/data for the 64GR/XL chip revealed two minor "typos" that the rewriter(s) of the code made. The first is a incorrect clock value (230 .vs. 235) and the second is a missing flag (M64F_SDRAM_MAGIC_PLL). Making both these changes seems to have fixed my problem. I tend to think the 235 value is the correct one, as there is a 29.4 Mhz clock crystal close to the video chip and 235.2 (29.4*8) is too close to 235 to make it a coincidence. The flag for M64F_SDRAM_MAGIC_PLL was dropped during the changes made by adaplas in file revision 1.72 on the old bitkeeper repository. The change relating to the clock rate has been there forever, at least in the 2.6 tree. I'm not sure where to look for the old 2.5 tree or if anyone cares when it happened. On SPARC Blades 100's, which use the ATY MACH64GR video chipset, the clock crystal frequency is 235.2 Mhz, not 230 Mhz. The chipset also requires the use of M64F_SDRAM_MAGIC_PLL in order to setup the PLL properly for the DRAM. Signed-off-by: Luis F. Ortiz Signed-off-by: David S. Miller commit 5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 Author: Jared Hulbert Date: Thu Jan 5 21:12:26 2006 +0000 [ARM] 3206/1: Modifications to the bus arbiter controller for the Intel PXA27x Patch from Jared Hulbert The following patch changes the bus arbiter controller settings for the Intel PXA27x Application Processor Family. Up to 5% better video performance. It parks the bus on the core while not in use and sets the arbitration for other bus items. The patch only applies changes to the Intel Mainstone development platform. This patch is not compatible with preproduction Intel PXA27x silicon. This patch is based on the Intel Linux Preview Kit released to the public on 25 Feb. 2005 found at ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/xscale/mainstone/02-25-2005/. Signed-off-by: Justin A Treon Signed-off-by: Jared Hulbert Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 54e269ead6e672325866037b0617a72edd1396b9 Author: Deepak Saxena Date: Thu Jan 5 20:59:29 2006 +0000 [ARM] 3226/1: IXP4xx runtime expansion bus window size configuration Patch from Deepak Saxena The expansion bus on the IXP46x NPU can be configured for either 32MiB or 16MiB windows and changing the configuration causes the base address for each chip select for each region to change. Because of this, we cannot hardcode the physical base as we currently do. This patch checks the expansion bus configuration registers at runtime to determine the appropriate window size. Note that this requires that the bootloader already configured the device sizes appropriately, but I feel that is valid assumption to make as the bootloader must configure and access the flash window, the output display (LCD, LEDs, etc) window, and other expansion bus devices. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 2b9ac7c15c0c5c9d6057b9e297dabaebd208ffe8 Author: Dan Williams Date: Thu Jan 5 20:53:02 2006 +0000 [ARM] 3217/1: iop331 uarts as platform devices Patch from Dan Williams Convert old-style serial devices to platform devices so that printk's are visible during the boot process. Signed-off-by: Dan Williams Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6a2273d6fc627d28a4de9beadf77ae6636b1e5d0 Author: Sascha Hauer Date: Thu Jan 5 20:44:58 2006 +0000 [ARM] 3231/1: mx1ads board support cleanup Patch from Sascha Hauer - remove unnecessary mappings - rename mx1ads_device to cs89x0_device, because that's what it is - fix io/irq resource for cs89x0 device Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 945b957972844881002ab4f68534581f4427a30b Author: Richard Purdie Date: Thu Jan 5 20:44:57 2006 +0000 [ARM] 3230/1: Sharp Scoop: Fix Shared Power Control Issues Patch from Richard Purdie The SL-Cxx00 devices have a power control register in SCOOP that is shared by both CF and MMC/SD card slots. The CF reset code was resetting this register leading to various lockups as the MMC power was suddenly lost. This patch handles the CPR register in a more sensitive manner. It also removes some unneeded collie specific calls as the reset code handles this. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 53b7c2b243bd31f857dddabd9339f2dd6ae3fb67 Author: Richard Purdie Date: Thu Jan 5 20:44:55 2006 +0000 [ARM] 3229/1: Remove uneeded ARM apm dependency on PM_LEGACY Patch from Richard Purdie ARM doesn't use ACPI so ARM's apm implementation has no need to depend on PM_LEGACY. This patch removes that dependency. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b7557de41a04346cb545d4dda7088760cb96e713 Author: Richard Purdie Date: Thu Jan 5 20:44:55 2006 +0000 [ARM] 3228/1: SharpSL: Move PM code to arch/arm/common Patch from Richard Purdie This patch moves a large chunk of the sharpsl_pm driver to arch/arm/common so that it can be reused on other devices such as the SL-5500 (collie). It also abstracts some functions from the core into the machine and platform specific parts of the driver to aid reuse. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 3125c68d70e3433c21234431a9df9e7336efa29f Author: Richard Purdie Date: Thu Jan 5 20:44:52 2006 +0000 [ARM] 3227/1: Spitz: Add pxa27x OHCI platform specific code Patch from Richard Purdie Add platform code to enable the ohci device on the pxa27x based Sharp Zaurus Cxx00 devices. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit e8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b Author: Yasuyuki Kozakai Date: Thu Jan 5 12:28:57 2006 -0800 [NETFILTER]: Use HOPLIMIT metric as TTL of TCP reset sent by REJECT HOPLIMIT metric is appropriate to TCP reset sent by REJECT target than hard-coded max TTL. Thanks to David S. Miller for hint. Signed-off-by: Yasuyuki Kozakai Signed-off-by: David S. Miller commit 0ae2cfe7f3d88f061aa2656c7e881d3a0697d622 Author: Patrick McHardy Date: Thu Jan 5 12:21:52 2006 -0800 [NETFILTER]: nf_conntrack_l3proto_ipv4.c needs net/route.h CC [M] net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c: In function 'ipv4_refrag': net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:198: error: dereferencing pointer to incomplete type make[3]: *** [net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o] Error 1 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 22dea562bb56dbc3430c8f23f60ccd38527b1f5a Author: Patrick McHardy Date: Thu Jan 5 12:21:34 2006 -0800 [NETFILTER]: Export ip6_masked_addrcmp, don't pass IPv6 addresses on stack Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b777e0ce7437a0e788e2aeb42aca9af2cce1f2e1 Author: Patrick McHardy Date: Thu Jan 5 12:21:16 2006 -0800 [NETFILTER]: make ipv6_find_hdr() find transport protocol header The original ipv6_find_hdr() finds the specified header in IPv6 packets. This makes it possible to get transport header so that we can kill similar loop in ip6_match_packet(). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1bd9bef6f9fe06dd0c628ac877c85b6b36aca062 Author: Patrick McHardy Date: Thu Jan 5 12:20:59 2006 -0800 [NETFILTER]: Call POST_ROUTING hook before fragmentation Call POST_ROUTING hook before fragmentation to get rid of the okfn use in ip_refrag and save the useless fragmentation/defragmentation step when NAT is used. The patch introduces one user-visible change, the POSTROUTING chain in the mangle table gets entire packets, not fragments, which should simplify use of the MARK and CLASSIFY targets for queueing as a nice side-effect. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit abbcc73982445c1457901c7fc1d0d110e7a587e3 Author: Patrick McHardy Date: Thu Jan 5 12:20:40 2006 -0800 [NETFILTER]: Remove okfn usage in ip_vs_core.c okfn should only be used from different contexts to avoid deep call chains, i.e. by nf_queue. Acked-by: Julian Anastasov Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a9b305c4e56f97d6a2ae4f21691bc13797498caf Author: Patrick McHardy Date: Thu Jan 5 12:20:02 2006 -0800 [NETFILTER]: ctnetlink: Fix dumping of helper name Properly dump the helper name instead of internal kernel data. Based on patch by Marcus Sundberg . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e7be6994ec68c38d8e23e647eac649b280c4fe5a Author: Patrick McHardy Date: Thu Jan 5 12:19:46 2006 -0800 [NETFILTER]: Fix module_param types and permissions Fix netfilter module_param types and permissions. Also fix an off-by-one in the ipt_ULOG nlbufsiz < 128k check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 87711cb81c33e75fe8c95137fe62c8d462ff781c Author: Pablo Neira Ayuso Date: Thu Jan 5 12:19:23 2006 -0800 [NETFILTER]: Filter dumped entries based on the layer 3 protocol number Dump entries of a given Layer 3 protocol number. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c1d10adb4a521de5760112853f42aaeefcec96eb Author: Pablo Neira Ayuso Date: Thu Jan 5 12:19:05 2006 -0800 [NETFILTER]: Add ctnetlink port for nf_conntrack Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 205d67c7d942c057648148fefb17e46f77e3efd6 Author: Pablo Neira Ayuso Date: Thu Jan 5 12:18:44 2006 -0800 [NETFILTER]: ctnetlink: remove unused variable Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d4d6bb41e09f07668ca2655da707eab936e8e8f0 Author: Pablo Neira Ayuso Date: Thu Jan 5 12:18:25 2006 -0800 [NETFILTER]: ctnetlink: fix conntrack mark race Set conntrack mark before it is in hashes. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0368309cb45bbba99f84a01d5fc6a18780788480 Author: Pablo Neira Ayuso Date: Thu Jan 5 12:18:08 2006 -0800 [NETFILTER]: ctnetlink: ctnetlink_event cleanup Cleanup: Use 'else if' instead of a ugly 'goto' statement. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 47116eb201571ad1198a8d76dc3571e85ba7c8c9 Author: Pablo Neira Ayuso Date: Thu Jan 5 12:17:50 2006 -0800 [NETFILTER]: ctnetlink: use u_int32_t instead of unsigned int Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 984955b3d7f9943becf9915601f49a1fb7a41f7a Author: Pablo Neira Ayuso Date: Thu Jan 5 12:17:29 2006 -0800 [NETFILTER]: ctnetlink: propagate ctnetlink_dump_tuples_proto return value back Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 90c4656eb4871c47a5d9fe7050590c9bb8b78b5a Author: Yasuyuki Kozakai Date: Thu Jan 5 12:17:03 2006 -0800 [NETFILTER]: ctnetlink: Add sanity checkings for ICMP Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 684f7b296c0cb8238ce63f1828d33a00d5f3a26e Author: Pablo Neira Ayuso Date: Thu Jan 5 12:16:41 2006 -0800 [NETFILTER]: ctnetlink: remove bogus checks in ICMP protocol at dumping Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d695aa8a1f133359485e15db06d53e15e7309e4d Author: Jesper Juhl Date: Thu Jan 5 12:16:16 2006 -0800 [NETFILTER]: Decrease number of pointer derefs in nf_conntrack_core.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e4ead4fe5d0d9fdd7ad6749e6e608d39dd46e8a Author: Jesper Juhl Date: Thu Jan 5 12:15:58 2006 -0800 [NETFILTER]: Decrease number of pointer derefs in nfnetlink_queue.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4ffd2e4907184813101cefa7196102927cdbe104 Author: Adrian Bunk Date: Thu Jan 5 12:14:43 2006 -0800 [IPVS]: Fix compilation Signed-off-by: Adrian Bunk Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit dd68e88c72ac9ad25052065c4a443326eda6a052 Author: Andrew Morton Date: Thu Jan 5 10:55:26 2006 +0000 [SERIAL] 8520_pci: build fix _INLINE_ went away. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit f3e2628bed0d5a88ced8239b35f1534557f9631c Author: Evgeniy Polyakov Date: Thu Jan 5 10:31:23 2006 +0000 [MMC] mmci: kunmap_atomic() unmaps virtual address, not page Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 631b034724364b413e8a52e7c2e03a9d77e4c2b4 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Tue Jan 3 22:36:14 2006 -0500 [PATCH] i386: "invalid operand" -> "invalid opcode" According to the manual, INT 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 3adfd4e2b8804e926a5245062ba8ee12e88d30c3 Author: Deepak Saxena Date: Tue Jan 3 12:50:30 2006 -0800 [PATCH] Fix IXP4xx watchdog errata workaround The IXP4xx driver bails out on all A0 CPUs, but it should only do so on IXP42x as IXP46x has functioning HW. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit e28cc71572da38a5a12c1cfe4d7032017adccf69 Author: Linus Torvalds Date: Wed Jan 4 16:20:40 2006 -0800 Relax the rw_verify_area() error checking. In particular, allow over-large read- or write-requests to be downgraded to a more reasonable range, rather than considering them outright errors. We want to protect lower layers from (the sadly all too common) overflow conditions, but prefer to do so by chopping the requests up, rather than just refusing them outright. Cc: Peter Anvin Cc: Ulrich Drepper Cc: Andi Kleen Cc: Al Viro Signed-off-by: Linus Torvalds commit fd586bacf439f36dea9b9bf6e6133ac87df2730c Author: Kay Sievers Date: Mon Dec 19 01:42:56 2005 +0100 [PATCH] net: swich device attribute creation to default attrs Recent udev versions don't longer cover bad sysfs timing with built-in logic. Explicit rules are required to do that. For net devices, the following is needed: ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address" to handle access to net device properties from an event handler without races. This patch changes the main net attributes to be created by the driver core, which is done _before_ the event is sent out and will not require the stat() loop of the WAIT_FOR_SYSFS key. Signed-off-by: Kay Sievers Acked-by: David S. Miller Signed-off-by: Greg Kroah-Hartman commit 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f Author: Adrian Bunk Date: Mon Dec 12 01:31:03 2005 -0800 [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit e80a5dea8e056d8f398be1900d61c581d379f02f Author: Steven Rostedt Date: Wed Nov 23 09:15:44 2005 -0500 [PATCH] sysfs: handle failures in sysfs_make_dirent I noticed that if sysfs_make_dirent fails to allocate the sd, then a null will be passed to sysfs_put. Signed-off-by: Steven Rostedt Signed-off-by: Greg Kroah-Hartman commit 8218ef80932aa7e5e3d20c929a640c8d82133a9a Author: Greg Kroah-Hartman Date: Tue Dec 13 15:17:34 2005 -0800 [PATCH] Driver core: Make block devices create the proper symlink name Block devices need to add the block device name to the symlink they put in the device directory, otherwise multiple symlinks of the same name can be created. This matches the class system, which works the same way, we just forgot to convert block at the same time. Cc: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 874c6241b2e49e52680d32a50d4909c7768d5cb9 Author: Greg Kroah-Hartman Date: Tue Dec 13 15:17:34 2005 -0800 [PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled Thanks to drivers making their id tables __devinit, we can't allow userspace to bind or unbind drivers from devices manually through sysfs. So we only allow this if CONFIG_HOTPLUG is enabled. Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit a96b204208443ab7e23c681f7ddabe807a741d0c Author: Dmitry Torokhov Date: Sat Dec 10 01:36:28 2005 -0500 [PATCH] Driver Core: Rearrange exports in platform.c Driver core: rearrange exports in platform.c The new way is to specify export right after symbol definition. Rearrange exports to follow new style to avoid mixing two styles in one file. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 93ce3061be212f6280e7ccafa9a7f698a95c6d75 Author: Dmitry Torokhov Date: Sat Dec 10 01:36:27 2005 -0500 [PATCH] Driver Core: Add platform_device_del() Driver core: add platform_device_del function Having platform_device_del90 allows more straightforward error handling code in drivers registering platform devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit e39b84337b8aed3044683a57741a19e5002225b9 Author: Rusty Russell Date: Sat Dec 10 22:48:20 2005 +1100 [PATCH] Input: fix add modalias support build error Fix build when scripts/mod/file2alias.c includes linux/input.h, which tries to include /usr/include/linux/mod_devicetable.h: In file included from scripts/mod/file2alias.c:40: include/linux/input.h:21:35: linux/mod_devicetable.h: No such file or directory make[2]: *** [scripts/mod/file2alias.o] Error 1 Signed-off-by: Rusty Russell Signed-off-by: Greg Kroah-Hartman commit 1d8f430c15b3a345db990e285742c67c2f52f9a6 Author: Rusty Russell Date: Wed Dec 7 21:40:34 2005 +0100 [PATCH] Input: add modalias support Here's the patch for modalias support for input classes. It uses comma-separated numbers, and doesn't describe all the potential keys (no module currently cares, and that would make the strings huge). The changes to input.h are to move the definitions needed by file2alias outside __KERNEL__. I chose not to move those definitions to mod_devicetable.h, because there are so many that it might break compile of something else in the kernel. The rest is fairly straightforward. Signed-off-by: Rusty Russell CC: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 263756ec228f1cdd49fc50b1f87001a4cebdfe12 Author: Kay Sievers Date: Mon Dec 12 18:03:44 2005 +0100 [PATCH] ide: MODALIAS support for autoloading of ide-cd, ide-disk, ... IDE: MODALIAS support for autoloading of ide-cd, ide-disk, ... Add MODULE_ALIAS to IDE midlayer modules: ide-disk, ide-cd, ide-floppy and ide-tape, to autoload these modules depending on the probed media type of the IDE device. It is used by udev and replaces the former agent shell script of the hotplug package, which was required to lookup the media type in the proc filesystem. Using proc was racy, cause the media file is created after the hotplug event is sent out. The module autoloading does not take any effect, until something like the following udev rule is configured: SUBSYSTEM=="ide", ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" The module ide-scsi will not be autoloaded, cause it requires manual configuration. It can't be, and never was supported for automatic setup in the hotplug package. Adding a MODULE_ALIAS to ide-scsi for all supported media types, would just lead to a default blacklist entry anyway. $ modinfo ide-disk filename: /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko description: ATA DISK Driver alias: ide:*m-disk* license: GPL ... $ modprobe -vn ide:m-disk insmod /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko $ cat /sys/bus/ide/devices/0.0/modalias ide:m-disk It also adds attributes to the IDE device: $ tree /sys/bus/ide/devices/0.0/ /sys/bus/ide/devices/0.0/ |-- bus -> ../../../../../../../bus/ide |-- drivename |-- media |-- modalias |-- power | |-- state | `-- wakeup `-- uevent $ cat /sys/bus/ide/devices/0.0/{modalias,drivename,media} ide:m-disk hda disk Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit f743ca5e10f4145e0b3e6d11b9b46171e16af7ce Author: akpm@osdl.org Date: Tue Nov 22 23:36:13 2005 -0800 [PATCH] kobject_uevent CONFIG_NET=n fix lib/lib.a(kobject_uevent.o)(.text+0x25f): In function `kobject_uevent': : undefined reference to `__alloc_skb' lib/lib.a(kobject_uevent.o)(.text+0x2a1): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x31d): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x356): In function `kobject_uevent': : undefined reference to `netlink_broadcast' lib/lib.a(kobject_uevent.o)(.init.text+0x9): In function `kobject_uevent_init': : undefined reference to `netlink_kernel_create' make: *** [.tmp_vmlinux1] Error 1 Netlink is unconditionally enabled if CONFIG_NET, so that's OK. kobject_uevent.o is compiled even if !CONFIG_HOTPLUG, which is lazy. Let's compound the sin. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d960bb4db9f422b5c3c82e0dfd6c8213a4fc430d Author: Kumar Gala Date: Mon Nov 28 10:15:39 2005 -0600 [PATCH] Allow overlapping resources for platform devices There are cases in which a device's memory mapped registers overlap with another device's memory mapped registers. On several PowerPC devices this occurs for the MDIO bus, whose registers tended to overlap with one of the ethernet controllers. By switching from request_resource to insert_resource we can register the MDIO bus as a proper platform device and not hack around how we handle its memory mapped registers. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman commit e22dafbcd7a579c29a424d5203b5b33b131948a7 Author: Frank Pavlic Date: Sat Nov 26 20:48:40 2005 -0800 [PATCH] klist: Fix broken kref counting in find functions The klist reference counting in the find functions that use klist_iter_init_node is broken. If the function (for example driver_find_device) is called with a NULL start object then everything is fine, the first call to next_device()/klist_next increases the ref-count of the first node on the list and does nothing for the start object which is NULL. If they are called with a valid start object then klist_next will decrement the ref-count for the start object but nobody has incremented it. Logical place to fix this would be klist_iter_init_node because the function puts a reference of the object into the klist_iter struct. Signed-off-by: Martin Schwidefsky Signed-off-by: Frank Pavlic Cc: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit bf74ad5bc41727d5f2f1c6bedb2c1fac394de731 Author: Alan Stern Date: Thu Nov 17 16:54:12 2005 -0500 [PATCH] Hold the device's parent's lock during probe and remove This patch (as604) makes the driver core hold a device's parent's lock as well as the device's lock during calls to the probe and remove methods in a driver. This facility is needed by USB device drivers, owing to the peculiar way USB devices work: A device provides multiple interfaces, and drivers are bound to interfaces rather than to devices; Nevertheless a reset, reset-configuration, suspend, or resume affects the entire device and requires the caller to hold the lock for the device, not just a lock for one of the interfaces. Since a USB driver's probe method is always called with the interface lock held, the locking order rules (always lock parent before child) prevent these methods from acquiring the device lock. The solution provided here is to call all probe and remove methods, for all devices (not just USB), with the parent lock already acquired. Although currently only the USB subsystem requires these changes, people have mentioned in prior discussion that the overhead of acquiring an extra semaphore in all the prove/remove sequences is not overly large. Up to now, the USB core has been using its own set of private semaphores. A followup patch will remove them, relying entirely on the device semaphores provided by the driver core. The code paths affected by this patch are: device_add and device_del: The USB core already holds the parent lock, so no actual change is needed. driver_register and driver_unregister: The driver core will now lock both the parent and the device before probing or removing. driver_bind and driver_unbind (in sysfs): These routines will now lock both the parent and the device before binding or unbinding. bus_rescan_devices: The helper routine will lock the parent before probing a device. I have not tested this patch for conflicts with other subsystems. As far as I can see, the only possibility of conflict would lie in the bus_rescan_devices pathway, and it seems pretty remote. Nevertheless, it would be good for this to get a lot of testing in -mm. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6d20b035dee4300e9786c6e1cb77a765c7f9460a Author: Paul Jackson Date: Fri Nov 25 20:04:26 2005 -0800 [PATCH] driver kill hotplug word from sn and others fix The first of these changes s/hotplug/uevent/ was needed to compile sn2_defconfig (ia64/sn). The other three files changed are blind changes of all remaining bus_type.hotplug references I could find to bus_type.uevent. This patch attempts to finish similar changes made in the gregkh-driver-kill-hotplug-word-from-driver-core Nov 22 patch. Signed-off-by: Paul Jackson Signed-off-by: Greg Kroah-Hartman commit 712f47cea7703a340406fde61e84eb86ce781988 Author: Greg Kroah-Hartman Date: Wed Nov 16 11:27:07 2005 -0800 [PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED With modules, dynamic /dev, and uevents, people really want CONFIG_HOTPLUG to be enabled in their kernels. If not, they can still disable it, but it is discouraged. Signed-off-by: Greg Kroah-Hartman commit 312c004d36ce6c739512bac83b452f4c20ab1f62 Author: Kay Sievers Date: Wed Nov 16 09:00:00 2005 +0100 [PATCH] driver core: replace "hotplug" by "uevent" Leave the overloaded "hotplug" word to susbsystems which are handling real devices. The driver core does not "plug" anything, it just exports the state to userspace and generates events. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 5f123fbd80f4f788554636f02bf73e40f914e0d6 Author: Kay Sievers Date: Fri Nov 11 14:43:07 2005 +0100 [PATCH] merge kobject_uevent and kobject_hotplug The distinction between hotplug and uevent does not make sense these days, netlink events are the default. udev depends entirely on netlink uevents. Only during early boot and in initramfs, /sbin/hotplug is needed. So merge the two functions and provide only one interface without all the options. The netlink layer got a nice generic interface with named slots recently, which is probably a better facility to plug events for subsystem specific events. Also the new poll() interface to /proc/mounts is a nicer way to notify about changes than sending events through the core. The uevents should only be used for driver core related requests to userspace now. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 033b96fd30db52a710d97b06f87d16fc59fee0f1 Author: Kay Sievers Date: Fri Nov 11 06:09:55 2005 +0100 [PATCH] remove mount/umount uevents from superblock handling The names of these events have been confusing from the beginning on, as they have been more like claim/release events. We needed these events for noticing HAL if storage devices have been mounted. Thanks to Al, we have the proper solution now and can poll() /proc/mounts instead to get notfied about mount tree changes. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0f76e5acf9dc788e664056dda1e461f0bec93948 Author: Kay Sievers Date: Fri Nov 11 04:58:04 2005 +0100 [PATCH] add uevent_helper control in /sys/kernel/ This deprecates the /proc/sys/kernel/hotplug file, as all this stuff should be in /sys some day, right? :) In /sys/kernel/ we have now uevent_seqnum and uevent_helper. The seqnum is no longer used by udev, as the version for this kernel depends on netlink which events will never get out-of-order. Recent udev versions disable the /sbin/hotplug helper with an init script, cause it leads to OOM on big boxes by running hundreds of shells in parallel. It should be done now by: echo "" > /sys/kernel/uevent_helper (Note that "-n" does not work, cause neighter proc nor sysfs support truncate().) Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0296b2281352e4794e174b393c37f131502e09f0 Author: Kay Sievers Date: Fri Nov 11 05:33:52 2005 +0100 [PATCH] remove CONFIG_KOBJECT_UEVENT option It makes zero sense to have hotplug, but not the netlink events enabled today. Remove this option and merge the kobject_uevent.h header into the kobject.h header file. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 034382117725f6b6b26fbb138498139c5c012c1b Author: Kay Sievers Date: Fri Nov 11 04:25:06 2005 +0100 [PATCH] keep pnpbios usermod_helper away from hotplug_path[] These days we use udev to manage all kernel events. /proc/sys/kernel/hotplug will usually be disabled by an init-script. pnpnbios is not integrated with the driver core and should stay away from the now disabled /sbin/hotplug. Set the helper to /sbin/phpbios, even when there is probably no current user of this faciliy. If it's needed, it should definitely get proper driver core integration instead of forking binaries from the kernel. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 1d7d2f6f476cf7aa65f9f740a6c932fb75608110 Author: Jack Morgenstein Date: Wed Jan 4 14:42:39 2006 -0800 IB/mthca: fix WQE size calculation in create-srq Thinko: 64 bytes is the minimum SRQ WQE size (not the maximum). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 Author: Thomas Young Date: Wed Jan 4 13:59:32 2006 -0800 [TCP] tcp_vegas: Fix slow start Vegas' slow start was only adding one MSS per RTT rather than one for every ack. Slow start behavior should now match Reno. Signed-off-by: Thomas Young Signed-off-by: David S. Miller commit 9369986306d4692f37b61302d4e1ce3054d8833e Author: Kris Katterjohn Date: Wed Jan 4 13:58:36 2006 -0800 [NET]: More instruction checks fornet/core/filter.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 181a46a56e9f852060c54247209e93740329b6eb Author: YOSHIFUJI Hideaki Date: Wed Jan 4 13:56:54 2006 -0800 [NETFILTER]: Use macro for spinlock_t/rwlock_t initializations/definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 196433c5b788eb732fdcf92449274e302f089ce4 Author: YOSHIFUJI Hideaki Date: Wed Jan 4 13:56:31 2006 -0800 [IPV6]: Use macro for rwlock_t initialization. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ca4033024858fcbd392465ba9cbf4c838aedfb58 Author: YOSHIFUJI Hideaki Date: Wed Jan 4 13:56:08 2006 -0800 [ECONET]: Use macro for spinlock_t definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a020ff412f0ecbb1e4aae1681b287e5785dd77b5 Author: David Howells Date: Wed Jan 4 18:01:03 2006 +0000 [PATCH] Fix pragma packing in ip2 driver This fixes the pragma packing in the ip2 driver by popping the previous setting rather than explicitly assuming that the correct setting is 4. This also gets around a compiler bug in the FRV compiler when building allmodconfig. Signed-Off-By: David Howells Signed-off-by: Linus Torvalds commit c8dd7709c534ab0d713aa698c99132b6c812b57c Author: Sam Bishop Date: Thu Dec 22 17:11:02 2005 -0700 [PATCH] USB: fix usb-skeleton limit resource usage patch. Prevents a compiler warning and uses down_interruptible() instead of down() in process context. Signed-off-by: Sam Bishop Signed-off-by: Greg Kroah-Hartman commit cb5b3f6950b4fbad9d8d41756f49aba792804b5b Author: Olav Kongas Date: Thu Dec 22 12:44:52 2005 +0200 [PATCH] USB: fix buffer size limiting in skeleton driver Fix buffer size limiting. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit f5691d70d4aeec0ac9cff11f0cabb7d5a1735705 Author: Pete Zaitcev Date: Wed Dec 21 17:24:54 2005 -0800 [PATCH] USB: fix usb_find_interface for ppc64 Fix usb_find_interface. You cannot case pointers to int and long on a big-endian 64-bitter without consequences. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a9714c845c0681a203a9ae22aa5165ec72c51d33 Author: David Woodhouse Date: Fri Dec 23 16:41:41 2005 +0000 [PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices I looked at the userspace code which uses the LPIOC_GET_DEVICE_ID ioctl and I almost went blind. Let's export it in sysfs instead, and just as a string instead of with a big-endian length at the beginning of it. This also prints the message about finding the printer _after_ we know the minor device number it's going to have, rather than reporting all printers as 'usblp0'. Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman commit 318e479eb7ad9a948c6da381976d258464413816 Author: Pete Zaitcev Date: Wed Dec 21 17:03:24 2005 -0800 [PATCH] USB: ioctl compat for usblp.c From: David Woodhouse David has a G5 with a printer. I am quite surprised that nobody else noticed this before. Linus has a G5. Hackers hate printing in general, maybe. We do not use BKL anymore, because one of code paths had a sleeping call, so we had to use a semaphore. I am sure it's safe to use unlocked_ioctl. The new ioctls return long and retval is int. It looks completely fine to me. We never want these extra bits, and the sign extension ought to work right. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman -- commit a083dec0ed537a75fbe8f2f83d198e9e672240d8 Author: Nathan Lynch Date: Sun Dec 18 23:41:38 2005 -0600 [PATCH] USB: zd1201: make sysfs device symlink Noticed that my zd1201 adapter isn't "seen" by hal and NetworkManager. The problem seems to be that unlike other network device drivers I checked, zd1201 does not do a SET_NETDEV_DEV(), which makes it so a "device" symlink is created under /sys/class/net/wlan0. With the following patch the device symlink shows up, and now I am happily using NetworkManager to control the adapter: $ ls -l /sys/class/net/wlan0 total 0 -r--r--r-- 1 root root 4096 Dec 18 13:42 address -r--r--r-- 1 root root 4096 Dec 18 13:42 addr_len -r--r--r-- 1 root root 4096 Dec 18 13:42 broadcast -r--r--r-- 1 root root 4096 Dec 18 13:42 carrier lrwxrwxrwx 1 root root 0 Dec 18 13:42 device -> ../../../devices/pci0001:10/0001:10:1b.1/usb4/4-1 -r--r--r-- 1 root root 4096 Dec 18 13:42 features Signed-off-by: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit ff90651883093576de2d60bebaae39b0dd2e62f6 Author: Oliver Neukum Date: Wed Dec 21 19:27:29 2005 +0100 [PATCH] USB: Limiting of resource use in skeleton driver this introduces limits whose lack in the skeleton driver someone recently complained about. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit aafbf24a1129480157af7ee780eddcea9b76ee5c Author: Pete Zaitcev Date: Tue Dec 20 14:15:04 2005 -0800 [PATCH] USB: replace __setup("nousb") with __module_param_call Fedora users complain that passing "nousbstorage" to the installer causes the rest of the USB support to disappear. The installer uses kernel command line as a way to pass options through Syslinux. The problem stems from the use of strncmp() in obsolete_checksetup(). I used __module_param_call() instead of module_param because I wanted to preserve the old syntax in grub.conf, and it's the only macro which allows to remove the prefix. The fix is tested to accept the option "nousb" correctly now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf Author: David Hollis Date: Mon Dec 19 13:58:38 2005 -0500 [PATCH] USB: asix.c - Add Linksys USB200M Rev 2 ids Attached patch adds device IDs for the Linksys USB200M Rev 2 device which uses the AX88772 chipset. Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman commit 3e220e9505f3c993b666b5e22b1c466b69ee4f54 Author: Phil Dibowitz Date: Sun Dec 18 21:30:02 2005 -0800 [PATCH] USB Storage: Fix unusual_devs.h order Alan Stern pointed out there was an ordering issue in unusual_devs.h, and this patch fixes it. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit ab93091dd7f3d3dff9e8d1811d8344af1c52493b Author: Daniel Marjamaki Date: Sat Dec 17 02:38:46 2005 -0800 [PATCH] USB: ub 02 Removed unused variable Removed an unused variable Signed-off-by: Daniel Marjamaki Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4fb729f5863c29e4466afb4508186303f46458e7 Author: Pete Zaitcev Date: Sat Dec 17 02:34:12 2005 -0800 [PATCH] USB: ub 01 rename Rename misleading UB_MINORS_PER_MAJOR into UB_PARTS_PER_LUN. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 2c26c9e6b4993a1a1231849feff4b6518a4fc239 Author: Pete Zaitcev Date: Sat Dec 17 02:16:43 2005 -0800 [PATCH] USB: ub 00 implement retries and resets Implement command retries and resets in ub. It is advantageous for users to know if their devices are getting bad. However, failing every I/O is not practical if you have a external USB enclosure with a hard drive. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 6b495f4c5accec6261f522ea6898580dc9cb6316 Author: Daniel Marjamäki Date: Tue Dec 13 15:30:20 2005 +0200 [PATCH] USB: isp116x-hcd.c: Removed unused variable Removed unused variable Signed-off-by: Daniel Marjamäki Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 Author: Jesper Juhl Date: Sun Dec 11 20:34:02 2005 +0100 [PATCH] USB: Remove unneeded kmalloc() return value casts Remove kmalloc() return value casts that we don't need from drivers/usb/* Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit 740a4282ed5cf0fbcad9a1a1660f24e1b5d11ed2 Author: Ian Abbott Date: Tue Dec 13 16:18:47 2005 +0000 [PATCH] USB: ftdi_sio: new IDs for Teratronik devices This patch adds vendor and product IDs to the ftdi_sio driver's device ID table for two devices from teratronik.de. The device IDs were submitted by O. Wölfelschneider of Teratronik Elektronische Systeme GmbH. The charset of the patch is latin-1, same as the original files. Please apply, thanks! (I've tried to avoid a clash with Andrew Morton's patch to add support for Posiflex PP-7700 printer to the same driver.) Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit effac8be4e46aabf22788d24caaa1ae9c295d26d Author: Pavel Fedin Date: Fri Dec 9 09:30:59 2005 +0300 [PATCH] USB: Support for Posiflex PP-7000 retail printer in Linux This little patch adds recognition of Posiflex PP-7000 retail printer to ftdo_sio module. The printer uses FT232BM bridge programmed with custom VID/PID. The patch posted to lkml and sf.net was for 2.6.11.1 kernel, here is one reworked for 2.6.12. Signed-off-by: Greg Kroah-Hartman commit 735b0cbb5bbb981d726a465c157f20976794aab0 Author: Ville Syrjälä Date: Sat Dec 10 20:30:54 2005 +0200 [PATCH] USB: add driver for ATI/Philips USB RF remotes Summary: Driver for ATI/Philips USB RF remotes This is a new input driver for ATI/Philips USB RF remotes (eg. ATI Remote Wonder II). Signed-off-by: Ville Syrjälä Signed-off-by: Greg Kroah-Hartman commit 52950ed40dc97456209979af1d8f51b63cf6dcab Author: Tobias Klauser Date: Sun Dec 11 16:20:08 2005 +0100 [PATCH] USB: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Some trailing whitespaces are also removed. Patch is compile-tested on i386. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit f3d34ed48c80903544b509031fee64838d29f35f Author: Alan Stern Date: Tue Dec 13 10:32:13 2005 -0500 [PATCH] USB: fix local variable clash This patch (as621) fixes a local variable conflict I accidently introduced into usb_set_configuration. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3717f2952bd0aab30fe2a6af80657abbeb065461 Author: Paul Walmsley Date: Wed Nov 30 13:57:45 2005 -0800 [PATCH] USB: usb-storage: add debug entry for REPORT LUNS Bugs involving the REPORT LUNS SCSI-3 command are much easier to track down if usb-storage displays the command's name, rather than "(Unknown command)". Signed-off-by: Paul Walmsley Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8836aeb86158163532c1835e74751708c2d74385 Author: Matthew Dharm Date: Sun Dec 4 22:03:47 2005 -0800 [PATCH] USB Storage: update MAINTAINERS Someone recently pointed out to me that the MAINTAINERS entry for usb-storage was, perhaps, in need of changing. Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit e80b0fade09ef1ee67b0898d480d4c588f124d5f Author: Matthew Dharm Date: Sun Dec 4 22:02:44 2005 -0800 [PATCH] USB Storage: add alauda support This patch adds another usb-storage subdriver, which supports two fairly old dual-XD/SmartMedia reader-writers (USB1.1 devices). This driver was written by Daniel Drake -- he notes that he wrote this driver without specs, however a vendor-supplied GPL driver for the previous generation of products ("sma03") did prove to be quite useful, as did the sddr09 driver which also has to deal with low-level physical block layout on SmartMedia. The original patch has been reformed by me, as it clashed with the libusual patches. We really need to consolidate some of this common SmartMedia code, and get together with the MTD guys to share it with them as well. Signed-off-by: Daniel Drake Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit a6c976c6c4628ce0c9277c47e7545956d9d4f441 Author: Matthew Dharm Date: Sun Dec 4 21:59:45 2005 -0800 [PATCH] USB Storage: more sddr09 cleanups This is the third of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as596) moves the computation of the LBA to the start of the read/write routines, so that addresses completely beyond the end of the device can be detected and reported differently from transfers that are partially within the device's capacity. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 0dc08a357538de3d93305fbf99348663abdbf2cd Author: Matthew Dharm Date: Sun Dec 4 21:58:52 2005 -0800 [PATCH] USB Storage: sddr09 cleanups This is the second of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as595) updates the code to use standard error values for return codes instead of our special-purpose USB_STOR_TRANSPORT_... codes. The reverse update is then needed in the transport routine, but with the Sim-SCSI framework that routine will go away. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit f5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b Author: Matthew Dharm Date: Sun Dec 4 21:57:51 2005 -0800 [PATCH] USB Storage: cleanups of sddr09 This is the first of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as594) straightens out the initialization procedures and headers: Some ugly code from usb.c was moved into sddr09.c. Set-up of the private data structures was moved into the initialization routine. The connection between the "dpcm" version and the standalone version was clarified. A private declaration was moved from a header file into the subdriver's .c file. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 Author: Matthew Dharm Date: Sun Dec 4 21:56:51 2005 -0800 [PATCH] USB Storage: make OneTouch PM-aware The OneTouch subdriver submits its own interrupt URB for notifications about button presses. Consequently it needs to know about suspend and resume events, so it can cancel or restart the URB. This patch (as593) adds a hook to struct us_data, to be used for notifying subdrivers about Power Management events, and it implements the hook in the OneTouch driver. Signed-off-by: Alan Stern Signed-off-by: Nick Sillik Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b9b09422570e5e35a9f590a1ead63e711aefac8c Author: Pete Zaitcev Date: Sat Dec 3 21:52:10 2005 -0800 [PATCH] USB: Let usbmon collect less garbage Alan Stern pointed out that (in 2.6 kernel) one successful submission results in one callback, even for ISO-out transfers. Thus, the silly check can be removed from usbmon. This reduces the amount of garbage printed in case of ISO and Interrupt transfers. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 687f5f3428157bea4940dd967fd7b4e59c1b13b4 Author: Alan Stern Date: Wed Nov 30 17:16:19 2005 -0500 [PATCH] USB: UHCI: edit some comments This patch (as615b) edits a large number of comments in the uhci-hcd code, mainly removing excess apostrophes. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fa3465689f93331834a831bbe98e3863701e1068 Author: Alan Stern Date: Wed Nov 30 11:57:51 2005 -0500 [PATCH] USB: UHCI: change uhci_explen macro This patch (as616) changed the uhci_explen macro in uhci-hcd.h so that it now accepts the desired length, rather than length - 1 with special handling for 0. This also fixes a minor bug that would show up only when a driver submits a 0-length bulk URB. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit f0b80fbf294bc4f6ec179b09fd5b63df25188259 Author: Marcelo Feitoza Parisi Date: Thu Dec 1 00:50:39 2005 +0300 [PATCH] USB: ati_remote: use time_before() and friends They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 95f209f93663103db2a8fb989e226ac68a98b036 Author: Horst Schirmeier Date: Thu Jul 28 15:32:20 2005 +0200 [PATCH] USB: pl2303_update_line_status data length fix Minimum data length must be UART_STATE + 1, as data[UART_STATE] is being accessed for the new line_state. Although PL-2303 hardware is not expected to send data with exactly UART_STATE length, this keeps it on the safe side. Signed-off-by: Horst Schirmeier Signed-off-by: Greg Kroah-Hartman commit 17fa6e552f2fc6bb06af767b0abf9cb642e13404 Author: fabien COSSE Date: Wed Nov 30 01:16:00 2005 -0800 [PATCH] USB Storage: add unusual_devs entry for NIKON Coolpix 2000 This patch adds an unusual_devs.h entry for NIKON Coolpix 2000 camera wich cause error: "Not Ready: Medium not present" Works fine with th patched kernel... Here are the informations in /proc/bus/usb/devices: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b0 ProdID=0301 Rev= 0.10 S: Manufacturer=NIKON S: Product=NIKON DSC E2000 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms Signed-off-by: Fabien COSSE Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit a5e36d20897ff8317e722fceb4d9eea3e4a5906b Author: Richard Purdie Date: Mon Nov 28 22:15:46 2005 +0000 [PATCH] USB: Correct ohci-pxa27x suspend/resume struct confusion The device data in ohci-pxa27x is a struct hcd, not a struct ohci_hcd. This correct the suspend/resume calls to account for this and adds some code to invalidate the platform data when the module is removed. Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit 4c4c9432a6c916729c7296c47fe93b053a73e20c Author: Arjan van de Ven Date: Tue Nov 29 09:43:42 2005 +0100 [PATCH] USB: mark various usb tables const patch below marks various USB tables and variables as const so that they end up in .rodata section and don't cacheline share with things that get written to. For the non-array variables it also allows gcc to optimize more. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4 Author: Adrian Bunk Date: Tue Nov 29 14:01:55 2005 +0100 [PATCH] USB: drivers/usb/misc/sisusbvga/sisusb.c: remove dead code The Coverity checker found this dead code. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 2425e9fe67cb5e66c173c4f604ddd8a5970d89e9 Author: Alan Stern Date: Tue Nov 29 12:13:31 2005 -0500 [PATCH] USB: Don't assume root-hub resume succeeds This patch (as614) makes a small change to the part of the hub driver responsible for remote wakeup of root hubs. When these wakeups occur the driver is suspended, and in case the resume fails the driver should remain suspended -- it shouldn't try to proceed with its normal processing. This will hardly ever matter in normal use, but it did crop up while I was debugging a different problem. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3cf0a22e8b1b3f44288db773d315e72e89d51c4c Author: Alan Stern Date: Tue Nov 29 12:08:15 2005 -0500 [PATCH] USB Gadget: dummy_hcd: updates to hcd->state This patch (as613) moves the updates to hcd->state in the dummy_hcd driver to where they now belong. It also uses the new HC_FLAG_HW_ACCESSIBLE flag in a way that simulates a real PCI controller, and it adds checks for attempts to resume the bus while the controller is suspended or to suspend the controller while the bus is active. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66 Author: Alan Stern Date: Tue Nov 29 12:04:24 2005 -0500 [PATCH] USB Gadget: file_storage: remove "volatile" declarations This patch (as612) removes the "volatile" declarations from the file-storage gadget. It turns out that they aren't needed for anything much; adding a few memory barriers does a sufficient job. The patch also removes a wait_queue. Not much point having a queue when only one task is ever going to be on it! Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bd39b7f195e5a780a3c6710eb1c1450f158a1f31 Author: Chris Humbert Date: Mon Nov 28 09:29:23 2005 -0800 [PATCH] USB: don't allocate dma pools for PIO HCDs USB: don't allocate dma pools for PIO HCDs hcd_buffer_alloc() and hcd_buffer_free() have a similar dma_mask check and revert to kmalloc()/kfree(), but hcd_buffer_create() doesn't check dma_mask and allocates unused dma pools. Signed-off-by: Chris Humbert Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 5d3202949c9ac6e135d98bde15a8f05ad3fa5849 Author: Daniel Ritz Date: Sun Nov 27 22:23:38 2005 +0100 [PATCH] USB: input/touchkitusb: handle multiple packets Some versions of the controller seem to put multiple report packet into a single urb. also it can happen that a packet is split across multiple urbs. unpatched you get a jumpy cursor on some screens. the patch does: - handle multiple packets per urb - handle packets split across multiple urb - check packet type - cleanups Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman commit 8a4613f01f5bb850cab34e3db572d97251d997b3 Author: Luiz Fernando Capitulino Date: Mon Nov 28 19:16:07 2005 -0200 [PATCH] USB: usbserial: race-condition fix. There is a race-condition in usb-serial driver that can be triggered if a processes does 'port->tty->driver_data = NULL' in serial_close() while other processes is in kernel-space about to call serial_ioctl() on the same port. This happens because a process can open the device while there is another one closing it. The patch below fixes that by adding a semaphore to ensure that no process will open the device while another process is closing it. Note that we can't use spinlocks here, since serial_open() and serial_close() can sleep. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 487f9c6710e7dff338e59820f6cfaeaaa87cb532 Author: Luiz Fernando Capitulino Date: Mon Nov 28 19:16:05 2005 -0200 [PATCH] USB: usbserial: Adds missing checks and bug fix. Checks if 'port' is NULL before using it in all tty operations, this can avoid NULL pointer dereferences. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 717f736d937d0e98e964375dac770bfa20f73b72 Author: Olav Kongas Date: Sat Nov 26 01:58:36 2005 +0200 [PATCH] USB: isp116x-hcd: minor cleanup When going to suspend, there's no point in setting HC state in host controller driver as USB core takes care of this. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 Author: Pavel Machek Date: Sun Nov 27 09:47:28 2005 -0500 [PATCH] USB: Cleanups for usb gadget mass-storage Remove useless initalizers. Signed-off-by: Pavel Machek Signed-off-by: Alan Stern commit 12c3da346eb81b6a281031f62eda3bca993dff5a Author: Alan Stern Date: Wed Nov 23 12:09:52 2005 -0500 [PATCH] USB: Store port number in usb_device This patch (as610) adds a field to struct usb_device to store the device's port number. This allows us to remove several loops in the hub driver (searching for a particular device among all the entries in the parent's array of children). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 55c527187c9d78f840b284d596a0b298bc1493af Author: Alan Stern Date: Wed Nov 23 12:03:12 2005 -0500 [PATCH] USB: Consider power budget when choosing configuration This patch (as609) changes the way we keep track of power budgeting for USB hubs and devices, and it updates the choose_configuration routine to take this information into account. (This is something we should have been doing all along.) A new field in struct usb_device holds the amount of bus current available from the upstream port, and the usb_hub structure keeps track of the current available for each downstream port. Two new rules for configuration selection are added: Don't select a self-powered configuration when only bus power is available. Don't select a configuration requiring more bus power than is available. However the first rule is #if-ed out, because I found that the internal hub in my HP USB keyboard claims that its only configuration is self-powered. The rule would prevent the configuration from being chosen, leaving the hub & keyboard unconfigured. Since similar descriptor errors may turn out to be fairly common, it seemed wise not to include a rule that would break automatic configuration unnecessarily for such devices. The second rule may also trigger unnecessarily, although this should be less common. More likely it will annoy people by sometimes failing to accept configurations that should never have been chosen in the first place. The patch also changes usbcore's reaction when no configuration is suitable. Instead of raising an error and rejecting the device, now the core will simply leave the device unconfigured. People can always work around such problems by installing configurations manually through sysfs. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 949bf6431189c62eeebd3b52201406ba9978f525 Author: Fengwei Yin Date: Fri Nov 18 10:35:36 2005 +0800 [PATCH] USB: One potential problem in gadget/serial.c It looks like that the gs_serial module maybe sleep with spinlock in gs_close. Sometimes, system hang when I remove the gs_serial module. From: Fengwei Yin Signed-off-by: Greg Kroah-Hartman commit 3d48586cfa2e197515605ccf74527983d35638e3 Author: Adrian Bunk Date: Sun Nov 20 23:56:11 2005 +0100 [PATCH] USB: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 4bf0ba861442d289eebfad8ea9ce365ab04fd582 Author: Alan Stern Date: Mon Nov 21 11:58:07 2005 -0500 [PATCH] USB: Fix locking for USB suspend/resume The earlier USB locking updates didn't touch the suspend/resume routines. They need updating as well, since now the caller holds the device semaphore. This patch (as608) makes the necessary changes. It also adds a line to store the correct power state when a device is resumed, something which was unaccountably missing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 7d069b7d80933004282c48edbe62526e4cb0aecc Author: Alan Stern Date: Fri Nov 18 12:06:34 2005 -0500 [PATCH] USB: Disconnect children during hub unbind This patch (as606b) is an updated version of my earlier patch to disconnect children from a hub device when the hub driver is unbound. Thanks to the changes in the driver core locking, we now know that the entire hub device (and not just the interface) is locked whenever the hub driver's disconnect method runs. Hence it is safe to disconnect the child device structures immediately instead of deferring the job. The earlier version of the patch neglected to disable the hub's ports. We don't want to forget that; otherwise we'd end up with live devices using addresses that have been recycled. This update adds the necessary code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 9ad3d6ccf5eee285e233dbaf186369b8d477a666 Author: Alan Stern Date: Thu Nov 17 17:10:32 2005 -0500 [PATCH] USB: Remove USB private semaphore This patch (as605) removes the private udev->serialize semaphore, relying instead on the locking provided by the embedded struct device's semaphore. The changes are confined to the core, except that the usb_trylock_device routine now uses the return convention of down_trylock rather than down_read_trylock (they return opposite values for no good reason). A couple of other associated changes are included as well: Now that we aren't concerned about HCDs that avoid using the hcd glue layer, usb_disconnect no longer needs to acquire the usb_bus_lock -- that can be done by usb_remove_hcd where it belongs. Devices aren't locked over the same scope of code in usb_new_device and hub_port_connect_change as they used to be. This shouldn't cause any trouble. Along with the preceding driver core patch, this needs a lot of testing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 Author: Greg Kroah-Hartman Date: Mon Nov 21 14:53:03 2005 -0800 [PATCH] USB: remove .owner field from struct usb_driver It is no longer needed, so let's remove it, saving a bit of memory. Signed-off-by: Greg Kroah-Hartman commit 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 Author: Greg Kroah-Hartman Date: Mon Nov 21 14:53:03 2005 -0800 [PATCH] USB: make registering a usb driver automatically set the module owner This fixes the driver that forgot to set the module owner up. Now we can remove the unneeded pointer from the usb driver structure. The idea for how to do this was from Al Viro, who did this for the PCI drivers. Signed-off-by: Greg Kroah-Hartman commit ba9dc657af86d05d2971633e57d1f6f94ed60472 Author: Greg Kroah-Hartman Date: Wed Nov 16 13:41:28 2005 -0800 [PATCH] USB: allow usb drivers to disable dynamic ids This lets drivers, like the usb-serial ones, disable the ability to add ids from sysfs. The usb-serial drivers are "odd" in that they are really usb-serial bus drivers, not usb bus drivers, so the dynamic id logic will have to go into the usb-serial bus core for those drivers to get that ability. Signed-off-by: Greg Kroah-Hartman commit 733260ff9c45bd4db60f45d17e8560a4a68dff4d Author: Greg Kroah-Hartman Date: Wed Nov 16 13:41:28 2005 -0800 [PATCH] USB: add dynamic id functionality to USB core Echo the usb vendor and product id to the "new_id" file in the driver's sysfs directory, and then that driver will be able to bind to a device with those ids if it is present. Example: echo 0557 2008 > /sys/bus/usb/drivers/foo_driver/new_id adds the hex values 0557 and 2008 to the device id table for the foo_driver. Note, usb-serial drivers do not currently work with this capability yet. usb-storage also might have some oddities. Signed-off-by: Greg Kroah-Hartman commit ddae41be6145f5f9cb4e6df35661a09121b90672 Author: Greg Kroah-Hartman Date: Wed Nov 16 13:41:28 2005 -0800 [PATCH] USB: reorg some functions out of the main usb.c file This will make the dynamic-id stuff easier to do, as it will be self-contained. No logic was changed at all. Signed-off-by: Greg Kroah-Hartman commit 5ba35bd8f9a4fa6b92ef707826c47a1466ece460 Author: Pete Zaitcev Date: Fri Dec 16 00:39:36 2005 -0800 [PATCH] USB: make bias writeable in libusual Make the bias parameter writeable. Writing the parameter does not trigger a rebind of currently attached storage devices. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a00828e9ac62caed7b830d631914d7748817ccd1 Author: Pete Zaitcev Date: Sat Oct 22 20:15:09 2005 -0700 [PATCH] USB: drivers/usb/storage/libusual This patch adds a shim driver libusual, which routes devices between usb-storage and ub according to the common table, based on unusual_devs.h. The help and example syntax is in Kconfig. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 1c50c317e2e7f15427149cbc216a63366468710e Author: Alan Stern Date: Mon Nov 14 11:45:38 2005 -0500 [PATCH] USB: central handling for host controllers that were reset during suspend/resume This patch (as515b) adds a routine to usbcore to simplify handling of host controllers that lost power or were reset during suspend/resume. The new core routine marks all the child devices of the root hub as NOTATTACHED and tells khubd to disconnect the device structures as soon as possible. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 Author: Alan Stern Date: Mon Nov 14 12:16:30 2005 -0500 [PATCH] USB: dummy_hcd: rename variables The recent platform_device update has reintroduced into dummy_hcd.c the dreaded dev->dev syndrome. This harkens back to when an earlier version of that driver included the unforgettable line: dev->dev.dev.driver_data = dev; This patch (as602) renames the platform_device variables to "pdev", in the hope of reducing confusion. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a4f81a61ebba5953cba1e76f66423a7eca4a5ee4 Author: A.YOSHIYAMA Date: Tue Nov 15 09:55:18 2005 +0200 [PATCH] USB: usb-net: new device ID passed through module parameter adds new module parameter "devid" that points to a string with format "device_name:vendor_id:device_id:flags". if provided at module load time, this string is being parsed and a new entry is created in usb_dev_id[] and pegasus_ids[] so the new device can later be recognized by the probe routine. this might be helpful for someone who don't know/wish to build new module/kernel, but want to use his new usb-to-eth device that is not yet listed in pegasus.h Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 4a1728a28a193aa388900714bbb1f375e08a6d8e Author: Petko Manolov Date: Tue Nov 15 09:48:23 2005 +0200 [PATCH] USB: usb-net: removes redundant return removes all redundant collecting of the return value from get/set_registers() and suchlike. can't remember who put all of those some time ago, but they doesn't make any sense to me. where needed only a few references remained; Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 87c4252a35310fdbb2aabb880a39b83f83cadf62 Author: Alan Stern Date: Wed Nov 9 16:59:56 2005 -0500 [PATCH] USB: file-storage gadget: Add reference count for children This patch (as601) adds a proper reference count to the file-storage gadget's main data structure, to keep track of references held by child devices (LUNs in this case). Before this, the driver would wait for each child to be released before unbinding. While there's nothing really wrong with that (you can't create a hang by doing "rmmod g_file_storage Signed-off-by: Greg Kroah-Hartman commit c9a50cc9318772e62d56f2a9172bdfda72bdacbe Author: David Brownell Date: Mon Nov 7 20:45:20 2005 -0800 [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG This modifies the HCD builds to automatically "-DDEBUG" if CONFIG_USB_DEBUG is selected. It's just a minor source code cleanup, guaranteeing consistency. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 704aa0b7a9744d5f2b5c1fa68b826fcca73a2104 Author: David Brownell Date: Mon Nov 7 15:38:24 2005 -0800 [PATCH] USB: wakeup flag updates (3/3) isp116x-hcd This makes the ISP116x HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit baefbc39d8e23942cc10db92f5bc42e3476f6bc1 Author: David Brownell Date: Mon Nov 7 15:34:41 2005 -0800 [PATCH] USB: wakeup flag updates (2/3) uhci-hcd This makes UHCI stop using the HCD glue wakeup flags to report whether the controller can wake the system. The existing code was wrong anyway; having a PCI PM capability doesn't imply it reports PME# is supported. I skimmed Intel's ICH7 datasheet and that basically says the wakeup signaling gets routed only through ACPI registers. (On the other hand, many VIA chips provide the PCI PM capabilities...) I think that doing this correctly with UHCI is going to require the ACPI folk to associate the /proc/acpi/wakeup identifiers (and wakeup enable/disable flags) with the relevant /sys/devices/pci*/... devices. From: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0c8624f91d91df7cdeb9b2dace3269b8788c845f Author: David Brownell Date: Mon Nov 7 15:31:25 2005 -0800 [PATCH] USB: wakeup flag updates (1/3) sl811-hcd This makes the SL811 HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). From: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/sl811-hcd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d97cc2f2e938547a47daef29bc10ab38600a3310 Author: David Brownell Date: Thu Dec 22 17:05:18 2005 -0800 [PATCH] USB: ehci fix driver model wakeup flags On some systems, EHCI seems to be getting IRQs too early during driver setup ... before the root hub is allocated, in particular, making trouble for any code chasing down root hub pointers! In this case, it seems to be safe to just ignore the root hub setting. Thanks to Rafael J. Wysocki for getting this properly tested. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2c1c3c4cd5f796b1912c65aaf3bf48c0ddf11f5e Author: David Brownell Date: Mon Nov 7 15:24:46 2005 -0800 [PATCH] USB: EHCI updates (4/4) driver model wakeup flags This teaches the EHCI driver to use the new driver model wakeup flags, replacing the similar ones in the HCD glue. It also adds a workaround for the current glitch whereby PCI init doesn't init the wakeup flags from the PCI PM capabilities. (EHCI controllers don't worry about legacy mode; the PCI PM capability would always do the job.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8d7802ed3c617120863f84346638d1cf1c96137b Author: matthieu castet Date: Tue Nov 8 00:02:30 2005 +0100 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver fix More care on loading firmware, take into account fw->size can't be zero. Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit b72458a80c75cab832248f536412f386e20a93a0 Author: matthieu castet Date: Mon Nov 7 23:27:13 2005 +0100 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver A driver for USB ADSL modems based on the ADI eagle chipset using the usb_atm infrastructure. The managing part was taken from bsd ueagle driver, other parts were written from scratch. The driver uses the in-kernel firmware loader : - to load a first usb firmware when the modem is in pre-firmware state - to load the dsp firmware that are swapped in host memory. - to load CMV (configuration and management variables) when the modem boot. (We can't use options or sysfs for this as there many possible values. See https://mail.gna.org/public/eagleusb-dev/2005-04/msg00031.html for a description of some) - to load fpga code for 930 chipset. The device had 4 endpoints : * 2 for data (use by usbatm). The incoming endpoint could be iso or bulk. The modem seems buggy and produce lot's of atm errors when using it in bulk mode for speed > 3Mbps, so iso endpoint is need for speed > 3Mbps. At the moment iso endpoint need a patched usbatm library and for this reason is not included in this patch. * One bulk endpoint for uploading dsp firmware * One irq endpoint that notices the driver - if we need to upload a page of the dsp firmware - an ack for read or write CMV and the value (for the read case). If order to make the driver cleaner, we design synchronous (read|write)_cmv : -send a synchronous control message to the modem -wait for an ack or a timeout -return the value if needed. In order to run these synchronous usb messages we need a kernel thread. The driver has been tested with sagem fast 800 modems with different eagle chipset revision and with ADI 930 since April 2005. Signed-off-by: Matthieu CASTET Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 6912354a895fcd234155273fe8838a0d83259a9b Author: Alan Stern Date: Thu Nov 3 11:44:49 2005 -0500 [PATCH] USB: EHCI: fix conflation of buf == 0 with len == 0 When the ehci-hcd driver prepares a control URB, it tests for a zero-length data stage by looking at the transfer_dma value instead of the transfer_buffer_length. (In fact it does this even for non-control URBs, which is an additional aspect of the same bug.) However, under certain circumstances it's possible for transfer_dma to be 0 while transfer_buffer_length is non-zero. This can happen when a freshly allocated page (mapped to address 0 and marked Copy-On-Write, but never written to) is used as the source buffer for an OUT transfer. This patch (as598) fixes the problem. Signed-off-by: Alan Stern Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 959eea2191e8d74b16ef019b0f4bf875c14f4547 Author: Olav Kongas Date: Thu Nov 3 17:38:14 2005 +0200 [PATCH] USB: isp116x-hcd: cleanup The attached patch makes a cleanup of isp116x-hcd. Most of the volume of the patch comes from 2 sources: moving the code around to get rid of a few function prototypes and reworking register dumping functions/macros. Among other things, switched over from using procfs to debugfs. Cleanup. The following changes were made: - Rework register dumping code so it can be used for dumping to both syslog and debugfs. - Switch from procfs to debugfs.. - Die gracefully on Unrecoverable Error interrupt. - Fix memory leak in isp116x_urb_enqueue(), if HC happens to die in a narrow time window. - Fix a 'sparce' warning (unnecessary cast). - Report Devices Removable for root hub ports by default (was Devices Permanently Attached). - Move bus suspend/resume functions down in code to get rid of a few function prototypes. - A number of one-line cleanups. - Add an entry to MAINTAINERS. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 drivers/usb/host/isp116x-hcd.c | 429 ++++++++++++++++------------------------- drivers/usb/host/isp116x.h | 83 +++++-- 3 files changed, 230 insertions(+), 288 deletions(-) commit 535488fcf1e4b2331e1c4a1eb67ca09468c13507 Author: Olav Kongas Date: Fri Oct 28 15:04:45 2005 +0300 [PATCH] USB: isp116x-hcd: support reiniting HC on resume Until now the isp116x-hcd had no support to reinitialize the HC on resume, if the controller lost its state during suspend. This patch, generated against your Oct 26 git tree, adds that support. The patch is basically the same as the one tested by Ivan Kalatchev, who reported the problem, on 2.6.13. Please apply, Support reinitializing the isp116x host controller from scratch on resume, if the controller has lost its state. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 61a87adf2e7b410da8e41799c61c21a7b8c8b001 Author: David Kubicek Date: Tue Nov 1 18:51:34 2005 +0100 [PATCH] USB: Converting cdc acm to a ring queue this patch by David converts the sending queue of the CDC ACM driver to a queue of URBs. This is needed for quicker devices. Please apply. Signed-Off-By: Oliver Neukum Signed-off-by: Greg Kroah-Hartman drivers/usb/class/cdc-acm.c | 229 ++++++++++++++++++++++++++++++-------------- drivers/usb/class/cdc-acm.h | 33 +++++- 2 files changed, 185 insertions(+), 77 deletions(-) commit 2e1dcc1600c1d83b26479edd076866595bbd3523 Author: Richard Purdie Date: Sat Nov 12 14:22:14 2005 +0000 [PATCH] USB: Add pxa27x OHCI PM functions Add power management functions for the pxa27x USB OHCI host controller. This is a totally rewritten version of the patch by Nicolas Pitre and Todd Poynor which accounts for recent USB changes. Signed-off-by: Richard Purdie Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 81f280e22f14d6d976620acaa1b346a90f4e1adc Author: Richard Purdie Date: Sat Nov 12 14:22:11 2005 +0000 [PATCH] USB: pxa27x OHCI - Separate platform code from main driver To allow multiple platforms to use the PXA27x OHCI driver, the platform code needs to be moved into the board specific files in arch/arm/mach-pxa. This patch does this for mainstone and adds preliminary hooks to allow other boards to use the driver. This has been compile tested for mainstone and successfully run on Spitz (Sharp Zaurus SL-C3000) with the addition of an appropriate board support file. Signed-off-by: Richard Purdie Signed-off-by: Nicolas Pitre Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit ea8874dc3881c2a496a4bd6bc981f707cc6a0db1 Author: Russell King Date: Wed Jan 4 19:43:24 2006 +0000 [SERIAL] Remove _INLINE_ Signed-off-by: Russell King commit 45e24601921fc1c4ca7932f7f7a475d3ad64ecad Author: Russell King Date: Wed Jan 4 19:19:06 2006 +0000 [SERIAL] Move interrupt-time spinlocking inside serial8250_handle_port() All call sites for serial8250_handle_port() acquired the port spinlock and released it afterwards. This is a needless duplication of code. Move the spinlocking inside serial8250_handle_port(). Signed-off-by: Russell King commit 50aec3b561de4e435204ad315e5c5ab58ef9feda Author: Russell King Date: Wed Jan 4 18:13:03 2006 +0000 [SERIAL] Use uart_match_port() to find a matching port in find_port() Signed-off-by: Russell King commit 1624f003349b49050f42c7d9f5407dfc05efb912 Author: Benjamin Herrenschmidt Date: Wed Jan 4 18:09:44 2006 +0000 [SERIAL] Fix matching of MMIO ports The function uart_match_port() incorrectly compares the ioremap'd virtual addresses of ports instead of the physical address to find duplicate ports for MMIO based UARTs. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Russell King commit 4c70b926c91ba9c1ce3dc92d418f8e4670c8f16d Author: Lennert Buytenhek Date: Wed Jan 4 17:17:17 2006 +0000 [ARM] 3225/1: add symbolic names for enp2611 gpio interrupts Patch from Lennert Buytenhek Add symbolic names for the five ixp2400 GPIO lines on the enp2611 that are used as interrupts. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 7a94283a7e8cd8a4ea29bf2cfedba511c706b0b4 Author: Lennert Buytenhek Date: Wed Jan 4 17:17:16 2006 +0000 [ARM] 3224/1: add masked thread interrupt status registers for ixp2000 Patch from Lennert Buytenhek In its interrupt handler, the (NAPI) ixp2000 netdev driver needs to use the masked thread interrupt status register (instead of the raw one) to prevent scheduling polling when polling is already running when a TXdone interrupt comes in. The definitions for the masked status registers were not in yet, so this patch adds them. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit b721243a6700b2ecc11f7b920d3d5d6718c5d148 Author: Lennert Buytenhek Date: Wed Jan 4 17:17:15 2006 +0000 [ARM] 3223/1: remove ixdp2x01 cs89x0 hack Patch from Lennert Buytenhek Remove the ixdp2x01 cs89x0 hack from ixp2000's io implementation. Since the cs89x0 driver has been made properly aware of the odd way the cs89x0 is hooked up on the ixdp2x01, we don't need this hack anymore. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit b1ad3a57d39001af413414c34feb5cd41d0f7917 Author: Deepak Saxena Date: Wed Jan 4 17:17:14 2006 +0000 [ARM] 3221/1: Update IXP4xx defconfig Patch from Deepak Saxena Add NAS 100d to machine build list and update to new 2.6.15 options. Signed-off-by: Deepak Saxena --- Signed-off-by: Russell King commit 313cbb5519405966e3e65fca86c0305ab24f2a3b Author: Rod Whitby Date: Wed Jan 4 17:17:13 2006 +0000 [ARM] 3218/1: PAGE_SHIFT undeclared in arch-ixp4xx/memory.h (adjust_zones moved out of line) Patch from Rod Whitby PAGE_SHIFT is undeclared in include/asm-arm/arch-ixp4xx/memory.h, identified by the following kernel compilation error: CC [M] sound/core/memory.o In file included from include/asm/memory.h:27, from include/asm/io.h:28, from sound/core/memory.c:24: include/asm/arch/memory.h: In function `__arch_adjust_zones': include/asm/arch/memory.h:28: error: `PAGE_SHIFT' undeclared (first use in this function) This patch replaces my previous attempt at fixing this problem (Patch 3214/1) and is based on the following feedback: Russell King wrote: > The error you see came up on SA1100. The best solution was to move > the __arch_adjust_zones() function out of line. I suggest ixp4xx > does the same. I have moved the function out of line into arch/arm/mach-ixp4xx/common-pci.c as suggested. Signed-off-by: Rod Whitby Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 8d27e6992bc6a7ca7eaa1d29fb1a8d6cb6022c45 Author: Deepak Saxena Date: Wed Jan 4 17:17:12 2006 +0000 [ARM] 3220/1: Remove gpio_isr_line_clear() from NAS 100d Patch from Deepak Saxena This patch removes referneces to gpio_isr_line_clear() from the NAS 100d platform implementation. Depends on 3192/1 and 3215/1 Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3145d8a6cc83ee15adf18f598873e53a54cd1841 Author: Rod Whitby Date: Wed Jan 4 17:17:11 2006 +0000 [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support Patch from Rod Whitby This patch adds support for a new arm/ixp4xx machine - the Iomega NAS 100d network attached storage product. The NAS100D is a consumer device containing a 266MHz Intel IXP420 processor, 16MB of flash, 64MB of RAM, a 160Gb internal IDE hard disk, and 802.11b/g wireless on an Atheros mini-PCI card. Work on porting the latest 2.6.x kernel to this device is being done by the NSLU2-Linux project (the same team who maintains the port to the Linksys NSLU2 device). In particular, the majority of this patch was authored by Alessandro Zummo, based on the work done for MACH_NSLU2 support by the NSLU2-Linux core team of developers. MACH_NAS100D (as implemented by this patch) can be enabled in jumbo ixp4xx kernels without any affect on the other machines supported by that kernel. This patch applies cleanly against 2.6.15-rc7 and should be trivial to apply to later kernel versions. It does not depend upon any other patches. Modified files (and number of lines inserted): arch/arm/mach-ixp4xx/Kconfig | 8 arch/arm/mach-ixp4xx/Makefile | 1 include/asm-arm/arch-ixp4xx/hardware.h | 1 include/asm-arm/arch-ixp4xx/irqs.h | 9 include/asm-arm/arch-ixp4xx/nas100d.h | 75 arch/arm/mach-ixp4xx/nas100d-pci.c | 77 arch/arm/mach-ixp4xx/nas100d-power.c | 69 arch/arm/mach-ixp4xx/nas100d-setup.c | 133 -- Rod Whitby (NSLU2-Linux project lead) Signed-off-by: Rod Whitby Signed-off-by: Alessandro Zummo Signed-off-by: Russell King commit f7e8bbb8207c17afbd716e7e5fc785b78fa08571 Author: Deepak Saxena Date: Wed Jan 4 17:17:10 2006 +0000 [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx Patch from Deepak Saxena Other than interrupt masking purposes, this API is only used when configuring interrupt lines and this patch moves that functionality directly into the ixp4xx_set_irq_type() implementation as board level PCI code should not need to worry about those details. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 26e92861be9c0da3be30718de693976b3f6a8026 Author: Gareth Howlett Date: Wed Jan 4 17:00:42 2006 +0000 [SERIAL] Add support for more Connect Tech PCI serial boards I've also fixed the sort-ordering comments on this naming convention. Signed-off-by: Stuart MacDonald Signed-off-by: Russell King commit 2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc Author: Russell King Date: Wed Jan 4 16:55:09 2006 +0000 [Serial] Don't miss modem status changes Reading the MSR register on 8250-compatible UARTs results in any modem status interrupts being cleared. To avoid missing any status changes, arrange for get_mctrl() to read the current status via check_modem_status(), which will process any pending state changes for us. Signed-off-by: Russell King commit e9c091b47409255cefa1672041479d850b7b991a Author: Russell King Date: Wed Jan 4 16:24:05 2006 +0000 [MMC] mmci: add data cache coherency Since MMCI currently uses PIO to read data, we have to take steps to ensure data cache coherency on aliasing CPU caches. Add the necessary flush_dcache_page() calls. Signed-off-by: Russell King commit b3a962455b106a1677f91c754e5315753c3d44c3 Author: Russell King Date: Wed Jan 4 15:55:41 2006 +0000 [ARM] Remove SA1100 PM prepare/finish ops These are empty, unnecessary functions, so remove them. Signed-off-by: Russell King commit d7b4a75677f8f2a559b0c55a550b364e79a8d302 Author: Russell King Date: Wed Jan 4 15:52:45 2006 +0000 [ARM] Move DMA exports to be next to each function Signed-off-by: Russell King commit 95ba9fb06be4a8714c98df6097eab1808c72fa98 Author: Russell King Date: Wed Jan 4 15:51:51 2006 +0000 [ARM] Remove definition of MAX_DMA_CHANNELS to zero Since we now only build arch/arm/kernel/dma.c on machine types which set ISA_DMA_API, we don't need to define MAX_DMA_CHANNELS to 0 to indicate this - this definition becomes superfluous. Remove it. Signed-off-by: Russell King commit 065909b91581cf2438d901a7811a82af3476bdab Author: Russell King Date: Wed Jan 4 15:44:16 2006 +0000 [ARM] Refine selection of ISA_DMA_API and generic dma.c code ISA_DMA_API tells the rest of the kernel if the ISA DMA API is available. Select this symbol only on machine types which make use of the ISA DMA API. Make building of arch/arm/kernel/dma.c depend on this symbol - if a machine does not support the ISA DMA API, it's pointless building this file. Signed-off-by: Russell King commit d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 Author: Russell King Date: Wed Jan 4 15:30:48 2006 +0000 [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h Signed-off-by: Russell King commit 6842b9299272a9471a7e94e046b953f6ffe3db9d Author: Russell King Date: Wed Jan 4 15:17:08 2006 +0000 [ARM] Use core_initcall() to initialise ARM DMA There's no need to have DMA initialised at the same time as interrupts. Move it to a core_initcall(). Signed-off-by: Russell King commit 7cdad482974792419cfe4b0affca689170116f49 Author: Russell King Date: Wed Jan 4 15:08:30 2006 +0000 [ARM] Remove '__address' from scatterlist and convert to DMA API The old __address element in struct scatterlist remained from older kernels because the ARM DMA emulation code made use of it. Move this field into struct dma_struct, and convert DMA emulation code to setup a SG entry as required. Also, convert DMA emulation code to use the new DMA API rather than the PCI DMA API. Signed-off-by: Russell King commit 333c9624b728a9e83b741ea75836aa114ec35272 Author: Russell King Date: Wed Jan 4 14:41:29 2006 +0000 [ARM] Move ISA DMA bus_to_virt() out of set_dma_addr() Allow the compiler to optimise the bus_to_virt(virt_to_bus()) transformation in the ARM ISA DMA interface. Signed-off-by: Russell King commit 109a9378807cb9093a88fbf9707420de97601e14 Author: Russell King Date: Wed Jan 4 14:06:31 2006 +0000 [ARM] Remove unused dma.c files CLPS711x, EPXA10DB and Integrator contained a dma.c file which has never been built. Remove these redundant files. Signed-off-by: Russell King commit ce11a161c11868f268964274edc7a26a3e063e08 Author: Russell King Date: Wed Jan 4 12:40:39 2006 +0000 [MMC] Fix missing ',' Signed-off-by: Russell King commit c6f43290ae687c11cdcd150d8bfeb57ec29cfa5b Author: Jaroslav Kysela Date: Wed Jan 4 10:26:16 2006 +0100 [ALSA] ad1889 - remove CVS ID from the driver identification Signed-off-by: Jaroslav Kysela commit 676338a1623ee9b60a6efb19ef8f743ab3b2eecb Author: Takashi Iwai Date: Tue Jan 3 19:56:55 2006 +0100 [ALSA] opl3 - Fix the unreleased resources Modules: OPL3 Fix the unreleased resources in the error path of snd_opl3_create(). Signed-off-by: Takashi Iwai commit 3e23c658833f135508127c955d40d7c9387f71dd Author: Takashi Iwai Date: Tue Jan 3 19:54:44 2006 +0100 [ALSA] Revert the nested-device patch Modules: ALSA Core Revert the nested-device patch to keep the compatibility with the current HAL configuration. Signed-off-by: Takashi Iwai commit 2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 Author: Jaroslav Kysela Date: Tue Jan 3 14:27:21 2006 +0100 [ALSA] dummy driver - added CA0106 emulation defines Modules: Generic drivers Signed-off-by: Jaroslav Kysela commit 7790db18be736c87b0cdfa8da8aca11627fc5e54 Author: Jaroslav Kysela Date: Wed Jan 4 10:13:22 2006 +0100 [ALSA] version 1.0.11rc2 commit f190055ff5c08a877d3e1ac2e0300fd92c264b06 Author: Arnaldo Carvalho de Melo Date: Wed Jan 4 02:02:20 2006 -0200 [IPVS]: Add missing include CC [M] net/ipv4/ipvs/ip_vs_conn.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_conn_new': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:606: warning: implicit declaration of function 'net_ratelimit' /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_random_dropentry': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:810: warning: implicit declaration of function 'net_random' Signed-off-by: Arnaldo Carvalho de Melo commit 80e40daa4797a156781d1594642b654eb1c461df Author: Arnaldo Carvalho de Melo Date: Wed Jan 4 01:58:06 2006 -0200 [TCP]: syn_flood_warning is only needed if CONFIG_SYN_COOKIES is selected CC net/ipv4/tcp_ipv4.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/tcp_ipv4.c:665: warning: 'syn_flood_warning' defined but not used Signed-off-by: Arnaldo Carvalho de Melo commit e4dfd449c80a41bb615b23d0fc198ba08360a1f8 Author: Arnaldo Carvalho de Melo Date: Wed Jan 4 01:46:34 2006 -0200 [DCCP] ackvec: use u8 for the buf offsets Signed-off-by: Arnaldo Carvalho de Melo commit 6742bbcbb8a0959e1dff0ce055768e3217d9967a Author: Andrea Bittau Date: Wed Jan 4 01:45:17 2006 -0200 [DCCP] ackvec: Fix spelling of "throw" Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit 40efc6fa179f440a008333ea98f701bc35a1f97f Author: Stephen Hemminger Date: Tue Jan 3 16:03:49 2006 -0800 [TCP]: less inline's TCP inline usage cleanup: * get rid of inline in several places * replace __inline__ with inline where possible * move functions used in one file out of tcp.h * let compiler decide on used once cases On x86_64: text data bss dec hex filename 3594701 648348 567400 4810449 4966d1 vmlinux.orig 3593133 648580 567400 4809113 496199 vmlinux On sparc64: text data bss dec hex filename 2538278 406152 530392 3474822 350586 vmlinux.ORIG 2536382 406384 530392 3473158 34ff06 vmlinux Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3c19065a1e2c862becc576bc65e54f2bc1cbffe6 Author: Stephen Hemminger Date: Tue Jan 3 15:27:38 2006 -0800 [IEEE80211] ipw2200: Simplify multicast checks. From: Stephen Hemminger is_multicast_ether_addr() accepts broadcast too, so the is_broadcast_ether_addr() calls are redundant. Signed-off-by: David S. Miller commit 88df8ef59a3eb54b1e2412765ff2736d2376d1ca Author: Stephen Hemminger Date: Tue Jan 3 15:25:45 2006 -0800 [NET]: Don't exclude broadcast addresses from is_multicast_ether_addr() The check for multicast shouldn't exclude broadcast type addresses. This reverts the incorrect change done in 2.6.13. The broadcast address is a multicast address and should be excluded from being a valid_ether_address for use in bridging or device address. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 21500bb32acd4c34b50e5d985712e29792c1b9ad Author: Dmitry Torokhov Date: Tue Jan 3 22:57:35 2006 +0000 [MMC] wbsd: convert to the new platfrom device interface platform_device_register_simple() is going away, switch to using platfrom_device_alloc() + platform_device_add(). Also make sure that wbsd_driver gets unregistered when wbsd_init fails. Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit 63648fb5c0173614064e329503cc75c907dcb1a1 Author: Dmitry Torokhov Date: Tue Jan 3 22:56:56 2006 +0000 [MMC] wbsd: make use of ARRAY_SIZE() macro Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit a6f6c96b65d7f65a7a7bf5cbe874eda182a6b2cc Author: Russell King Date: Tue Jan 3 22:38:44 2006 +0000 [MMC] Improve MMC card block size selection Select a block size for IO based on the read and write block size combinations, and whether the card supports partial block reads and/or partial block writes. If we are able to satisfy block reads but not block writes, mark the device read only. Signed-off-by: Russell King commit cd8787ab04d23f925f440b712b43a6fd5cb31ece Author: Stephen Hemminger Date: Tue Jan 3 14:38:34 2006 -0800 [IPV4] fib_trie: build fix Need this to fix build of fib_trie in net-2.6.16 (rebased) tree. The code needs the new inet_make_mask inline. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 554c9a8ec37729bff69951cb740074abbae21afa Author: Stephen Hemminger Date: Tue Jan 3 14:35:54 2006 -0800 [BRIDGE]: Fix faulty check in br_stp_recalculate_bridge_id() One of the conversions from memcmp to compare_ether_addr is incorrect. We need to do relative comparison to determine min MAC address to use in bridge id. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e84a9f5e9cd2b229dda24002334bc3cd36c1109d Author: Andrea Bittau Date: Tue Jan 3 14:26:15 2006 -0800 [DCCP]: Notify CCID only after ACK vectors have been processed. The CCID should be notified of packet reception only when a packet is valid. Therefore, the ACK vector needs to be processed before notifying the CCID. Also, the CCID might need information provided by the ACK vector. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9e377202d2c968dde8efd6121d94c7f0a77787aa Author: Andrea Bittau Date: Tue Jan 3 14:25:49 2006 -0800 [DCCP]: Send an ACK vector when ACKing a response packet If ACK vectors are used, each packet with an ACK should contain an ACK vector. The only exception currently is response packets. It probably is not a good idea to store ACK vector state before the connection is completed (to help protect from syn floods). Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 709dd3aaf5304993083c2297c73f5531c36fba5a Author: Andrea Bittau Date: Tue Jan 3 14:25:17 2006 -0800 [DCCP]: Do not process a packet twice when it's not in state DCCP_OPEN. When packets are received, the connection is either in DCCP_OPEN [fast-path] or it isn't. If it's not [e.g. DCCP_PARTOPEN] upper layers will perform sanity checks and parse options. If it is in DCCP_OPEN, dccp_rcv_established() will do it. It is important not to re-parse options in dccp_rcv_established() when it is not called from the fast-path. Else, fore example, the ack vector will be added twice and the CCID will see the packet twice. The solution is to always enfore sanity checks from the upper layers. When packets arrive in the fast-path, sanity checks will be performed before calling dccp_rcv_established(). Note(acme): I rewrote the patch to achieve the same result but keeping dccp_rcv_established with the previous semantics and having it split into __dccp_rcv_established, that doesn't does do any sanity check, code in state != DCCP_OPEN use this lighter version as they already do the sanity checks. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5062430c5cc526655e3d10c670fc9c263656f66c Author: Patrick Caulfield Date: Tue Jan 3 14:24:02 2006 -0800 [DECNET]: Only use local routers The attached patch makes DECnet routing only use routers from the same area - rather than the highest rated router seen. In theory there should not be an out-of-area router on a local network but some networks are bridged rather than properly routed. VMS seems to behave similarly: if I bring up a VMS node with no router then it can't see anything else on the global network. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 4b5bdf5cc3695dc5caba011b9c616b40e6299638 Author: Roberto Nibali Date: Tue Jan 3 14:22:59 2006 -0800 [IPVS]: Cleanup IP_VS_DBG statements. From: Roberto Nibali The attached patch (against current -GIT) is a cleanup patch which does following: o lookup debug messages shifted back to 9 o added more informational value to flags and refcnt since those entries can be in multiple referenced structures o cleanup 80 char violation It's the prepatch to the session pool implementation and helps very much to debug and monitor important variables and structures regarding the threshold limitation and persistency without the thousands of lookup messages which noone is interested in. Signed-off-by: Horms Signed-off-by: David S. Miller commit fd30333d0fab9e870af89e112454996c188655e9 Author: Alexey Dobriyan Date: Tue Jan 3 14:19:25 2006 -0800 [TG3]: fixup tot_len calculation Turning struct iphdr::tot_len into __be16 added sparse warning. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723 Author: Christoph Hellwig Date: Tue Jan 3 14:18:33 2006 -0800 [NET]: Add a dev_ioctl() fallback to sock_ioctl() Currently all network protocols need to call dev_ioctl as the default fallback in their ioctl implementations. This patch adds a fallback to dev_ioctl to sock_ioctl if the protocol returned -ENOIOCTLCMD. This way all the procotol ioctl handlers can be simplified and we don't need to export dev_ioctl. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0 Author: Christoph Hellwig Date: Tue Jan 3 14:14:46 2006 -0800 [NETROM]: Remove unessecary lock_sock calls in netrom_ioctl() lock_sock is needed only in very few cases, so do it there instead of around the switch statement. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit b461d2f2188c1c578ed651e4cdf608be7a993cd4 Author: Per Liden Date: Tue Jan 3 14:13:29 2006 -0800 [NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8 Signed-off-by: Per Liden ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit fd19f329a32bdc4eb07885e0b3889567cfe00aa7 Author: Benjamin LaHaise Date: Tue Jan 3 14:10:46 2006 -0800 [AF_UNIX]: Convert to use a spinlock instead of rwlock From: Benjamin LaHaise In af_unix, a rwlock is used to protect internal state. At least on my P4 with HT it is faster to use a spinlock due to the simpler memory barrier used to unlock. This patch raises bw_unix to ~690K/s. Signed-off-by: David S. Miller commit 4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5 Author: Benjamin LaHaise Date: Tue Jan 3 14:06:50 2006 -0800 [NET]: Speed up __alloc_skb() From: Benjamin LaHaise In __alloc_skb(), the use of skb_shinfo() which casts a u8 * to the shared info structure results in gcc being forced to do a reload of the pointer since it has no information on possible aliasing. Fix this by using a pointer to refer to skb_shared_info. By initializing skb_shared_info sequentially, the write combining buffers can reduce the number of memory transactions to a single write. Reorder the initialization in __alloc_skb() to match the structure definition. There is also an alignment issue on 64 bit systems with skb_shared_info by converting nr_frags to a short everything packs up nicely. Also, pass the slab cache pointer according to the fclone flag instead of using two almost identical function calls. This raises bw_unix performance up to a peak of 707KB/s when combined with the spinlock patch. It should help other networking protocols, too. Signed-off-by: David S. Miller commit 17ba15fb6264f27374bc87f4c3f8519b80289d85 Author: David S. Miller Date: Tue Dec 27 20:57:40 2005 -0800 [PPPOX]: Fix assignment into const proto_ops. And actually, with this, the whole pppox layer can basically be removed and subsumed into pppoe.c, no other pppox sub-protocol implementation exists and we've had this thing for at least 4 years. Signed-off-by: David S. Miller commit 8639a11e23d9eb0a6ceac2feed27acdfbb158f95 Author: Arnaldo Carvalho de Melo Date: Tue Dec 27 15:17:57 2005 -0200 [TCP]: Don't use __constant_htonl for a non const arg Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 14c850212ed8f8cbb5972ad6b8812e08a0bc901c Author: Arnaldo Carvalho de Melo Date: Tue Dec 27 02:43:12 2005 -0200 [INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h To help in reducing the number of include dependencies, several files were touched as they were getting needed headers indirectly for stuff they use. Thanks also to Alan Menegotto for pointing out that net/dccp/proto.c had linux/dccp.h include twice. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 25995ff577675b58dbd848b7758e7bad87411947 Author: Arnaldo Carvalho de Melo Date: Tue Dec 27 02:42:22 2005 -0200 [SOCK]: Introduce sk_receive_skb Its common enough to to justify that, TCP still can't use it as it has the prequeueing stuff, still to be made generic in the not so distant future :-) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b Author: Christoph Hellwig Date: Thu Dec 22 21:08:46 2005 -0800 [NET]: restructure sock_aio_{read,write} / sock_{readv,writev} Mid-term I plan to restructure the file_operations so that we don't need to have all these duplicate aio and vectored versions. This patch is a small step in that direction but also a worthwile cleanup on it's own: (1) introduce a alloc_sock_iocb helper that encapsulates allocating a proper sock_iocb (2) add do_sock_read and do_sock_write helpers for common read/write code Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit cbeb321a64af5437fbde249605b191ff0fdfa21c Author: David S. Miller Date: Thu Dec 22 12:58:55 2005 -0800 [NET]: Fix sock_init() return value. It needs to return zero now that it is an initcall. Also, net/nonet.c no longer needs a dummy sock_init(). Signed-off-by: David S. Miller commit f34fbb971368c20f757f8758833a534590b16518 Author: Jaco Kroon Date: Thu Dec 22 12:51:46 2005 -0800 [PKTGEN]: Deinitialise static variables. static variables should not be explicitly initialised to 0. This causes them to be placed in .data instead of .bss. This patch de-initialises 3 static variables in net/core/pktgen.c. There are approximately 800 more such variables in the source tree (2.6.15rc5). If there is more interrest I'd be willing to track down the rest of these as well and de-initialise them as well. Signed-off-by: David S. Miller commit 90ddc4f0470427df306f308ad03db6b6b21644b8 Author: Eric Dumazet Date: Thu Dec 22 12:49:22 2005 -0800 [NET]: move struct proto_ops to const I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least) This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing. This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly) I made a global stubstitute to change all existing occurences to make them const. This should reduce the possibility of false sharing on SMP, and speedup some socket system calls. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 Author: Andi Kleen Date: Thu Dec 22 12:43:42 2005 -0800 [NET]: Small cleanup to socket initialization sock_init can be done as a core_initcall instead of calling it directly in init/main.c Also I removed an out of date #ifdef. Signed-off-by: Andi Kleen Signed-off-by: David S. Miller commit 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 Author: Frank Filz Date: Thu Dec 22 11:37:30 2005 -0800 [SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 52ccb8e90c0ace233b8b740f2fc5de0dbd706b27 Author: Frank Filz Date: Thu Dec 22 11:36:46 2005 -0800 [SCTP]: Update SCTP_PEER_ADDR_PARAMS socket option to the latest api draft. This patch adds support to set/get heartbeat interval, maximum number of retransmissions, pathmtu, sackdelay time for a particular transport/ association/socket as per the latest SCTP sockets api draft11. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit fd9662555cc35f8bf9242cd7bba8b44ae168a68b Author: Robert Olsson Date: Thu Dec 22 11:25:10 2005 -0800 [IPV4] fib_trie: Add credits. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 9eb2d627190a8afe4b9276b24615a9559504fa60 Author: Stephen Hemminger Date: Wed Dec 21 19:32:36 2005 -0800 [TCP] cubic: use Newton-Raphson Replace cube root algorithim with a faster version using Newton-Raphson. Surprisingly, doing the scaled div64_64 is faster than a true 64 bit division on 64 bit CPU's. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 Author: Stephen Hemminger Date: Wed Dec 21 19:32:08 2005 -0800 [TCP] cubic: precompute constants Revised version of patch to pre-compute values for TCP cubic. * d32,d64 replaced with descriptive names * cube_factor replaces srtt[scaled by count] / HZ * ((1 << (10+2*BICTCP_HZ)) / bic_scale) * beta_scale replaces 8*(BICTCP_BETA_SCALE+beta)/3/(BICTCP_BETA_SCALE-beta); Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e Author: Stephen Hemminger Date: Wed Dec 21 19:31:36 2005 -0800 [FLS64]: x86_64 version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3821af2fe13700cab6fd67367128fa180e43f8b8 Author: Stephen Hemminger Date: Wed Dec 21 19:30:53 2005 -0800 [FLS64]: generic version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit c865e5d99e25a171e8262fc0f7ba608568633c64 Author: Stephen Hemminger Date: Wed Dec 21 19:03:44 2005 -0800 [PKT_SCHED] netem: packet corruption option Here is a new feature for netem in 2.6.16. It adds the ability to randomly corrupt packets with netem. A version was done by Hagen Paul Pfeifer, but I redid it to handle the cases of backwards compatibility with netlink interface and presence of hardware checksum offload. It is useful for testing hardware offload in devices. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec Author: Stephen Hemminger Date: Wed Dec 21 19:01:30 2005 -0800 [BRIDGE]: add version number Add version info to bridge module. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 Author: Stephen Hemminger Date: Wed Dec 21 19:00:58 2005 -0800 [BRIDGE]: limited ethtool support Add limited ethtool support to bridge to allow disabling features. Note: if underlying device does not support a feature (like checksum offload), then the bridge device won't inherit it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 0e5eabac4995e128f06b90df64b93604625de6de Author: Stephen Hemminger Date: Wed Dec 21 19:00:18 2005 -0800 [BRIDGE]: filter packets in learning state While in the learning state, run filters but drop the result. This prevents us from acquiring bad fdb entries in learning state. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4433f420e57afae0ab308b1e2b979f09c86bc115 Author: Stephen Hemminger Date: Tue Dec 20 15:19:51 2005 -0800 [BRIDGE]: handle speed detection after carrier changes Speed of a interface may not be available until carrier is detected in the case of autonegotiation. To get the correct value we need to recheck speed after carrier event. But the check needs to be done in a context that is similar to normal ethtool interface (can sleep). Also, delay check for 1ms to try avoid any carrier bounce transitions. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4505a3ef720845b5db3ddb440de13cd4800fd508 Author: Stephen Hemminger Date: Wed Dec 21 18:51:49 2005 -0800 [BRIDGE]: allow setting hardware address of bridge pseudo-dev Some people are using bridging to hide multiple machines from an ISP that restricts by MAC address. So in that case allow the bridge mac address to be set to any of the existing interfaces. I don't want to allow any arbitrary value and confuse STP. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 Author: David S. Miller Date: Tue Dec 13 23:26:29 2005 -0800 [AF_UNIX]: Use spinlock for unix_table_lock This lock is actually taken mostly as a writer, so using a rwlock actually just makes performance worse especially on chips like the Intel P4. Signed-off-by: David S. Miller commit d83d8461f902c672bc1bd8fbc6a94e19f092da97 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:26:10 2005 -0800 [IP_SOCKGLUE]: Remove most of the tcp specific calls As DCCP needs to be called in the same spots. Now we have a member in inet_sock (is_icsk), set at sock creation time from struct inet_protosw->flags (if INET_PROTOSW_ICSK is set, like for TCP and DCCP) to see if a struct sock instance is a inet_connection_sock for places like the ones in ip_sockglue.c (v4 and v6) where we previously were looking if sk_type was SOCK_STREAM, that is insufficient because we now use the same code for DCCP, that has sk_type SOCK_DCCP. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 22712813620fa8e682dbfb253a60ca0131da1e07 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:25:56 2005 -0800 [TCP]: Move the TCPF_ enum to tcp_states.h Upcoming patches will make, for instance, ip_sockglue.c need just this enum and not all of tcp.h. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:25:44 2005 -0800 [INET6]: Generalise tcp_v6_hash_connect Renaming it to inet6_hash_connect, making it possible to ditch dccp_v6_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a7f5e7f164788a22eb5d3de8e2d3cee1bf58fdca Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:25:31 2005 -0800 [INET]: Generalise tcp_v4_hash_connect Renaming it to inet_hash_connect, making it possible to ditch dccp_v4_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 6d6ee43e0b8b8d4847627fd43739b98ec2b9404f Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:25:19 2005 -0800 [TWSK]: Introduce struct timewait_sock_ops So that we can share several timewait sockets related functions and make the timewait mini sockets infrastructure closer to the request mini sockets one. Next changesets will take advantage of this, moving more code out of TCP and DCCP v4 and v6 to common infrastructure. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fc44b9805324c0ad2733ea2feea9935cc056709d Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:25:06 2005 -0800 [DCCP]: Use reqsk_free in dccp_v4_conn_request Now we have the destructor (dccp_v4_reqsk_destructor) in our request_sock_ops vtable. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:24:53 2005 -0800 [DCCP]: Introduce DCCPv6 Still needs mucho polishing, specially in the checksum code, but works just fine, inet_diag/iproute2 and all 8) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 399c07def62a77678d633f5b3005431423a424a8 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:24:28 2005 -0800 [IPV6]: Export ipv6_opt_accepted It was already non-TCP specific, will be used by DCCPv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f21e68caa0ddffddf98a1e729e734a470957b6ec Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:24:16 2005 -0800 [DCCP]: Prepare the AF agnostic core for the introduction of DCCPv6 Basically exports a similar set of functions as the one exported by the non-AF specific TCP code. In the process moved some non-AF specific code from dccp_v4_connect to dccp_connect_init and moved the checksum verification from dccp_invalid_packet to dccp_v4_rcv, so as to use it in dccp_v6_rcv too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 34ca6860810342441f801226b19ae6c9e0ecb34f Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:23:32 2005 -0800 [DCCP]: Just rename dccp_v4_prot to dccp_prot To match TCP equivalent. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3cf3dc6c2e05e67b12e522f547c0b71d509a516c Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:23:20 2005 -0800 [IPV6]: Export some symbols for DCCPv6 Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0fa1a53e1f055a6c790f40e7728f42a825b29248 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:23:09 2005 -0800 [IPV6]: Introduce inet6_timewait_sock Out of tcp6_timewait_sock, that now is just an aggregation of inet_timewait_sock and inet6_timewait_sock, using tw_ipv6_offset in struct inet_timewait_sock, that is common to the IPv6 transport protocols that use timewait sockets, like DCCP and TCP. tw_ipv6_offset plays the struct inet_sock pinfo6 role, i.e. for the generic code to find the IPv6 area in a timewait sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit b9750ce13c08aa8a71a9b138d741f3046aefd991 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:22:54 2005 -0800 [IPV6]: Generalise some functions Using sk->sk_protocol instead of IPPROTO_TCP. Will be used by DCCPv6 in the next changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 830a1e5c212fb3fdc83b66359c780c3b3a294897 Author: Benjamin LaHaise Date: Tue Dec 13 23:22:32 2005 -0800 [AF_UNIX]: Remove superfluous reference counting in unix_stream_sendmsg AF_UNIX stream socket performance on P4 CPUs tends to suffer due to a lot of pipeline flushes from atomic operations. The patch below removes the sock_hold() and sock_put() in unix_stream_sendmsg(). This should be safe as the socket still holds a reference to its peer which is only released after the file descriptor's final user invokes unix_release_sock(). The only consideration is that we must add a memory barrier before setting the peer initially. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088 Author: Benjamin LaHaise Date: Tue Dec 13 23:22:19 2005 -0800 [NET]: Avoid atomic xchg() for non-error case It also looks like there were 2 places where the test on sk_err was missing from the event wait logic (in sk_stream_wait_connect and sk_stream_wait_memory), while the rest of the sock_error() users look to be doing the right thing. This version of the patch fixes those, and cleans up a few places that were testing ->sk_err directly. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit f1f71e03b17db3b9edb0264a8be7719bd5c35582 Author: Roberto Nibali Date: Tue Dec 13 23:17:20 2005 -0800 [IPVS]: remove dead code This patch removes dead code. I don't see the reason to keep this cruft around, besides cluttering the nice and functionally working code. Signed-off-by: Roberto Nibali Signed-off-by: Horms Signed-off-by: David S. Miller commit 65a45441d7e91ef6107fadbc55f775db4ba23874 Author: Stephen Hemminger Date: Tue Dec 13 23:17:02 2005 -0800 [UDP]: udp_checksum_init return value Since udp_checksum_init always returns 0 there is no point in having it return a value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3305b80c214c642b89cd5c21af83bc91ec13f8bd Author: Herbert Xu Date: Tue Dec 13 23:16:37 2005 -0800 [IP]: Simplify and consolidate MSG_PEEK error handling When a packet is obtained from skb_recv_datagram with MSG_PEEK enabled it is left on the socket receive queue. This means that when we detect a checksum error we have to be careful when trying to free the packet as someone could have dequeued it in the time being. Currently this delicate logic is duplicated three times between UDPv4, UDPv6 and RAWv6. This patch moves them into a one place and simplifies the code somewhat. This is based on a suggestion by Eric Dumazet. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 57cca05af1e20fdc65b55be52c042c234f86c866 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:16:16 2005 -0800 [DCCP]: Introduce dccp_ipv4_af_ops And make the core DCCP code AF agnostic, just like TCP, now its time to work on net/dccp/ipv6.c, we are close to the end! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit af05dc9394feb193d221bc9d4c6db768facb4b40 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:16:04 2005 -0800 [ICSK]: Move v4_addr2sockaddr from TCP to icsk Renaming it to inet_csk_addr2sockaddr. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8292a17a399ffb7c5c8b083db4ad994e090055f7 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:15:52 2005 -0800 [ICSK]: Rename struct tcp_func to struct inet_connection_sock_af_ops And move it to struct inet_connection_sock. DCCP will use it in the upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ca304b6104ffdd120bb6687a88a0625e58bc71cd Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:15:40 2005 -0800 [IPV6]: Introduce inet6_rsk() And inet6_rsk_offset in inet_request_sock, for the same reasons as inet_sock's pinfo6 member. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8129765ac07c2455c927051e3a8b048b619b56ee Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:15:24 2005 -0800 [IPV6]: Generalise tcp_v6_search_req & tcp_v6_synq_add More work is needed tho to introduce inet6_request_sock from tcp6_request_sock, in the same layout considerations as ipv6_pinfo in inet_sock, next changeset will do that. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c2977c2213993bff51911f4117281b31c4612591 Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:15:12 2005 -0800 [ICSK]: make inet_csk_reqsk_queue_hash_add timeout arg unsigned long Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 90b19d31695371bd3ed256d4c9e280861cd6ae7e Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:15:01 2005 -0800 [IPV6]: Generalise __tcp_v6_hash, renaming it to __inet6_hash Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 971af18bbfabb7b7c9c548da34a51e30869c08fc Author: Arnaldo Carvalho de Melo Date: Tue Dec 13 23:14:47 2005 -0800 [IPV6]: Reuse inet_csk_get_port in tcp_v6_get_port Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 Author: Herbert Xu Date: Tue Dec 13 23:14:27 2005 -0800 [IPV4]: Safer reassembly Another spin of Herbert Xu's "safer ip reassembly" patch for 2.6.16. (The original patch is here: http://marc.theaimsgroup.com/?l=linux-netdev&m=112281936522415&w=2 and my only contribution is to have tested it.) This patch (optionally) does additional checks before accepting IP fragments, which can greatly reduce the possibility of reassembling fragments which originated from different IP datagrams. Signed-off-by: Herbert Xu Signed-off-by: Arthur Kepner Signed-off-by: David S. Miller commit d5228a4f49db32d22a39c653281b527ef371129c Author: Bart De Schuymer Date: Tue Dec 13 23:14:08 2005 -0800 [NETFILTER] ebtables: Support nf_log API from ebt_log and ebt_ulog This makes ebt_log and ebt_ulog use the new nf_log api. This enables the bridging packet filter to log packets e.g. via nfnetlink_log. Signed-off-by: Bart De Schuymer Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 318360646941d6f3d4c6e4ee99107392728a4079 Author: Eric Dumazet Date: Tue Dec 13 23:13:48 2005 -0800 [NETFILTER] ip_tables: NUMA-aware allocation Part of a performance problem with ip_tables is that memory allocation is not NUMA aware, but 'only' SMP aware (ie each CPU normally touch separate cache lines) Even with small iptables rules, the cost of this misplacement can be high on common workloads. Instead of using one vmalloc() area (located in the node of the iptables process), we now allocate an area for each possible CPU, using vmalloc_node() so that memory should be allocated in the CPU's node if possible. Port to arp_tables and ip6_tables by Harald Welte. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit df3271f3361b61ce02da0026b4a53e63bc2720cb Author: Stephen Hemminger Date: Tue Dec 13 23:13:28 2005 -0800 [TCP] BIC: CUBIC window growth (2.0) Replace existing BIC version 1.1 with new version 2.0. The main change is to replace the window growth function with a cubic function as described in: http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/cubic-paper.pdf Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 05d054503a9c4652212b8730150608787547ecc3 Author: Stephen Hemminger Date: Tue Dec 13 23:13:13 2005 -0800 [TCP] BIC: spelling and whitespace Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 018da8f44c066d5fc390011b8c953135f973b3a9 Author: Stephen Hemminger Date: Tue Dec 13 23:13:00 2005 -0800 [TCP] BIC: remove low utilization code. The latest BICTCP patch at: http://www.csc.ncsu.edu:8080/faculty/rhee/export/bitcp/index_files/Page546.htm disables the low_utilization feature of BICTCP because it doesn't work in some cases. This patch removes it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d28d1e080132f28ab773291f10ad6acca4c8bba2 Author: Trent Jaeger Date: Tue Dec 13 23:12:40 2005 -0800 [LSM-IPSec]: Per-packet access control. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the SELinux LSM to create, deallocate, and use security contexts for policies (xfrm_policy) and security associations (xfrm_state) that enable control of a socket's ability to send and receive packets. Patch purpose: The patch is designed to enable the SELinux LSM to implement access control on individual packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones in SELinux based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the SELinux can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The patch's main function is to authorize a socket's access to a IPSec policy based on their security contexts. Since the communication is implemented by a security association, the patch ensures that the security association's negotiated and used have the same security context. The patch enables allocation and deallocation of such security contexts for policies and security associations. It also enables copying of the security context when policies are cloned. Lastly, the patch ensures that packets that are sent without using a IPSec security assocation with a security context are allowed to be sent in that manner. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: The function which authorizes a socket to perform a requested operation (send/receive) on a IPSec policy (xfrm_policy) is selinux_xfrm_policy_lookup. The Netfilter and rcv_skb hooks ensure that if a IPSec SA with a securit y association has not been used, then the socket is allowed to send or receive the packet, respectively. The patch implements SELinux function for allocating security contexts when policies (xfrm_policy) are created via the pfkey or xfrm_user interfaces via selinux_xfrm_policy_alloc. When a security association is built, SELinux allocates the security context designated by the XFRM subsystem which is based on that of the authorized policy via selinux_xfrm_state_alloc. When a xfrm_policy is cloned, the security context of that policy, if any, is copied to the clone via selinux_xfrm_policy_clone. When a xfrm_policy or xfrm_state is freed, its security context, if any is also freed at selinux_xfrm_policy_free or selinux_xfrm_state_free. Testing: The SELinux authorization function is tested using ipsec-tools. We created policies and security associations with particular security contexts and added SELinux access control policy entries to verify the authorization decision. We also made sure that packets for which no security context was supplied (which either did or did not use security associations) were authorized using an unlabelled context. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit df71837d5024e2524cd51c93621e558aa7dd9f3f Author: Trent Jaeger Date: Tue Dec 13 23:12:27 2005 -0800 [LSM-IPSec]: Security association restriction. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the XFRM subsystem, pfkey interface, ipv4/ipv6, and xfrm_user interface to restrict a socket to use only authorized security associations (or no security association) to send/receive network packets. Patch purpose: The patch is designed to enable access control per packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the system can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The overall approach is that policy (xfrm_policy) entries set by user-level programs (e.g., setkey for ipsec-tools) are extended with a security context that is used at policy selection time in the XFRM subsystem to restrict the sockets that can send/receive packets via security associations (xfrm_states) that are built from those policies. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: On output, the policy retrieved (via xfrm_policy_lookup or xfrm_sk_policy_lookup) must be authorized for the security context of the socket and the same security context is required for resultant security association (retrieved or negotiated via racoon in ipsec-tools). This is enforced in xfrm_state_find. On input, the policy retrieved must also be authorized for the socket (at __xfrm_policy_check), and the security context of the policy must also match the security association being used. The patch has virtually no impact on packets that do not use IPSec. The existing Netfilter (outgoing) and LSM rcv_skb hooks are used as before. Also, if IPSec is used without security contexts, the impact is minimal. The LSM must allow such policies to be selected for the combination of socket and remote machine, but subsequent IPSec processing proceeds as in the original case. Testing: The pfkey interface is tested using the ipsec-tools. ipsec-tools have been modified (a separate ipsec-tools patch is available for version 0.5) that supports assignment of xfrm_policy entries and security associations with security contexts via setkey and the negotiation using the security contexts via racoon. The xfrm_user interface is tested via ad hoc programs that set security contexts. These programs are also available from me, and contain programs for setting, getting, and deleting policy for testing this interface. Testing of sa functions was done by tracing kernel behavior. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 51e7a5987058c6b4d0c1337587f2ec0c34ffa708 Author: Mark Fasheh Date: Mon Dec 19 11:21:42 2005 -0800 [PATCH] o Update Kconfig documentation to reflect support for readonly mounts. Signed-off-by: Mark Fasheh commit 82353b594c784deabb8d9764b477e65c2b3726f9 Author: Adrian Bunk Date: Mon Dec 19 11:16:07 2005 -0800 [PATCH] This patch contains the following cleanups: - cluster/sys.c: make needlessly global code static - dlm/: "extern" declarations for variables belong into header files (and in this case, they are already in dlmdomain.h) Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit b4e40a51881931bfcbc78a585e875bb2784d6d10 Author: Mark Fasheh Date: Thu Dec 15 14:31:24 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Link the code into the kernel build system. OCFS2 is marked as experimental. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit ccd979bdbce9fba8412beb3f1de68a9d0171b12c Author: Mark Fasheh Date: Thu Dec 15 14:31:24 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem The OCFS2 file system module. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 Author: Mark Fasheh Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem dlmfs: A minimal dlm userspace interface implemented via a virtual file system. Most of the OCFS2 tools make use of this to take cluster locks when doing operations on the file system. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 6714d8e86bf443f6f7af50f9d432025649f091f5 Author: Kurt Hackel Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A distributed lock manager built with the cluster file system use case in mind. The OCFS2 dlm exposes a VMS style API, though things have been simplified internally. The only lock levels implemented currently are NLMODE, PRMODE and EXMODE. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 98211489d4147e41b11703e4245846d60b3acce4 Author: Zach Brown Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Node messaging via tcp. Used by the dlm and the file system for point to point communication between nodes. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit a7f6a5fb4bde142b622706e2006ba33f793e13ed Author: Mark Fasheh Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Disk based heartbeat. Configured and started from userspace, the kernel component handles I/O submission and event generation via callback mechanism. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 0c83ed8eeb28a045cdbd0b216679938aa9e665fe Author: Kurt Hackel Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A simple node information service, filled and updated from userspace. The rest of the stack queries this service for simple node information. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 52fd3d6fea441835fe3a35b7280e5e128bdeca9b Author: Zach Brown Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Very simple printk wrapper which adds the ability to enable various sets of debug messages at run-time. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 994fc28c7b1e697ac56befe4aecabf23f0689f46 Author: Zach Brown Date: Thu Dec 15 14:28:17 2005 -0800 [PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE readpage(), prepare_write(), and commit_write() callers are updated to understand the special return code AOP_TRUNCATED_PAGE in the style of writepage() and WRITEPAGE_ACTIVATE. AOP_TRUNCATED_PAGE tells the caller that the callee has unlocked the page and that the operation should be tried again with a new page. OCFS2 uses this to detect and work around a lock inversion in its aop methods. There should be no change in behaviour for methods that don't return AOP_TRUNCATED_PAGE. WRITEPAGE_ACTIVATE is also prepended with AOP_ for consistency and they are made enums so that kerneldoc can be used to document their semantics. Signed-off-by: Zach Brown commit 7063fbf2261194f72ee75afca67b3b38b554b5fa Author: Joel Becker Date: Thu Dec 15 14:29:43 2005 -0800 [PATCH] configfs: User-driven configuration filesystem Configfs, a file system for userspace-driven kernel object configuration. The OCFS2 stack makes extensive use of this for propagation of cluster configuration information into kernel. Signed-off-by: Joel Becker commit 408045afbdb46e109a1a44e67af688e9ddf7ad66 Author: Alex Williamson Date: Wed Dec 21 15:21:36 2005 -0700 [IA64] incorrect return from ia64_pci_legacy_write() The function ia64_pci_legacy_write() returns 0 for everything except errors. This return value gets sent back to the user from pci_write_legacy_io(), making it look like every write fails. The trivial patch below copies the behavior of the SGI sn machvec and does what would be expected from something implementing a write() function. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit a8d3584a2df28827094f6338cde1303c467bc1f0 Author: Russell King Date: Tue Jan 3 18:41:37 2006 +0000 [ARM] Remove clk_use()/clk_unuse() It seems that clk_use() and clk_unuse() are additional complexity which isn't required anymore. Remove them from the clock framework to avoid the additional confusion which they cause, and update all ARM machine types except for OMAP. Signed-off-by: Russell King commit f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 Author: Russell King Date: Tue Jan 3 18:34:20 2006 +0000 [ARM] Add additional documentation to the clock source framework It seems that there's some confusion over how the clock source framework should be used. Add some additional comments to explain the ambiguous areas. Signed-off-by: Russell King commit 78ff18a412da24a4b79c6a97000ef5e467e813da Author: Russell King Date: Tue Jan 3 17:39:34 2006 +0000 [ARM] Cleanup ARM includes arch/arm/kernel/entry-armv.S has contained a comment suggesting that asm/hardware.h and asm/arch/irqs.h should be moved into the asm/arch/entry-macro.S include. So move the includes to these two files as required. Add missing includes (asm/hardware.h, asm/io.h) to asm/arch/system.h includes which use those facilities, and remove asm/io.h from kernel/process.c. Remove other unnecessary includes from arch/arm/kernel, arch/arm/mm and arch/arm/mach-footbridge. Signed-off-by: Russell King commit 9d4f13e531b4722fe40cc8e28c02a495bdd49267 Author: Russell King Date: Tue Jan 3 17:28:33 2006 +0000 [ARM] Make kernel link address depend on PAGE_OFFSET We are coding the kernel link address into the makefiles, which is invisibly dependent on PAGE_OFFSET. If PAGE_OFFSET is changed, the makefiles also need to be changed. Make adjustments such that the makefiles encode just the offset from PAGE_OFFSET for the kernel link address, and use PAGE_OFFSET in the linker scripts directly. Signed-off-by: Russell King commit 48d727a9f93e617d6d443507acf7d1b849c63366 Author: Paolo 'Blaisorblade' Giarrusso Date: Tue Jan 3 13:44:23 2006 +0100 Documentation/filesystems/00-INDEX: remove entry for fat_cvf.txt Remove non-existing entry for fat_cvf.txt (was it ever supported?). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Adrian Bunk commit be9b7e8c02a5f864e29b17f6d86abcde258ef2fa Author: Takashi Iwai Date: Tue Jan 3 13:42:38 2006 +0100 [ALSA] Remove xxx_t typedefs: SPARC CS4231 Remove xxx_t typedefs from the SPARC CS4231 driver. Signed-off-by: Takashi Iwai commit df7b5d13c6c850bc2e3ca6ccfb1038f36bbbcf19 Author: Adrian Bunk Date: Tue Jan 3 13:42:12 2006 +0100 arch/arm26/nwfpe/fpmodule.c: remove kernel 2.0 #ifdef This patch removes an #ifdef for kernel 2.0 . Signed-off-by: Adrian Bunk commit f4b09ebc8baa51ec8394c4173e3de9d62b2cc97a Author: Adrian Bunk Date: Tue Jan 3 13:37:51 2006 +0100 update the email address of Randy Dunlap This patch removes all references to the bouncing address rddunlap@osdl.org and one dead web page from the kernel. Signed-off-by: Adrian Bunk Acked-by: Randy Dunlap commit e3e1bfe4f28de86d065bc041456161a3f3a9aef7 Author: Jim Cromie Date: Tue Jan 3 13:35:41 2006 +0100 Documentation/filesystems/vfs.txt: typo fix This patch removes an extra occurrence of 'generic'. Acked-by: Pekka Enberg Signed-off-by: Adrian Bunk commit f62870db3c73683fe566a05efa2a05f3faeb44f5 Author: Kees Cook Date: Tue Jan 3 13:33:31 2006 +0100 Documentation/SubmittingPatches: update Trivial Patch Monkey information While looking for where to send trivial patches, I found old contact information in Documentation/SubmittingPatches. Signed-off-by: Kees Cook Signed-off-by: Adrian Bunk commit 5e03e2c48fc2952f6a9e986cfa194fe905d0f569 Author: Adam D. Moss Date: Tue Jan 3 13:31:01 2006 +0100 update for Documentation/sysrq.txt This patch for 2.4.x updates the dead email address for 'Mydraal' and since he no longer wishes to field questions concerning SysRq or this document removes the statement stating otherwise. Signed-off-by: Adrian Bunk commit 4a4efbdee278b2f4ed91aad2db5c006ff754276e Author: Matt Mackall Date: Tue Jan 3 13:27:11 2006 +0100 s/retreiv/retriev/g As everyone knows, the rule is: "i before e.. um.. always." Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk commit 7a1119b1fc87cc347d3932b8aee051e86b32818f Author: Adrian Bunk Date: Tue Jan 3 13:21:37 2006 +0100 fs/qnx4/bitmap.c: #if 0 qnx4_new_block() qnx4_new_block() is neither implemented nor used. Signed-off-by: Adrian Bunk Signed-off-by: Anders Larsen commit 4d399cae3f5ec1f59b9e88084aae09c4f00760c9 Author: Adrian Bunk Date: Tue Jan 3 13:19:13 2006 +0100 remove pointers to the defunct UDF mailing list This patch removes pointers to the defunct UDF mailing list. Signed-off-by: Adrian Bunk commit 68094e3251a664ee1389fcf179497237cbf78331 Author: Pierre Ossman Date: Tue Nov 29 09:09:32 2005 +0100 [ALSA] [PATCH] alsa: Improved PnP suspend support Also use the PnP functions to start/stop the devices during the suspend so that drivers will not have to duplicate this code. Cc: Adam Belay Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 4c98cfef2efa6b6662ac28c4f0069964bbd9fdf9 Author: Takashi Iwai Date: Tue Nov 29 09:09:32 2005 +0100 [ALSA] PATCH] Add PM support to PnP drivers Add suspend/resume callback to pnp_driver and pnp_card_driver. Signed-off-by: Takashi Iwai commit 0ba656d0b2319b76fbebd01c1c9ba5ca8eb33fb1 Author: James Courtier-Dutton Date: Mon Dec 26 15:30:03 2005 +0100 [ALSA] snd-emu10k1: Add new SB Live 5.1 PCI-ID. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e3b9bc0e78a330d0dc6669ace7925e8c132e08a7 Author: James Courtier-Dutton Date: Sat Dec 24 16:54:51 2005 +0100 [ALSA] snd-emu10k1: Correct control names for Audigy 4 Pro. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 041dec01736c59df43b0600c0fd154e50d8ccf6e Author: Takashi Iwai Date: Fri Dec 23 12:27:52 2005 +0100 [ALSA] hda-codec - Add model entry for Shuttle ST20G5 Modules: HDA Codec driver Added the model entry for Shuttle ST20G5. Signed-off-by: Takashi Iwai commit eff49137dd432eeae16e4627b8595c71e1362307 Author: Takashi Iwai Date: Thu Dec 22 17:01:20 2005 +0100 [ALSA] emu10k1 - Clean up p16v code Modules: EMU10K1/EMU10K2 driver Clean up and optimize the codes in p16v.c - Add proper __devinit* tags - Reduce unnecessary functions using a closure - Fix whitespaces - Rename 'Unknown' to 'Side' controls Signed-off-by: Takashi Iwai commit f951fd3cc4b04c338b4fcf94b4844e921337dfaa Author: James Courtier-Dutton Date: Thu Dec 22 13:05:23 2005 +0100 [ALSA] snd-emu10k1: Add comments regarding chips present on the card. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 54efc96d4a26f1d55be36324e9cc658a581a40ba Author: James Courtier-Dutton Date: Thu Dec 22 12:58:41 2005 +0100 [ALSA] snd-emu10k1: Add some comments regarding chip types. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit aad9095322c0c7d9637f29b71167458c36a4cdf6 Author: James Courtier-Dutton Date: Wed Dec 21 22:26:26 2005 +0100 [ALSA] snd-ca0106: Fix SPI driver code. Fixes speaker output. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit 18f3c59f2b14225bd23c41a87a5eec39439bc8b9 Author: James Courtier-Dutton Date: Wed Dec 21 22:05:29 2005 +0100 [ALSA] snd-emu10k1: Tidy SPI code. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit c6a02ca29388a806df3df73015ee494a6e055309 Author: James Courtier-Dutton Date: Wed Dec 21 15:56:01 2005 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 28bcbdddaffcb2ccf08d06db7cecf047ec66057d Author: James Courtier-Dutton Date: Wed Dec 21 15:41:50 2005 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit ccadc3e38b72629fdfd1290343fdb11813dfecc2 Author: James Courtier-Dutton Date: Wed Dec 21 15:31:02 2005 +0100 [ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: This enables the 7.1 speaker output of the Audigy 2 ZS Notebook. Further towards fixing ALSA bug#927 TODO: SPDIF/IEC958 output. (untested, might already work) Sound capture. (untested, might already work.) Signed-off-by: James Courtier-Dutton commit 27fe864ec9e61041fc0b6f680207ae84f359b502 Author: James Courtier-Dutton Date: Wed Dec 21 15:06:08 2005 +0100 [ALSA] snd-emu10k1: Removes some distortion from Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: Part way to fix ALSA bug#927 Add support for the SPI interface on the CA0108 chip. This is used to control the registers on the DAC. Headphone output tested. Other outputs and Capture not tested yet. Note: The red LED does not come on, but sound is still OK. Signed-off-by: James Courtier-Dutton commit a5875159dd6cec0ec743971343aee8dceac281d7 Author: James Courtier-Dutton Date: Tue Dec 20 22:30:49 2005 +0100 [ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570. Modules: CA0106 driver Fixes ALSA bug#1636 Signed-off-by: James Courtier-Dutton commit 39596dc898270fcaaa8a712b63fc033f86d874cf Author: James Courtier-Dutton Date: Fri Dec 16 21:59:59 2005 +0100 [ALSA] snd-ca0106: update SPDIF to IEC958 in mixer control names. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit dac8dddd87b1246d9d6b79352bd6f043eb804cf2 Author: Takashi Iwai Date: Wed Dec 14 12:00:46 2005 +0100 [ALSA] via82xx - Add a quirk for Targa Traveller 811 Modules: VIA82xx driver Add an ac97 quirk entry for Targa Traveller 811. Signed-off-by: Takashi Iwai commit 607da7f834592a723797b21c2463507a44d9cfa7 Author: Rene Herman Date: Wed Dec 14 11:57:27 2005 +0100 [ALSA] es1968 - Fix conflict with ISA boards Modules: ES1968 driver Fix disablement of TDMA and legacy support to prevent confliction of resources with ISA boards. Confirmed with Terratec DMX and CS4236. Signed-off-by: Takashi Iwai commit ea265c0a433fda15fb69b9fd733e0ea4215c216e Author: Nicolas Pitre Date: Mon Dec 12 15:41:47 2005 +0100 [ALSA] make the pxa2xx-ac97 module more robust against PXA27x bugs Modules: ARM PXA2XX driver The SDONE and CDONE interrupt on the PXA27x might become unusable in some conditions. Let's use an hybrid approach (interrupt with timeout) to have the best possible behavior in all conditions. Also let's not care about CAR_CAIP anymore. This is useless. Signed-off-by: Nicolas Pitre Signed-off-by: Takashi Iwai commit aa1e77e691025149908f7641e77de93ffd7f1188 Author: Clemens Ladisch Date: Mon Dec 12 09:36:01 2005 +0100 [ALSA] seq: reorganize sequencer client numbers Modules: ALSA sequencer Reduce the maximum possible number of global clients to 16 to make more numbers available for card clients, and allow dynamically allocated card client numbers to share the same range as application client numbers to make sure that all 32 cards can be used at the same time. Signed-off-by: Clemens Ladisch commit 7b6d92451ad5e1136dc347347e888b94638b8ba9 Author: Clemens Ladisch Date: Mon Dec 12 09:33:37 2005 +0100 [ALSA] seq: set client name in snd_seq_create_kernel_client() All users of snd_seq_create_kernel_client() have to set the client name anyway, so we can just pass the name as parameter. This relieves us from having to muck around with a struct snd_seq_client_info in these cases. Signed-off-by: Clemens Ladisch commit 83e8ad6984dccd6d848ac91ba0df379ff968180b Author: Clemens Ladisch Date: Mon Dec 12 09:30:43 2005 +0100 [ALSA] seq: remove struct snd_seq_client_callback The fields of struct snd_seq_client_callback either aren't used or are always set to the same value, so we can get rid of it altogether. Signed-off-by: Clemens Ladisch commit 255bd169ab645970f77d3fd7ac800781f96ddccb Author: Clemens Ladisch Date: Mon Dec 12 09:28:51 2005 +0100 [ALSA] seq: remove superfluous fields Modules: ALSA sequencer None of the fields of struct snd_seq_kernel_client was actually used, so remove them. Signed-off-by: Clemens Ladisch commit 22fb2a708d2f390808f20609213fd6a588bf7612 Author: Clemens Ladisch Date: Mon Dec 12 09:27:14 2005 +0100 [ALSA] ymfpci: show chip model Modules: YMFPCI driver Instead of 'DS-XG', show the correct chip model (DS-1/1L/1S/1E) where possible. Signed-off-by: Clemens Ladisch commit 7632c7b4443057e1294208a0d9a55d8558f2f6ca Author: Takashi Iwai Date: Wed Dec 7 18:25:47 2005 +0100 [ALSA] hda-codec - Add the model entry for ASUS P5GD1-HVM Modules: HDA Codec driver Add the model entry (ALC880 6stack) for ASUS P5GD1-HVM. Signed-off-by: Takashi Iwai commit 235475cb7715852c42118fd8d8ec67b534ab6e8b Author: Takashi Iwai Date: Wed Dec 7 15:28:07 2005 +0100 [ALSA] pcm - Fix wrong asserts Modules: PCM Midlevel Fixed wrong or supreflous snd_assert()'s. Signed-off-by: Takashi Iwai commit 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d Author: Takashi Iwai Date: Wed Dec 7 13:56:29 2005 +0100 [ALSA] hda-codec - Small clean up and fixes Modules: HDA Codec driver,HDA generic driver - Common labels for input pins - Fix and clean up of Realtek codec parsers Signed-off-by: Takashi Iwai commit f7a9275d949cb0bf1f259a1546e52a0bf518151c Author: Clemens Ladisch Date: Wed Dec 7 09:13:42 2005 +0100 [ALSA] unregister platform devices Call platform_device_unregister() for all platform devices that we've registered. Signed-off-by: Clemens Ladisch commit 416c1079d30f1a52399b96f6772e993274b774ae Author: Clemens Ladisch Date: Wed Dec 7 09:11:05 2005 +0100 [ALSA] Nest sound devices Modules: ALSA Core Make the control device parent of all other ALSA devices of a card. Signed-off-by: Clemens Ladisch commit 156b2aa3bef17c964006c6448aadd440781d7e7d Author: Clemens Ladisch Date: Wed Dec 7 09:07:25 2005 +0100 [ALSA] ens1371: fix compilation without SUPPORT_JOYSTICK Modules: ENS1370/1+ driver Move the spdif and lineio parameters around so that they are compiled even when SUPPORT_JOYSTICK isn't set. Signed-off-by: Clemens Ladisch commit a3bcba384c2f2448ad204ea52baa15f1227d0d40 Author: Takashi Iwai Date: Tue Dec 6 19:05:29 2005 +0100 [ALSA] hda-codec - Fix Oops with ALC260 auto-probe Modules: HDA Codec driver - Fix Oops with auto-probing of ALC260 with digital I/O - Fix a typo Signed-off-by: Takashi Iwai commit c5f2ea08fbd8911e2c975094780d2b16e65f27e0 Author: Takashi Iwai Date: Tue Dec 6 18:54:31 2005 +0100 [ALSA] hda-codec - Fix ALC codec probing Modules: HDA Codec driver - Fix ALC882 BIOS auto-probe - Fix ALC262 basic model - Add assert for debugging Oops Signed-off-by: Takashi Iwai commit a8ee72952bd7bd21df944ef1512a1e582abe0528 Author: Gergely Tamas Date: Tue Dec 6 14:10:57 2005 +0100 [ALSA] emu10k1 - Add entry for SB Live 5.1 Digital OEM [SB0220] Modules: EMU10K1/EMU10K2 driver Added the chip-detail entry for SB Live 5.1 Digital OEM [SB0220, (c) 2003]. Signed-off-by: Gergely Tamas Signed-off-by: Takashi Iwai commit a0faefedf7d81b6ead6a33e5576a6439606d7ed5 Author: Matthew Garrett Date: Tue Dec 6 13:59:12 2005 +0100 [ALSA] Add a new quirk for mute-LED and HP-only. Modules: AC97 Codec,ATIIXP driver,Intel8x0 driver This patch adds a new quirk for ac97 hardware that combines the existing AC97_TUNE_MUTE_LED and AC97_TUNE_HP_ONLY quirks. This is needed for several current HP laptops. Additionally, it adds the HP nx6125 to the AC97_TUNE_MUTE_LED list. Fixed for the latest version of ALSA by Takashi Iwai . Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit e12229b4d2b7863b1baaeca759aa87703bf9fdf8 Author: Markus Bollinger Date: Tue Dec 6 13:55:26 2005 +0100 [ALSA] Add PCXHR driver Modules: Documentation,PCI drivers,Digigram PCXHR driver Add Digigram PCXHR driver. Signed-off-by: Takashi Iwai commit 46a1736d7c07687e7456f72b238a68034fd5a624 Author: Takashi Iwai Date: Mon Dec 5 21:16:37 2005 +0100 [ALSA] via82xx - Add dxs entry for ASRock mobo Modules: VIA82xx driver Added dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai commit 031c95d4338127a9599fcb7d449f4aa6f086786b Author: Takashi Iwai Date: Mon Dec 5 20:51:43 2005 +0100 [ALSA] ac97 - Small fix for ALC65x codec Modules: AC97 Codec Small fix for ALC65x codec, sync with Realtek's driver codes: - Rename 'IEC958 Playback Route' to 'IEC958 Playback Source' so that mixer can handle it properly Signed-off-by: Takashi Iwai commit df694daa3c0135202e4702cb2d11e68a43f6c51e Author: Kailang Yang Date: Mon Dec 5 19:42:22 2005 +0100 [ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861 Modules: HDA Codec driver,HDA generic driver This patch adds the support of ALC262,ALC883,ALC885,ALC861 to driver More models and improvements for ALC880, ALC260 and ALC882 codecs, too. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai commit 59acf76e0268e3f0156ef5113e89d838a8c02bb6 Author: Takashi Iwai Date: Mon Dec 5 19:22:34 2005 +0100 [ALSA] ice1724 - Add support of M-Audio Revolution 5.1 Modules: ICE1724 driver Added the basic support of M-Audio Revolution 5.1. Signed-off-by: Takashi Iwai commit bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 Author: Andreas Schwab Date: Mon Dec 5 15:12:20 2005 +0100 [ALSA] emu10k1 - Fix missing declarations Modules: EMU10K1/EMU10K2 driver sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer': sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc' sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer': sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree' Signed-off-by: Andreas Schwab Signed-off-by: Takashi Iwai commit 19b99fbaed2e2971b756311435c67e84431d8515 Author: James Courtier-Dutton Date: Sun Dec 4 18:03:03 2005 +0100 [ALSA] emu10k1: Partial support for Creative emu1212m Modules: EMU10K1/EMU10K2 driver Distorted sound now comes from the Audio Out socket. Still more work to do. Signed-off-by: James Courtier-Dutton commit 481ba7727fa08deb389b5a2e550e04df24d3f37d Author: Takashi Iwai Date: Thu Dec 1 11:19:41 2005 +0100 [ALSA] powermac - Revert the last addition for 17' powerbook Modules: PPC PMAC driver The last addition of 17' powerbook support seems buggy (it's not Toonie indeed). Removed again. Signed-off-by: Takashi Iwai commit 58da3a23fe12b1c4730cb85af203950c7707220c Author: Tobias Klauser Date: Thu Dec 1 11:14:00 2005 +0100 [ALSA] au88x0: Remove unneeded call to pci_dma_supported() Modules: au88x0 driver pci_dma_supported() is called right before pci_set_dma_mask() which already calls pci_dma_supported(). The attached patch removes the unneeded call to pci_dma_supported() Additionally the custom VORTEX_DMA_MASK macro is replaced by DMA_32BIT_MASK from linux/dma-mapping.h Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 Author: Takashi Iwai Date: Thu Dec 1 10:51:58 2005 +0100 [ALSA] pcm - Make the support of old API selectable Modules: ALSA Core,PCM Midlevel Make the support of old API selectable via config option. Signed-off-by: Takashi Iwai commit adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 Author: Takashi Iwai Date: Thu Dec 1 10:49:58 2005 +0100 [ALSA] Optimize for config without PROC_FS (pci drivers) Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers. Signed-off-by: Takashi Iwai commit 8cb7b63f5baf7b5e788f0d632d5ebd018856416f Author: Takashi Iwai Date: Thu Dec 1 10:48:37 2005 +0100 [ALSA] dbri - Don't return errors without CONFIG_PROC_FS Modules: SPARC DBRI driver Don't return errors if the proc file can't be created (for the case without CONFIG_PROC_FS). Signed-off-by: Takashi Iwai commit 04f141a8800d022981f0405a8d307c98aba55105 Author: Takashi Iwai Date: Thu Dec 1 10:43:51 2005 +0100 [ALSA] Optimize for config without PROC_FS (seq and oss parts) Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss emulation parts). Signed-off-by: Takashi Iwai commit e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 Author: Takashi Iwai Date: Thu Dec 1 10:42:42 2005 +0100 [ALSA] Optimize for config without PROC_FS Modules: HWDEP Midlevel,ALSA Core,PCM Midlevel,Timer Midlevel Optimize the code when compiled without CONFIG_PROC_FS. Signed-off-by: Takashi Iwai commit 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb Author: Kyle Moffett Date: Wed Nov 30 10:54:28 2005 +0100 [ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook Modules: PPC PMAC driver The audio chip in my Spring 2005 17' PowerBook was incorrectly recognized as an AWACS chip. This adds the chip ID to the snd_powermac driver such that it is recognized as a Toonie (I don't know if that's correct, but it's the only one that makes it work at all). and sorts the ID lists numerically. NOTE: This chip is only minimally supported at this point; it has system beep support and very low volume speaker output, and that's about it. Signed-off-by: Kyle Moffett Signed-off-by: Takashi Iwai commit 9d70d91c4663d580bd18317dac3c7dc3bee79480 Author: Takashi Iwai Date: Wed Nov 30 10:12:26 2005 +0100 [ALSA] ad1848 - Fix compilation without CONFIG_PM Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai commit 403d19446bd0cabee70110415d2f3bc466f46448 Author: Matt Porter Date: Tue Nov 29 15:00:51 2005 +0100 [ALSA] hda-codec - update sigmatel support and bug fixes Modules: HDA Codec driver - Explictly set pin control as input for all input pins - Fix bug in 922x mixer (no mute on adc0vol) - Remove broken ch_mode control - Add support for jack retasking mixer controls to use rear line and mic as surround outputs - Add board tables to support autodetect and pin config defaults for systems with broken bioses - Add support for several Intel mobos - Add support for DFI mobo with reference boards attached (gets rid of compile time switch to use reference boards) Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 9056412f21bb6b76ceb98329409a958198b2d591 Author: Randy Dunlap Date: Tue Nov 29 14:48:41 2005 +0100 [ALSA] sound: align device drivers menus Modules: Sound Core,Generic drivers AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together. Fixed for the latest ALSA tree by Takashi Iwai . Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai commit 954fa19ab7a14c3f54044780a90cd6a95149f90b Author: Matt Porter Date: Tue Nov 29 14:46:01 2005 +0100 [ALSA] hda-intel - Fix HDA probe_mask default Modules: HDA Intel driver The probe_mask module parameter comment notes that the intended default is -1. Fix it to be so, otherwise all codecs are skipped and init fails. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 015b6a198f51d660797b78c6c7ee60d0252ebf40 Author: Jaroslav Kysela Date: Mon Nov 28 10:50:59 2005 +0100 [ALSA] ens1371: added spdif and lineio module options Modules: ENS1370/1+ driver - spdif module option: some hardware revisions are without spdif output - lineio module option: force shared line in / rear out jack settings Signed-off-by: Jaroslav Kysela commit 16f47bb66000a917a33a0da67ef2823b239c36f6 Author: Matthew Garrett Date: Fri Nov 25 12:03:20 2005 +0100 [ALSA] ac97 - Add extra IDs for headphone autosense Modules: AC97 Codec The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default. Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 Author: Takashi Iwai Date: Thu Nov 24 16:17:20 2005 +0100 [ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988 Modules: HDA Codec driver Fixed the swapped surround/CLFE on 3stack mode of AD1988. Signed-off-by: Takashi Iwai commit d32410b1095cf93e8e31f8919de46f496d7b3ce0 Author: Takashi Iwai Date: Thu Nov 24 16:06:23 2005 +0100 [ALSA] hda-codec - Fix/enhance AD1988 support Modules: HDA Codec driver Fix/enhance AD1988 support code. - Fix for h/w bug of AD1988A rev 2 - The BIOS auto-configuration is added and used as fallback Signed-off-by: Takashi Iwai commit b2ec642362eef10f660e2b857dda12e2d61e0198 Author: Takashi Iwai Date: Thu Nov 24 16:05:04 2005 +0100 [ALSA] hda-codec - Fix channel mode helper Modules: HDA Codec driver Fix the channel mode helper (for put callback). Signed-off-by: Takashi Iwai commit 606ad75fb5372c0edb5ee6276c8e29fcb525f3e1 Author: Takashi Iwai Date: Thu Nov 24 16:03:40 2005 +0100 [ALSA] hda-intel - Use position buffer as default Modules: HDA Intel driver - Use the position buffer for obtaining the current DMA position as default. This seems more stable than others. - Add probe_mask module option (mainly for test boards with multiple codecs). Signed-off-by: Takashi Iwai commit 5014f193166d14e47525a34d65a1c7d77b0f6f38 Author: Libin Yang Date: Wed Nov 23 15:48:36 2005 +0100 [ALSA] hda-codec - Fix auto-probe of ALC880 Modules: HDA Codec driver This patch is to fix the problem of calculating the nid incorrectly when auto-probe for ALC880. The problem to be fixed often behaves with such words when using dmesg, 'num_steps = 0 for NID=0x8' when auto-probe for ALC880. The patch contains: - alsa-kernel/pci/hda/patch_realtek.c: replace 'alc880_dac_to_idx' with 'alc880_idx_to_dac' in function 'alc880_auto_fill_dac_nids()' Signed-off-by: Libin Yang Signed-off-by: Takashi Iwai commit 18612048b3e951f7e0ae9be65efe9e8cfde868a6 Author: Adrian Bunk Date: Wed Nov 23 13:14:50 2005 +0100 [ALSA] sound/: possible cleanups Modules: RawMidi Midlevel,HDA generic driver This patch contains the following possible cleanups: - pci/hda/hda_proc.c should #include 'hda_local.h' for including the prototype of it's global function snd_hda_codec_proc_new() - core/rawmidi.c: make the needlessly global and EXPORT_SYMBOL'ed function snd_rawmidi_info() static Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 Author: Takashi Iwai Date: Tue Nov 22 15:46:41 2005 +0100 [ALSA] Fix a missing include Modules: ALSA Core Fix missing include Signed-off-by: Takashi Iwai commit 6a81dbf23df5400e4f8182e9f2eb52fabcf42015 Author: Takashi Iwai Date: Tue Nov 22 14:33:27 2005 +0100 [ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire Modules: ICE1712 driver Fix the inverted switch of 'Front Digital Input' of Terratec DMX 6Fire. Signed-off-by: Takashi Iwai commit 1f14a657d87aa0e1a6c08c2e31588fbca34a8844 Author: Clemens Ladisch Date: Mon Nov 21 16:40:00 2005 +0100 [ALSA] usb-audio: fix Edirol UA-20 support Modules: USB generic driver Somebody at Edirol fucked up and released a new revision of the UA-20 without class-specific descriptors, so now we have to hard-code the sample format. Signed-off-by: Clemens Ladisch commit 2e5b9567f7444673a93cbacdcbeb3feacdb4914f Author: Takashi Iwai Date: Mon Nov 21 16:36:15 2005 +0100 [ALSA] hda-codec - Fix AD1988 support Modules: HDA Codec driver Fix AD1988 support. As default, 6stack model is used. Still no auto-BIOS setup is implemented. Signed-off-by: Takashi Iwai commit d25695056ff2e1e048cfc8d7dbafaf80c3c46d5d Author: Takashi Iwai Date: Mon Nov 21 16:33:51 2005 +0100 [ALSA] hda-codec - Allocate connection lists dynamically in generic parser Modules: HDA generic driver Allocate connection lists dynamically in generic parser. Signed-off-by: Takashi Iwai commit 54d174031576a2855c49611d83d4946bde81b504 Author: Takashi Iwai Date: Mon Nov 21 16:33:22 2005 +0100 [ALSA] hda-codec - Fix connection list parsing Modules: HDA Codec driver,HDA generic driver - Fix connection list parsing (with ranged flag). - Increase the max number of connections - Introduce widget capabilities cache - Power up/down widgets at init, suspend and resume Signed-off-by: Takashi Iwai commit 1b98ea4791892399d8c23c93e117567eeff38887 Author: Clemens Ladisch Date: Mon Nov 21 07:31:31 2005 +0100 [ALSA] rawmidi: adjust runtime->avail when changing output buffer size Modules: RawMidi Midlevel When the output buffer size is changed, runtime->avail must be adjusted to the new size; otherwise, draining of a bigger buffer would appear to fail because avail does not reach buffer_size. Signed-off-by: Clemens Ladisch commit 0ef797c5ca8a73853c827cf495caed44676cfe17 Author: Clemens Ladisch Date: Mon Nov 21 07:30:20 2005 +0100 [ALSA] adjust documentation for higher card limit Modules: Documentation Fix all places in the docs where the card number limit is mentioned. Signed-off-by: Clemens Ladisch commit d001544ded23ddb1116f945ccc2d89a7f98ab7e8 Author: Clemens Ladisch Date: Sun Nov 20 14:09:05 2005 +0100 [ALSA] dynamic minors (6/6): increase maximum number of sound cards Modules: ALSA Core,Memalloc module,ALSA sequencer With dynamic minor numbers, we can increase the number of sound cards. This requires that the sequencer client numbers of some kernel drivers are allocated dynamically, too. Signed-off-by: Clemens Ladisch commit 204bdb1b50013c7aa3922d8b66df943123087bd8 Author: Clemens Ladisch Date: Sun Nov 20 14:08:28 2005 +0100 [ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card Modules: ALSA sequencer,Generic drivers To allow increasing the maximum number of sound cards, we have to limit the number of sequencer clients per card because client numbers are still allocated statically. Reducing the number of clients to four limits the number of sequencer MIDI ports to 1024 per card. Signed-off-by: Clemens Ladisch commit 332682b1cd540dd7abbbbfc1905af8139e76e1b7 Author: Clemens Ladisch Date: Sun Nov 20 14:07:47 2005 +0100 [ALSA] dynamic minors (4/6): dynamic minor number allocation Modules: ALSA Core,ALSA Minor Numbers Add an option to allocate device file minor numbers dynamically. Signed-off-by: Clemens Ladisch commit f87135f56cb266e031f5ec081dfbde7e43f55e80 Author: Clemens Ladisch Date: Sun Nov 20 14:06:59 2005 +0100 [ALSA] dynamic minors (3/6): store device-specific object pointers dynamically Instead of storing the pointers to the device-specific structures in an array, put them into the struct snd_minor, and look them up dynamically. This makes the device type modules independent of the minor number encoding. Signed-off-by: Clemens Ladisch commit 6983b7240cd229787c3ee00e663ea94ea649d96a Author: Clemens Ladisch Date: Sun Nov 20 14:05:49 2005 +0100 [ALSA] dynamic minors (2/6): simplify storage of snd_minor structures Modules: ALSA Core Store the snd_minor structure pointers in one array instead of using a separate list for each card. This simplifies the mapping from device files to minor struct by removing the need to know about the encoding of the card number in the minor number. Signed-off-by: Clemens Ladisch commit 2af677fc884fc6dc79e65c99050ea607ac8bab9b Author: Clemens Ladisch Date: Sun Nov 20 14:03:48 2005 +0100 [ALSA] dynamic minors (1/6): store device type in struct snd_minor Instead of a comment string, store the device type in the snd_minor structure. This makes snd_minor more flexible, and has the nice side effect that we don't need anymore to create a separate snd_minor template for registering a device but can pass the file_operations directly to snd_register_device(). Signed-off-by: Clemens Ladisch commit a106cd3d9e88c8761bd0eac2ce402cc82bd11fea Author: Clemens Ladisch Date: Sun Nov 20 13:59:56 2005 +0100 [ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select() Modules: RawMidi Midlevel In snd_rawmidi_info_select(), check that the device identified by the passed device number actually exists. Signed-off-by: Clemens Ladisch commit ac09a9251d3b7678150ee512de8de1bd98628d11 Author: Clemens Ladisch Date: Sun Nov 20 13:58:28 2005 +0100 [ALSA] cs5535audio: move sound/driver.h to the top Modules: CS5535 driver Move the #include of to the top which is required for compilation on earlier kernels. Signed-off-by: Clemens Ladisch commit a2c855bbd76e7044c54a9d84ae46f6eead1b8f89 Author: Takashi Iwai Date: Fri Nov 18 18:52:39 2005 +0100 [ALSA] Fix a compile warning Modules: CS4231 driver Fix a compile warning (unused variable). Signed-off-by: Takashi Iwai commit b32425ac93370e1ba5556110e662f896b2e143b3 Author: Takashi Iwai Date: Fri Nov 18 18:52:14 2005 +0100 [ALSA] Fix possible races in timer callbacks Fix possible races in timer callbacks. Signed-off-by: Takashi Iwai commit 2eb061f41cf74f829bfe90a9c79c765172be9f0b Author: Jaroslav Kysela Date: Fri Nov 18 07:44:13 2005 +0100 [ALSA] intel8x0 - Added swap_hp quirk for Fujitsu-Siemens Celsius H320 [0x10cf:0x12f2] Modules: Intel8x0 driver Signed-off-by: Jaroslav Kysela commit a9824c868a2c7e310e6263ea4bc9f35cbbec8227 Author: Takashi Iwai Date: Thu Nov 17 17:51:00 2005 +0100 [ALSA] Add CS4232 PnP BIOS support Modules: CS4231 driver,CS4236+ driver Add CS4232 PnP BIOS support. Still experimental. Signed-off-by: Takashi Iwai commit fa55f837bb1bfc3d9ac9988d6f5450a603fa079a Author: Takashi Iwai Date: Thu Nov 17 17:48:30 2005 +0100 [ALSA] Fix resume of cs4231 Modules: CS4231 driver Use mce_down() again in the resume callback. Signed-off-by: Takashi Iwai commit 73e77ba0235532bd7523ba90883d325f6e095acf Author: Takashi Iwai Date: Thu Nov 17 17:44:01 2005 +0100 [ALSA] Add error messages Add error messages in the critial error path to be more verbose. Signed-off-by: Takashi Iwai commit 00a4e3d9f8df8a90966b75d517154718b4a2242a Author: Takashi Iwai Date: Thu Nov 17 17:41:08 2005 +0100 [ALSA] Merge ad1816a-lib module to ad1816a Modules: AD1816A driver Merge ad1816a-lib module to ad1816. There is no more reason to split. Signed-off-by: Takashi Iwai commit 5fe76e4dc60a2c3ff9b1143f5275a953db685e26 Author: Takashi Iwai Date: Thu Nov 17 17:26:09 2005 +0100 [ALSA] document - Update PM support Modules: Documentation Update the description about the PCI PM support. Signed-off-by: Takashi Iwai commit a4efc230c60ad15584e723755316e67b3c708d67 Author: Takashi Iwai Date: Thu Nov 17 17:24:26 2005 +0100 [ALSA] document - Add PM support Modules: Documentation Mark the drivers newly supporting PM in the documentation. Signed-off-by: Takashi Iwai commit 27441127b086230cc4c57d6cd9a615272fb47bcd Author: Takashi Iwai Date: Thu Nov 17 17:22:43 2005 +0100 [ALSA] Remove snd_legacy_auto_probe() Modules: ALSA Core Remove unsed snd_legacy_auto_probe() function. Signed-off-by: Takashi Iwai commit ebfbd2b83da14c7118da0efd1b59d8b641da08c2 Author: Takashi Iwai Date: Thu Nov 17 17:21:46 2005 +0100 [ALSA] Remove snd_card_generic_dev() Remove the obsolete snd_card_generic_dev(). CONFIG_SND_GENERIC_DRIVER is also removed from Kconfig. Signed-off-by: Takashi Iwai commit fa8174db0fd032c3d48cc0873946358c68e44d4f Author: Takashi Iwai Date: Thu Nov 17 17:20:15 2005 +0100 [ALSA] Remove SND_GENERIC_DRIVER from arm/Kconfig Modules: ARM Remove the obsolete SND_GENERIC_DRIVER from arm/Kconfig. Signed-off-by: Takashi Iwai commit 2b3f558727244efb6edb0866952331f537da13a4 Author: Takashi Iwai Date: Thu Nov 17 17:19:50 2005 +0100 [ALSA] Use platform_device Modules: SA11xx UDA1341 driver Rewrite the probe/remove with platform_device. Fix PM support, too. Signed-off-by: Takashi Iwai commit 792a6c51875c9d3b4a7b9af553b7fd18e8d84684 Author: Takashi Iwai Date: Thu Nov 17 17:19:25 2005 +0100 [ALSA] Fix PM support Modules: ARM AACI PL041 driver,ARM PXA2XX driver Fix PM support of aaci and pxa2xx drivers. Signed-off-by: Takashi Iwai commit 5e12bea0833e47117c31f13b528e31dc8112de57 Author: Takashi Iwai Date: Thu Nov 17 17:17:08 2005 +0100 [ALSA] powermac - Use platform_device Modules: PPC,PPC PMAC driver,PPC PowerMac driver Rewrite the probe/remove with platform_device. Move the PM support to platform_device's callbacks. Signed-off-by: Takashi Iwai commit e4f163d96080dda40fd02df725f3672d035e4c5a Author: Takashi Iwai Date: Thu Nov 17 17:15:58 2005 +0100 [ALSA] pdaudiocf - Fix PM support Modules: PDAudioCF driver Fix the PM support on pdaudiocf driver. Signed-off-by: Takashi Iwai commit 7f52bdb61bdb945b29c2a3b3a6d0f8e6e80b8ec8 Author: Takashi Iwai Date: Thu Nov 17 17:15:20 2005 +0100 [ALSA] Remove SND_GENERIC_DRIVER from isa/Kconfig Modules: ISA Remove the obsolete SND_GENERIC_DRIVER from isa/Kconfig. Signed-off-by: Takashi Iwai commit d29b761e6162d3b91079b25334270a2c36f6157d Author: Takashi Iwai Date: Thu Nov 17 17:14:11 2005 +0100 [ALSA] wavefront - Use platform_device Modules: Wavefront drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 99a0b7687ef991a577506a1974be146f02f18d74 Author: Takashi Iwai Date: Thu Nov 17 17:13:59 2005 +0100 [ALSA] opti9xx - Use platform_device Modules: Opti9xx drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 654aa661779703d3b22ba04a83ddeb1a0dd7a09a Author: Takashi Iwai Date: Thu Nov 17 17:13:43 2005 +0100 [ALSA] gus - Use platform_device Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 2a571ed13c853d132433c7e81509351823a7c8c6 Author: Takashi Iwai Date: Thu Nov 17 17:13:30 2005 +0100 [ALSA] es1688 - Use platform_device Modules: ES1688 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 277e926c9b2722317a6bf89ed921d97f6784e0cc Author: Takashi Iwai Date: Thu Nov 17 17:13:12 2005 +0100 [ALSA] sscape - Use platform_device Modules: Sound Scape driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit feb158e6ada20b7871f625e1edd429216ac00d3c Author: Takashi Iwai Date: Thu Nov 17 17:12:43 2005 +0100 [ALSA] sgalaxy - Use platform_device, add PM support Modules: Sound Galaxy driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit f7e0ba3e440d4aab381dca6d7a7eee8f2faf210b Author: Takashi Iwai Date: Thu Nov 17 17:12:07 2005 +0100 [ALSA] es18xx - Use platform_device Modules: ES18xx driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 704e05204c623136ea12411dc4286d1caea6cd7c Author: Takashi Iwai Date: Thu Nov 17 17:11:53 2005 +0100 [ALSA] opl3sa2 - Use platform_device Modules: OPL3SA2 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit acdcbc15426b91b0041756a92ea4932c60def189 Author: Takashi Iwai Date: Thu Nov 17 17:11:35 2005 +0100 [ALSA] cmi8330 - Use platform_device, add PM support Modules: CMI8330 driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit 175cdcfb113e2a72f9d1a2ced4b80e0ff17fcaae Author: Takashi Iwai Date: Thu Nov 17 17:05:02 2005 +0100 [ALSA] ad1816a - Clean up PnP code Modules: AD1816A driver Clean up PnP code of ad1816a driver. Signed-off-by: Takashi Iwai commit e2fa213591518bb1387f6042b8572c76ecdc6c6e Author: Takashi Iwai Date: Thu Nov 17 17:04:35 2005 +0100 [ALSA] dt019x - Add PM support Modules: DT019x driver Add PM support to dt019x driver. Signed-off-by: Takashi Iwai commit b6cc25cae365bada36c9f006e314b998eb2c5e7c Author: Takashi Iwai Date: Thu Nov 17 17:04:12 2005 +0100 [ALSA] azt2320 - Add PM support Modules: AZT2320 driver Add PM support to azt2320 driver. Signed-off-by: Takashi Iwai commit 480615f33fa48e1a4db33e40b21d4009250f5b23 Author: Takashi Iwai Date: Thu Nov 17 17:03:53 2005 +0100 [ALSA] als100 - Add PM support Modules: ALS100 driver Add PM support to als100 driver. Signed-off-by: Takashi Iwai commit 6bba41ac974ad77aa21d112a368ee565b55f303b Author: Takashi Iwai Date: Thu Nov 17 17:00:53 2005 +0100 [ALSA] cs4236 - Use platform_device Modules: CS4236+ driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 8b91375736ca602a5fc0695b53caa89b6ef263c9 Author: Takashi Iwai Date: Thu Nov 17 17:00:41 2005 +0100 [ALSA] cs4231 - Use platform_device Modules: CS4231 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 7bb35e20e8a00cf9e3f4e9df0457eee9f312a637 Author: Takashi Iwai Date: Thu Nov 17 17:00:17 2005 +0100 [ALSA] cs4231 - Fix PM support Modules: CS4231 driver Fix PM support. Signed-off-by: Takashi Iwai commit 686688458e5814ac0aca44fc2033218a848fd2d0 Author: Takashi Iwai Date: Thu Nov 17 16:58:26 2005 +0100 [ALSA] ad1848 - Use platform_device, add PM Modules: AD1848 driver Rewrite the probe/remove with platform_device. Add the PM support, too. Signed-off-by: Takashi Iwai commit c66d7f72569e304acc134b2561b148fe7c23c0f7 Author: Takashi Iwai Date: Thu Nov 17 16:57:48 2005 +0100 [ALSA] ad1848 - Add PM support Modules: AD1848 driver Add PM support to ad1848 support code. Signed-off-by: Takashi Iwai commit 7a8fef1f95e563a93c7d70048b63c1ca20685a1b Author: Takashi Iwai Date: Thu Nov 17 16:56:11 2005 +0100 [ALSA] es968 - Add PM support Modules: ES968 driver Add PM support to es968 driver. Signed-off-by: Takashi Iwai commit 67be445871bb35c450100753b72392ad6ddc0245 Author: Takashi Iwai Date: Thu Nov 17 16:55:22 2005 +0100 [ALSA] sb8 - Use platform_device and add PnP support Modules: SB8 driver Rewrite the probe/remove with platform_device. Add PM support, too. Signed-off-by: Takashi Iwai commit 6f045616aff91022966b5c37ba6845791dd125dc Author: Takashi Iwai Date: Thu Nov 17 16:54:56 2005 +0100 [ALSA] sb16 - Use platform_device and add PnP support Modules: SB16/AWE driver Rewrite the probe/remove with platform_device. Add PM support using PnP suspend/resume callbacks. Signed-off-by: Takashi Iwai commit 703529140cfb774366b839f38f027f283cb948b4 Author: Takashi Iwai Date: Thu Nov 17 16:16:36 2005 +0100 [ALSA] als4000 - Add PM support Modules: ALS4000 driver Add PM support to PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 5bdb6a1629408f657f5f2c42b3c07c689c411499 Author: Takashi Iwai Date: Thu Nov 17 16:16:10 2005 +0100 [ALSA] Add PM support to SB-support code Modules: SB drivers,SB16/AWE driver Add PM support to SB-support code. Signed-off-by: Takashi Iwai commit cb60e5f5b2b19284479825cdaa6dd6b7078cf5d2 Author: Takashi Iwai Date: Thu Nov 17 16:14:49 2005 +0100 [ALSA] cmipci - Add PM support Modules: CMIPCI driver Add PM support to CMIPCI driver. Signed-off-by: Takashi Iwai commit b1e9ed26a9e472548a63a59014708fdae013b7a3 Author: Takashi Iwai Date: Thu Nov 17 16:14:33 2005 +0100 [ALSA] fm801 - Add PM support Modules: FM801 driver Add PM support to fm801 driver. Signed-off-by: Takashi Iwai commit 09668b441dacdf4640509b640ad73e24efd5204f Author: Takashi Iwai Date: Thu Nov 17 16:14:10 2005 +0100 [ALSA] emu10k1 - Add PM support Modules: EMU10K1/EMU10K2 driver Add PM support to emu10k1 driver. Signed-off-by: Takashi Iwai commit fe8be10786c040bce53c18048d75b1b23aec64ae Author: Takashi Iwai Date: Thu Nov 17 16:13:41 2005 +0100 [ALSA] ens137x - Fix and ADD PM support Modules: ENS1370/1+ driver Fix PM support on ens1371 driver. Add PM support on ens1370 (together with AK4531), too. Signed-off-by: Takashi Iwai commit 11d3824ad7d6240d7ce44bdf1d9e81e62a903f72 Author: Takashi Iwai Date: Thu Nov 17 16:13:05 2005 +0100 [ALSA] ak4531 - Add PM support Modules: AK4531 codec Add PM support to AK4531 codec driver. Signed-off-by: Takashi Iwai commit 3fcf7d2cd8e0ebce10e4bf89da175ff9bd6aa2da Author: Takashi Iwai Date: Thu Nov 17 16:11:24 2005 +0100 [ALSA] nm256-intel - Fix PM support Modules: NM256 driver Fix PM support on NM256 driver. Signed-off-by: Takashi Iwai commit 421a12520d4ed4a0c96640fb672ef24ad8019beb Author: Takashi Iwai Date: Thu Nov 17 16:11:09 2005 +0100 [ALSA] hda-intel - Fix PM support Modules: HDA Intel driver Fix PM support on HDA-Intel driver. Signed-off-by: Takashi Iwai commit bf53c3b3f368cdc2aa9a59f220337ede854f507d Author: Takashi Iwai Date: Thu Nov 17 16:10:51 2005 +0100 [ALSA] ali5451 - Fix PM support Modules: ALI5451 driver Fix PM support on ALI5451 driver. Signed-off-by: Takashi Iwai commit 57feb83507d598de04e986cfa463acda9f2a67a8 Author: Takashi Iwai Date: Thu Nov 17 16:10:35 2005 +0100 [ALSA] via82xx - Fix PM support Modules: VIA82xx driver,VIA82xx-modem driver Fix PM support on VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 0e2364a7013688c06d1a9454a2c20567027f6a6e Author: Takashi Iwai Date: Thu Nov 17 16:10:19 2005 +0100 [ALSA] maestro3 - Fix PM support Modules: Maestro3 driver Fix PM support on maestro3 driver. Signed-off-by: Takashi Iwai commit 5809c6c41ae95ce3f45ad14d31503deb1fa8268a Author: Takashi Iwai Date: Thu Nov 17 16:10:01 2005 +0100 [ALSA] intel8x0 - Fix PM support Modules: Intel8x0 driver,Intel8x0-modem driver Fix PM support on Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit ded462356886e5f80f6a20b227f7e5cf7cfc5159 Author: Takashi Iwai Date: Thu Nov 17 16:09:43 2005 +0100 [ALSA] ymfpci - Fix PM support Modules: YMFPCI driver Fix PM support on YMFPCI driver. Signed-off-by: Takashi Iwai commit fb0700b4debbf45fb0465b40188bdc5396947bda Author: Takashi Iwai Date: Thu Nov 17 16:09:25 2005 +0100 [ALSA] trident - Fix PM support Modules: Trident driver Fix PM support on Trident driver. Signed-off-by: Takashi Iwai commit cb28e45ba2aa42393596a364d4f947027db8a1b5 Author: Takashi Iwai Date: Thu Nov 17 16:09:04 2005 +0100 [ALSA] cs46xx - Fix PM support Modules: CS46xx driver Fix PM support on CS46xx driver. Signed-off-by: Takashi Iwai commit 1d4b822be64b119b47c172aaac7ee76949470e28 Author: Takashi Iwai Date: Thu Nov 17 16:08:43 2005 +0100 [ALSA] es1968 - Fix PM support Modules: ES1968 driver Fix PM support on ES1968 driver. Signed-off-by: Takashi Iwai commit b34a580ec5b2eb7d3a7645552821e9dadb42bdab Author: Takashi Iwai Date: Thu Nov 17 16:08:27 2005 +0100 [ALSA] es1938 - Fix PM support Modules: ES1938 driver Fix PM support on ES1938 driver. Signed-off-by: Takashi Iwai commit 38c0a158ee23027e6a4fe47311e05d9c34c94da4 Author: Takashi Iwai Date: Thu Nov 17 16:08:11 2005 +0100 [ALSA] cs4281 - Fix PM support Modules: CS4281 driver Fix PM support on CS4281 driver. Signed-off-by: Takashi Iwai commit 92304cc7ecfc87d8336696ab5fe6a1c0eec2ff00 Author: Takashi Iwai Date: Thu Nov 17 16:07:46 2005 +0100 [ALSA] atiixp - Fix PM support Modules: ATIIXP driver,ATIIXP-modem driver Fix PM support on ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 0ed1cad172176a4595f82e8cd9055938ad54bd4b Author: Takashi Iwai Date: Thu Nov 17 16:06:05 2005 +0100 [ALSA] vx-driver - Fix PM support Fix PM support on VX drivers (vxpocket and vx222). Signed-off-by: Takashi Iwai commit 597c3c96691c861e837f9024084b4943fa5fc0fd Author: Takashi Iwai Date: Thu Nov 17 16:04:14 2005 +0100 [ALSA] Remove SND_GENERIC_DRIVER from drivers/Kconfig Modules: Generic drivers Remove SND_GENERIC_DRIVER from drivers/Kconfig. Signed-off-by: Takashi Iwai commit b3fe95123f0db79dd0345d249c312823178c11f5 Author: Takashi Iwai Date: Thu Nov 17 16:03:39 2005 +0100 [ALSA] mpu401 - Use platform_device Modules: MPU401 UART Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 3564fbb880f9a62ddbb81b7440c32e0e6619c52d Author: Takashi Iwai Date: Thu Nov 17 16:03:26 2005 +0100 [ALSA] virmidi - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 9caf6b5908e1e3b10478e9201ca1be809145253f Author: Takashi Iwai Date: Thu Nov 17 16:02:30 2005 +0100 [ALSA] serial-u16550 - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 4e4c62bd45c40e8e04d09a5f383bffb149abaa63 Author: Dave Airlie Date: Tue Jan 3 22:25:29 2006 +1100 drm: remove is_pci flag completely... this snuck back in, in the last merge. Signed-off-by: Dave Airlie commit 077d0ac5b63185abb848ae81e2949a1e9aedc1bb Author: Takashi Iwai Date: Thu Nov 17 16:02:15 2005 +0100 [ALSA] mtpav - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 6e65c1cc4458b2784224759b6137a50d4f65e610 Author: Takashi Iwai Date: Thu Nov 17 16:01:56 2005 +0100 [ALSA] dummy - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Added the suspend/resume support, too. Signed-off-by: Takashi Iwai commit e26e7545e9542425f140cb4c605a7ab5a3b13e00 Author: Takashi Iwai Date: Thu Nov 17 16:00:01 2005 +0100 [ALSA] ac97 - NULL check in snd_ac97_suspend/resume Modules: AC97 Codec Add NULL check in snd_ac97_suspend() and snd_ac97_resume() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit 603bf524aa4cba95e4fcd64dbfffc41f804c65ab Author: Takashi Iwai Date: Thu Nov 17 15:59:14 2005 +0100 [ALSA] pcm - NULL check in snd_pcm_suspend*() Modules: PCM Midlevel Add NULL check in snd_pcm_suspend*() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit a381a7a66486f11606eccb8866e29848f995278f Author: Takashi Iwai Date: Thu Nov 17 15:55:49 2005 +0100 [ALSA] Decentralize PM control Modules: ALSA Core,Control Midlevel,/oss/Makefile Remove the centralized PM control in the sound core. Each driver is responsible to get callbacks from bus/driver now. SND_GENERIC_DRIVER is removed together with this action. Signed-off-by: Takashi Iwai commit fd66e0d0591dd12eb0bea1e9f3aa194bb93cebbd Author: Takashi Iwai Date: Thu Nov 17 15:31:34 2005 +0100 [ALSA] hda-codec - Add AD1988 support Modules: HDA Codec driver Add AD1988 codec support to hda-codec driver. Still experimental, and no BIOS configuration parser is implemented yet. Signed-off-by: Takashi Iwai commit 9398441edaf0dc64eca828e3ce7a0326c8640d4c Author: Takashi Iwai Date: Thu Nov 17 15:30:43 2005 +0100 [ALSA] ac97-codec - Better ac97_bus name Modules: AC97 Codec Generate a better name string for ac97_bus sysfs interface including the name of ac97 codec chip. Signed-off-by: Takashi Iwai commit 446ab5f5039df4209a2e28752bd48c99007d3d82 Author: Takashi Iwai Date: Thu Nov 17 15:12:54 2005 +0100 [ALSA] Remove xxx_t typedefs: Documentation Modules: Documentation Remove xxx_t typedefs from documentation. Signed-off-by: Takashi Iwai commit a0d6f880faad2ceba3af3b8c34ddefd15119ced1 Author: Takashi Iwai Date: Thu Nov 17 15:12:31 2005 +0100 [ALSA] Remove xxx_t typedefs: MIPS AU1x00 Modules: MIPS AU1x00 driver Remove xxx_t typedefs from the MIPS AU1x00 driver. Signed-off-by: Takashi Iwai commit 67b1020d88a77a73bd9ccbc21733c155a4d7d44c Author: Takashi Iwai Date: Thu Nov 17 15:12:11 2005 +0100 [ALSA] Remove xxx_t typedefs: PARISC Harmony Modules: PARISC Harmony driver Remove xxx_t typedefs from the PARIC Harmony driver. Signed-off-by: Takashi Iwai commit 475675d6931ec03cf9575b26e30800fe64898ee0 Author: Takashi Iwai Date: Thu Nov 17 15:11:51 2005 +0100 [ALSA] Remove xxx_t typedefs: SPARC DBRI Modules: SPARC DBRI driver Remove xxx_t typedefs from the SPARC DBRI driver. Signed-off-by: Takashi Iwai commit dcc94db78362759931ff538f1579d4a1cec8bd64 Author: Takashi Iwai Date: Thu Nov 17 15:11:19 2005 +0100 [ALSA] Remove xxx_t typedefs: SPARC AMD7930 Modules: SPARC AMD7930 driver Remove xxx_t typedefs from the SPARC AMD7930 driver. Signed-off-by: Takashi Iwai commit af0fbfb58dbb2081ae91789892933321ee95d71f Author: Takashi Iwai Date: Thu Nov 17 15:10:58 2005 +0100 [ALSA] Remove xxx_t typedefs: ARM SA11xx-UDA1341 Modules: SA11xx UDA1341 driver Remove xxx_t typedefs from the ARM SA11xx-UDA1341 driver. Signed-off-by: Takashi Iwai commit d18f83764e376dea9e14a8ac53d1e14004fa9c13 Author: Takashi Iwai Date: Thu Nov 17 15:10:38 2005 +0100 [ALSA] Remove xxx_t typedefs: ARM PXA2xx Modules: ARM PXA2XX driver Remove xxx_t typedefs from the ARM PXA2xx driver. Signed-off-by: Takashi Iwai commit ceb9e476c89f50e9ba7de914bbec2c05e9647915 Author: Takashi Iwai Date: Thu Nov 17 15:10:16 2005 +0100 [ALSA] Remove xxx_t typedefs: ARM AACI Modules: ARM AACI PL041 driver,ARM DMA routines Remove xxx_t typedefs from the ARM AACI driver. Signed-off-by: Takashi Iwai commit 65b29f5039b38a5854b5e12238b0688a33e235cc Author: Takashi Iwai Date: Thu Nov 17 15:09:46 2005 +0100 [ALSA] Remove xxx_t typedefs: PowerMac Remove xxx_t typedefs from the PowerMac driver. Signed-off-by: Takashi Iwai commit bbe85bbd02b2220c819ad1e33c9d6327131ad281 Author: Takashi Iwai Date: Thu Nov 17 15:08:26 2005 +0100 [ALSA] Remove xxx_t typedefs: USB-USX2Y Modules: USB USX2Y Remove xxx_t typedefs from the USB-USX2Y driver. Signed-off-by: Takashi Iwai commit 86e07d34658bb85b3424f4db64fa28f884edbe8d Author: Takashi Iwai Date: Thu Nov 17 15:08:02 2005 +0100 [ALSA] Remove xxx_t typedefs: USB-Audio Modules: USB generic driver Remove xxx_t typedefs from the USB-Audio driver. Signed-off-by: Takashi Iwai commit db13154843cb2c99a93e9feed575e906f6e0e455 Author: Takashi Iwai Date: Thu Nov 17 15:07:38 2005 +0100 [ALSA] Remove xxx_t typedefs: PCMCIA PDaudioCF Modules: PDAudioCF driver Remove xxx_t typedefs from the PCMCIA PDaudioCF driver. Signed-off-by: Takashi Iwai commit e437e3d7c7fb656010f8f767d20215e67b847685 Author: Takashi Iwai Date: Thu Nov 17 15:06:15 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI VIA82xx Modules: VIA82xx driver,VIA82xx-modem driver Remove xxx_t typedefs from the PCI VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 016e401c2e64ce5c440b1f68eae4a53273aa0bc2 Author: Takashi Iwai Date: Thu Nov 17 15:05:57 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI Sonicvibes Modules: SonicVibes driver Remove xxx_t typedefs from the PCI Sonicvibes driver. Signed-off-by: Takashi Iwai commit a3aefd883dc8c17c2231d763630ffe5cd118d7e8 Author: Takashi Iwai Date: Thu Nov 17 15:05:37 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI RME96 Modules: RME96 driver Remove xxx_t typedefs from the PCI RME96 driver. Signed-off-by: Takashi Iwai commit 017ce80236c28bae9c2573307f1e76724232f287 Author: Takashi Iwai Date: Thu Nov 17 15:05:25 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI RME32 Modules: RME32 driver Remove xxx_t typedefs from the PCI RME32 driver. Signed-off-by: Takashi Iwai commit 3470c29dbde2aa8320acb29a654b5a72756ee58b Author: Takashi Iwai Date: Thu Nov 17 15:05:09 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI Maestro3 Modules: Maestro3 driver Remove xxx_t typedefs from the PCI Maestro3 driver. Signed-off-by: Takashi Iwai commit 6b75a9d8b6c794d4c41d1b875c3e8e920b09e151 Author: Takashi Iwai Date: Thu Nov 17 15:04:53 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI Intel8x0 Modules: Intel8x0 driver,Intel8x0-modem driver Remove xxx_t typedefs from the PCI Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit a5f22156e03d40f1da24a1b19a8a84c4fb3208f2 Author: Takashi Iwai Date: Thu Nov 17 15:04:28 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI FM801 Modules: FM801 driver Remove xxx_t typedefs from the PCI FM801 driver. Signed-off-by: Takashi Iwai commit 969165a8b5d9a5b3e3c205c312a13a1872844297 Author: Takashi Iwai Date: Thu Nov 17 15:04:14 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1968 Modules: ES1968 driver Remove xxx_t typedefs from the PCI ES1968 driver. Signed-off-by: Takashi Iwai commit e571f59436d1827b5f00f3fba90b30ad7a5ff01e Author: Takashi Iwai Date: Thu Nov 17 15:04:01 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1938 Modules: ES1938 driver Remove xxx_t typedefs from the PCI ES1938 driver. Signed-off-by: Takashi Iwai commit eb3414b4652344972e86c85ce094cc4a780e1a55 Author: Takashi Iwai Date: Thu Nov 17 15:03:46 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ENS137x Modules: ENS1370/1+ driver Remove xxx_t typedefs from the PCI ENS137x drivers. Signed-off-by: Takashi Iwai commit 93e35f956a1720eedcf95b8337dde25bde22d624 Author: Takashi Iwai Date: Thu Nov 17 15:03:28 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI CS4281 Modules: CS4281 driver Remove xxx_t typedefs from the PCI CS4281 driver. Signed-off-by: Takashi Iwai commit 2cbdb686dd8df8d80742738ab50acfcfe9a95939 Author: Takashi Iwai Date: Thu Nov 17 15:03:13 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI CMIPCI Modules: CMIPCI driver Remove xxx_t typedefs from the PCI CMIPCI driver. Signed-off-by: Takashi Iwai commit 9f362dce9d6315fa24aab6290cb9628563160f75 Author: Takashi Iwai Date: Thu Nov 17 15:02:58 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI BT87x Modules: BT87x driver Remove xxx_t typedefs from the PCI BT87x driver. Signed-off-by: Takashi Iwai commit 95de77660bb54e603d32f2ce342ae16e6de1b2d4 Author: Takashi Iwai Date: Thu Nov 17 15:02:42 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI AZT3328 Modules: AZT3328 driver Remove xxx_t typedefs from the PCI AZT3328 driver. Signed-off-by: Takashi Iwai commit 74ee4ff1e62d9798361763f152c6f07d491be819 Author: Takashi Iwai Date: Thu Nov 17 15:02:23 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ATIIXP Modules: ATIIXP driver,ATIIXP-modem driver Remove xxx_t typedefs from the PCI ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 17c39d9a59cbf4b3a51a2694134754fc1d3668e7 Author: Takashi Iwai Date: Thu Nov 17 15:02:01 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ALS4000 Modules: ALS4000 driver Remove xxx_t typedefs from the PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 02c2de69d0bb0ed39b413188241beb4a29d05378 Author: Takashi Iwai Date: Thu Nov 17 15:01:46 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI AD1889 Modules: AD1889 driver Remove xxx_t typedefs from the PCI AD1889 driver. Signed-off-by: Takashi Iwai commit 10754f53450a2c2aababe69f20edd7d2077e588d Author: Takashi Iwai Date: Thu Nov 17 15:01:29 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI NM256 Modules: NM256 driver Remove xxx_t typedefs from the PCI NM256 driver. Signed-off-by: Takashi Iwai commit 67b48b880062ba1775f424c2dd2c68bc30ec180f Author: Takashi Iwai Date: Thu Nov 17 15:01:08 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI miXart Modules: MIXART driver Remove xxx_t typedefs from the PCI miXart driver. Signed-off-by: Takashi Iwai commit fcfd3332e3bf5f63116044c168110820996cd1fe Author: Takashi Iwai Date: Thu Nov 17 15:00:46 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI KORG1212 Modules: KORG1212 driver Remove xxx_t typedefs from the PCI KORG1212 driver. Signed-off-by: Takashi Iwai commit ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 Author: Takashi Iwai Date: Thu Nov 17 15:00:18 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1724 Modules: ICE1724 driver,ICE1712 driver Remove xxx_t typedefs from the PCI ICE1724 driver. Signed-off-by: Takashi Iwai commit 6ca308d4edd51c4f34ffff94ae0bbf193087d89f Author: Takashi Iwai Date: Thu Nov 17 14:59:52 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1712 Modules: ICE1712 driver Remove xxx_t typedefs from the PCI ICE1712 driver. Signed-off-by: Takashi Iwai commit a98f90fd826913519c3f704ea24fb9bea1e0e494 Author: Takashi Iwai Date: Thu Nov 17 14:59:02 2005 +0100 [ALSA] Remove xxx_t typedefs: HDA-Intel Modules: HDA Intel driver Remove xxx_t typedefs from the HDA-Intel driver. Signed-off-by: Takashi Iwai commit c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 Author: Takashi Iwai Date: Thu Nov 17 14:57:47 2005 +0100 [ALSA] Remove xxx_t typedefs: HD-Audio codec Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai commit 66f8df6bdd388d209c38197785148c994c8a738d Author: Takashi Iwai Date: Thu Nov 17 14:56:21 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI CS5535 Modules: CS5535 driver Remove xxx_t typedefs from the PCI CS5535 driver. Signed-off-by: Takashi Iwai commit d1fabd9cbc2f17b525a39adc16331443dddbb15b Author: Takashi Iwai Date: Thu Nov 17 14:56:03 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI ALI5451 Modules: ALI5451 driver Remove xxx_t typedefs from the PCI ALI5451 driver. Signed-off-by: Takashi Iwai commit e4a3d145455159955d6ac1df976b2ed2a135b858 Author: Takashi Iwai Date: Thu Nov 17 14:55:40 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI CA0106 Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: Takashi Iwai commit 2fd16874aa6322e8b61879a78f3b485999506833 Author: Takashi Iwai Date: Thu Nov 17 14:55:19 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI AU88x0 Modules: au88x0 driver Remove xxx_t typedefs from the PCI AU88x0 drivers. Signed-off-by: Takashi Iwai commit 208a1b4cb5ad97510aa9cbe51d09e55656691cb4 Author: Takashi Iwai Date: Thu Nov 17 14:53:41 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI YMFPCI Modules: YMFPCI driver Remove xxx_t typedefs from the PCI YMFPCI driver. Signed-off-by: Takashi Iwai commit bee1a5be8b6210a0a4e27e38d0f76847b0a014ae Author: Takashi Iwai Date: Thu Nov 17 14:53:15 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI Trident Modules: Trident driver Remove xxx_t typedefs from the PCI Trident driver. Signed-off-by: Takashi Iwai commit abfd67bd6fcc07b54d54e00a9105900f478323a6 Author: Takashi Iwai Date: Thu Nov 17 14:52:53 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI RME9652 Modules: RME9652 driver Remove xxx_t typedefs from the PCI RME9652 driver. Signed-off-by: Takashi Iwai commit 98274f0701f9e6579ae493ac190227fe93d11e20 Author: Takashi Iwai Date: Thu Nov 17 14:52:34 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP-MADI Modules: HDSPM driver,RME9652 driver Remove xxx_t typedefs from the PCI HDSP-MADI driver. Signed-off-by: Takashi Iwai commit 55e957d8328ef1c75238b95033d8a61994b6adcc Author: Takashi Iwai Date: Thu Nov 17 14:52:13 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP Modules: RME HDSP driver Remove xxx_t typedefs from the PCI HDSP driver. Signed-off-by: Takashi Iwai commit 4b32f1aae23f566e98fda140836023dd8275b5de Author: Takashi Iwai Date: Thu Nov 17 14:50:31 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1x Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1x driver. Signed-off-by: Takashi Iwai commit eb4698f347ec908c365504c4edddadd1acd406ea Author: Takashi Iwai Date: Thu Nov 17 14:50:13 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1 Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1 driver. Signed-off-by: Takashi Iwai commit 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb Author: Takashi Iwai Date: Thu Nov 17 14:48:14 2005 +0100 [ALSA] Remove xxx_t typedefs: PCI CS46xx Modules: CS46xx driver Remove xxx_t typedefs from the PCI CS46xx driver. Signed-off-by: Takashi Iwai commit af26367f69a474ed809e4a59abb5855b47daaff4 Author: Takashi Iwai Date: Thu Nov 17 14:46:59 2005 +0100 [ALSA] Remove xxx_t typedefs: VXdriver Remove xxx_t typedefs from the VXdriver codes (vx_core support, vx222 and vxpocket). Signed-off-by: Takashi Iwai commit 9f38945fab04a0a0ea50880fa634f9bfa28f6226 Author: Takashi Iwai Date: Thu Nov 17 14:44:47 2005 +0100 [ALSA] Remove xxx_t typedefs: AK4531 codec Modules: AK4531 codec Remove xxx_t typedefs from the AK4531 codec support code. Signed-off-by: Takashi Iwai commit 11ff5c62b1327cc7bdcfcf66b4b718495fea0043 Author: Takashi Iwai Date: Thu Nov 17 14:42:36 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA SB/AD-clone Modules: ALS100 driver,AZT2320 driver,DT019x driver,Sound Galaxy driver Remove xxx_t typedefs from the ISA SB/AD-clone drivers (als100, azt2320, dt019x, sgalaxy). Signed-off-by: Takashi Iwai commit be6245373f46eb21839ba1b54c83bc7cc8274208 Author: Takashi Iwai Date: Thu Nov 17 14:42:05 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA SoundScape Modules: Sound Scape driver Remove xxx_t typedefs from the ISA SoundScape driver. Signed-off-by: Takashi Iwai commit ec6c5ae353fd9b1141da67094e125e75d031d740 Author: Takashi Iwai Date: Thu Nov 17 14:41:45 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA OPL3SA2 Modules: OPL3SA2 driver Remove xxx_t typedefs from the ISA OPL3SA2 driver. Signed-off-by: Takashi Iwai commit 8047c910ff27811060e6983ac446ed5a0fe550c6 Author: Takashi Iwai Date: Thu Nov 17 14:41:22 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA ES18xx Modules: ES18xx driver Remove xxx_t typedefs from the ISA ES18xx driver. Signed-off-by: Takashi Iwai commit e3561703723fcc2315f852cb85e80533a2c58e3e Author: Takashi Iwai Date: Thu Nov 17 14:41:02 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA CMI8330 Modules: CMI8330 driver Remove xxx_t typedefs from the ISA CMI8330 driver. Signed-off-by: Takashi Iwai commit 542172f31d41e689988aedcf0d6e67dfe757736a Author: Takashi Iwai Date: Thu Nov 17 14:39:06 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA Wavefront Modules: Wavefront drivers Remove xxx_t typedefs from the ISA Wavefront driver. Signed-off-by: Takashi Iwai commit 346c7a689542285aef9b899eda7693d4b912d60d Author: Takashi Iwai Date: Thu Nov 17 14:37:56 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA Opti9xx Modules: Opti9xx drivers Remove xxx_t typedefs from the ISA Opti 9xx drivers. Signed-off-by: Takashi Iwai commit 5e2da20648e39a0e3cb33861499b686a6fe38112 Author: Takashi Iwai Date: Thu Nov 17 14:36:44 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA GUS Remove xxx_t typedefs from the ISA GUS drivers. Signed-off-by: Takashi Iwai commit 029d64b0cfa30abc10f722e2f67d282abe09c9da Author: Takashi Iwai Date: Thu Nov 17 14:34:36 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE Remove xxx_t typedefs from the ISA SB8/SB16/SBAWE drivers. Signed-off-by: Takashi Iwai commit d3a7e476740dc23588ea65fa0df1aacdf8e70003 Author: Takashi Iwai Date: Thu Nov 17 14:31:42 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA ES1688 Modules: ES1688 driver Remove xxx_t typedefs from the ISA ES1688 driver. Signed-off-by: Takashi Iwai commit ba2375a45c528fd902676ea01014ea0f8931464b Author: Takashi Iwai Date: Thu Nov 17 14:30:42 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA CS423x Modules: CS4231 driver,CS4236+ driver Remove xxx_t typedefs from the ISA CS423x drivers. Signed-off-by: Takashi Iwai commit c8ff6647bb8a1865608b2d0c8565ca0ac47fb9b7 Author: Takashi Iwai Date: Thu Nov 17 14:29:37 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1848 Modules: AD1848 driver Remove xxx_t typedefs from the ISA AD1848 driver. Signed-off-by: Takashi Iwai commit cbdd0dd15f06a989c519089bb24023a5bfa66eaf Author: Takashi Iwai Date: Thu Nov 17 14:28:35 2005 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1816A Modules: AD1816A driver Remove xxx_t typedefs from the ISA AD1816A driver. Signed-off-by: Takashi Iwai commit 4a4d2cfd8cbca3076742547157ea135d0be77928 Author: Takashi Iwai Date: Thu Nov 17 14:27:28 2005 +0100 [ALSA] Remove xxx_t typedefs: Generic drivers Modules: Generic drivers Remove xxx_t typedefs from the generic drivers (dummy, mtpav, serial-u16550 and virmidi). Signed-off-by: Takashi Iwai commit 03da312ac080b4f5c9359c233b8812cc93a035fe Author: Takashi Iwai Date: Thu Nov 17 14:24:47 2005 +0100 [ALSA] Remove xxx_t typedefs: Emu-X synth Modules: Common EMU synth,SoundFont,Synth Remove xxx_t typedefs from the Emu-X synth support. Signed-off-by: Takashi Iwai commit ee42381e71c56328db9e9d64d19a4de7a2f09a93 Author: Takashi Iwai Date: Thu Nov 17 14:21:36 2005 +0100 [ALSA] Remove xxx_t typedefs: AC97 Modules: AC97 Codec Remove xxx_t typedefs from the AC97 codec support. Signed-off-by: Takashi Iwai commit dc4cafbadad1ae2322e598f2cb72720ef4095fee Author: Takashi Iwai Date: Thu Nov 17 14:19:28 2005 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Modules: AK4114 receiver,AK4117 receiver,AK4XXX AD/DA converters [Missing files in last commit] Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit 97f02e05f246a2346275c1c93a3079e8933e74b2 Author: Takashi Iwai Date: Thu Nov 17 14:17:19 2005 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit a42dd420bea7a5cd130162183d95f640c299a337 Author: Takashi Iwai Date: Thu Nov 17 14:13:47 2005 +0100 [ALSA] Remove xxx_t typedefs: OPL4 Modules: OPL4 Remove xxx_t typedefs from the OPL4 driver Signed-off-by: Takashi Iwai commit 5b1646a8eceff0a4ff06f309abb6e7f43f99a498 Author: Takashi Iwai Date: Thu Nov 17 14:13:14 2005 +0100 [ALSA] Remove xxx_t typedefs: OPL3 Modules: OPL3,Raw OPL FM Remove xxx_t typedefs from the OPL3 driver Signed-off-by: Takashi Iwai commit e1fad17bb4084dc7c435360185417aed55656ec8 Author: Takashi Iwai Date: Thu Nov 17 14:12:45 2005 +0100 [ALSA] Remove xxx_t typedefs: MPU401 Modules: MPU401 UART Remove xxx_t typedefs from the MPU401-UART and MPU401 drivers Signed-off-by: Takashi Iwai commit 87e1f0e2b206eaf8265997a8d0cb7126ea11c844 Author: Takashi Iwai Date: Thu Nov 17 14:08:02 2005 +0100 [ALSA] Backward-compatibility typedefs Modules: ALSA Core Backward-compatibility typedefs are stored in the new header, typedefs.h, for out-of-tree drivers. This will be removed in future. Signed-off-by: Takashi Iwai commit 080dece3460b534bedc4ef4ba3abaa57e9486331 Author: Takashi Iwai Date: Thu Nov 17 14:05:16 2005 +0100 [ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation Modules: ALSA<-OSS sequencer,ALSA sequencer Remove xxx_t typedefs from the core sequencer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 19ac31e82cc7328c01bf26f824f33c7c38cb6075 Author: Takashi Iwai Date: Thu Nov 17 14:04:44 2005 +0100 [ALSA] Remove xxx_t typedefs: Instrument layer Modules: Instrument layer Remove xxx_t typedefs from the core instrument layer codes. Signed-off-by: Takashi Iwai commit c7e0b5bf9fff1b726495081447c107a2333fb82c Author: Takashi Iwai Date: Thu Nov 17 14:04:02 2005 +0100 [ALSA] Remove xxx_t typedefs: Sequencer Modules: ALSA sequencer Remove xxx_t typedefs from the core sequencer codes. Signed-off-by: Takashi Iwai commit 6ac77bc180fbd985988015020c2e2347e802959d Author: Takashi Iwai Date: Thu Nov 17 14:01:49 2005 +0100 [ALSA] Remove xxx_t typedefs: PCM OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core PCM OSS-emulation codes. Signed-off-by: Takashi Iwai commit f956b4a3ae790e1bdde865ac42dd1b99b64a6256 Author: Takashi Iwai Date: Thu Nov 17 14:01:22 2005 +0100 [ALSA] Remove xxx_t typedefs: Mixer OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core mixer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af Author: Takashi Iwai Date: Thu Nov 17 14:00:19 2005 +0100 [ALSA] Remove xxx_t typedefs: OSS-emulation Modules: ALSA Core Remove xxx_t typedefs from the core OSS-emulation codes. Signed-off-by: Takashi Iwai commit 877211f5e1b1196179ba1290e8e1a3dc00427c55 Author: Takashi Iwai Date: Thu Nov 17 13:59:38 2005 +0100 [ALSA] Remove xxx_t typedefs: PCM Modules: PCM Midlevel Remove xxx_t typedefs from the core PCM codes. Signed-off-by: Takashi Iwai commit 24c1f93188b4438c7f30df5b4cd78340cdb28daf Author: Takashi Iwai Date: Thu Nov 17 13:58:48 2005 +0100 [ALSA] Remove xxx_t typedefs: Proc handler Modules: ALSA Core Remove xxx_t typedefs from the core proc handler codes. Signed-off-by: Takashi Iwai commit d9a98de218ce18befabb5782c43cb4a2766b4b02 Author: Takashi Iwai Date: Thu Nov 17 13:58:21 2005 +0100 [ALSA] Remove xxx_t typedefs: Hwdep Modules: HWDEP Midlevel Remove xxx_t typedefs from the core hwdep codes. Signed-off-by: Takashi Iwai commit 48c9d417d7269da2a2da5b602fcb5fdbee36305e Author: Takashi Iwai Date: Thu Nov 17 13:56:51 2005 +0100 [ALSA] Remove xxx_t typedefs: Raw MIDI Modules: RawMidi Midlevel Remove xxx_t typedefs from the core raw MIDI codes. Signed-off-by: Takashi Iwai commit 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 Author: Takashi Iwai Date: Thu Nov 17 13:56:05 2005 +0100 [ALSA] Remove xxx_t typedefs: Timer Modules: RTC timer driver,Timer Midlevel Remove xxx_t typedefs from the core timer. Signed-off-by: Takashi Iwai commit 82e9bae6fd253af4aea9c690223c7800313632ad Author: Takashi Iwai Date: Thu Nov 17 13:53:23 2005 +0100 [ALSA] Remove xxx_t typedefs: Controls Modules: Control Midlevel Remove xxx_t typedefs from the core controls. Signed-off-by: Takashi Iwai commit 512bbd6a85230f16389f0dd51925472e72fc8a91 Author: Takashi Iwai Date: Thu Nov 17 13:51:18 2005 +0100 [ALSA] Remove xxx_t typedefs: Core component Modules: ALSA Core Remove xxx_t typedefs from the core component. Signed-off-by: Takashi Iwai commit 3f05f868f1112b970e7fb9c0aa42cc99370098fe Author: Takashi Iwai Date: Thu Nov 17 11:12:06 2005 +0100 [ALSA] nm256 - Code clean up Modules: NM256 driver Clean up snd-nm256 driver code: - Simplify chip constructor function Signed-off-by: Takashi Iwai commit 8d88bc3d361bdd81a214eb9c5d06b291d06c603a Author: Takashi Iwai Date: Thu Nov 17 11:09:23 2005 +0100 [ALSA] hda-codec - Fix assignment of speaker pin Modules: HDA Codec driver,HDA generic driver Fix the auto-assignment of speaker pin. Handle it independently from line-out pins. Signed-off-by: Takashi Iwai commit a2a20939b1cc82222eb67a4631009338791f1acd Author: Takashi Iwai Date: Thu Nov 17 11:08:23 2005 +0100 [ALSA] hda-codec - Fix a typo Modules: HDA Codec driver Fix a typo in hda_codec.h. Signed-off-by: Takashi Iwai commit 9f146bb6e68610ab2b62c76e7485900545515613 Author: Takashi Iwai Date: Thu Nov 17 11:07:49 2005 +0100 [ALSA] hda-codec - Prepare unsol workqueue on demand Modules: HDA Codec driver Prepare unsol workqueue only when a codec really supports. Signed-off-by: Takashi Iwai commit d2a6d7dc757da6b57d77bd8b460cf4faa9fd152d Author: Takashi Iwai Date: Thu Nov 17 11:06:29 2005 +0100 [ALSA] hda-codec - Add channel-mode helper Modules: HDA Codec driver,HDA generic driver Add common channel-mode helper functions for all codec patches. Signed-off-by: Takashi Iwai commit 59de641ca37b88dd34d0e1d853800b488f642624 Author: Takashi Iwai Date: Thu Nov 17 11:05:34 2005 +0100 [ALSA] Small update of Procfile.txt Modules: Documentation Small update of Procfile.txt for hda and usb proc files. Signed-off-by: Takashi Iwai commit 10e4097fb47b57d095204d3fad10b25e3b4d42a3 Author: Takashi Iwai Date: Thu Nov 17 11:04:55 2005 +0100 [ALSA] [Trivial] Fix ac97_quirk option in document Modules: Documentation Fix a wrong option value for ac97_quirk option in the document. Signed-off-by: Takashi Iwai commit ba7301c7d985d206a5688c69d0a74de3988f6d6c Author: Andreas Mohr Date: Thu Nov 17 11:03:31 2005 +0100 [ALSA] ALS4000 update Modules: SB drivers,ALS4000 driver some update for the ALS4000 driver (tested with hardware in my PC): - use common control names according to ControlNames.txt - add some controls (Master Mono, 3D control) - optimize struct snd_card_als4000_t layout (performance/size) - save some bytes via unified error path - constify some read-only data - add ToDo list - move GPL license text to top - add comments Signed-off-by: Andreas Mohr Signed-off-by: Takashi Iwai commit a57d15158113cb7f10e662e6df07f445c986a12d Author: Takashi Iwai Date: Thu Nov 17 10:50:13 2005 +0100 [ALSA] emux - Avoid cast of function pointers Modules: Common EMU synth Pass the proper functions instead of cast of function pointers, which can be dangerous with compiler optimizations. Signed-off-by: Takashi Iwai commit cb432379eff40d5656ca9f24afc435b4df353d13 Author: Takashi Iwai Date: Thu Nov 17 10:48:52 2005 +0100 [ALSA] usx2y - Code clean up Modules: USB USX2Y Clean up snd-usb-usx2y driver code: - Avoid unnecessary cast - Fix spaces/indents - Use kzalloc() - Remove weird debug prints Signed-off-by: Takashi Iwai commit 9fd9156c6b0dfb8630f68d11dc48a3e824aa64e6 Author: Takashi Iwai Date: Thu Nov 17 10:45:48 2005 +0100 [ALSA] korg1212 - Clean up debug prints Modules: KORG1212 driver Clean up debug prints in korg1212 driver. Also, clean up spaces/indents in some places. Signed-off-by: Takashi Iwai commit e017fa5772cd2536b2b2fb210f5a6e86cceaa633 Author: Takashi Iwai Date: Thu Nov 17 10:44:51 2005 +0100 [ALSA] emu10k1 - Minor clean up of memory block handling Modules: EMU10K1/EMU10K2 driver Minor clean up of emu10k1 memory block allocation. Signed-off-by: Takashi Iwai commit 89173bd41439bc6304e3e20f742e52266208ccad Author: Takashi Iwai Date: Thu Nov 17 10:43:53 2005 +0100 [ALSA] emu10k1x - Minor clean up Modules: EMU10K1/EMU10K2 driver Minor clean up of the emu10k1x interrupt handler code. Signed-off-by: Takashi Iwai commit b9b4bdd9f1c98388f13591608d574650a9873717 Author: Takashi Iwai Date: Thu Nov 17 10:42:40 2005 +0100 [ALSA] ac97 - Remove ac9_enum definition from public header Modules: AC97 Codec Remove the definition of ac97_enum struct from the public ac97_codec.h. It's used only in the module. The location of struct ac97_pcm is moved closer to its accessor to improve readability. Signed-off-by: Takashi Iwai commit 95a98265eb7b112b3268761053d643635171e219 Author: Takashi Iwai Date: Thu Nov 17 10:40:18 2005 +0100 [ALSA] ca0106 - Code clean up Modules: CA0106 driver Clean up snd-ca0106 driver code: - Fix spaces and indents - Remove unnecessary spinlocks - Clean up the mixer callbacks using private_value - Clean up mixer constructors using an array Signed-off-by: Takashi Iwai commit 954bea35571461b083390a82b03f077f901fe678 Author: Takashi Iwai Date: Thu Nov 17 10:37:40 2005 +0100 [ALSA] intel8x0 - Clean up delay function Modules: Intel8x0 driver,Intel8x0-modem driver Remove superfluous delay macro. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit c9a49bb1957f45e0146c17a865f1444fd06c0f97 Author: Takashi Iwai Date: Thu Nov 17 10:36:57 2005 +0100 [ALSA] cs4281 - Clean up delay function Modules: CS4281 driver Remove the own delay function. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit bfdcbace6c76cab54f1651349816dc35cc8f12b8 Author: Takashi Iwai Date: Thu Nov 17 10:35:53 2005 +0100 [ALSA] Remove superfluous macros Modules: ATIIXP driver,ATIIXP-modem driver Remove superfluous macros for delay. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit 03f9ae2505cf2f5d56c197b4045ed9dba5ce8912 Author: Takashi Iwai Date: Thu Nov 17 10:34:40 2005 +0100 [ALSA] harmony - Code clean up Modules: PARISC Harmony driver Clean up snd-harmony driver code: - Give standard module options - Fix spinlocks - Fix the error path of request_irq() - Clean up redundant codes Signed-off-by: Takashi Iwai commit 33ea25c113a7d63645b10ed89851e08f7c984d1a Author: Takashi Iwai Date: Thu Nov 17 10:32:43 2005 +0100 [ALSA] au1x00 - Code clean up Modules: MIPS AU1x00 driver Clean up snd-au1x00 driver code: - Remove global variables - Remove old compatibility codes - Fix DMA-link allocation/release functions in hw_params and hw_free callbacks (they may be called multiple times) - Fix spinlocks Signed-off-by: Takashi Iwai commit 6560c349c501388a1f3030d02fb49e7067e6597e Author: Takashi Iwai Date: Thu Nov 17 10:29:33 2005 +0100 [ALSA] Clean up includes in asound.h & asequencer.h Modules: ALSA sequencer,ALSA Core Clean up includes in asound.h and asequencer.h. Signed-off-by: Takashi Iwai commit bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd Author: Takashi Iwai Date: Thu Nov 17 10:28:15 2005 +0100 [ALSA] [Trivial] Fix spaces in gus.h Modules: GUS Library Fix spaces in gus.h. Signed-off-by: Takashi Iwai commit f739aeccedc7681a249bdae435e9af3e5476ad1d Author: Takashi Iwai Date: Thu Nov 17 10:27:08 2005 +0100 [ALSA] Clean up ISA cs4231 code Modules: CS4231 driver Clean up ISA cs4231 code, removing experimental EBUS/SBUS merge, to improve readability. Signed-off-by: Takashi Iwai commit 0948e3c8bb187b3dea38be1e1ffd1797866014f1 Author: Takashi Iwai Date: Thu Nov 17 10:25:22 2005 +0100 [ALSA] Clean up sa11xx-uda1341 driver Modules: SA11xx UDA1341 driver,L3 drivers,UDA1341 Clean up sa11xx-uda1341 driver: - Fix buggy destructor - Remove the global variable - Move array definitions from uda1341.h - Make functions in uda1341.c static Signed-off-by: Takashi Iwai commit c8714ba160a498e249dbd32c637b85a1efa1013b Author: Takashi Iwai Date: Thu Nov 17 10:22:32 2005 +0100 [ALSA] Remove tea6330t struct definition from public header Modules: I2C tea6330t Remove tea6330t struct definition from public header. It's anyway unaccessible from outside. Signed-off-by: Takashi Iwai commit bdbae7e62837c22c5399df0789a24e9d8a1d675f Author: Takashi Iwai Date: Thu Nov 17 10:21:19 2005 +0100 [ALSA] Remove snd_vx_delay() function Replace snd_vx_delay() with appropriate delay/sleep functions. Signed-off-by: Takashi Iwai commit c8eb6ba16a5803fab9cc0d1d0dd04a75bf91b6d5 Author: Takashi Iwai Date: Thu Nov 17 10:20:23 2005 +0100 [ALSA] snd-dummy - Code clean-up Modules: Generic drivers Clean up snd-dummy driver code. - Make common PCM callbacks - Simplify open callback - Remove unnecessary irqsave in control callbacks Signed-off-by: Takashi Iwai commit 47eaebfd31610d2a55fbaccd1e7c37690d42ce30 Author: Takashi Iwai Date: Thu Nov 17 10:18:00 2005 +0100 [ALSA] Use standard bitmap functions Modules: ALSA<-OSS emulation Use standard bitmap functions instead of in-house ones. Signed-off-by: Takashi Iwai commit 230b5c1a612ae903c560b55a15df287b0ff437ea Author: Takashi Iwai Date: Thu Nov 17 10:17:05 2005 +0100 [ALSA] Sort Kconfig entries Modules: ISA,PCI drivers Sort Kconfig entries in alphabetical order. Signed-off-by: Takashi Iwai commit 3e8731740e17f01ec1ecce556ccdc4c42279ce1b Author: Takashi Iwai Date: Thu Nov 17 10:15:37 2005 +0100 [ALSA] Minor clean up and fixes for CS5535 audio driver Modules: Documentation,CS5535 driver Minor clean up and fixes for CS5535 audio driver. Added an entry in ALSA-Configuration.txt, too. Signed-off-by: Takashi Iwai commit 9b4ffa48ae855c8657a36014c5b0243ff69f4722 Author: Jaya Kumar Date: Thu Nov 17 10:12:23 2005 +0100 [ALSA] Add support for the CS5535 Audio device Add support for the CS5535 Audio device. I've fixed up some errors as per Takashi's advice from the thread: http://lkml.org/lkml/2005/9/15/119 From: Alan Cox cs5535 is a 32bit x86 only device using weird CPU features Signed-off-by: Jaya Kumar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit c3e6f7d8763fa0400d28c57633eb323515ba05fc Author: Takashi Iwai Date: Wed Nov 16 18:43:35 2005 +0100 [ALSA] Remove superfluous pcm_free callbacks Remove superflous pcm_free callbacks. Signed-off-by: Takashi Iwai commit f31a31b9024f21b2ad8f5a7c30e265a652e2e211 Author: Kurt J. Bosch Date: Wed Nov 16 18:41:21 2005 +0100 [ALSA] Fix missing suspend/resume-code for ens1371 Modules: ENS1370/1+ driver This patch fixes missing suspend/resume-code for snd-ens1371 (but not for snd-ens1370) Signed-off-by: Kurt J. Bosch Signed-off-by: Takashi Iwai commit 26741b5512a99ee35f398ef018d23a38e8dc6e8a Author: Daniel Mueller Date: Mon Nov 14 17:40:44 2005 +0100 [ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-M Modules: HDA Codec driver The patch fixes the problem of mute onboard HDA sound output, buildin V.92 modem idendification and functionality. Signed-off-by: Daniel Mueller Signed-off-by: Takashi Iwai commit b4a621f547ce78d6a415b3be2febd29b55e3235c Author: Jaroslav Kysela Date: Mon Nov 14 08:48:59 2005 +0100 [ALSA] ac97 - procfs - print PCI subsystem vendor/device values Modules: AC97 Codec For debugging and problem finding purposes, show also the PCI subsystem vendor/device values in the ac97#X proc file. Signed-off-by: Jaroslav Kysela commit 6ef7e8614c03f90ecb924938f5cc074af2723d35 Author: James Courtier-Dutton Date: Fri Nov 11 23:45:23 2005 +0100 [ALSA] snd-emu10k1: Found some new registers to display in debug mode. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e2b15f8f7dfc7a60ab89162502732120792a644f Author: James Courtier-Dutton Date: Fri Nov 11 23:39:05 2005 +0100 [ALSA] snd-emu10k1: Attenuate output volume to reduce distortion Modules: EMU10K1/EMU10K2 driver on Audigy 2 ZS Notebook. Set the master volume to about 6 or 8% in alsamixer. This will attenuate the output enough for better sound quality. Note: Only stereo enabled at present. The distortion is caused by the output path after the DSP adding 12dB gain to the output while still in digital mode, resulting in wrap around distortion. Signed-off-by: James Courtier-Dutton commit 755e137138007200c3e2549fbd8390a4e7708ed9 Author: Takashi Iwai Date: Fri Nov 11 21:05:27 2005 +0100 [ALSA] ali5451 - Fix and clean up codec accessor Modules: ALI5451 driver Fix the codec accessors to avoid soft lockup. Spin locks are revised, too. Signed-off-by: Takashi Iwai commit fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 Author: Jaroslav Kysela Date: Thu Nov 10 07:51:31 2005 +0100 [ALSA] ice1724 (juli) - forced analog doughter board detection Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela commit c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb Author: Takashi Iwai Date: Tue Nov 8 17:44:37 2005 +0100 [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR Modules: VIA82xx driver Added the dxs entry for MSI KT800 Delta-FSR. Signed-off-by: Takashi Iwai commit f6f8bb642350dafc21676ccd4fab333282064b8d Author: Lee Revell Date: Mon Nov 7 14:59:19 2005 +0100 [ALSA] Add support for Audigy 2 subsystem 2006 Modules: EMU10K1/EMU10K2 driver Add support for Audigy 2 subsystem 2006. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 2f020aa71197eddef749ad6202ca5a66c0c6e382 Author: Lee Revell Date: Mon Nov 7 14:54:24 2005 +0100 [ALSA] emu10k1 - Enable side surround channels for Audigy2 EX Modules: EMU10K1/EMU10K2 driver Enable side surround channels for Audigy2 EX. Tested by Rick Wright . Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 362775e2125b74cd04f83fd4ef5b72ef1ee6d3a1 Author: Randy Dunlap Date: Mon Nov 7 14:43:23 2005 +0100 [ALSA] sound/hda: rate-limit timeout message Modules: HDA Intel driver Rate-limit the azx_get_response timeout message. A continuous 2 per second is too much. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit d031166fecac97fc6b5c35636deace8a3c9ec5f6 Author: Takashi Iwai Date: Mon Nov 7 14:38:44 2005 +0100 [ALSA] hda-codec - Allocate amp hash array dynamically Modules: HDA Codec driver Allocate amp hash array dynamically instead of static array. Signed-off-by: Takashi Iwai commit febf7ea4bedcd36fba0843db726bba28d22bf89a Author: Date: Tue Jan 3 11:35:26 2006 +0100 gitignore: ignore more generated files Signed-off-by: Sam Ravnborg commit d985c1088146607532093d9eaaaf99758f6a4d21 Author: Dave Airlie Date: Mon Jan 2 21:32:48 2006 +1100 drm: major update from CVS for radeon and core This patch pull in a lot of changes from CVS to the main core DRM, and updates the radeon driver to 1.21.0 that supports r300 texrect and radeon card type ioctl. Signed-off-by: Dave Airlie commit b0cae664ebc85f2431c5a7c9e192a2a2ef72ecc7 Author: Dave Airlie Date: Mon Jan 2 21:23:07 2006 +1100 drm: update drm pci ids list Signed-off-by: Dave Airlie commit fe34765be1ee9465b10406e6e5dddbd43ddc4fbe Author: Dave Airlie Date: Mon Jan 2 21:19:39 2006 +1100 drm: drm_ioctl.c sync with fixes from CVS Apply the fixes from CVS that were outstanding for this file Signed-off-by: Dave Airlie commit b3a80a223d5f1af1e1713383376e5472cec4e20c Author: Dave Airlie Date: Mon Jan 2 21:15:01 2006 +1100 drm: update lock flags from userspace Signed-off-by: Dave Airlie commit 0d6aa60b4ac9689b750e35cd66f5d7c053aff0f4 Author: Dave Airlie Date: Mon Jan 2 20:14:23 2006 +1100 drm: update to i915 1.3.0 Add support for vblank ioctls to i915 driver From: Dave Airlie Signed-off-by: Dave Airlie commit f0c408b564ddefa0959ada4e2c2248f4a57f1842 Author: Dave Airlie Date: Mon Jan 2 19:52:09 2006 +1100 drm: update drm_memory_debug.h Update from DRM CVS for drm memory debug From: Jon Smirl Signed-off-by: Dave Airlie commit 1e7d51902a8bd08e37113aaf182d12233b157151 Author: Dave Airlie Date: Mon Jan 2 19:25:35 2006 +1100 drm: proper fix for drm_context Bad patch in last version Signed-off-by: Dave Airlie commit b5e9fc13dd0f25a2f422000c185f491bfd4f7335 Author: Dave Airlie Date: Mon Jan 2 19:23:44 2006 +1100 drm: fix issue with contexts running out of RAM Signed-off-by: Dave Airlie commit f26c473cdf557ea6e8f267d34eee82d30473a363 Author: Dave Airlie Date: Mon Jan 2 17:18:39 2006 +1100 drm: update PCIGART support from CVS In order to work on FreeBSD the gart needed to use a local mapping This patch moves the mainline to the new code and aligns some comment changes From: Eric Anholt Signed-off-by: Dave Airlie commit 0a406877e638a6f43ed4591bb08d528415d7d53a Author: Dave Airlie Date: Mon Jan 2 16:49:02 2006 +1100 drm: remove old reclaim_buffers from ix0 drivers From: Dave Airlie Signed-off-by: Dave Airlie commit 269dc51296f4e985741d2fd567e7be4e7a0a9f29 Author: Dave Airlie Date: Mon Jan 2 16:23:01 2006 +1100 drm: bring savage inline with latest CVS apply some whitespace cleanup and add wrappers for MTRR for OS calls From: Eric Anholt + Dave Airlie Signed-off-by: Dave Airlie commit 3528af1b189d0fbb4c7a3f121f46d9987b9af5b6 Author: Dave Airlie Date: Mon Jan 2 16:11:44 2006 +1100 drm: fix a LOR issue on FreeBSD for savage driver Correct a LOR issue on FreeBSD by allocating temporary space and doing a single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the temporary space allocation, but I like the simplification in the rest of the file. Tested with glxgears, tuxracer, and q3 on a savage4. From: Eric Anholt Signed-off-by: Dave Airlie commit 952d751a140e961f7ac67f743cf94d1a37c736e8 Author: Dave Airlie Date: Mon Jan 2 14:44:12 2006 +1100 drm: bring sis + tdfx up to latest CVS Cleanup SIS + TDFX drivers with latest changes from CVS. From: Eric Anholt Signed-off-by: Dave Airlie commit 443448d05468277abe99c9b24b9df538dd840f35 Author: Dave Airlie Date: Mon Jan 2 14:26:20 2006 +1100 drm: via driver update to CVS version This updates the DRM via driver to the latest CVS version, which contains support for DMA blitting. It also contains some whitespace and other minor fixes From: Thomas Hellstrom Signed-off-by: Dave Airlie commit a7a2cc315c8a5e51b08538d102ec3229c966ac87 Author: Dave Airlie Date: Mon Jan 2 13:54:04 2006 +1100 drm: move ioctl flags to a bit field of flags From: Dave Airlie Signed-off-by: Dave Airlie commit 00213b17cec87d2cd4df75bcc79aea7a91d8532d Author: Petr Baudis Date: Thu Dec 22 04:44:04 2005 +0100 kconfig: Remove support for lxdialog --checklist Remove support for lxdialog --checklist The checklist lxdialog functionality is not used by menuconfig (only the radiolist variant is used) and supporting it would significantly complicate the forthcoming liblxdialog API. Signed-off-by: Petr Baudis Signed-off-by: Sam Ravnborg commit 352dd1df32e672be4cff71132eb9c06a257872fe Author: Brian Gerst Date: Tue Dec 27 23:43:31 2005 -0500 gitignore: misc files Ignore all files generated from *_shipped files, plus a few others. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 02959a875caec8cabd36111046ad537251ef405f Author: Brian Gerst Date: Tue Dec 27 23:39:51 2005 -0500 gitignore: x86_64 files Add filters for x86_64 generated files. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 42f122c8f7e7134c824907358a5df94cfa38946d Author: Brian Gerst Date: Tue Dec 27 23:19:04 2005 -0500 gitignore: asm-offsets.h Ignore asm-offsets.h for all arches. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 6073aa643f52fd12b02f0532dc96287f4c3293b5 Author: Jan-Benedict Glaw Date: Sun Jan 1 14:23:47 2006 +0100 kbuild: tar-pkg with out-out-tree building Fix out-of-tree builds for the tar-pkg targets When I wrote the buildtar script, I didn't even think about out-of-tree builds because I didn't use these back then. This patch throughoutly uses ${objtree} instead of `pwd`. Also, the kernel version is no longer manually built. Instead, it will properly use $KERNELRELEASE . Installing modules is only done if CONFIG_MODULES is set. Signed-off-by: Jan-Benedict Glaw Signed-off-by: Sam Ravnborg commit 04348e69e7e78ad69a09b2e1157f628d6c764370 Author: Len Brown Date: Fri Dec 30 02:44:59 2005 -0500 [ACPI] reduce kernel size: move 5BK .bss to 2.5KB .init.data put __initdata on sdt_entry[], as it is accessed only by __init functions. http://bugzilla.kernel.org/show_bug.cgi?id=1311 Signed-off-by: Len Brown commit 6968e50c2b53805219618203db3d98566dfa1fdd Author: Len Brown Date: Fri Dec 30 00:32:49 2005 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 41c0d8680f7f24e1abaaeeabc6723277b2e34b81 Author: Len Brown Date: Wed Dec 28 12:43:51 2005 -0500 [ACPI] document processor.nocst parameter Signed-off-by: Len Brown commit e7c3aad53dba54d375b632f2a21b680546828dec Author: Dmitry Torokhov Date: Wed Dec 28 01:26:24 2005 -0500 Input: wistron - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding would work. Signed-off-by: Dmitry Torokhov commit 9d6c25029db6de7fc375b07da936c3341af0accf Author: Dmitry Torokhov Date: Wed Dec 28 01:25:53 2005 -0500 Input: maceps2 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 26421c7acc02847c724eb9f92797f84dbf9be007 Author: Dmitry Torokhov Date: Wed Dec 28 01:25:42 2005 -0500 Input: q40kbd - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 916d83cfe5da1cda454d8b0ae233f06b58bd7f91 Author: Dmitry Torokhov Date: Wed Dec 28 01:25:30 2005 -0500 Input: ct82c710 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 87fd6318a6c381ba1e10a4f56907d11ae4a987b9 Author: Dmitry Torokhov Date: Wed Dec 28 01:25:11 2005 -0500 Input: i8042 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 752625cff3eba81cbc886988d5b420064c033948 Author: Sam Ravnborg Date: Mon Dec 26 23:34:03 2005 +0100 kbuild: always run 'make silentoldconfig' when tree is cleaned If the file .kconfig.d is missing then make sure to run 'make silentoldconfig', since we have no way to detect if a Kconfig file has been updated. -kconfig.d is created by kconfig and is removed as part of 'make clean' so the situation is likely to occur in reality. Jan Beulich reported this bug. Signed-off-by: Sam Ravnborg commit 54e08a2392e99ba9e48ce1060e0b52a39118419c Author: Samuel Thibault Date: Mon Dec 26 02:47:18 2005 +0100 kbuild: tags file generation fixup Here is a fixup for tags file generation, for proper tags of __releases/__acquires functions. Signed-off-by: samuel.thibault@ens-lyon.org Signed-off-by: Sam Ravnborg commit 0d5416433190ee80a8146137dd84613bb9c7ae92 Author: Sam Ravnborg Date: Mon Dec 26 23:04:02 2005 +0100 kbuild: remove EXPERIMENTAL tag from Module versioning Module versioning support has been stable for a loong time so let's get rid of the EXPERIMENTAL tag. Signed-off-by: Sam Ravnborg commit c40f56409d01f6f1ea80ed4c229096749c2335df Author: Sam Ravnborg Date: Mon Dec 26 22:53:25 2005 +0100 kbuild: Create _shipped files for genksyms Generate _shipped files so the genksyms change in previous commit is enabled. The files are generated with latest versions of the tools: bison (GNU Bison) 2.0 flex version 2.5.4 GNU gperf 3.0.1 Signed-off-by: Sam Ravnborg commit a89a0a2354ae666612968e254d650bfd04f11eb6 Author: Robin Holt Date: Tue Dec 20 19:45:50 2005 -0600 kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); This is a one-line change to parse.y. To take advantage of this the scripts/genksyms/*_shipped files needs to be rebuild - this is the next patch. When a .c file contains: DEFINE_PER_CPU(struct foo_s *, bar); the .cpp output looks like: __attribute__((__section__(".data.percpu"))) __typeof__(struct foo_s *) per_cpu__bar; With the existing parse.y, the value inside the paranthesis of __typeof__() does not evaluate as a type_specifier and therefore per_cpu__bar does not get assigned a type for genksyms which results in the EXPORT_PER_CPU_SYMBOL() not generating a CRC value. I have compared the Modules.symvers with and without this patch and for ia64's defconfig, the only change is: Before 0x00000000 per_cpu____sn_nodepda vmlinux After 0x9d3f3faa per_cpu____sn_nodepda vmlinux per_cpu____sn_nodepda was the original source of my problems. Signed-off-by: Robin Holt Signed-off-by: Sam Ravnborg commit f83b5e323f57d6e1f35a839d663e91cebe985e54 Author: Ustyugov Roman Date: Fri Sep 23 08:42:11 2005 +0400 kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names This patch fixes a problem when we use well known kernel symbols as module names. For example, if module source name is current.c, idle_stack.c or etc., we have a bad KBUILD_MODNAME value. For example, KBUILD_MODNAME will be "get_current()" instead of "current", or "(init_thread_union.stack)" instead of "idle_task". The trick is to define a stringify macro on the commandline - named KBUILD_STR for namespace reasons - and then to stringify the module name. There are a few uses of KBUILD_MODNAME throughout the tree but the usage is for debug and will not be harmed by this change so left untouched for now. While at it KBUILD_BASENAME was changed too. Any spinlock usage in the unix module would have created wrong section names without it. Usage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME. Original patch from Ustyogov Roman - all bugs introduced by me. Signed-off-by: Sam Ravnborg commit 4d99f93bdaa1ab49188cac67b4aae9180f8e3960 Author: Sam Ravnborg Date: Sun Dec 25 23:21:14 2005 +0100 kbuild: escape '#' in .target.cmd files Commandlines are contained in the ..cmd files and in case they contain a '#' char make see this as start of comment. Teach fixdep to escape the '#' char so make will assing the full commandline. Signed-off-by: Sam Ravnborg commit f6333eb4e788bf70d6455c9004b6b676df62c500 Author: John Kacur Date: Sat Oct 29 00:25:13 2005 -0400 kbuild: Add ctags support for function prototypes and external variable declarations This patch adds function prototypes and external variable declarations to the set of tag kinds when running ctags. I find this useful when perusing the kernel. Please apply. Signed-off-by: John Kacur Signed-off-by: Sam Ravnborg commit 9572b28faf72859c6b91891c627870cfa282d19d Author: Luke Yang Date: Wed Dec 21 10:27:23 2005 +0800 kbuild: Fix crc-error warning on modules This is the patch for the following issue: In include/linux/module.h, "__crc_" and "__ksymtab_" are hard coded to be the prefix for some kinds of symbols (CRC symbol and ksymtab section). But in script /mod/modpost.c, MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC symbols. So if an architecture (such as h8300 or Blackfin) defines MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about "no invalid crc". And it is the same with KSYMTAB_PFX. Signed-off-by: Luke Yang Signed-off-by: Sam Ravnborg commit c4c48d83e9ffb1c25cccd59d5ea9dda6ded01faf Author: Stephen Hemminger Date: Tue Dec 20 15:08:10 2005 -0800 [PATCH] sky2: version 0.11 Version number change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e15b7124990e4b91645601e7a90d3fe72873336 Author: Stephen Hemminger Date: Tue Dec 20 15:08:09 2005 -0800 [PATCH] sky2: handle hardware packet overrun It is possible for hardware to get confused when an oversized frame is received. In that case, just drop the packet and increment a counter. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6ed995bb29f042eece8392d9bae0b83f84bcdb23 Author: Stephen Hemminger Date: Tue Dec 20 15:08:08 2005 -0800 [PATCH] sky2: don't lose multicast addresses Don't lose multicast addresses when link goes down or ring parameters change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1b537565a85cbe5cc9d5174d348a9014381af718 Author: Stephen Hemminger Date: Tue Dec 20 15:08:07 2005 -0800 [PATCH] sky2: handle out of memory on admin changes Don't die if we run out of memory on mtu or ring parameter change. For other admin operations, don't rebuild Rx ring, just restart the PHY. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit edd702e847fb8a9774a2ed8d50d2b8299b8c7f89 Author: Stephen Hemminger Date: Thu Dec 15 12:18:00 2005 -0800 [PATCH] skge: error handling on resume Also have to handle out of memory condition on resume. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b35de2eb389aa1889941ec3d02fff6d7a2569825 Author: Jens Osterkamp Date: Thu Dec 15 13:42:21 2005 +0100 [PATCH] spidernet: fix Kconfig after BPA->CELL rename We changed the name of the Kconfig symbols along with the move to arch/powerpc. This one hunk got lost during the conversion. From: Jens.Osterkamp@de.ibm.com Cc: netdev@vger.kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 26b7625c46d5d72570252d30fec6814682476684 Author: Andrew Morton Date: Wed Dec 14 19:25:23 2005 -0800 [PATCH] git-netdev-all: s2io warning fix drivers/net/s2io.c: In function `s2io_txdl_getskb': drivers/net/s2io.c:2023: warning: cast from pointer to integer of different size drivers/net/s2io.c: In function `s2io_open': drivers/net/s2io.c:3325: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c:3333: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c: In function `s2io_eeprom_test': drivers/net/s2io.c:4749: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4749: warning: long long unsigned int format, u64 arg (arg 4) drivers/net/s2io.c:4768: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4768: warning: long long unsigned int format, u64 arg (arg 4) I had to update this patch because more warnings have just appeared. You cannot print a u64 with %l or %ll. You do not know what type the architecture is using. It must be cast to a type which matches the printf control string - unsigned long long. The patch also fixes some overly-long strings. Please try to keep the code looking neat in an 80-col window. Cc: Jeff Garzik Cc: Ananda Raju Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f15943f500c2d3edaee6b4c23dfd738715e74618 Author: Stephen Hemminger Date: Wed Dec 14 15:47:49 2005 -0800 [PATCH] skge: version number (1.3) Enough changes for one version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20 Author: Stephen Hemminger Date: Wed Dec 14 15:47:48 2005 -0800 [PATCH] skge: handle out of memory on ring parameter change If changing ring parameters is unable to allocate memory, we need to return an error and take the device down. Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5715 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2770b5172e9b3d135b16d1e5d8344919ac09319d Author: Stephen Hemminger Date: Wed Dec 14 15:47:47 2005 -0800 [PATCH] skge: get rid of Yukon2 defines Don't need to keep Yukon-2 related definitions around for Skge driver that is only for Yukon-1 and Genesis. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 Author: Stephen Hemminger Date: Wed Dec 14 15:47:46 2005 -0800 [PATCH] skge: handle out of memory on MTU size changes Changing the MTU size causes the receiver to have to reallocate buffers. If this allocation fails, then we need to return an error, and take the device offline. It can then be brought back up or reconfigured for a smaller MTU. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e8df8554605f014765732605667145c0824a12b7 Author: Stephen Hemminger Date: Wed Dec 14 15:47:45 2005 -0800 [PATCH] skge: avoid up/down on pause param changes Change the pause settings doesn't need to cause link to go down/up. It can be handled by the phy_reset code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ee294dcda1d5dea5b909164cdc459a8483ee2983 Author: Stephen Hemminger Date: Wed Dec 14 15:47:44 2005 -0800 [PATCH] skge: avoid up/down on speed changes Change the speed settings doesn't need to cause link to go down/up. It can be handled by doing the same logic as nway_reset. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit aa84505fb0fb9504c61d77e8e6930a417fc404d6 Author: Stephen Hemminger Date: Wed Dec 14 14:38:44 2005 -0800 [PATCH] chelsio: transmit routine return values The Chelsio driver does not return the correct values from the transmit routine. It works because the values don't conflict, but it is using the wrong defines. And -ENOMEM is not a legal return value. Since t1_sge_tx is only called in one place, making it static allows compiler to be potentially inline it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8ea3694fcb7e5471cf84313a10e012b48e33c892 Author: Dmitry Torokhov Date: Wed Dec 21 01:02:54 2005 -0500 Input: logips2pp - add signature of MouseMan Wheel Mouse (87) Signed-off-by: Dmitry Torokhov commit f5b64078d75528f36b78d30e945bb1b05cb05f26 Author: Dmitry Torokhov Date: Wed Dec 21 00:52:35 2005 -0500 Input: sparcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f75e6bdfa011c0c2afa65ed1585200a3bc92ddf Author: Dmitry Torokhov Date: Wed Dec 21 00:52:29 2005 -0500 Input: m68kspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 59317747359dbc26af920813b3df358333a3840c Author: Dmitry Torokhov Date: Wed Dec 21 00:52:22 2005 -0500 Input: pcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f1a91e033f4ec60a70669e2e3e358d7e4f32495 Author: Daniele Gozzi Date: Wed Dec 21 00:52:10 2005 -0500 Input: lifebook - add DMI signature of Fujitsu Lifebook B142 This DMI data was found in Fujitsu LifeBook B142 (Product S/N FPC01003B, italian keyboard); re: bugzilla #5335 Signed-off-by: Dmitry Torokhov commit 41293e5368d9ba9760935cf510d2631c257f2b74 Author: Dmitry Torokhov Date: Wed Dec 21 00:52:00 2005 -0500 Input: add help entry for FM801 gameport driver to Kconfig Signed-off-by: Dmitry Torokhov commit 4eb38ac0629716871591b594fe0c611b19613983 Author: Dmitry Torokhov Date: Wed Dec 21 00:51:51 2005 -0500 Input: i8042 - disable MUX mode for Sharp MM20 Add yet another entry to the ever-growing list of boxes with non-working MUX implementation. Signed-off-by: Dmitry Torokhov commit ba44995a1e84b6cebf32e61d9492e8e133d192ce Author: Dmitry Torokhov Date: Wed Dec 21 00:51:31 2005 -0500 Input: psmouse - don't leave mouse asleep It looks like quite a few mice out there treat PSMOUSE_RESET_DIS as a powerdown request and turn off the light rendering the mouse unusable. Vojtech recommended to switch from PSMOUSE_RESET_DIS to full reset, however we don't want to do that everywhere as full reset is pretty slow. Instead we only use it before probing for "generic" protocols, such as IntelliMouse and Explorer, to make sure that the mouse will be woken up if it went to sleep as a result of PSMOUSE_RESET_DIS issued earlier. Signed-off-by: Dmitry Torokhov commit f5e9c9ca54e31c0f629bae487eadaa5b8515b86d Author: Larry Finger Date: Wed Dec 21 00:51:13 2005 -0500 Input: ALPS - add signature for HP ze1115 Signed-off-by: Dmitry Torokhov commit e1e02c9f766e5cf20d951d35e6d2bc2683aa87ef Author: Michael Hanselmann Date: Wed Dec 21 00:50:23 2005 -0500 Input: appletouch - add support for Geyser 2 This patch adds support for the Geyser 2 touchpads used on post Oct 2005 Apple PowerBooks to the appletouch driver. Signed-off-by: Michael Hanselmann Acked-by: Rene Nussbaumer Acked-by: Johannes Berg Acked-by: Stelian Pop Signed-off-by: Dmitry Torokhov commit 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 Author: Matthew Wilcox Date: Fri Dec 16 21:11:37 2005 -0700 [SCSI] Missing const in sr_vendor Fix compile warnings with current scsi-misc git tree Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee Author: Bodo Eggert <7eggert@gmx.de> Date: Wed Nov 23 20:11:34 2005 +0100 kbuild: document INSTALL_MOD_PATH in 'make help' Signed-Off-By: Bodo Eggert <7eggert@gmx.de> Signed-off-by: Sam Ravnborg commit 98a1e444111c9fd3f7a2b55225f7febf4209c020 Author: Brian Strand Date: Tue Nov 22 01:23:08 2005 +0000 kbuild: patch to Documentation/kbuild/modules.txt First off, thanks for the kbuild docs, they are very useful! Second, I've attached a patch to modules.txt (from 2.6.14.2) with a "compile" fix to a Makefile example, and some trivial spelling/grammar nits. Please let me know if you want the patch in some other format (eg not MIME), or if I should go bother someone else about it. Signed-off-by: Sam Ravnborg commit cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 Author: Adrian Bunk Date: Wed Dec 14 00:26:07 2005 +0100 [PATCH] kbuild: remove the deprecated check_gcc check_gcc has been deprecated for quite some time. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a Author: Sam Ravnborg Date: Fri Dec 16 21:35:19 2005 +0100 kconfig: move lxdialog to scripts/kconfig/lxdialog The only lxdialog user i kconfig - for menuconfig. So move it to reflect this. Signed-off-by: Sam Ravnborg commit 19c65091c133a98b20d867c94b1b1380a79e4b81 Author: Matthew Wilcox Date: Fri Dec 16 12:50:53 2005 -0500 [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver When the sym1 driver was in the tree, it used to share various parts of its infrastructure with the ncr driver. Now it's gone, these files are just an annoyance, so merge sym53c8xx_comm.h into ncr53c8xx.c and merge sym53c8xx_defs.h into ncr53c8xx.h. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit cd453c6353ea30171d966fd1dd87c37b05bccee1 Author: Matthew Wilcox Date: Fri Dec 16 12:50:53 2005 -0500 [SCSI] Use spi_print_msg in ncr53c8xx driver The ncr53c8xx driver had its own loop to print scsi messages. Use the SPI one instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 8f23d475581adac949315e3339421e12554932c9 Author: James Bottomley Date: Tue Nov 29 16:24:52 2005 -0600 [SCSI] 53c700: update endian processing macros This update now allows this driver to be used on big endian bus machines that aren't parisc. To do that, the driver must set a CONFIG_53C700_BE_BUS in Kconfig to compile the right macro versions. Signed-off-by: James Bottomley commit c4342d8a4d95e18b957b898dbf5bfce28fca2780 Author: Jack Morgenstein Date: Thu Dec 15 19:59:01 2005 -0800 IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP sae and sre bits should only be set when setting sra_max. Further, in the old code, if the caller specifies max_rd_atomic = 0, the sre and sae bits are still set, with the result that the QP ends up with max_rd_atomic = 1 in effect. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ef72582e7a02e1069c6e6bf5eecf6f388b1467c6 Author: Matthew Wilcox Date: Thu Dec 15 16:22:01 2005 -0500 [SCSI] Add PPR support to spi_print_msg Introduce a new helper, print_nego() to handle SDTR/WDTR/PPR. Split out the guts of show_spi_transport_period_helper() into period_to_str() and use it in print_nego to get the period factor conversion right. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b32aaffcdc694650d299a59501c5b3e267fca343 Author: Matthew Wilcox Date: Thu Dec 15 16:22:01 2005 -0500 [SCSI] Use ARRAY_SIZE in spi_print_msg Replace the custom NO_*_MSGS definitions with uses of ARRAY_SIZE. This fixes a bug in the definition of NO_EXTENDED_MSGS. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 479721538957d514df6dcb29f66e5edd26393bb1 Author: Matthew Wilcox Date: Thu Dec 15 16:22:01 2005 -0500 [SCSI] Fix printing of two-byte messages A missing comma meant that "Ordered Queue Tag" and "Ignore Wide Residue" were being concatenated together. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1abfd370134553f3b47e3e40a0526e05001409c2 Author: Matthew Wilcox Date: Thu Dec 15 16:22:01 2005 -0500 [SCSI] Rename scsi_print_msg to spi_print_msg Rename scsi_print_msg to spi_print_msg and move its prototype from scsi_dbg.h to scsi_transport_spi.h Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b Author: Matthew Wilcox Date: Thu Dec 15 16:22:01 2005 -0500 [SCSI] Move scsi_print_msg to SPI class scsi_print_msg() is an SPI-specific concept. This patch moves it from constants.c to scsi_transport_spi.c and updates the Kconfig to link in the SPI class for the drivers which use scsi_print_msg(). Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 7b16318dea8d9840dac567a2ae8c50ecdea36aea Author: James Bottomley Date: Thu Dec 15 20:17:02 2005 -0600 Fix up SCSI mismerge I forgot to do a git-update-cache on the merged files ... commit 787926b1b2d21d42ca462dc736b77f1a4a30c503 Author: Kai Makisara Date: Sun Nov 13 10:04:44 2005 +0200 [SCSI] Fix st oops with new scsi_execute infrastructure Patch from Kai minus last sg_segs clearing which was merged already. > > Was there a oops or lockup or any debug output you can send me? I will try > > some more large request tests with scsi_debug. You also have to compile your > > kernel with SCSI_MAX_PHYS_SEGMENTS == 255 to get larger requests now. > It was an oops in sgl_unmap_user_pages(). The reason is this: /* XXX: just for debug. Remove when PageReserved is removed */ BUG_ON(PageReserved(page)); I was using /dev/zero as input and it triggers this. When I used a file as input, this did not trigger. Should this BUG_ON be removed? In the same log I noticed that there was another ->sg_segs inconsistency. Also, the field ->last_SRpnt was not reset when scsi_execute_async() failed. This caused the error message "Async command already active" later and prevented proper close. While doing the changes, I noticed that the current code (since 2.6.0-test4) does not set the pages dirty when reading with direct i/o. All of these st problems (including the one I sent earlier) are fixed in the patch at the end of this message. These fixes should probably be included already in 2.6.15. After these fixes, the tape seems to operate as expected. Without other changes, the largest block size with sym53c896 SCSI adapter is 384 kB. The maximum number of sg segments is set to 96 and clustering is disabled in the driver. 96 x 4 kB = 384 kB. OK. I enabled clustering and set max_sectors to 10000 in the SCSI HBA driver. Now the block size limit is 5000 kB as expected. Signed-off-by: James Bottomley commit defd94b75409b983f94548ea2f52ff5787ddb848 Author: Mike Christie Date: Mon Dec 5 02:37:06 2005 -0600 [SCSI] seperate max_sectors from max_hw_sectors - export __blk_put_request and blk_execute_rq_nowait needed for async REQ_BLOCK_PC requests - seperate max_hw_sectors and max_sectors for block/scsi_ioctl.c and SG_IO bio.c helpers per Jens's last comments. Since block/scsi_ioctl.c SG_IO was already testing against max_sectors and SCSI-ml was setting max_sectors and max_hw_sectors to the same value this does not change any scsi SG_IO behavior. It only prepares ll_rw_blk.c, scsi_ioctl.c and bio.c for when SCSI-ml begins to set a valid max_hw_sectors for all LLDs. Today if a LLD does not set it SCSI-ml sets it to a safe default and some LLDs set it to a artificial low value to overcome memory and feedback issues. Note: Since we now cap max_sectors to BLK_DEF_MAX_SECTORS, which is 1024, drivers that used to call blk_queue_max_sectors with a large value of max_sectors will now see the fs requests capped to BLK_DEF_MAX_SECTORS. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d1646f86a2a05a956adbb163c81a81bd621f055e Author: Jack Morgenstein Date: Thu Dec 15 14:36:24 2005 -0800 IB/mthca: Fix IB_QP_ACCESS_FLAGS handling. This patch corrects some corner cases in managing the RAE/RRE bits in the mthca qp context. These bits need to be zero if the user requests max_dest_rd_atomic of zero. The bits need to be restored to the value implied by the qp access flags attribute in a previous (or the current) modify-qp command if the dest_rd_atomic variable is changed to non-zero. In the current implementation, the following scenario will not work: RESET-to-INIT set QP access flags to all disabled (zeroes) INIT-to-RTR set max_dest_rd_atomic=10, AND set qp_access_flags = IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_ATOMIC The current code will incorrectly take the access-flags value set in the RESET-to-INIT transition. We can simplify, and correct, this IB_QP_ACCESS_FLAGS handling: it is always safe to set qp access flags in the firmware command if either of IB_QP_MAX_DEST_RD_ATOMIC or IB_QP_ACCESS_FLAGS is set, so let's just set it to the correct value, always. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 576d2e4e40315e8140c04be99cd057720d8a3817 Author: Jack Morgenstein Date: Thu Dec 15 14:20:23 2005 -0800 IB/mthca: Fix SRQ cleanup during QP destroy When cleaning up a CQ for a QP attached to SRQ, need to free an SRQ WQE only if the CQE is a receive completion. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 6c7d2a75b512c64c910b69adf32dbaddb461910b Author: Michael S. Tsirkin Date: Thu Dec 15 13:55:50 2005 -0800 IB/mthca: Fix thinko in mthca_table_find() break only escapes from the innermost loop, and we want to escape both loops and return an answer. Noticed by Ishai Rabinovitch. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b05b773b6030de5b1bab1cbb0bf1ff8c34cdbe0 Author: Mike Christie Date: Tue Nov 8 04:06:44 2005 -0600 [SCSI] convert st to use scsi_execute_async convert st to always send scatterlists and kill scsi_request usage. This is the same as last time as it was posted, but with Kai's patches merged and we now pass the bytes value to scsi_execute_async. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code handle all queue limits so we can find out about problems before calling scsi_execute_async. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d6b10348f9397943eb968419a2b7f08895e38472 Author: Mike Christie Date: Tue Nov 8 04:06:41 2005 -0600 [SCSI] convert sg to scsi_execute_async Convert sg to always send scatterlists, and kill scsi_request usage. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code obey all queue limits so we can find out about problems before calling scsi_execute_async. Currently, sg.c could allocate a buffer that is too large, and send the request to scsi_execute_async. scsi_execute_async will then check it against all the queue limits and return a failure in this case. It would nicer to know about the queue limit violation right away. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit aa7b5cd750c766f66a92c9f78ba176bc77512b7e Author: Mike Christie Date: Fri Nov 11 05:31:41 2005 -0600 [SCSI] add kmemcache for scsi_io_context Add kmemcache of scsi io contexts. In the future when we finalize on where these functions will live we can add a mempool for it and do a bioset for out REQ_BLOCK_PC bios. This is needed becuase the dm-multipath handlers will want to use the scsi_exectute* functions for failover and we cannot have them and the bio device allocating from the same mempool. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 0d95716d6a1308c465d8c17ed1a217628936bb0c Author: Mike Christie Date: Fri Nov 11 05:31:40 2005 -0600 [SCSI] complete the whole command when it is REQ_BLOCK_PC sd does not allow scsi_io_completion to retry commands for SG_IO requests, and it make sense that it should not happen for st SG_IO commands too. If for st we hit the bottom of scsi_io_completion we will probably screw things up pretty bad. This patch returns to the block layer that the whole command completed and relies on the caller to check the request errors field. For initialization commands like in sd, this adds the previous behavior where scsi_io_completion did not process the error. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 17e01f216b611fc46956dcd9063aec4de75991e3 Author: Mike Christie Date: Fri Nov 11 05:31:37 2005 -0600 [SCSI] add retries field to request for REQ_BLOCK_PC use For tape we need to control the retries. This patch adds a retries counter on the request for REQ_BLOCK_PC commands originating from scsi_execute* to use. REQ_BLOCK_PC commands comming from the block layer SG_IO path continue to use the retires set in the ULD init_command. (scsi_execute* does not set the gendisk so we do not execute the init_command in that path). Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e68af666f5336254b5715dca591026b7324499a Author: Mike Christie Date: Fri Nov 11 05:30:27 2005 -0600 [SCSI] Convert SCSI mid-layer to scsi_execute_async Add scsi helpers to create really-large-requests and convert scsi-ml to scsi_execute_async(). Per Jens's previous comments, I placed this function in scsi_lib.c. I made it follow all the queue's limits - I think I did at least :), so I removed the warning on the function header. I think the scsi_execute_* functions should eventually take a request_queue and be placed some place where the dm-multipath hw_handler can use them if that failover code is going to stay in the kernel. That conversion patch will be sent in another mail though. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc Author: Mike Christie Date: Fri Nov 11 05:30:24 2005 -0600 [SCSI] export blk layer functions needed for blk_execute_rq_nowait To send async requests we need these two functions exported. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 Author: Jesper Juhl Date: Wed Dec 14 19:27:20 2005 +0100 [SCSI] handle scsi_add_host failure for aic7xxx and fix compiler warning Add scsi_add_host() failure handling for aic7xxx Also silence a compiler warning : drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_register_host': drivers/scsi/aic7xxx/aic7xxx_osm.c:1100: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit e7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7 Author: Jesper Juhl Date: Wed Dec 14 19:27:28 2005 +0100 [SCSI] handle scsi_add_host failure for aic79xx and fix compiler warning Add scsi_add_host() failure handling for aic79xx Also silence a compiler warning : drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_register_host': drivers/scsi/aic7xxx/aic79xx_osm.c:1099: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit 829b84675edbe05f11c289946216da4f5c6b8e94 Author: Matthew Wilcox Date: Tue Dec 13 10:29:31 2005 -0700 [SCSI] Make scsi_transport_spi.h includable by itself Add forward declarations to allow scsi_transport_spi.h to be compiled by itself. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 38d76df2f5483478dee803cb6e39da5e506a6643 Author: Alan Stern Date: Fri Dec 9 11:34:45 2005 -0500 [SCSI] sd: Always do write-protect check Since nobody has offered an explanation for why the sd driver makes a write-protect check only for devices with removable media, I'm submitting this patch to get rid of the removable-media test. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4 Author: Moore, Eric Dean Date: Thu Dec 1 16:51:02 2005 -0700 [SCSI] pci_ids.h: add subclass code for SAS Controllers Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f61c1c41b6b959d08d87eee876406bdbcac77b7c Author: Moore, Eric Dean Date: Wed Nov 16 18:54:27 2005 -0700 [SCSI] mptfusion - bump version Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c7c82987b4844f555d309ccbd42abe95d46822ff Author: Moore, Eric Dean Date: Wed Nov 16 18:54:25 2005 -0700 [SCSI] mptfusion - mapping fixs required support for transport layers. This utilizes the hostdata area that is hung off of scsi_target and scsi_device for saving unique firmware mapping. This will be required for supporting new Fibre and SPI transport support. This also fixs problems in error handling error code for SAS controllers, in which the incorrect mapping was passed to the firmware. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f2ea8671a8376e09cf759aa8cb3de8b8d3bced9e Author: Moore, Eric Dean Date: Wed Nov 16 18:54:23 2005 -0700 [SCSI] mptfusion - prep for removing domain validation This moves some functions around from within the #define MPTSCSIH_ENABLE_DOMAIN_VALIDATION area, in preperation for generic domain validation. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit a9b2937a1eab2939d0eed3830ead88664ed7445d Author: Moore, Eric Dean Date: Wed Nov 16 18:54:20 2005 -0700 [SCSI] mptfusion - bus_type, change SCSI to SPI This changes to SPI for the bus_type enumeration. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 7acec1e7556a861416bb6b10f3e3cbb6e82fc01d Author: Moore, Eric Dean Date: Wed Nov 16 18:54:17 2005 -0700 [SCSI] mptfusion - cleaning up xxx_probe error handling This cleans the returning failure conditions of the mptsas/mptfc/mptspi probe routines. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f78496da6a85f4b5f4532d7bf85b05fa655146a8 Author: Moore, Eric Dean Date: Wed Nov 16 18:54:14 2005 -0700 [SCSI] mptfusion - adding = THIS_MODULE Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 1cb25a27d0a3f8296e67e5cc915048db10910d4f Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:42:49 2005 -0500 [SCSI] lpfc 8.1.1 : Change version number to 8.1.1 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fefcb2b677fbfce894133e59a34395f8988d4610 Author: James.Smart@Emulex.Com Date: Mon Nov 28 15:08:56 2005 -0500 [SCSI] lpfc 8.1.1 : kill use of pci_read_config_xxx Signed-off-by: James Bottomley commit 445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:42:38 2005 -0500 [SCSI] lpfc 8.1.1 : Added code to adjust lun queue depth to avoid target overloading Signed-off-by: James Smart Signed-off-by: James Bottomley commit 875fbdfe9b1b4c8f12622a8d8d81428ff0984875 Author: James.Smart@Emulex.Com Date: Tue Nov 29 16:32:13 2005 -0500 [SCSI] lpfc 8.1.1 : Add polled-mode support - Add functionality to run in polled mode only. Includes run time attribute to enable mode. - Enable runtime writable hba settings for coallescing and delay parameters Customers have requested a mode in the driver to run strictly polled. This is generally to support an environment where the server is extremely loaded and is looking to reclaim some cpu cycles from adapter interrupt handling. This patch adds a new "poll" attribute, and the following behavior: if value is 0 (default): The driver uses the normal method for i/o completion. It uses the firmware feature of interrupt coalesing. The firmware allows a minimum number of i/o completions before an interrupt, or a maximum time delay between interrupts. By default, the driver sets these to no delay (disabled) or 1 i/o - meaning coalescing is disabled. Attributes were provided to change the coalescing values, but it was a module-load time only and global across all adapters. This patch allows them to be writable on a per-adapter basis. if value is 1 : Interrupts are left enabled, expecting that the user has tuned the interrupt coalescing values. When this setting is enabled, the driver will attempt to service completed i/o whenever new i/o is submitted to the adapter. If the coalescing values are large, and the i/o generation rate steady, an interrupt will be avoided by servicing completed i/o prior to the coalescing thresholds kicking in. However, if the i/o completion load is high enough or i/o generation slow, the coalescion values will ensure that completed i/o is serviced in a timely fashion. if value is 3 : Turns off FCP i/o interrupts altogether. The coalescing values now have no effect. A new attribute "poll_tmo" (default 10ms) exists to set the polling interval for i/o completion. When this setting is enabled, the driver will attempt to service completed i/o and restart the interval timer whenever new i/o is submitted. This behavior allows for servicing of completed i/o sooner than the interval timer, but ensures that if no i/o is being issued, then the interval timer will kick in to service the outstanding i/o. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5cc36b3cd0e3610ad7c7e2514160998276798fc0 Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:42:19 2005 -0500 [SCSI] lpfc 8.1.1 : Bring model descriptions in sync with Emulex standard generic names Signed-off-by: James Smart Signed-off-by: James Bottomley commit e4adb20406385d1cc8fdb15e92ed7ac3d0ae41f6 Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:42:12 2005 -0500 [SCSI] lpfc 8.1.1 : Add support for more members of the Light Pulse 11xxx (4Gb) family Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6175c02a0b12f92c03b56c756c4f1e131ae1456c Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:42:05 2005 -0500 [SCSI] lpfc 8.1.1 : Fixes to error handlers - Release task management command before counting outstanding commands. TMF was being erroneously counted as an active outstanding command. - Serialize EH calls and block requests when EH function is running. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 63c59c3b8ff444b771a245f59935c0202ece963b Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:41:53 2005 -0500 [SCSI] lpfc 8.1.1 : Remove locking wrappers around error handlers Remove locking wrappers around error handlers. Wrappers were added in early 2.6.13 api change Signed-off-by: James Smart Signed-off-by: James Bottomley commit 23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:41:44 2005 -0500 [SCSI] lpfc 8.1.1 : Adjust use of scsi_block_requests and interaction w/ FC transport - Remove unnecessary scsi_block_requests calls on rport deletes. This was deadlocking the sdev removals as they wanted to flush commands. - No longer block requests when adding the remote port (to block discovery). Instead, register, then change port role. Maps to Qlogic behavior, and closer to the register-node-upon-first-ELS behavior. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6281bfe0002acd7765cb4afe0304c36962ad6b15 Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:41:33 2005 -0500 [SCSI] lpfc 8.1.1 : Fixes for short cable pulls Cause: Link bounces were causing discovery ELS's to be killed. Driver was not properly flushing ELS commands upon the subsequent link bounces. Thus, processing of ELS post link bounce erroneously assumed discovery failure and device loss. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2fb70f79936e7180e8b0287a4053b8ba89182717 Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:41:24 2005 -0500 [SCSI] lpfc 8.1.1 : Correct some 8bit to 16bit field conversions/comparisons Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1de933f35b17622f977eff1630eb1f2c92e9450c Author: James.Smart@Emulex.Com Date: Mon Nov 28 11:41:15 2005 -0500 [SCSI] lpfc 8.1.1: Miscellaneous Cleanups Miscellaneous Cleanups: - Remove ProgType READ_REV mailbox command value check in lpfc_config_port_prep. - Convert simple printk to an lpfc_printf_log in queuecommand. - Modify lpfc_abort_handler message 0749 to display more accurate text and data. - Minor style cleanup: fix 3 long lines in lpfc_hw.h Signed-off-by: James Smart Signed-off-by: James Bottomley commit 0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 Author: James Bottomley Date: Thu Dec 1 12:51:50 2005 -0600 [SCSI] qla2xxx: fix compile error caused by pci_dev.owner move Signed-off-by: James Bottomley commit 7f23e146a122966bd58e5da9c16a0e12385f09fc Author: James Bottomley Date: Thu Dec 1 12:50:13 2005 -0600 [SCSI] correct some dropped const compiler warnings Make the vendor, model and rev fields in scsi_device pointers to const and update a few prototypes of functions using them. Signed-off-by: James Bottomley commit 8a47cd340b4a299087f926ff2780d1eb08513f04 Author: Mike Christie Date: Wed Nov 30 02:27:19 2005 -0600 [SCSI] iscsi: check header digests for mgmt tasks From Wang Zhenyu: check header digest for cmd and mgmt tasks Signed-off-by: Wang Zhenyu Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 4d841d6bd94d55642f8dbb11d6b672b3b50ff82e Author: Mike Christie Date: Tue Nov 29 23:13:01 2005 -0600 [SCSI] iscsi: update version Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 9e3961ba2be51a88c6223143568c80e0616d93ce Author: Mike Christie Date: Tue Nov 29 23:12:59 2005 -0600 [SCSI] iscsi: lower queue depth From Wang Zhenyu: High queue depth was a problem for some targets so make queue_depth adjustable From Mike Christie Make default queue_depth a little lower Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit f6cfba1d21e9e4afd80e2274aa4df3dc1bd0aab7 Author: Mike Christie Date: Tue Nov 29 23:12:57 2005 -0600 [SCSI] iscsi: data digest calculation fix From Wang Zhenyu: data digest fix (the bug caused data corruption w/Wasabi StorageBuilder target) Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 733bb6a70cb351786f3c2290ab22f71b612e6893 Author: Mike Christie Date: Tue Nov 29 23:12:54 2005 -0600 [SCSI] iscsi: iscsi response fix from Wang Zhenyu: Must check SCSI CMD and R2T response according to the spec Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit e6273993dbcb8d805dd868e2128c3503a3bb1964 Author: Mike Christie Date: Tue Nov 29 23:12:49 2005 -0600 [SCSI] iscsi: redirect fix From tomof@acm.org: There is one more issue about Equallogic systems. They send re-direction info with FIN. I think that the kernel module needs to let iscsid to read data from the socket before killing it. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 0d2f16559a9015c4daa8babfc443bf2b8740fbd9 Author: Mike Christie Date: Tue Nov 29 23:12:46 2005 -0600 [SCSI] iscsi: opcode check fix Must check only valid opcode bits. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit ad94c9340a76db187166f2342ba0ff568dc7801f Author: Matthew Wilcox Date: Tue Nov 29 23:08:48 2005 -0500 [SCSI] sym2: Version 2.2.2 Update version number to 2.2.2 Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 66e8d1cc64e95be78e6138cc88635f7e3108ef58 Author: Matthew Wilcox Date: Tue Nov 29 23:08:46 2005 -0500 [SCSI] sym2: Report disabled devices and LUNs more attractively Rather than print a list of targets at driver init time, print each disabled target as we attempt to scan it. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b37df48923b76155de2a728e1155ed263dba5f53 Author: Matthew Wilcox Date: Tue Nov 29 23:08:44 2005 -0500 [SCSI] sym2: Allow NVRAM settings to limit speed and width The NVRAM for both Tekram and Symbios boards allows the user to set the speed and width for individual targets. I took that code out in March 2004 when we introduced Domain Validation, but it seems there's still a legitimate need for it in some configurations. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 33333bacf523bb4bb903058fec6041a5952c93c6 Author: Matthew Wilcox Date: Tue Nov 29 23:08:42 2005 -0500 [SCSI] sym2: Use scsi_print_msg sym_show_msg was almost a duplicate of scsi_print_msg, except not as featureful. So use the common code instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1e8eb21ea7b5c318d881eab878f3e545e55fa273 Author: Matthew Wilcox Date: Tue Nov 29 23:08:36 2005 -0500 [SCSI] sym2: Use DMA_40BIT_MASK constant Now that this constant has been added to dma-mapping.h, we don't need our own definition Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 44f30b0f59d628eb6f57cfa9d8ab06da670e5306 Author: Matthew Wilcox Date: Tue Nov 29 23:08:33 2005 -0500 [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests The upper layer doesn't send these down since 2.4.x (or 2.6 in practice), so no need to handle it. Inline sym_setup_data_pointers into its only caller so we can fail gracefully in the case we'd get one neverless. Signed-off-by: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 84e203a279d3de1c8a41a73ab45e55a89bc19345 Author: Matthew Wilcox Date: Tue Nov 29 23:08:31 2005 -0500 [SCSI] sym2: Manage sym_lcb properly Allocate the lcb in slave_alloc and free it in slave_destroy. This allows us to remove all the code that checks to see if it's already been allocated. From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 760c9de589175f5285668d17825c259aec08370c Author: Matthew Wilcox Date: Tue Nov 29 23:08:29 2005 -0500 [SCSI] sym2: Remove last vestiges of sym_sniff_inquiry The SYM_OPT_SNIFF_INQUIRY define is never set any more, and the sym_sniff_inquiry() function doesn't exist From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 47be1e0ee1f484c8127f306e06ed3be91add07ee Author: Matthew Wilcox Date: Tue Nov 29 23:08:27 2005 -0500 [SCSI] sym2: Remove FreeBSD ifdefs Remove FreeBSD ifdefs from sym2 driver Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit dc25fcfbba513f8de8d1531b47fc9daa33d84f5a Author: Matthew Wilcox Date: Thu Nov 10 07:45:55 2005 -0700 [SCSI] Mention scsi_scan_host() in scsi_mid_low_api.txt Update to mention scsi_scan_host() Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit c6ce15d7cdb3f6cb3ff442ac01eb6c5f0fe321af Author: Andrew Vasquez Date: Wed Nov 9 15:49:33 2005 -0800 [SCSI] qla2xxx: Resync with latest released ISP24xx firmware -- 4.00.16. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 331e34768657ead5a5b169337351e045305cafcb Author: Andrew Vasquez Date: Wed Nov 9 15:49:19 2005 -0800 [SCSI] qla2xxx: Add support for embedded ISP24xx firmware. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 5433383ef33ed40c9c8a86a4355da344234af2a5 Author: Andrew Vasquez Date: Wed Nov 9 15:49:04 2005 -0800 [SCSI] qla2xxx: Add full firmware(-request) hotplug support for all ISPs. Transition driver to exclusively use the request_firmware() interfaces to retrieve firmware-blobs from user-space. This will be the default behaviour going forward until the embedded firmware-binary images are removed from the upstream kernel. Upon request, the driver caches the firmware image until the driver is unloaded. NOTE: The option is present to allow the user to continue to use the firmware-loader modules, but, should be considered deprecated. Signed-off-by: Andrew Vasquez Rejections fixed up and Signed-off-by: James Bottomley commit 26a68019c86e1d1782984a7a5babff762cde1501 Author: Jens Axboe Date: Tue Nov 29 21:03:34 2005 +0100 [SCSI] scsi_lib: stricter checks for clearing use_10_for_rw Check the asc and ascq for being "invalid command opcode" as well. Signed-off-by: James Bottomley commit 493ff4ee7f93a2b53ed60197e05aa145eec8f8f5 Author: Matthew Wilcox Date: Thu Nov 17 11:13:43 2005 -0700 [SCSI] Delete trailing full stop None of the other domain validation messages have a trailing full stop, so I don't see why this one should. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 0ad78200baf1f85a21e6b26c225717ad80980d8f Author: Arjan van de Ven Date: Mon Nov 28 16:22:25 2005 +0100 [SCSI] Mark some core scsi data structures const patch below marks a few scsi core datastructures as const, so that they end up in the .rodata section and don't cacheline share with things that get dirtied Signed-off-by: Arjan van de Ven Signed-off-by: James Bottomley commit ce155ccecd4094e7b5e68058d26db691713240fc Author: brking@us.ibm.com Date: Thu Nov 17 09:35:12 2005 -0600 [SCSI] ipr: Driver initialization fix for kexec/kdump When kexec booting a kernel when the previous kernel did not call ipr's shutdown method, the ipr adapter does not get properly initialized, which can result in the ipr adapter completing commands issued by the previous kernel. Fix ipr to detect this scenario by reading the adapter's interrupt mask register and the microprocessor interrupt register. If the interrupt mask register indicates that interrupts are enabled or the reset alert bit is set when the card is probed, this means the card is in an unknown state and we hard reset the card. Signed-off-by: Brian King Signed-off-by: James Bottomley commit ed7e8ef7f12f5c3c8bbb85eeb0a1ded91c7c5dbf Author: Ju, Seokmann Date: Thu Nov 17 13:17:25 2005 -0500 [SCSI] megaraid_{mbox,mm} : remove PCI Id overlaping between megaraid_legacy and megaraid_{mbox,mm} Signed-off-by: James Bottomley commit 3492b328834319c9503c0a34c50fb3f009556443 Author: Ju, Seokmann Date: Thu Nov 17 13:13:31 2005 -0500 [SCSI] megaraid_legacy: removed PCI ID overlap from the driv er This patch fixes - PCI ID overlap issue - node name changed to 'megaraid_legacy' I hope this patch addresses concerns brought by Daniel Drake. Signed-off by: Seokmann Ju Signed-off-by: James Bottomley commit eaceec7f6cc5223d0f146086884d67746b8aa81d Author: Stefan Richter Date: Tue Dec 13 11:05:05 2005 -0500 sbp2: remove duplicate code from sbp2_start_device() Use sbp2_remove_device() to free FIFO and ORB DMAs in a failure case. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit cf8d2c0965b891a5efce8c3a9a07a522e91ddba2 Author: Stefan Richter Date: Tue Dec 13 11:05:03 2005 -0500 sbp2: split sbp2_create_command_orb() for better readability sbp2_create_command_orb() code cleanup: - add two helper functions to reduce nesting depth - omit the return value which was always ignored - remove unnecessary declaration from sb2.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 209171a17a908605e516d11436371337a5d87f06 Author: Stefan Richter Date: Tue Dec 13 11:05:00 2005 -0500 ohci1394: log number of implemented isochronous contexts Print the number of IR and IT contexts which a hardware implements as an informational log message when ohci1394 initializes. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 2bd0fa3b62e8565a80f9535e0f2bd51bba46213f Author: Jesse Barnes Date: Tue Dec 13 03:05:03 2005 -0500 [PATCH] add boot option to control Intel SATA/PATA combined mode Combined mode sucks. Especially when both libata and the legacy IDE drivers try to drive ports on the same device, since that makes DMA rather difficult. This patch addresses the problem by allowing the user to control which driver binds to the ports in a combined mode configuration. In many cases, they'll probably want the libata driver to control both ports since it can use DMA for talking with ATAPI devices (when libata.atapi_enabled=1 of course). It also allows the user to get old school behavior by letting the legacy IDE driver bind to both ports. But neither is forced, the patch doesn't change current behavior unless one of combined_mode=ide or combined_mode=libata is passed on the boot line. Either of those options may require you to access your devices via different device nodes (/dev/hd* in the ide case and /dev/sd* in the libata case), though of course if you have udev installed nicely you may not notice anything. :) Let me know if the documentation is too cryptic, I'd be happy to expand on it if necessary. I think most users will want to boot with 'combined_mode=libata' and add 'options libata atapi_enabled=1' to their modules.conf to get good DVD playing and disk behavior (haven't tested CD or DVD writing though). I'd much rather things behave sanely by default (i.e. DMA for devices on both ports), but apparently that's difficult given the various chip bugs and hardware configs out there (not to mention that people's drives may suddenly change from /dev/hdc to /dev/sdb), so this boot option may be the correct long term fix. Signed-off-by: Jesse Barnes Signed-off-by: Jeff Garzik commit b5632303401c231bf270ef36f1013e52caf4caf9 Author: Tejun Heo Date: Tue Dec 13 14:51:25 2005 +0900 [PATCH] libata: remove unused qc->waiting There is no user of qc->waiting left after ata_exec_internal() changes. Kill the field. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 82033adf0a4b26eb0c0c90e224848431e2a59bc6 Author: Tejun Heo Date: Tue Dec 13 14:50:38 2005 +0900 [PATCH] libata: remove unused functions There is no user of ata_qc_wait_err() and ata_qc_complete_noop() after ata_exec_internal() changes. Remove unused functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a012370322eafee642369784ff71afe81f5a8592 Author: Tejun Heo Date: Tue Dec 13 14:49:31 2005 +0900 [PATCH] libata: use ata_exec_internal() This patch converts all users of libata internal commands to use ata_exec_internal(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a2a7a662f80d8b7f2295a36de1f9b033ed0b910c Author: Tejun Heo Date: Tue Dec 13 14:48:31 2005 +0900 [PATCH] libata: implement ata_exec_internal() This patch implements ata_exec_internal() function which performs libata internal command execution. Previously, this was done by each user by manually initializing a qc, issueing it, waiting for its completion and handling errors. In addition to obvious code factoring, using ata_exec_internal() fixes the following bugs. * qc not freed on issue failure * ap->qactive clearing could race with the next internal command * race between timeout handling and irq * ignoring error condition not represented in tf->status Also, qc & hardware are not accessed anymore once it's completed, making internal commands more conformant with general semantics. ata_exec_internal() also makes it easy to issue internal commands from multiple threads if that becomes necessary. This patch only implements ata_exec_internal(). A following patch will convert all users. Signed-off-by: Tejun Heo -- Jeff, all patches have been regenerated against upstream branch as of today. (575ab52a218e4ff0667a6cbd972c3af443ee8713) Also, I took out a debug printk from ata_exec_internal (don't know how that one got left there). Other than that, all patches are identical to the previous posting. Thanks. :-) Signed-off-by: Jeff Garzik commit fd803241744ad6e4262b6588c6af89e8fb794098 Author: Jeff Kirsher Date: Tue Dec 13 00:06:22 2005 -0500 e1000: Fixes for 8357x - TSO workaround - Fixes eeprom version reporting - Fix loopback test - Fix for WOL Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jesse Brandeburg commit c621b140603dfb4a89809e00f965d42c054871e0 Author: Alan Cox Date: Thu Dec 8 19:22:28 2005 +0000 [PATCH] libata: ata_piix 450NX errata Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac Author: Stefan Richter Date: Mon Dec 12 23:03:30 2005 -0500 sbp2: did not clean up after scsi_add_device() failed If scsi_add_device() at the end of sbp2_start_device() fails, e.g. due to transport errors during SCSI inquiry, sbp2 needs to log out of the device and release all associated resources. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 43863eba763e0c91e33e342ce5b7650fea594a53 Author: Stefan Richter Date: Mon Dec 12 23:03:24 2005 -0500 sbp2: delete sbp2scsi_direction_table DMA_BIDIRECTIONAL data direction may be handled properly by Linux in the future. For now, reject it instead to convert it to another direction. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 51c1d80e929bace26d2d795bd77fcc14b02ba3bb Author: Stefan Richter Date: Mon Dec 12 23:03:19 2005 -0500 ieee1394: run high-level updates before high-level probes After a bus reset, let nodemgr call high-level update hooks first for nodes which do not need to be probed. The main benefit is for a bus with more than one SBP-2 device: SBP-2 reconnects will be performed before SBP-2 logins, thus have a much higher chance to succeed, and their SCSI devices will not be blocked much longer than necessary. This was demonstrated for Linux 2.4 by Dave Cinege a while ago. A better approach would be to perform time-consuming probes in parallel by a subthread. I actually plan to implement this for sbp2 but it may take a while to get that done and tested. Until then, this tweak is a huge improvement for users with multiple SBP-2 devices. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d96212ed87d032d2d830e265aae14038dc1f8ad8 Author: Alan Cox Date: Thu Dec 8 19:19:50 2005 +0000 [PATCH] libata: add ata_piix notes Ok lets start with the 'easy' stuff. This includes my research and summary of chip errata into the new driver so that people can refer to it when updating ata_piix. No code changes Signed-off-by: Jeff Garzik commit fed954dafc0ab03e00501862df397e8f8e2211fd Author: Stephen Hemminger Date: Fri Dec 9 11:35:12 2005 -0800 [PATCH] sky2: version 0.10 Change version number. Still don't have enough history on this to call it 1.0 yet. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 75d070c56fa77913b165947f046304efcd38e516 Author: Stephen Hemminger Date: Fri Dec 9 11:35:11 2005 -0800 [PATCH] sky2: disable rx checksum on Yukon XL Under load, my SysKonnect SK-9S22 sees duplicate checksums from earlier packets. Doesn't happen on other platforms so just disable receive checksum there. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 585b56012f08a6edc598d17b28a6c434134bfaff Author: Stephen Hemminger Date: Fri Dec 9 11:35:10 2005 -0800 [PATCH] sky2: turn on tx flow control Turn symmetric flow control on by default. This was an oversight in the initial versions. Signed-off-by: Stephen HEmminger Signed-off-by: Jeff Garzik commit d70cd51ac0585a9273abea4c333e8f0dd8385d27 Author: Stephen Hemminger Date: Fri Dec 9 11:35:09 2005 -0800 [PATCH] sky2: prefetch tuning Add a couple more prefetches to where we walk the rings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8c463ef7928d7a42bb9ca410df9b294dc01c1850 Author: Stephen Hemminger Date: Fri Dec 9 11:35:08 2005 -0800 [PATCH] sky2: quiet ring full message in case of race Don't print ring full message if we lose race. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8cc048e338ad4034255f3ff72ef1f631963e1263 Author: Stephen Hemminger Date: Fri Dec 9 11:35:07 2005 -0800 [PATCH] sky2: handle tx timeout Put more logic in to try and handle transmit timeout recovery. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 69634ee7366d05b26b2650584bed180edf923125 Author: Stephen Hemminger Date: Fri Dec 9 11:35:06 2005 -0800 [PATCH] sky2: interrupt coalescing tuning Adjust interrupt deferral values for better performance and avoid starvation issues under stress. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3e4b32e11674a40cf50e48a79764f12988641e20 Author: Stephen Hemminger Date: Fri Dec 9 11:35:05 2005 -0800 [PATCH] sky2: interrupt/poll optimization Optimize poll routine by not clearing interrupt till after processing, and checking for more work before re-enable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af2a58acb12f6b19e6f04b730203e199abedc44a Author: Stephen Hemminger Date: Fri Dec 9 11:35:04 2005 -0800 [PATCH] sky2: transmit complete routine optimization Hand optimize transmit completion routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13b97b74b964f9da9b5dab6c57708bccd3ada542 Author: Stephen Hemminger Date: Fri Dec 9 11:35:03 2005 -0800 [PATCH] sky2: transmit complete index optimization Change transmit complete handling to use the status values in the poll list because they are in-cache, rather than reading non-cached memory for chips status. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0e3ff6aab1ff2d093996bd7b8c9c06c3d823855c Author: Stephen Hemminger Date: Fri Dec 9 11:35:02 2005 -0800 [PATCH] sky2: transmit logic fixes Some transmit side small fixes: * When computing number of list elements per transmit, do full comparision to check for checksuming. * Get rid of racy check for tx_complete * Change stop test to match wake condition. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6cdbbdf3055f4657c9d6ccc79257bbcac1a9a1fc Author: Stephen Hemminger Date: Fri Dec 9 11:35:01 2005 -0800 [PATCH] sky2: tx/rx ring data structure split Split Tx and Rx ring into two different data structures. Tx needs the next value (to handle partial status), and Rx always needs the mapaddr (to handle resubmitting same buffer). Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 734d18684695dd1c6a9527b50e01bba4acab4738 Author: Stephen Hemminger Date: Fri Dec 9 11:35:00 2005 -0800 [PATCH] sky2: map length optimization Don't need to keep track of mapping length in ring structure because we can get the same info from other info. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 129372d0524c9124d5693f63c1d3c1ce2e3714ce Author: Stephen Hemminger Date: Fri Dec 9 11:34:59 2005 -0800 [PATCH] sky2: ring distance optimization Faster way to compute ring distance. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f2e46561cc1afa82b18b2fc6efc8510ec57c7d7d Author: Stephen Hemminger Date: Fri Dec 9 11:34:58 2005 -0800 [PATCH] sky2: no irq disable needed during tx Don't need to disable interrupts during the transmit routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 91c86df5a8a44157b456bf1e91fc6d878582e68c Author: Stephen Hemminger Date: Fri Dec 9 11:34:57 2005 -0800 [PATCH] sky2: phy processing in workqueue rather than tasklet Do phy processing in a work queue rather than a tasklet. This means we can let bottom halves run. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fb17358fe31e01baf902a9fd1fce0e29e3493517 Author: Stephen Hemminger Date: Fri Dec 9 11:34:56 2005 -0800 [PATCH] sky2: ethtool get/set interrupt coalescing Add support for get/set the interrupt coalescing settings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bdb5c58ebe4301f9c3470cc35adeff1ef7ee99eb Author: Stephen Hemminger Date: Fri Dec 9 11:34:55 2005 -0800 [PATCH] sky2: copy threshold as module parameter Make the copy threshold a module parameter for those who may want to turn it off. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e23231b6509f17a251e6dfddb607d300680ac25 Author: Stephen Hemminger Date: Fri Dec 9 11:34:54 2005 -0800 [PATCH] sky2: device structure alignment It is a useful optimization to rearrange the structure slightly to align receive and transmit portions. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 92f965e8c5433408d5a3805c6882b657eb6cbdb1 Author: Stephen Hemminger Date: Fri Dec 9 11:34:53 2005 -0800 [PATCH] sky2: don't die if we see chip rev 0xb5 There maybe new versions of Yukon2 in the future, so make the driver more robust to handle this. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 56f0356321a876a1a356712f2486d6188a3b4992 Author: Michael Hanselmann Date: Sun Dec 11 22:33:26 2005 -0500 Input: add the fn key to hid-debug.h Signed-off-by: Michael Hanselmann Acked-by: Johannes Berg Signed-off-by: Dmitry Torokhov commit 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 Author: Ashutosh Naik Date: Sun Dec 11 12:41:32 2005 -0500 Input: wistron - add Acer TravelMate 240 to DMI table Signed-off-by: Ashutosh Naik Signed-off-by: Dmitry Torokhov commit 58057b9e57849ae28fbcb013edfe6b5a63edc799 Author: Jasper Spaans Date: Sun Dec 11 12:41:22 2005 -0500 Input: logips2pp - add new signature (85) Signed-off-by: Dmitry Torokhov commit 84c12b2410ea3b88523270064222fbf505dbf15e Author: Dmitry Torokhov Date: Sun Dec 11 12:41:03 2005 -0500 Input: mousedev - make module parameters visible in sysfs Signed-off-by: Dmitry Torokhov commit 3a51f7c40437077ac4a463307e9a4ae6b78755a8 Author: Dmitry Torokhov Date: Sun Dec 11 12:40:37 2005 -0500 Input: evdev - consolidate compat and regular code Compat and normal code mirror each other and are hard to maintain. When EV_SW was added compat_ioctl case was missed. Here is my attempt at consolidating the code. Signed-off-by: Dmitry Torokhov commit 44b5b0303327cfb23f135b95b2fe5436c81ed27c Author: Jack Morgenstein Date: Fri Dec 9 16:40:14 2005 -0800 IB/mthca: don't change driver's copy of attributes if modify QP fails Only change the driver's copy of the QP attributes in modify QP after checking the modify QP command completed successfully. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 6aa2e4e8063114bd7cea8616dd5848d3c64b4c36 Author: Jack Morgenstein Date: Fri Dec 9 16:38:04 2005 -0800 IB/mthca: correct log2 calculation Fix thinko in rd_atomic calculation: ffs(x) - 1 does not find the next power of 2 -- it should be fls(x - 1). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 94361cf74a6fca1973d2fed5338d5fb4bcd902fa Author: Jack Morgenstein Date: Fri Dec 9 16:32:21 2005 -0800 IB/mthca: check RDMA limits Add limit checking on rd_atomic and dest_rd_atomic attributes: especially for max_dest_rd_atomic, a value that is larger than HCA capability can cause RDB overflow and corruption of another QP. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 52d0df153c987e4ad57d15f5df91848f65858e5d Author: Jack Morgenstein Date: Fri Dec 9 13:48:50 2005 -0800 IB/mthca: fix memory user DB table leak Free the memory allocated in mthca_init_user_db_tab() when releasing the db_tab in mthca_cleanup_user_db_tab(). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0efc4883a6b3de12476cd7a35e638c0a9f5fd75f Author: Jack Morgenstein Date: Fri Dec 9 13:46:32 2005 -0800 IB/umad: fix memory leaks Don't leak packet if it had a timeout, and don't leak timeout struct if queue_packet() fails. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 Author: Venkatesh Pallipadi Date: Fri Dec 2 10:43:20 2005 -0800 [CPUFREQ] CPU frequency display in /proc/cpuinfo What is the value shown in "cpu MHz" of /proc/cpuinfo when CPUs are capable of changing frequency? Today the answer is: It depends. On i386: SMP kernel - It is always the boot frequency UP kernel - Scales with the frequency change and shows that was last set. On x86_64: There is one single variable cpu_khz that gets written by all the CPUs. So, the frequency set by last CPU will be seen on /proc/cpuinfo of all the CPUs in the system. What you see also depends on whether you have constant_tsc capable CPU or not. On ia64: It is always boot time frequency of a particular CPU that gets displayed. The patch below changes this to: Show the last known frequency of the particular CPU, when cpufreq is present. If cpu doesnot support changing of frequency through cpufreq, then boot frequency will be shown. The patch affects i386, x86_64 and ia64 architectures. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones commit 9a7d82a89a8bf55b112f2a5c3b3f405eb95a4303 Author: Mattia Dongili Date: Wed Nov 30 22:00:59 2005 +0100 [CPUFREQ] Move PMBASE reading away and do it only once at initialization time This patch moves away PMBASE reading and only performs it at cpufreq_register_driver time by exiting with -ENODEV if unable to read the value. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones commit 1a10760c91c394dfe4adfefeeaf85cd8098c4894 Author: Mattia Dongili Date: Fri Dec 2 21:59:41 2005 +0100 [CPUFREQ] Measure transition latency at driver initialization The attached patch introduces runtime latency measurement for ICH[234] based chipsets instead of using CPUFREQ_ETERNAL. It includes some sanity checks in case the measured value is out of range and assigns a safe value of 500uSec that should still be enough on problematics chipsets (current testing report values ~200uSec). The measurement is currently done in speedstep_get_freqs in order to avoid further unnecessary transitions and in the hope it'll come handy for SMI also. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones speedstep-ich.c | 4 ++-- speedstep-lib.c | 32 +++++++++++++++++++++++++++++++- speedstep-lib.h | 1 + speedstep-smi.c | 1 + 4 files changed, 35 insertions(+), 3 deletions(-) commit cc6e8de8f0fab61760bb7091fb19eef1406e17be Author: Dave Jones Date: Tue Dec 6 15:03:55 2005 -0800 [CPUFREQ] Change loglevels on powernow-k8 bios error printk's. If a user has booted with 'quiet', some important messages don't get displayed which really should. We've seen at least one case where powernow-k8 stopped working, and the user needed a BIOS update that they didn't know about. Signed-off-by: Dave Jones commit fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 Author: Albert Lee Date: Tue Dec 6 11:34:59 2005 +0800 [PATCH] libata: err_mask misc fix 1. ata_pio_complete(): It seems unnecessary to wait for the clearing of the DRQ bit. (Waiting for BSY=0 should be enough. ata_ok() also checks the correctness of the status bits later.) 2. ata_pio_block(): - added error checking, before transfering data. - minor comments fix Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit d8fe452b3e8e9ea6d62a3d116a092999fabae407 Author: Albert Lee Date: Mon Dec 5 15:42:17 2005 +0800 [PATCH] libata: determine the err_mask directly in atapi_packet_task() - set qc->err_mask directly when we found the error - remove the code to determine err_mask from device status Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 1c8489840e6b080e810e588423c1b6dd5913cf18 Author: Albert Lee Date: Mon Dec 5 15:40:15 2005 +0800 [PATCH] libata: determine the err_mask when the error is found - move "qc->err_mask |= AC_ERR_ATA_BUS" to where the error is found - add "assert(qc->err_mask)" to ata_pio_error() to make sure qc->err_mask was available when we enter the error state Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit a22e2eb0710798009b8e696ae911aef745089dd6 Author: Albert Lee Date: Mon Dec 5 15:38:02 2005 +0800 [PATCH] libata: move err_mask to ata_queued_cmd - remove err_mask from the parameter list of the complete functions - move err_mask to ata_queued_cmd - initialize qc->err_mask when needed - for each function call to ata_qc_complete(), replace the err_mask parameter with qc->err_mask. Signed-off-by: Albert Lee =============== Signed-off-by: Jeff Garzik commit c14b8331ec4843e4f2b67a4d847a0d812a50e43c Author: Albert Lee Date: Mon Dec 5 15:36:08 2005 +0800 [PATCH] libata: minor patch before moving err_mask - add qc to ata_pio_poll() - reorder the initialization of qc in ata_pio_complete() Signed-off-by: Albert Lee =================== Signed-off-by: Jeff Garzik commit e38dc0ae24635a2a8a68d87cd0f4a13e74a52d98 Author: Stefan Richter Date: Mon Dec 5 16:29:02 2005 -0500 ieee1394: remove nonexistent functions from nodemgr.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 61c7f775ca25ccfc0e51486103a724fb1a3a08f2 Author: Stefan Richter Date: Mon Dec 5 16:28:59 2005 -0500 ieee1394: write broadcast_channel only to select nodes (fixes device recognition) Some old 1394-1995 SBP-2 bridges would hang if they received a broadcast write request to BROADCAST_CHANNEL before the config ROM was read. Affected devices include Datafab MD2-FW2 2.5" HDD and SmartDisk VST FWCDRW-V8 portable CD writer. The write request is now directed to specific nodes instead of being broadcast to all nodes at once, and it is only performed if a previous read request at this register succeeded. Fixes an old interoperability problem which was perceived as a 2.6.14-specific regression: http://marc.theaimsgroup.com/?t=113190586800003 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit f89c2b464558a21fd3be8d578b7d13e810fb6b8a Author: Stephen Hemminger Date: Thu Dec 1 08:41:32 2005 -0800 [PATCH] sky2: interrupt not cleared. One of the rearrangements dropped this and it means sky2 spins in napi/interrupt. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d359b6ff6a79e250422fdfa991b36d37c286eda1 Author: Stephen Hemminger Date: Thu Dec 1 11:12:47 2005 -0800 [PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prep Sky2 update changed name of netif_schedule_test to __netif_schedule_prep Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 741854e4f9a23421e194df8d846899172ff393d6 Author: Stefan Richter Date: Thu Dec 1 18:52:03 2005 -0500 ieee1394: whitespace cleanup in hosts.[ch], ieee1394_core.[ch] Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 546513f9fd96cba613cc2d025ee03d32d79394b7 Author: Stefan Richter Date: Thu Dec 1 18:52:01 2005 -0500 ieee1394: hpsb_send_phy_config() cleanup Eliminate some code in hpsb_send_phy_config() which is provided by hpsb_make_phypacket(). Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d7758461b9a8253f1c125e5907579e0594d29e3b Author: Stefan Richter Date: Thu Dec 1 18:51:56 2005 -0500 ieee1394: add definitions for phy packet constants Introduce new macros related to phy packets and use them in ieee1394_core and nodemgr. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 14c0fa243b358c24040ff5f44b60c47aaf6430c3 Author: Stefan Richter Date: Thu Dec 1 18:51:52 2005 -0500 ieee1394: resume remote ports when starting a host (fixes device recognition) After initializing an IEEE 1394 host, broadcast a resume packet. This makes remote nodes visible which suspended their ports while the host was down. Such nodes had to be unplugged and replugged in order to be recognized. Motorola DCT6200 cable reciever was affected, probably other devices too. http://marc.theaimsgroup.com/?t=113202715800001 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b Author: Brice Goglin Date: Thu Dec 1 01:41:46 2005 -0800 [PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200 There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig (one for ipw2100 and one for ipw2200). The attached patch splits it into IPW2100_DEBUG and IPW2200_DEBUG. Signed-off-by: Brice Goglin Cc: "James P. Ketrenos" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit c75f4742e2306a319baaa556e53209d4e7c47f0d Author: Takis Date: Thu Dec 1 01:41:45 2005 -0800 [PATCH] ipw2200: kzalloc conversion and Kconfig dependency fix - Use kzalloc for IPW2200 - Fix config dependency for IPW2200 Signed-off-by: Panagiotis Issaris Cc: James Ketrenos Cc: Yi Zhu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit d4921914de19339d7cd987d2ed6d48754821f41a Author: Gabriel A. Devenyi Date: Thu Dec 1 01:09:22 2005 -0800 [PATCH] cpufreq-nforce2.c fix u32<0 test Thanks to LinuxICC (http://linuxicc.sf.net), a comparison of a u32 less than 0 was found, this patch changes the variable to a signed int so that comparison is meaningful. Signed-off-by: Gabriel A. Devenyi Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 537208c8072280ab87916710d5a3f7ef11ab94ff Author: Alexander Clouter Date: Thu Dec 1 01:09:23 2005 -0800 [PATCH] cpufreq: documentation for 'ondemand' and 'conservative' Added a more verbose entry for the 'ondemend' governor and an entry for the 'conservative' governor to the documentation. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 001893cda2f280ab882164737a0b608208524809 Author: Alexander Clouter Date: Thu Dec 1 01:09:25 2005 -0800 [PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice' The use of the 'ignore_nice' sysfs file is confusing to anyone using it. This removes the sysfs file 'ignore_nice' and in its place creates a 'ignore_nice_load' entry that defaults to '0'; meaning nice'd processes _are_ counted towards the 'business' calculation. WARNING: this obvious breaks any userland tools that expected ignore_nice' to exist, to draw attention to this fact it was concluded on the mailing list that the entry should be removed altogether so the userland app breaks and so the author can build simple to detect workaround. Having said that it seems currently very few tools even make use of this functionality; all I could find was a Gentoo Wiki entry. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit f89b23217372ed9bdba8804c1616d445402d1e05 Author: Dan Streetman Date: Fri Nov 11 11:41:42 2005 -0500 [PATCH] airo.c: add support for IW_ENCODE_TEMP (i.e. xsupplicant) Hello Jeff, this patch changes causes the airo driver to not reset the card when a temporary WEP key is set, when the IW_ENCODE_TEMP flag is used. This is needed for xsupplicant as 802.1x, LEAP, etc. change WEP keys frequently after authentication and resetting the card causes infinite reauthentication. Javier and Jean agree with the patch, Javier suggested I send this to you, can you apply this? Thanks. Signed-off-by: Dan Streetman Signed-off-by: Jeff Garzik commit 98ac62defe529d04a192688f40d801a2d8fbcf98 Author: Arjan van de Ven Date: Mon Nov 28 10:06:23 2005 +0100 [PATCH] mark several libata datastructures const Hi, the patch below marks several libata (and libata-driver) structures const so that they end up in the .rodata segment and don't false-share cachelines with things that get dirtied often. Signed-off-by: Arjan van de Ven Signed-off-by: Jeff Garzik commit 127477840b9fd205958203648b9fa89860d69a43 Author: Lennert Buytenhek Date: Wed Nov 23 12:50:08 2005 +0100 [PATCH] ixp2000: add driver version, bump version to 0.2 Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 8ce51d69b755c39e714826899631629209896b70 Author: Lennert Buytenhek Date: Wed Nov 23 12:50:04 2005 +0100 [PATCH] ixp2000: add netpoll support Add netpoll support to the ixp2000 driver. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit cffbfcaf00c4a36592fabd54ae9f960b552322b6 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:59 2005 +0100 [PATCH] enp2611: disable/enable SERDES carrier on interface down/up Disable/enable the SERDES carrier when an interface is administratively downed/upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c6e429bdd6f0142558896e29c21a526c1ffdd1f3 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:55 2005 +0100 [PATCH] pm3386: implement reset Implement pm3386 reset. A reset zeroes out the internally stored MAC addresses, so we need to save and reload them by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit df86550602f320d28fdaeb577c25f9821525bfa0 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:51 2005 +0100 [PATCH] pm3386: add hook for setting carrier Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0b85c0ebde63a41d57b6214977ac2752bf5a086f Author: Lennert Buytenhek Date: Wed Nov 23 12:49:47 2005 +0100 [PATCH] pm3386: add hook for setting MAC address When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7ed98bfdea45dbdc66261660357659470935a03a Author: Lennert Buytenhek Date: Wed Nov 23 12:49:43 2005 +0100 [PATCH] ixp2000: report MAC addresses for each port on init After initialising, report the MAC address that we're using for each port. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 350f19632d18e808aa1f2ca96f2be86c67de67ff Author: Lennert Buytenhek Date: Wed Nov 23 12:49:40 2005 +0100 [PATCH] enp2611: report link up/down events Report carrier going up/down. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c44185d4dcb92384c22e6c01dc09c25adae36a82 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:35 2005 +0100 [PATCH] enp2611: use 'dev' in link status timer We assign nds[i] to a local variable 'dev', which we never use afterwards. Use the local variable instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit de287fd596e2e9ea9a29c397322d0a8b8a470cd1 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:30 2005 +0100 [PATCH] enp2611: don't check netif_running() in link status timer Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit ee61249468ec9bb8d032896ae2e8ba8a8b8c3972 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:25 2005 +0100 [PATCH] ixp2000: use netif_rx_schedule_test The sky2 driver introduced netif_rx_schedule_test(). This is exactly what we need, so remove our local version of this function (which was called netif_rx_schedule_prep_notup) and use the generic one instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 6744a5069bdadd96324290d015103163a0f7a45b Author: Lennert Buytenhek Date: Wed Nov 23 12:49:21 2005 +0100 [PATCH] caleb/pm3386: include proper header files Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit f48a8815f8535c62714cb596281d8480ba9e78ea Author: Lennert Buytenhek Date: Wed Nov 23 12:49:15 2005 +0100 [PATCH] pm3386: remove unnecessary udelays Remove a number of unnecessary udelay() calls. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6 Author: Lennert Buytenhek Date: Wed Nov 23 12:49:10 2005 +0100 [PATCH] pm3386: zero stats properly Zero our stats structure properly. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0c49919a4706cc8c72ff381da7f3ae094e6df03a Author: Lennert Buytenhek Date: Wed Nov 23 12:49:05 2005 +0100 [PATCH] ixp2000: register netdevices last Do not register our netdevices with the kernel until we've actually finished setting up the hardware and microcode. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 35b8fcab1b293cadd54cdf9e9636cc576d2cad88 Author: shemminger@osdl.org Date: Wed Nov 23 22:00:54 2005 -0800 [PATCH] sk98lin: remove /proc interface Remove device specific proc interface. It doesn't handle renames correctly; it ain't worth fixing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f7a17d12a8cfd0ab4a50dded8390f6c44f1f205 Author: shemminger@osdl.org Date: Wed Nov 23 22:00:53 2005 -0800 [PATCH] sk98lin: remove redundant fields in device info Shrink size of per device data by removing redundant fields or things that are only used at boot up. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 09f5a214389fe467c2ff15aa2b85349bbde15bce Author: shemminger@osdl.org Date: Wed Nov 23 22:00:52 2005 -0800 [PATCH] sk98lin: allow ethtool checksum on/off per port Allow control of checksumming parameters via ethtool. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5f4f9dc113a7aedca072851f3a51cc563f8e143f Author: shemminger@osdl.org Date: Wed Nov 30 11:45:23 2005 -0800 [PATCH] sky2: update version number Update version number and print version in boot message. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 50241c4c59453fae01555f67daa96d799d85b968 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:22 2005 -0800 [PATCH] sky2: use pci_register_driver Switch to using pci_register_driver as per current convention. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af4ed7e6ba0cba388cf691f3a330089bd46e4d9e Author: shemminger@osdl.org Date: Wed Nov 30 11:45:21 2005 -0800 [PATCH] sky2: remove pci-express hacks Eliminate special case tuning for PCI-Express. This code causes receive hangs and doesn't help performance much anyway. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 65497dacd8104004f5115dcb2dfe1bf697154ce9 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:20 2005 -0800 [PATCH] sky2: byteorder annotation Use byteorder annotation for hardware structures Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2224795d7e4c7f7e44fe21f0fa067d62539308fb Author: shemminger@osdl.org Date: Wed Nov 30 11:45:19 2005 -0800 [PATCH] sky2: dual port tx completion Sometimes on dual port cards, one tx complete may cover both ports. To handle that rearrange poll routine to lookup at end. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 018d1c667ef4dce5299dd79d38447840789c97d6 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:18 2005 -0800 [PATCH] sky2: race with MTU change Avoid possible race conditions when doing MTU and change and shutdown. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0a1225769763779288d759e904c4f5a660844ce4 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:17 2005 -0800 [PATCH] sky2: change netif_rx_schedule_test to __netif_schedule_prep I didn't like the name netif_rx_schedule_test(), in earlier patches and changed to __netif_rx_schedule_prep to be more consistent. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a018e3305fe1e500e28830666b1757b75c6b4df5 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:16 2005 -0800 [PATCH] sky2: handle DMA boundary crossing Handle the case of DMA spanning 32 bit boundary. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5a5b1ea026572ac0e5e03d7322deb546d60f9e6e Author: shemminger@osdl.org Date: Wed Nov 30 11:45:15 2005 -0800 [PATCH] sky2: add Yukon-EC ultra support Add support for Yukon-EC Ultra chip as implemented in SysKonnect's driver version 8.26. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13210ce5c06ed9537558b85e9c0df4248b28f1f7 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:14 2005 -0800 [PATCH] sky2: improve receive performance Changes to receive side processing: * bigger receive ring * clean up polling loop Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 42eeea0145a1c7570624ddeaa15d3f357a52edf8 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:13 2005 -0800 [PATCH] sky2: fix receive flush/pause issues Fix issues with pause and flush. This code works on all chip versions tested. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ef743d3359813795fb38c4308bff2311eb30651f Author: shemminger@osdl.org Date: Wed Nov 30 11:45:12 2005 -0800 [PATCH] sky2: add MII support Add MII ioctl interface to sky2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 214376434863f9ca109a7853fbbd6db284d3fba7 Author: shemminger@osdl.org Date: Wed Nov 30 11:45:11 2005 -0800 [PATCH] sky2: eliminate special case for EC-A1 Eliminate special case for EC-A1. The overhead isn't so great that having config option is worth it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6c9e5eb522bca694a0311898039d2707e9bc7783 Author: Jeff Garzik Date: Wed Nov 30 16:42:55 2005 -0500 [libata sata_promise] minor whitespace cleanup commit 6df8900676c3f5c133328332fb8ad889fd0cc9e3 Author: Dave Jones Date: Wed Nov 30 13:33:30 2005 -0800 [CPUFREQ] Fix indentation in powernow-k8 Signed-off-by: Dave Jones commit de1bb1a64c29bae4f5330c70bd1dc6a62954c9f4 Author: Sean Hefty Date: Wed Nov 30 10:01:13 2005 -0800 IB/cm: avoid reusing local ID Use an increasing local ID to avoid re-using identifiers while messages may still be outstanding on the old ID. Without this, a quick connect-disconnect-connect sequence can fail by matching messages for the new connection with the old connection. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 227eca83690da7dcbd698d3268e29402e0571723 Author: Sean Hefty Date: Wed Nov 30 10:00:25 2005 -0800 IB/cm: correct reported reject code Change reject code from TIMEOUT to CONSUMER_REJECT when destroying a cm_id in the process of connecting. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit a3c8ab4fe8f006d742c24be677518bfa9862e732 Author: Jack Morgenstein Date: Wed Nov 30 09:55:22 2005 -0800 IB/mthca: fix QP size limits for mem-free HCAs Unlike tavor, the max work queue size is an exact power of 2 for arbel mode, despite what the documentation (of the QUERY_DEV_LIM firmware command) says. Without this patch, on Arbel, we can start with a QP of a valid size and get above the reported limit after rounding to the next power of two. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 019a61b99338d0ac05de25317b85da88e7ec4b35 Author: Langsdorf, Mark Date: Tue Nov 29 14:18:03 2005 -0600 [PATCH] Support 100 MHz frequency transitions Future versions of the Opteron processor may support frequency transitions of 100 MHz, instead of the=20 current 200 MHz. This patch enables the powernow-k8 driver to transition to an odd FID code, indicating a multiple of 100 MHz frequency. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 2e06cb5859fdaeba0529806eb1bf161ffd0db201 Author: Jeff Garzik Date: Mon Nov 28 13:54:22 2005 -0500 [bonding] Remove superfluous changelog. No need to record this information in source code, its all in the git repository, and kernel archives. commit c64d472abc68dcad4d34f365545058c3f11973d8 Author: Jens-Michael Hoffmann Date: Tue Nov 22 12:37:10 2005 -0500 ieee1394/raw1394: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 066ef9c2fb30a22eca7724326e210f0405c51f29 Author: Jens-Michael Hoffmann Date: Tue Nov 22 12:35:23 2005 -0500 ieee1394/iso: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 16c333a34a1a0441c54c4fe5cf6052716f95c2fa Author: Jens-Michael Hoffmann Date: Tue Nov 22 12:34:16 2005 -0500 ieee1394/ieee1394_transactions: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 6649e92d792efa00a823781bcee2dba7f21199ba Author: Jens-Michael Hoffmann Date: Tue Nov 22 12:18:28 2005 -0500 ieee1394/dma: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit a96074e76f87a4f658af4ecfd95edc89cfd61fc1 Author: Jody McIntyre Date: Tue Nov 22 12:17:14 2005 -0500 csr1212: add check for !valid Don't read the keyval if there's already a valid one in place. May not be necessary but shouldn't hurt. Signed-off-by: Jody McIntyre commit 5303a986c33ae6c75d5ffb57d06ccf9246a8725a Author: Jody McIntyre Date: Tue Nov 22 12:17:11 2005 -0500 csr1212: check results of keyval reads csr1212_parse_csr() did not properly check return values when reading keyvals. Fix this by using _csr1212_read_keyval() instead of csr1212_get_keyval() and checking the return code. Signed-off-by: Jody McIntyre commit b12479ddce4aed112e0018fdf8bbb7cfb349ebdc Author: Stefan Richter Date: Mon Nov 21 17:32:18 2005 -0500 raw1394: fix memory deallocation in modify_config_rom raw1394: use correct deallocation macro for CSR cache Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d734f92b0dc4c04daa2e0106354972cbbc2e0fbe Author: Adrian Bunk Date: Mon Nov 21 17:32:14 2005 -0500 drivers/ieee1394/raw1394.c: fix a NULL pointer The coverity checker spotted that this was a NULL pointer dereference in the "if (copy_from_user(...))" case since the next step is to kfree(cache->filled_head). There's no need to free cache at this point, and it's getting free'd later. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit e067e1f98d54d62fd598126f95e7684e5b63e67f Author: Sam Ravnborg Date: Mon Nov 21 22:59:32 2005 +0100 kconfig: truncate too long menu lines in menuconfig menu lines wrapped over too lines when too long - truncate them. Also fixed a coding style issue Signed-off-by: Sam Ravnborg commit 8aae8284fece2b8fc404ccd40b7a30aa96f317b5 Author: Jacob Shin Date: Mon Nov 21 07:23:08 2005 -0800 [CPUFREQ] Improve Error reporting in powernow-k8 This patch cleans up some error messages in the powernow-k8 driver and makes them more understandable. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 59d3cf7a40dfdbb8e86758ade172831c19630050 Author: Sam Ravnborg Date: Sun Nov 20 23:34:35 2005 +0100 kconfig: make lxdialog/menubox.c more readable Utilising a small macro for print_item made wonders for readability for this file. Signed-off-by: Sam Ravnborg commit 7c3badf96e0dc8aa89ebf8919653339a5ee8e035 Author: Sam Ravnborg Date: Sun Nov 20 23:03:49 2005 +0100 kconfig: Fix indention when using menuconfig in text-onle consoles When using menuconfig in a text-only console (no X started) the indention was often two spaces wrong. This proved to be a ncurses issue which are worked around by calling wrefresh more often. Signed-off-by: Sam Ravnborg commit 0e175d05a4e72f85918da3ea4bd9f5d3d78face4 Author: Sam Ravnborg Date: Sun Nov 20 22:41:21 2005 +0100 kconfig: Left aling menu items in menuconfig Keeping menu lines on a fixed position creates less visual noise when navigating the menus. Signed-off-by: Sam Ravnborg commit 656563e32c3f1dfdc35b3944305ece1c5dfeade5 Author: Jeff Garzik Date: Sun Nov 20 03:36:45 2005 -0500 [libata] Print out SATA speed, if link is up Make the SATA phy probe messages a bit more informative. Note this only applies to drivers that use __sata_phy_reset(), which excludes some drivers. commit 977545e35289b13981614a57fd6c9b82d55e3b4a Author: Stefan Richter Date: Sat Nov 19 21:35:22 2005 -0500 sbp2: slimmer interface to scsi_mod - sbp2scsi_reset does not need to take host_lock - sbp2scsi_reset, as our device reset handler, does not need to stand in as bus reset or host reset handler - let scsi_mod use scsi_host_template.name instead of .info (sbp2 is not an emulation anway) Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e4cda1654e5c0be4b68e29011e8dc04977286df9 Author: Damien Douxchamps Date: Sat Nov 19 21:32:03 2005 -0500 Fix incorrect video1394 timestamps. This patch fixes the incoherent timestamps generated by video1394 since the single-buffer patch was applied in 2.6.11. Credits have also been removed from the header and a "//" comment was changed to "/* */". Signed-off-by: Damien Douxchamps Signed-off-by: Jody McIntyre commit e27d3014f301e6aee7b65b62ad1da2940e1fd8de Author: Adrian Bunk Date: Sat Nov 19 21:23:48 2005 -0500 Every file should #include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit fa7009d5b59b8acd8071f7b3057d36eeeaf08146 Author: Sam Ravnborg Date: Sat Nov 19 23:38:06 2005 +0100 kconfig: Add print_title helper in lxdialog Simplify check for long title and use a helper function in util.c Signed-off-by: Sam Ravnborg commit a06104af7dcf2f5bafaf18f373c8b2554cbfe014 Author: Sam Ravnborg Date: Sat Nov 19 22:17:55 2005 +0100 kconfig: lxdialog is now sparse clean Replacing a gcc idiom with malloc and deleting an unused global variable made lxdialog sparse clean. Signed-off-by: Sam Ravnborg commit dec69da856653772d7ee7b2f98dc69da27274a22 Author: Sam Ravnborg Date: Sat Nov 19 21:56:20 2005 +0100 kconfig: fixup after Lindent Readability are more important then the 80 coloumn limit, so fold several lines to greatly improve readability. Also keep return type on same line as function definition. Signed-off-by: Sam Ravnborg commit b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 Author: Sam Ravnborg Date: Sat Nov 19 19:13:34 2005 +0100 kconfig: Lindent scripts/lxdialog The lxdialog code was not easy to read. So as first step the code was run through Lindent. Fix-ups will come in next patchset. Signed-off-by: Sam Ravnborg commit 6b27adb607282addcfe2707783dfcc28ba3a753b Author: John W. Linville Date: Tue Nov 8 15:59:30 2005 -0500 [PATCH] e1000: zero-out pointers in e1000_free_desc_rings In e1000_free_desc_rings, zero-out pointers after the memory they point to is freed. The test rings are static and get re-used, and failures during subsequent test setups can cause e1000_free_desc_rings to get called with dirty pointers. Dirty pointers can cause oopses or crashes... Signed-off-by: John W. Linville commit e98fc4aae10b925ad5aa739c483abf78d80b66db Author: John W. Linville Date: Tue Nov 8 15:45:02 2005 -0500 [PATCH] e1000: avoid leak when e1000_setup_loopback_test fails In e1000_loopback_test, make sure to call e1000_free_desc_rings if e1000_setup_loopback_test fails. Currently in that case it will not get called, causing a leak. Signed-off-by: John W. Linville commit 15d014d13149aedd76cbff1b5c3bbfe839391457 Author: Lennert Buytenhek Date: Fri Nov 11 18:23:13 2005 +0100 [PATCH] intel ixp2000 network driver The way the hardware and firmware work is that there is one shared RX queue and IRQ for a number of different network interfaces. Due to this, we would like to process received packets for every interface in the same NAPI poll handler, so we need a pseudo-device to schedule polling on. What the driver currently does is that it always schedules polling for the first network interface in the list, and processes packets for every interface in the poll handler for that first interface -- however, this scheme breaks down if the first network interface happens to not be up, since netif_rx_schedule_prep() checks netif_running(). sky2 apparently has the same issue, and Stephen Hemminger suggested a way to work around this: create a variant of netif_rx_schedule_prep() that does not check netif_running(). I implemented this locally and called it netif_rx_schedule_prep_notup(), and it seems to work well, but it's something that probably not everyone would be happy with. The ixp2000 is an ARM CPU with a high-speed network interface in the CPU itself (full duplex 4Gb/s or 10Gb/s depending on the IXP model.) The CPU package also contains 8 or 16 (again depending on the IXP model) 'microengines', which are somewhat primitive but very fast and efficient processor cores which can be used to offload various things from the main CPU. This driver makes the high-speed network interface in the CPU visible and usable as a regular linux network device. Currently, it only supports the Radisys ENP2611 IXP board, but adding support for other board types should be fairly easy. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7f7f53168dbee6d6a462acea666fddd18aad4f08 Author: Andy Fleming Date: Fri Nov 11 12:38:59 2005 -0600 [PATCH] Gianfar update and sysfs support This seems to have gotten lost, so I'll resend. Signed-off-by: Andy Fleming * Added sysfs support to gianfar for modifying FIFO and stashing parameters * Updated driver to support 10 Mbit, full duplex operation * Improved comments throughout * Cleaned up and optimized offloading code * Fixed a bug where rx buffers were being improperly mapped and unmapped * (only manifested if cache-coherency was off) * Added support for using the eTSEC exact-match MAC registers * Bumped the version to 1.3 * Added support for distinguishing between reduced 100 and 10 Mbit modes * Modified default coalescing values to lower latency * Added documentation Signed-off-by: Jeff Garzik commit fed5eccdcf542742786701b2514b5cb7ab282b93 Author: Ananda Raju Date: Mon Nov 14 15:25:08 2005 -0500 [PATCH] s2io: UFO support This patch implements the UFO support in S2io driver. This patch uses the UFO interface available in linux-2.6.15 kernel. Signed-off-by: Ananda Raju Signed-off-by: Jeff Garzik commit 7301c8d3a05dc52d33598364da7c4eb6ab6357eb Author: Jody McIntyre Date: Fri Nov 18 00:16:26 2005 -0500 Remove amdtp, cmp drivers. Remove the Audio and Music Data Transmission Protocol driver and the Connection Management Procedures driver. These are incomplete, have never worked, and are better implemented in userland via raw1394 (see http://freebob.sourceforge.net/ for example.) Signed-off-by: Jody McIntyre Cc: Adrian Bunk commit 7635d345b2c047339b44c85fff486c6b94b67216 Author: Adrian Bunk Date: Sun Nov 13 13:26:25 2005 -0500 [PATCH] hostap: rename hostap.c to hostap_main.c I wanted to remove the #include "hostap_ioctl.c" from hostap.c and build hostap_ioctl.c separately, but this doesn't work since hostap.c has the same name as the module. After renaming hostap.c this will be possible. Signed-off-by: Adrian Bunk Acked-by: Jouni Malinen Signed-off-by: John W. Linville commit 5bc4c36d7cd9f1605efeade67b3d27845a4affcd Author: Christophe Lucas Date: Sat Nov 12 21:58:53 2005 +0300 [PATCH] atmel: audit return code of create_proc_read_entry Signed-off-by: Christophe Lucas Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 4d791aadf63c9d605bc9a4144e79d5756fc29fb3 Author: Carlo Perassi Date: Sun Nov 13 15:02:15 2005 +0300 [PATCH] atmel: CodingStyle cleanup Reading this driver I noticed some trailing whitespaces and tabs so I removed them with some 80th column fitting and a few more similar things. Signed-off-by: Carlo Perassi Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit c1120b22499d7e13e5cd2349cb2168b76d0edaca Author: Tobias Klauser Date: Sat Nov 12 23:46:43 2005 +0300 [PATCH] Remove drivers/net/wan/lmc/lmc_prot.h "grep "lmc_prot\." -r ." didn't show anything. lmc_proto.h seems to have the correct prototypes, and is actually used. Signed-off-by: Tobias Klauser Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 9a648f3c535cb6b24a5f0538d032aea9a33ec515 Author: John W. Linville Date: Sun Nov 13 00:33:32 2005 -0500 [PATCH] skge: fix warning from inlining SkPciWriteCfgDWord() Making SkPciWriteCfgDWord a static inline produces a warning due to a forward declaration in skdrv2nd.h. This patch removes that declaration. Signed-off-by: John W. Linville commit c8ebd3a37f0e7a2aae337279d58a50c1a1fcd053 Author: Adrian Bunk Date: Fri Nov 11 20:44:21 2005 +0100 [PATCH] drivers/net/sk98lin/skge.c: make SkPciWriteCfgDWord() a static inline No external user and that small - such a function should be static inline and not a global function. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 1c24a412fd8873bcacba7ed8a1780d12b86b6cb5 Author: Jeff Garzik Date: Mon Nov 14 18:20:23 2005 -0500 [libata ata_piix] cleanup: remove duplicate ata_port_info records commit e74ac79956ecb56e71a398c57eb10fab8c58a562 Author: Jeff Garzik Date: Mon Nov 14 18:16:37 2005 -0500 [libata] remove two unused fields from struct ata_port commit 691b73b13220886aefacb7c7f7ace7f528bbf800 Author: Mitch Williams Date: Wed Nov 9 10:36:57 2005 -0800 [PATCH] bonding: comments and changelog Bonding source files still have changelogs in the comments. This, then, is an update to that changelog. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit e944ef79184ff7f283e7bf79496d2873a0b0410b Author: Mitch Williams Date: Wed Nov 9 10:36:50 2005 -0800 [PATCH] bonding: spelling and whitespace corrections Minor spelling and whitespace corrections. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 39755cad88f7b26dcb1edf9dcf14bd85f8fc2a3a Author: Mitch Williams Date: Wed Nov 9 10:36:46 2005 -0800 [PATCH] bonding: version update Update the version number for the bonding module. Since we've just added a significant new feature (sysfs support), bump the major number. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76cdba9cdb29b091cacb4c11534ffb2eac02f64 Author: Mitch Williams Date: Wed Nov 9 10:36:41 2005 -0800 [PATCH] bonding: add sysfs functionality to bonding (large) This large patch adds sysfs functionality to the channel bonding module. Bonds can be added, removed, and reconfigured at runtime without having to reload the module. Multiple bonds with different configurations are easily configured, and ifenslave is no longer required to configure bonds. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4756b02f558cbbbef5ae278fd3bbed778458c124 Author: Mitch Williams Date: Wed Nov 9 10:36:25 2005 -0800 [PATCH] bonding: add ARP entries to /proc Make the /proc files show which ARP targets are in use by each bond. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 6b780567223524cac86c745aeac425521cf37490 Author: Mitch Williams Date: Wed Nov 9 10:36:19 2005 -0800 [PATCH] bonding: Allow ARP target table to have empty entries With the sysfs interface, the user can remove entries from the ARP table at runtime. The ARP monitor code now allows for empty entries in the table. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 3c535952d86df83f817595068c9fd2b3cfbd3a4d Author: Mitch Williams Date: Wed Nov 9 10:36:11 2005 -0800 [PATCH] bonding: make bond_init not __init The sysfs interface can create bonds at runtime, and __init code goes away after module init. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit dfe60397a62b1a5ebc7f05fd65463d3e29397677 Author: Mitch Williams Date: Wed Nov 9 10:36:04 2005 -0800 [PATCH] bonding: move bond creation into separate function The sysfs interface can create bonds at runtime, so we need a separate function to do this, instead of just doing it in the module init code. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit a77b53258d76513c37e766dc0db1fc9db7c4ac1e Author: Mitch Williams Date: Wed Nov 9 10:35:51 2005 -0800 [PATCH] bonding: make functions not static The sysfs code needs access these functions, so make them not static, and move the protos to the header file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 12479f9a823dc7d791f198af2d3e4efae418a65e Author: Mitch Williams Date: Wed Nov 9 10:35:44 2005 -0800 [PATCH] bonding: expose some structs The sysfs code needs to know what these structs look like, so make them not static, and move the definition to the header. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76850ab577bb4b929e60894d2025bbfcc043984 Author: Mitch Williams Date: Wed Nov 9 10:35:35 2005 -0800 [PATCH] bonding: explicitly clear RLB flag during ALB init Explicitly clear RLB flag during ALB init. This is needed for sysfs support, since the bond mode can be changed at runtime via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 Author: Mitch Williams Date: Wed Nov 9 10:35:30 2005 -0800 [PATCH] bonding: move kmalloc out of spinlock in ALB init Move memory allocations out of the spinlock during ALB init. This gets rid of a sleeping-inside-spinlock warning and accompanying stack dump. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0f418b2ac49e97b7b763e0473320a201eec15ed3 Author: Mitch Williams Date: Wed Nov 9 10:35:21 2005 -0800 [PATCH] bonding: get slave name from actual slave instead of param list Take the primary slave name shown in /proc from the actual slave dev instead of from the command-line parameter, which won't be present if the bond is created via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c61b75ad03f3a30ef247cac27406f030c10628b0 Author: Mitch Williams Date: Wed Nov 9 10:35:13 2005 -0800 [PATCH] bonding: Add transmit policy to /proc Adds information about the recently-added transmit policy setting to each bond's /proc file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 Author: Mitch Williams Date: Wed Nov 9 10:35:03 2005 -0800 [PATCH] bonding: expand module param descriptions Expand and correct the parameter descriptions shown by modinfo. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4e0952c74ee450ded86e8946ce58ea8dfd05b007 Author: Mitch Williams Date: Wed Nov 9 10:34:57 2005 -0800 [PATCH] bonding: add bond name to all error messages Add the bond name to all error messages so we can tell which one is complaining. Also reformats some error messages to be more consistent. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c2373ee98982a1c842dfb213c398f388d4227e63 Author: Mitch Williams Date: Wed Nov 9 10:34:45 2005 -0800 [PATCH] net: make dev_valid_name public dev_valid_name() is a useful function. Make it public. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 1e2e5659656b8b9bd9fa4714355d91282cb74178 Author: Mitch Williams Date: Wed Nov 9 10:34:01 2005 -0800 [PATCH] net: allow newline terminated IP addresses in in_aton in_aton() gives weird results if it sees a newline at the end of the input. This patch makes it able to handle such input correctly. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 925142431bd653175b80ae153bd7a8bc13628bde Author: Dave Airlie Date: Sat Nov 12 21:52:46 2005 +1100 drm: update VIA driver to 2.7.2 Add PCI DMA blitengine to VIA DRM Add portability code for porting VIA to FreeBSD. Sync via_drm.h with 3d driver From: Thomas Hellstrom , Eric Anholt Signed-off-by: Dave Airlie commit 792d2b9a12594522111fbe2a7f17460a4d7edff7 Author: Dave Airlie Date: Fri Nov 11 23:30:27 2005 +1100 drm: drop mtrr from i915 Alan Hourihane wants to set MTRR in the DDX only as otherwise we get problems with the shared memory chipset. From: Alan Hourihane Signed-off-by: Dave Airlie commit 7ccf800e9415daf9214eb667318e356f9a3d81fc Author: Dave Airlie Date: Fri Nov 11 23:11:34 2005 +1100 drm: update mga driver for new bootstrap code The MGA driver needs to use the full AGP interface. From: Ian Romanick Signed-off-by: Dave Airlie commit c0be4d240483f3ebd138db467b5e8fbe15c520e2 Author: Dave Airlie Date: Fri Nov 11 23:10:18 2005 +1100 drm: remove exports that modules shouldn't use. Modules should go via the new drm_agp_ functions. Signed-off-by: Dave Airlie commit efa58395bee82dc5a87805e7eb7c710e88eb4bd7 Author: Dave Airlie Date: Fri Nov 11 22:33:39 2005 +1100 drm: add in-kernel entry points for rest of AGP ioctls Allow DRM modules to call AGP internally in the kernel. From: Ian Romanick Signed-off-by: Dave Airlie commit 732052ed3e7539d87136dd833be523747af3fb3e Author: Dave Airlie Date: Fri Nov 11 22:07:35 2005 +1100 drm: simplify sysfs code for drm This simplifies the sysfs code for the drm and add a dri_library_name attribute which can be used by a userspace app to figure out which library to load. From: Jon Smirl Signed-off-by: Dave Airlie commit d0bbccfa3297d3ef6ae4691585abde9a6c26b186 Author: Andrew Morton Date: Thu Nov 10 15:29:27 2005 -0800 [PATCH] sky2 needs dma_mapping.h On alpha: drivers/net/sky2.c: In function `sky2_probe': drivers/net/sky2.c:2819: error: `DMA_64BIT_MASK' undeclared (first use in this function) drivers/net/sky2.c:2819: error: (Each undeclared identifier is reported only once drivers/net/sky2.c:2819: error: for each function it appears in.) drivers/net/sky2.c:2825: error: `DMA_32BIT_MASK' undeclared (first use in this function) Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit e96e33eeb8b876c7ec009c557ca5269328eceda0 Author: Dave Airlie Date: Fri Nov 11 20:27:35 2005 +1100 drm: fixup drm_proc.c struct table Signed-off-by: Dave Airlie commit 61d04160ff89514919ef95b0d10bee706f569925 Author: Dave Airlie Date: Fri Nov 11 19:52:22 2005 +1100 drm: remove old backwards compatibilty stuff Signed-off-by: Dave Airlie commit 8f5f39f77f5a6053ae287d4673028e7a69335f5e Author: Dave Airlie Date: Fri Nov 11 19:40:52 2005 +1100 drm: remove drm_flush drm_flush is no longer needed remove. Signed-off-by: Dave Airlie commit 7052cff984ba575926bb7d2ae5454cce531a97e1 Author: Dave Airlie Date: Fri Nov 11 19:34:47 2005 +1100 drm: cleanup via_ds.c includes Remove the linux includes from via_ds.c Signed-off-by: Dave Airlie commit 9d6160137a8ef8bd25266ccc0f97d55863708fc6 Author: Dave Airlie Date: Fri Nov 11 19:34:10 2005 +1100 drm: remove remnamt of old DRM code from tdfx Signed-off-by: Dave Airlie commit 3f9df54d6386bb632ffc00665489bb3bb3bf6ff2 Author: Dave Airlie Date: Thu Nov 10 22:28:56 2005 +1100 drm: remove drm_init.c it is no longer needed Move drm_cpu_valid into drm_fops.c Signed-off-by: Dave Airlie commit 22eae947bf76e236ba972f2f11cfd1b083b736ad Author: Dave Airlie Date: Thu Nov 10 22:16:34 2005 +1100 drm: rename driver hooks more understandably Rename the driver hooks in the DRM to something a little more understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4) From: Eric Anholt Signed-off-by: Dave Airlie commit 760559e1330a58cc5b320154a20e64b8444143c0 Author: Jeff Garzik Date: Thu Nov 10 04:31:55 2005 -0500 [netdrvr 8139too] fast poll for thread, if an unlikely race occurs The rtl8139 thread is triggered only on rare 8139 hardware, the race itself is unlikely, and the impact of racing is low. We don't care enough to create a more-complex race-free solution. Rather, if the trylock fails, we now simply poll twice a second until we do get the lock. commit ef797546a93fffa9d8508e7c8539b352b6678568 Author: Stefan Richter Date: Mon Nov 7 06:31:50 2005 -0500 Remove definitions of unreferenced macros virt_to_page and vmalloc_32 from dv1394 and video1394. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 8551158abc8ef45a7f473a87e69624d05ebfd684 Author: Stefan Richter Date: Mon Nov 7 06:31:45 2005 -0500 kmalloc/kzalloc changes: dv1394, eth1394, ieee1394, ohci1394, pcilynx, raw1394, sbp2c, video1394: - use kzalloc - provide safer size arguments to kmalloc and kzalloc - omit some casts Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7afa1467761f06bd9649efd66a4a6b3ff9f29a1f Author: Stefan Richter Date: Mon Nov 7 06:31:42 2005 -0500 Remove version strings from eth1394, ohci1394, sbp2. Their version information is not trustworthy. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit a237f35fdd81d85037dccdacd2e94028227b59fb Author: Stefan Richter Date: Mon Nov 7 06:31:39 2005 -0500 sbp2, ohci1394 cleanups: sbp2: various code formatting cleanups ohci1394: remove form feed characters Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e309fc6d71d61bb0f049ab6d0da10c845da9513f Author: Ben Collins Date: Mon Nov 7 06:31:34 2005 -0500 sbp2: Remove our tracking of device type, since we no longer need to worry about it. Depends on patch "ieee1394: remove sbp2's TYPE_RBC and 10byte handling". Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 365c786f0be44ee92e018773cb0bc4b19080b6aa Author: Ben Collins Date: Mon Nov 7 06:31:24 2005 -0500 sbp2: Merge TYPE_RBC and 10byte removal patch from scsi maintainers. Added more cleanups to remove unused code. Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7945619794314414a5c44df11fca4d3f2a3389cf Author: Jody McIntyre Date: Mon Nov 7 06:29:39 2005 -0500 sbp2_command_orb_lock must be held when accessing the _orb_inuse list. Fixes an oops in sbp2util_find_command_for_SCpnt after sbp2scsi_abort: https://bugzilla.novell.com/show_bug.cgi?id=113734 Signed-off-by: Jody McIntyre Signed-off-by: Stefan Richter commit 96a71d52bb91d9b386a60f904956420f98946dd3 Author: Jeff Garzik Date: Fri Nov 4 22:46:35 2005 -0500 [netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_interruptible() commit 38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 Author: Jeff Garzik Date: Fri Nov 4 22:36:28 2005 -0500 [netdrvr 8139too] use cancel_rearming_delayed_work() to cancel thread Noted by Herbert Xu. commit a15e0384dd22ee08f56d62761ce9d770488f6f4e Author: Jeff Garzik Date: Mon Oct 31 07:59:37 2005 -0500 [netdrvr 8139too] replace hand-crafted kernel thread with workqueue Gone are the days when 8139too was a shining example of how to use kernel threads. Delayed workqueues are easier, and map precisely to our task: running code from a kernel thread, after a periodic sleep. commit ea37ccea66e6bdd9f3571418b6461850088c114e Author: Daniele Venzano Date: Tue Oct 11 09:44:30 2005 +0200 [PATCH] Add Wake on LAN support to sis900 (2) Sorry, but that day I had smoked somthing too heavy for me, the patch didn't apply. Here's a new one. The patch availble below adds support for Wake on LAN to the sis900 driver. Some register addresses were added to sis900.h and two new functions were implemented in sis900.c. WoL status is controlled by ethtool. Patch is against 2.6.13. Comments are welcome, but also consider for inclusion in the -mm series. Signed-off-by: Daniele Venzano -- Signed-off-by: Jeff Garzik commit f1e691a24955ea987f021f378324fb5003b1b208 Author: shemminger@osdl.org Date: Wed Oct 26 12:16:11 2005 -0700 [PATCH] sky2: version 0.7 Change version number Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bea86103313fae2e29f2d6eb9a4bd7cbeabd4d32 Author: shemminger@osdl.org Date: Wed Oct 26 12:16:10 2005 -0700 [PATCH] sky2: fix NAPI and receive handling Speed up the receive and interrupt processing and eliminate a couple of race conditions from NAPI code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d571b694df3ebc66f7a4c507f5a32579e43c2294 Author: shemminger@osdl.org Date: Wed Oct 26 12:16:09 2005 -0700 [PATCH] sky2: spelling fixes Cosmetic cleanup's: mostly spelling fixes etc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b2f5ad4fec76e78103e7fbb4e808587ea8a6d824 Author: shemminger@osdl.org Date: Wed Oct 26 12:16:08 2005 -0700 [PATCH] sky2: use kzalloc Can use kzalloc to save a little code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 488f84fd901cd3386f5723a3573ea2e1f55af537 Author: shemminger@osdl.org Date: Wed Oct 26 12:16:07 2005 -0700 [PATCH] sky2: remove unused definitions The sky2 driver has a lot of register definitions, that were copied over from the skge driver, for areas that don't exist on the Yukon2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2995bfb7855aabd493f840af361f3dd7d221caea Author: Stephen Hemminger Date: Wed Sep 28 10:01:03 2005 -0700 [PATCH] sky2: add permanent address support. Add permanent address support Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 9a7ae0a978263adb7d6b630f0c3c37c0133325e0 Author: Stephen Hemminger Date: Tue Sep 27 15:28:42 2005 -0700 [PATCH] sky2: nway reset (BONUS FEATURE) Here is support for ethtool controlled renegotiation. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 724bca3ca4d2126b67dd62e64d3f97805f9672de Author: shemminger@osdl.org Date: Tue Sep 27 15:03:01 2005 -0700 [PATCH] sky2: version 0.6 Verion number change, comment update and one simple optimization Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 Author: shemminger@osdl.org Date: Tue Sep 27 15:03:00 2005 -0700 [PATCH] sky2: explicit set power state Add better power management, and power down the chip on device removal Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d1f1370863f7fa3d76dc7d7779debdda854a5a60 Author: shemminger@osdl.org Date: Tue Sep 27 15:02:57 2005 -0700 [PATCH] sky2: add hardware VLAN acceleration support Use the hardware to do VLAN. Signed-off-by: Jeff Garzik commit d11c13e752c4e34777d33579ee0378e0178ef52d Author: shemminger@osdl.org Date: Tue Sep 27 15:02:56 2005 -0700 [PATCH] sky2: cleanup interrupt processing The receive processing can be cleaned up by not using local variables to store checksum status, instead just put it directly onto the expected skb. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6b1a3aefd897fd9be410d192f950656ef2b59694 Author: shemminger@osdl.org Date: Tue Sep 27 15:02:55 2005 -0700 [PATCH] sky2: changing mtu doesn't have to reset link Changing the MTU of the network device doesn't mean the whole link has to be brought down and back up again. Just stopping the receive engine is good enough. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ecfd7f32aa9e279f3732c2e5049b1a4a13428572 Author: Stephen Hemminger Date: Mon Sep 19 15:49:13 2005 -0700 [PATCH] sky2: version 0.5 Bump version (we are half way to a stable driver??) Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e4cbb34d4cabec48f25f0bbad68935221bd457b Author: Stephen Hemminger Date: Mon Sep 19 15:47:57 2005 -0700 [PATCH] sky2: allow ethtool debug access to all of PCI space For debugging, it is useful to allow ethtool to dump all of the PCI mapped space. There is one small set of registers for RAM diagnostics that needs to be avoided to prevent hanging, but all the rest is accessible. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 79e57d32fe6d2d5bd38378f6dccfdbe6bd1d1dab Author: Stephen Hemminger Date: Mon Sep 19 15:42:33 2005 -0700 [PATCH] sky2: fix FIFO DMA alignment problems The Yukon2 chip FIFO has a problem recovering from a pause frame if the receive buffer is not aligned. The workaround is to just leave receive buffer at original alignment, which will make IP header unaligned. Rework receive logic for clarity. Need to ignore receive overrun interrupts (or mac hangs). These fixes make the sky2 driver generally usable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac Author: Stephen Hemminger Date: Wed Sep 14 16:06:14 2005 -0700 [PATCH] sky2: driver update. Here is revised patch against netdev sky2 branch. It includes whitespace fixes, all the changes from the previous review as well as some optimizations and timing fixes to solve some of the hangs. The stall problem is better but not perfect. It appears that under stress the chip can't keep up with the bus and sends a pause frame, then hangs. This version is for testing, and hopefully other eyes might see the root cause of the problem. I don't want to reinvent the ugly watchdog code in the syskonnect version of sk98lin. If you read it you will see, the original driver writer and the hardware developer obviously didn't understand each other. Dual port support is included, but not tested yet. It did require small change to NAPI since both ports share same IRQ. Signed-off-by: Jeff Garzik commit cd28ab6a4e50a7601d22752aa7ce0c8197b10bdf Author: Stephen Hemminger Date: Tue Aug 16 16:36:49 2005 -0700 [PATCH] sky2: new experimental Marvell Yukon2 driver New driver for the Marvell Yukon2 Gigabit Ethernet chipset. This driver is based on the skge driver, but using the logic from the SysKonnect version of the sk98lin driver. It should support all the Yukon2 chipsets that are available in many current Intel and AMD motherboards. The driver does support ethtool, tx and rx checksum, and tcp segmentation offload. But it has only been tested for a short while and is known to stop receiving under heavy load. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik