commit 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b Author: Linus Torvalds Date: Sun Aug 28 16:41:01 2005 -0700 Linux v2.6.13 commit 20b1730af3ae05450b0e03f5aed40c4313f65db6 Author: Heiko Carstens Date: Sun Aug 28 13:22:37 2005 -0700 [PATCH] zfcp: bugfix and compile fixes Bugfix (usage of uninitialized pointer in zfcp_port_dequeue) and compile fixes for the zfcp device driver. Signed-off-by: Heiko Carstens Acked-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f84f226389fc5f47b3cb36818972e2e171607de Author: Alexey Dobriyan Date: Sun Aug 28 15:33:53 2005 +0400 [PATCH] zfcp: fix compilation due to rports changes struct zfcp_port::scsi_id was removed by commit 3859f6a248cbdfbe7b41663f3a2b51f48e30b281 Signed-off-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit 3d52acb34247816c453f94596e6c7fc4499b76dc Merge: f786648b89f00d4e66fe6b19beffd30e764651fc 214838a2108b4b1e18abce2e28d37996e9bf7c68 Author: Linus Torvalds Date: Sat Aug 27 18:05:14 2005 -0700 Merge refs/heads/upstream-fixes from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit f786648b89f00d4e66fe6b19beffd30e764651fc Author: Paul Mackerras Date: Sun Aug 28 09:40:01 2005 +1000 [PATCH] Remove race between con_open and con_close [ Same race and same patch also by Steven Rostedt ] I have a laptop (G3 powerbook) which will pretty reliably hit a race between con_open and con_close late in the boot process and oops in vt_ioctl due to tty->driver_data being NULL. What happens is this: process A opens /dev/tty6; it comes into con_open() (drivers/char/vt.c) and assign a non-NULL value to tty->driver_data. Then process A closes that and concurrently process B opens /dev/tty6. Process A gets through con_close() and clears tty->driver_data, since tty->count == 1. However, before process A can decrement tty->count, we switch to process B (e.g. at the down(&tty_sem) call at drivers/char/tty_io.c line 1626). So process B gets to run and comes into con_open with tty->count == 2, as tty->count is incremented (in init_dev) before con_open is called. Because tty->count != 1, we don't set tty->driver_data. Then when the process tries to do anything with that fd, it oopses. The simple and effective fix for this is to test tty->driver_data rather than tty->count in con_open. The testing and setting of tty->driver_data is serialized with respect to the clearing of tty->driver_data in con_close by the console_sem. We can't get a situation where con_open sees tty->driver_data != NULL and then con_close on a different fd clears tty->driver_data, because tty->count is incremented before con_open is called. Thus this patch eliminates the race, and in fact with this patch my laptop doesn't oops. Signed-off-by: Paul Mackerras [ Same patch Signed-off-by: Steven Rostedt in http://marc.theaimsgroup.com/?l=linux-kernel&m=112450820432121&w=2 ] Signed-off-by: Linus Torvalds commit 3859f6a248cbdfbe7b41663f3a2b51f48e30b281 Author: Andreas Herrmann Date: Sat Aug 27 11:07:54 2005 -0700 [PATCH] zfcp: add rports to enable scsi_add_device to work again This patch fixes a severe problem with 2.6.13-rc7. Due to recent SCSI changes it is not possible to add any LUNs to the zfcp device driver anymore. With registration of remote ports this is fixed. Signed-off-by: Andreas Herrmann Acked-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 729d70f5dfd663b44bca68a4479c96bde7e535d6 Author: Jan Blunck Date: Sat Aug 27 11:07:52 2005 -0700 [PATCH] sg.c: fix a memory leak in devices seq_file implementation I know that scsi procfs is legacy code but this is a fix for a memory leak. While reading through sg.c I realized that the implementation of /proc/scsi/sg/devices with seq_file is leaking memory due to freeing the pointer returned by the next() iterator method. Since next() might return NULL or an error this is wrong. This patch fixes it through using the seq_files private field for holding the reference to the iterator object. Here is a small bash script to trigger the leak. Use slabtop to watch the size-32 usage grow and grow. #!/bin/sh while true; do cat /proc/scsi/sg/devices > /dev/null done Signed-off-by: Jan Blunck Acked-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8126fdbc76351bdf99c6737ef4fecf88a22fa538 Author: Patrick Boettcher Date: Sat Aug 27 19:30:30 2005 +0200 [PATCH] fix for race problem in DVB USB drivers (dibusb) Fixed race between submitting streaming URBs in the driver and starting the actual transfer in hardware (demodulator and USB controller) which sometimes lead to garbled data transfers. URBs are now submitted first, then the transfer is enabled. Dibusb devices and clones are now fully functional again. Signed-off-by: Patrick Boettcher Signed-off-by: Linus Torvalds commit 820d220de400cfaaf846a2d8b5de93f9ea5a9b80 Author: James Morris Date: Sat Aug 27 13:47:06 2005 +0200 [PATCH] Fix capifs bug in initialization error path. This fixes a bug in the capifs initialization code, where the filesystem is not unregistered if kern_mount() fails. Signed-off-by: James Morris Signed-off-by: Karsten Keil Signed-off-by: Linus Torvalds commit 8dbddf17824861f2298de093549e6493d9844835 Author: Eric W. Biederman Date: Sat Aug 27 00:56:18 2005 -0600 [PATCH] acpi_shutdown: Only prepare for power off on power_off When acpi_sleep_prepare was moved into a shutdown method we started calling it for all shutdowns. It appears this triggers some systems to power off on reboot. Avoid this by only calling acpi_sleep_prepare if we are going to power off the system. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 6a029a90f5b93e2b50bcbbaef05ef91fa0c1d6b3 Author: Al Viro Date: Sat Aug 27 06:48:15 2005 +0100 [PATCH] mmaper_kern.c fixes [buffer overruns] - copy_from_user() can fail; ->write() must check its return value. - severe buffer overruns both in ->read() and ->write() - lseek to the end (i.e. to mmapper_size) and if (count + *ppos > mmapper_size) count = count + *ppos - mmapper_size; will do absolutely nothing. Then it will call copy_to_user(buf,&v_buf[*ppos],count); with obvious results (similar for ->write()). Fixed by turning read to simple_read_from_buffer() and by doing normal limiting of count in ->write(). - gratitious lock_kernel() in ->mmap() - it's useless there. - lots of gratuitous includes. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 214838a2108b4b1e18abce2e28d37996e9bf7c68 Author: Ralf Baechle Date: Wed Aug 24 18:01:33 2005 +0100 [PATCH] Fix 6pack setting of MAC address Don't check type of sax25_family; dev_set_mac_address has already done that before and anyway, the type to check against would have been ARPHRD_AX25. We only got away because AF_AX25 and ARPHRD_AX25 both happen to be defined to the same value. Don't check sax25_ndigis either; it's value is insignificant for the purpose of setting the MAC address and the check has shown to break some application software for no good reason. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit 84a2ea1c2cee0288f96e0c6aa4f975d4d26508c7 Author: Ralf Baechle Date: Thu Aug 25 19:38:30 2005 +0100 [PATCH] 6pack Timer initialization I dropped the timer initialization bits by accident when sending the p-persistence fix. This patch gets the driver to work again on halfduplex links. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit 36676bcbf9f6bcbea9d06e67ee8d04eacde54952 Author: James Bottomley Date: Fri Aug 26 18:34:17 2005 -0700 [PATCH] Fix oops in sysfs_hash_and_remove_file() The problem arises if an entity in sysfs is created and removed without ever having been made completely visible. In SCSI this is triggered by removing a device while it's initialising. The problem appears to be that because it was never made visible in sysfs, the sysfs dentry has a null d_inode which oopses when a reference is made to it. The solution is simply to check d_inode and assume the object was never made visible (and thus doesn't need deleting) if it's NULL. (akpm: possibly a stopgap for 2.6.13 scsi problems. May not be the long-term fix) Signed-off-by: James Bottomley Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 657390d25d4241705cb4fc5b3b4ba5b30575dc17 Author: NeilBrown Date: Fri Aug 26 18:34:16 2005 -0700 [PATCH] md: clear the 'recovery' flags when starting an md array. It's possible for this to still have flags in it and a previous instance has been stopped, and that confused the new array using the same mddev. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72008652dae7d10fa668d7b2ada3bddff7403d86 Author: NeilBrown Date: Fri Aug 26 18:34:15 2005 -0700 [PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number. I just discovered this is needed for module auto-loading. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1bcfcaa0b3bec2a67b22c565a0bf508ea90db1d Author: Roland Dreier Date: Fri Aug 26 18:34:14 2005 -0700 [PATCH] IB: fix use-after-free in user verbs cleanup Fix a use-after-free bug in userspace verbs cleanup: we can't touch mr->device after we free mr by calling ib_dereg_mr(). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c9cf6f9861f8d27303ee2531b3b7686269c71ce Author: Deepak Saxena Date: Fri Aug 26 18:34:11 2005 -0700 [PATCH] arm: fix IXP4xx flash resource range We are currently reserving one byte more than actually needed by the flash device and overlapping into the next I/O expansion bus window. This a) causes us to allocate an extra page of VM due to ARM ioremap() alignment code and b) could cause problems if another driver tries to request the next expansion bus window. Signed-off-by: Deepak Saxena Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 485761bd6a72d33b3d4fa884927b2b0d983b701e Author: Andi Kleen Date: Fri Aug 26 18:34:10 2005 -0700 [PATCH] x86_64: Tell VM about holes in nodes Some nodes can have large holes on x86-64. This fixes problems with the VM allowing too many dirty pages because it overestimates the number of available RAM in a node. In extreme cases you can end up with all RAM filled with dirty pages which can lead to deadlocks and other nasty behaviour. This patch just tells the VM about the known holes from e820. Reserved (like the kernel text or mem_map) is still not taken into account, but that should be only a few percent error now. Small detail is that the flat setup uses the NUMA free_area_init_node() now too because it offers more flexibility. (akpm: lotsa thanks to Martin for working this problem out) Cc: Martin Bligh Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bebf4688e9dbbfdd421736685d607bced91a3c91 Author: Mark M. Hoffman Date: Fri Aug 26 18:34:08 2005 -0700 [PATCH] I2C hwmon: kfree fixes This patch fixes several instances of hwmon drivers kfree'ing the "wrong" pointer; the existing code works somewhat by accident. (akpm: plucked from Greg's queue based on lkml discussion. Finishes off the patch from Jon Corbet) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32818c2eb6b83ea5065c89e0c3cf774abc4dc02b Author: Anton Blanchard Date: Fri Aug 26 18:34:07 2005 -0700 [PATCH] ppc64: Fix issue with gcc 4.0 compiled kernels I recently had a BUG_ON() go off spuriously on a gcc 4.0 compiled kernel. It turns out gcc-4.0 was removing a sign extension while earlier gcc versions would not. Thinking this to be a compiler bug, I submitted a report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23422 It turns out we need to cast the input in order to tell gcc to sign extend it. Thanks to Andrew Pinski for his help on this bug. Signed-off-by: Anton Blanchard Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 212d6d2237f60bc28c1518f8abf9d3ed6c17574a Author: Paul Jackson Date: Thu Aug 25 12:47:56 2005 -0700 [PATCH] completely disable cpu_exclusive sched domain At the suggestion of Nick Piggin and Dinakar, totally disable the facility to allow cpu_exclusive cpusets to define dynamic sched domains in Linux 2.6.13, in order to avoid problems first reported by John Hawkes (corrupt sched data structures and kernel oops). This has been built for ppc64, i386, ia64, x86_64, sparc, alpha. It has been built, booted and tested for cpuset functionality on an SN2 (ia64). Dinakar or Nick - could you verify that it for sure does avoid the problems Hawkes reported. Hawkes is out of town, and I don't have the recipe to reproduce what he found. Signed-off-by: Paul Jackson Acked-by: Nick Piggin Signed-off-by: Linus Torvalds commit ca2f3daf779f5e89d14e9783fcfd7920842df9e9 Author: Paul Jackson Date: Thu Aug 25 12:47:50 2005 -0700 [PATCH] undo partial cpu_exclusive sched domain disabling The partial disabling of Dinakar's new facility to allow cpu_exclusive cpusets to define dynamic sched domains doesn't go far enough. At the suggestion of Nick Piggin and Dinakar, let us instead totally disable this facility for 2.6.13, in order to avoid problems first reported by John Hawkes (corrupt sched data structures and kernel oops). This patch removes the partial disabling code in 2.6.13-rc7, in anticipation of the next patch, which will totally disable it instead. Signed-off-by: Paul Jackson Signed-off-by: Linus Torvalds commit 13142341ac867bb67e88204cbfcb8d90f9a861b7 Merge: 3fd1bb9baa394856b112e5edbfd3893d92dd1149 d4ef16088913002255eab9958fff4e98b3b507d6 Author: Linus Torvalds Date: Fri Aug 26 16:32:31 2005 -0700 Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git commit 3fd1bb9baa394856b112e5edbfd3893d92dd1149 Author: Jean Delvare Date: Thu Aug 25 18:43:37 2005 +0200 [PATCH] hwmon: Off-by-one error in fscpos driver Coverity uncovered an off-by-one error in the fscpos driver, in function set_temp_reset(). Writing to the temp3_reset sysfs file will lead to an array overrun, in turn causing an I2C write to a random register of the FSC Poseidon chip. Additionally, writing to temp1_reset and temp2_reset will not work as expected. The fix is straightforward. Signed-off-by: Jean Delvare Signed-off-by: Linus Torvalds commit 566ecb9b258ec4da3c7e1c6ca6fca8a5bb0c8eba Author: Marcelo Tosatti Date: Tue Aug 23 17:20:44 2005 -0300 [PATCH] ppc32 8xx: fix m8xx_ide_init() #ifdef Be more precise on deciding whether to call m8xx_ide_init() at m8xx_setup.c:platform_init(). Compilation fails if CONFIG_BLK_DEV_IDE is defined but CONFIG_BLK_DEV_MPC8xx_IDE isnt. Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit 3515d0161d55d2fa1a340932625f94240a68c262 Author: Al Viro Date: Thu Aug 25 23:13:14 2005 +0100 [PATCH] late spinlock initialization in ieee1394/ohci spinlock used in irq handler should be initialized before registering irq, even if we know that our device has interrupts disabled; handler is registered shared and taking spinlock is done unconditionally. As it is, we can and do get oopsen on boot for some configuration, depending on irq routing - I've got a reproducer. Signed-off-by: Al Viro Signed-off-by: Ben Collins Signed-off-by: Linus Torvalds commit a46206e74e1897bf34d6b58f0991a0d6f3797e27 Author: Al Viro Date: Thu Aug 25 23:03:35 2005 +0100 [PATCH] bogus function type in qdio In qdio_get_micros() volatile in return type is plain noise (even with old gccisms it would make no sense - noreturn function returning __u64 is a bit odd ;-) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b6a9ad73897acb7ea4cf56aae0fc39ba1c471fba Author: Al Viro Date: Thu Aug 25 22:59:48 2005 +0100 [PATCH] bogus iounmap() in emac Dumb typo: iounmap(&local_pointer_variable). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1f57ff89fee47a317e9e8ca63bf0f139802cc116 Author: Alexey Dobriyan Date: Fri Aug 26 01:49:14 2005 +0400 [PATCH] drivers/hwmon/*: kfree() correct pointers The adm9240 driver, in adm9240_detect(), allocates a structure. The error path attempts to kfree() ->client field of it (second one), resulting in an oops (or slab corruption) if the hardware is not present. ->client field in adm1026, adm1031, smsc47b397 and smsc47m1 is the first in ${HWMON}_data structure, but fix them too. Signed-off-by: Jonathan Corbet Signed-off-by: Linus Torvalds commit d634cc15e8f33332038dc9c078beae79f9382ada Author: Steve French Date: Fri Aug 26 14:42:59 2005 -0500 [PATCH] Fix oops in fs/locks.c on close of file with pending locks The recent change to locks_remove_flock code in fs/locks.c changes how byte range locks are removed from closing files, which shows up a bug in cifs. The assumption in the cifs code was that the close call sent to the server would remove any pending locks on the server on this file, but that is no longer safe as the fs/locks.c code on the client wants unlock of 0 to PATH_MAX to remove all locks (at least from this client, it is not possible AFAIK to remove all locks from other clients made to the server copy of the file). Note that cifs locks are different from posix locks - and it is not possible to map posix locks perfectly on the wire yet, due to restrictions of the cifs network protocol, even to Samba without adding a new request type to the network protocol (which we plan to do for Samba 3.0.21 within a few months), but the local client will have the correct, posix view, of the lock in most cases. The correct fix for cifs for this would involve a bigger change than I would like to do this late in the 2.6.13-rc cycle - and would involve cifs keeping track of all unmerged (uncoalesced) byte range locks for each remote inode and scanning that list to remove locks that intersect or fall wholly within the range - locks that intersect may have to be reaquired with the smaller, remaining range. Signed-off-by: Steve French Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit fd589e0b662c1ea8cfb1e0d20d60a2510979865b Author: Paolo 'Blaisorblade' Giarrusso Date: Fri Aug 26 16:57:53 2005 +0200 [PATCH] hppfs: fix symlink error path While touching this code I noticed the error handling is bogus, so I fixed it up. I've removed the IS_ERR(proc_dentry) check, which will never trigger and is clearly a typo: we must check proc_file instead. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit d7a60d50d7713b65a3fd88f11d5717b83a6b6a97 Author: Paolo 'Blaisorblade' Giarrusso Date: Fri Aug 26 16:57:44 2005 +0200 [PATCH] Fixup symlink function pointers for hppfs [for 2.6.13] Update hppfs for the symlink functions prototype change. Yes, I know the code I leave there is still _bogus_, see next patch for this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 7c657f2f25d50c602df9291bc6242b98fc090759 Author: John McCutchan Date: Fri Aug 26 14:02:04 2005 -0400 [PATCH] Document idr_get_new_above() semantics, update inotify There is an off by one problem with idr_get_new_above. The comment and function name suggest that it will return an id > starting_id, but it actually returned an id >= starting_id, and kernel callers other than inotify treated it as such. The patch below fixes the comment, and fixes inotifys usage. The function name still doesn't match the behaviour, but it never did. Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 755528c860b05fcecda1c88a2bdaffcb50760a7f Author: Linus Torvalds Date: Fri Aug 26 10:49:22 2005 -0700 Ignore disabled ROM resources at setup Writing even a disabled value seems to mess up some matrox graphics cards. It may be a card-related issue, but we may also be writing reserved low bits in the result. This was a fall-out of switching x86 over to the generic PCI resource allocation code, and needs more debugging. In particular, the old x86 code defaulted to not doing any resource allocations at all for ROM resources. In the meantime, this has been reported to make X happier by Helge Hafting . Signed-off-by: Linus Torvalds commit 26aad69e3dd854abe9028ca873fb40b410a39dd7 Author: Linus Torvalds Date: Fri Aug 26 10:40:10 2005 -0700 Only pre-allocate 256 bytes of cardbio IO range It may seem small, but most cards need much less, if any, and this not only makes the code adhere to the comment, it seems to fix a boot-time lockup on a ThinkPad 380XD laptop reported by Tero Roponen Signed-off-by: Linus Torvalds commit d4ef16088913002255eab9958fff4e98b3b507d6 Author: Michael Chan Date: Thu Aug 25 15:31:41 2005 -0700 [TG3]: Fix ethtool loopback test lockup The tg3_abort_hw() call in tg3_test_loopback() is causing lockups on some devices. tg3_abort_hw() disables the memory arbiter, causing tg3_reset_hw() to hang when it tries to write the pre-reset signature. tg3_abort_hw() should only be called after the pre-reset signature has been written. This is all done in tg3_reset_hw() so the tg3_abort_hw() call is unnecessary and can be removed. [ Also bump driver version and release date. -DaveM ] Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9c2c38a122cc23d6a09b8004d60a33913683eedf Author: Jens Axboe Date: Wed Aug 24 14:57:54 2005 +0200 [PATCH] cfq-iosched.c: minor fixes One critical fix and two minor fixes for 2.6.13-rc7: - Max depth must currently be 2 to allow barriers to function on SCSI - Prefer sync request over async in choosing the next request - Never allow async request to preempt or disturb the "anticipation" for a single cfq process context. This is as-designed, the code right now is buggy in that area. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 41290c14640bc9312bf63202d14ebef075b6171a Author: Keith Owens Date: Wed Aug 24 16:06:25 2005 +1000 [PATCH] Export pcibios_bus_to_resource pcibios_bus_to_resource is exported on all architectures except ia64 and sparc. Add exports for the two missing architectures. Needed when Yenta socket support is compiled as a module. Signed-off-by: Keith Owens Signed-off-by: Linus Torvalds commit b7561524765a30334bf31c56b523aeb3c1a04c7d Author: Andi Kleen Date: Wed Aug 24 07:37:37 2005 +0200 [PATCH] x86_64: update defconfig - reenable fusion I mistakedly disabled fusion support in an earlier update. Fusion is commonly used on many x86-64 systems, so this was a problem. This patch fixes that. Signed-off-by: And Kleen Signed-off-by: Linus Torvalds commit 5477d30e841e0f707fd2daddc8cb6949858476ee Author: Benjamin Herrenschmidt Date: Wed Aug 24 14:18:53 2005 +1000 [PATCH] ppc64: Export machine_power_off for therm_pm72 module This patch puts back the export of machine_power_off() that was removed by some janitor as it's used for emergency shutdown by the G5 thermal control driver. Wether that driver should use kernel_power_off() instead is debatable and a post-2.6.13 decision. In the meantime, please commit that patch that fixes the driver for now. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 3725822f7c7134249addcd4549aff086950c8090 Author: Paul Jackson Date: Wed Aug 24 04:15:10 2005 -0700 [PATCH] cpu_exclusive sched domains build fix As reported by Paul Mackerras , the previous patch "cpu_exclusive sched domains fix" broke the ppc64 build with CONFIC_CPUSET, yielding error messages: kernel/cpuset.c: In function 'update_cpu_domains': kernel/cpuset.c:648: error: invalid lvalue in unary '&' kernel/cpuset.c:648: error: invalid lvalue in unary '&' On some arch's, the node_to_cpumask() is a function, returning a cpumask_t. But the for_each_cpu_mask() requires an lvalue mask. The following patch fixes this build failure by making a copy of the cpumask_t on the stack. Signed-off-by: Paul Jackson Signed-off-by: Linus Torvalds commit 40bb0c3ef52d872de348e10000eb5432a43a147d Author: Andreas Schwab Date: Wed Aug 24 17:36:21 2005 +0200 [PATCH] m68k: fix broken macros causing compile errors Add parens around macro parameters. Signed-off-by: Andreas Schwab Signed-off-by: Linus Torvalds commit 06c7427021f1cc83703f14659d8405ca773ba1ef Author: Patrick McHardy Date: Tue Aug 23 22:06:09 2005 -0700 [FIB_TRIE]: Don't ignore negative results from fib_semantic_match When a semantic match occurs either success, not found or an error (for matching unreachable routes/blackholes) is returned. fib_trie ignores the errors and looks for a different matching route. Treat results other than "no match" as success and end lookup. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf Author: Linus Torvalds Date: Tue Aug 23 20:39:14 2005 -0700 Linux v2.6.13-rc7 Too many changes to release a final 2.6.13. commit 9138dccbb9f39f12474554ef93dcc24de2e9c8f6 Author: Deepak Saxena Date: Tue Aug 23 13:30:29 2005 -0700 [PATCH] Fix IXP4xx CLOCK_TICK_RATE As pointed out in the following thread, the CLOCK_TICK_RATE setting for IXP4xx is incorrect b/c the HW ignores the lowest 2 bits of the LATCH value. http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-August/030950.html Tnx to George Anziger and Egil Hjelmeland for finding the issue. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit d10689b68aff7b48e3de1a3f7fcd6567bd2905af Author: Paul Jackson Date: Tue Aug 23 01:04:27 2005 -0700 [PATCH] cpu_exclusive sched domains on partial nodes temp fix This keeps the kernel/cpuset.c routine update_cpu_domains() from invoking the sched.c routine partition_sched_domains() if the cpuset in question doesn't fall on node boundaries. I have boot tested this on an SN2, and with the help of a couple of ad hoc printk's, determined that it does indeed avoid calling the partition_sched_domains() routine on partial nodes. I did not directly verify that this avoids setting up bogus sched domains or avoids the oops that Hawkes saw. This patch imposes a silent artificial constraint on which cpusets can be used to define dynamic sched domains. This patch should allow proceeding with this new feature in 2.6.13 for the configurations in which it is useful (node alligned sched domains) while avoiding trying to setup sched domains in the less useful cases that can cause the kernel corruption and oops. Signed-off-by: Paul Jackson Acked-by: Ingo Molnar Acked-by: Dinakar Guniguntala Acked-by: John Hawkes Signed-off-by: Linus Torvalds commit ae75784bc576a1af70509c2f3ba2b70bb65a0c58 Merge: 005940ead619c2867e0465c8e0fffb9e5989b57e 7087e295543d3f6e161530e07982fd979e2d9efc Author: Linus Torvalds Date: Tue Aug 23 20:00:48 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 commit 005940ead619c2867e0465c8e0fffb9e5989b57e Merge: d3813fcf105814d06b47fa586f6b61f3cff1cefc 6885433c25aaca2cb13ee52a94be156163d6aa23 Author: Linus Torvalds Date: Tue Aug 23 20:00:17 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit d3813fcf105814d06b47fa586f6b61f3cff1cefc Author: Andi Kleen Date: Tue Aug 23 03:14:27 2005 +0200 [PATCH] x86_64: Don't oops at boot when empty Opteron node has IO The code to detect IO links on Opteron would not check if the node had actually memory. This could lead to pci_bus_to_node returning an invalid node, which might cause crashes later when dma_alloc_coherent passes it to page_alloc_node(). The bug has been there forever but for some reason it is causing now crashes. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2bbfb16bf345acd81ab1e6e3d4b35964650517ac Author: lepton Date: Mon Aug 22 17:06:14 2005 -0700 [PATCH] usbnet oops fix There's a "return the wrong SKB" error in the GL620A cable minidriver (for "usbnet") which can oops. This would not appear when talking Linux-to-Linux, only Linux-to-Windows (for recent Linuxes). Signed-off-by: David Brownell Signed-off-by: Linus Torvalds commit b1daec3089a129a67169d3ae975985a7480fe17f Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Tue Aug 23 21:36:40 2005 -0400 [PATCH] i386: fix incorrect FP signal code i386 floating-point exception handling has a bug that can cause error code 0 to be sent instead of the proper code during signal delivery. This is caused by unconditionally checking the IS and c1 bits from the FPU status word when they are not always relevant. The IS bit tells whether an exception is a stack fault and is only relevant when the exception is IE (invalid operation.) The C1 bit determines whether a stack fault is overflow or underflow and is only relevant when IS and IE are set. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 11532cc6aa73a47023268d718bf43b646494615c Merge: 17566c3c5ed3ea8f941a135cf960387214c4f6ac c1cc168442a943ed3997f6543db87c061987f9d7 Author: Linus Torvalds Date: Tue Aug 23 19:21:44 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 17566c3c5ed3ea8f941a135cf960387214c4f6ac Author: Al Viro Date: Tue Aug 23 22:48:22 2005 +0100 [PATCH] s390 __CHECKER__ ifdefs remove the bogus games with explicit ifdefs on __CHECKER__ Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8032230694ec56c168a1404c67a54d281536cbed Author: Al Viro Date: Tue Aug 23 22:48:17 2005 +0100 [PATCH] %t... in vsnprintf handling of %t... (ptrdiff_t) in vsnprintf Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit acd3bd82c08d1a399760605706a86821148243d9 Author: Al Viro Date: Tue Aug 23 22:48:12 2005 +0100 [PATCH] ad1980 makefile fix ac97_plugin_ad1980 should trigger build of ac97_codec Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fa53bb650e6747628276e3ab6d98f51d9bfb0573 Author: Al Viro Date: Tue Aug 23 22:48:07 2005 +0100 [PATCH] Kconfig fix (non-modular SCSI drivers) non-modular scsi drivers depend on built-in scsi Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0e6d0d89343ab24ddeb39f8b2ffdd2d4c194427c Author: Al Viro Date: Tue Aug 23 22:48:02 2005 +0100 [PATCH] Kconfig fix (missing dependencies on PCI in sound/*) a bunch of PCI-only drivers didn't have the right dependency Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit eaaece266a78b8f56ade48fe23147b8b933364de Author: Al Viro Date: Tue Aug 23 22:47:57 2005 +0100 [PATCH] missing exports on m32r missing exports on m32r Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 33215652e4a75dfa8adb20f4d741517457b0da2b Author: Al Viro Date: Tue Aug 23 22:47:52 2005 +0100 [PATCH] qualifiers in return types - easy cases a bunch of functions switched from volatile to __attribute__((noreturn)) and from const to __attribute_pure__ Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ade31f38f2ef61900e901d26061deff0c4dba085 Author: Al Viro Date: Tue Aug 23 22:47:47 2005 +0100 [PATCH] typo fix in qdio.c dumb typo: u32 volatile * mistyped as u32 * volatile Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 530d8e97384fd2a6805fa4515a4e6828d7b53ee2 Author: Al Viro Date: Tue Aug 23 22:47:42 2005 +0100 [PATCH] emac netpoll fix netpoll is void(struct net_device *), not int(struct net_device *) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 791cdc7c561e2e72596388533f959e6d74dc6231 Author: Al Viro Date: Tue Aug 23 22:47:37 2005 +0100 [PATCH] vidc gcc4 fix removes an extern for a static variable. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0cbdff4f7fc642deb1f36bc035cf60b7bdc497d5 Author: Al Viro Date: Tue Aug 23 22:47:32 2005 +0100 [PATCH] broken inline asm on s390 (misuse of labels) use of explicit labels in inline asm is a Bad Idea(tm), since gcc can decide to inline the function in several places. Fixed by use of 1f/f: instead of .Lfitsin/.Lfitsin: Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a828b8e4e699b5e3ce0dcbb708ecb099b86f3126 Author: Al Viro Date: Tue Aug 23 22:47:27 2005 +0100 [PATCH] m32r_sio gcc4 fixes extern declaration followed by static in drivers/serial/m32r_sio.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c51d9943b11441fd1ea42c7e70cfb5eed33fe97b Author: Al Viro Date: Tue Aug 23 22:47:22 2005 +0100 [PATCH] m32r icu_data gcc4 fixes either icu_data declaration for SMP case should be taken out of m32102.h, or its declarations for m32700ut and opsput should not be static for SMP. Patch does the latter - judging by comments in m32102.h it is intended to be non-static. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e231a9c4fdf402bcfd5a7c27be49050882631a95 Author: Al Viro Date: Tue Aug 23 22:47:17 2005 +0100 [PATCH] m32r smp.h gcc4 fixes extern on physid_2_cpu[] does not belong in smp.h - the thing is static. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 719e5985cf79bb60f4a28816547efd27dde178f5 Author: Al Viro Date: Tue Aug 23 22:47:12 2005 +0100 [PATCH] alpha spinlock code and bogus constraints "=m" (lock->lock) / "1" (lock->lock) makes gcc4 unhappy; fixed by s/1/m/, same as in case of i386 rwsem.h where such variant had been accepted by both Linus and rth. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 79fb7bdce363685b336e3f0fb8207312fd1f02fc Author: Al Viro Date: Tue Aug 23 22:47:07 2005 +0100 [PATCH] alpha xchg fix alpha xchg has to be a macro - alpha disables always_inline and if that puppy does not get inlined, we immediately blow up on undefined reference. Happens even on gcc3; with gcc4 that happens a _lot_. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 531e5ca62bd9aabef6bd8340d8ae93bac1b5caa2 Author: Al Viro Date: Tue Aug 23 22:47:01 2005 +0100 [PATCH] missing include in pcmcia_resource.c missing include of asm/irq.h Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 18415e923e90b986db316abd078f6d863cee7b18 Author: Al Viro Date: Tue Aug 23 22:46:56 2005 +0100 [PATCH] alpha gcc4 warnings on UP smp_call_function() is expanded to expression. Alpha oprofile calls that puppy and ignores the return value. And has -Werror for arch/*... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a238b563502a7f458624b9c6404742e441b2f9e8 Author: Al Viro Date: Tue Aug 23 22:46:51 2005 +0100 [PATCH] Kconfig fix (sparc32 drivers/char dependencies) since sparc32 Kconfig includes drivers/char/Kconfig (instead of duplicating its parts) we need several new dependencies there to exclude the stuff broken on sparc32 and not excluded by existing dependencies. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 997183dc2a8992374d93e66f5ea0d58fa1022a47 Author: Al Viro Date: Tue Aug 23 22:46:46 2005 +0100 [PATCH] Kconfig fix (emac dependencient) emac doesn't build modular; ibm_emac_debug doesn't build at all (missing headers). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6299afc40c8612a87358ecea80882395fe67111f Author: Al Viro Date: Tue Aug 23 22:46:41 2005 +0100 [PATCH] Kconfig fix (CONFIG_PM on 44x) CONFIG_PM is broken on 44x; removed duplicate entry for CONFIG_PM, made the inclusion of generic one conditional on BROKEN || !44x. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f08243a491f3e21feabbb04476a03fb0cbc975ff Author: Al Viro Date: Tue Aug 23 22:46:36 2005 +0100 [PATCH] Kconfig fix (ppc 4xx and early serial) a bunch of ppc 4xx variants unconditionally calls early_serial_setup() and therefore needs SERIAL_8250 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c4457fb9010765620faebccf4daf83b288295154 Author: Al Viro Date: Tue Aug 23 22:46:31 2005 +0100 [PATCH] Kconfig fix (IRQ_ALL_CPUS vs. MV64360) MV64360 does not support IRQ_ALL_CPUS - see arch/ppc/kernel/mv64360_pic.c. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ee449f514d2af21f3422c29702e6b0995c4c2a9c Author: Al Viro Date: Tue Aug 23 22:46:26 2005 +0100 [PATCH] Kconfig fix (ppc32 SMP dependencies) ppc SMP is supported only for 6xx/POWER3/POWER4 - i.e. ones that have PPC_STD_MMU. Dependency fixed. Signed-off-by: Al Viro Acked-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 51583cf108b27baf81c6db3ec718f932314986ea Author: Al Viro Date: Tue Aug 23 22:46:21 2005 +0100 [PATCH] Kconfig fix (VGA console on arm/versatile) VGA console doesn't exist (or build) on arm/versatile; dependency fixed. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 84b6a2323a2b9482958965bc66bbfbd2711cde71 Author: Al Viro Date: Tue Aug 23 22:46:16 2005 +0100 [PATCH] Kconfig fix (amba on arm/versatile) AMBA_PL010 is broken on arm/versatile; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a838e543db8f65ccbc710548916f20c23e51a363 Author: Al Viro Date: Tue Aug 23 22:46:11 2005 +0100 [PATCH] Kconfig fix (acornscsi) acornscsi had been broken for a long time; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9ff658589b8549a9142708d34625c7db6e34a672 Author: Al Viro Date: Tue Aug 23 22:46:06 2005 +0100 [PATCH] Kconfig fix (M32R_PLDSIO dependecies) M32R_PLDSIO depends on subarchitecture providing PLD_ESIO0CR and friends. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 14d891d20374c139acfaa379e61a7091b00df8fa Author: Al Viro Date: Tue Aug 23 22:46:01 2005 +0100 [PATCH] Kconfig fix (parport_pc on m32r) parport_pc shouldn't be picked on m32r (no asm/parport.h, for starters) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ab62c1e1dae0dedfc300c9f8e5c74227a8e26665 Author: Al Viro Date: Tue Aug 23 22:45:56 2005 +0100 [PATCH] Kconfig fix (airo_cs on m32r) airo_cs is broken on m32r; marked as such. [Proper fix would involve separating PCI-dependent parts and making sure they don't get in the way _and_ arranging for asm/scatterlist.h getting picked on m32r] Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a4d544fdd30111a1183ab92ea25febb8b6460214 Author: Al Viro Date: Tue Aug 23 22:45:51 2005 +0100 [PATCH] Kconfig fix (tms380tr and ISA_DMA_API) ISA parts of tms380tr are using ISA DMA helpers and should depend on ISA_DMA_API. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b545d48ca0e41803a19864c924d2efcdd4839df2 Author: Al Viro Date: Tue Aug 23 22:45:46 2005 +0100 [PATCH] Kconfig fix (arv) arv uses constants provided only by include/asm-m32r/m32700ut/m32700ut_lan.h It won't build for any subarchitecture other than M32700UT; marked as such. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a2b2f45be7e9138bde7fcba3b8e9257fea04d087 Author: Al Viro Date: Tue Aug 23 22:45:41 2005 +0100 [PATCH] Kconfig fix (infiniband and PCI) infiniband uses PCI helpers all over the place (including the core parts) and won't build without PCI. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 697ae16ac0482283741f42378108b67b492870e8 Author: Al Viro Date: Tue Aug 23 22:45:36 2005 +0100 [PATCH] Kconfig fix (DEBUG_PAGEALLOC on m32r) DEBUG_PAGEALLOC is broken on m32r - the option had been blindly copied from i386; kernel_map_pages() had not and that's what is needed for DEBUG_PAGEALLOC to work (or link, while we are at it). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c3a0f7718c84737440a621f6a8600f2e7b896a44 Author: Al Viro Date: Tue Aug 23 22:45:31 2005 +0100 [PATCH] Kconfig fix (PCI on m32r) PCI support is broken on m32r (pci_map_... missing, etc.); marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 897874fa9c58898767f081e12d70a1855b66331d Author: Al Viro Date: Tue Aug 23 22:45:26 2005 +0100 [PATCH] Kconfig fix (PMAC_BACKLIGHT on ppc64) PMAC_BACKLIGHT is broken on ppc64; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6622b8c780366f21c6bfaeebc6db8e591aa9ca2b Author: Al Viro Date: Tue Aug 23 22:45:21 2005 +0100 [PATCH] Kconfig fix (HISAX_FRITZPCI on ppc64) HISAX_FRITZPCI is broken on ppc64; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 253a9c3308dd931e35f8527d9bda7dba591601d3 Author: Al Viro Date: Tue Aug 23 22:45:16 2005 +0100 [PATCH] Kconfig fix (m32r genrtc) genrtc is not for m32r; marked as such. Probably ought to put that into arch/* - list of "don't build it on " is getting too long. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c5596b267a95bdea865b966a3d6cc6e52e7feae7 Author: Al Viro Date: Tue Aug 23 22:45:11 2005 +0100 [PATCH] Kconfig fix (m32r NUMA) NUMA is broken on m32r; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 276bd31ce5af01350465861af7aa6a25864eb108 Author: Al Viro Date: Tue Aug 23 22:45:06 2005 +0100 [PATCH] Kconfig fix (ISA_DMA_API and sound/*) fixed kconfig dependencies on ISA_DMA_API for parts of sound/* that rely on it. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e9bcb173dd1747075214a1ccdb65dc6320cae49d Author: Al Viro Date: Tue Aug 23 22:45:01 2005 +0100 [PATCH] Kconfig fix (epca on 64bit) epca is broken on 64bit; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ac6babd26ce514e0017ec5809051ea6cdc44c8f6 Author: Al Viro Date: Tue Aug 23 22:44:55 2005 +0100 [PATCH] Kconfig fix (arm SMP) SMP is broken on arm; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6df7c994a0090bf1e9604d690cde8e76b2618e4a Author: Al Viro Date: Tue Aug 23 22:44:50 2005 +0100 [PATCH] Kconfig fix (alpha NUMA) NUMA is broken on alpha; marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c1cc168442a943ed3997f6543db87c061987f9d7 Author: David S. Miller Date: Tue Aug 23 14:55:32 2005 -0700 [ROSE]: Fix typo in rose_route_frame() locking fix. Signed-off-by: David S. Miller commit 81065e2f415af6c028eac13f481fb9e60a0b487b Author: Alexey Dobriyan Date: Mon Aug 22 13:11:09 2005 -0700 [PATCH] zd1201 kmalloc size fix Noticed by Coverity checker. (akpm: I stole this from Greg's tree and used the (IMO) tidier sizeof(*p) construct). Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 005eca5e74b222db4360f8938140eb843d283325 Author: NeilBrown Date: Mon Aug 22 13:11:08 2005 -0700 [PATCH] md: make sure resync gets started when array starts. We weren't actually waking up the md thread after setting MD_RECOVERY_NEEDED when assembling an array, so it is possible to lose a race and not actually start resync. So add a call to md_wakeup_thread, and while we are at it, remove all the "if (mddev->thread)" guards as md_wake_thread does its own checking. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c5640cb5f5a6fd780d99397eca028b575cb1206 Author: David Meybohm Date: Mon Aug 22 13:11:08 2005 -0700 [PATCH] preempt race in getppid With CONFIG_PREEMPT && !CONFIG_SMP, it's possible for sys_getppid to return a bogus value if the parent's task_struct gets reallocated after current->group_leader->real_parent is read: asmlinkage long sys_getppid(void) { int pid; struct task_struct *me = current; struct task_struct *parent; parent = me->group_leader->real_parent; RACE HERE => for (;;) { pid = parent->tgid; #ifdef CONFIG_SMP { struct task_struct *old = parent; /* * Make sure we read the pid before re-reading the * parent pointer: */ smp_rmb(); parent = me->group_leader->real_parent; if (old != parent) continue; } #endif break; } return pid; } If the process gets preempted at the indicated point, the parent process can go ahead and call exit() and then get wait()'d on to reap its task_struct. When the preempted process gets resumed, it will not do any further checks of the parent pointer on !CONFIG_SMP: it will read the bad pid and return. So, the same algorithm used when SMP is enabled should be used when preempt is enabled, which will recheck ->real_parent in this case. Signed-off-by: David Meybohm Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f024c1a4bc8ef9a149879351ce8b3aa749e0c2f Merge: a4cce10492358b33d33bb43f98284c80482037e8 dc16aaf29d64b8c5e0b88f49a4d541edf5b61e42 Author: Linus Torvalds Date: Tue Aug 23 11:06:56 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit dc16aaf29d64b8c5e0b88f49a4d541edf5b61e42 Author: David S. Miller Date: Tue Aug 23 10:50:09 2005 -0700 [ROSE]: Fix missing unlocks in rose_route_frame() Noticed by Coverity checker. Signed-off-by: David S. Miller commit d5d283751ef3c05b6766501a46800cbee84959d6 Author: David S. Miller Date: Tue Aug 23 10:49:54 2005 -0700 [TCP]: Document non-trivial locking path in tcp_v{4,6}_get_port(). This trips up a lot of folks reading this code. Put an unlikely() around the port-exhaustion test for good measure. Signed-off-by: David S. Miller commit 89ebd197eb2cd31d6187db344d5117064e19fdde Author: David S. Miller Date: Tue Aug 23 10:13:06 2005 -0700 [TCP]: Unconditionally clear TCP_NAGLE_PUSH in skb_entail(). Intention of this bit is to force pushing of the existing send queue when TCP_CORK or TCP_NODELAY state changes via setsockopt(). But it's easy to create a situation where the bit never clears. For example, if the send queue starts empty: 1) set TCP_NODELAY 2) clear TCP_NODELAY 3) set TCP_CORK 4) do small write() The current code will leave TCP_NAGLE_PUSH set after that sequence. Unconditionally clearing the bit when new data is added via skb_entail() solves the problem. Signed-off-by: David S. Miller commit 0fbbeb1ba43bd04f0f1d4f161b7f72437a1c8a03 Author: Thomas Graf Date: Tue Aug 23 10:12:44 2005 -0700 [PKT_SCHED]: Fix missing qdisc_destroy() in qdisc_create_dflt() qdisc_create_dflt() is missing to destroy the newly allocated default qdisc if the initialization fails resulting in leaks of all kinds. The only caller in mainline which may trigger this bug is sch_tbf.c in tbf_create_dflt_qdisc(). Note: qdisc_create_dflt() doesn't fulfill the official locking requirements of qdisc_destroy() but since the qdisc could never be seen by the outside world this doesn't matter and it can stay as-is until the locking of pkt_sched is cleaned up. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d2287f844187158e5eddd0d5de8e95bd607abcb7 Author: Vlad Yasevich Date: Tue Aug 23 10:12:04 2005 -0700 [SCTP]: Add SENTINEL to SCTP MIB stats Add SNMP_MIB_SENTINEL to the definition of the sctp_snmp_list so that the output routine in proc correctly terminates. This was causing some problems running on ia64 systems. Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller commit 01d7dd0e9f8c5f1888619d2649c7da389232b408 Author: Ralf Baechle Date: Tue Aug 23 10:11:45 2005 -0700 [AX25]: UID fixes o Brown paperbag bug - ax25_findbyuid() was always returning a NULL pointer as the result. Breaks ROSE completly and AX.25 if UID policy set to deny. o While the list structure of AX.25's UID to callsign mapping table was properly protected by a spinlock, it's elements were not refcounted resulting in a race between removal and usage of an element. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 53b924b31fa53ac3007df3fef6870d5074a9adf8 Author: Ralf Baechle Date: Tue Aug 23 10:11:30 2005 -0700 [NET]: Fix socket bitop damage The socket flag cleanups that went into 2.6.12-rc1 are basically oring the flags of an old socket into the socket just being created. Unfortunately that one was just initialized by sock_init_data(), so already has SOCK_ZAPPED set. As the result zapped sockets are created and all incoming connection will fail due to this bug which again was carefully replicated to at least AX.25, NET/ROM or ROSE. In order to keep the abstraction alive I've introduced sock_copy_flags() to copy the socket flags from one sockets to another and used that instead of the bitwise copy thing. Anyway, the idea here has probably been to copy all flags, so sock_copy_flags() should be the right thing. With this the ham radio protocols are usable again, so I hope this will make it into 2.6.13. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 66a79a19a7c582efd99bb143c3a59fbda006eb39 Author: Patrick McHardy Date: Tue Aug 23 10:10:35 2005 -0700 [NETFILTER]: Fix HW checksum handling in ip_queue/ip6_queue The checksum needs to be filled in on output, after mangling a packet ip_summed needs to be reset. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1344a41637114485fac7afa1505bce2ff862807a Author: Dave Johnson Date: Tue Aug 23 10:10:15 2005 -0700 [IPV4]: Fix negative timer loop with lots of ipv4 peers. From: Dave Johnson Found this bug while doing some scaling testing that created 500K inet peers. peer_check_expire() in net/ipv4/inetpeer.c isn't using inet_peer_gc_mintime correctly and will end up creating an expire timer with less than the minimum duration, and even zero/negative if enough active peers are present. If >65K peers, the timer will be less than inet_peer_gc_mintime, and with >70K peers, the timer duration will reach zero and go negative. The timer handler will continue to schedule another zero/negative timer in a loop until peers can be aged. This can continue for at least a few minutes or even longer if the peers remain active due to arriving packets while the loop is occurring. Bug is present in both 2.4 and 2.6. Same patch will apply to both just fine. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c3a20692ca5c8eb8cf5d0f489d4fc839ce7593d1 Author: Herbert Xu Date: Tue Aug 23 10:09:53 2005 -0700 [RPC]: Kill bogus kmap in krb5 While I was going through the crypto users recently, I noticed this bogus kmap in sunrpc. It's totally unnecessary since the crypto layer will do its own kmap before touching the data. Besides, the kmap is throwing the return value away. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 14869c388673e8db3348ab3706fa6485d0f0cf95 Author: Dmitry Yusupov Date: Tue Aug 23 10:09:27 2005 -0700 [TCP]: Do TSO deferral even if tail SKB can go out now. If the tail SKB fits into the window, it is still benefitical to defer until the goal percentage of the window is available. This give the application time to feed more data into the send queue and thus results in larger TSO frames going out. Patch from Dmitry Yusupov . Signed-off-by: David S. Miller commit a4cce10492358b33d33bb43f98284c80482037e8 Author: Peter Chubb Date: Mon Aug 22 17:50:00 2005 -0700 [IA64] Fix simulator boot (for real this time). Thanks to Stephane, we've now worked out the real cause of the `Linux will not boot on simulator' problem. Turns out it's a stack overflow because the stack pointer wasn't being initialised properly in boot_head.S (it was being initialised to the lowest instead of the highest address of the stack, so the first push started to overwrite data in the BSS). Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 62d75f3753647656323b0365faa43fc1a8f7be97 Author: Tony Luck Date: Tue Aug 23 07:39:15 2005 -0700 [IA64] backout incorrect fix for simulator boot issue Earlier fix in 4aec0fb12267718c750475f3404337ad13caa8f5 just masked the real problem. Signed-off-by: Tony Luck commit 034e5356a4c0401d1227393de4c756e9c414be35 Merge: 729c80c6ffd7633210a09d4b55fdfab3c8d1866b c1ffb910f7a4e1e79d462bb359067d97ad1a8a25 Author: Tony Luck Date: Tue Aug 23 07:27:28 2005 -0700 Pull prarit-bus-sysdata into release branch commit 6885433c25aaca2cb13ee52a94be156163d6aa23 Author: Jeff Garzik Date: Tue Aug 23 02:53:51 2005 -0400 libata: release prep (bump versions, etc.) - bump versions where necessary - remove two duplicated+outdated doc comments - add MODULE_VERSION() to AHCI driver commit 7087e295543d3f6e161530e07982fd979e2d9efc Author: John W. Linville Date: Thu Aug 4 14:40:25 2005 -0400 [PATCH] i810_audio: fix release_region misordering in error exit from i810_probe Re-order release_region calls in i810_probe to properly unwind preceding allocations. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 729c80c6ffd7633210a09d4b55fdfab3c8d1866b Merge: 4eaefb39528b3a78fb6a784162200b198d3e16ee f6fdd7d9c273bb2a20ab467cb57067494f932fa3 Author: Tony Luck Date: Mon Aug 22 14:31:36 2005 -0700 Auto-update from upstream commit f6fdd7d9c273bb2a20ab467cb57067494f932fa3 Author: Linus Torvalds Date: Sat Aug 20 18:51:29 2005 -0700 Don't allow normal users to set idle IO priority It has all the normal priority inversion problems. Signed-off-by: Linus Torvalds commit 7e71af49d46e4c25f17a2c8f53d62ffd14f01007 Author: Patrick McHardy Date: Sat Aug 20 17:40:41 2005 -0700 [NETFILTER]: Fix HW checksum handling in TCPMSS target Most importantly, remove bogus BUG() in receive path. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f93592ff4fa4a55aa7640d435fa93338e190294d Author: Patrick McHardy Date: Sat Aug 20 17:39:15 2005 -0700 [NETFILTER]: Fix HW checksum handling in ECN target Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit fd841326d73096ad79be9c3fa348f9ad04541cc2 Author: Patrick McHardy Date: Sat Aug 20 17:38:40 2005 -0700 [NETFILTER]: Fix ECN target TCP marking An incorrect check made it bail out before doing anything. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a5ea169c9581553662bb79a1c8c98fed1ee84246 Author: Alexey Dobriyan Date: Sun Aug 21 01:08:36 2005 +0400 [PATCH] freevxfs: fix breakage introduced by symlink fixes Signed-off-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit db873896d168217e213902c7163fda7ee798781b Author: Linus Torvalds Date: Sat Aug 20 13:20:01 2005 -0700 befs: fix up missed follow_link declaration change We'd updated the prototype and the return value, but not the function declaration itself. commit 1eecd73cce4e11ba9d67ad767f92069cfba7b589 Author: Andi Kleen Date: Fri Aug 19 06:56:40 2005 +0200 [PATCH] x86_64: Fix race in TSC synchronization Plug a race in TSC synchronization We need to do tsc_sync_wait() before the CPU is set online to prevent multiple CPUs from doing it in parallel - which won't work because TSC sync has global unprotected state. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5e5ec10499a00bf4ce3440d5a9e1a5a176c5a640 Author: Andi Kleen Date: Fri Aug 19 06:56:04 2005 +0200 [PATCH] x86_64: Don't print exceptions for ltrace Don't printk exceptions for ltrace Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 916fa469ab2248d86473577dda72003df599879b Merge: b8d9598c41e999fb094d3811019248197c54274a 034ea6388a51f571b45ef1f0fa4ed4298691768e Author: Linus Torvalds Date: Fri Aug 19 19:15:57 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit b8d9598c41e999fb094d3811019248197c54274a Merge: 01c314a0c0f6367960a7cb1ffb5796560ccaa1c1 83c4e43722a2c8a8438b8d165047720fd36aaea4 Author: Linus Torvalds Date: Fri Aug 19 18:59:49 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 01c314a0c0f6367960a7cb1ffb5796560ccaa1c1 Author: Steve Dickson Date: Fri Aug 19 17:57:48 2005 -0700 [PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup() Added missing unlock_kernel() to NFSv4 atomic lookup. Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd3716ab40c6049479d29a74b29107fd7e0e1153 Author: Steven Rostedt Date: Fri Aug 19 17:57:46 2005 -0700 [PATCH] Mobil Pentium 4 HT and the NMI I'm trying to get the nmi working with my laptop (IBM ThinkPad G41) and after debugging it a while, I found that the nmi code doesn't want to set it up for this particular CPU. Here I have: $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Mobile Intel(R) Pentium(R) 4 CPU 3.33GHz stepping : 1 cpu MHz : 3320.084 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl est tm2 cid xtpr bogomips : 6642.39 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Mobile Intel(R) Pentium(R) 4 CPU 3.33GHz stepping : 1 cpu MHz : 3320.084 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor ds_cpl est tm2 cid xtpr bogomips : 6637.46 And the following code shows: $ cat linux-2.6.13-rc6/arch/i386/kernel/nmi.c [...] void setup_apic_nmi_watchdog (void) { switch (boot_cpu_data.x86_vendor) { case X86_VENDOR_AMD: if (boot_cpu_data.x86 != 6 && boot_cpu_data.x86 != 15) return; setup_k7_watchdog(); break; case X86_VENDOR_INTEL: switch (boot_cpu_data.x86) { case 6: if (boot_cpu_data.x86_model > 0xd) return; setup_p6_watchdog(); break; case 15: if (boot_cpu_data.x86_model > 0x3) return; Here I get boot_cpu_data.x86_model == 0x4. So I decided to change it and reboot. I now seem to have a working NMI. So, unless there's something know to be bad about this processor and the NMI. I'm submitting the following patch. Signed-off-by: Steven Rostedt Acked-by: Zwane Mwaikambo Acked-by: Mikael Pettersson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008b150a3c4d971cd65d02d107b8fcc860bc959c Author: Al Viro Date: Sat Aug 20 00:17:39 2005 +0100 [PATCH] Fix up symlink function pointers This fixes up the symlink functions for the calling convention change: * afs, autofs4, befs, devfs, freevxfs, jffs2, jfs, ncpfs, procfs, smbfs, sysvfs, ufs, xfs - prototype change for ->follow_link() * befs, smbfs, xfs - same for ->put_link() Signed-off-by: Linus Torvalds commit cc314eef0128a807e50fa03baf2d0abc0647952c Author: Linus Torvalds Date: Fri Aug 19 18:02:56 2005 -0700 Fix nasty ncpfs symlink handling bug. This bug could cause oopses and page state corruption, because ncpfs used the generic page-cache symlink handlign functions. But those functions only work if the page cache is guaranteed to be "stable", ie a page that was installed when the symlink walk was started has to still be installed in the page cache at the end of the walk. We could have fixed ncpfs to not use the generic helper routines, but it is in many ways much cleaner to instead improve on the symlink walking helper routines so that they don't require that absolute stability. We do this by allowing "follow_link()" to return a error-pointer as a cookie, which is fed back to the cleanup "put_link()" routine. This also simplifies NFS symlink handling. Signed-off-by: Linus Torvalds commit 2fb1e3086df9b454538491fba8121298da37cd23 Author: Al Viro Date: Fri Aug 19 22:42:16 2005 +0100 [PATCH] jffs2: fix symlink error handling The current calling conventions for ->follow_link() are already fairly complex. What we have is 1) you can return -error; then you must release nameidata yourself and ->put_link() will _not_ be called. 2) you can do nd_set_link(nd, ERR_PTR(-error)) and return 0 3) you can do nd_set_link(nd, path) and return 0 4) you can return 0 (after having moved nameidata yourself) jffs2 follow_link() is broken - it has an exit where it returns -EIO and leaks nameidata. Signed-off-by: Linus Torvalds commit 83c4e43722a2c8a8438b8d165047720fd36aaea4 Author: Al Viro Date: Fri Aug 19 15:56:37 2005 -0700 [SPARC]: Fix weak aliases sparc_ksyms.c used to declare weak alias to several gcc intrinsics. It doesn't work with gcc4 anymore - it wants a declaration for the thing we are aliasing to and that's not going to happen for something like .mul, etc. Replaced with direct injection of weak alias on the assembler level - .weak followed by = ; that works on all gcc versions. Signed-off-by: Al Viro Signed-off-by: David S. Miller commit a3f9985843b674cbcb58f39fab8416675e7ab842 Author: David S. Miller Date: Fri Aug 19 15:55:33 2005 -0700 [SPARC64]: Move kernel unaligned trap handlers into assembler file. GCC 4.x really dislikes the games we are playing in unaligned.c, and the cleanest way to fix this is to move things into assembler. Noted by Al Viro. Signed-off-by: David S. Miller commit 8d5290149ee1c6a4cea5f5146d64e2a0d48f4988 Author: Ben Colline Date: Fri Aug 19 13:44:57 2005 -0700 [SPARC]: Deal with glibc changing macro names in modpost.c GLIBC 2.3.4 and later changed the STT_REGISTER macro to STT_SPARC_REGISTER, so we need to cope with that somehow. Original patch from fabbione, reposted by Ben Collins. Signed-off-by: David S. Miller commit 034ea6388a51f571b45ef1f0fa4ed4298691768e Author: David S. Miller Date: Fri Aug 19 12:57:31 2005 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit da6b2d01d6bd2e79fd4f7a08acd37dc4e8fcdce8 Author: Michael Chan Date: Fri Aug 19 12:54:29 2005 -0700 [TG3]: Fix SerDes detection A problem was reported by Grant Grundler on an HP rx8620 using IOX Core LAN partno(A7109-6) 5701 copper NIC. The tg3 driver mistakenly detects this NIC as having a SerDes PHY and link does not come up as a result. The problem was caused by an incorrectly programmed eeprom that set the NIC_SRAM_DATA_CFG_PHY_TYPE_FIBER bit in the NIC_SRAM_DATA_CFG location. This patch will override the NIC_SRAM_DATA_CFG_PHY_TYPE_FIBER bit if a valid PHY ID is read from the MII registers on older 570x chips where the MII interface is not used on SerDes chips. On newer chips such as the 5780 that use MII for both copper and SerDes, SerDes detection must rely on the eeprom. This patch will make the SerDes detection identical to versions 3.25 and older. Signed-off-by: Michael Chan Acked-by: Grant Grundler Signed-off-by: David S. Miller commit 4eaefb39528b3a78fb6a784162200b198d3e16ee Merge: 3a931d4cca1b6dabe1085cc04e909575df9219ae 30d5b64b63fa69af31b2cba32e6d71d68526eec9 Author: Tony Luck Date: Thu Aug 18 16:44:15 2005 -0700 Auto-update from upstream commit 91aa9fb573fcc50bc74d5ee64c7e9b36131f1804 Merge: 5fdf193b15a08f6c32ca4eb5913fa9be788e790e 84f57fbc724e3b56dc87c37dddac89f82cf75ef6 Author: Linus Torvalds Date: Thu Aug 18 15:16:12 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6 commit 5fdf193b15a08f6c32ca4eb5913fa9be788e790e Merge: f3ed8b444781158c9c10f48a8eba6795ecec7023 2ae2d77cfa424587014cb34a89eed0ff2149fd5c Author: Linus Torvalds Date: Thu Aug 18 14:58:21 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit f3ed8b444781158c9c10f48a8eba6795ecec7023 Merge: 6fc8b9e7c60d4a3d4d7f1189f74e37651f5610e6 2cab224d1f6557e7014601f251d6a41982963e6b Author: Linus Torvalds Date: Thu Aug 18 14:57:53 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 3a931d4cca1b6dabe1085cc04e909575df9219ae Author: Tony Luck Date: Thu Aug 18 14:40:00 2005 -0700 [IA64] remove unused function __ia64_get_io_port_base Not only was this unused, but its somewhat eccentric declaration of "static inline const unsigned long" gives gcc4 heartburn. Signed-off-by: Tony Luck commit 6fc8b9e7c60d4a3d4d7f1189f74e37651f5610e6 Author: Herbert Xu Date: Thu Aug 18 14:36:59 2005 -0700 [IPCOMP]: Fix false smp_processor_id warning This patch fixes a false-positive from debug_smp_processor_id(). The processor ID is only used to look up crypto_tfm objects. Any processor ID is acceptable here as long as it is one that is iterated on by for_each_cpu(). Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 2cab224d1f6557e7014601f251d6a41982963e6b Author: David S. Miller Date: Thu Aug 18 14:35:38 2005 -0700 [SPARC64]: Fix 2 bugs in cpufreq drivers. 1) cpufreq wants frequenceis in KHZ not MHZ 2) provide ->get() method so curfreq node is created Signed-off-by: David S. Miller commit 4aec0fb12267718c750475f3404337ad13caa8f5 Author: Ian Wienand Date: Tue Jul 19 22:32:00 2005 -0700 [IA64] Simulator bootloader fails with gcc 4 After building a fresh tree with gcc 4 I can't boot the simulator as the bootloader loader dies with loading /home/ianw/kerntest/kerncomp//build/sim_defconfig/vmlinux... failed to read phdr After some investigation I believe this is do with differences between the alignment of variables on the stack between gcc 3 and 4 and the ski simulator. If you trace through with the simulator you can see that the disk_stat structure value returned from the SSC_WAIT_COMPLETION call seems to be only half loaded. I guess it doesn't like the alignment of the input. Signed-off-by: Ian Wienand Signed-off-by: Tony Luck commit cb94c62c252796f42bb83fe40960d12f3ea5a82a Author: Patrick McHardy Date: Thu Aug 18 14:05:44 2005 -0700 [IPV4]: Fix DST leak in icmp_push_reply() Based upon a bug report and initial patch by Ollie Wild. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 22783649568a28839c5a362f47da7819ecfcbb9f Author: Ralf Baechle Date: Thu Aug 18 14:05:18 2005 -0700 [NET]: Fix comment in loopback driver. Signed-off-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 001dd250c1c68667a5c3b74979fa614e2edc9ceb Author: Jay Vosburgh Date: Thu Aug 18 14:04:51 2005 -0700 [TOKENRING]: Use interrupt-safe locking with rif_lock. Change operations on rif_lock from spin_{un}lock_bh to spin_{un}lock_irq{save,restore} equivalents. Some of the rif_lock critical sections are called from interrupt context via tr_type_trans->tr_add_rif_info. The TR NIC drivers call tr_type_trans from their packet receive handlers. Signed-off-by: Jay Vosburgh Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 2ae2d77cfa424587014cb34a89eed0ff2149fd5c Author: Ben Dooks Date: Sat Jul 23 17:29:38 2005 +0100 [PATCH] DM9000 - incorrect ioctl() handling The DM9000 driver is responding to ioctl() calls it should not be. This can cause problems with the wireless tools incorrectly indentifying the device as wireless capable, and crashing under certain operations. This patch also moves the version printk() to the init call, so that you only get it once for multiple devices, and to show it is loaded if there are no defined dm9000s Signed-off-by: Ben Dooks Signed-off-by: Jeff Garzik commit 9ef9ac51cc5fa5f5811230b5fb242536b636ff47 Author: Ben Dooks Date: Sat Jul 23 17:25:18 2005 +0100 [PATCH] DM9000 - spinlock fixes Fix DM9000 driver usage of spinlocks, which mainly came to light when running a kernel with spinlock debugging. These come down to: 1) Un-initialised spin lock 2) Several cases of using spin_xxx(lock) and not spin_xxx(&lock) 3) move the locking around the phy reg for read/write to only keep the lock when actually reading or writing to the phy. Signed-off-by: Ben Dooks Signed-off-by: Jeff Garzik commit a4cf0761493495681d72dcc0b34efb86e94a5527 Author: Pierre Ossman Date: Mon Jul 4 00:22:53 2005 +0200 [PATCH] 8139cp - redetect link after suspend After suspend the driver needs to retest link status in case the cable has been inserted or removed during the suspend. Signed-off-by: Pierre Ossman Signed-off-by: Jeff Garzik commit 852ea22ab24df4c64c0211c3b6d6358eb0e759f9 Author: Ralf Baechle Date: Tue Aug 2 11:01:27 2005 +0100 [PATCH] IOC3 fixes - Using the right register clearly improves chances of getting the MII code and thus the driver working at all. - On startup check the media type before setting up duplex or we might spend the first 1.2s with a wrong duplex setting. - Get rid of whitespace lines. Signed-off-by: Jeff Garzik commit 84f57fbc724e3b56dc87c37dddac89f82cf75ef6 Author: Narendra Sankar Date: Thu Aug 18 22:30:35 2005 +0200 [PATCH] serverworks: add support for new southbridge IDE BCM5785 (HT1000) is a Opteron Southbridge from Serverworks/Broadcom that incorporates a single channel ATA100 IDE controller that is functionally identical to the Serverworks CSB6 IDE controller. This patch adds support for the new PCI device ID and also the support for this controller. Signed-off-by: Narendra Sankar Acked-by: Jeff Garzik commit 2f09a7f4af131bf23c013ead89373deba1c7593c Author: Matt Gillette Date: Thu Aug 18 22:27:07 2005 +0200 [PATCH] ide: add support for Netcell Revolution to pci-ide generic driver Adds support for Netcell Revolution to pci-ide generic driver by including it in the list of devices matched. Includes the Revolution in the list of simplex devices forced into DMA mode. Signed-off-by: Matt Gillette Cc: Bartlomiej Zolnierkiewicz Cc: Jeff Garzik Signed-off-by: Andrew Morton commit b07e5eccaf512ae3209beae5cd2e3a27c92c300b Author: Grant Coady Date: Thu Aug 18 22:19:55 2005 +0200 [PATCH] ide: fix PCI_DEVIEC_ID_APPLE_UNI_N_ATA spelling Signed-off-by: Grant Coady commit 0ac72b351bdf29252e4181b07fa7feed8501b5d2 Author: Juha-Matti Tapio Date: Thu Aug 18 22:13:44 2005 +0200 [PATCH] ide: fix the BLK_DEV_IDEDMA_PCI dependency for drivers/ide/ppc/pmac.c drivers/ide/ppc/pmac.c uses symbols ide_build_sglist, __ide_dma_off_quietly, __ide_dma_on and __ide_dma_timeout when CONFIG_BLK_DEV_IDEDMA_PMAC is defined. The declarations for these symbols (in ide.h) depend on CONFIG_BLK_DEV_IDEDMA_PCI. There is a missing dependency for this in drivers/ide/Kconfig which causes drivers/ide/ppc/pmac.c to fail to build if CONFIG_BLK_DEV_IDEDMA_PMAC is selected but CONFIG_BLK_DEV_IDEDMA_PCI is not. Signed-off-by: Juha-Matti Tapio commit c40d3d38a8f04fff4394c7323db239bce780db60 Author: Bartlomiej Zolnierkiewicz Date: Thu Aug 18 22:09:21 2005 +0200 [PATCH] ide-floppy: fix IDEFLOPPY_TICKS_DELAY * IDEFLOPPY_TICKS_DELAY assumed HZ == 100, fix it * increase the delay to 50ms (to match comment in the code) Thanks to Manfred Scherer for reporting the problem and testing the patch. commit 6be382ea0c767a81be0e7980400b9b18167b3261 Author: Andi Kleen Date: Thu Aug 18 11:24:27 2005 -0700 [PATCH] x86: Remove obsolete get_cpu_vendor call Since early CPU identify is in this information is already available Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6a3ea22af7a2ed36afa4672a86b3a86d604db33 Author: Matt Porter Date: Thu Aug 18 11:24:26 2005 -0700 [PATCH] ppc32: Fix PPC440SP SRAM controller DCRs Fixes the incorrect DCR base value for the 440SP SRAM controller. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28cd1d17801774561c81a5be53bfb2d632aee2a2 Author: Matt Porter Date: Thu Aug 18 11:24:25 2005 -0700 [PATCH] ppc32: fix ppc4xx stb03xxx dma build Fixes build on 4xx stb03xxx when general purpose dma engine support is enabled. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2eaa297ca234eb518673b28dd6f3715d4b292e09 Author: Jeff Dike Date: Thu Aug 18 11:24:25 2005 -0700 [PATCH] uml: fix a crash under screen Running UML inside a detached screen delivers SIGWINCH when UML is not expecting it. This patch ignores them. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718d8989bca49761daf65f77249b0067c40756b2 Author: Al Viro Date: Thu Aug 18 11:24:23 2005 -0700 [PATCH] uml: fix the x86_64 build asm/elf.h breaks the x86_64 build. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 024f474795af7a0d41bd6d60061d78bd66d13f56 Author: Matt Mackall Date: Thu Aug 18 11:24:19 2005 -0700 [PATCH] Make RLIMIT_NICE ranges consistent with getpriority(2) As suggested by Michael Kerrisk , make RLIMIT_NICE consistent with getpriority before it becomes available in released glibc. Signed-off-by: Matt Mackall Acked-by: Ingo Molnar Acked-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cbe9de7a4353d1a1b77887b5459ac5304c0984a Author: Michael Iatrou Date: Thu Aug 18 11:24:18 2005 -0700 [PATCH] disable debug info in radeonfb old driver This driver spams the user. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d86c390ffbf5746df9a3cc2c5f7b75d27704580f Author: Jan Kara Date: Thu Aug 18 11:24:17 2005 -0700 [PATCH] reiserfs+acl+quota deadlock fix When i_acl_default is set to some error we do not hold the lock (hence we are not allowed to drop it and reacquire later). Signed-off-by: Jan Kara Cc: Jeff Mahoney Cc: Chris Mason Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9223214e8d757663f366133ba5f9b58aa6b28efb Author: NeilBrown Date: Thu Aug 18 11:24:16 2005 -0700 [PATCH] md: make sure mddev->bitmap_offset gets cleared between array instantiations. ... otherwise we might try to load a bitmap from an array which hasn't one. The bug is that if you create an array with an internal bitmap, shut it down, and then create an array with the same md device, the md drive will assume it should have a bitmap too. As the array can be created with a different md device, it is mostly an inconvenience. I'm pretty sure there is no risk of data corruption. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60d7603a18a5c07252e7aa0b0e2424315195d4dc Author: Robert Love Date: Thu Aug 18 11:24:14 2005 -0700 [PATCH] SH64: inotify and ioprio syscalls Add inotify and ioprio syscall stubs to SH64. Signed-off-by: Robert Love Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2926b7953c5f23265c062992516fed6674105db Author: Robert Love Date: Thu Aug 18 11:24:13 2005 -0700 [PATCH] SH: inotify and ioprio syscalls Add inotify and ioprio syscall stubs to SH. Signed-off-by: Robert Love Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc59250c6ebed099a9bc0a11298e2281dd896657 Author: Chuck Lever Date: Thu Aug 18 11:24:12 2005 -0700 [PATCH] NFS: Introduce the use of inode->i_lock to protect fields in nfsi Down the road we want to eliminate the use of the global kernel lock entirely from the NFS client. To do this, we need to protect the fields in the nfs_inode structure adequately. Start by serializing updates to the "cache_validity" field. Note this change addresses an SMP hang found by njw@osdl.org, where processes deadlock because nfs_end_data_update and nfs_revalidate_mapping update the "cache_validity" field without proper serialization. Test plan: Millions of fsx ops on SMP clients. Run Nick Wilson's breaknfs program on large SMP clients. Signed-off-by: Chuck Lever Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 412d582ec1dd59aab2353f8cb7e74f2c79cd20b9 Author: Chuck Lever Date: Thu Aug 18 11:24:11 2005 -0700 [PATCH] NFS: use atomic bitops to manipulate flags in nfsi->flags Introduce atomic bitops to manipulate the bits in the nfs_inode structure's "flags" field. Using bitops means we can use a generic wait_on_bit call instead of an ad hoc locking scheme in fs/nfs/inode.c, so we can remove the "nfs_i_wait" field from nfs_inode at the same time. The other new flags field will continue to use bitmask and logic AND and OR. This permits several flags to be set at the same time efficiently. The following patch adds a spin lock to protect these flags, and this spin lock will later cover other fields in the nfs_inode structure, amortizing the cost of using this type of serialization. Test plan: Millions of fsx ops on SMP clients. Signed-off-by: Chuck Lever Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5529680981807b44abf3be30fb6d612ff04f68ff Author: Chuck Lever Date: Thu Aug 18 11:24:09 2005 -0700 [PATCH] NFS: split nfsi->flags into two fields Certain bits in nfsi->flags can be manipulated with atomic bitops, and some are better manipulated via logical bitmask operations. This patch splits the flags field into two. The next patch introduces atomic bitops for one of the fields. Test plan: Millions of fsx ops on SMP clients. Signed-off-by: Chuck Lever Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c7bf1eaee1255315fc7c2c4c300295e556ef768 Author: Zwane Mwaikambo Date: Thu Aug 18 11:24:07 2005 -0700 [PATCH] Update email addresses for Zwane Some folks have been emailing me and having trouble due to these stale addresses; Signed-off-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30d5b64b63fa69af31b2cba32e6d71d68526eec9 Author: Jaroslav Kysela Date: Thu Aug 18 13:16:11 2005 +0200 [PATCH] broken error path in drivers/pnp/card.c The error path in pnp_request_card_device() is broken (one variable is left initialized and the semaphore is not unlocked). This fixes it (and has been tested). Signed-off-by: Jaroslav Kysela Signed-off-by: Linus Torvalds commit 518e6540831c69422faecceee8f964bd439ac9d0 Author: Greg KH Date: Wed Aug 17 17:33:11 2005 -0700 [PATCH] Fix manual binding infinite loop Fix for manual binding of drivers to devices. Problem is if you pass in a valid device id, but the driver refuses to bind. Infinite loop as write() tries to resubmit the data it just sent. Thanks to Michal Ostrowski for pointing the problem out. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 099d44e869f1886b5eb02a5145ca97b5e4142e28 Merge: 4e6a06eec46067df3c30fe1fbc2e1a7cc37b9678 481d0374217f3fefaf98efbd8d21d73c138dd928 Author: Linus Torvalds Date: Wed Aug 17 14:56:22 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 4e6a06eec46067df3c30fe1fbc2e1a7cc37b9678 Author: David Woodhouse Date: Wed Aug 17 11:36:35 2005 +0100 [PATCH] Stop snd-powermac oopsing on non-pmac hardware. We shouldn't be assuming that ppc_md.feature_call will be present. Signed-off-by: David Woodhouse Signed-off-by: Linus Torvalds commit ac9af7cba9e642961bfdee1a1fac6060405597e5 Author: Brian King Date: Thu Aug 18 07:32:18 2005 +1000 [PATCH] ppc64: iommu vmerge fix This fixes a bug in the PPC64 iommu vmerge code which results in the potential for iommu_unmap_sg to go off unmapping more than it should. This was found on a test system which resulted in PCI bus errors due to PCI memory being unmapped while DMAs were still in progress. Signed-off-by: Brian King Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 75e8727fbb3749075b6df36be636a3045ed9d515 Merge: d3e5d29136ce9bf21ce50c0c23a3a11b97a0da7b 1f07247de51efd30c88ad8e3e06a8b5382fc7d35 Author: Linus Torvalds Date: Wed Aug 17 13:09:38 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit d3e5d29136ce9bf21ce50c0c23a3a11b97a0da7b Merge: c231c7db30faf93419fc22d680f74d816bea70e2 c149ec05dcd09d525e6778e339122827c7cd79b8 Author: Linus Torvalds Date: Wed Aug 17 13:08:17 2005 -0700 Merge head 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c231c7db30faf93419fc22d680f74d816bea70e2 Author: Linus Torvalds Date: Wed Aug 17 13:07:28 2005 -0700 Revert unnecessary zlib_inflate/inftrees.c fix It turns out that empty distance code tables are not an error, and that a compressed block with only literals can validly have an empty table and should not be flagged as a data error. Some old versions of gzip had problems with this case, but it does not affect the zlib code in the kernel. Analysis and explanations thanks to Sergey Vlasov Signed-off-by: Linus Torvalds commit 7974b1cc7879141962999e78a6fc9a136dc4479e Merge: c4f92dba97f4e3aa757500896f87001569f4604b 62ee914ef27fded9d1c5da41e1e05c3bd175c529 Author: Linus Torvalds Date: Wed Aug 17 13:02:22 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit c4f92dba97f4e3aa757500896f87001569f4604b Author: Steven Rostedt Date: Wed Aug 17 14:25:23 2005 -0400 [PATCH] nfsd to unlock kernel before exiting The nfsd holds the big kernel lock upon exit, when it really shouldn't. Not to mention that this breaks Ingo's RT patch. This is a trivial fix to release the lock. Ingo, this patch also works with your kernel, and stops the problem with nfsd. Note, there's a "goto out;" where "out:" is right above svc_exit_thread. The point of the goto also holds the kernel_lock, so I don't see any problem here in releasing it. Signed-off-by: Steven Rostedt Signed-off-by: Linus Torvalds commit dd12f48d4e8774415b528d3991ae47c28f26e1ac Author: Bhavesh P. Davda Date: Wed Aug 17 12:26:33 2005 -0600 [PATCH] NPTL signal delivery deadlock fix This bug is quite subtle and only happens in a very interesting situation where a real-time threaded process is in the middle of a coredump when someone whacks it with a SIGKILL. However, this deadlock leaves the system pretty hosed and you have to reboot to recover. Not good for real-time priority-preemption applications like our telephony application, with 90+ real-time (SCHED_FIFO and SCHED_RR) processes, many of them multi-threaded, interacting with each other for high volume call processing. Acked-by: Roland McGrath Signed-off-by: Linus Torvalds commit 1f07247de51efd30c88ad8e3e06a8b5382fc7d35 Author: Paul E. McKenney Date: Wed Aug 17 12:05:27 2005 -0700 [DECNET]: Fix RCU race condition in dn_neigh_construct(). Signed-off-by: Paul E. McKenney Signed-off-by: David S. Miller commit bfd272b1ca1164382eabaa9986aad822adb91eb2 Author: Patrick McHardy Date: Wed Aug 17 12:04:22 2005 -0700 [IPV6]: Fix SKB leak in ip6_input_finish() Changing it to how ip_input handles should fix it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 35d59efd105b3b7c1b5878dcc9d1749f41f9740f Author: Herbert Xu Date: Wed Aug 17 12:03:59 2005 -0700 [TCP]: Fix bug #5070: kernel BUG at net/ipv4/tcp_output.c:864 1) We send out a normal sized packet with TSO on to start off. 2) ICMP is received indicating a smaller MTU. 3) We send the current sk_send_head which needs to be fragmented since it was created before the ICMP event. The first fragment is then sent out. At this point the remaining fragment is allocated by tcp_fragment. However, its size is padded to fit the L1 cache-line size therefore creating tail-room up to 124 bytes long. This fragment will also be sitting at sk_send_head. 4) tcp_sendmsg is called again and it stores data in the tail-room of of the fragment. 5) tcp_push_one is called by tcp_sendmsg which then calls tso_fragment since the packet as a whole exceeds the MTU. At this point we have a packet that has data in the head area being fed to tso_fragment which bombs out. My take on this is that we shouldn't ever call tcp_fragment on a TSO socket for a packet that is yet to be transmitted since this creates a packet on sk_send_head that cannot be extended. So here is a patch to change it so that tso_fragment is always used in this case. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 97077c4a9868fce8ac151512cde5d24fc1144f24 Author: Patrick McHardy Date: Wed Aug 17 12:03:32 2005 -0700 [IPV6]: Fix raw socket hardware checksum failures When packets hit raw sockets the csum update isn't done yet, do it manually. Packets can also reach rawv6_rcv on the output path through ip6_call_ra_chain, in this case skb->ip_summed is CHECKSUM_NONE and this codepath isn't executed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c149ec05dcd09d525e6778e339122827c7cd79b8 Author: Tony Luck Date: Wed Aug 17 10:24:17 2005 -0700 [IA64] Updated tiger defconfig Signed-off-by: Tony Luck commit ade6648b3b11a5d81f6f28135193ab6d85d621db Merge: 2ad56496627630ebc99f06af5f81ca23e17e014e fad87acaea7b0965fe91f0351fdd688fc9761cbe Author: Linus Torvalds Date: Wed Aug 17 08:21:00 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 62ee914ef27fded9d1c5da41e1e05c3bd175c529 Author: Dimitry Andric Date: Wed Aug 17 13:01:19 2005 +0100 [ARM] 2850/1: Remove duplicate UART I/O mapping from s3c2410_iodesc Patch from Dimitry Andric This patch removes the initial UART I/O mapping from s3c2410_iodesc, since the same mapping is already done in the function s3c24xx_init_io in the file arch/arm/mach-s3c2410/cpu.c, through the s3c_iodesc array. I'm not sure if duplicate mappings do any harm, but it's simply redundant. Also, in s3c2440.c the UART I/O mapping is NOT done. Additionally, I put a comma behind the last mapping, to ease copy/pasting stuff around, and make the style consistent with s3c2440.c and other files. Signed-off-by: Dimitry Andric Signed-off-by: Russell King commit 22d8be866ee23bf3ad9fe867587eef5f4200bf84 Author: Sean Lee Date: Wed Aug 17 09:28:26 2005 +0100 [ARM] 2852/1: Correct the mistake in arch/arm/mm/Kconfig file Patch from Sean Lee In the arch/arm/mm/Kconfig file, the CPU_DCACHE_WRITETHROUGH option is depend on the CPU_DISABLE_DCACHE, but the "Disable D-Cache" option is configured as CPU_DCACHE_DISABLE. The CPU_DISABLE_DCACHE should be CPU_DCACHE_DISABLE Signed-off-by: Sean Lee Signed-off-by: Russell King commit 2ad56496627630ebc99f06af5f81ca23e17e014e Author: Stephen Rothwell Date: Wed Aug 17 13:01:50 2005 +1000 [PATCH] iSeries build with newer assemblers and compilers Paulus suggested that we put xLparMap in its own .c file so that we can generate a .s file to be included into head.S. This doesn't get around the problem of having it at a fixed address, but it makes it more palatable. It would be good if this could be included in 2.6.13 as it solves our build problems with various versions of binutils and gcc. In particular, it allows us to build an iSeries kernel on Debian unstable using their biarch compiler. This has been built and booted on iSeries and built for pSeries and g5. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit da5ca008933b3b28303ba44d0be3372fbac7748b Author: Pete Zaitcev Date: Tue Aug 16 15:16:46 2005 -0700 [PATCH] USB: usbmon: Copyrights and a typo Add copyright statements and fix a typo. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit dc1d97e466c2836adebe5618759bfb5b35b3bc0a Author: Ping Cheng Date: Tue Aug 16 15:16:32 2005 -0700 [PATCH] USB: fix usb wacom tablet driver bug This patch fixes bug 4905 and a Cintiq 21UX bug. Signed-off-by: Ping Cheng Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 33a5c72432ef3e75dcf546bf41bcbfce697903ff Author: Jiri Slaby Date: Tue Aug 16 15:16:26 2005 -0700 [PATCH] PCI: update documentation This removes very old functions from pci docs, which are no longer in the kernel. Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8cf4c19523b7694c88bba716d88fb659fa702411 Author: Kristen Accardi Date: Tue Aug 16 15:16:10 2005 -0700 [PATCH] PCI Hotplug: new contact info Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4b47b0eefc37fe3bf6bffb4507c8b6df5b14348d Author: Andrew Morton Date: Tue Aug 16 15:16:05 2005 -0700 [PATCH] PCI: fix quirk-6700-fix.patch drivers/built-in.o(.text+0x32c3): In function `quirk_pcie_pxh': /usr/src/25/drivers/pci/quirks.c:1312: undefined reference to `disable_msi_mode' Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4602b88d9743b5f20655de8078fb42e9fd25581f Author: Kristen Accardi Date: Tue Aug 16 15:15:58 2005 -0700 [PATCH] PCI: 6700/6702PXH quirk On the 6700/6702 PXH part, a MSI may get corrupted if an ACPI hotplug driver and SHPC driver in MSI mode are used together. This patch will prevent MSI from being enabled for the SHPC as part of an early pci quirk, as well as on any pci device which sets the no_msi bit. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 208f3d6175cb17772c5af202fe12373f90894ff4 Author: Maneesh Soni Date: Tue Aug 16 15:15:48 2005 -0700 [PATCH] Driver core: potentially fix use after free in class_device_attr_show This moves the code to free devt_attr from class_device_del() to class_dev_release() which is called after the last reference to the corresponding kobject() is gone. This allows us to keep the devt_attr alive while the corresponding sysfs file is open. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fad87acaea7b0965fe91f0351fdd688fc9761cbe Author: Patrick McHardy Date: Tue Aug 16 21:03:41 2005 -0700 [IPV6]: Fix SKB leak in ip6_input_finish() Changing it to how ip_input handles should fix it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c8ac37746489f05a32a958b048f29ae45487e81e Author: Herbert Xu Date: Tue Aug 16 20:43:40 2005 -0700 [TCP]: Fix bug #5070: kernel BUG at net/ipv4/tcp_output.c:864 1) We send out a normal sized packet with TSO on to start off. 2) ICMP is received indicating a smaller MTU. 3) We send the current sk_send_head which needs to be fragmented since it was created before the ICMP event. The first fragment is then sent out. At this point the remaining fragment is allocated by tcp_fragment. However, its size is padded to fit the L1 cache-line size therefore creating tail-room up to 124 bytes long. This fragment will also be sitting at sk_send_head. 4) tcp_sendmsg is called again and it stores data in the tail-room of of the fragment. 5) tcp_push_one is called by tcp_sendmsg which then calls tso_fragment since the packet as a whole exceeds the MTU. At this point we have a packet that has data in the head area being fed to tso_fragment which bombs out. My take on this is that we shouldn't ever call tcp_fragment on a TSO socket for a packet that is yet to be transmitted since this creates a packet on sk_send_head that cannot be extended. So here is a patch to change it so that tso_fragment is always used in this case. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 793245eeb97bd28e363f2b0f2e766fdbff0c9619 Author: Patrick McHardy Date: Tue Aug 16 20:39:38 2005 -0700 [IPV6]: Fix raw socket hardware checksum failures When packets hit raw sockets the csum update isn't done yet, do it manually. Packets can also reach rawv6_rcv on the output path through ip6_call_ra_chain, in this case skb->ip_summed is CHECKSUM_NONE and this codepath isn't executed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7f09d6f935aaa91f71fe64d64013ad3bd2a9d2f4 Author: Peter Chubb Date: Tue Aug 16 17:27:00 2005 -0700 [IA64] Updated zx1 defconfig Just `make oldconfig' doesn't help for the zx1 defconfig --- because we need the MPT Fusion drivers, which are picked up as not selected. Tested on HP ZX2000 and ZX2600. Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 7b1a843f4630867c1d686885e7af94eac137e888 Author: Greg Edwards Date: Tue Aug 16 13:06:00 2005 -0700 [IA64] Refresh arch/ia64/configs/sn2_defconfig. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit 71841b8fe7dd8caffd07482cbed4a99874bfbb70 Author: Keith Owens Date: Sat Jul 30 17:52:00 2005 -0700 [IA64] Initialize some spinlocks Some IA64 spinlocks are not being initialized, make it so. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit c1ffb910f7a4e1e79d462bb359067d97ad1a8a25 Author: Prarit Bhargava Date: Tue Aug 2 10:08:00 2005 -0700 [IA64]: SN fix bus->sysdata pointer and memory cleanups The main issue is that bus_fixup calls may potentially call functions that require a valid bus->sysdata pointer. Since this is the case, we must set the bus->sysdata pointer before calling the bus_fixup functions. The remaining changes are simple fixes to make sure memory is cleaned up in the function. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 12aaa0855b39b5464db953fedf399fa91ee365ed Author: Zachary Amsden Date: Tue Aug 16 12:05:09 2005 -0700 [PATCH] i386 / desc_empty macro is incorrect Chuck Ebbert noticed that the desc_empty macro is incorrect. Fix it. Thankfully, this is not used as a security check, but it can falsely overwrite TLS segments with carefully chosen base / limits. I do not believe this is an issue in practice, but it is a kernel bug. Signed-off-by: Zachary Amsden Signed-off-by: Chris Wright [ x86-64 had the same problem, and the same fix. Linus ] Signed-off-by: Linus Torvalds commit 5153f7e6dba37390902c8fd3edc9a8cc19358ece Merge: ca27ea487ea10bd22459dbc367cf263f1e8d5228 2d610b80e954045ccfc27558f84e482709e5e5b7 Author: Linus Torvalds Date: Tue Aug 16 12:12:30 2005 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 481d0374217f3fefaf98efbd8d21d73c138dd928 Author: Anton Altaparmakov Date: Tue Aug 16 19:42:56 2005 +0100 NTFS: Complete the previous fix for the unset device when mapping buffers for mft record writing. I had missed the writepage based mft record write code path. Signed-off-by: Anton Altaparmakov commit f7001e8f1fa5369ee24f58255726a04a2019e4bd Merge: 85f265d887d2389376f1caa191e9682085feb76e cf59001235c5a36f3e3701bd593a78cf955a4242 Author: Tony Luck Date: Tue Aug 16 11:29:57 2005 -0700 Auto-update from upstream commit ca27ea487ea10bd22459dbc367cf263f1e8d5228 Merge: cf59001235c5a36f3e3701bd593a78cf955a4242 fb80cbee4c4bfeaeb2ff6611beecfb9a2443da90 Author: Linus Torvalds Date: Tue Aug 16 09:43:13 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus commit cf59001235c5a36f3e3701bd593a78cf955a4242 Merge: 65e4308d2500e7daf60c3dccc202c61ffb066c63 e74589ac250e463973361774a90fee2c9d71da02 Author: Linus Torvalds Date: Tue Aug 16 09:31:28 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 65e4308d2500e7daf60c3dccc202c61ffb066c63 Author: Trond Myklebust Date: Tue Aug 16 11:49:44 2005 -0400 [PATCH] NFS: Ensure we always update inode->i_mode when doing O_EXCL creates When the client performs an exclusive create and opens the file for writing, a Netapp filer will first create the file using the mode 01777. It does this since an NFSv3/v4 exclusive create cannot immediately set the mode bits. The 01777 mode then gets put into the inode->i_mode. After the file creation is successful, we then do a setattr to change the mode to the correct value (as per the NFS spec). The problem is that nfs_refresh_inode() no longer updates inode->i_mode, so the latter retains the 01777 mode. A bit later, the VFS notices this, and calls remove_suid(). This of course now resets the file mode to inode->i_mode & 0777. Hey presto, the file mode on the server is now magically changed to 0777. Duh... Fixes http://bugzilla.linux-nfs.org/show_bug.cgi?id=32 Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 367ae3cd74bdc2ad32d71293427fec570b14ddcd Author: John Hawkes Date: Tue Aug 16 17:59:20 2005 +1000 [PATCH] fix for ia64 sched-domains code Fix for ia64 sched domain building triggered by cpuset code. Acked-by: Nick Piggin Acked-by: Dinakar Guniguntala Signed-off-by: Linus Torvalds commit 58fcb8df0bf663bb6b8f46cd3010bfe8d13d97cf Author: Trond Myklebust Date: Wed Aug 10 18:15:12 2005 -0400 [PATCH] NFS: Ensure ACL xdr code doesn't overflow. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit e74589ac250e463973361774a90fee2c9d71da02 Author: Anton Altaparmakov Date: Tue Aug 16 16:38:28 2005 +0100 NTFS: Fix bug in mft record writing where we forgot to set the device in the buffers when mapping them after the VM had discarded them. Thanks to Martin MOKREJÅ  for the bug report. Signed-off-by: Anton Altaparmakov commit 75cd968ab251ac84dd3a5dc252af7036dc4a64f4 Author: Linus Torvalds Date: Mon Aug 15 17:40:46 2005 -0700 um: fix __pa/__va macro expansion problem Proper parentheses around arguments needed, especially as the macros use a high-precedence cast operator on the argument. commit 85f265d887d2389376f1caa191e9682085feb76e Author: Christoph Hellwig Date: Tue Aug 9 13:38:00 2005 -0700 [IA64] update CONFIG_PCI description The current one doesn't even make sense anymore on i386 where it apparently came from. Follow-up wordsmithing by Matthew Wilcox and Tony Luck. Signed-off-by: Christoph Hellwig Signed-off-by: Tony Luck commit fb80cbee4c4bfeaeb2ff6611beecfb9a2443da90 Merge: b857c730d4e960d1876ff56ce5c4bd81ea9ff5ae 3edea4833a1efcd43e1dff082bc8001fdfe74b34 Author: Len Brown Date: Mon Aug 15 16:02:50 2005 -0400 Merge ../from-linus commit b857c730d4e960d1876ff56ce5c4bd81ea9ff5ae Merge: 2ba84684e8cf6f980e4e95a2300f53a505eb794e 30e332f3307e9f7718490a706e5ce99f0d3a7b26 Author: Len Brown Date: Mon Aug 15 15:49:00 2005 -0400 Merge ../to-linus-stable/ commit 30e332f3307e9f7718490a706e5ce99f0d3a7b26 Author: Luming Yu Date: Fri Aug 12 00:31:00 2005 -0400 [ACPI] re-enable platform-specific hotkey drivers by default When both platform-specific and generic drivers exist, enable generic over-ride with "acpi_generic_hotkey". http://bugzilla.kernel.org/show_bug.cgi?id=4953 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 54738e82755f73080e779ba0c8052e232df24d78 Author: Richard Purdie Date: Mon Aug 15 20:42:32 2005 +0100 [PATCH] ARM: 2851/1: Fix NWFPE extended precision exception handling Patch from Richard Purdie The exception handling code fails to compile if the extended precision mode is enabled. This patch fixes those compile errors and also stops _quiet functions from incorrectly raising exceptions. Reported-by: Ralph Siemsen Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 3edea4833a1efcd43e1dff082bc8001fdfe74b34 Author: Antonino A. Daplas Date: Mon Aug 15 21:29:11 2005 +0800 [PATCH] intelfb/fbdev: Save info->flags in a local variable Reported by: Pavel Kysilka (Bugzilla Bug 5059) The intelfb driver does not keep resolution set with fbset after switching to anot console and back. Steps to reproduce: initial options: tty1,tty2 - 1024x768-60 1) tty1 - fbset after booting (1024x768-60) 2) tty1 - fbset 800x600-100 tty1: 800x600-100 3) swith to tty2, swith to tty1 tty1: 1024x768-60 (the same resolution as default from kernel booting) This bug is caused by intelfb unintentionally destroying info->flags in set_par(). Therefore the flag, FBINFO_MISC_USEREVENT used to notify fbcon of a mode change was cleared causing the above problem. This bug though is not intelfb specific, as other drivers may also be affected. The fix is to save info->flags in a local variable before calling any of the driver hooks. A more definitive fix (for post 2.6.13) is to separate info->flags into one that is set by the driver and another that is set by core fbdev/fbcon. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 6bd49341f2806168c877e12cefca77b93437bac2 Author: Sylvain Meyer Date: Mon Aug 15 21:27:13 2005 +0800 [PATCH] intelfb: Do not ioremap entire graphics aperture Reported by: Pavel Kysilka (Bugzilla Bug 4738) modprobe of intelfb results in the following error message: intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G chi intelfb: Version 0.9.2 ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16 allocation failed: out of vmalloc space - use vmalloc= to increase siz intelfb: Cannot remap FB region. This will fail if the graphics aperture size is greater than 128 MB. Fix is to ioremap only from the beginning of graphics aperture to the end of the used framebuffer memory. Signed-off-by: Sylvain Meyer Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 89204c40a03346cd951e698d854105db4cfedc28 Author: John McCutchan Date: Mon Aug 15 12:13:28 2005 -0400 [PATCH] inotify: add MOVE_SELF event This adds a MOVE_SELF event to inotify. It is sent whenever the inode you are watching is moved. We need this event so that we can catch something like this: - app1: watch /etc/mtab - app2: cp /etc/mtab /tmp/mtab-work mv /etc/mtab /etc/mtab~ mv /tmp/mtab-work /etc/mtab app1 still thinks it's watching /etc/mtab but it's actually watching /etc/mtab~. Signed-off-by: John McCutchan Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 0bf955ce98cb3cf40e20d0cc435299eb76e8819e Author: Robert Love Date: Mon Aug 15 12:27:54 2005 -0400 [PATCH] inotify: fix idr_get_new_above usage We are saving the wrong thing in ->last_wd. We want the wd, not the return value. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit d93742f5a73c3dff641732c029836170f86392d2 Author: Russell King Date: Mon Aug 15 16:53:38 2005 +0100 [ARM] Remove extraneous whitespace introduced in previous ARMv6 patch Signed-off-by: Russell King commit 498de0cc5ea3009af762dc968a46d6f5df96b67a Author: Robert Love Date: Mon Aug 15 10:57:08 2005 +0100 [ARM] Add syscall stubs for inotify and ioprio system calls Signed-off-by: Robert Love Signed-off-by: Russell King commit 2ba84684e8cf6f980e4e95a2300f53a505eb794e Author: Linus Torvalds Date: Sun Aug 14 18:21:30 2005 -0700 Revert PCIBIOS_MIN_IO changes for 2.6.13 This reverts commits 71db63acff69618b3d9d3114bd061938150e146b [PATCH] increase PCIBIOS_MIN_IO on x86 and 0b2bfb4e7ff61f286676867c3508569bea6fbf7a ACPI: increase PCIBIOS_MIN_IO on x86 since Lukas Sandströ reports that this breaks his on-board nvidia audio. We should re-visit this later. For now we revert the change Signed-off-by: Linus Torvalds commit b4b08e581fac8e0ba9ae348bdc13246c9798c99e Author: Linus Torvalds Date: Sun Aug 14 15:43:39 2005 -0700 Revert "dc395x: Fix support for highmem" It introduces a repeatable oops in the driver, which is a bigger problem than the patch tries to solve. From the original description: Author: Jamie Lenehan Date: Thu Mar 3 14:41:40 2005 +0200 [PATCH] dc395x: Fix support for highmem From: Guennadi Liakhovetski Removes the page_to_virt and maps sg lists dynamically. This makes the driver work with highmem pages. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Jamie Lenehan Signed-off-by: James Bottomley Signed-off-by: Guennadi Liakhovetski Signed-off-by: Linus Torvalds commit 27876d02b30aa34bb1ad35b81ccc40c174282f31 Author: Steve French Date: Sun Aug 14 16:55:23 2005 -0500 [PATCH] CIFS: Fix path name conversion for long filenames Fix path name conversion for long filenames when mapchars mount option was specified at mount time. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit d024709deb4997aced6140a62e8ee82b10666c5f Author: Steve French Date: Sun Aug 14 16:55:23 2005 -0500 [PATCH] CIFS: Fix missing entries in search results Fix missing entries in search results when very long file names and more than 50 (or so) of such long search entries in the directory. FindNext could send corrupt last byte of resume name when resume key was a few hundred bytes long file name or longer. Fixes Samba Bug # 2932 Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 1b0a74d1c002320d5488333dd9c72126af1aab02 Author: Jan Kara Date: Sat Aug 13 13:15:34 2005 +0200 [PATCH] Fix error handling in reiserfs Initialize key object ID in inode so that we don't try to remove the inode when we fail on some checks even before we manage to allocate something. Signed-off-by: Jan Kara Signed-off-by: Linus Torvalds commit f73bc8cae3481adc4188a5f34a89025c10133b0a Author: Paul Mundt Date: Sat Aug 13 20:28:06 2005 +0300 [PATCH] sh: Make _syscall6() do the right thing. There was a rather silly and embarrassing typo in the sh _syscall6(). For the syscall ABI we have the trapa value specified as 0x10 + number of arguments, this was being set incorrectly in the _syscall6() case which ended up causing some problems for users. Signed-off-by: Paul Mundt Signed-off-by: Linus Torvalds commit 4bb82551e165f887448f6f61055d7bcd90aefa2a Author: Linus Torvalds Date: Sat Aug 13 14:22:59 2005 -0700 Fix up mmap of /dev/kmem This leaves the issue of whether we should deprecate the whole thing (or if we should check the whole mmap range, for that matter) open. Just do the minimal fix for now. commit fc464476aa8356f7aae8787d9b8c14aa15d166eb Merge: 691241315116b962f2161e6190f1678cc65bbe26 2da5bf80f754e28cc153362e5ed1edaa9740897a Author: Tony Luck Date: Fri Aug 12 15:13:06 2005 -0700 Auto-update from upstream commit 2da5bf80f754e28cc153362e5ed1edaa9740897a Author: Evgeniy Polyakov Date: Fri Aug 12 11:46:22 2005 -0700 [PATCH] w1: more debug level decrease. Do not spam syslog each 10 seconds when there is nothing on the wire. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 63788ea9245688772d13b979bea05bd72b239aad Merge: 349188f66da2fd88f8cb2407763051d8e136c9aa d7b9dfc8ea43936e6e8eec3040dcf4f110563868 Author: Linus Torvalds Date: Fri Aug 12 09:22:34 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 349188f66da2fd88f8cb2407763051d8e136c9aa Author: Eric W. Biederman Date: Thu Aug 11 22:26:25 2005 -0600 [PATCH] x86_64: Fix apicid versus cpu# confusion. Oops. I knew I didn't have the physical versus logical cpu identifiers right when I generated that patch. It's not nearly as bad as I feared at the time though. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit d7b9dfc8ea43936e6e8eec3040dcf4f110563868 Author: Matt Mackall Date: Thu Aug 11 19:28:05 2005 -0700 [NETPOLL]: remove unused variable Remove unused variable Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 53fb95d3c14290fd6ee808b221e35493f096246f Author: Matt Mackall Date: Thu Aug 11 19:27:43 2005 -0700 [NETPOLL]: fix initialization/NAPI race This fixes a race during initialization with the NAPI softirq processing by using an RCU approach. This race was discovered when refill_skbs() was added to the setup code. Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 2652076507b662fc88ba16c27b59c7bdd9ccd956 Author: Ingo Molnar Date: Thu Aug 11 19:26:42 2005 -0700 [NETPOLL]: pre-fill skb pool we could do one thing (see the patch below): i think it would be useful to fill up the netlogging skb queue straight at initialization time. Especially if netpoll is used for dumping alone, the system might not be in a situation to fill up the queue at the point of crash, so better be a bit more prepared and keep the pipeline filled. [ I've modified this to be called earlier - mpm ] Signed-off-by: Ingo Molnar Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 0db1d6fc1ea051af49ebe03c503d23996a7c5bbb Author: Matt Mackall Date: Thu Aug 11 19:25:54 2005 -0700 [NETPOLL]: add retry timeout Add limited retry logic to netpoll_send_skb Each time we attempt to send, decrement our per-device retry counter. On every successful send, we reset the counter. We delay 50us between attempts with up to 20000 retries for a total of 1 second. After we've exhausted our retries, subsequent failed attempts will try only once until reset by success. Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit f0d3459d0722782c7d9d0e35a1ed0815e75fcde5 Author: Matt Mackall Date: Thu Aug 11 19:25:11 2005 -0700 [NETPOLL]: netpoll_send_skb simplify Minor netpoll_send_skb restructuring Restructure to avoid confusing goto and move some bits out of the retry loop. Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 6b0b31572985c2e64f7216c798766302fb782281 Author: Matt Mackall Date: Thu Aug 11 19:24:33 2005 -0700 [NETPOLL]: e1000 netpoll tweak Suggested by Steven Rostedt, matches his patch included in e100. Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit a636e1357911afdea7c8344ee65f78d36caf3c16 Author: Jeff Moyer Date: Thu Aug 11 19:23:50 2005 -0700 [NETPOLL]: deadlock bugfix This fixes an obvious deadlock in the netpoll code. netpoll_rx takes the npinfo->rx_lock. netpoll_rx is also the only caller of arp_reply (through __netpoll_rx). As such, it is not necessary to take this lock. Signed-off-by: Jeff Moyer Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 11513128bb66b0b09d5d0df069b58afdb01752a2 Author: Jeff Moyer Date: Thu Aug 11 19:23:04 2005 -0700 [NETPOLL]: rx_flags bugfix Initialize npinfo->rx_flags. The way it stands now, this will have random garbage, and so will incur a locking penalty even when an rx_hook isn't registered and we are not active in the netpoll polling code. Signed-off-by: Jeff Moyer Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit a0d3bea3cf6c7c1b53a46432bd490b5dc784ca42 Author: Alexey Dobriyan Date: Thu Aug 11 16:05:50 2005 -0700 [NET]: Make skb->protocol __be16 There are many instances of skb->protocol = htons(ETH_P_*); skb->protocol = __constant_htons(ETH_P_*); and skb->protocol = *_type_trans(...); Most of *_type_trans() are already endian-annotated, so, let's shift attention on other warnings. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 7d69fa6266770eeb6317eddd46b64456e8a515bf Author: Johannes Stezenbach Date: Thu Aug 11 11:54:24 2005 +0200 [PATCH] Fix DVB URL Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds commit 691241315116b962f2161e6190f1678cc65bbe26 Merge: 1c53e4357ec72d6114c58d20c26d00a904f55da3 6bf11e8c708f0e512ed733fc65a50770c5bc7b54 Author: Tony Luck Date: Thu Aug 11 09:43:50 2005 -0700 pull perfmon context load into release tree commit b5da623ae9be680ea59f268eeb339f0acb2d88c4 Author: Herbert Xu Date: Wed Aug 10 18:32:36 2005 -0700 [TCP]: Adjust {p,f}ackets_out correctly in tcp_retransmit_skb() Well I've only found one potential cause for the assertion failure in tcp_mark_head_lost. First of all, this can only occur if cnt > 1 since tp->packets_out is never zero here. If it did hit zero we'd have much bigger problems. So cnt is equal to fackets_out - reordering. Normally fackets_out is less than packets_out. The only reason I've found that might cause fackets_out to exceed packets_out is if tcp_fragment is called from tcp_retransmit_skb with a TSO skb and the current MSS is greater than the MSS stored in the TSO skb. This might occur as the result of an expiring dst entry. In that case, packets_out may decrease (line 1380-1381 in tcp_output.c). However, fackets_out is unchanged which means that it may in fact exceed packets_out. Previously tcp_retrans_try_collapse was the only place where packets_out can go down and it takes care of this by decrementing fackets_out. So we should make sure that fackets_out is reduced by an appropriate amount here as well. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 6bf11e8c708f0e512ed733fc65a50770c5bc7b54 Author: stephane.eranian@hp.com Date: Thu Jul 28 05:18:00 2005 -0700 [IA64] fix perfmon context load The PFM_LOAD_CONTEXT may fail silently and cause a session to remain reserved even though it should not. This can happen when the commands succeeds in reserving the session but fails when it actually tries to attach to the load_pid. In that case, the command has failed but will return 0. More importantly, the session will remain reserved. This patch fixes the problem. Signed-off-by: Signed-off-by: Tony Luck commit 1c53e4357ec72d6114c58d20c26d00a904f55da3 Author: Kenji Kaneshige Date: Wed Aug 10 02:49:00 2005 -0700 [IA64] fix iosapic_remove build error for !HOTPLUG This patch removes the following stupid compile error that happens when CONFIG_HOTPLUG is not defined on ia64. arch/ia64/kernel/built-in.o(.text+0x712): In function `acpi_unregister_ioapic': : undefined reference to `iosapic_remove' Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit bc68552faad0e134eb22281343d5ae5a4873fa80 Merge: 0893dd327ffacb83dcca9033d2891d57b4024d6b 001ab02a8c04f0b4dc773c474da698ad7405ae68 Author: Linus Torvalds Date: Wed Aug 10 12:21:25 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 0893dd327ffacb83dcca9033d2891d57b4024d6b Merge: 606867443764edac5a2c542f2fa0a12ef7a7c7fd 42517438f9c1011a03e49a542cba32ac5a80dd8e Author: Linus Torvalds Date: Wed Aug 10 11:56:19 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 606867443764edac5a2c542f2fa0a12ef7a7c7fd Author: James Bottomley Date: Wed Aug 10 11:29:15 2005 -0700 [PATCH] remove name length check in a workqueue We have a chek in there to make sure that the name won't overflow task_struct.comm[], but it's triggering for scsi with lots of HBAs, only scsi is using single-threaded workqueues which don't append the "/%d" anyway. All too hard. Just kill the BUG_ON. Cc: Ingo Molnar Signed-off-by: Andrew Morton [ kthread_create() uses vsnprintf() and limits the thing, so no actual overflow can actually happen regardless ] Signed-off-by: Linus Torvalds commit 001ab02a8c04f0b4dc773c474da698ad7405ae68 Author: Steven Whitehouse Date: Wed Aug 10 11:32:57 2005 -0700 [DECNET]: Use sk_stream_error function rather than DECnet's own Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit 3462b925414a146d4c2252de97d20f89218d1ffb Author: Pierre Ossman Date: Mon Jul 11 14:19:35 2005 +0200 [PATCH] wbsd version bump Even though the changes are minor for the next release an increasing version number simplifies my support issues. Signed-off-by: Pierre Ossman Signed-off-by: Linus Torvalds commit e62b8b2bc73b2433239a2ac394c2fafd50c43d9e Author: Benjamin Herrenschmidt Date: Wed Aug 10 11:12:09 2005 +0200 [PATCH] ppc64: Fix Fan control for new PowerMac G5 2.7GHz machines The workaround for broken device-tree that prevents fan control from working on recent G5 models need to be "enabled" for machines with revision 0x37 of the bridge in addition to machines with revision 0x35. Signed-off-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 70679ee34f244499cf1c6775647895123eb1a326 Merge: 435d444a532af652ba8bdfd4db4424982bea2f69 b876386ee47e3ac9375a36e9107b8bd32e0599fc Author: Linus Torvalds Date: Wed Aug 10 11:05:56 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit 435d444a532af652ba8bdfd4db4424982bea2f69 Merge: 22d0def9d09111513f5a8d38583210620f97d710 484ae6bd9506488089c33784eff35b190fa80e03 Author: Linus Torvalds Date: Wed Aug 10 11:05:28 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 22d0def9d09111513f5a8d38583210620f97d710 Author: Alexander Nyberg Date: Wed Aug 10 10:11:36 2005 -0700 [PATCH] ns558 list handling fix Need to use list_for_entry_safe(), as we're removing items during the traversal. list_for_each_entry() uses the first ptr also as an iterator, if you kfree() it slab takes it, might poison it and then you try to use it to iterate to the next object in list. Cc: Vojtech Pavlik Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0438174e8272d23fe43a5d3f23d777f5b412e87 Author: Ralf Baechle DL5RB Date: Wed Aug 10 10:03:20 2005 -0700 [PATCH] 6pack persistence fix Fix the p-persistence CSMA algorithm which in simplex mode was starting with a slottime delay before doing anything else as if there was carrier collision resulting in bad performance on simplex links. Signed-off-by: Ralf Baechle DL5RB Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42517438f9c1011a03e49a542cba32ac5a80dd8e Author: Tejun Heo Date: Wed Aug 10 13:38:27 2005 -0400 libata: fix EH-related lockup by properly cleaning EH command list Yet another hack due to the fact that libata is the only user of SCSI's ->eh_strategy_handler() hook. commit fae009847c9ea3d668bbee21ce1d76764eca5039 Author: Tejun Heo Date: Sun Aug 7 14:53:40 2005 +0900 [PATCH] sata: fix sata_sx4 dma_prep to not use sg->length sata_sx4 directly references sg->length to calculate total_len in pdc20621_dma_prep(). This is incorrect as dma_map_sg() could have merged multiple sg's into one and, in such case, sg->length doesn't reflect true size of the entry. This patch makes it use sg_dma_len(sg). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48d28fd55e7fd349fb16a50244379b4da3a4943c Merge: 86b3786078d63242d3194ffc58ae8dae1d1bbef3 5bb8345db8f2aef367e0fddf99a42b7a6029b31f Author: Linus Torvalds Date: Wed Aug 10 09:36:02 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 commit 2d610b80e954045ccfc27558f84e482709e5e5b7 Merge: 8a9cd6d676728792aaee31f30015d284acd154a3 86b3786078d63242d3194ffc58ae8dae1d1bbef3 Author: Dave Kleikamp Date: Wed Aug 10 11:15:13 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 8a9cd6d676728792aaee31f30015d284acd154a3 Author: Dave Kleikamp Date: Wed Aug 10 11:14:39 2005 -0500 JFS: Fix race in txLock TxAnchor.anon_list is protected by jfsTxnLock (TXN_LOCK), but there was a place in txLock() that was removing an entry from the list without holding the spinlock. Signed-off-by: Dave Kleikamp commit 484ae6bd9506488089c33784eff35b190fa80e03 Author: Ben Dooks Date: Wed Aug 10 16:45:14 2005 +0100 [PATCH] ARM: 2849/1: S3C24XX - USB host update (2848/1) Patch from Ben Dooks Rename the s3c2410_report_oc() to s3c2410_usb_report_oc() as this is an usb specific function. Change port power on the usb-simtec implementation to only power up the output if both are set, as per the usb 1.1 specification Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c59d071d4a32e1c45cac6d47f5b59ec36a9a997b Author: Ben Dooks Date: Wed Aug 10 16:45:14 2005 +0100 [PATCH] ARM: 2847/1: S3C24XX - Documentation for USB OHCI host Patch from Ben Dooks Documentation for the in-built OHCI host controller and the support for it in Linux. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8d3722667762af1490db18ba927386d3be89a32b Author: Nicolas Pitre Date: Wed Aug 10 16:45:13 2005 +0100 [PATCH] ARM: 2846/1: proper handling of CKEN for pxafb Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 6626a7076d39f0a18156cdd97d4e2cbef91ad701 Author: Russell King Date: Wed Aug 10 16:18:35 2005 +0100 [ARM] Control v6 'global' bit via Linux PTE entries Unfortunately, we can't use the "user" bit in the page tables to control whether a page table entry is "global" or "asid" specific, since the vector page is mapped as "user" accessible but is not process specific. Therefore, give direct control of the ARMv6 "nG" (not global) bit to the mm layers. Signed-off-by: Russell King commit 1b9749e7f15bf2db19f5d201f88401c7517910b7 Author: Russell King Date: Wed Aug 10 16:15:32 2005 +0100 [ARM] Use #defined constants for manipulating v6 hardware PTE bits Signed-off-by: Russell King commit b876386ee47e3ac9375a36e9107b8bd32e0599fc Author: Russell King Date: Wed Aug 10 14:52:52 2005 +0100 [ARM SMP] Clear the exclusive monitor on ARMv6 CPUs on context switch Ensure that the exclusive monitor is cleared on context switch with ARMv6 CPUs. Signed-off-by: Russell King commit 3c4ee4e2520775896efc6ab850c4c27971fbcf2a Author: Russell King Date: Wed Aug 10 14:41:45 2005 +0100 [ARM SMP] Only enable V6K instructions on V6 MP core CPUs Signed-off-by: Russell King commit 86b3786078d63242d3194ffc58ae8dae1d1bbef3 Author: Christoph Lameter Date: Tue Aug 9 19:59:21 2005 -0700 [PATCH] Fix ide-disk.c oops caused by hwif == NULL 1. Move hwif_to_node to ide.h 2. Use hwif_to_node in ide-disk.c Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit aeb3f76350e78aba90653b563de6677b442d21d6 Author: Michael Krufky Date: Tue Aug 9 17:48:54 2005 -0700 [PATCH] DVB: lgdt330x frontend: some bug fixes & add lgdt3303 support This patch removes the tda9887 stuff from lgdt330x.c. It's experimental code which wasn't supposed to leak out and we don't want it in 2.6.13. Signed-off-by: Michael Krufky Acked-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e179d8b0552e2fdb45c6022c589af945f8cbecbe Author: Michael Krufky Date: Tue Aug 9 17:48:54 2005 -0700 [PATCH] dvb: lgdt330x frontend: trivial text cleanups Two trivial text changes in Kconfig and lgdt330x.c Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc9352a42c6de578c932313448257cf246b2b75f Author: Markus Lidel Date: Tue Aug 9 14:30:57 2005 -0700 [PATCH] I2O: added pci_request_regions() before using the controller Added pci_request_regions() before using the controller to avoid duplicate usage of the I2O controller when the dpt_i2o driver and I2O subsystem is loaded at the same time. Signed-off-by: Markus Lidel Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7df26da158ad64d56cc32934aa38a07d03a6fc9 Merge: 68e681e87faa142bde356aeefe619c42275ac98e fb573856b2d82926b36ed059899d883474a3b9eb Author: Linus Torvalds Date: Tue Aug 9 16:03:19 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 68e681e87faa142bde356aeefe619c42275ac98e Merge: 25f13053651569bd0c87927ff49d07d9225feadb 38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6 Author: Linus Torvalds Date: Tue Aug 9 16:02:15 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 25f13053651569bd0c87927ff49d07d9225feadb Merge: db29e85a7ece62de1899917c1ec0ffe55cf1d3a0 d64d3873721cfe870d49d73c3744f06260779ce7 Author: Linus Torvalds Date: Tue Aug 9 16:00:05 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit d64d3873721cfe870d49d73c3744f06260779ce7 Author: Andrew Morton Date: Tue Aug 9 15:29:19 2005 -0700 [NET]: Fix memory leak in sys_{send,recv}msg() w/compat From: Dave Johnson sendmsg()/recvmsg() syscalls from o32/n32 apps to a 64bit kernel will cause a kernel memory leak if iov_len > UIO_FASTIOV for each syscall! This is because both sys_sendmsg() and verify_compat_iovec() kmalloc a new iovec structure. Only the one from sys_sendmsg() is free'ed. I wrote a simple test program to confirm this after identifying the problem: http://davej.org/programs/testsendmsg.c Note that the below fix will break solaris_sendmsg()/solaris_recvmsg() as it also calls verify_compat_iovec() but expects it to malloc internally. [ I fixed that. -DaveM ] Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 3501466941347f0e1992b2672affb3feb92925fd Author: David S. Miller Date: Tue Aug 9 14:57:12 2005 -0700 [SUNRPC]: Fix nsec --> usec conversion. We need to divide, not multiply. While we're here, use NSEC_PER_USEC instead of a magic constant. Based upon a report from Josip Loncaric and a patch by Andrew Morton. Signed-off-by: David S. Miller commit 38c1844b3120e04b7f5bb9c18ebbc19883d1e1d6 Author: David S. Miller Date: Tue Aug 9 14:43:14 2005 -0700 [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() Fix thinko in Christoph's changes. Signed-off-by: David S. Miller commit 4875ccdb304775e9fd830f644643a1513357e043 Author: Christoph Hellwig Date: Tue Aug 9 14:39:10 2005 -0700 [SPARC]: remove ifdef CONFIG_PCI from envctrl.c The driver already depends on CONFIG_PCI in Kconfig. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit bc2406684b5929cea5d40b9cc4fd872816956779 Author: Christoph Hellwig Date: Tue Aug 9 13:32:25 2005 -0700 [SPARC]: Use kthread infrastructure in bbc_envctrl Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 218b29e0c3995ee15782de55ad1dd74cce1a728d Author: Christoph Hellwig Date: Tue Aug 9 12:30:07 2005 -0700 [SPARC]: Use kthread infrastructure in envctrl envctrl currently uses very odd ways to stop a thread, using various things that should be exposed to drivers at all. This patch (which is untested as I don't have sparc hardware) switches it to use the proper kthread infrastructure. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit db29e85a7ece62de1899917c1ec0ffe55cf1d3a0 Author: Markus Lidel Date: Tue Aug 9 10:08:03 2005 -0700 [PATCH] i2o: remove new configuration API Remove new configuration API from i2o_config The API-patch is still available from the I2O website (which is mentioned in the kernel config now). It is removed because it creates a new binary sysfs-attribute, which doesn't have the limitiation of 4k. Expect for the Adaptec controllers, which has a limitation in the hardware this attribute doesn't make sense anywhere else. Until the sysfs API provides an attribute which doesn't buffer (like firmware) and let access to at least 64k blocks i provide a separate patch... (akpm: basically, this API was introduced post-2.6.12 and Markus wants to pull it out before 2.6.13). Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36d2f5a18205dfc2fac1e3541d324ce186f418cb Author: Kumar Gala Date: Tue Aug 9 10:08:02 2005 -0700 [PATCH] cpm_uart: needs some love to compile with GCC4.0.1 Fixed problems so we can build with gcc-4.0.1 Signed-off-by: Peter Schaefer-Hutter Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 311c46273f0e8b140d4cc68e13128cbc22114807 Author: Kumar Gala Date: Tue Aug 9 10:08:00 2005 -0700 [PATCH] cpm_uart: Fix dpram allocation and non-console uarts * Makes dpram allocations work * Makes non-console UART work on both 8xx and 82xx * Fixed whitespace in files that were touched Signed-off-by: Vitaly Bordug Signed-off-by: Pantelis Antoniou Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3077a260e9f316b611436b1506eec9cc5c4f8aa6 Author: Paul Jackson Date: Tue Aug 9 10:07:59 2005 -0700 [PATCH] cpuset release ABBA deadlock fix Fix possible cpuset_sem ABBA deadlock if 'notify_on_release' set. For a particular usage pattern, creating and destroying cpusets fairly frequently using notify_on_release, on a very large system, this deadlock can be seen every few days. If you are not using the cpuset notify_on_release feature, you will never see this deadlock. The existing code, on task exit (or cpuset deletion) did: get cpuset_sem if cpuset marked notify_on_release and is ready to release: compute cpuset path relative to /dev/cpuset mount point call_usermodehelper() forks /sbin/cpuset_release_agent with path drop cpuset_sem Unfortunately, the fork in call_usermodehelper can allocate memory, and allocating memory can require cpuset_sem, if the mems_generation values changed in the interim. This results in an ABBA deadlock, trying to obtain cpuset_sem when it is already held by the current task. To fix this, I put the cpuset path (which must be computed while holding cpuset_sem) in a temporary buffer, to be used in the call_usermodehelper call of /sbin/cpuset_release_agent only _after_ dropping cpuset_sem. So the new logic is: get cpuset_sem if cpuset marked notify_on_release and is ready to release: compute cpuset path relative to /dev/cpuset mount point stash path in kmalloc'd buffer drop cpuset_sem call_usermodehelper() forks /sbin/cpuset_release_agent with path free path The sharp eyed reader might notice that this patch does not contain any calls to kmalloc. The existing code in the check_for_release() routine was already kmalloc'ing a buffer to hold the cpuset path. In the old code, it just held the buffer for a few lines, over the cpuset_release_agent() call that in turn invoked call_usermodehelper(). In the new code, with the application of this patch, it returns that buffer via the new char **ppathbuf parameter, for later use and freeing in cpuset_release_agent(), which is called after cpuset_sem is dropped. Whereas the old code has just one call to cpuset_release_agent(), right in the check_for_release() routine, the new code has three calls to cpuset_release_agent(), from the various places that a cpuset can be released. This patch has been build and booted on SN2, and passed a stress test that previously hit the deadlock within a few seconds. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a242b44da6feb604c4c659b78f63dedb69b2d4a3 Author: Ralf Baechle Date: Tue Aug 9 10:07:57 2005 -0700 [PATCH] Build fix for the Sibyte I2C driver Compile fix for the BCM1250 I2C driver. Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01df0e3a79d3913df178e9a1047ade425a7c118f Author: Wim Van Sebroeck Date: Tue Aug 9 10:07:56 2005 -0700 [PATCH] i8xx_tco.c: arm watchdog only when started i8xx_tco.c v0.08: only "arm" the watchdog when the watchdog has been started. (Kernel Bug 4251: system reset when battery is read and i8xx_tco driver loaded) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bb8345db8f2aef367e0fddf99a42b7a6029b31f Author: Salyzyn, Mark Date: Tue Aug 9 12:57:58 2005 -0400 [SCSI] dpt_i2o pci_request_regions fix Originally From: Andrew Morton Altered By: "Salyzyn, Mark" There is an additional 'build fix' patch that Andrew Morton submitted on the kernel list (I have changed out his dpr_i2o with dpt_i2o below though). Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 00dd1e433967872f3997a45d5adf35056fdf2f56 Author: John McCutchan Date: Mon Aug 8 22:13:05 2005 -0400 [PATCH] fsnotify-cleanups This removes the now unused fsnotify_unlink & fsnotify_rmdir code. Compile tested. Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit dc836b5b6fcde95f750a4790d8200fabaf563dc9 Author: Linus Torvalds Date: Mon Aug 8 18:46:09 2005 -0700 Revert "[PATCH] PCI: restore BAR values..." Revert commit fec59a711eef002d4ef9eb8de09dd0a26986eb77, which is breaking sparc64 that doesn't have a working pci_update_resource. We'll re-do this after 2.6.13 when we'll do it all properly. commit 138b9dd1fd7b44176af4f3b672060c790b0eaf55 Author: Dave Jones Date: Mon Aug 8 16:13:15 2005 -0700 [PATCH] icn driver fails to unload when no hardware present Fix a null dereference in module unload path. Found by a simple modprobe icn ; rmmod icn Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92e52b2e82bec10a70744d4a2b04e0ff2dfe2c98 Merge: 03c6b749b364fe7b8e47ed8e1ce26baca167c322 ca9334523c853e407da7b3a0bd02f54d0fa59414 Author: Linus Torvalds Date: Mon Aug 8 16:06:01 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit fb573856b2d82926b36ed059899d883474a3b9eb Author: Ken Chen Date: Mon Aug 8 15:25:00 2005 -0700 [IA64] fix nohalt boot option this changeset broke the "nohalt" kernel boot option. 8df5a500a3e97f7811cdce0f553ca1917ccd4220 default_idle() is looking at new variable can_do_pal_halt. However, that variable did not get cleared upon "nohalt" boot option. Result is that "nohalt" option is ignored until perfmon is exercised. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 03c6b749b364fe7b8e47ed8e1ce26baca167c322 Author: Olaf Hering Date: Mon Aug 8 14:49:18 2005 -0700 [PATCH] x86_64: add MODULE_ALIAS for aes modprobe aes does not work on x86_64. i386 has a similar line, this could be the right fix. Would be nice to have in 2.6.13 final. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e708484d710bcbb44893400f429579f5728cd7d Author: Kumar Gala Date: Mon Aug 8 14:49:17 2005 -0700 [PATCH] ppc32: Fix MPC834x USB memory map offsets The memory mappings for MPC8349 USB MPH and DR modules were reversed. Signed-off-by: Li Yang Signed-off-by: Jiang Bo Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c44cd2afad3f7b015542187e147a820600172f1 Author: James.Smart@Emulex.Com Date: Fri Jun 10 22:24:30 2005 -0400 [SCSI] fix target scanning oops with fc transport class We have some nasty issues with 2.6.12-rc6. Any request to scan on the lpfc or qla2xxx FC adapters will oops. What is happening is the system is defaulting to non-transport registered targets, which inherit the parent of the scan. On this second scan, performed by the attribute, the parent becomes the shost instead of the rport. The slave functions in the 2 FC adapters use starget_to_rport() routines, which incorrectly map the shost as an rport pointer. Additionally, this pointed out other weaknesses: - If the target structure is torn down outside of the transport, we have no method for it to be regenerated at the proper parent. - We have race conditions on the target being allocated by both the midlayer scan (parent=shost) and by the fc transport (parent=rport). Signed-off-by: James Bottomley commit ca9334523c853e407da7b3a0bd02f54d0fa59414 Author: Heikki Orsila Date: Mon Aug 8 14:26:52 2005 -0700 [IPV4]: Debug cleanup Here's a small patch to cleanup NETDEBUG() use in net/ipv4/ for Linux kernel 2.6.13-rc5. Also weird use of indentation is changed in some places. Signed-off-by: Heikki Orsila Signed-off-by: David S. Miller commit 4d479e40e1748a877a24015fc6727b27b77110cd Author: David S. Miller Date: Mon Aug 8 13:48:02 2005 -0700 [NETLINK]: Allocate and kill some netlink numbers. NETLINK_ARPD is unused, allocate it to the Open-iSCSI folks. NETLINK_ROUTE6 and NETLINK_TAPBASE are no longer used, delete them. Signed-off-by: David S. Miller commit b612cacb02f0fb58f07a9002c7719a901882718c Merge: 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a 71abe99980e6d7ff8aee8acc7da817b3ad7d8a89 Author: Linus Torvalds Date: Mon Aug 8 12:19:24 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a Author: John McCutchan Date: Mon Aug 8 13:52:16 2005 -0400 [PATCH] fsnotify_name/inoderemove The patch below unhooks fsnotify from vfs_unlink & vfs_rmdir. It introduces two new fsnotify calls, that are hooked in at the dcache level. This not only more closely matches how the VFS layer works, it also avoids the problem with locking and inode lifetimes. The two functions are - fsnotify_nameremove -- called when a directory entry is going away. It notifies the PARENT of the deletion. This is called from d_delete(). - inoderemove -- called when the files inode itself is going away. It notifies the inode that is being deleted. This is called from dentry_iput(). Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 1963c907b21e140082d081b1c8f8c2154593c7d7 Author: Michael Krufky Date: Mon Aug 8 09:22:43 2005 -0700 [PATCH] dvb: lgdt330x frontend: some bug fixes & add lgdt3303 support - Structural changes within lgdt330x driver, framework now supports both chips... tested OK on lgdt3302 and lgdt3303. - Add LG/TUA6034 dvb_pll_desc for ATSC with LG TDVS-H062F & DViCO FusionHDTV5. - Fixed LGDT330X signal strength: For now, always set it to 0. - Corrected LGDT330X boundary condition error in read_snr: dB calculation. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66aea23ff84ca81bfaeaf7d63e248b873f5c2616 Author: Cornelia Huck Date: Mon Aug 8 09:22:36 2005 -0700 [PATCH] s390: use klist in qeth driver From: Martin Schwidesky Convert qeth to the new klist interface and make it compiling again. Signed-off-by: Frank Pavlic Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b83bc77bf77cc8459cb94e52b08e775104c4c48 Author: Harald Welte Date: Mon Aug 8 11:50:55 2005 +0200 [PATCH] don't try to do any NAT on untracked connections With the introduction of 'rustynat' in 2.6.11, the old tricks of preventing NAT of 'untracked' connections (e.g. NOTRACK target in 'raw' table) are no longer sufficient. The ip_conntrack_untracked.status |= IPS_NAT_DONE_MASK effectively prevents iteration of the 'nat' table, but doesn't prevent nat_packet() to be executed. Since nr_manips is gone in 'rustynat', nat_packet() now implicitly thinks that it has to do NAT on the packet. This patch fixes that problem by explicitly checking for ip_conntrack_untracked in ip_nat_fn(). Signed-off-by: Harald Welte Signed-off-by: Linus Torvalds commit 48de5beeb0ee821859c79ba5b9462654604d8bf3 Author: James Morris Date: Mon Aug 8 10:29:08 2005 -0400 [PATCH] Update contact info for James Morris commit 6d85f29bb54235d2e184e7155dcd4de908324fe6 Author: Ivan Kokshaysky Date: Mon Aug 8 12:55:54 2005 +0400 [PATCH] VIA VT8235 PCI quirk Like many other southbridges from different manufacturers, VIA VT8235 chip has two non-standard BARs for power management and SMBus registers (see the datasheet at http://www.via.com.tw). This new quirk routine fixes boot problem with 2.6.13-rc2/rc6 kernels on Targa Visionary 811 Athlon64 laptop, as reported by Mikael Pettersson . Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit db6778db7eb1d974e1ae0da326530f09c13585ac Author: Antonino Daplas Date: Mon Aug 8 14:22:43 2005 +0800 [PATCH] nvidiafb: Fix initial display corruption on certain laptops Reported by:Vincent Fortier (Bugzilla Bug 4768) "At boot time the screen appears moved to the mid right portion of the actual video pannel making the end of the line appears at the left edge... It simply looks like moved half way to the right" His particular hardware has a display with an unusual dimension (1920x1200) but unfortunately has no EDID block. None of the entries in the global mode database is correct for this particular display, and it particularly has difficulty scaling up 640x480 (the default startup mode of nvidiafb) to 1920x1200 which causes the above described problem. 1, Add 1920x1200 to the global mode database. 2. Let nvidiafb base the startup mode from the flatpanel dimensions only if the EDID block is absent, no boot mode parameter is specified by the user, and a flatpanel/LCD display is attached. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 0f0767c67a497173294bdf6725a3d85f7f29e397 Author: Paul Mackerras Date: Mon Aug 8 14:16:43 2005 +1000 [PATCH] ppc64: update defconfigs Update the default/example configs for ppc64. Pretty boring... Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 2c875bbda9303b359af94f671d25639840ce2a59 Author: Arnd Bergmann Date: Mon Aug 8 14:12:42 2005 +1000 [PATCH] ppc64: add default config for BPA This adds a bpa_defconfig file and make target. The config settings are made for the current version of the Cell Processor Based Blade, so there are not too many drivers enabled. A few more drivers might get added in the future though. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 9c472dd9197429a37691e91c938660a062bf20b0 Author: James Bottomley Date: Mon Aug 8 11:51:38 2005 -0500 [SCSI] Bug 4940 Repeatable Kernel Panic on Adaptec 2015S I20 device on bootup From: "Salyzyn, Mark" Prevent driver from loading if another driver (i2o) has already claimed the resources associated with the card. Discussion associated with this bug can be referenced at http://bugzilla.kernel.org/show_bug.cgi?id=4940 where it was agreed to use pci_request_regions in both the dpt_i2o and the i2o driver to prevent both drivers loading on the same adapter(s). Signed-off-by: Mark Salyzyn Rejections fixed up and Signed-off-by: James Bottomley commit 6fc32179de9e14c542e0b1760e412bc670611c53 Author: Linus Torvalds Date: Sun Aug 7 11:18:56 2005 -0700 Linux 2.6.13-rc6 Last (?) -rc, partly brought on by the aic7xxx performance fixes (ie get them tested in an -rc release before the real 2.6.13). commit cfc646fa848dfa124fe4d6e0e44ef6940f7f9e6d Author: Dominik Hackl Date: Sun Aug 7 09:42:53 2005 -0700 [PATCH] crc32.c typo fix This patch fixes a typo in lib/crc32.c which results in incorrect debug output. Signed-off-by: Dominik Hackl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b0271eb9da5170ab5cadf2edf97c84712c82550 Author: Ravikiran G Thirumalai Date: Sun Aug 7 09:42:50 2005 -0700 [PATCH] Move the fix to align node_end_pfns to a proper location Move the fix to align node_end_pfns to a proper location. The earlier fix made the node_remap_start_vaddr to get misaligned causing remap_numa_kva to barf again :-/ Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 079da354db3473b56eb938ca53a2cb0804ea9c8c Author: Marcelo Tosatti Date: Sun Aug 7 09:42:47 2005 -0700 [PATCH] ppc32: 8xx commproc avoid direct pte manipulation, use dma coherent API instead Touching the pte directly causes the 8Mbyte TLB entry to be invalidated. This has been fixed in v2.4 for ages. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 204085c52aa9975a90a894cb385360a141f1e4a3 Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:46 2005 -0700 [PATCH] ppc32: 8xx kill unused variable in commproc 8xx: commproc.c: kill unused variable Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff085c1cc26532294e91f69c1747994fa2283369 Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:43 2005 -0700 [PATCH] ppc32: 8xx restrict ENET_BIG_BUFFERS option 8xx: restrict ENET_BIG_BUFFERS option to drivers which actually use it Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit b7f08aabb1cdc0d714d312e2ad2feefb498daf77 Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:40 2005 -0700 [PATCH] ppc32: 8xx fix CPM ethernet description 8xx: fix CPM Ethernet description Signed-off-by: Marcelo Tosatti Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fbccb3d7f56654dbc407f757c884f22d26264e42 Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:36 2005 -0700 [PATCH] ppc32: 8xx: fec: fix interrupt handler prototypes 8xx: fec: fix interrupt handler prototypes Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc007ddd609ccfce1cd392e65eed05aba8db32ce Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:33 2005 -0700 [PATCH] ppc32: 8xx: using dma_alloc_coherent() instead consistent_alloc() 8xx: using dma_alloc_coherent() instead consistent_alloc() Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b0ed2fbdbea3f0d34404f1cbfdf02c4a673ca56 Author: Aristeu Sergio Rozanski Filho Date: Sun Aug 7 09:42:28 2005 -0700 [PATCH] ppc32: 8xx: convert fec driver to use work_struct 8xx: convert fec driver to use work_struct Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68b47139ea94ab6d05e89c654db8daa99e9a232c Author: Miklos Szeredi Date: Sun Aug 7 09:42:25 2005 -0700 [PATCH] namespace.c: fix bind mount from foreign namespace I'm resending this patch, because I still believe it's the correct fix. Tested before/after applying the patch with a test application available from: http://www.inf.bme.hu/~mszeredi/nstest.c Bind mount from a foreign namespace results in an un-removable mount. The reason is that mnt->mnt_namespace is copied from the old mount in clone_mnt(). Because of this check_mnt() in sys_umount() will fail. The solution is to set mnt->mnt_namespace to current->namespace in clone_mnt(). clone_mnt() is either called from do_loopback() or copy_tree(). copy_tree() is called from do_loopback() or copy_namespace(). When called (directly or indirectly) from do_loopback(), always current->namspace is being modified: check_mnt(nd->mnt). So setting mnt->mnt_namespace to current->namspace is the right thing to do. When called from copy_namespace(), the setting of mnt_namespace is irrelevant, since mnt_namespace is reset later in that function for all copied mounts. Jamie said: This patch is correct. The old code was buggy for more fundamental and serious reason: it broke the invariant that a tree of vfsmnts all have the same value of mnt_namespace (and the same for the mnt_list list). Signed-off-by: Miklos Szeredi Acked-by: Jamie Lokier Cc: Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ae5b3c703cce89a7d8ccf25fe16955ec6f016c0 Author: Olaf Hering Date: Sun Aug 7 09:42:24 2005 -0700 [PATCH] remove linux/pagemap.h from linux/swap.h sparc can not include linux/pagemap.h because of the following circular dependency: asm-sparc/pgtable include linux/swap.h linux/swap.h include now linux/pagemap.h linux/pagemap.h include linux/mm.h linux/mm.h include asm/pgtable.h It needs to have the swp_entry_t type fully visible in pgtable.h, we can't work around this using macros. Signed-off-by: Olaf Hering Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46bdac99382dd36e2d8c36cfb35d879b5c136965 Author: Tom Duffy Date: Sun Aug 7 09:42:23 2005 -0700 [PATCH] visws: linkage fix This patch add stubs to allow the visws subarch to link again. Signed-off-by: Tom Duffy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c79d7260a8522a54374fa10dd2838eaef492cf2 Author: Tom Duffy Date: Sun Aug 7 09:42:16 2005 -0700 [PATCH] Make visws compile again In file included from linux-2.6.13-rc5/arch/i386/kernel/timers/timer_pit.c:20: linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h: In function `do_timer_overflow': linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: `i8259A_lock' undeclared (first use in this function) linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: (Each undeclared identifier is reported only once linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: for each function it appears in.) make[3]: *** [arch/i386/kernel/timers/timer_pit.o] Error 1 make[2]: *** [arch/i386/kernel/timers] Error 2 make[1]: *** [arch/i386/kernel] Error 2 make: *** [_all] Error 2 Signed-off-by: Tom Duffy Cc: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e525e153c7a99fc64af68e7f50a2660babd6752b Author: Andrew Morton Date: Sun Aug 7 09:42:12 2005 -0700 [PATCH] __bio_clone() dead comment Remove a very wrong comment. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5172f263f76ca6d588f533c0989b22521fcbac2 Author: Andi Kleen Date: Sun Aug 7 09:42:07 2005 -0700 [PATCH] x86_64: ignore machine checks from boot time Don't log machine check events left over from boot. Too many BIOSes leave bogus events in there. This unfortunately also makes it impossible to log events that caused a reboot. For people with non broken BIOS there is mce=bootlog Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf7bee5a0bf270a4eace0be39329d6ac0136cc47 Author: Ivan Kokshaysky Date: Sun Aug 7 13:49:59 2005 +0400 [PATCH] Fix restore of 64-bit PCI BAR's For 64-bit BAR[i] only pci_dev->resource[i] is valid, ->resource[i+1] slot is unused and contains zeroes in all fields. So when we update a PCI BAR, all we need is just to check that we're going to update a _valid_ resource. Also make sure to write high bits - use "x >> 16 >> 16" (rather than the simpler ">> 32") to avoid warnings on 32-bit architectures where we're not going to have any high bits. Signed-off-by: Linus Torvalds commit 71abe99980e6d7ff8aee8acc7da817b3ad7d8a89 Author: Christoph Hellwig Date: Sun Aug 7 14:23:42 2005 +0100 [PATCH] ARM: switch fd1772.c from sleep_on to wait_event Doesn't make the local irq disabling around it less buggy, but at least we replace the offender with the right kind of primitive. Signed-off-by: Christoph Hellwig Signed-off-by: Russell King commit fc1df37e3b195cb73ecb14c30d41b7aace3f844a Author: Russell King Date: Sun Aug 7 14:20:26 2005 +0100 [PATCH] ARM: Make sa1100fb_display_dma_period() an inline function This function produces a warning when CPU_FREQ=n. Since it's a very simple calculation, make it inline instead of adding preprocessor directives around it. Signed-off-by: Russell King commit 0d317fb72fe3cf0f611608cf3a3015bbe6cd2a66 Author: Eric W. Biederman Date: Sat Aug 6 13:47:36 2005 -0600 [PATCH] x86_64 bootmem: sparse_mem/kexec merge bug. When the sparse mem changes and the kexec changes were merged into setup.c they came in, in the wrong order. This patch changes the order so we don't run sparse_init which uses the bootmem allocator until we all of the reserve_bootmem calls has been made. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 36cf446c2c4be6bae01517ea539dcebaf85c9fdf Author: Eric W. Biederman Date: Sat Aug 6 13:45:10 2005 -0600 [PATCH] i386 visws: Add machine_shutdown and emergency_restart Another x86 subarchitecture bit I missed. This adds both machine_emergency_restart missed in my reboot fixes and machine_shutdown needed for kexec support. Signed-off-by: Linus Torvalds commit 094528a7fb3f75a83673e5cc3271fd466f2e278d Author: Eric W. Biederman Date: Sat Aug 6 13:42:45 2005 -0600 [PATCH] i386 voyager: Add machine_shutdown Here is one more bit of breakage my x86 sub-architecture confusion caused. Add machine_shutdown to voyager so it will compile with CONFIG_KEXEC. Signed-off-by: Linus Torvalds commit cd5098d254a28a5980bc6dec9644f99ee884a548 Merge: d8588ee5b87226d96e07add42027246746357fe3 576c7d858f36cab6110b29db7b53964d5132cf30 Author: Linus Torvalds Date: Sat Aug 6 10:18:48 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6 commit d8588ee5b87226d96e07add42027246746357fe3 Author: Linus Torvalds Date: Sat Aug 6 09:44:37 2005 -0700 ppc: Export __handle_mm_fault for MOL When we did the handle_mm_fault cleanup and get_user_page() race fixes, handle_mm_fault turned into an inline function that called the real __handle_mm_fault() code. The export needed for MOL on ppc wasn't updated to match the new world order, though. Turn it into a GPL export while at it, since this is all about internal interfaces and MOL is GPL'd anwyay. commit fab5a60a29f98f17256a4183e34a414f6db67569 Author: Linus Torvalds Date: Sat Aug 6 09:42:06 2005 -0700 Check input buffer size in zisofs This uses the new deflateBound() thing to sanity-check the input to the zlib decompressor before we even bother to start reading in the blocks. Problem noted by Tim Yamin commit 243393c90f2b7cb781fd794e22786e9c8547901a Author: Linus Torvalds Date: Sat Aug 6 09:39:57 2005 -0700 Add fakey 'deflateBound()' function to the in-kernel zlib routines It's not the real deflateBound() in newer zlib libraries, partly because the upcoming usage of it won't have the "stream" available, so we can't have the same interfaces anyway. commit 021a52ac70802a94e699badb52af9d0fa728d5cd Author: Matt Porter Date: Sat Aug 6 07:21:06 2005 -0700 [PATCH] ppc32: ppc440 pagetable attributes (comments updates) Here's an incremental patch with comment updates and some additional grammar cleanups. Signed-off-by: Matt Porter Signed-off-by: Linus Torvalds commit 7d3f4c97723c4ec4e5d85e6e70084b02e6be8788 Author: David S. Miller Date: Sat Aug 6 06:35:48 2005 -0700 [TG3]: Save initial PCI state before registering the netdevice. Else on SMP systems it is possible for hotplug to execute, invoke tg3_open(), and end up loading the uninitialized PCI register save area into the card. Signed-off-by: David S. Miller commit 6fc0b4a7a73a81e74d0004732df358f4f9975be2 Author: Herbert Xu Date: Sat Aug 6 06:33:15 2005 -0700 [IPSEC]: Restrict socket policy loading to CAP_NET_ADMIN. The interface needs much redesigning if we wish to allow normal users to do this in some way. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 576c7d858f36cab6110b29db7b53964d5132cf30 Author: Marcel Holtmann Date: Sat Aug 6 12:36:54 2005 +0200 [Bluetooth] Add direction and timestamp to stack internal events This patch changes the direction to incoming and adds the timestamp to all stack internal events. Signed-off-by: Marcel Holtmann commit 66e8b6c31b9254243afaac8af4135e84e11dd38e Author: Marcel Holtmann Date: Sat Aug 6 12:36:51 2005 +0200 [Bluetooth] Remove unused functions and cleanup symbol exports This patch removes the unused bt_dump() function and it also removes its BT_DMP macro. It also unexports the hci_dev_get(), hci_send_cmd() and hci_si_event() functions. Signed-off-by: Adrian Bunk Signed-off-by: Marcel Holtmann commit e9a3e671c09d419f29710d8620ed916d3bf7d7ab Author: Marcel Holtmann Date: Sat Aug 6 12:36:47 2005 +0200 [Bluetooth] Kill redundant NULL checks before kfree() There's no need to check for NULL before calling kfree() on a pointer. Signed-off-by: Jesper Juhl Signed-off-by: Marcel Holtmann commit dcc365d8f28d6a2332fa37e64d669858a8d017e8 Author: Marcel Holtmann Date: Sat Aug 6 12:36:42 2005 +0200 [Bluetooth] Revert session reference counting fix The fix for the reference counting problem of the signal DLC introduced a race condition which leads to an oops. The reason for it is not fully understood by now and so revert this fix, because the reference counting problem is not crashing the RFCOMM layer and its appearance it rare. Signed-off-by: Marcel Holtmann commit cad0f6270c0bae5bcae6af3c7ac7bd3ae5d9b618 Author: Marcel Holtmann Date: Sat Aug 6 12:36:36 2005 +0200 [Bluetooth] Send HCI_Reset for Kensington dongle The Kensington Bluetooth USB adapter is based on a Broadcom chip with the HID proxy support. To initialize these kind of devices correctly it is necessary to send HCI_Reset as the first command. Signed-off-by: Marcel Holtmann commit 534afb90a9cd0b9643f62d660c164e1d924f39cf Author: Matt Porter Date: Fri Aug 5 16:10:10 2005 -0700 [PATCH] ppc32: fix ppc440 pagetable attributes This patch fixes a bug in the PPC440 pagetable attributes that breaks swap support. It also adds some notes on the PPC440 attribute fields. Signed-off-by: Geoff Levand for CELF Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aad724d3e52238e1ce005f166fbba5b4072a7f6 Author: Tim Yamin Date: Mon Jul 25 23:16:13 2005 +0100 [PATCH] Update in-kernel zlib routines These bugs have been fixed in the standard zlib for a while. See for example a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html b) http://bugs.gentoo.org/show_bug.cgi?id=94584 Signed-off-by: Tim Yamin Signed-off-by: Tavis Ormandy Signed-off-by: Linus Torvalds commit 00a5dfdb93f74e4d95fb0d83c890728e331f8810 Author: Ingo Molnar Date: Fri Aug 5 23:05:27 2005 +0200 [PATCH] Fix semundo lock leakage semundo->lock can leak if semundo->refcount goes from 2 to 1 while another thread has it locked. This causes major problems for PREEMPT kernels. The simplest fix for now is to undo the single-thread optimization. This bug was found via relentless testing by Dominik Karall. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit ba02508248e90a9d696aebd18b48a3290235b53c Author: Tejun Heo Date: Fri Aug 5 13:28:11 2005 -0700 [PATCH] blk: fix tag shrinking (revive real_max_size) My patch in commit fa72b903f75e4f0f0b2c2feed093005167da4023 incorrectly removed blk_queue_tag->real_max_depth. The original resize implementation was incorrect in the following points. * actual allocation size of tag_index was shorter than real_max_size, but assumed to be of the same size, possibly causing memory access beyond the allocated area. * bits in tag_map between max_deptn and real_max_depth were initialized to 1's, making the tags permanently reserved. In an attempt to fix above two bugs, I had removed allocation optimization in init_tag_map and real_max_size. Tag map/index were allocated and freed immediately during resize. Unfortunately, I wasn't considering that tag map/index can be resized dynamically with tags beyond new_depth active. This led to accessing freed area after shrinking tags and led to the following bug reporting thread on linux-scsi. http://marc.theaimsgroup.com/?l=linux-scsi&m=112319898111885&w=2 To fix the problem, I've revived real_max_depth without allocation optimization in init_tag_map, and Andrew Vasquez confirmed that the problem was fixed. As Jens is not going to be available for a week, he asked me to make sure that this patch reaches you. http://marc.theaimsgroup.com/?l=linux-scsi&m=112325778530886&w=2 Also, a comment was added to make sure that real_max_size is needed for dynamic shrinking. Signed-off-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7546f8f03f5a4fa612605b6be930234d6026860 Author: David Gibson Date: Fri Aug 5 11:59:35 2005 -0700 [PATCH] Fix hugepage crash on failing mmap() This patch fixes a crash in the hugepage code. unmap_hugepage_area() was assuming that (due to prefault) PTEs must exist for all the area in question. However, this may not be the case, if mmap() encounters an error before the prefault and calls unmap_region() to clean up any partial mapping. Depending on the hugepage configuration, this crash can be triggered by an unpriveleged user. Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6cb99413da42af413c11a394538ddc8b9d201e1 Author: James Bottomley Date: Fri Aug 5 11:59:34 2005 -0700 [PATCH] fix voyager compile after machine_emergency_restart breakage [PATCH] i386: Implement machine_emergency_reboot introduced this new function into arch/i386/reboot.c. However, subarchitectures are entitled to implement their own copies of reboot.c from which this new function is now missing. It looks like visws will also need a similar fixup Signed-off-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9abb020405c94edb0717315f1510086b1574a22 Author: Marcel Selhorst Date: Fri Aug 5 11:59:33 2005 -0700 [PATCH] tpm_infineon: Support for new TPM 1.2 and PNPACPI This patch includes support for the new Infineon Trusted Platform Module SLB 9635 TT 1.2 and does further include ACPI-support for both chip versions (SLD 9630 TT 1.1 and SLB9635 TT 1.2). Since the ioports and configuration registers are not correctly set on some machines, the configuration is now done via PNPACPI, which reads out the correct values out of the DSDT-table. Note that you have to have CONFIG_PNP, CONFIG_ACPI_BUS and CONFIG_PNPACPI enabled to run this driver (assuming that mainboards including a TPM do have the need for ACPI anyway). Signed-off-by: Marcel Selhorst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30e835e36648b15fb80797ace0a0e2afcf97618d Author: Andrew Morton Date: Fri Aug 5 11:59:32 2005 -0700 [PATCH] REPORTING-BUGS: track regressions Add a new record to the REPORTING-BUGS template: "Most recent kernel version which did not have the bug:". So we can spot regressions more easily. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a866a5f4eab10080ca25785fcf53ad67cde28bed Merge: 107207aa8576963861e9f0c66b439d233f02a97d b7656e7f2944984befa3ab99a5b99f99a23b302b Author: Linus Torvalds Date: Fri Aug 5 07:49:30 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 107207aa8576963861e9f0c66b439d233f02a97d Merge: 403fe5ae57c831968c3dbbaba291ae825a1c5aaa 3873658be7b3896e88648664e480a44d12083ad8 Author: Linus Torvalds Date: Fri Aug 5 07:42:20 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 403fe5ae57c831968c3dbbaba291ae825a1c5aaa Author: Petr Vandrovec Date: Fri Aug 5 15:50:07 2005 +0200 [PATCH] rtc: msleep() cannot be used from interrupt Since the beginning of July my Opteron box was randomly crashing and being rebooted by hardware watchdog. Today it finally did it in front of me, and this patch will hopefully fix it. The problem is that at the end of June (the 28th, to be exact: commit 47f176fdaf8924bc83fddcf9658f2fd3ef60d573, "[PATCH] Using msleep() instead of HZ") rtc_get_rtc_time was converted to use msleep() instead of busy waiting. But rtc_get_rtc_time is used by hpet_rtc_interrupt, and scheduling is not allowed during interrupt. So I'm reverting this part of original change, replacing msleep() back with busy loop. The original code was busy waiting for up to 20ms, but on my hardware in the worst case update-in-progress bit was asserted for at most 363 passes through loop (on 2GHz dual Opteron), much less than even one jiffie, not even talking about 20ms. So I changed code to just wait only as long as necessary. Otherwise when RTC was set to generate 8192Hz timer, it stopped doing anything for 20ms (160 pulses were skipped!) from time to time, and this is rather suboptimal as far as I can tell. Signed-off-by: Petr Vandrovec Signed-off-by: Linus Torvalds commit b7656e7f2944984befa3ab99a5b99f99a23b302b Author: David S. Miller Date: Fri Aug 5 04:12:48 2005 -0700 [IPV4]: Fix memory leak during fib_info hash expansion. When we grow the tables, we forget to free the olds ones up. Noticed by Yan Zheng. Signed-off-by: David S. Miller commit 2f60f8d3573ff90fe5d75a6d11fd2add1248e7d6 Author: Simon Derr Date: Thu Aug 4 19:52:03 2005 -0700 [PATCH] __vm_enough_memory() signedness fix We have found what seems to be a small bug in __vm_enough_memory() when sysctl_overcommit_memory is set to OVERCOMMIT_NEVER. When this bug occurs the systems fails to boot, with /sbin/init whining about fork() returning ENOMEM. We hunted down the problem to this: The deferred update mecanism used in vm_acct_memory(), on a SMP system, allows the vm_committed_space counter to have a negative value. This should not be a problem since this counter is known to be inaccurate. But in __vm_enough_memory() this counter is compared to the `allowed' variable, which is an unsigned long. This comparison is broken since it will consider the negative values of vm_committed_space to be huge positive values, resulting in a memory allocation failure. Signed-off-by: Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b68e9f857271189bd7a59b74c99890de9195b0e1 Author: Herbert Xu Date: Thu Aug 4 19:52:02 2005 -0700 [PATCH] tcp: fix TSO cwnd caching bug tcp_write_xmit caches the cwnd value indirectly in cwnd_quota. When tcp_transmit_skb reduces the cwnd because of tcp_enter_cwr, the cached value becomes invalid. This patch ensures that the cwnd value is always reread after each tcp_transmit_skb call. Signed-off-by: Herbert Xu Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 846998ae87a80b0fd45b4cf5cf001a159d746f27 Author: David S. Miller Date: Thu Aug 4 19:52:01 2005 -0700 [PATCH] tcp: fix TSO sizing bugs MSS changes can be lost since we preemptively initialize the tso_segs count for an SKB before we %100 commit to sending it out. So, by the time we send it out, the tso_size information can be stale due to PMTU events. This mucks up all of the logic in our send engine, and can even result in the BUG() triggering in tcp_tso_should_defer(). Another problem we have is that we're storing the tp->mss_cache, not the SACK block normalized MSS, as the tso_size. That's wrong too. Signed-off-by: David S. Miller Cc: Herbert Xu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c3dba1534569734ba353afdf3f11def497ff2ac Author: John McCutchan Date: Thu Aug 4 21:12:54 2005 -0400 [PATCH] Clean up inotify delete race fix This avoids the whole #ifdef mess by just getting a copy of dentry->d_inode before d_delete is called - that makes the codepaths the same for the INOTIFY/DNOTIFY cases as for the regular no-notify case. I've been running this under a Gnome session for the last 10 minutes. Inotify is being used extensively. Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit f10eff26831159f52353e8f15c37cdb2935d5fbf Author: Olav Kongas Date: Thu Aug 4 18:06:47 2005 -0700 [PATCH] USB: Fix setup packet initialization in isp116x-hcd When recently addressing remarks by Alexey Dobriyan about the isp116x-hcd, I introduced a bug in the driver. Please apply the attached patch to fix it. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 7dedacf4270a810fadcca887ac85d267b5f1882d Author: David Brownell Date: Thu Aug 4 18:06:41 2005 -0700 [PATCH] USB: ehci: microframe handling fix This patch has a one line oops fix, plus related cleanups. - The bugfix uses microframe scheduling data given to the hardware to test "is this a periodic QH", rather than testing for nonzero period. (Prevents an oops by providing the correct answer.) - The cleanup going along with the patch should make it clearer what's going on whenever those bitfields are accessed. The bug came about when, around January, two new kinds of EHCI interrupt scheduling operation were added, involving both the high speed (24 KBytes per millisec) and low/full speed (1-64 bytes per millisec) microframe scheduling. A driver for the Edirol UA-1000 Audio Capture Unit ran into the oops; it used one of the newly supported high speed modes. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 003ba5153582427b1df2347553529299872961e5 Author: Pete Zaitcev Date: Thu Aug 4 18:06:36 2005 -0700 [PATCH] USB: ub documentation update The patch which went in was correct, but not quite what I had in mind. Here is a patch to update that a little bit. Original patch is at: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4749f32da939d4e4160541b2cadc22492bb507ec Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 43c34735524d5b1c9b9e5d63b49dd4c1b394bde4 Author: Dominik Brodowski Date: Thu Aug 4 18:06:21 2005 -0700 [PATCH] pci and yenta: pcibios_bus_to_resource In yenta_socket, we default to using the resource setting of the CardBus bridge. However, this is a PCI-bus-centric view of resources and thus needs to be converted to generic resources first. Therefore, add a call to pcibios_bus_to_resource() call in between. This function is a mere wrapper on x86 and friends, however on some others it already exists, is added in this patch (alpha, arm, ppc, ppc64) or still needs to be provided (parisc -- where is its pcibios_resource_to_bus() ?). Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fec59a711eef002d4ef9eb8de09dd0a26986eb77 Author: John W. Linville Date: Thu Aug 4 18:06:10 2005 -0700 [PATCH] PCI: restore BAR values after D3hot->D0 for devices that need it Some PCI devices (e.g. 3c905B, 3c556B) lose all configuration (including BARs) when transitioning from D3hot->D0. This leaves such a device in an inaccessible state. The patch below causes the BARs to be restored when enabling such a device, so that its driver will be able to access it. The patch also adds pci_restore_bars as a new global symbol, and adds a correpsonding EXPORT_SYMBOL_GPL for that. Some firmware (e.g. Thinkpad T21) leaves devices in D3hot after a (re)boot. Most drivers call pci_enable_device very early, so devices left in D3hot that lose configuration during the D3hot->D0 transition will be inaccessible to their drivers. Drivers could be modified to account for this, but it would be difficult to know which drivers need modification. This is especially true since often many devices are covered by the same driver. It likely would be necessary to replicate code across dozens of drivers. The patch below should trigger only when transitioning from D3hot->D0 (or at boot), and only for devices that have the "no soft reset" bit cleared in the PM control register. I believe it is safe to include this patch as part of the PCI infrastructure. The cleanest implementation of pci_restore_bars was to call pci_update_resource. Unfortunately, that does not currently exist for the sparc64 architecture. The patch below includes a null implemenation of pci_update_resource for sparc64. Some have expressed interest in making general use of the the pci_restore_bars function, so that has been exported to GPL licensed modules. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit c306895167c8384b88bc02945a0d226a04218fa5 Author: Andrew Morton Date: Thu Aug 4 16:49:32 2005 -0700 [PATCH] revert "timer exit cleanup" Revert this June 17 patch: it broke persistence of timers across execve(). Cc: Roland McGrath Cc: george anzinger Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8ed11b9dc07df0134248542ca8e7d40751a6052 Author: Daniel Jacobowitz Date: Thu Aug 4 13:41:09 2005 -0700 [PATCH] x86_64: fix 32-bit thread debugging The IA32 ptrace emulation currently returns the wrong registers for fs/gs; it's returning what x86_64 calls gs_base. We need regs.gsindex in order for GDB to correctly locate the TLS area. Without this patch, the 32-bit GDB testsuite bombs on a 64-bit kernel. With it, results look about like I'd expect, although there are still a handful of kernel-related failures (vsyscall related?). Signed-off-by: Daniel Jacobowitz Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c91096d85c95c6b7fe8d7065e2aa6825e0bdaca9 Author: Venkatesh Pallipadi Date: Thu Aug 4 15:36:10 2005 -0700 [PATCH] remove special HPET_EMULATE_RTC config option We had a user whose apps weren't working correctly because his "rtc" wasn't working fully. For the sake of simplicity, it seems sensible to always enable HPET RTC emulation. Remove a special config option for HPET_EMULATE_RTC and make it directly depend on HPET_TIMER and RTC. This will avoid the hangs when EMULATE_RTC is not configured and when some userlevel script depends on RTC interrupt, as in: http://bugzilla.kernel.org/show_bug.cgi?id=4904 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5c96cab8f3c4ca9b2177dceb5de5a0edb31418e Merge: 30db1ae8640d3527ca7ac8df4bcbf14ccc6ae9cd 1c5ad84516ae7ea4ec868436a910a6bd8d20215a Author: Dave Kleikamp Date: Thu Aug 4 15:56:15 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 1c5ad84516ae7ea4ec868436a910a6bd8d20215a Author: Hugh Dickins Date: Thu Aug 4 13:07:09 2005 -0700 [PATCH] fix VmSize and VmData after mremap mremap's move_vma is applying __vm_stat_account to the old vma which may have already been freed: move it to just before the do_munmap. mremapping to and fro with CONFIG_DEBUG_SLAB=y showed /proc//status VmSize and VmData wrapping just like in kernel bugzilla #4842, and fixed by this patch - worth including in 2.6.13, though not yet confirmed that it fixes that specific report from Frank van Maarseveen. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e234f35c54a30d040313e40833dcf623d14629b4 Author: John McCutchan Date: Thu Aug 4 13:07:08 2005 -0700 [PATCH] inotify delete race fix The included patch fixes a problem where a inotify client would receive a delete event before the file was actually deleted. The bug affects both dnotify & inotify. Signed-off-by: John McCutchan Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3de11748c1b312833e8a148ab7ec47669ecc99dc Author: Robert Love Date: Thu Aug 4 13:07:08 2005 -0700 [PATCH] inotify: update help text The inotify help text still refers to the character device. Update it. Fixes kernel bug #4993. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94efe72f762e2c147d8146d637d5ece5614c8d94 Author: David Howells Date: Thu Aug 4 13:07:07 2005 -0700 [PATCH] Destruction of failed keyring oopses The attached patch makes sure that a keyring that failed to instantiate properly is destroyed without oopsing [CAN-2005-2099]. The problem occurs in three stages: (1) The key allocator initialises the type-specific data to all zeroes. In the case of a keyring, this will become a link in the keyring name list when the keyring is instantiated. (2) If a user (any user) attempts to add a keyring with anything other than an empty payload, the keyring instantiation function will fail with an error and won't add the keyring to the name list. (3) The keyring's destructor then sees that the keyring has a description (name) and tries to remove the keyring from the name list, which oopses because the link pointers are both zero. This bug permits any user to take down a box trivially. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcf945d36fa0598f41ac4ad46a9dc43135460263 Author: David Howells Date: Thu Aug 4 13:07:06 2005 -0700 [PATCH] Error during attempt to join key management session can leave semaphore pinned The attached patch prevents an error during the key session joining operation from hanging future joins in the D state [CAN-2005-2098]. The problem is that the error handling path for the KEYCTL_JOIN_SESSION_KEYRING operation has one error path that doesn't release the session management semaphore. Further attempts to get the semaphore will then sleep for ever in the D state. This can happen in four situations, all involving an attempt to allocate a new session keyring: (1) ENOMEM. (2) The users key quota being reached. (3) A keyring name that is an empty string. (4) A keyring name that is too long. Any user may attempt this operation, and so any user can cause the problem to occur. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fb0caa42308923d9e4ed7b36ec077b97c107e24 Merge: 7cfa132cd06639c8ac5fe9ef776a7650f1d8c3e6 fdd0edf2aca72e374d10e7a0957a006f18bffaf4 Author: Linus Torvalds Date: Thu Aug 4 13:08:29 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 7cfa132cd06639c8ac5fe9ef776a7650f1d8c3e6 Merge: 6d22d85a852b72398a81b8e476977b28b4400f7c c80f90ba15ed56ae36d1fb51f81a88f9ba0d8c8b Author: Linus Torvalds Date: Thu Aug 4 13:02:31 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 6d22d85a852b72398a81b8e476977b28b4400f7c Author: Paul Mackerras Date: Thu Aug 4 12:53:37 2005 -0700 [PATCH] ppc64: fix for kexec boot issue The kexec boot is not successful on some power machines since all CPUs are getting removed from global interrupt queue (GIQ) before kexec boot. Some systems always expect at least one CPU in GIQ. Hence, this patch will make sure that only secondary CPUs are removed from GIQ. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48f1f5328267f52a34e61b8b0e6fc55a23c1348a Author: Alasdair G Kergon Date: Thu Aug 4 12:53:37 2005 -0700 [PATCH] dm-raid locking fix This code was never designed to handle more than one instance of do_work() running at once. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d27a4dddd96f4ee898f8d1d597d38f8f4079bbb0 Author: Jim Keniston Date: Thu Aug 4 12:53:35 2005 -0700 [PATCH] Add Documentation/kprobes.txt Acked-by: Prasanna S Panchamukhi Signed-off-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b8b3e8a8b3e62b4209eaa36697e3c9df457e196 Author: NeilBrown Date: Thu Aug 4 12:53:35 2005 -0700 [PATCH] md: make sure md bitmap updates are flushed when array is stopped. The recent change to never ignore the bitmap, revealed that the bitmap isn't begin flushed properly when an array is stopped. We call bitmap_daemon_work three times as there is a three-stage pipeline for flushing updates to the bitmap file. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3b9703e27aab3839dcdb76b00d98428b67d25b0 Author: NeilBrown Date: Thu Aug 4 12:53:34 2005 -0700 [PATCH] md: yet another attempt to get bitmap-based resync to do the right thing in all cases... Firstly, R1BIO_Degraded was being set in a number of places in the resync code, but is never used there, so get rid of those settings. Then: When doing a resync, we want to clear the bit in the bitmap iff the array will be non-degraded when the sync has completed. However the current code would clear the bitmap if the array was non-degraded when the resync *started*, which obviously isn't right (it is for 'resync' but not for 'recovery' - i.e. rebuilding a failed drive). This patch calculated 'still_degraded' and uses the to tell bitmap_start_sync whether this sync should clear the corresponding bit. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 193f1c931517592ec4188d15bf261e4bff368207 Author: NeilBrown Date: Thu Aug 4 12:53:33 2005 -0700 [PATCH] md: always honour md bitmap being read from disk The code currently will ignore the bitmap if the array seem to be in-sync. This is wrong if the array is degraded, and probably wrong anyway. If the bitmap says some chunks are not in in-sync, and the superblock says everything IS in sync, then something is clearly wrong, and it is safer to trust the bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa1595e9f3d0d731bcfc6c2680d5483b78f663dc Author: NeilBrown Date: Thu Aug 4 12:53:32 2005 -0700 [PATCH] md: make 'md' and alias for 'md-mod' Until the bitmap code was added, modprobe md would load the md module. But now the md module is called 'md-mod', so we really need an alias for backwards comparability. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efd8be2a4280f334be9309fa4ca1fb8f4e29475d Author: NeilBrown Date: Thu Aug 4 12:53:32 2005 -0700 [PATCH] md: remove a stray debugging printk. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dcef52400fa6b9eb2de589300ae0151a1c65b3b Author: Mauro Carvalho Chehab Date: Thu Aug 4 12:53:30 2005 -0700 [PATCH] v4l: oopsfix for BTTV on badly behaved PCI chipsets no_overlay bttv parameter implemented to fix OOPS on some PCI chipsets (like some VIA) with these behaviors: 1) If pci_quicks does identify the chip as having troubles to handle PCI2PCI transfers, no_overlay defaults to 1. The user may force it to 0, to reenable (not recommended). 2) For newer chipsets not blacklisted, no_overlay=1 is provided as a workaround until PCI chipset included on /drivers/pci/quirks.c Thanks to Bodo Eggert <7eggert@gmx.de> Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75eedfed3e2d05563f44d2f69efb991fad95d7f1 Author: Olof Johansson Date: Thu Aug 4 12:53:29 2005 -0700 [PATCH] ppc64: Fix UP kernel build CONFIG_KEXEC breaks UP builds because of a misspelled smp_release_cpus(). Also, the function isn't defined unless built with CONFIG_SMP but it is needed if we are to go from a UP to SMP kernel. Enable it and document it. Thanks to Steven Winiecki for reporting this and to Milton for remembering how it's supposed to work and why. Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 556e58febf90c8cb1da25669d0892bf5fd2ddac2 Author: Ravikiran G Thirumalai Date: Thu Aug 4 12:53:26 2005 -0700 [PATCH] ide: fix kmalloc_node breakage in ide driver Patch fixes oops caused by ide interfaces not on pci. pcibus_to_node causes the kernel to crash otherwise. Patch also adds a BUG_ON to check if hwif is NULL. Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Ravikiran Thirumalai Cc: Andi Kleen Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c80f90ba15ed56ae36d1fb51f81a88f9ba0d8c8b Author: Michael Gernoth Date: Thu Aug 4 20:43:40 2005 +0100 [PATCH] ARM: 2844/1: Add maintainer for Jornada 720 Patch from Michael Gernoth As discussed on the handhelds.org Jornada mailinglist, I take over maintainership of the currently unmaintained Jornada 720-port in the mainline kernel. Signed-off-by: Michael Gernoth Signed-off-by: Russell King commit fdd0edf2aca72e374d10e7a0957a006f18bffaf4 Author: James Bottomley Date: Thu Aug 4 13:28:40 2005 -0500 [SCSI] fix aic7xxx performance issues since 2.6.12-rc2 Several people noticed we dropped quite a bit on benchmark figures. OK, it was my fault but unfortunately I discovered I ran out of brown paper bags a while ago and forgot to reorder them. The issue is that a construct introduced in the conversion of the driver to use the transport class keyed off whether the block request was tagged or not. However, the aic7xxx driver doesn't properly set up the block layer TCQ (it uses the wrong API), so the driver now things all requests are untagged and we keep it to a queue depth of a single element. Oops. The fix is to use the correct TCQ API. Signed-off-by: James Bottomley commit fd6f31c31825f62eb91f491e8316129e5ce81fc6 Merge: 9d343219e33e8b49d754ea9b2e45f6c7da87f4fb 8edc81cc0b80b3ec8645711e1110a84235c7030d Author: Linus Torvalds Date: Thu Aug 4 10:36:25 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus commit 9d343219e33e8b49d754ea9b2e45f6c7da87f4fb Merge: ea48e705be4f886c16313c882a6623b442bab0eb ff2afb9df607dfcaacdaf67ea84b773c6fb08f4c Author: Linus Torvalds Date: Thu Aug 4 09:30:50 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit ea48e705be4f886c16313c882a6623b442bab0eb Merge: 6e346228c76506e07e297744a28464022c6806ad 0dca0f7bf82face7b700890318d5550fd542cabf Author: Linus Torvalds Date: Thu Aug 4 09:20:23 2005 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 6e346228c76506e07e297744a28464022c6806ad Author: Linus Torvalds Date: Thu Aug 4 08:33:38 2005 -0700 It wasn't just x86-64 that had hardcoded VM_FAULT_xxx numbers Fix up arm26, cris, frv, m68k, parisc and sh64 too.. commit 968002166cce2ef4ead8c9441a9dd5b945c9ed1e Author: Alexander Nyberg Date: Thu Aug 4 16:14:57 2005 +0200 [PATCH] x86-64: use proper VM_FAULT_xxx macros x86_64 had hardcoded the VM_ numbers so it broke down when the numbers were changed. Signed-off-by: Alexander Nyberg Signed-off-by: Linus Torvalds commit 1260f801b4e4ba7be200886b4a53d730de05ca19 Author: David Howells Date: Thu Aug 4 11:50:01 2005 +0100 [PATCH] Keys: Fix key management syscall interface bugs This fixes five bugs in the key management syscall interface: (1) add_key() returns 0 rather than EINVAL if the key type is "". Checking the key type isn't "" should be left to lookup_user_key(). (2) request_key() returns ENOKEY rather than EPERM if the key type begins with a ".". lookup_user_key() can't do this because internal key types begin with a ".". (3) Key revocation always returns 0, even if it fails. (4) Key read can return EAGAIN rather than EACCES under some circumstances. A key is permitted to by read by a process if it doesn't grant read access, but it does grant search access and it is in the process's keyrings. That search returns EAGAIN if it fails, and this needs translating to EACCES. (5) request_key() never adds the new key to the destination keyring if one is supplied. The wrong macro was being used to test for an error condition: PTR_ERR() will always return true, whether or not there's an error; this should've been IS_ERR(). Signed-Off-By: David Howells Signed-Off-By: Linus Torvalds commit c36f19e02a96488f550fdb678c92500afca3109b Author: Benjamin Herrenschmidt Date: Thu Aug 4 11:36:26 2005 +0200 [PATCH] Remove suspend() calls from shutdown path This removes the calls to device_suspend() from the shutdown path that were added sometime during 2.6.13-rc*. They aren't working properly on a number of configs (I got reports from both ppc powerbook users and x86 users) causing the system to not shutdown anymore. I think it isn't the right approach at the moment anyway. We have already a shutdown() callback for the drivers that actually care about shutdown and the suspend() code isn't yet in a good enough shape to be so much generalized. Also, the semantics of suspend and shutdown are slightly different on a number of setups and the way this was patched in provides little way for drivers to cleanly differenciate. It should have been at least a different message. For 2.6.13, I think we should revert to 2.6.12 behaviour and have a working suspend back. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit c013622d5fe0ffeb0c74b2af4c2b1aad6164f709 Author: Richard Purdie Date: Thu Aug 4 15:06:59 2005 +0100 [PATCH] ARM: 2838/1: Fix arm oprofile backtrace warning Patch from Richard Purdie Fix a typo causing a warning in the arm oprofile backtrace code. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 3873658be7b3896e88648664e480a44d12083ad8 Author: Christoph Hellwig Date: Thu Aug 4 07:05:37 2005 -0700 [SPARC]: Fix up sleep_on() removal in vfc driver. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit ff2afb9df607dfcaacdaf67ea84b773c6fb08f4c Author: Russell King Date: Thu Aug 4 14:17:33 2005 +0100 [PATCH] ARM: Fix ARM fault handler for get_user_pages() fixes. The ARM fault handler is optimised to make the fast path, err, fast. The renumbering of the VM_FAULT_* codes broke this because numbers were used instead of the definitions. Fix this. Signed-off-by: Russell King commit 8edc81cc0b80b3ec8645711e1110a84235c7030d Merge: 11e981f1e02c2a36465cbb208b21cb8b6480f399 62778ba1aa2589dc78c36a32edc6f5a6ccaf50c6 Author: Len Brown Date: Wed Aug 3 23:53:50 2005 -0400 Merge ../to-linus-stable commit 62778ba1aa2589dc78c36a32edc6f5a6ccaf50c6 Merge: 8066eff0a1a0703ad901dbe5646a47dbfc089ef2 d4ab025b73a2d10548e17765eb76f3b7351dc611 Author: Len Brown Date: Wed Aug 3 23:53:35 2005 -0400 /home/lenb/src/to-linus-stable branch 'acpi-2.6.12' commit 11e981f1e02c2a36465cbb208b21cb8b6480f399 Author: David Shaohua Li Date: Wed Aug 3 23:46:33 2005 -0400 [ACPI] S3 resume: avoid kmalloc() might_sleep oops symptom ACPI now uses kmalloc(...,GPF_ATOMIC) during suspend/resume. http://bugzilla.kernel.org/show_bug.cgi?id=3469 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit d4ab025b73a2d10548e17765eb76f3b7351dc611 Author: Len Brown Date: Wed Aug 3 23:20:58 2005 -0400 [ACPI] delete Warning: Encountered executable code at module level, [AE_NOT_CONFIGURED] http://bugzilla.kernel.org/show_bug.cgi?id=4923 Signed-off-by: Len Brown commit d95a1b4818f2fe38a3cfc9a7d5817dc9a1a69329 Merge: 194d0710e1a7fe92dcf860ddd31fded8c3103b7a 8066eff0a1a0703ad901dbe5646a47dbfc089ef2 Author: Linus Torvalds Date: Wed Aug 3 16:50:19 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus commit 8066eff0a1a0703ad901dbe5646a47dbfc089ef2 Merge: 9a351e30d72d409ec62c83f380e330e0baa584b4 79cda7d0e1c8629996242c036d6fe0466038d8ba Author: Len Brown Date: Wed Aug 3 18:15:15 2005 -0400 /home/lenb/src/to-linus branch 'acpi-2.6.12' commit 79cda7d0e1c8629996242c036d6fe0466038d8ba Author: Luming Yu Date: Wed Aug 3 18:07:59 2005 -0400 [ACPI] CONFIG_ACPI_HOTKEY is now "n" by default For 2.6.12 behaviour, this (EXPERIMENTAL) driver should not be built. Update the driver source with latest from Luming. Signed-off-by: Luming Yu Signed-off-by: Len Brown commit b34a8030eeab4d59dcdd86de38f6927b9edd441f Author: Alexey Starikovskiy Date: Wed Aug 3 17:55:21 2005 -0400 [ACPI] restore /proc/acpi/button/ (ala 2.6.12) Signed-off-by Alexey Starikovskiy Signed-off-by Len Brown commit 7b15f5e7bb180ac7bfb8926dbbd8835fecc07fad Author: Luming Yu Date: Wed Aug 3 17:38:04 2005 -0400 [ACPI] revert Embedded Controller to polling-mode by default (ala 2.6.12) Burst mode isn't ready for prime time, but can be enabled for test via "ec_burst=1" Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 194d0710e1a7fe92dcf860ddd31fded8c3103b7a Merge: a68d2ebc1581a3aec57bd032651e013fa609f530 9bbd03758945858c9303f3258b418b94c4ffd735 Author: Linus Torvalds Date: Wed Aug 3 13:09:43 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 9bbd03758945858c9303f3258b418b94c4ffd735 Author: Ian Campbell Date: Wed Aug 3 20:34:52 2005 +0100 [PATCH] ARM: 2833/2: Remove support for WDIOF_MAGICCLOSE from sa1100-wdt Patch from Ian Campbell On PXA255 there is no way to disable the watchdog. Turning off OIER[E3] as suggested in the existing comment does not work. I posted a note to the ARM mailing list a little while ago asking for opinions from people using SA1100. There was one reponse from Nico who believes that the SA1100 is the same as the PXA255 in this respect. You also asked me to involve the watchdog maintainer which I tried to do but didn't hear anything back. There are only a couple of other drivers which can't stop the watchdog and there seems to be no consistancy regarding printing an error etc. I decided to print something since that matches the case for all the other drivers when NOWAYOUT is turned on. Also, I changed the device .name to "watchdog" like most of the other watchdogs. udev uses it as the device name (by default) and spaces etc. get in the way. Superceded 2833/1 because 2.6.13-rc4 caused rejects. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit 8c741ed74d121dbc97c9fb7f9a66c768d4c547c4 Author: Deepak Saxena Date: Wed Aug 3 19:58:21 2005 +0100 [PATCH] ARM: 2835/1: Add UPF_SKIP_TEST to IXP4xx serial ports Patch from Deepak Saxena This allows the serial driver autconf to work properly on all the IXP serial ports. W/o it we basically put the serial port in an unrecoverable state and lose console. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7b1fbf292bb4c855ddae8add8c459e94684f7543 Author: Catalin Marinas Date: Wed Aug 3 19:53:25 2005 +0100 [PATCH] ARM: 2841/1: Fix VFP +/-0 case for doubles addition Patch from Catalin Marinas The IEEE 754 standard specifies that the result of (x - x), where x is a valid number, should be -0 if the rounding mode is towards minus infinity or +0 otherwise. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 858297509590ef4aa5690e30c2f5505077b4f369 Author: Michael Burian Date: Wed Aug 3 19:49:18 2005 +0100 [PATCH] ARM: 2840/1: Add mach-types to Documentation/dontdiff Patch from Michael Burian This file is maintained by RMK's machine registry, it should not be patched. Signed-off-by: Michael Burian Signed-off-by: Russell King commit 975ad141eecccb24fc8db1e0f4a08f5580f4a9a9 Author: Deepak Saxena Date: Wed Aug 3 19:49:17 2005 +0100 [PATCH] ARM: 2839/1: Remove XScale cache and TLB locking code Patch from Deepak Saxena The XScale locking code is not something that has been validated on 2.6 and needs to be replaced with a more generic API to use with other ARMs that support locking features. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f148af2593ef76ac705d1cc6abe48f455c9912cc Author: Richard Purdie Date: Wed Aug 3 19:49:17 2005 +0100 [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe Patch from Richard Purdie NWFPE used global variables which meant it wasn't safe for use with preemptive kernels. This patch removes them and communicates the information between functions in a preempt safe manner. Generation of some exceptions was broken and this has also been corrected. Tests with glibc's maths test suite show no change in the results before/after this patch. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 1fcf844861eb08ee05e05dba13b5436f2f2e29ed Author: Ben Dooks Date: Wed Aug 3 19:49:16 2005 +0100 [PATCH] ARM: 2832/1: BAST - limit clock-rate for IIC bus Patch from Ben Dooks The default clock rate does not specify a maximum, so the default of 400KHz is used. This rate is too fast for the PMU on the EB2410ITX, so we now specify platform data with a rate of around 100KHz. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a68d2ebc1581a3aec57bd032651e013fa609f530 Author: Linus Torvalds Date: Wed Aug 3 10:07:09 2005 -0700 Fix up recent get_user_pages() handling The VM_FAULT_WRITE thing is an extra bit, not a valid return value, and has to be treated as such by get_user_pages(). Signed-off-by: Linus Torvalds commit f33ea7f404e592e4563b12101b7a4d17da6558d7 Author: Nick Piggin Date: Wed Aug 3 20:24:01 2005 +1000 [PATCH] fix get_user_pages bug Checking pte_dirty instead of pte_write in __follow_page is problematic for s390, and for copy_one_pte which leaves dirty when clearing write. So revert __follow_page to check pte_write as before, and make do_wp_page pass back a special extra VM_FAULT_WRITE bit to say it has done its full job: once get_user_pages receives this value, it no longer requires pte_write in __follow_page. But most callers of handle_mm_fault, in the various architectures, have switch statements which do not expect this new case. To avoid changing them all in a hurry, make an inline wrapper function (using the old name) that masks off the new bit, and use the extended interface with double underscores. Yes, we do have a call to do_wp_page from do_swap_page, but no need to change that: in rare case it's needed, another do_wp_page will follow. Signed-off-by: Hugh Dickins [ Cleanups by Nick Piggin ] Signed-off-by: Linus Torvalds commit ecc21ebe603af31f172c43b8b261df79040790ef Author: David Shaohua Li Date: Wed Aug 3 11:00:11 2005 -0400 [ACPI] PCI interrupt link suspend/resume - revert to 2.6.12 behaviour This patch disables the PCI Interrupt Link refernece counts, which should not co-exist with the 2.6.12 irq_router.resume method or else a double acpi_pci_link_set() could result on resume. Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 5cb4cc0d8211c490537c8568001958fc76741312 Author: Haren Myneni Date: Wed Aug 3 15:08:18 2005 +1000 [PATCH] Xmon bug fix for soft-reset For soft reset during system hang, got an error "CPU did not take control" for some CPUs even though they responded to soft-reset (called SystemReset, die and called debugger - xmon). First these CPUs entered into xmon by IPI callback and then got a soft-reset exception and re-entered into xmon again. The first CPU which re-entered into xmon got the output lock and made into xmon successfully without unlocking. Hence, the next CPU(s) which re-entered into xmon try to acquire a lock (get_output_lock). Therefore, we can not view state of those CPU(s). [This is a simple, very low risk, obvious fix for an obvious bug, and should go into 2.6.13. -- paulus] Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 3d35600a9de8e2816d0e3726f64b7271af6fdda4 Author: Len Brown Date: Wed Aug 3 00:22:52 2005 -0400 [ACPI] fix 64-bit build warning in processor_idle.c Signed-off-by: Len Brown commit 0b2bfb4e7ff61f286676867c3508569bea6fbf7a Author: Ivan Kokshaysky Date: Wed Aug 3 03:09:03 2005 +0400 [PATCH] ACPI: increase PCIBIOS_MIN_IO on x86 We have increased PCIBIOS_MIN_IO to 0x4000, but still want motherboard resources to be allocated properly. So we need to state 0x1000 (according to the comment) limit explicitely. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 71db63acff69618b3d9d3114bd061938150e146b Author: Ivan Kokshaysky Date: Wed Aug 3 02:59:47 2005 +0400 [PATCH] increase PCIBIOS_MIN_IO on x86 There is a number of x86 laptops that have some non-PCI IO ports in the 0x1000-0x1fff range, and it's quite hard to control the correct order of resource allocation between PCI and other subsystems controlling these ports. Especially with modular kernel. So just increase PCIBIOS_MIN_IO to 0x4000 to prevent any new PCI resource allocations in the problematic range (this limitation must apply _only_ to the root bus resources - see Linus' change in pci_bus_alloc_resource). As PCIBIOS_MIN_IO and PCIBIOS_MIN_CARDBUS_IO are the same now on i386 and x86-64, we can remove the latter. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 688d191821de7893043f5a37970472627aaffa4e Author: Linus Torvalds Date: Tue Aug 2 14:55:40 2005 -0700 pci: make bus resource start address override minimum IO address The reason we have PCIBIOS_MIN_IO and PCIBIOS_MIN_CARDBUS_IO is because we want to protect badly documented motherboard PCI resources and thus don't want to allocate new resources in low IO/MEM space. However, if we have already discovered a PCI bridge with a specified resource base, that should override that decision. This change will allow us to move the "careful" region upwards without resulting in problems allocating resources in low mappings. This was brought on by us having allocated a bus resource at 0x1000, conflicting with a undocumented VAIO Sony PI resources. commit d7ed538a02c219119adb20f1dccbf0f8015e53f3 Author: Jens Axboe Date: Tue Aug 2 20:08:02 2005 +0200 [PATCH] cfq-iosched: fix problem with barriers and max_depth == 1 CFQ will currently stall when using write barriers and the default max_depth setting of 1, since we artificially need a depth of 2 when pre-pending the first flush. So never deny the barrier request going to the device. This is a regression since 2.6.12, it was found in SUSE testing. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 84e66ee7ec7aaa789945403b7cbde7a0b08c15ef Author: James Bottomley Date: Tue Aug 2 09:32:17 2005 -0500 [SCSI] aic7xxx: final fixes for DT handling The aic7xxx can support Data Group transfers at periods > 12.5, so eliminate that restriction. Additionally wide is a requirement for DT so ensure wide is set if users request DT. Signed-off-by: James Bottomley commit f7c80c9f77b0e8a59a19506fd3caf323408a5166 Author: Olaf Hering Date: Tue Jul 19 20:04:24 2005 +0200 [PATCH] aic byteorder fixes after recent cleanup Rebuild the aic7xxx firmware doesn't work anymore after this change which appeared int 2.6.13-rc1: [SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft Two files did not include byteorder.h, resulting in aic dying with a panic "Unknown opcode encountered in seq program" This fixes it for me. Signed-off-by: Olaf Hering Acked-by: Christoph Hellwig Signed-off-by: Linus Torvalds commit f7d1d23c301e0ce82c801f3b5800be6341752a1f Author: Paul Mackerras Date: Tue Aug 2 21:51:36 2005 +1000 [PATCH] Obvious bugfix for yenta resource allocation Recent changes (well, dating from 12 July) have broken cardbus on my powerbook: I get 3 messages saying "no resource of type xxx available, trying to continue", and if I plug in my wireless card, it complains that there are no resources allocated to the card. This all worked in 2.6.12. Looking at the code in yenta_socket.c, function yenta_allocate_res, it's obvious what is wrong: if we get to line 639 (i.e. there wasn't a usable preassigned resource), we will always flow through to line 668, which is the printk that I was seeing, even if a resource was successfully allocated. It looks to me as though there should be a return statement after the two config_writel's in each of the 3 branches of the if statements, so that the function returns after successfully setting up the resource. The patch below adds these return statements, and with this patch, cardbus works on my powerbook once again. Signed-off-by: Paul Mackerras Acked-by: Dominik Brodowski Signed-off-by: Linus Torvalds commit c2c96f46f46df072e49200a1181b3086cd2f08a6 Author: Kai Makisara Date: Tue Aug 2 12:21:51 2005 +0300 [SCSI] Fix SCSI tape oops at module removal Removing the SCSI tape module results in an oops in class_device_destroy if any devices are present. The patch at the end of this message fixes the bug by moving class_destroy() later in exit_st() so that the class still exists when devices are removed. (The bug is old but class_simple_device_remove() did nothing when the class did not exist.) The patch also fixes a "class leak" in init_st() error path. I would like to get this into 2.6.13 but it may be too late? Signed-off-by: Kai Makisara Signed-off-by: James Bottomley commit c1a15468d58e75debc5437b2e4e12d02a89bb3a2 Author: Jack Hammer Date: Tue Jul 26 10:20:33 2005 -0400 [SCSI] ServeRAID V7.12.02 I am resubmitting the 2.6 kernel patch for the Version 7.12.02 ips driver. I have eliminated a couple of inappropriate changes pointed out by Arjan. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit 9a351e30d72d409ec62c83f380e330e0baa584b4 Author: Linus Torvalds Date: Mon Aug 1 21:45:48 2005 -0700 Linux v2.6.13-rc5 Ok, let's get it right this time commit 96cd5b0856a25e2ec366702e1923070ffca53dae Author: Mike Kravetz Date: Mon Aug 1 21:11:48 2005 -0700 [PATCH] ppc64: POWER 4 fails to boot with NUMA If CONFIG_NUMA is set, some POWER 4 systems will fail to boot. This is because of special processing needed to handle invalid node IDs (0xffff) on POWER 4. My previous patch to handle memory 'holes' within nodes forgot to add this special case for POWER 4 in one place. In reality, I'm not sure that configuring the kernel for NUMA on POWER 4 makes much sense. Are there POWER 4 based systems with NUMA characteristics that are presented by the firmware? But, distros want one kernel for all systems so NUMA is on by default in their kernels. The patch handles those cases. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 842bbaaa7394820c8f1fe0629cd15478653caf86 Author: Rusty Russell Date: Mon Aug 1 21:11:47 2005 -0700 [PATCH] Module per-cpu alignment cannot always be met The module code assumes noone will ever ask for a per-cpu area more than SMP_CACHE_BYTES aligned. However, as these cases show, gcc asks sometimes asks for 32-byte alignment for the per-cpu section on a module, and if CONFIG_X86_L1_CACHE_SHIFT is 4, we hit that BUG_ON(). This is obviously an unusual combination, as there have been few reports, but better to warn than die. See: http://www.ussg.iu.edu/hypermail/linux/kernel/0409.0/0768.html And more recently: http://bugs.gentoo.org/show_bug.cgi?id=97006 Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 561fb765b97f287211a2c73a844c5edb12f44f1d Author: Anton Blanchard Date: Mon Aug 1 21:11:46 2005 -0700 [PATCH] ppc64: topology API fix Dont include asm-generic/topology.h unconditionally, we end up overriding all the ppc64 specific functions when NUMA is on. Signed-off-by: Anton Blanchard Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ade43fbbcc3c12f0ddba112351d14d6c82ae476 Author: Andrew Morton Date: Mon Aug 1 21:11:45 2005 -0700 [PATCH] shm: CONFIG_SHMEM=n build fix Fix bug found by Grant Coady 's autobuild setup. shmem_set_policy() and shmem_get_policy() are macros if !CONFIG_SHMEM, so this doesn't work. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39bbb07d7c0cf3e374831d1474e2246d9cabd931 Author: Andrew Morton Date: Mon Aug 1 21:11:44 2005 -0700 [PATCH] transmeta: CONFIG_PROC_FS=n build fix Fix bug found by Grant Coady 's autobuild setup. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba17101b41977f124948e0a7797fdcbb59e19f3e Author: Eric Dumazet Date: Mon Aug 1 21:11:43 2005 -0700 [PATCH] sys_set_mempolicy() doesnt check if mode < 0 A kernel BUG() is triggered by a call to set_mempolicy() with a negative first argument. This is because the mode is declared as an int, and the validity check doesnt check < 0 values. Alternatively, mode could be declared as unsigned int or unsigned long. Signed-off-by: Eric Dumazet Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 690dbe1ced143876d8fa56b72310738dbe079d0a Author: Hugh Dickins Date: Mon Aug 1 21:11:42 2005 -0700 [PATCH] x86_64: access of some bad address x86_64 has a large sparse gate area between VSYSCALL_START and VSYSCALL_END, not all of it presently backed by pmds. Alexander Nyberg has found that in some circumstances gdb may try to ptrace here, and hit get_user_pages BUG_ON. It seems odd that gdb should be accessing here, but it certainly shouldn't crash in this way: relax BUG_ON to -EFAULT. Fixes kernel bugzilla #4801. Signed-off-by: Hugh Dickins Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f9c9c258249fba3e2e78f70691528426a6c010 Author: Roman Zippel Date: Mon Aug 1 21:11:41 2005 -0700 [PATCH] hfs: don't reference missing page If there was a read error, the bnode might miss some pages, so skip them. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f76d28d235cf777dd2e1c1d48c16ee10c1d1587f Author: Roman Zippel Date: Mon Aug 1 21:11:40 2005 -0700 [PATCH] hfs: don't dirty unchanged inode If inode size hasn't changed, don't do anything further in truncate, which also prevents a dirty inode, what might upset some readonly devices quite badly. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0072b1389c25355ccc01048114adb9652c13fd9f Author: Adrian Bunk Date: Mon Aug 1 21:11:39 2005 -0700 [PATCH] include/linux/dcookies.h: dummy functions must be "static inline" We don't want these to be global functions. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 001abc93bf83f95737cd455b6ec875e6412f7d53 Author: Mauro Carvalho Chehab Date: Mon Aug 1 21:11:38 2005 -0700 [PATCH] v4l: bug fix to correct tea5767 autodetection This patch does correct radio chip autodetection to avoid misdetecting mt20xx microtune as tea5767 chip. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43f2f3d343f9d00a94a9242547a59d9dfb2338c4 Author: Mark Haverkamp Date: Mon Aug 1 21:11:37 2005 -0700 [PATCH] aacraid: Fix for controller load based timeouts Martin Drab found that he could get aacraid timeouts with high load on his controller / disk drive combinations. After some experimentation Mark Salyzyn has come up with a patch to reduce the default max_sectors to something that will keep the controller from being overloaded and will eliminate the timeout issues. Signed-off-by: Mark Haverkamp Cc: James Bottomley Acked-by: Mark Salyzyn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2757a71c3122c7653e3dd8077ad6ca71efb1d450 Author: Hirokazu Takata Date: Mon Aug 1 21:11:35 2005 -0700 [PATCH] m32r: Fix local-timer event handling There was a scheduling problem of the m32r SMP kernel; A process rarely stopped and gave no responding but the other process have been handled by the other CPU still lives, then if we did something in the other terminal or something like that, the stopped process came back to life and continued its operation... (ex. LMbench: lat_sig) In the m32r SMP kernel, a local-timer event is delivered by using an IPI(inter processor interrupts); LOCAL_TIMER_IPI. And a function smp_send_timer() is prepared to send the LOCAL_TIMER_IPI from the current CPU to the other CPUs. The funtion smp_send_timer() was placed and used in do_IRQ() in former times (before 2.6.10-rc3-mm1 kernel), however, it was unintentionally removed when arch/m32r/kernel/irq.c was modified to employ the generic hardirq framework (CONFIG_GENERIC_HARDIRQ) in my previous patch. [PATCH 2.6.10-rc3-mm1] m32r: Use generic hardirq framework http://www.ussg.iu.edu/hypermail/linux/kernel/0412.2/0358.html The following patch fixes the above problem. Signed-off-by: Hitoshi Yamamoto Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2013485a52fb7ece48e5688b443cc098f4dbbdf Author: Martin Schwidefsky Date: Mon Aug 1 21:11:34 2005 -0700 [PATCH] s390: ioprio & inotify system calls. Add system calls for io priorities and inotify. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d3f229fcd4409d3e182b204defc122eb7833535 Author: Heiko Carstens Date: Mon Aug 1 21:11:33 2005 -0700 [PATCH] s390: kexec fixes and improvements. Disable pseudo page fault handling before starting the new kernel and try to use diag308 to reset the machine. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4374ae10e5ef577d8fd73fdadcdb37149d8b3953 Author: Eugene Surovegin Date: Sun Jul 31 22:34:54 2005 -0700 [PATCH] ppc32: add missing 4xx EMAC sysfs nodes Add missing 4xx EMAC data sysfs nodes. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61d44c777a02245a5032a2ca77a12f915416572d Author: Matt Porter Date: Sun Jul 31 22:34:53 2005 -0700 [PATCH] ppc32: add bamboo defconfig Add Bamboo platform defconfig Signed-off-by: Wade Farnsworth Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 497799d368b2106c3266a20d75ff221eed068cad Author: Matt Porter Date: Sun Jul 31 22:34:53 2005 -0700 [PATCH] ppc32: add bamboo platform Add Bamboo platform support. This is an AMCC 440EP-based reference platform. Signed-off-by: Wade Farnsworth Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9cf73aee140baa425429902aaed2c758401343f Author: Matt Porter Date: Sun Jul 31 22:34:52 2005 -0700 [PATCH] ppc32: add 440ep support Add PPC440EP core support. PPC440EP is a PPC440-based SoC with a classic PPC FPU and another set of peripherals. Signed-off-by: Wade Farnsworth Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8be1c8e065691c332fd8e9bae70c7096a69c31d Author: Kumar Gala Date: Sun Jul 31 22:34:51 2005 -0700 [PATCH] ppc32: Mark boards that don't build as BROKEN Marked APUS and GEMINI as BROKEN since they do not build at the platform level. We have requested that the maintainers of these boards/platforms fix them by the time 2.6.15 is released or we plan on concerning them unmaintained and thus removing them. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01bdc0336f8f42b32b9be9ace7775329b25202a5 Author: Denis Vlasenko Date: Sun Jul 31 22:34:50 2005 -0700 [PATCH] silence cs89x0 cs89x0 talks a lot at boot. Seems like debug leftover. This patch downgrades printks to KERN_DEBUG. While we're at it, make these messages a bit less obscure. Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1581566183f310abbd2d384a9079d4039faca05 Author: NeilBrown Date: Sun Jul 31 22:34:50 2005 -0700 [PATCH] md: make sure raid5/raid6 resync uses correct 'max_sectors' The default resync_max_sector is set to "mddev->size << 1". If the raid-personality-module updates mddev->size, it must update resync_max_sectors too. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57ee67af35183c60e924ebb6d6b3e1d2d9c03366 Author: Benjamin Herrenschmidt Date: Sun Jul 31 22:34:49 2005 -0700 [PATCH] ppc64: Fix CONFIG_ALTIVEC not set The code that sets the altivec capability of the CPU based on firmware informations can enable altivec when the kernel has CONFIG_ALTIVEC disabled. This results in "interesting" crashes. Signed-off-by: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1caf1f0f187d99eb898bdc216de5a761740fe814 Author: Paul Jackson Date: Sun Jul 31 22:34:48 2005 -0700 [PATCH] plug MAN-PAGES maintainer in Documentation/SubmittingPatches Improve the likelihood that someone submitting a patch will notify the MAN-PAGES maintainer. This is a follow-up to comments on the July 29 lkml email thread: "Broke nice range for RLIMIT NICE" Signed-off-by: Paul Jackson Cc: "Michael Kerrisk" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faf1668c954d24285d7b213cf1ff38fe93569f01 Author: Michael Kerrisk Date: Sun Jul 31 22:34:47 2005 -0700 [PATCH] MAINTAINERS record -- MAN-PAGES Michael maintains the kernel manpages. He wants us to tell him when we change or augment the userspace API. Add his contact details to MAINTAINERS. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fef07ca8574bff104d506c07f9161fe7fbaba57 Author: Michael Krufky Date: Sun Jul 31 22:34:46 2005 -0700 [PATCH] v4l: cx88 card support and documentation finishing touches Peter Missel: - Add support for the SVideo input on the GDI Black Gold. Mauro Carvalho Chehab: - Linux/version.h removed. Replaced by linux/utsname.h Michael Krufky: - Added analog support for DViCO FusionHDTV5 Gold. CC: Peter Missel Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd3113e84e188781aa2935fbc4351d64ccdd171b Author: Mauro Carvalho Chehab Date: Sun Jul 31 22:34:43 2005 -0700 [PATCH] V4L: Miscellaneous fixes - Fixed some bttv card numbers. - BTTV and SAA7134 version numbers incremented to reflect changes. - pci_dma_supported() is called after pci_set_dma_mask() which already did check that for us. This patch removes the unneeded call to pci_dma_supported() at bttv-driver.c - Ensure a sufficient I2C bus idle time between 2 messages for saa7134-i2c.c - It is important to write at first to MO_GP3_IO for cx88-tvaudio.c - Use try_to_freeze() instead of refrigerator at msp3400.c - Recognizing the MFPE05-2 Tuner at tveeprom.c - Add new parameter to help identify radio chipsets at tuner module: show_i2c=1 will show 16 reading bytes from detected tuners. - BTTV does generate some Unimplemented IOCTL log at tuner module: 0x40046d11(dir=1,tp=0x6d,nr=17,sz=4) means that it is sending MSP3400 calls to non-msp3400 tuners. Warning eliminated. VIDIOSAUDIO is also called, so debug messages updated. It is still requiring IOCTL implementation. - Added two more tuners. - Add support for the SVideo input on the GDI Black Gold. Signed-off-by: Peter Missel Signed-off-by: Graham Bevan Signed-off-by: Torsten Seeboth Signed-off-by: Hartmut Hackmann Signed-off-by: Tobias Klauser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdf32eaa4e601b15146e21b6470de00f149ce37f Author: Eric Lammerts Date: Sun Jul 31 22:34:42 2005 -0700 [PATCH] disable addres space randomization default on transmeta CPUs We know that the randomisation slows down some workloads on Transmeta CPUs by quite large amounts. We think it's because the CPU needs to recode the same x86 instructions when they pop up at a different virtual address after a fork+exec. So disable randomization by default on those CPUs. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fef3fa24d8d1bb6d82cad195f73917fa6534dac Author: Andrew Morton Date: Sun Jul 31 22:34:40 2005 -0700 [PATCH] skge build fix Make it compile with CONFIG_PM=n Cc: "Rafael J. Wysocki" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de5b31101fdefab2a7858a17601c1a35aadf237f Author: Andrew Morton Date: Sun Jul 31 22:34:40 2005 -0700 [PATCH] i2c-mpc.c: revert duplicate patch Seems that both Greg and I submitted the same patch and it just kept on applying... Cc: Greg KH Cc: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30db1ae8640d3527ca7ac8df4bcbf14ccc6ae9cd Author: Dave Kleikamp Date: Mon Aug 1 16:54:26 2005 -0500 JFS: Check for invalid inodes in jfs_delete_inode Some error paths may iput an invalid inode with i_nlink=0. jfs should not try to actually delete such an inode. Signed-off-by: Dave Kleikamp commit 697a2d63a3844caaa2b6565ab7f3d69086af94d4 Author: Linus Torvalds Date: Mon Aug 1 12:37:54 2005 -0700 Revert ACPI interrupt resume changes If there are devices that use interrupts over a suspend event, ACPI must restore the PCI interrupt links on resume. Anything else breaks any device that hasn't been converted to the new (dubious) PM rules. Drivers that need the irq free/re-aquire sequence can be done one by one independently of this one. commit 4ceb5db9757aaeadcf8fbbf97d76bd42aa4df0d6 Author: Linus Torvalds Date: Mon Aug 1 11:14:49 2005 -0700 Fix get_user_pages() race for write access There's no real guarantee that handle_mm_fault() will always be able to break a COW situation - if an update from another thread ends up modifying the page table some way, handle_mm_fault() may end up requiring us to re-try the operation. That's normally fine, but get_user_pages() ended up re-trying it as a read, and thus a write access could in theory end up losing the dirty bit or be done on a page that had not been properly COW'ed. This makes get_user_pages() always retry write accesses as write accesses by making "follow_page()" require that a writable follow has the dirty bit set. That simplifies the code and solves the race: if the COW break fails for some reason, we'll just loop around and try again. Signed-off-by: Linus Torvalds commit 8d894c47975f7222c5537e450e71310b395488c7 Author: Antonino A. Daplas Date: Mon Aug 1 23:51:34 2005 +0800 [PATCH] tridentfb: Fix scrolling artifacts during disk IO Reported by: Jochen Hein (Bugzilla Bug 4312) When there is disk I/O happening, the framebuffer has a little snow on the screen. Once I/O has finished, no garbage remains on screen. This bug was explained by: Knut Petersen Most important is CRTC register 2f, signal quality is also improved for higher vclk values by changing set_vclk() according to the X drivers and cyblafb.c The fix is to set the performance register (0x2f) with a more stable value. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 8dad46cf38c029248d1331b6a97b2999e0751cfa Author: Antonino A. Daplas Date: Mon Aug 1 23:46:44 2005 +0800 [PATCH] tridentfb: Fix scrolling artifacts if acceleration is enabled Reported by: Jochen Hein (Bugzilla Bug 4386) booting leaves the end of long lines in the last line on screen when scrolling. When X is running, scrolling puts garbage on the screen (looks like X data) Console switch fixes the screen. Behaviour seems to be identical with noaccel and without on the video=tridentfb parameter in lilo.conf. This bug was explained by: Knut_Petersen Acceleration is broken for all BLADE 3D chips for all versions of kernel 2.6 except for 32bit modes. Most important reason is that the u32 col parameter of the graphics engine needs the color value replicated to all u8 of the u32 (8bit modes) and to both u16 of the u32. Fix color value passed to graphics engine, verified by the reporter. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 6cb54819d7b1867053e2dfd8c0ca3a8dc65a7eff Author: Ingo Molnar Date: Mon Aug 1 13:39:13 2005 +0200 [PATCH] remove sys_set_zone_reclaim() This removes sys_set_zone_reclaim() for now. While i'm sure Martin is trying to solve a real problem, we must not hard-code an incomplete and insufficient approach into a syscall, because syscalls are pretty much for eternity. I am quite strongly convinced that this syscall must not hit v2.6.13 in its current form. Firstly, the syscall lacks basic syscall design: e.g. it allows the global setting of VM policy for unprivileged users. (!) [ Imagine an Oracle installation and a SAP installation on the same NUMA box fighting over the 'optimal' setting for this flag. What will they do? Will they try to set the flag to their own preferred value every second or so? ] Secondly, it was added based on a single datapoint from Martin: http://marc.theaimsgroup.com/?l=linux-mm&m=111763597218177&w=2 where Martin characterizes the numbers the following way: ' Run-to-run variability for "make -j" is huge, so these numbers aren't terribly useful except to see that with reclaim the benchmark still finishes in a reasonable amount of time. ' in other words: the fundamental problem has likely not been solved, only a tendential move into the right direction has been observed, and a handful of numbers were picked out of a set of hugely variable results, without showing the variability data. How much variance is there run-to-run? I'd really suggest to first walk the walk and see what's needed to get stable & predictable kernel compilation numbers on that NUMA box, before adding random syscalls to tune a particular aspect of the VM ... which approach might not even matter once the whole picture has been analyzed and understood! The third, most important point is that the syscall exposes VM tuning internals in a completely unstructured way. What sense does it make to have a _GLOBAL_ per-node setting for 'should we go to another node for reclaim'? If then it might make sense to do this per-app, via numalib or so. The change is minimalistic in that it doesnt remove the syscall and the underlying infrastructure changes, only the user-visible changes. We could perhaps add a CAP_SYS_ADMIN-only sysctl for this hack, a'ka /proc/sys/vm/swappiness, but even that looks quite counterproductive when the generic approach is that we are trying to reduce the number of external factors in the VM balance picture. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 5d546f54324e04747e82ccbb4ea85f54bdcacd6d Author: Dominik Brodowski Date: Mon Aug 1 14:55:51 2005 +0200 [PATCH] pcmcia: fix multiple insertion of multifunction cards The ordering of setting and clearing device_add_pending went wrong on some occasions, causing multifunction cards only to be handled correctly on the first insertion, not on subsequent ones. Signed-off-by: Dominik Brodowski Signed-off-by: Linus Torvalds commit 2b8d4669376332a6819e21994a78ecd5502d3ebc Author: Dominik Brodowski Date: Mon Aug 1 14:16:55 2005 +0200 [PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up Avoid registering PCMCIA CF cards before other IDE stuff. This means the risk of /dev/hd* being re-ordered is lessened. The _sane_ thing to assert any ordering is to use udev, nameif and so on, of course. Signed-off-by: Dominik Brodowski Signed-off-by: Linus Torvalds commit b9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f Author: John McCutchan Date: Mon Aug 1 11:00:45 2005 -0400 [PATCH] inotify: fix race between the kernel and user space When you rm a watch, an IN_IGNORED event is sent down the event queue with the watch descriptor that you just rm'd. If you then add a watch you could get the ignored watch's wd and if you haven't read the entire event queue, user space will think that it's newly created watch was just ignored. To avoid this problem we just use idr_get_new_above instead of idr_get_new. Signed-off-by: John McCutchan Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 7544953685859875b5ac0260b6b1856066c092d6 Author: John McCutchan Date: Mon Aug 1 11:00:45 2005 -0400 [PATCH] inotify: fix file deletion by rename detection When a file is moved over an existing file that you are watching, inotify won't send you a DELETE_SELF event and it won't unref the inode until the inotify instance is closed by the application. Signed-off-by: John McCutchan Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit be2ac68f7b66e90b8d25c168fc4d033b034f5c43 Merge: e0b98c79e605f64f263ede53344f283f5e0548be e064cd7e3ac797df1e81b55ff4fed5fca5d106b5 Author: Linus Torvalds Date: Sun Jul 31 16:49:07 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit e0b98c79e605f64f263ede53344f283f5e0548be Merge: 02459eaab98a6a57717bc0cacede148fc76af881 faa725332f39329288f52b7f872ffda866ba5b09 Author: Linus Torvalds Date: Sun Jul 31 16:48:39 2005 -0700 Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 02459eaab98a6a57717bc0cacede148fc76af881 Author: James Simmons Date: Sat Jul 30 23:49:54 2005 +0100 [PATCH] Display name of fbdev device This patch displays the name of the fbdev driver in sysfs. Down the road this will replace the current proc handle we have. Signed-off-by: James Simmons Signed-off-by: Linus Torvalds commit e064cd7e3ac797df1e81b55ff4fed5fca5d106b5 Author: Ralf Baechle Date: Mon Jul 4 18:30:42 2005 +0100 [PATCH] SMP fix for 6pack driver Drivers really only work well in SMP if they actually can be selected. This is a leftover from the time when the 6pack drive only used to be a bitrotten variant of the slip driver. Signed-off-by: Ralf Baechle DL5RB Kconfig | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit af44f5bf775e0d36aa5879c94369216ff6f717a6 Author: Tony Lindgren Date: Thu Jun 30 06:40:18 2005 -0700 [PATCH] Fix OMAP specific typo in smc91x.h --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jeff, Here's a little patch fixing a typo in smc91x.h. Regards, Tony --ReaqsoxgOBHFXBhH Content-Type: text/x-chdr; charset=us-ascii Content-Disposition: inline; filename="patch-fix-typo-smc91x.h" Signed-off-by: Jeff Garzik commit 3f309db33e7868fe11f8fc3a0dd291703df3c662 Author: Stephen Hemminger Date: Mon Jun 27 15:47:25 2005 -0700 [PATCH] sk98lin: fix workaround for yukon-lite chipset (> rev 7) Yukon-Lite chipset needs workaround for revision 7 (or later). Without this patch, chip gets stuck in low power mode and never boots. Newer SysKonnect vendor code already had same patch. Related bug in skge is http://bugs.gentoo.org/87822 Chris, please add for 2.6.12.2 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 00354cfb92bd819a0d09d3ef9988e509b6675fdd Author: Jay Vosburgh Date: Thu Jul 21 12:18:02 2005 -0700 [PATCH] bonding: documentation update Contains general updates (additional configuration info, hopefully better examples, updated some out of date info, and a bonus pass through ispell to banish the "paramters.") and info specific to gratuitous ARP and xmit policy functionality already in 2.6.13-rc2. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit faa725332f39329288f52b7f872ffda866ba5b09 Author: Adrian Bunk Date: Wed Jul 27 01:06:35 2005 -0700 [PATCH] SCSI_SATA has to be a tristate SCSI=m must disallow static drivers. The problem is that all the SATA drivers depend on SCSI_SATA. With SCSI=m and SCSI_SATA=y this allows the static enabling of the SATA drivers with unwanted effects, e.g.: - SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y -> SCSI_ATA_ADMA is built statically but scsi/built-in.o is not linked into the kernel - SCSI=m, SCSI_SATA=y, SCSI_ATA_ADMA=y, SCSI_SATA_AHCI=m -> SCSI_ATA_ADMA and libata are built statically but scsi/built-in.o is not linked into the kernel, SCSI_SATA_AHCI is built modular (unresolved symbols due to missing libata) Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f2e1e47d14aae1f33e98cf8d9ea93e2fe9e2f521 Author: Stephen Hemminger Date: Fri Jul 22 16:26:11 2005 -0700 [PATCH] skge: version 0.8 Increase driver version to 0.8 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6abebb538d317ead09cc0f3c2a0752047f9ff961 Author: Stephen Hemminger Date: Fri Jul 22 16:26:10 2005 -0700 [PATCH] skge: led toggle cleanup Cleanup code that is used to toggle LED's. Since we get called from ethtool, can use that thread rather than setting up a timer. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 4cde06ed0fb58402ec1d6d117122d1058983a393 Author: Stephen Hemminger Date: Fri Jul 22 16:26:09 2005 -0700 [PATCH] skge: ignore phy interrupts during negotiation During autonegotiation set PHY interrupt mask to ignore bogus speed change interrupts. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d8a09943ebbaca9befd995d8fe10dd9885256dbf Author: Stephen Hemminger Date: Fri Jul 22 16:26:08 2005 -0700 [PATCH] skge: fifo control register access fix The code to clear fifo errors was incorrect and sending garbage to the external phy. Removed the no longer used inline's funcs. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2c66851460c9438823e39b76887376d1511fb67c Author: Stephen Hemminger Date: Fri Jul 22 16:26:07 2005 -0700 [PATCH] skge: whitespace fixes Minor whitespace cleanups. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 382317138b3ade02c9c319531ab0619e95dbc672 Author: Stephen Hemminger Date: Fri Jul 22 16:26:06 2005 -0700 [PATCH] skge: support yukon lite rev 4 The check for Yukon lite changes was restricting itself to rev A3. It turns out that these changes are also true on A4 and later. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 4ff6ac052b90ee4dfee92f8e2c5cb7ef8a4d8f13 Author: Stephen Hemminger Date: Fri Jul 22 16:26:05 2005 -0700 [PATCH] skge: phy lock deadlock Cleanup the phy_lock deadlock because of relocking in the nway_reset path. Reported by Francois Romieu. Also, don't need to do irqsave/restore for blink, just excluding bh is good enough. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0eedf4ac5b536c7922263adf1b1d991d2e2397b9 Author: Stephen Hemminger Date: Fri Jul 22 16:26:04 2005 -0700 [PATCH] skge: disable tranmitter on shutdown Here is a fix for a typo, thanks Eliot Dresselhaus. Since transmitter not active when device is down, it wasn't really noticed. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit acdd80d514a08800380c9f92b1bf4d4c9e818125 Author: Stephen Hemminger Date: Fri Jul 22 16:26:03 2005 -0700 [PATCH] skge: remove SK-9EE support The SK-9E boards use the Marvell Yukon2 chipset which is not supported by the skge driver. Thanks to Ralph Roesler for noticing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f6620cab9485d435aa93490533b8268d36dc4526 Author: Stephen Hemminger Date: Fri Jul 22 16:26:02 2005 -0700 [PATCH] skge: silence mac data parity messages Using Genesis board, I get harmless error reports. Rather than console error, turn it into a error counter. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f0098f7863f814a5adc0b9cb271605d063cad7fa Author: Denis Lunev Date: Sat Jul 30 17:47:25 2005 -0700 [NET] Fix too aggressive backoff in dst garbage collection The bug is evident when it is seen once. dst gc timer was backed off, when gc queue is not empty. But this means that timer quickly backs off, if at least one destination remains in use. Normally, the bug is invisible, because adding new dst entry to queue cancels the backoff. But it shots deadly with destination cache overflow when new destinations are not released for long time f.e. after an interface goes down. The fix is to cancel backoff when something was released. Signed-off-by: Denis Lunev Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit db44575f6fd55df6ff67ddd21f7ad5be5a741136 Author: Alexey Kuznetsov Date: Sat Jul 30 17:46:44 2005 -0700 [NET]: fix oops after tunnel module unload Tunnel modules used to obtain module refcount each time when some tunnel was created, which meaned that tunnel could be unloaded only after all the tunnels are deleted. Since killing old MOD_*_USE_COUNT macros this protection has gone. It is possible to return it back as module_get/put, but it looks more natural and practically useful to force destruction of all the child tunnels on module unload. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit 1f494c0e040b001cf844280910d04ba7ebdc2898 Author: Harald Welte Date: Sat Jul 30 17:44:07 2005 -0700 [NETFILTER] Inherit masq_index to slave connections masq_index is used for cleanup in case the interface address changes (such as a dialup ppp link with dynamic addreses). Without this patch, slave connections are not evicted in such a case, since they don't inherit masq_index. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit d1b04c081e3fb0a08ac108737e4efa9f4830c916 Author: Baruch Even Date: Sat Jul 30 17:41:59 2005 -0700 [NET]: Spelling mistakes threshoulds -> thresholds Just simple spelling mistake fixes. Signed-Off-By: Baruch Even Signed-off-by: David S. Miller commit 889371f61fd5bb914d0331268f12432590cf7e85 Author: Linus Torvalds Date: Sat Jul 30 13:41:56 2005 -0700 Revert "yenta free_irq on suspend" ACPI is wrong. Devices should not release their IRQ's on suspend and re-aquire them on resume. ACPI should just re-init the IRQ controller instead of breaking most drivers very subtly. Breakage reported by Hugh Dickins Undo: d8c4b4195c7d664baf296818bf756775149232d3 Signed-off-by: Linus Torvalds commit 035a4a4f8976bdf12aab992c630d3a6cfba90ea8 Author: Rafael J. Wysocki Date: Sat Jul 30 13:12:18 2005 -0700 [PATCH] sk98lin: basic suspend/resume support fixes An early version of the sk98lin patch was merged via Len's tree. But there were subsequent updates as a result of review from Jeff. THis fixes things up. Signed-off-by: Rafael J. Wysocki Cc: Jeff Garzik Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a1caa21d66bcb9ba9892435a0a54fc32cd9eeab Author: Natalie.Protasevich@unisys.com Date: Sat Jul 30 11:25:32 2005 -0700 [PATCH] x86_64: avoid wasting IRQs patch update The patch adds boundary check for the MAX_GSI_NUM. Same as the update for i386, the patch addresses a problem with ACPI SCI IRQ. The patch corrects the code such that SCI IRQ is skipped and duplicate entry is avoided. The VIA chipset uses 4-bit IRQ register for internal interrupt routing, and therefore cannot handle IRQ numbers assigned to its devices. The patch corrects this problem by allowing PCI IRQs below 16. Signed-off-by: Natalie Protasevich Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c70f5d6610c601ea2ae4ae4e49f66c80801e895f Author: Andrew Morton Date: Sat Jul 30 10:22:49 2005 -0700 [PATCH] revert bogus softirq changes This snuck in with an x86_64 change. Thanks to Richard Purdie for spotting it. Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d1d07e41a1de478a0da3cc14b4a8054ef09931c Merge: d7a465b4740806e4ee34061ad455595b2fa9fad5 adbedd34244e2b054557002817f979a9b004a405 Author: Linus Torvalds Date: Sat Jul 30 10:15:57 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus commit d7a465b4740806e4ee34061ad455595b2fa9fad5 Author: Antonino A. Daplas Date: Fri Jul 29 22:59:21 2005 -0700 [PATCH] vesafb: Document mtrr boot option usage Document mtrr boot option usage to Documentation/fb/vesafb.txt. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92ed0223aefa795d1873427e25599cb70b2148ee Author: Dave Peterson Date: Fri Jul 29 22:59:20 2005 -0700 [PATCH] x86_64: fix bug in csum_partial_copy_generic() I was observing reproducible crashes on the "movw %bx,(%rsi)" instruction below while a process in a recvfrom() system call was copying packet data to user space. The patch below fixes the exception table and causes the crash to no longer reproduce. Please apply. Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ce17b18e16177dd6409dabd38df5c2c9b58fc2d Author: Eugene Surovegin Date: Fri Jul 29 22:59:19 2005 -0700 [PATCH] ppc32: fix 44x early serial debug for configurations with more than 512M of RAM Fix 44x early serial debugging for big RAM configurations (more than 512M). We cannot use default OpenBIOS virtual mapping, because it interferes with pinned TLB entry. While we are at it, move early UART mapping to TLB slot 0, so it can survive longer during boot process (slot 1 is used by the first ioremap call, effectively killing UART mapping if it occupies this slot). Also, change UART TLB entry size to 4K (256M is too much for a bunch of registers :). Squash some warnings on the way. Tested on Ebony and Ocotea with 1G of RAM. Thanks to Scott Coulter for diagnosing this problem. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e310fd43256b3cf4d37f6447b8f7413ca744657a Author: Martin J. Bligh Date: Fri Jul 29 22:59:18 2005 -0700 [PATCH] Fix NUMA node sizing in nr_free_zone_pages We are iterating over all nodes in nr_free_zone_pages(). Because the fallback zonelists contain all nodes in the system, and we walk all the zonelists, we're counting memory multiple times (once for each node). This caused us to make a size estimate of 32GB for an 8GB AMD64 box, which makes all the dirty ratio calculations, etc incorrect. There's still a further bug to fix from e820 holes causing overestimation as well, but this fix is separate, and good as is, and fixes one class of problems. Problem found by Badari, and tested by Ram Pai - thanks! Signed-off-by: Martin J. Bligh Signed-off-by: Matt Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fa918b451f625870cd4275ca908b2392ee86a51 Author: Robert Love Date: Fri Jul 29 22:59:17 2005 -0700 [PATCH] ppc64: inotify syscalls inotify system call support for PPC64 [ I don't think we need sys32 compatibility versions--and if we do, I failed in life. ] Signed-off-by: Robert Love Acked-by: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 141d751e264c16db554f6681d84056ebde0e8078 Author: Robert Love Date: Fri Jul 29 22:59:16 2005 -0700 [PATCH] ppc32: inotify syscalls Add inotify system call stubs to PPC32. Signed-off-by: Robert Love Acked-by: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7ff898ad3971cd36967453d331c57d97d407007 Author: James Bottomley Date: Sat Jul 30 10:37:55 2005 -0500 [SCSI] aic7xxx: fix bug in DT handing Basically DT isn't reported or handled at all. The problem is that lines of code like this: spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ; don't do what you think they do when spi_dt is a single bit variable. Signed-off-by: James Bottomley commit e572f7cc28a0b01b96ede3f78f448ad55c5e67ad Author: Andrew Morton Date: Wed Jul 27 01:07:43 2005 -0700 [SCSI] fc4 warning fix drivers/fc4/fc.c: In function `fcp_scsi_dev_reset': drivers/fc4/fc.c:933: warning: control reaches end of non-void function Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7cd7ae531c7896f90485ce6ebb2b1370a0a7d8c8 Author: Linda Xie Date: Fri Jul 15 17:49:27 2005 -0500 [SCSI] scsi/ibmvscsi/srp.h: Fix a wrong type code used for SRP_LOGIN_REJ This patch fixes srp.h which uses 0x80 for SRP_LOGIN_REJ instead of 0xc2. Signed-off-by: Linda Xie Signed-off-by: James Bottomley commit adbedd34244e2b054557002817f979a9b004a405 Merge: d6ac1a7910d22626bc77e73db091e00b810715f4 b0825488a642cadcf39709961dde61440cb0731c Author: Len Brown Date: Sat Jul 30 01:55:32 2005 -0400 merge 2.6.13-rc4 with ACPI's to-linus tree commit d6ac1a7910d22626bc77e73db091e00b810715f4 Merge: 577a4f8102d54b504cb22eb021b89e957e8df18f 87bec66b9691522414862dd8d41e430b063735ef Author: Len Brown Date: Fri Jul 29 23:31:17 2005 -0400 /home/lenb/src/to-linus branch 'acpi-2.6.12' commit 87bec66b9691522414862dd8d41e430b063735ef Author: David Shaohua Li Date: Wed Jul 27 23:02:00 2005 -0400 [ACPI] suspend/resume ACPI PCI Interrupt Links Add reference count and disable ACPI PCI Interrupt Link when no device still uses it. Warn when drivers have not released Link at suspend time. http://bugzilla.kernel.org/show_bug.cgi?id=3469 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 68ac767686fd72f37a25bb4895fb4ab0080ba755 Author: Venkatesh Pallipadi Date: Mon Apr 25 14:38:00 2005 -0400 [ACPI] delete boot-time printk()s from processor_idle.c http://bugzilla.kernel.org/show_bug.cgi?id=4401 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 90158b83204842c0108d744326868d91cc9c4dfd Author: Rafael J. Wysocki Date: Sun Jul 24 14:22:00 2005 -0400 [ACPI] fix resume issues on Asus L5D http://bugzilla.kernel.org/show_bug.cgi?id=4416 Signed-off-by: Rafael J. Wysocki Signed-off-by: Len Brown commit 4b31e77455b868b43e665edceb111c9a330c8e0f Author: Dominik Brodowski Date: Wed May 18 13:49:00 2005 -0400 [ACPI] Always set P-state on initialization Otherwise a platform that supports ACPI based cpufreq and boots up at lowest possible speed could stay there forever. This because the governor may request max speed, but the code doesn't update if there is no change in speed, and it assumed the initial state of max speed. http://bugzilla.kernel.org/show_bug.cgi?id=4634 Signed-off-by: Dominik Brodowski Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 45bea1555f5bf0cd5871b208b4b02d188f106861 Author: Luming Yu Date: Sat Jul 23 04:08:00 2005 -0400 [ACPI] Add "ec_polling" boot option EC burst mode benefits many machines, some of them significantly. However, our current implementation fails on some machines such as Rafael's Asus L5D. This patch restores the alternative EC polling code, which can be enabled at boot time via "ec_polling" http://bugzilla.kernel.org/show_bug.cgi?id=4665 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 335f16be5d917334f56ec9ef7ecf983476ac0563 Author: David Shaohua Li Date: Wed Jun 22 18:37:00 2005 -0400 [ACPI] address boot-freeze with updated DMI blacklist for c-states http://bugzilla.kernel.org/show_bug.cgi?id=4763 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit b0825488a642cadcf39709961dde61440cb0731c Author: Matthew Garrett Date: Fri Jul 29 14:03:39 2005 -0700 [PATCH] agp: restore APBASE after setting APSIZE When leaving S3 state, the AGP bridge may not have all PCI configuration registers set in the same way as they were at boot. This should be fixed by pci_restore_state - however, the APBASE register cannot be set to conflict with the APSIZE register. If APSIZE is larger than it was before suspend, pci_restore_state will not restore APBASE correctly. The attached patch adds an extra item to the agp_bridge_data structure and uses it to store the value of APBASE. On resume, this is then written after APSIZE has been set. This patch only touches the path used for Intel chipsets without integrated graphics, and may need to be extended to work with the others. Without this patch, I get the symptoms described in bug 4921 - APBASE ends up overlapping various PCI devices, and as a result they fail to work after resume. Signed-off-by: Matthew Garrett Acked-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b87a1e506115e7df4c6bfd266267ee0088cba3b7 Author: Gerald Schaefer Date: Fri Jul 29 14:03:38 2005 -0700 [PATCH] s390: fix inline assembly in appldata Fix inline assembly that gets miscompiled by gcc 4. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ffa92340b22a59575afe60ea155195c43213120 Author: Cornelia Huck Date: Fri Jul 29 14:03:37 2005 -0700 [PATCH] s390: device recognition Close a small window where a device may be not operational again after senseid finished and the "same device" check fails due to dev=0000 by checking for dnv after stsch() by then setting the device to not operational. (No need to check for dnv in ccw_device_handle_oper() again since we don't do stsch() into the subchannel's schib in the meantime and will get a crw anyway if the device becomes not oper again). Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 350e3ade9ed0809a94c51db6ee66883a35f0d6c9 Author: Heiko Carstens Date: Fri Jul 29 14:03:36 2005 -0700 [PATCH] s390: check for interrupt before waiting The patch that introduced waiting for interrupts after resetting the reader can cause the boot to fail because the system is waiting for an interrupt that will never arrive. Add code to check if an interrupt is supposed to arrive before waiting endlessly. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5712f52e8c024c6b7b82ae5c7b5b3d0f3e6f711b Author: Martin Schwidefsky Date: Fri Jul 29 14:03:35 2005 -0700 [PATCH] s390: default configuration Update default configuration of s390. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a502a3593c7aa2aff99a61ed71e7cb828ee4da8b Author: Jeff Dike Date: Fri Jul 29 14:03:33 2005 -0700 [PATCH] uml: fix vsyscall brokenness The #if/#ifdef cleanup exposed a bug in UML's ELF header processing. With this bug fixed, UML recognizes the vsyscall info coming from the host. On FC4, there is a vsyscall page low in the address space, which UML doesn't provide. This causes an infinite page fault loop and a hang on boot. This patch works around that by making this look like a no-vsyscall system. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4c5c82024f5f292c0069cf40422b8f3bf5e684e Author: Antonino A. Daplas Date: Fri Jul 29 14:03:33 2005 -0700 [PATCH] fbdev: Replace memcpy with for-loop when preparing bitmap Do not use memcpy in fb_pad_aligned_buffer. It is suboptimal because only a few bytes are moved at a time. Replace with a for-loop. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1afc3f522ed088405fc8932110d338330db82bb Author: Natalie.Protasevich@unisys.com Date: Fri Jul 29 14:03:32 2005 -0700 [PATCH] x86: avoid wasting IRQs patch update The patch addresses a problem with ACPI SCI interrupt entry, which gets re-used, and the IRQ is assigned to another unrelated device. The patch corrects the code such that SCI IRQ is skipped and duplicate entry is avoided. Second issue came up with VIA chipset, the problem was caused by original patch assigning IRQs starting 16 and up. The VIA chipset uses 4-bit IRQ register for internal interrupt routing, and therefore cannot handle IRQ numbers assigned to its devices. The patch corrects this problem by allowing PCI IRQs below 16. Signed-off by: Natalie Protasevich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80625942094b114d85811e5ff1fbc9e06dabe0ff Author: Antonino A. Daplas Date: Fri Jul 29 14:03:31 2005 -0700 [PATCH] vesafb: Fix mtrr bugs >> vesafb: mode is 800x600x16, linelength=1600, pages=16 >> vesafb: scrolling: redraw >> vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 >> mtrr: type mismatch for fc000000,1000000 old: write-back new: write- >> combining Range is already set to write-back, vesafb attempts to add a write-combining mtrr (default for vesafb). >> mtrr: size and base must be multiples of 4 kiB This is a bug, vesafb attempts to add a size < PAGE_SIZE triggering the messages below. To eliminate the warning messages, you can add the option mtrr:2 to add a write-back mtrr for vesafb. Or just use nomtrr option. 1. Fix algorithm for finding the best power of 2 size with mtrr_add(). 2. Add option to choose the mtrr type by extending the mtrr boot option: mtrr:n where n 0 = no mtrr (equivalent to using the nomtrr option) 1 = uncachable 2 = write back 3 = write combining (default) 4 = write through Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 655a0a7799cddf9a469916c07ac22f1106abc2be Author: Bjorn Helgaas Date: Fri Jul 29 14:03:30 2005 -0700 [PATCH] serial: add MMIO support to 8250_pnp Add support for UARTs in MMIO space and clean up a little whitespace. HP legacy-free ia64 machines need this. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d483f47579461a4715db33c68ef8752e5a97a2d Author: Eric W. Biederman Date: Fri Jul 29 14:03:29 2005 -0700 [PATCH] Fix sync_tsc hang sync_tsc was using smp_call_function to ask the boot processor to report it's tsc value. smp_call_function performs an IPI_send_allbutself which is a broadcast ipi. There is a window during processor startup during which the target cpu has started and before it has initialized it's interrupt vectors so it can properly process an interrupt. Receveing an interrupt during that window will triple fault the cpu and do other nasty things. Why cli does not protect us from that is beyond me. The simple fix is to match ia64 and provide a smp_call_function_single. Which avoids the broadcast and is more efficient. This certainly fixes the problem of getting stuck on boot which was very easy to trigger on my SMP Hyperthreaded Xeon, and I think it fixes it for the right reasons. Minor changes by AK Signed-off-by: Eric W. Biederman Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94d2ac66c12397e2ca7988dbf59f24a966d275cb Author: Ravikiran G Thirumalai Date: Fri Jul 29 14:03:28 2005 -0700 [PATCH] mm: Ensure proper alignment for node_remap_start_pfn While reserving KVA for lmem_maps of node, we have to make sure that node_remap_start_pfn[] is aligned to a proper pmd boundary. (node_remap_start_pfn[] gets its value from node_end_pfn[]) Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 590f47a1d945c611530a85057e9ad7a3bbb50578 Merge: a9b2e9170bdf1dd27ca4aa9a63048065d252d116 094ce7fde493a1196b8152f9f9e73c20e24a2b05 Author: Linus Torvalds Date: Fri Jul 29 14:40:08 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit a9b2e9170bdf1dd27ca4aa9a63048065d252d116 Author: Pete Zaitcev Date: Fri Jul 29 12:18:34 2005 -0700 [PATCH] USB: hidinput_hid_event() oops fix It seems that I see a bug in hidinput_hid_event. The check for NULL can never work, becaue &hidinput->input is nonzero at all times. Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 498f78e6fcf558d0dec31f5648f43426ae16433f Author: Dan Streetman Date: Fri Jul 29 12:18:28 2005 -0700 [PATCH] USB: fix in usb_calc_bus_time This patch does the same swap, i.e. use the ISO macro if (isoc). Additionally, it fixes the return value - the usb_calc_bus_time function returns the time in nanoseconds (I didn't notice that before) while the HS_USECS and HS_USECS_ISO are microseconds. This fixes the function to return nanoseconds always, and adjusts ehci-q.c (the only high-speed caller of the function) to wrap the call in NS_TO_US(). Signed-off-by: Dan Streetman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 6b216df87cb5f3bb7d47a33f1cd955ebc7b84dfd Author: Conger, Chris A Date: Fri Jul 29 12:18:23 2005 -0700 [PATCH] USB: fix Bug in usb-skeleton.c Compare endpoint address to USB_ENDPOINT_DIR_MASK to determine endpoint direction... From: "Conger, Chris A." Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3eb0c5f4b539873ca88f8597db6a49e83ddfd7e2 Author: Ben Dooks Date: Fri Jul 29 12:18:03 2005 -0700 [PATCH] USB: add S3C24XX USB Host driver support USB (OHCI) Host driver for S3C2410/S3C2440 based systems Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit f29080976d109b6c08e42be8a1888f338785c502 Author: Mathieu Date: Fri Jul 29 12:17:29 2005 -0700 [PATCH] USB: drivers/net/usb/zd1201.c: Gigabyte GN-WLBZ201 dongle usbid Gigabyte GN-WLBZ201 wifi usb dongle works very well, using the zd1201 driver. the only missing part is that the corresponding usbid is not declared. The following patch should fix this. From: "Mathieu" Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8753e65e34a7b02f8473e7c6ce1cf7e08db4c6e3 Author: Masahito Omote Date: Fri Jul 29 12:17:25 2005 -0700 [PATCH] USB: Patch for KYOCERA AH-K3001V support This patch enables a support of KYOCERA AH-K3001V, one of the most popular cell phone in Japan. This device has vendor specific ID but works with acm driver by adding USB ID. This device already works on FreeBSD and OS X by native USB ACM driver with USB ID added. This device is probed as NO_UNION_NORMAL not to hang up when probing. Signed-off-by: Masahito Omote Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit a6db592e1624bb7ec62cf56629c9556442169ac5 Author: Michael Hund Date: Fri Jul 29 12:17:20 2005 -0700 [PATCH] USB: ldusb fixes below you will find the forgotten kmalloc check (sorry). Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 86d30741e480f40676c2173e1153368a4846da48 Author: Alan Stern Date: Fri Jul 29 12:17:16 2005 -0700 [PATCH] USB: Usbcore: Don't try to delete unregistered interfaces This patch handles a rarely-encountered failure mode in usbcore. It's legal for device_add to fail (although now it happens even more rarely than before since failure to bind a driver is no longer fatal). So when we destroy the interfaces in a configuration, we shouldn't try to delete ones which weren't successfully registered. Also, failure to register an interface shouldn't be fatal either -- I think; you may disagree about this part of the patch. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4a0d73c463765ce34b22ac3924d0661caf2a7539 Author: Adrian Bunk Date: Fri Jul 29 12:17:11 2005 -0700 [PATCH] USB: drivers/usb/net/: remove two unused multicast_filter_limit variables The only uses of both variables were recently removed. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fe0410c7f43e133e156e54e3156392e800bedc21 Author: Alan Stern Date: Fri Jul 29 12:16:58 2005 -0700 [PATCH] USB: usbfs: Don't leak uninitialized data This patch fixes an information leak in the usbfs snoop facility: uninitialized data from __get_free_page can be returned to userspace and written to the system log. It also improves the snoop output by printing the wLength value. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 279e1545a1350b9147ae884f848ffc8b7db18967 Author: Ian Abbott Date: Fri Jul 29 12:16:52 2005 -0700 [PATCH] USB: ftdi_sio: fix a couple of timeouts ftdi_sio: Fix timeouts in a couple of usb_control_msg() calls due to change of units from jiffies to milliseconds in 2.6.12. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 74ede0ff59fb18787213ed979641624a2f234821 Author: Ian Abbott Date: Fri Jul 29 12:16:41 2005 -0700 [PATCH] USB: ftdi_sio: Update RTS and DTR simultaneously ftdi_sio: Update RTS and DTR simultaneously, using a single control URB instead of separate control URBs for RTS and DTR. Reinhard Bergmann observed time differences of up to 680 ms with his application on a 2.4.22 kernel when RTS and DTR were updated using separate control URBs, which is unacceptable. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 9b1513d91e195af46b8e59626f74d3d41a7565af Author: Ian Abbott Date: Fri Jul 29 12:16:31 2005 -0700 [PATCH] USB: ftdi_sio: new microHAM and Evolution Robotics devices The attached patch adds the following new devices to the ftdi_sio driver: * microHAM USB-Y6 and USB-Y8 devices submitted by Justin Burket (KL1RL). * Evolution Robotics ER1 Control Module submitted by Shawn M. Lavelle. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit a46e812620bd7db457ce002544a1a6572c313d8a Author: Kumar Gala Date: Fri Jul 29 12:16:27 2005 -0700 [PATCH] PCI: fix up errors after dma bursting patch and CONFIG_PCI=n -- bug? In the patch from: http://www.uwsg.iu.edu/hypermail/linux/kernel/0506.3/0985.html Is the the following line suppose inside the if CONFIG_PCI=n #define pci_dma_burst_advice(pdev, strat, strategy_parameter) do { } while (0) Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 10f4338ca8534823bc6c843edbbe42fd4e73d258 Author: Ivan Kokshaysky Date: Fri Jul 29 12:16:22 2005 -0700 [PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c The setup-bus code doesn't work correctly for configurations with more than one display adapter in the same PCI domain. This stuff actually is a leftover of an early 2.4 PCI setup code and apparently it stopped working after some "bridge_ctl" changes. So the best thing we can do is just to remove it and rely on the fact that any firmware *has* to configure VGA port forwarding for the boot display device properly. But then we need to ensure that the bus->bridge_ctl will always contain valid information collected at the probe time, therefore the following change in pci_scan_bridge() is needed. Signed-off-by: Ivan Kokshaysky Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 761a3ac08c63718dacde12aaf0ec6d6760e8c2b7 Author: Jon Smirl Date: Fri Jul 29 12:16:17 2005 -0700 [PATCH] PCI: Adjust PCI rom code to handle more broken ROMs There are ROMs reporting that their size exceeds their PCI ROM resource window. This patch returns the minimum of the resource window size or the size in the ROM. An example of this breakage is the XGI Volari Z7. Signed-off-by: Jon Smirl Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit e96e2f148060330f6178b502574dcb81eb7318bf Author: Daniele Gaffuri Date: Fri Jul 29 12:15:46 2005 -0700 [PATCH] PCI: Hidden SMBus bridge on Toshiba Tecra M2 Patch against 2.6.12 to unhide SMBus on Toshiba Centrino laptops using Intel 82855PM chipset. Tested on Toshiba Tecra M2. Signed-off-by: Daniele Gaffuri Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit ea5860d22b37b47c5023949edad2ec23e75169d1 Author: Evgeniy Polyakov Date: Fri Jul 29 12:15:38 2005 -0700 [PATCH] w1: kconfig/Makefile fix. This patch was sent first time very long time ago, but magically was disapeared, it probably exists in your queue, but to be sure, I resend it. If can not be applied cleanly after your w1 queue is flushed into upstrem tree, just drop it. Thanks. Patch from Michael Farmbauer . Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 0d73adc14e239b05a9393c09c067a26a5ba86b6c Author: Jean Delvare Date: Fri Jul 29 12:15:33 2005 -0700 [PATCH] I2C: 24RF08 corruption prevention (again) The 24RF08 corruption prevention in the eeprom and max6875 drivers wasn't complete. For one thing, the additional quick write should happen as soon as possible and unconditionally, while both drivers had error paths before. For another, when a given chip is forced, the core does not emit a quick write, so a second quick write would cause the corruption rather than prevent it. I plan to move the corruption prevention in the core in the long run, so that individual drivers don't have to care anymore. But I need to merge i2c_probe and i2c_detect before I do (work in progress). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 86749e8512d2c37618dc5814ef41abbf168f291b Author: Jean Delvare Date: Fri Jul 29 12:15:29 2005 -0700 [PATCH] I2C: missing new lines in i2c-core messages Two log messages lack their trailing new line in i2c-core. I'd swear I had fixed them already, but it seems not. Bonus: improved coding style. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 0cacdf298211ec9e87354cf102f20d070e76e075 Author: Jean Delvare Date: Fri Jul 29 12:15:12 2005 -0700 [PATCH] I2C: use time_after in 3 chip drivers A few i2c drivers were not updated to use time_after() yet. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 368609c5a8bd75b77721e69726ddfd3c6a30f7d4 Author: Jean Delvare Date: Fri Jul 29 12:15:07 2005 -0700 [PATCH] I2C: Missing space in split strings A few split string in i2c (and now hwmon) drivers lack a joining space, causing them to display incorrectly. This trivial patch fixes that up. Please apply, thanks. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit d91e16943fdaf02bf3459059abca1032589c0663 Author: Ladislav Michl Date: Fri Jul 29 12:15:00 2005 -0700 [PATCH] I2C: ds1337 - fix 12/24 hour mode bug DS1339 manual, page 6, chapter Date and time operation: The DS1339 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the 12-hour or 24-hour mode-select bit. When high, the 12-hour mode is selected. Patch below makes ds1337 driver work as documented in manual. Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit cb14c3a13cb1e78acf54a9ddc9e5f3e2f023523e Author: Kumar Gala Date: Fri Jul 29 12:14:40 2005 -0700 [PATCH] I2C-MPC: Restore code removed I2C-MPC: Restore code removed A previous patch to remove support for the OCP device model was way to generious and moved some of the platform device model code, oops. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fc185d95ecf3ca62fa9afb5214a69b39060ff537 Author: Greg KH Date: Fri Jul 29 12:14:34 2005 -0700 [PATCH] Add the rules about the -stable kernel releases to the Documentation directory This was the last agreed upon set of rules, it's probably time we actually add them to the kernel tree to make them "official". Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3348e05a4f25489908d9f7ed4e80ac291ead18f4 Author: Adrian Bunk Date: Fri Jul 29 12:14:28 2005 -0700 [PATCH] DEBUG_FS must depend on SYSFS CONFIG_DEBUG_FS=y and CONFIG_SYSFS=n results in the following compile error: <-- snip --> ... LD vmlinux fs/built-in.o: In function `debugfs_init': inode.c:(.init.text+0x31be): undefined reference to `kernel_subsys' make: *** [vmlinux] Error 1 <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 9ca1eb3282b6050c295adb296761f8d26baf4ca5 Author: Maneesh Soni Date: Fri Jul 29 12:14:19 2005 -0700 [PATCH] sysfs: fix sysfs_setattr o sysfs_dirent's s_mode field should also be updated in sysfs_setattr(), else there could be inconsistency in the two fields. s_mode is used while ->readdir so as not to bring in the inode to cache. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit bc062b1b5c6bef4e3a29c7fda57967251d12beb0 Author: Maneesh Soni Date: Fri Jul 29 12:13:35 2005 -0700 [PATCH] sysfs: fix sysfs_chmod_file o sysfs_chmod_file() must update the new iattr field in sysfs_dirent else the mode change will not be persistent in case of inode evacuation from cache. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 30d07a22a19329c89628a2057b0120245c482c9e Author: Daniel Walker Date: Fri Jul 29 12:14:07 2005 -0700 [PATCH] stable_api_nonsense.txt fixes Signed-off-by: Daniel Walker Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8bf2755664bfe03a414e7ec02d9f16a3d5beb60d Author: Eric W. Biederman Date: Fri Jul 29 13:25:28 2005 -0600 [PATCH] x86_64 machine_kexec: Use standard pagetable helpers Use the standard hardware page table manipulation macros. This is possible now that linux works with all 4 levels of the page tables. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 0b6b2f08c24a65535cb18893ca27516389c5fc0f Author: Venkatesh Pallipadi Date: Fri Jul 29 16:00:13 2005 -0400 [ACPI] Fix memset arguments in acpi processor_idle.c http://bugzilla.kernel.org/show_bug.cgi?id=4954 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 094ce7fde493a1196b8152f9f9e73c20e24a2b05 Author: Dave Jones Date: Fri Jul 29 12:55:40 2005 -0700 arch/i386/kernel/cpu/cpufreq/powernow-k8.c: In function `powernow_k8_cpu_init_acpi': arch/i386/kernel/cpu/cpufreq/powernow-k8.c:740: warning: unused variable `vid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:739: warning: unused variable `fid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:743: warning: unused variable `vid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:742: warning: unused variable `fid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:746: `fid' undeclared (first use in this function) arch/i386/kernel/cpu/cpufreq/powernow-k8.c:746: `vid' undeclared (first use in this function) Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 4a7164023959040e687e51663dee67cff4d2b770 Author: Venkatesh Pallipadi Date: Fri Jul 29 15:51:36 2005 -0400 [ACPI] Fix the regression with c1_default_handler on some systems where C-states come from FADT. Thanks to Kevin Radloff for identifying the issue and isolating it to exact line of code that is causing the issue. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5 Author: Eric W. Biederman Date: Fri Jul 29 13:02:09 2005 -0600 [PATCH] x86_64 machine_kexec: Cleanup inline assembly. In an uncensored copy of code from i386 to x86_64 I wound up with inline assembly with the wrong constraints. Use input constraints instead of output constraints. So I know the assembler will do the right thing specify the size of the operand lidtq and lgdtq instead of just lidt and lgdt. Make load_segments use an input constraint, and delete the macro fun. Without having to reload %cs like I do on i386 this code is noticeably simpler. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit e7b47ccaf655cbaf336745a9b65cf7b22a536fca Author: Eric W. Biederman Date: Fri Jul 29 13:01:18 2005 -0600 [PATCH] i386 machine_kexec: Cleanup inline assembly For some reason I was telling my inline assembly that the input argument was an output argument. Playing in the trampoline code I have seen a couple of instances where lgdt get the wrong size (because the trampolines run in 16bit mode) so use lgdtl and lidtl to be explicit. Additionally gcc-3.3 and gcc-3.4 want's an lvalue for a memory argument and it doesn't think an array of characters is an lvalue so use a packed structure instead. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 1108bae41e2ac596f46bc4cd8876b93063203d2b Author: Eric W. Biederman Date: Fri Jul 29 12:50:57 2005 -0600 [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec If device_suspend(PMSG_FREEZE) is not ready to be called in kernel_restart it is definitely not ready to be called in the even more fickle kernel_kexec. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 2bcad935a3bb149833bf249e6b159f22a90d6218 Author: Dave Jones Date: Fri Jul 29 09:56:41 2005 -0700 Fix up powernow-k8 compile. (Missing definitions). From: Mark Langsdorf Signed-off-by: Dave Jones commit d6d2a2ab05da6e44bd127fe375078bb7c36a0ad0 Author: Linus Torvalds Date: Fri Jul 29 11:01:22 2005 -0400 x86: fix new find_first_bit() Some edge problems with the original C rewrite. Thanks go to Cal Peake, who pinpointed the breakage to the rewrite, and tested this fixed version. Signed-off-by: Linus Torvalds commit 33ac02aa4cef417871e128ab4a6565e751e5f3b2 Merge: e0d7ff168a71299919f01500b3d507aae0c67513 2bcad935a3bb149833bf249e6b159f22a90d6218 Author: Linus Torvalds Date: Fri Jul 29 10:16:25 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit e0d7ff168a71299919f01500b3d507aae0c67513 Merge: ca49a601c2b4b74e5cf57fef62122204d1982372 33fdfa97f2b3aab698ef849ec50dcc5102017f0a Author: Linus Torvalds Date: Fri Jul 29 09:48:34 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input commit ca49a601c2b4b74e5cf57fef62122204d1982372 Merge: 5a90fa71f6d45054c78b2bd6dbc4feba1638e1d2 7ac5ae4b122f9415948c642b945a26938aa8f347 Author: Linus Torvalds Date: Fri Jul 29 09:47:08 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit 5a90fa71f6d45054c78b2bd6dbc4feba1638e1d2 Merge: dddf8f9e4b1af852bcd735d5f737c0d0e2ce6e76 7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793 Author: Linus Torvalds Date: Fri Jul 29 09:04:47 2005 -0700 Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 7ac5ae4b122f9415948c642b945a26938aa8f347 Author: Russell King Date: Fri Jul 29 16:36:48 2005 +0100 [ARM SMP] Ensure secondary CPUs see their pen release Since the secondary CPUs will not be operating in symetric mode while they are held in the pen, we need to ensure that the write to pen_release is visible to them, by flushing the cache. Signed-off-by: Russell King commit dddf8f9e4b1af852bcd735d5f737c0d0e2ce6e76 Merge: 911656f8a630e36b22c7e2bba3317dec9174209c 6192b54b845ed05cb838f86ca588cc625c703a09 Author: Linus Torvalds Date: Thu Jul 28 22:12:57 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 911656f8a630e36b22c7e2bba3317dec9174209c Author: Stephen Smalley Date: Thu Jul 28 21:16:21 2005 -0700 [PATCH] selinux: Fix address length checks in connect hook This patch fixes the address length checks in the selinux_socket_connect hook to be no more restrictive than the underlying ipv4 and ipv6 code; otherwise, this hook can reject valid connect calls. This patch is in response to a bug report where an application was calling connect on an INET6 socket with an address that didn't include the optional scope id and failing due to these checks. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0b9d796002d9d39575cf1beabfb625f68b507fa Author: Jon Smirl Date: Thu Jul 28 21:16:19 2005 -0700 [PATCH] fbdev: colormap fixes fix Fix a buffer overflow vunerabilty in previous cmap patch Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1474e2d9dfb782e6c6517a180b5a8913c69dfad Author: Dave Hansen Date: Thu Jul 28 21:16:18 2005 -0700 [PATCH] re-disable TSC on NUMAQ Somewhere recently, the TSC got re-enabled for timekeeping on NUMAQ machines. However, the hardware makes these get unsynchronized quite badly. So badly, in fact, that the code to fix up the skew can just hang on boot. This patch re-disables them. It's nicely confined to the numaq.c file. It would be great if this could make it into 2.6.13, I think it counts as a bugfix. Tested on a 16-proc 4-node NUMAQ. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78fa74a23b16bdb0d944272b696915c4e0bb3ee1 Author: George Anzinger Date: Thu Jul 28 21:16:16 2005 -0700 [PATCH] posix timers: fix normalization problem (We found this (after a customer complained) and it is in the kernel.org kernel. Seems that for CLOCK_MONOTONIC absolute timers and clock_nanosleep calls both the request time and wall_to_monotonic are subtracted prior to the normalize resulting in an overflow in the existing normalize test. This causes the result to be shifted ~4 seconds ahead instead of ~2 seconds back in time.) The normalize code in posix-timers.c fails when the tv_nsec member is ~1.2 seconds negative. This can happen on absolute timers (and clock_nanosleeps) requested on CLOCK_MONOTONIC (both the request time and wall_to_monotonic are subtracted resulting in the possibility of a number close to -2 seconds.) This fix uses the set_normalized_timespec() (which does not have an overflow problem) to fix the problem and as a side effect makes the code cleaner. Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 28 21:16:15 2005 -0700 [PATCH] uml: implement hostfs syncing Actually implement the hostfs "sync" method. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30f417c65e151dc96998a8ef721149a43998bc65 Author: Christophe Lucas Date: Thu Jul 28 21:16:12 2005 -0700 [PATCH] uml: Clean up prink calls printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 201134ca168c27c1f895ecfd74f9ebf1129483d0 Author: Bodo Stroesser Date: Thu Jul 28 21:16:11 2005 -0700 [PATCH] uml: Fix typo Fix a typo in wait_stub_done. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e1f49da6881bbf938e502d99335ad5488eb93b4 Author: Jeff Dike Date: Thu Jul 28 21:16:09 2005 -0700 [PATCH] uml: Fix load average >=1 update_process_times was missing its irq_enter/irq_exit wrapper. This caused ksoftirqd to be scheduled on every clock tick. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9b7cc84afc7f4ebcef27691279d557e13128818 Author: Jeff Dike Date: Thu Jul 28 21:16:08 2005 -0700 [PATCH] uml: Fix redundant assignment By this point, .is_user has already been set, so this assignment is useless. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9057e9deee648cb2824d83b9eb7058edb5442a21 Author: Bodo Stroesser Date: Thu Jul 28 21:16:06 2005 -0700 [PATCH] uml: Fix skas0 stub return It's wrong to pop a fixed number of words from stack before calling sigreturn, as the number depends on what code is generated by the compiler for the start of stub_segv_handler(). What we need is esp containing the address of sigcontext. So we explicitly load that pointer into esp. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f313b12335abf010802751c45249e7a0007a232 Author: Jeff Dike Date: Thu Jul 28 21:16:05 2005 -0700 [PATCH] uml: vm86 compile fix We added an include of asm/vm86.h in include/asm-i386/ptrace.h. Since UML includes the underlying arch's ptrace.h, it needs an asm/vm86.h in order to build. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8afe07ce0003d4c63b7d76b6f28264503cb80d71 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 28 21:16:03 2005 -0700 [PATCH] uml: avoid unnecessary pcap rebuild Just a Kbuild subtlety, not listing a target file inside targets causes it to be rebuilt each time, and as a consequence everything depending on it is rebuilt. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b85e9680a33ae2df04bd493f220a76dcf183ce80 Author: Jeff Dike Date: Thu Jul 28 21:16:01 2005 -0700 [PATCH] uml: fix TT mode by reverting "use fork instead of clone" With Paolo 'Blaisorblade' Giarrusso Revert the following patch, because of miscompilation problems in different environments leading to UML not working *at all* in TT mode; it was merged lately in 2.6 development cycle, a little after being written, and has caused problems to lots of people; I know it's a bit too long, but it shouldn't have been merged in first place, so I still apply for inclusion in the -stable tree. Anyone using this feature currently is either using some older kernel (some reports even used 2.6.12-rc4-mm2) or using this patch, as included in my -bs patchset. For now there's not yet a fix for this patch, so for now the best thing is to drop it (which was widely reported to give a working kernel, and as such was even merged in -stable tree). "Convert the boot-time host ptrace testing from clone to fork. They were essentially doing fork anyway. This cleans up the code a bit, and makes valgrind a bit happier about grinding it." URL: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=98fdffccea6cc3fe9dba32c0fcc310bcb5d71529 Signed-off-by: Jeff Dike Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ca3310e78912a527d7d2c62c01da7cbf7346b8d Author: Alasdair G Kergon Date: Thu Jul 28 21:16:00 2005 -0700 [PATCH] device-mapper: fix md->lock deadlocks in core This patch is an attempt to fix deadlocks discovered in the core dm. The problems boil down to md->lock having to be held in too many places, so I've split it into two: md->suspend_lock and md->io_lock. suspend_lock is now held throughout dm_suspended() as well as dm_resume() and dm_swap_table() so that these functions cannot run concurrently: there's no requirement for that and it added complexity. DMF_FS_LOCKED becomes redundant: DMF_SUSPENDED provides adequate protection. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e90188be4a56f37fbb4ffb5b58745683526dcb9 Author: Alasdair G Kergon Date: Thu Jul 28 21:15:59 2005 -0700 [PATCH] device-mapper: fix deadlocks in core Avoid another bdget_disk which can deadlock. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf222b3769c3759488579441ab724ed33a2da5f4 Author: Alasdair G Kergon Date: Thu Jul 28 21:15:57 2005 -0700 [PATCH] device-mapper: fix deadlocks in core (prep) Some code tidy-ups in preparation for the next patches. Change dm_table_pre/postsuspend_targets to accept NULL. Use dm_suspended() throughout. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c56ac3f3b12936b03d2626c7572fed5977af515 Author: Ravikiran G Thirumalai Date: Thu Jul 28 21:15:55 2005 -0700 [PATCH] x86_64: fix cpu_to_node setup for sparse apic_ids While booting with SMT disabled in bios, when using acpi srat to setup cpu_to_node[], sparse apic_ids create problems. Without this patch, intel x86_64 boxes with hyperthreading disabled in the bios (and which rely on srat for numa setup) endup having incorrect values in cpu_to_node[] arrays, causing sched domains to be built incorrectly etc. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a7b90137d9f05390cf953d756e1edda2ca88053 Author: Andi Kleen Date: Thu Jul 28 21:15:54 2005 -0700 [PATCH] x86_64: Remove unused variable in k8-bus.c arch/x86_64/pci/k8-bus.c: In function `fill_mp_bus_to_cpumask': arch/x86_64/pci/k8-bus.c:32: warning: unused variable `printed' Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef6e525393dbbab7e1dc42594d35a1dfd688d1d7 Author: Nishanth Aravamudan Date: Thu Jul 28 21:15:53 2005 -0700 [PATCH] x86_64: Use msleep in smpboot.c Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d224d32c28c165f7100a670d61d64dd15d49a1e Author: Jesse Millan Date: Thu Jul 28 21:15:51 2005 -0700 [PATCH] x86_64: Fix gcc 4 warning in sched_find_first_bit This patch eliminates the GCC4 warning on the x86_64 platform: kernel/sched.c:1824: warning: control may reach end of non-void function 'sched_find_first_bit' being inlined. The change follows the lead of others, i.e. it is guaranteed that at least one of b[0], b[1], or b[2] will have a bit set and evaluate to true. That being said, GCC4.0.0 notices that the code flow does not return anything if b[0], b[1] and b[2] are not true. Since we know better, if it's not b[0] or b[1], it has to be b[2]. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07291d431ce6c6660c35dd4e5e980a406dc3629a Author: Andi Kleen Date: Thu Jul 28 21:15:50 2005 -0700 [PATCH] x86_64: Fix SRAT handling on non dual core systems Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed6b676ca8b50e0b538e61c283d52fd04f007abf Author: Andi Kleen Date: Thu Jul 28 21:15:49 2005 -0700 [PATCH] x86_64: Switch to the interrupt stack when running a softirq in local_bh_enable() This avoids some potential stack overflows with very deep softirq callchains. i386 does this too. TOADD CFI annotation Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3829ee6b1be03d5aa3005fe7d19f30088b539836 Author: Andi Kleen Date: Thu Jul 28 21:15:48 2005 -0700 [PATCH] x86_64: Small assembly improvements Save a byte here and there. Ultimatively useless, but these things always catch my eyes when reading the code so just fix them for now. Also I got at least one patch fixing of them already, which gives a good excuse. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ba80e7595f3e308e5e7135445b513779fc0ba3b Author: Andi Kleen Date: Thu Jul 28 21:15:47 2005 -0700 [PATCH] x86_64: Remove unnecessary include in fault.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2cac78935ff1705e1eb53be28da704d3482b4f5 Author: Andi Kleen Date: Thu Jul 28 21:15:46 2005 -0700 [PATCH] x86_64: When running cpuid4 need to run on the correct CPU Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6a68a16dc15c65fe76acb7502a806ae415cd3e4 Author: Andi Kleen Date: Thu Jul 28 21:15:45 2005 -0700 [PATCH] x86_64: Turn BUG data into valid instruction This avoids confusing the disassembler. Costs 2 bytes per BUG. Thanks to Suresh Siddha and Jan Beulich for suggesting suitable instructions. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2275cfa8bcb833cdac7dcc616d11306ca35eec58 Author: Andreas Gruenbacher Date: Thu Jul 28 21:15:44 2005 -0700 [PATCH] x86_64: Icecream has no way of detecting assembler-level includes Icecream preprocesses c sources locally, and sends the result off to a remote host for compiling. It does not recognize includes at assembler level. The fix is to put the assemberincludes an a separate .s file, which will always be assembled locally. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8d311939f9d2b2a5e935df8dceb98b7cbe08d43 Author: Andi Kleen Date: Thu Jul 28 21:15:42 2005 -0700 [PATCH] x86_64: Support more than 8 cores on AMD systems Use physical mode instead of logical mode to address more CPUs. This is also used in the CPU hotplug case to avoid a race. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a47e65fa58d413a31f27ee88f6cb98583b6157 Author: Andi Kleen Date: Thu Jul 28 21:15:41 2005 -0700 [PATCH] x86_64: Remove the broadcast options that were added for cpuhotplug Will be obsolete with physflat. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f68c1388ada34998c2902c289c6a6b625a73c4e Author: Andi Kleen Date: Thu Jul 28 21:15:41 2005 -0700 [PATCH] x86_64: Remove IA32_* build tools in Makefile Not used anymore since quite some time. Just uses -m32 instead. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91c6d400940e97f2809c04fcf383517f7650dbd4 Author: Andi Kleen Date: Thu Jul 28 21:15:39 2005 -0700 [PATCH] x86_64: Create per CPU machine check sysfs directories This patch will create machinecheck sysdev directories per CPU. All of the cpus still share the same ctl banks. When compiled with CONFIG_HOTPLUG_CPU, it will also bring up/down sysdev directories as cpus go up/down. I have tested the patch along with CONFIG_HOTPLUG_CPU option on in 2.6.13-rc1 kernel. Minor changes by AK: remove useless unload function Signed-off-by: Jacob Shin Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69cb62eb6dceb0da701e04395d3b412a0648c118 Author: Andi Kleen Date: Thu Jul 28 21:15:39 2005 -0700 [PATCH] x86_64: Print a boot message for hotplug memory zones From: Keith Manning Print a boot message for hotplug memory zones Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b684664fd495fd640353c0f786751763db77dcfb Author: Keith Mannthey Date: Thu Jul 28 21:15:38 2005 -0700 [PATCH] x86_64: Fix overflow in NUMA hash function setup Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17158d17aa726142255050b407ad701a6f191aba Author: Andi Kleen Date: Thu Jul 28 21:15:37 2005 -0700 [PATCH] x86_64: Fix incorrectly defined MSR_K8_SYSCFG Harmless because the kernel didn't use it. Noticed by Travis Betak Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca4e6b740206fc943cc1c90fd434d4d389da8f2b Author: Andi Kleen Date: Thu Jul 28 21:15:36 2005 -0700 [PATCH] x86_64: Fix some typos in system.h comments Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6391ad0aa487e7b13588b1439d2462a320b07d0d Author: Andi Kleen Date: Thu Jul 28 21:15:35 2005 -0700 [PATCH] x86_64: Remove obsolete eat_key prototype Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d970a5218088a856d80acd9da6c6742f55cb0a0d Author: Andi Kleen Date: Thu Jul 28 21:15:35 2005 -0700 [PATCH] x86_64: Fix some comments in tlbflush.h Were either outdated or misleading. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef4d7cbea773a77b36e732779cab4018ba2c037b Author: Andi Kleen Date: Thu Jul 28 21:15:34 2005 -0700 [PATCH] x86_64: Some updates for boot-options.txt Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a54649b801e5fe69755dc55e6589f7a65af25d79 Author: Andi Kleen Date: Thu Jul 28 21:15:32 2005 -0700 [PATCH] x86_64: Improve CONFIG_GART_IOMMU description and make it default y Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c853cc7e7940a2d6ad66cfe666192516fc06b0e3 Author: Andi Kleen Date: Thu Jul 28 21:15:31 2005 -0700 [PATCH] x86_64: Remove unused variable in delay.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a940199f206dcf51c65fae27e2ce412f2c5a2b22 Author: Andi Kleen Date: Thu Jul 28 21:15:30 2005 -0700 [PATCH] x86_64: Some cleanup in setup64.c Minor cleanup. Move things into their include files, remove obsolete includes, fix indentation, remove obsolete special cases etc. I also added the per cpu section to asm-generic/sections.h and fixed init/main.c to use it. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 Author: Andi Kleen Date: Thu Jul 28 21:15:29 2005 -0700 [PATCH] x86_64: Clarify Booting processor ... message No need to print kernel addresses there and clarify what the APIC-ID is. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3019e8ebe6281843488250ee3a539106806da93a Author: Andi Kleen Date: Thu Jul 28 21:15:28 2005 -0700 [PATCH] x86_64: Minor clean up to CPU setup - use smp_processor_id instead of custom hack Does not change any semantics because numa_add_cpu checks for CPU 0 anyways. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b1b2d0239da82c0bed8adaa1d070c6551d4afd Author: Andi Kleen Date: Thu Jul 28 21:15:27 2005 -0700 [PATCH] x86_64: Move cpu_present/possible_map parsing earlier Various code needs this information now before the actual SMP bootup. Instead of computing it on the fly while booting the other CPUs set it up now while initial MPtable/MADT parsing. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b943fbfaf0dbdd3cd9ff2dda100f0b8c47a7d8c Author: Andi Kleen Date: Thu Jul 28 21:15:26 2005 -0700 [PATCH] x86_64: i386/x86_64: remove prototypes for not existing functions in smp.h Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f0629397cb435e144ff47c48f3bc39e879f196 Author: Andi Kleen Date: Thu Jul 28 21:15:25 2005 -0700 [PATCH] x86_64: Use for_each_cpu_mask for clustered IPI flush Makes it slightly more efficient. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acc7b6f01c3d387faa34233a25949eaaf18e0753 Author: Andi Kleen Date: Thu Jul 28 21:15:23 2005 -0700 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5df3574ec0eac0eb8d758e8e9b1ad95d909a9e1f Author: Andi Kleen Date: Thu Jul 28 21:15:22 2005 -0700 [PATCH] x86_64: Always ack IPIs even on errors Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a16a3007d5b5896ff62d149bb4dca1a29fd78c4 Author: Alexander Nyberg Date: Thu Jul 28 21:15:20 2005 -0700 [PATCH] x86_64: cpu hotplug changes kills nmi watchdog When the x86_64 cpu hotplug changes went in it added a check in default_do_nmi() which kills NMI delivery on any CPU but the BSP. The NMI watchdog is brought up quite some time before the online bit is set in num_online_cpus so this won't work very well. The nmi watchdogs on cpus that are not BSP will never be reprogrammed and no NMIs. Why was this check added? How does an offlined cpu receive an NMI? Signed-off-by: Alexander Nyberg Cc: Andi Kleen Cc: Andrew Morton Cc: Zwane Mwaikambo Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63953523341bcafe5928bf6e99bffd7db94b471e Author: Linus Torvalds Date: Thu Jul 28 15:44:44 2005 -0700 Linux 2.6.13-rc4 commit bafd2df5d0049bccc74947fece37963e3f68fadc Author: Joachim Nilsson Date: Fri Jul 29 00:18:03 2005 +0200 [PATCH] fix gconfig crash I ran glade-2 on the glade file, fixed two missing stock icons and cleaned up the C code that inserts the single/split/full modes. The rest of the patch is minor cleanups only. I refrained from using all the included xpm icons in images.c (like qconf.cc does) in favour of using the stock Gtk+ icons instead. Oh, yes there was a "back" bug in split mode that I also removed, oh well... It has been tested with success by several people, including Jesper Juhl, Randy Dunlap and myself. Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds commit 0dca0f7bf82face7b700890318d5550fd542cabf Author: Hal Rosenstock Date: Thu Jul 28 13:17:26 2005 -0700 [PATCH] [IPoIB] Handle sending of unicast RARP responses RARP replies are another valid case where IPoIB may need to send a unicast packet with no neighbour structure. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 4e38d36d88ead4e56f3155573976da84d5df18b3 Author: Roland Dreier Date: Thu Jul 28 13:16:30 2005 -0700 [PATCH] [IB/cm]: Correct CM port redirect reject codes Reject code 24 is port and CM redirection, not just port redirection. Port redirection alone is code 25. Therefore we should rename code 24 to IB_CM_REJ_PORT_CM_REDIRECT and use IB_CM_REJ_PORT_REDIRECT for code 25. Signed-off-by: Roland Dreier commit 7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793 Author: Greg Felix Date: Thu Jul 28 15:54:15 2005 -0400 libata: Check PCI sub-class code before disabling AHCI This patch adds functionality to check the PCI sub-class code of an AHCI capable device before disabling AHCI. It fixes a bug where an ICH7 sata controller is being setup by the BIOS as sub-class 1 (ide) and the AHCI control registers weren't being initialized, thus causing an IO error in piix_disable_ahci(). Signed-off-by: Gregory Felix commit e7ec02938dbe8ca35b750f29eaa4b12de0b52754 Author: Russell King Date: Thu Jul 28 20:36:26 2005 +0100 [ARM SMP] Fix another ARMv6 bitop problem We sometimes forgot to check whether the exclusive store succeeded. Ensure that we always check. Also ensure that we always use the out of line versions, since the inline versions are not SMP safe. Signed-off-by: Russell King commit 505d7b193181be029f4f9aea59e6bdbfdd1e9e76 Author: Russell King Date: Thu Jul 28 20:32:47 2005 +0100 [ARM SMP] Ensure secondary CPUs have a clean TLB Since ARMv6 CPUs will not flush the TLB on context switches, it is possible that we may end up with some global TLB entries remaining present, eventually upsetting userspace. Explicitly flush the entire TLB on secondary CPUs as they startup, after we have switched to the init_mm page tables. Signed-off-by: Russell King commit 6192b54b845ed05cb838f86ca588cc625c703a09 Author: David S. Miller Date: Thu Jul 28 12:12:58 2005 -0700 [NET]: Fix busy waiting in dev_close(). If the current task has signal_pending(), the loop we have to wait for the __LINK_STATE_RX_SCHED bit to clear becomes a pure busy-loop. Fixed by using msleep() instead of the hand-crafted version. Noticed by Andrew Morton. Signed-off-by: David S. Miller commit 2ac6608c41f8c45371ea9dddae7f99bc2c15d5cf Author: Linus Torvalds Date: Thu Jul 28 10:34:47 2005 -0700 Revert broken "statement with no effect" warning fix It may shut up gcc, but it also incorrectly changes the semantics of the smp_call_function() helpers. You can fix the warning other ways if you are interested (create another inline function that takes no arguments and returns zero), but preferably gcc just shouldn't complain about unused return values from statement expressions in the first place. commit 7153d9612fe5cefc29f9f17d7a6b9f0dcd07b20e Author: Dave Jones Date: Thu Jul 28 09:45:10 2005 -0700 powernow-k8.c: In function `query_current_values_with_pending_wait': powernow-k8.c:110: warning: `hi' may be used uninitialized in this function Signed-off-by: Brian Gerst Signed-off-by: Dave Jones Signed-off-by: Andrew Morton commit cc993cab0239cb07af329d2e18faac7888821075 Author: Dave Jones Date: Thu Jul 28 09:43:56 2005 -0700 Here are two possible cleanups in cpufreq.c: * ret has no need to be unsigned in cpufreq_driver_target() * ret has no need to be initialized in __cpufreq_governor() Signed-off-by: Jean Delvare Signed-off-by: Dave Jones commit 841e40b380a70933e8dc1184e0f9ba1c6cac48af Author: Dave Jones Date: Thu Jul 28 09:40:04 2005 -0700 Opteron revision F will support higher frequencies than can be encoded in the current driver's 4 bit frequency field. This patch updates the driver to support Rev F including 6 bit FIDs and processor ID updates. This should apply cleanly whether or not the dual-core bugfix I sent out last week is applied. I'd prefer that both get applied, of course. Signed-off-by: David Keck Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 03938c3f1062b0f279a0ef937a471d4db83702ed Author: Dave Jones Date: Thu Jul 28 09:38:21 2005 -0700 powernow-k8 requires that a data structure for each core be created in the _cpu_init function call. The cpufreq infrastructure doesn't call _cpu_init for the second core in each processor. Some systems crashed when _get was called with an odd-numbered core because it tried to dereference a NULL pointer since the data structure had not been created. The attached patch solves the problem by initializing data structures for all shared cores in the _cpu_init function. It should apply to 2.6.12-rc6 and has been tested by AMD and Sun. Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 7b70888a192eff457c2ca0a4ffa04815f5e19734 Merge: cd85c8b4457a52d3545fdb9532082b2c1ebd5f21 0a97af41b0e77f834acc0870155de616a373e899 Author: Linus Torvalds Date: Thu Jul 28 08:41:58 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa commit cd85c8b4457a52d3545fdb9532082b2c1ebd5f21 Author: Steven Rostedt Date: Thu Jul 28 08:45:06 2005 -0400 [PATCH] speed up on find_first_bit for i386 (let compiler do the work) Avoid using "rep scas", just let the compiler select a sequence of regular instructions. Signed-off-by: Steven Rostedt Signed-off-by: Linus Torvalds commit 79a8810221ee9ea96c4e5a5817afb88f22ea698c Author: Richard Henderson Date: Thu Jul 28 01:07:41 2005 -0700 [PATCH] alpha: fix "statement with no effect" warnings Apparently gcc 4.0 complains about "({ 0; });", which leads to -Werror breakage in one of the alpha oprofile modules. One might could argue that this is a gcc bug, in that statement-expressions should be considered to be function-like rather than statement-like for the purposes of this warning. But it's just as easy to use an inline function in the first place, side-stepping the issue. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11be00cba6be114f861123cfc6779f195a615d22 Author: Bjorn Helgaas Date: Thu Jul 28 01:07:39 2005 -0700 [PATCH] PCDP: if PCDP contains parity information, use it If the PCDP supplies parity, use it (only none/even/odd supported), and don't append parity/stop bit arguments unless baud is present. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b378def5a386c4a7f15b51ed79802badb9f5a70 Author: Tony Luck Date: Thu Jul 28 01:07:38 2005 -0700 [PATCH] e1000: no need for reboot notifier sys_reboot() now calls device_suspend(), so it is no longer necessary for the e1000 driver to register a reboot notifier [in fact doing so results in e1000_suspend() getting called twice]. (akpm: we need to fast-track this. It's causing ia64 to oops on shutdown) Signed-off-by: Tony Luck Cc: Cc: Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5c1d5b2aaf9a98f15a6dcdfbba1f494d0aaae52 Author: James Morris Date: Thu Jul 28 01:07:37 2005 -0700 [PATCH] SELinux: default labeling of MLS field Implement kernel labeling of the MLS (multilevel security) field of security contexts for files which have no existing MLS field. This is to enable upgrades of a system from non-MLS to MLS without performing a full filesystem relabel including all of the mountpoints, which would be quite painful for users. With this patch, with MLS enabled, if a file has no MLS field, the kernel internally adds an MLS field to the in-core inode (but not to the on-disk file). This MLS field added is the default for the superblock, allowing per-mountpoint control over the values via fixed policy or mount options. This patch has been tested by enabling MLS without relabeling its filesystem, and seems to be working correctly. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1699f508ab5098de4b258268fa8913db38d9d35 Author: Ian Campbell Date: Thu Jul 28 01:07:34 2005 -0700 [PATCH] cs89x0: collect tx_bytes statistics Signed-off-by: Ian Campbell Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac12259f2984d96454affc147f9d63f2ac2ac1f8 Author: Giancarlo Formicuccia Date: Thu Jul 28 01:07:33 2005 -0700 [PATCH] Fix incorrect Asus k7m irq router detection This patch: http://marc.theaimsgroup.com/?l=bk-commits-head&m=111955644929114&w=2 uncovered a k7m bios bug, where the VT82C686A router is reported as being "586-compatible". The two chips have different pirq mapping, so this leads to "irq routing conflict" on many pci devices. The suggested fix was discussed with Aleksey Gorelov, who helped me to identify the problem as a probable bios bug. Signed-off-by: Giancarlo Formicuccia Cc: Dave Jones Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad2b93123d2b3cb4ba9a98dd5f62acb6d6b50391 Author: Mike Miller Date: Thu Jul 28 01:07:31 2005 -0700 [PATCH] cciss per disk queue This patch adds per disk queue functionality to cciss. Sometime back I submitted a patch but it looks like only part of what I needed. In the 2.6 kernel if we have more than one logical volume the driver will Oops during rmmod. It seems all of the queues actually point back to the same queue. So after deleting the first volume you hit a null pointer on the second one. This has been tested in our labs. There is no difference in performance, it just fixes the Oops. Signed-off-by: Mike Miller Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eaaf9c68e75edf0fa51c5770eb68c2a6cb5ff66b Author: Daniel Ritz Date: Thu Jul 28 01:07:30 2005 -0700 [PATCH] pcmcia: disable read prefetch/write burst on old O2Micro bridges Older O2Micro bridges have problems with both read prefetch and write burst depending on the combination of the chipset, bridge, cardbus card. safest is to disable read prefetch and write burst on those old bridges. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8c4b4195c7d664baf296818bf756775149232d3 Author: Daniel Ritz Date: Thu Jul 28 01:07:28 2005 -0700 [PATCH] yenta: free_irq() on suspend. Resume doesn't seem to work without. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1b274fbe3f00469fb8a68806469ec7746c7f648 Author: Dominik Brodowski Date: Thu Jul 28 01:07:27 2005 -0700 [PATCH] pcmcia: fix sharing IRQs and request_irq without IRQ_HANDLE_PRESENT Debugging and description from: Noah Misch When a driver calls pcmcia_request_irq with IRQ_HANDLE_PRESENT unset, it looks for an open IRQ by request_irq()ing with a dummy handler and NULL dev_info. free_irq uses dev_info as a key for identifying the handler to free among those sharing an IRQ, so request_irq returns -EINVAL if dev_info is NULL and the IRQ may be shared. That unknown error code is the -EINVAL. It looks like only pcnet_cs and axnet_cs are affected. Most other drivers let pcmcia_request_irq install their interrupt handlers. sym53c500_cs requests its IRQ manually, but it cannot share an IRQ. The appended patch changes pcmcia_request_irq to pass an arbitrary, unique, non-NULL dev_info with the dummy handler. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 661d04c6f08c16ae63fb3be05d59ee99c6f3de52 Author: Dominik Brodowski Date: Thu Jul 28 01:07:26 2005 -0700 [PATCH] pcmcia: update documentation Update the PCMCIA documentation to reflect some more, though older, changes. Parts extracted from an e-mail from Randy Dunlap with his consent. Signed-off-by: Randy Dunlap Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d277ad0eaa056c632707271192ec5896548f15d6 Author: Komuro Date: Thu Jul 28 01:07:24 2005 -0700 [PATCH] pcmcia: fix many device IDs If the product-id-string contains the '+' , '&' ,'_', it was not converted properly from the /etc/pcmcia/config(pcmcia-cs config file). Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e5a3e79091615c5eae871ad9e794ed48753ae05 Author: Dominik Brodowski Date: Thu Jul 28 01:07:23 2005 -0700 [PATCH] pcmcia: avoid duble iounmap of one address Avoid double iounmap of one address, and disable cis_virt if set_mem_map failed. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc33a4a36cad02b939b9a4fb2f15ade17d61cdaf Author: Dominik Brodowski Date: Thu Jul 28 01:07:22 2005 -0700 [PATCH] pcmcia: update au1000 to work with recent changes Get the au1000 PCMCIA socket drivers to work. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2e0743a515c3317b0f9c93fb1c5e082c87474a2 Author: Jar Date: Thu Jul 28 01:07:21 2005 -0700 [PATCH] pcmcia: remove duplicates in orinoco_cs Remove duplicates from the device id table. Signed-off-by: Jarkko Raja Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba5bb6b58490693fb9b5de3ffee48c6dc9ae0d6c Author: Pavel Roskin Date: Thu Jul 28 01:07:20 2005 -0700 [PATCH] pcmcia: fix comment There are two problems with the message about missing callback functions: it's not written in correct English and it lacks newline at the end. Signed-off-by: Pavel Roskin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 698e22c4bf7dad25d63f5c2ec6ca07047579c434 Author: Pavel Roskin Date: Thu Jul 28 01:07:19 2005 -0700 [PATCH] pcmcia: ide-cs id_table update SanDisk ConnectPlus has two functions. Function 0 is prism2 card, currently only supported by HostAP (not in the kernel). Function 1 is 128M flash, supported by ide-cs. This patch adds an entry for function 1 to ide-cs.c. Signed-off-by: Pavel Roskin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5453be48e8def75a9c1b2177b82fa0e692c6e3a Author: Andrew Morton Date: Thu Jul 28 01:07:18 2005 -0700 [PATCH] bio_clone fix Fix bug introduced in 2.6.11-rc2: when we clone a BIO we need to copy over the current index into it as well. It corrupts data with some MD setups. See http://bugzilla.kernel.org/show_bug.cgi?id=4946 Huuuuuuuuge thanks to Matthew Stapleton for doggedly chasing this one down. Acked-by: Jens Axboe Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da28c12089dfcfb8695b6b555cdb8e03dda2b690 Merge: 6de7dc2c4c713d037c19aa1e310d240f16973414 577a4f8102d54b504cb22eb021b89e957e8df18f Author: Dave Kleikamp Date: Thu Jul 28 09:03:36 2005 -0500 Merge with /home/shaggy/git/linus-clean/ /home/shaggy/git/linus-clean/ /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 0a97af41b0e77f834acc0870155de616a373e899 Author: Jaroslav Kysela Date: Thu Jul 28 15:50:42 2005 +0200 [ALSA] version 1.0.9b commit da8ea98b21236f29a5df723e3cc5abdc6530c07c Author: Takashi Iwai Date: Thu Jul 28 15:22:55 2005 +0200 [ALSA] wavefront - declare initialization data as static Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 69c3e5f8562c7854d9dd8d7820a89286f9440e41 Author: Takashi Iwai Date: Wed Jul 27 17:30:14 2005 +0200 [ALSA] via82xx - Fix dxs_support of twinhead laptop VIA82xx driver Changed the dxs_support value of twinhead laptop to DXS_SRC. Signed-off-by: Takashi Iwai commit eeacb5457cf5f0802fb29f385befa0b1d166cadb Author: Sergey Ulanov Date: Wed Jul 27 17:28:58 2005 +0200 [ALSA] Jack Sense support for AD1980 and AD1888 AC97 Codec Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips. Signed-off-by: Takashi Iwai commit 7b566054b33474cdd674289a8c7dd282c02e536e Author: Takashi Iwai Date: Wed Jul 27 17:26:59 2005 +0200 [ALSA] vx-driver - Fix the calculation of frequency parameter Digigram VX core Fixed the calculation of frequency parameter of vx boards. Signed-off-by: Takashi Iwai commit fb92e6f05e84f6c217d786208e2ed5acf633b6ce Author: Nicolas Graziano Date: Wed Jul 27 17:25:08 2005 +0200 [ALSA] hda driver, correct bug in model 'auto' HDA Codec driver - Correct some index variable inversion in patch_cmedia.c Signed-off-by: Nicolas Graziano Signed-off-by: Takashi Iwai commit 5a0f217d96656068f0f1e5cda16c35945f979b16 Author: Victor Fusco Date: Tue Jul 26 13:42:31 2005 +0200 [ALSA] sound/core Fix the sparse warning 'implicit cast to nocast type' Memalloc module,ALSA Core,Instrument layer Fix the sparse warning 'implicit cast to nocast type' File/Subsystem:sound/core Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Jaroslav Kysela commit 854af9578cb84e4ca3cb1551a6be40c4e81bb455 Author: Clemens Ladisch Date: Mon Jul 25 16:19:10 2005 +0200 [ALSA] usb-audio - change quirk type handling USB generic driver Make the quirk type an enum instead of a #defined integer, and use a table for the quirk constructor functions instead of a big switch statement. Signed-off-by: Clemens Ladisch commit f38275fe994c333b809796230f4f98090f8d919b Author: Clemens Ladisch Date: Mon Jul 25 16:17:29 2005 +0200 [ALSA] usb-audio - add support for Miditech USB MIDI keyboards USB generic driver Add support for Miditech Midistart and MidiStudio keyboards (another case of devices using the standard protocol but having no descriptors). Signed-off-by: Clemens Ladisch commit d06e4c4001cf26147a6af0718703368944f0df32 Author: Clemens Ladisch Date: Thu Jul 21 08:01:22 2005 +0200 [ALSA] seq-midi - silently ignore non-MIDI events ALSA sequencer When non-MIDI sequencer events are sent to a RawMIDI port, silently ignore them instead of returning a confusing error code which may upset the sequencer and abort the current write() to /dev/snd/seq. Signed-off-by: Clemens Ladisch commit 7858ffa062886706026cfff3ba80b8400b520501 Author: Clemens Ladisch Date: Mon Jul 11 15:37:19 2005 +0200 [ALSA] ac97 - remove unused variable AC97 Codec remove a variable made obsolete by the last change Signed-off-by: Clemens Ladisch commit c9eab129fcbcef364b34fb3a70cb2531847e1edf Author: James Courtier-Dutton Date: Sun Jul 10 12:04:29 2005 +0200 [ALSA] ac97: Fix volume control bit size detection for STAC9704. AC97 Codec Signed-off-by: James Courtier-Dutton commit 7c1d549aa9b22365fe5405c372f840cdbc6315f5 Author: James Courtier-Dutton Date: Sun Jul 10 11:50:36 2005 +0200 [ALSA] emu10k1: Add EMU 1212m card entry and document it as not supported yet. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit b27c187f95cd6c9f13f26a5088bea384ac557b45 Author: Nishanth Aravamudan Date: Sat Jul 9 10:54:37 2005 +0200 [ALSA] Fix-up sleeping in sound/usb USB generic driver,USB USX2Y Description: Fix-up sleeping in sound/usb. Replace big_mdelay() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. Patch is compile-tested. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jaroslav Kysela commit 989a0b248bbf32c89e60dc6f02219e446b320712 Author: Nishanth Aravamudan Date: Sat Jul 9 10:53:24 2005 +0200 [ALSA] Fix-up sleeping in sound/ppc PPC AWACS driver,PPC PMAC driver,PPC Tumbler driver Description: Fix-up sleeping in sound/ppc. Replace big_mdelay() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jaroslav Kysela commit ef21ca24faf28df6d06939e77d5032a313490289 Author: Nishanth Aravamudan Date: Sat Jul 9 10:13:22 2005 +0200 [ALSA] sound/pci: fix-up sleeping paths ENS1370/1+ driver,ES1968 driver,Intel8x0 driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,ALI5451 driver,CS46xx driver MIXART driver,RME HDSP driver,Trident driver,YMFPCI driver Description: Fix-up sleeping in sound/pci. These changes fall under the following two categories: 1) Replace schedule_timeout() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. 2) Do not assume jiffies will only increment by one if you request a 1 jiffy sleep, i.e. use time_after/time_before in while loops. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jaroslav Kysela commit 072c01194df6e4843582d09380b780987f642d6d Author: Jaroslav Kysela Date: Sat Jul 9 10:07:55 2005 +0200 [ALSA] ens1371 - added extra delay for ac97 codec initialization ENS1370/1+ driver Signed-off-by: Jaroslav Kysela commit 856def8a4695066e6cbd2919c5987f1df23dbe8a Author: Henrik Kretzschmar Date: Fri Jul 8 13:53:42 2005 +0200 [ALSA] typo-fix and snd_assert()-expression-split ALSA Core This patch corrects a typo in the kerneldocs of snd_info_get_str(). It also splits the expressions of snd_assert() in snd_info_unregister() into one-expression-per-call for better debugging. Signed-off-by: Henrik Kretzschmar Signed-off-by: Takashi Iwai commit 5b738babf13d51285710ed57336ee5f072ac9490 Author: Henrik Kretzschmar Date: Fri Jul 8 09:29:18 2005 +0200 [ALSA] fix compiler warning GUS Library This patch fixes a compiler warning if sequencer is disabled. Signed-off-by: Henrik Kretzschmar Signed-off-by: Jaroslav Kysela commit ae3a72d8cb4e5b30606c5e3ac9c59b729117579a Author: James Courtier-Dutton Date: Wed Jul 6 22:36:18 2005 +0200 [ALSA] snd-emu10k1: Fixes recognition of Audigy ES. EMU10K1/EMU10K2 driver Fixes ALSA bug #1237. Signed-off-by: James Courtier-Dutton commit e66bc8b2a7d85166935a2da651b94efb9e7a2f11 Author: James Courtier-Dutton Date: Wed Jul 6 22:21:51 2005 +0200 [ALSA] emu10k1: Add module option uint subsystem. EMU10K1/EMU10K2 driver It allows the user to force the snd-emu10k1 module to think the user has a particular sound card. Useful if their particular sound card is not yet recognised. Signed-off-by: James Courtier-Dutton commit 2201987c562f7c810440d399ef7a85fe79be01e7 Author: Jaroslav Kysela Date: Tue Jul 5 10:27:09 2005 +0200 [ALSA] via82xx - changed MSI K7T266 Pro2 - 4005:4710 in white list (SRC enable) VIA82xx driver Signed-off-by: Jaroslav Kysela commit e3ea4d896109edd64dc549ecaeeff8d89025fb57 Author: Takashi Iwai Date: Mon Jul 4 18:12:39 2005 +0200 [ALSA] hdsp - Add 'Sample Clock Source Locking' control RME HDSP driver Added 'Sample Clock Source Locking' control. If this switch is on, the clock source can't be changed via PCM hw_params API (as sample rate). This will fix the problem of OSS-emulation, for example. Signed-off-by: Takashi Iwai commit 4e55096e27d745908e44c6abd2cc0c5b615854a4 Author: Matt Date: Mon Jul 4 17:51:39 2005 +0200 [ALSA] hda: add sigmatel hp detect support HDA Codec driver Adds support for detecting hp insertion/removal and enable/disable of lineouts based on unsolicited events. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit 41e2fce431070cb2d91391808077378582d3e6b1 Author: Matt Date: Mon Jul 4 17:49:55 2005 +0200 [ALSA] hda: enable unsolicited responses HDA Intel driver Patch enables unsolicited responses on the HDA controller. Without the UREN bit set, the controller will not place unsolicited responses in a RIRB. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit bbd4615cdb68de943b2814e956ec14899606dc45 Author: Clemens Ladisch Date: Mon Jul 4 09:21:45 2005 +0200 [ALSA] usb-audio - use bDeviceSubClass to detect MOTU FastLane USB generic driver MOTU builds other USB MIDI interfaces with the same product ID as the FastLane, so we have to check the bDeviceSubClass field to differentiate between them. Signed-off-by: Clemens Ladisch commit 6155aff84b98b2aa35eaa4384b539dfbab86afcc Author: Clemens Ladisch Date: Mon Jul 4 09:20:42 2005 +0200 [ALSA] usb-audio - rename QUIRK_MIDI_MOTU to QUIRK_MIDI_RAW USB generic driver Rename the protocol used by the MOTU FastLane to 'raw' because it might be useful with other devices, and there are other MOTU interfaces that do not use this protocol. Signed-off-by: Clemens Ladisch commit b1c6ef52e2623c81c2124801c783a903f6e5437a Author: Clemens Ladisch Date: Mon Jul 4 09:18:46 2005 +0200 [ALSA] usb-audio - enable high speed transfers with Audiy 2 NX USB generic driver This patch enables the boot commands to activate high speed mode (and associated sample formats like 8 channels with 24 bits at 96 kHz) on the SB Audigy 2 NX. Signed-off-by: Clemens Ladisch commit 88dc0e5dadf9b0cb529c89b12cd10f75d5b1bce4 Author: James Courtier-Dutton Date: Sun Jul 3 12:54:29 2005 +0200 [ALSA] emu10k1: Added tested status comments. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit a6f6192bb38a76c4ad44c894144b1fbf3d14606b Author: James Courtier-Dutton Date: Sun Jul 3 12:32:40 2005 +0200 [ALSA] emu10k1: Sort by card id. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 3818152e64866b54020b5656ff5fdd0f5e085183 Author: James Courtier-Dutton Date: Sat Jul 2 18:03:37 2005 +0200 [ALSA] snd-emu10k1: Tidy mixer controls. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e0474e53985c5fac97a5bb85d66ec0d017b5faf3 Author: James Courtier-Dutton Date: Sat Jul 2 16:33:34 2005 +0200 [ALSA] snd-emu10k1: Card capabilities tidy up. EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 7bc71ecd6477db90221efc08fb742b3df4f49b46 Author: Jaroslav Kysela Date: Sat Jul 2 15:20:57 2005 +0200 [ALSA] via82xx - added MSI K7T266 Pro2 - 4005:4710 to white list (DXS enable) VIA82xx driver Reporter: Marko Kohtala Signed-off-by: Jaroslav Kysela commit 0ac2ac0ad7d1e8c84241d1c40b0d196b9b7c8104 Author: Clemens Ladisch Date: Fri Jul 1 16:19:39 2005 +0200 [ALSA] usb-audio: add support for an unknown Yamaha USB MIDI device USB generic driver Add a quirk for the Yamaha USB MIDI device with USB ID 0x103d. Signed-off-by: Clemens Ladisch commit 2c484df0d249323d223f7f58e0f3b992b7414be8 Author: Takashi Iwai Date: Thu Jun 30 18:54:04 2005 +0200 [ALSA] Add ARM PXA2xx AC97 driver Documentation,ARM,/arm/Makefile,ARM PXA2XX driver Added ARM PXA2xx AC97 driver by Nicolas Pitre (moved from alsa-driver tree). Signed-off-by: Takashi Iwai commit 1bd9debf25b8a5f5029d7619f43e4a9a775973d3 Author: Takashi Iwai Date: Thu Jun 30 18:26:20 2005 +0200 [ALSA] Add DBRI driver on Sparcs Documentation,SPARC,/sparc/Makefile Add the DBRI driver on Sparcs by Martin Habets (moved from alsa-driver tree). Signed-off-by: Takashi Iwai commit ab79509a95b1d22c40d4a87823b6a48bc9a12af5 Author: Takashi Iwai Date: Thu Jun 30 18:13:54 2005 +0200 [ALSA] Add help texts to Kconfig SPARC Added simple help texts to Kconfig of Sparc sound drivers. (Better texts are appreciated :) Signed-off-by: Takashi Iwai commit 5ba1e7b594db4d0e1f88ace87c1cb295761ca5c9 Author: Takashi Iwai Date: Thu Jun 30 13:47:58 2005 +0200 [ALSA] maestro3 - Clean up Maestro3 driver - Clean up maestro3 code - Use msleep() - Don't enable hw-vol irq when not defined Signed-off-by: Takashi Iwai commit 52b723888c1a55d34551f9b0b9d9296e0e3e8d3c Author: Takashi Iwai Date: Thu Jun 30 13:47:06 2005 +0200 [ALSA] Fix resume of intel8x0 Intel8x0 driver,AC97 Codec Fix resume of intel8x0 driver. The ac97 codec didn't restore some registers properly, and the restore of ICH4 SPDIF and SDIN settings was missing. Signed-off-by: Takashi Iwai commit 2eff7ec81eb586076974cb0918dffc5f4ad763d5 Author: Takashi Iwai Date: Thu Jun 30 13:45:20 2005 +0200 [ALSA] cmipci - Add Mic Boost capture switch CMIPCI driver Added 'Mic Boost Capture Switch' and 'Phone' switches. The existing playback switch is renamed as 'Mic Boost Playback Switch'. Signed-off-by: Takashi Iwai commit 174d52204500a63c19e6613e49db3fcfe4e9d35a Author: Takashi Iwai Date: Thu Jun 30 13:42:39 2005 +0200 [ALSA] vxpocket - Remove unused code Digigram VX Pocket driver Removed unused files (dropped by the last change). Signed-off-by: Takashi Iwai commit 6d00a3127972e7853d6296ffc1e72c5b1a23d937 Author: Takashi Iwai Date: Thu Jun 30 13:40:51 2005 +0200 [ALSA] Fix and clean-up of vxpocket driver Documentation,PCMCIA Kconfig,Digigram VX Pocket driver - Fixed Oops with request_firmware() - Detect the card type in runtime (vxpoocket v2 or 440) - snd-vxp440 driver is merged to snd-vxpocket - Clean up the code Signed-off-by: Takashi Iwai commit 82fe0c5803f4c77ffeb4c1c2367defb3dcedad45 Author: Takashi Iwai Date: Thu Jun 30 10:54:33 2005 +0200 [ALSA] Use kstrdup HDA Codec driver Use the new kstrdup() function instead of in-house one. Signed-off-by: Takashi Iwai commit 0884484762f731a1d5446c0b618a74c5957dea4f Author: Takashi Iwai Date: Thu Jun 30 09:55:31 2005 +0200 [ALSA] Fix dependency of GUS driver ALSA sequencer Add the missing snd-seq-midi-emul to SND_GUS_SYNTH list. Signed-off-by: Takashi Iwai commit d5750f67853350373fc1d5698c3a58ea16eddf4c Author: Henrik Kretzschmar Date: Wed Jun 29 19:31:06 2005 +0200 [ALSA] cleanup and typo-correction ALSA Core This patch changes, adds and remove some comments, which will make now more sense and fit on a 80-char line. It also changes the order of snd_power_wait() to make the file more readable. It removes the device.c comment in front of _snd_minor, cause snd_minor has nothing to do with device.c. The both typos in the kernel-docs were corrected too. Signed-off-by: Henrik Kretzschmar Signed-off-by: Takashi Iwai commit a3352f01ea2d38b0d5b7b63de754e94b9aba0390 Author: Henrik Kretzschmar Date: Wed Jun 29 19:30:42 2005 +0200 [ALSA] Fix two typos and changes on snd_assert() ALSA Core Both typos were in the kerneldocs. I splitted the snd_assert() calls in one-expression-per-call for better debugging. Signed-off-by: Henrik Kretzschmar Signed-off-by: Takashi Iwai commit 7a318a70a42057692f191ff49c289cd3e27e21f5 Author: Takashi Iwai Date: Tue Jun 28 14:16:21 2005 +0200 [ALSA] hda-codec - Add entry for Acer APFV HDA Codec driver Added the model entry for Acer APFV. Signed-off-by: Takashi Iwai commit b6482d48e536729829025262d6529df09ae20396 Author: Takashi Iwai Date: Mon Jun 27 15:32:43 2005 +0200 [ALSA] hda-codec - Add 6stack model for ALC880 Documentation,HDA Codec driver - Added a new '6stack' model for ALC880. - Fixed the typo in 6stack-digout model name. - Added description for missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai commit 548e7823bc33b8cde4de59dfafe0fd69d951d3b5 Author: Harald Welte Date: Mon Jun 27 15:10:56 2005 +0200 [ALSA] Add new pci device id (SB400) to atiixp-modem ATIIXP-modem driver I didn't actually test whether the modem works, but at least the driver loads and initializes fine. Please consider inclusion. Signed-off-by: Takashi Iwai commit b95eed7cde4a44476fa12e776e090fc494059458 Author: Takashi Iwai Date: Mon Jun 27 15:07:33 2005 +0200 [ALSA] trident - Shut up compile warnings Trident driver Shut up compile warnings about uninitialized variables. Signed-off-by: Takashi Iwai commit ff6fdc37fbe66e24ef9ad7c23a278ff757480dda Author: Matt Date: Mon Jun 27 15:06:52 2005 +0200 [ALSA] hda-codec - SigmaTel HDA resume support HDA Codec driver Adds resume support to the SigmaTel HDA patch. Please apply. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit c7d4b2fa3169a1206450bc445d1997a17479644f Author: Matt Date: Mon Jun 27 14:59:41 2005 +0200 [ALSA] hda-codec - SigmaTel HDA multichannel support HDA Codec driver Adds 6/8 channel support to the SigmaTel HDA patch. Please apply. Signed-off-by: Matt Signed-off-by: Takashi Iwai commit b4d3f9d452ec574e0ffb292267427f69bb470631 Author: Clemens Ladisch Date: Mon Jun 27 08:18:27 2005 +0200 [ALSA] usb-audio - fix capture of non-48k sample rates on Audigy 2 NX USB generic driver On the SB Audigy 2 NX, capturing with sample rates that are not a multiple of 48 kHz does not seem to work, so disable it. Signed-off-by: Clemens Ladisch commit 573567e07bb4470ff177f17d1adca3f3bd310221 Author: Clemens Ladisch Date: Mon Jun 27 08:17:30 2005 +0200 [ALSA] usb-audio - high speed audio support USB generic driver Add support for endpoints with bInterval > 1, and decoding of the wMaxPacketSize field of high-speed endpoints. Signed-off-by: Clemens Ladisch commit b0af0de5cb57c96b0c3d739005172152b7de0ce8 Author: Takashi Iwai Date: Tue Jun 21 14:49:19 2005 +0200 [ALSA] hda-codec - Fix oops with ALC880 HDA Codec driver - Fixed oops with ALC880 auto-config mode - Fixed a wrong config table entry for ALC880 Signed-off-by: Takashi Iwai commit 145794dc09117b31b6730096558e52b673af7b84 Author: Jaroslav Kysela Date: Mon Jun 20 10:42:44 2005 +0200 [ALSA] ak4114: removed duplicate wake_up() AK4114 receiver - wake_up(&runtime->sleep) is already called in snd_pcm_post_stop() Signed-off-by: Jaroslav Kysela commit 577a4f8102d54b504cb22eb021b89e957e8df18f Author: Andrew Vasquez Date: Wed Jul 27 22:10:59 2005 -0700 [PATCH] More qla2xxx configuration fixes This adds the appropriate FW_LOADER pre-requisite and a separate entry for ISP24xx support. Thanks to Adrian Bunk and Jesper Juhl for their efforts in fixing this quirk. Signed-off-by: Linus Torvalds commit 79d81907594e1ec4d5171653dde7cb9e9cb87de2 Author: Hal Rosenstock Date: Wed Jul 27 20:38:56 2005 -0700 [IB/ucm]: Clean up userspace CM Only print debug messages when debug_level is set. Eliminate NULL checks prior to calling kfree. Signed-off-by: Hal Rosenstock Signed-off-by: Libor Michalek commit 2868bd281fef21d1e73d6b7648a41efc3d75f10c Merge: 6d376756f2cf3478d5a4fdb8d18e958948366b9d 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af Author: Roland Dreier Date: Wed Jul 27 19:12:56 2005 -0700 Merge /scratch/Ksrc/linux-git/ commit 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af Author: Richard Henderson Date: Wed Jul 27 17:10:52 2005 -0700 [PATCH] new alpha syscalls Signed-off-by: Linus Torvalds commit 340d10e47238daeb5e5eb27df25b4e7ec71f6571 Merge: e0aa8afd97536a9d94f82a07b4c4b3f05aef6f82 48b0e5487fcdcb3421bda67666277348b2bd2661 Author: Linus Torvalds Date: Wed Jul 27 17:09:10 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit e0aa8afd97536a9d94f82a07b4c4b3f05aef6f82 Author: Linus Torvalds Date: Wed Jul 27 17:08:21 2005 -0700 Fix up qla2xxx configuration bogosity If we haven't configured the qla24xx driver, then the Makefile shouldn't do it for us. This also means that we can avoid the unnecessary selection of FC_ATTRS. Debugged by James Bottomley commit e4ff4d7f9d85a2bc714307eb9113617182e62845 Author: Andrew Morton Date: Wed Jul 27 10:41:23 2005 -0700 [PATCH] Avoid device suspend on reboot My fairly ordinary x86 test box gets stuck during reboot on the wait_for_completion() in ide_do_drive_cmd(): Signed-off-by: Linus Torvalds commit 49302d0c42592b37f49ae96e0f06a3599cf5a8a0 Merge: 839c5d2511fadc35cc4e8a8ffa833d76668700b2 18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8 Author: Linus Torvalds Date: Wed Jul 27 16:42:22 2005 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 839c5d2511fadc35cc4e8a8ffa833d76668700b2 Merge: 96fad28a781069eb40156f78b8f50c349805b652 5e43db7730e7cef7d37968ea789c41392519a864 Author: Linus Torvalds Date: Wed Jul 27 16:37:59 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 96fad28a781069eb40156f78b8f50c349805b652 Merge: 3334c39f1815d2911238c43f40840c3c7b378165 b833961bd30eec201b9a94eec36aa7ac96f9c9c0 Author: Linus Torvalds Date: Wed Jul 27 16:37:03 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 3334c39f1815d2911238c43f40840c3c7b378165 Merge: 71b2c86f5fd22b27feaa6c19c2c6662480ecd7d5 614d73edae68836f7659ee8efec90878e6215fb1 Author: Linus Torvalds Date: Wed Jul 27 16:36:08 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit 71b2c86f5fd22b27feaa6c19c2c6662480ecd7d5 Author: Marcelo Tosatti Date: Wed Jul 27 04:55:54 2005 -0300 [PATCH] ppc32: 8xx remove BROKEN Kconfig entry 8xx is not BROKEN anymore. Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit bf85fa6c878aa3968df47d7f70a2b506c3e53b99 Author: Anton Wöllert Date: Wed Jul 27 04:45:17 2005 -0300 [PATCH] ppc32: 8xx avoid icbi misbehaviour in __flush_dcache_icache_phys On 8xx, in the case where a pagefault happens for a process who's not the owner of the vma in question (ptrace for instance), the flush operation is performed via the physical address. Unfortunately, that results in a strange, unexplainable "icbi" instruction fault, most likely due to a CPU bug (see oops below). Avoid that by flushing the page via its kernel virtual address. Oops: kernel access of bad area, sig: 11 [#2] NIP: C000543C LR: C000B060 SP: C0F35DF0 REGS: c0f35d40 TRAP: 0300 Not tainted MSR: 00009022 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 10 DAR: 00000010, DSISR: C2000000 TASK = c0ea8430[761] 'gdbserver' THREAD: c0f34000 Last syscall: 26 GPR00: 00009022 C0F35DF0 C0EA8430 00F59000 00000100 FFFFFFFF 00F58000 00000001 GPR08: C021DAEF C0270000 00009032 C0270000 22044024 10025428 01000800 00000001 GPR16: 007FFF3F 00000001 00000000 7FBC6AC0 00F61022 00000001 C0839300 C01E0000 GPR24: 00CD0889 C082F568 3000AC18 C02A7A00 C0EA15C8 00F588A9 C02ACB00 C02ACB00 NIP [c000543c] __flush_dcache_icache_phys+0x38/0x54 LR [c000b060] flush_dcache_icache_page+0x20/0x30 Call trace: [c000b154] update_mmu_cache+0x7c/0xa4 [c005ae98] do_wp_page+0x460/0x5ec [c005c8a0] handle_mm_fault+0x7cc/0x91c [c005ccec] get_user_pages+0x2fc/0x65c [c0027104] access_process_vm+0x9c/0x1d4 [c00076e0] sys_ptrace+0x240/0x4a4 [c0002bd0] ret_from_syscall+0x0/0x44 Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit 59904159c316f7bc02d00ff7b0dc3f9d3afd07fd Author: Jesper Juhl Date: Wed Jul 27 11:46:10 2005 -0700 [PATCH] Update CREDITS entry and listings in source files for Jesper Juhl a) update entry in CREDITS for Jesper Juhl b) remove email address from source files so it's only listed in credits. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77933d7276ee8fa0e2947641941a6f7a100a327b Author: Jesper Juhl Date: Wed Jul 27 11:46:09 2005 -0700 [PATCH] clean up inline static vs static inline `gcc -W' likes to complain if the static keyword is not at the beginning of the declaration. This patch fixes all remaining occurrences of "inline static" up with "static inline" in the entire kernel tree (140 occurrences in 47 files). While making this change I came across a few lines with trailing whitespace that I also fixed up, I have also added or removed a blank line or two here and there, but there are no functional changes in the patch. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 Author: Michal Januszewski Date: Wed Jul 27 11:46:08 2005 -0700 [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. The fb_info struct, as defined in include/linux/fb.h, contains an element that is supposed to hold the current color map: struct fb_cmap cmap; /* Current cmap */ This cmap is currently never updated when either fb_set_cmap() or fb_set_user_cmap() are called. As a result, info->cmap contains the default cmap that was set by a device driver/fbcon and a userspace application using the FBIOGETCMAP ioctl will not always get the *currently* used color map. The patch fixes this by making sure the cmap is copied to info->cmap after it is set correctly. It moves most of the code that is responsible for setting the cmap to fb_set_cmap() and out of fb_set_user_cmap() to avoid code-duplication. Signed-off-by: Michal Januszewski Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbd4f12859307c20a4c65a7de4cdd5f9f518dc7a Author: Michal Januszewski Date: Wed Jul 27 11:46:06 2005 -0700 [PATCH] fbcon: don't repaint the cursor when it is disabled. Currently even when the cursor is disabled (`setterm -cursor off`), it is still repainted as a black rectangle the size of a single char. This can be seen, for example, by chvt'ing to a free tty, disabling the cursor and doing `dd if=3D/dev/urandom of=3D/dev/fb0`. The patch changes this behaviour by avoiding painting anything when the cursor is disabled. Signed-off-by: Michal Januszewski Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d210224732b3d32e802e3537499297d387852166 Author: Jon Smirl Date: Wed Jul 27 11:46:05 2005 -0700 [PATCH] fbdev: colormap fixes Color maps have up to 256 entries. 4096/256 allows for 16 characters per line. The format for a cmap entry is "%02x%c%4x%4x%4x\n" %02x entry %c transp %4x red %4x blue %4x green You can read the color_map with cat fb0/color_map. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ca34fcbfbf8a7cbe99d54ae81c4e28fdc6f4ac6 Author: Jon Smirl Date: Wed Jul 27 11:46:05 2005 -0700 [PATCH] radeonfb: clean up EDID sysfs attribute radeonfb does not clean up EDID sysfs attribute Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a340cce09f5dfd89b7b7eea1a52d1a2d1c99a2e Author: Jon Smirl Date: Wed Jul 27 11:46:04 2005 -0700 [PATCH] fbmem: use unregister_chrdev() on unload fbdev is missing unregister_chrdev() on unload. Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a793b77f786022bd0fef1a18142c1b9be9e421d Author: Jon Smirl Date: Wed Jul 27 11:46:03 2005 -0700 [PATCH] fbmon: horizontal frequency rounding fix Fix rounding error when mode frequency is very close to monitor limit Signed-off-by: Jon Smirl Acked-by: James Simmons Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e4b7952cd34af4dd78e012265d4bc858db6adf3 Author: Marcelo Tosatti Date: Wed Jul 27 11:46:01 2005 -0700 [PATCH] cpm_uart: use DPRAM for early console m8xx_cpm_hostalloc() can't rely on using the coherent DMA allocator early on boot because the VM is not fully up yet. Change it to use the on-board DPRAM instead. The current code relies on the "bootmem_page" allocated by m8xx_cpm_reset(), which must be killed. This is done in v2.4 but has never been forward ported to v2.6. Signed-off-by: Marcelo Tosatti Cc: Pantelis Antoniou Cc: Kumar Gala Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ddcc9197beef7cba993c38cdcad45aefb557d33 Author: Michael Krufky Date: Wed Jul 27 11:46:00 2005 -0700 [PATCH] dvb: rename lgdt3302 frontend module to lgdt330x Rename lgdt3302 to lgdt330x, to make way for the addition of lgdt3303 support in future revisions. I am changing the name of this module now so that hopefully the name will be changed before the release of 2.6.13 ... It wouldn't make sense to release 2.6.13 with the name lgdt3302 in it, which will only be renamed to lgdt330x in later versions. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d2599d98e9cb511f326b2d1b353e462bc360774 Author: Michael Hunold Date: Wed Jul 27 11:46:00 2005 -0700 [PATCH] v4l: fix tuning with MXB driver I noticed that some past changes to the gerneric Video4Linux tuner module for analog tuners broke my "Multimedia eXtension Board" driver. The tuner driver was made aware of Video4Linux2 tuning ioctls, but my driver was not ported and still uses the Video4Linux1 ioctls. This does not work anymore as intendend, the tuning is currently broken. The attached patch fixes non-working tuning in MXB driver introduced by some recent generic tuner changes by replacing Video4Linux1 tuner ioctls with proper Video4Linux2 tuner ioctls. - fix non-working tuning in MXB driver introduced by some recent generic tuner changes by replacing Video4Linux1 tuner ioctls with proper Video4Linux2 tuner ioctls Signed-off-by: Michael Hunold Cc: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29780bb7af61752924cf4814f2d8180747b38105 Author: Michael Krufky Date: Wed Jul 27 11:45:59 2005 -0700 [PATCH] v4l: hybrid dvb: rename CFLAGS from CONFIG_DVB_xxxx back to original HAVE_xxxx The #define CONFIG_DVB_* are actually CFLAGS set by Makefile. CONFIG_* namespace is reserved for Kconfig. This renames them back to HAVE_* Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84de2eff1390a89a76507abc3073dad8de751869 Author: Michael Krufky Date: Wed Jul 27 11:45:58 2005 -0700 [PATCH] v4l: hybrid dvb: move #defines to Makefile This patch moves #define from cx88-dvb.c and saa7134-dvb.c into Makefile as CFLAGS, allowing code compatability with video4linux cvs. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1cd0c77429083d6ceb379b1d15c6bca165e90b Author: Michael Krufky Date: Wed Jul 27 11:45:57 2005 -0700 [PATCH] v4l: hybrid dvb: fix warnings with -Wundef This patch adds a missing #ifdef to saa7134-dvb.c (thanks to Mauro Carvalho Chehab) and changes #if to #ifdef in both files. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d975872c5c94615a12040009cde71c82cddeb1be Author: Michael Krufky Date: Wed Jul 27 11:45:56 2005 -0700 [PATCH] dvb/v4l: cx88 cleanup Remove unneeded comment. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 723d52e6a6391e8c4954dca0a7efd3645181981f Author: Michael Krufky Date: Wed Jul 27 11:45:56 2005 -0700 [PATCH] lgdt3302: warning fix warning: `i2c_readbytes' defined but not used This code will either be re-enabled or deleted in a future patch. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ccef6dbb08770bf21ffc82094c2117bd7977ff8 Author: Michael Krufky Date: Wed Jul 27 11:45:55 2005 -0700 [PATCH] dvb/4vl: RF input selection fir Select the RF input connector based upon the type of demodulation selected. ANT RF connector is selected for 8-VSB and CABLE RF connector is selected for QAM64/QAM256. This only affects the cards that use the Microtune 4042 tuner. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6aef071bdef0cd9f69113bb3575aa45fafdbbbf Author: Michael Krufky Date: Wed Jul 27 11:45:54 2005 -0700 [PATCH] dvb/v4l: lgdt3302: isolate tuner Remove the dvb_pll_desc from the frontend and replace with a pll_set-callback to isolate the tuner programming from the frontend. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fd0f3acfa7dfc6e8aba7ce1639b8590ddb98fea Author: Michael Krufky Date: Wed Jul 27 11:45:53 2005 -0700 [PATCH] v4l: fix regression modprobe bttv freezes the computer Remove redundant bttv_reset_audio() which caused the computer to freeze with some bt8xx based DVB cards when loading the bttv driver. Signed-off-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b96d611f373b2cbf5ffc093d859b3a9b1009e096 Author: Adrian Bunk Date: Wed Jul 27 11:45:52 2005 -0700 [PATCH] VIDEO_SAA7134 must depend on SOUND VIDEO_SAA7134=y and SOUND=n results in the following compile error: LD .tmp_vmlinux1 drivers/built-in.o(.text+0x4fafcb): In function `saa7134_initdev': : undefined reference to `unregister_sound_dsp' drivers/built-in.o(.text+0x4fb141): In function `saa7134_initdev': : undefined reference to `register_sound_dsp' drivers/built-in.o(.text+0x4fb17c): In function `saa7134_initdev': : undefined reference to `register_sound_mixer' drivers/built-in.o(.text+0x4fb339): In function `saa7134_finidev': : undefined reference to `unregister_sound_mixer' drivers/built-in.o(.text+0x4fb341): In function `saa7134_finidev': : undefined reference to `unregister_sound_dsp' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82ee3e6fa347dcba19e36afb23a01020bc2e77e2 Author: Adrian Bunk Date: Wed Jul 27 11:45:51 2005 -0700 [PATCH] drivers/media/video/tveeprom.c: possible cleanups This patch contains the following possible cleanups: - make two needlessly global structs static - #if 0 the EXPORT_SYMBOL'ed but unused function tveeprom_dump Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e00e48626474854bf712372fe6656ef4621af0f Author: Gregory B Frost Date: Wed Jul 27 11:45:48 2005 -0700 [PATCH] DVICO Fusion DVB-T1 Tuner (LG-Z201) fix It is a small modification to the table that defines the way that the LG-Z201 tuner is controlled for the DVICO Fusion DVB-T1 tuner card. I believe that a mistake was made when the dvb tuner code was reorganised (to use a generic table for the tuner information instead of inline code) and as a result, the DVICO card doesn't tune properly. The modification I have made to the table makes it behave like it did with the old inline tuner code that worked. The patch is on top of the 2.6.12 kernel. Signed-off-by: Gregory B Frost Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 617b586bca4eda775f93915b8efd586dddf7903c Author: Hal Rosenstock Date: Wed Jul 27 11:45:47 2005 -0700 [PATCH] IB: Add core locking documentation to Infiniband Add core locking documentation to Infiniband Signed-off-by: Roland Dreier Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f13f9f501a6eee14e495aba56ec6f70cf2328180 Author: Hal Rosenstock Date: Wed Jul 27 11:45:46 2005 -0700 [PATCH] IB: Eliminate sparse warnings in SA client Eliminate sparse warnings in SA client Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fd65b096a7ba1fff69c7991f481ebac5498673e Author: Hal Rosenstock Date: Wed Jul 27 11:45:45 2005 -0700 [PATCH] IB: Hook up userspace CM to the make system Hook up userspace CM to the make system Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d0d099f1950bda2f712364a3bf74f20ddb61190 Author: Tom Duffy Date: Wed Jul 27 11:45:45 2005 -0700 [PATCH] Add kernel portion of user CM implementation (fix) Include the patch openib-general changing class_simple to class. Signed-off-by: Tom Duffy Cc: Hal Rosenstock Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5b74540770cb28b8ae779d0c27e228fe7500669 Author: Hal Rosenstock Date: Wed Jul 27 11:45:44 2005 -0700 [PATCH] IB: Add kernel portion of user CM implementation Add kernel portion of user CM implementation Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8aa009191d157de53735646552421f3d1595364a Author: Hal Rosenstock Date: Wed Jul 27 11:45:43 2005 -0700 [PATCH] IB: Add the header file for user space CM Add the header file for user space CM. This file defines the ABI used by the CM for kernel/user communication. Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb183a06b381652b7637fedfa7ef85ec0baf2a1f Author: Hal Rosenstock Date: Wed Jul 27 11:45:42 2005 -0700 [PATCH] IB: Implementation for RMPP support in user MAD Implementation for RMPP support in user MAD Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f75daddb4fc6b695faa4e12e76894389e913dcb Author: Hal Rosenstock Date: Wed Jul 27 11:45:41 2005 -0700 [PATCH] IB: User MAD ABI changes to support RMPP User MAD ABI changes to support RMPP Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a977049dacdef6a9e69fb4872b42a68e93a69956 Author: Hal Rosenstock Date: Wed Jul 27 11:45:40 2005 -0700 [PATCH] IB: Add the kernel CM implementation Add the kernel CM implementation Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3e0164758fc24623020e0ad7bd278607b4693e3 Author: Hal Rosenstock Date: Wed Jul 27 11:45:39 2005 -0700 [PATCH] IB: Add the header file for kernel CM (Communications Manager) Add the header file for kernel CM (Communications Manager) Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbae32c56314fa3032f92db36caab49f08ab0601 Author: Hal Rosenstock Date: Wed Jul 27 11:45:38 2005 -0700 [PATCH] IB: Add Service Record support to SA client Add Service Record support to SA client Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa619a77046bef30478697aba0553991033afb8e Author: Hal Rosenstock Date: Wed Jul 27 11:45:37 2005 -0700 [PATCH] IB: Add RMPP implementation Add RMPP implementation. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2082ee516200095956bd66279be4f62f4a5843d Author: Hal Rosenstock Date: Wed Jul 27 11:45:36 2005 -0700 [PATCH] IB: Introduce RMPP APIs Introduce RMPP APIs Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 497677ab940e637a41351dca6610bc4320abc8f1 Author: Hal Rosenstock Date: Wed Jul 27 11:45:35 2005 -0700 [PATCH] IB: A couple of IB core bug fixes Replace be32_to_cpup with be32_to_cpu and fix bug referencing pointer rather than value in ib_create_ah_from_wc(). Signed-off-by: Tom Duffy Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 513789ed995fb2ba72ba2a5bee53ea11d1170580 Author: Hal Rosenstock Date: Wed Jul 27 11:45:34 2005 -0700 [PATCH] IB: Add ib_create_ah_from_wc to IB verbs Added new call: ib_create_ah_from_wc. Call will allocate an address handle given work completion information, including any received GRH. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cabe3cbcbb3b09637b9e706c49eadb180fca057e Author: Hal Rosenstock Date: Wed Jul 27 11:45:33 2005 -0700 [PATCH] IB: Fix a couple of MAD code paths Fixed locking to handle error posting MAD send work requests. Fixed handling canceling a MAD with an active work request. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29bb33dd87dbe8db07c2b19df3fb453d999c96de Author: Hal Rosenstock Date: Wed Jul 27 11:45:32 2005 -0700 [PATCH] IB: Optimize canceling a MAD Optimize canceling a MAD. - Eliminate searching timeout list in cancel case. - Remove duplicate calls to queue work item. - Eliminate resending a MAD before MAD is completed. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03b61ad2f29295f019e095d0f490f30a4d678d3f Author: Hal Rosenstock Date: Wed Jul 27 11:45:32 2005 -0700 [PATCH] IB: Add ib_modify_mad API to MAD Add new MAD layer call to modify (ib_modify_mad) the timeout of a sent MAD, and simplify cancel code. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c153b934dca08d58e0aafde18a182e0891aa201 Author: Hal Rosenstock Date: Wed Jul 27 11:45:31 2005 -0700 [PATCH] IB: Eliminate MAD cache leak associated with local completions Eliminate MAD cache leak associated with local completions. Also, when canceling MAD, empty local completion list as well. Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbf9227bd3dff71c3c2f540cc3e96098d2ab41e7 Author: Hal Rosenstock Date: Wed Jul 27 11:45:30 2005 -0700 [PATCH] IB: Simplify calling of list_del in MAD Simplify calling of list_del. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f75b7a5294949cd1b7bc301e3087c7bb78e22520 Author: Hal Rosenstock Date: Wed Jul 27 11:45:29 2005 -0700 [PATCH] IB: Add automatic retries to MAD layer Add automatic retries to MAD layer. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df9f9ead746e9607099d7024f312133944173609 Author: Hal Rosenstock Date: Wed Jul 27 11:45:28 2005 -0700 [PATCH] IB: Add ib_coalesce_recv_mad to MAD Add implementation for ib_coalesce_recv_mad. Also, clear allocated MAD data buffer in ib_create_send_mad. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f68bcc2df8115b4ea45bfa4f8de22ec7232562b5 Author: Hal Rosenstock Date: Wed Jul 27 11:45:27 2005 -0700 [PATCH] IB: Minor cleanup during MAD startup and shutdown Minor cleanup during startup and shutdown Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a0c435ef9e2473934442282054d0f58235d1de2 Author: Hal Rosenstock Date: Wed Jul 27 11:45:26 2005 -0700 [PATCH] IB: Fix timeout/cancelled MAD handling Fixes an issue processing a sent MAD after it has timed out or been canceled. The race occurs when a response MAD matches with the send request. The request could time out or be canceled after the response MAD matches with the request, but before the request completion can be processed. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d760ce8f71ec5336c4a750a1293f26c0eb938c8a Author: Hal Rosenstock Date: Wed Jul 27 11:45:25 2005 -0700 [PATCH] IB: Change ib_mad_send_wr_private struct Have ib_mad_send_wr_private reference the private agent structure directly, rather than the exposed agent definition. Remove unneeded parameters to functions and simplify code were possible from this change. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8197a4ed1bba8c80ed6ddf4535ded80cb4152cf Author: Hal Rosenstock Date: Wed Jul 27 11:45:24 2005 -0700 [PATCH] IB: Change saving of user's send wr_id in MAD Move saving of user's send wr_id to better match layering of received response handling. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a0754fae8fb5162d1cf4f738d48bb1e8190c09f Author: Hal Rosenstock Date: Wed Jul 27 11:45:24 2005 -0700 [PATCH] IB: Combine some MAD routines Combine response_mad() and solicited_mad() routines into a single function and simplify/encapsulate its usage. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 824c8ae7d05bb4d21af707832c5bfa45d5494ec8 Author: Hal Rosenstock Date: Wed Jul 27 11:45:23 2005 -0700 [PATCH] IB: Add MAD helper functions Add new helper routines for allocating MADs for sending and formatting a send WR. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b82cab6b331b51d82f90d2207f3bbfdf09361ac9 Author: Hal Rosenstock Date: Wed Jul 27 11:45:22 2005 -0700 [PATCH] IB: Update MAD client API Automatically allocate a MR when registering a MAD agent. MAD clients are modified to use this updated API. Signed-off-by: Sean Hefty Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c183a4c33528d17cde0dcb093ae4248d8cb8f649 Author: Hal Rosenstock Date: Wed Jul 27 11:45:20 2005 -0700 [PATCH] IB: Update FMR functions Change some functions to return void rather than an int since they are always returning 0, thus making checking return values rather pointless. Signed-off-by: Tom Duffy Signed-off-by: Libor Michalek Signed-off-by: Hal Rosenstock Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 896e5518da74f9d20db8163526014fba16b1f2b4 Author: Kurt Wall Date: Wed Jul 27 11:45:20 2005 -0700 [PATCH] Add text for dealing with "dot releases" to README The emergence of so-called "dot releases" that are non-incremental patches against a base kernel requires different handling of patches (revert previous patches before applying the newest one). This patch adds a paragrach to $TOPDIR/README explaining how to do deal with dot release patches. Signed-off-by: Kurt Wall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5c2d749172657ed51e20e4b5ab540447666cc50 Author: Ralf Baechle Date: Wed Jul 27 11:45:19 2005 -0700 [PATCH] serial_core whitespace fix Use tabs for formatting like anywhere else in this file. Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71ae18ec690953e9ba7107c7cc44589c2cc0d9f1 Author: Blaisorblade Date: Wed Jul 27 11:45:18 2005 -0700 [PATCH] sys_get_thread_area does not clear the returned argument sys_get_thread_area does not memset to 0 its struct user_desc info before copying it to user space... since sizeof(struct user_desc) is 16 while the actual datas which are filled are only 12 bytes + 9 bits (across the bitfields), there is a (small) information leak. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44456d37b59d8e541936ed26d8b6e08d27e88ac1 Author: Olaf Hering Date: Wed Jul 27 11:45:17 2005 -0700 [PATCH] turn many #if $undefined_string into #ifdef $undefined_string turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02b775696fee75a04041d8d94db26a9462216d24 Author: Andreas Gruenbacher Date: Wed Jul 27 11:45:16 2005 -0700 [PATCH] reiserfs doesn't use mbcache reiserfs doesn't use the mbcache, so this can go. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec0344a2c93c770fe1ef7cdccd8115a69ca100d1 Author: Adrian Bunk Date: Wed Jul 27 11:45:15 2005 -0700 [PATCH] Documentation/Changes: document the required udev version Document that udev 058 is required. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c52ab42c11b5a7fb44bb84c954d09968e90e9e7 Author: Andreas Gruenbacher Date: Wed Jul 27 11:45:15 2005 -0700 [PATCH] mbcache: Remove unused mb_cache_shrink parameter The cache parameter to mb_cache_shrink isn't used. We may as well remove it. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dcce8e22bf9956ac2c5233539cac07c978e58c7 Author: Andrew Morton Date: Wed Jul 27 11:45:14 2005 -0700 [PATCH] ppc64: tpm_infineon build fix ppc64 uses symbol `DAR', as does the TPM driver, causing a build failure. Change the TPM name. Cc: Marcel Selhorst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebb81fdb3dd0be7514b84197c4f8388a17130f04 Author: Marcel Selhorst Date: Wed Jul 27 11:45:12 2005 -0700 [PATCH] tpm: Support for Infineon TPM This patch provides a new device driver for the Infineon SLD 9630 TT Trusted Platform Module (TPM 1.1b) [1] which is embedded on Intel- mainboards or in HP/ Fujitsu-Siemens / Toshiba-Notebooks. A nearly complete list where this module is integrated in can be found in [2]. This kernel module acts as a communication gateway between the linux kernel and the hardware chip and fits the TPM-specific interfaces created by IBM in drivers/char/tpm/tpm.h Further information about this module and a list of succesfully tested and therefore supported hardware can be found at our project page [3]. [1] http://www.infineon.com/cgi/ecrm.dll/ecrm/scripts/public_download.jsp?oid=114135&parent_oid=29049 [2] http://www.tonymcfadden.net/tpmvendors.htm [3] http://www.prosec.rub.de/tpm Signed-off-by: Marcel Selhorst Acked-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e77e17161ccb8bd877bf83b3611cd318e451c605 Author: Randy Dunlap Date: Wed Jul 27 11:45:11 2005 -0700 [PATCH] kernel/crash_dump.c: add kerneldoc Add kerneldoc to kernel/crash_dump.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9fd8a6d443b509147280f058d4e59f0b796a323 Author: Randy Dunlap Date: Wed Jul 27 11:45:11 2005 -0700 [PATCH] kernel/cpuset.c: add kerneldoc, fix typos Add kerneldoc to kernel/cpuset.c Fix cpuset typos in init/Kconfig Signed-off-by: Randy Dunlap Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 207a7ba8dc000e1b13acac97f3736810dd86e8e2 Author: Randy Dunlap Date: Wed Jul 27 11:45:10 2005 -0700 [PATCH] kernel/capability.c: add kerneldoc Add kerneldoc to kernel/capability.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c293621bbf678a3d85e3ed721c3921c8a670610d Author: Peter Staubach Date: Wed Jul 27 11:45:09 2005 -0700 [PATCH] stale POSIX lock handling I believe that there is a problem with the handling of POSIX locks, which the attached patch should address. The problem appears to be a race between fcntl(2) and close(2). A multithreaded application could close a file descriptor at the same time as it is trying to acquire a lock using the same file descriptor. I would suggest that that multithreaded application is not providing the proper synchronization for itself, but the OS should still behave correctly. SUS3 (Single UNIX Specification Version 3, read: POSIX) indicates that when a file descriptor is closed, that all POSIX locks on the file, owned by the process which closed the file descriptor, should be released. The trick here is when those locks are released. The current code releases all locks which exist when close is processing, but any locks in progress are handled when the last reference to the open file is released. There are three cases to consider. One is the simple case, a multithreaded (mt) process has a file open and races to close it and acquire a lock on it. In this case, the close will release one reference to the open file and when the fcntl is done, it will release the other reference. For this situation, no locks should exist on the file when both the close and fcntl operations are done. The current system will handle this case because the last reference to the open file is being released. The second case is when the mt process has dup(2)'d the file descriptor. The close will release one reference to the file and the fcntl, when done, will release another, but there will still be at least one more reference to the open file. One could argue that the existence of a lock on the file after the close has completed is okay, because it was acquired after the close operation and there is still a way for the application to release the lock on the file, using an existing file descriptor. The third case is when the mt process has forked, after opening the file and either before or after becoming an mt process. In this case, each process would hold a reference to the open file. For each process, this degenerates to first case above. However, the lock continues to exist until both processes have released their references to the open file. This lock could block other lock requests. The changes to release the lock when the last reference to the open file aren't quite right because they would allow the lock to exist as long as there was a reference to the open file. This is too long. The new proposed solution is to add support in the fcntl code path to detect a race with close and then to release the lock which was just acquired when such as race is detected. This causes locks to be released in a timely fashion and for the system to conform to the POSIX semantic specification. This was tested by instrumenting a kernel to detect the handling locks and then running a program which generates case #3 above. A dangling lock could be reliably generated. When the changes to detect the close/fcntl race were added, a dangling lock could no longer be generated. Cc: Matthew Wilcox Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e5ea098446e19175fdee4c2c4ec9366b0217db4 Author: Christian Borntraeger Date: Wed Jul 27 11:45:06 2005 -0700 [PATCH] s390: use __cpcmd in vmcp_write vmcp_write uses GPF_DMA for the memory allocation of the response buffer, so it can use the low level function __cpcmd directly, no need to call the wrapper. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ffa7405afe0eaf34db6254160b734f084601f68 Author: Heiko Carstens Date: Wed Jul 27 11:45:06 2005 -0700 [PATCH] s390: cpu timer reset in machine check handler Fix wrong move direction of timer values for cpu accounting in case of a machine check that indicates a broken cpu timer. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f878e4367580f37327e68ce2c6861245077f0904 Author: Heiko Carstens Date: Wed Jul 27 11:45:05 2005 -0700 [PATCH] s390: 31 bit memory size limit Limit reported memory size to 2GB if running in 31 bit mode. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4111796d89b8cfa36054d65d9858460b5ec0e8c7 Author: Stefan Bader Date: Wed Jul 27 11:45:04 2005 -0700 [PATCH] s390: channel tape fixes Tape driver fixes: - Added deferred condition handling to tape driver core. - Added ability to handle busy conditions. - Code cleanup. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bb0e01081c2ca585b5e145783fea53bb0589786 Author: Horst Hummel Date: Wed Jul 27 11:45:03 2005 -0700 [PATCH] s390: free dasd slab cache Free dasd slab cache on module unload. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d61f6f3d8b63a2aadcf8b058fe65581ccd8dee97 Author: Horst Hummel Date: Wed Jul 27 11:45:02 2005 -0700 [PATCH] s390: fba dasd i/o errors The FBA discipline does not use retries for failed requests. A request fails after the first unsuccessful start attempt. There are some rare conditions (e.g. CIO path recovery) in which the start of an i/o on a fba device can fail. A tiny amount of retries is therefore reasonable. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c63307f164a79e0ff6dd2da33436c59b3d3396cd Author: Cornelia Huck Date: Wed Jul 27 11:45:01 2005 -0700 [PATCH] s390: resource accessibility event handling When processing resource accessibility events, continue searching for further affected subchannels if a link address is provided in the event information. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d3ac7aadbccd8456fdca09394ddb570b95fe7dc Author: Cornelia Huck Date: Wed Jul 27 11:45:00 2005 -0700 [PATCH] s390: debug data for ifcc/ccc Fix debug data in case of an interface-control or channel-control check: don't log the not yet accumulated interrupt-response-block, but the one we just received. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99b2d8df1d06f1072a949fc1e01a08b94b084d5f Author: Heiko Carstens Date: Wed Jul 27 11:45:00 2005 -0700 [PATCH] s390: external call performance The kernel uses the SIGP external call order code to signal other CPUs. When running with dedicated CPUs external calls don't get delivered immediately but within a fixed polling invervall. This can lead to delays where the system appears to do nothing. Replace the SIGP external call order with the SIGP emergency call order since this one gets delivered immediately. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46ee058cdb3abab9313cc9cb9e9927d7672a718c Author: Heiko Carstens Date: Wed Jul 27 11:44:59 2005 -0700 [PATCH] s390: atomic64 inline functions The atomic64 primitives are supposed to have 64-bit parameters instead of int. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afff7e2b3b13dbd26a2b9991d3d571df111d92e8 Author: Martin Schwidefsky Date: Wed Jul 27 11:44:58 2005 -0700 [PATCH] s390: find_next_{zero}_bit fixes The find_next_{zero}_bit primitives on s390* should never return a bit number bigger then the bit field size. In the case of a bitfield that doesn't end on a word boundary, an offset that makes the search start at the last word of the bit field and the last word doesn't contain any zero/one bits the search is continued with a call to find_first_bit with a negative size. The search normally ends pretty quickly because the words following the bit field contain a mix of zeros and ones. But the bit number that is returned in this case is too big. To fix this and additional if to check for this case is needed. To make the code easier to read I removed the assembler parts from the find_next_{zero}_bit functions, the C-ified code is as good. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 951f22d5b1f0eaae35dafc669e3774a0c2084d10 Author: Martin Schwidefsky Date: Wed Jul 27 11:44:57 2005 -0700 [PATCH] s390: spin lock retry Split spin lock and r/w lock implementation into a single try which is done inline and an out of line function that repeatedly tries to get the lock before doing the cpu_relax(). Add a system control to set the number of retries before a cpu is yielded. The reason for the spin lock retry is that the diagnose 0x44 that is used to give up the virtual cpu is quite expensive. For spin locks that are held only for a short period of time the costs of the diagnoses outweights the savings for spin locks that are held for a longer timer. The default retry count is 1000. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8449d003f323ca7a00eec38905d984ba5ec83a29 Author: Miles Bader Date: Wed Jul 27 11:44:56 2005 -0700 [PATCH] v850: Define L1_CACHE_SHIFT and L1_CACHE_SHIFT_MAX Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b2bf06994b9cd6067e5c7620e270eec73fef70b Author: Miles Bader Date: Wed Jul 27 11:44:55 2005 -0700 [PATCH] v850: Update PCI support These changes are untested (I no longer have the hardware). Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 947ac8b9265e2a22552552d011db1e161f802a4a Author: Miles Bader Date: Wed Jul 27 11:44:55 2005 -0700 [PATCH] v850: Add pte_file Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21ea9f63297497df3040c70a67a207d229368a4c Author: Miles Bader Date: Wed Jul 27 11:44:54 2005 -0700 [PATCH] v850: Update ioremap return type and add ioread/iowrite functions Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f307d365ea4db4848a0b43bbbdf3c96f4d2e0933 Author: Miles Bader Date: Wed Jul 27 11:44:53 2005 -0700 [PATCH] v850: Add defconfigs Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f9a6e101a962dd845eda69fa066184457968228 Author: Miles Bader Date: Wed Jul 27 11:44:53 2005 -0700 [PATCH] v850: const-qualify first parameter of find_next_zero_bit Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9c3d6b925e0fdb5e62fad6d81e4004897cfe79d Author: Miles Bader Date: Wed Jul 27 11:44:52 2005 -0700 [PATCH] v850: Define pfn_valid Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e63b68de5c9bf68cfb4a272469147b19176d76d6 Author: Mikael Starvik Date: Wed Jul 27 11:44:51 2005 -0700 [PATCH] CRIS IDE driver * Added abstraction layer for subarchs. * Added v32 support. * Renamed driver. Signed-off-by: Mikael Starvik Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51533b615e605d86154ec1b4e585c8ca1b0b15b7 Author: Mikael Starvik Date: Wed Jul 27 11:44:44 2005 -0700 [PATCH] CRIS update: new subarchitecture v32 New CRIS sub architecture named v32. From: Dave Jones Fix swapped kmalloc args Signed-off-by: Mikael Starvik Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d01e6ce785884a5db5792cd2e5bb36fa82fe23c Author: Mikael Starvik Date: Wed Jul 27 11:44:43 2005 -0700 [PATCH] CRIS update: updates for 2.6.12 Patches to make CRIS work with 2.6.12. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcf1310b72149d016970c666539d4d73bb77c086 Author: Mikael Starvik Date: Wed Jul 27 11:44:42 2005 -0700 [PATCH] CRIS update: synchronous serial port driver Include file for synchronous serial port driver. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d20a541b089ecb67a88a673548161b686ed7b85 Author: Mikael Starvik Date: Wed Jul 27 11:44:42 2005 -0700 [PATCH] CRIS update: SMP Patches to support SMP. * Each CPU has its own current_pgd. * flush_tlb_range is implemented as flush_tlb_mm. * Atomic operations implemented with spinlocks. * Semaphores implemented with spinlocks. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21783c9746619a782c21be606f6498bbd4d4615e Author: Mikael Starvik Date: Wed Jul 27 11:44:40 2005 -0700 [PATCH] CRIS update: profiler System-level profiler. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59c61138a556cf89692e0d5bd2c9de5df54b824f Author: Mikael Starvik Date: Wed Jul 27 11:44:40 2005 -0700 [PATCH] CRIS update: pci Patches to make it possible to add PCI support. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f18cfbf0990bfc2e8e7706eeb9e5bef898ae923 Author: Mikael Starvik Date: Wed Jul 27 11:44:39 2005 -0700 [PATCH] CRIS update: mm Memory management patches. * SMP support. * Non-executable stack (on v32). * 4-level page tables. * Added simple Thread Local Storage support. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cf32cad153d63ac4f6f2d5dd16ddd32ad72d578 Author: Mikael Starvik Date: Wed Jul 27 11:44:38 2005 -0700 [PATCH] CRIS update: misc patches * Start threads with IRQs enabled. * Move symbol exports to arch specific file. * Prepare for real command line in the future. * Handle csum for partition that crosses flash boundary. * Set utsname. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e0cea1decf7f21df0496571c218df3b3b8cce99 Author: Mikael Starvik Date: Wed Jul 27 11:44:36 2005 -0700 [PATCH] CRIS update: IRQ Use the generic IRQ framework Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63245d2cde2be64f172388c2c50862f233c05700 Author: Mikael Starvik Date: Wed Jul 27 11:44:35 2005 -0700 [PATCH] CRIS update: I/O and DMA allocator Added I/O and DMA allocators to be used by drivers. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e9204265b4ec6680fad9abc7a78b94087983916 Author: Mikael Starvik Date: Wed Jul 27 11:44:34 2005 -0700 [PATCH] CRIS update: drivers Updates to device drivers. * Use I/O and DMA allocators. * Use wait_event_interruptible instead of interrutiple_sleep_on. * Added spinlocks SMP. * Changed restore_flags to local_irq_restore etc. * Updated IDE driver include to fit 2.6.12. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 059163cabc01a15b9e2cf10e5de5b6dc06e0da1f Author: Mikael Starvik Date: Wed Jul 27 11:44:32 2005 -0700 [PATCH] CRIS update: debug Improvements to crash debug code. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05b4c28cba8dc48505322988340307073c353b1e Author: Mikael Starvik Date: Wed Jul 27 11:44:31 2005 -0700 [PATCH] CRIS update: console Changes to console. * Added LF->CRLF translation * Make use of real console framework. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e41d6522a6922a95f9d953f4171b45b82b3d6f4 Author: Mikael Starvik Date: Wed Jul 27 11:44:30 2005 -0700 [PATCH] CRIS update: configuration and build Changes to configuration and build system. * Added v32 sub architecture. * Use generic hard IRQ. * Added SMP options. * Added options to OOPS at NMI and reboot at OOM. * Made it possible to set objtree. * Added option to select Kernel GDB serial port. * Corrected Kconfig usage. * Added system profiler. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb09f540a1c5e6c5beb6e82f554d51a1f2c87e67 Author: Mikael Starvik Date: Wed Jul 27 11:44:27 2005 -0700 [PATCH] CRIS update: arch split Changes necessary to make the sub-arch split complete. Signed-off-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1637f437f1a2e552e0572e02d46e2c395a4ecaf Author: Adrian Bunk Date: Wed Jul 27 11:44:24 2005 -0700 [PATCH] m32r: add missing Kconfig help text There's no help text for CONFIG_DEBUG_STACKOVERFLOW - add one. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dab175f393cdf30fbaec5978682a49dc3c890b2f Author: Adrian Bunk Date: Wed Jul 27 11:44:23 2005 -0700 [PATCH] i386: add missing Kconfig help text There's no help text for CONFIG_DEBUG_STACKOVERFLOW - add one. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d5c74d778fc59a46f8e173cf986e7320e15e50 Author: Yoichi Yuasa Date: Wed Jul 27 11:44:22 2005 -0700 [PATCH] mips: remove obsolete GIU driver for vr41xx This patch has removed obsolete GIU driver for vr41xx. This patch already has been applied to mips tree. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 488f84994c55927eef587a0827dc957c908a0bad Author: David Gibson Date: Wed Jul 27 11:44:21 2005 -0700 [PATCH] ppc64: remove another fixed address constraint Presently the LparMap, one of the structures the kernel shares with the legacy iSeries hypervisor has a fixed offset address in head.S. This patch changes this so the LparMap is a normally initialized structure, without fixed address. This allows us to use macros to compute some of the values in the structure, which wasn't previously possible because the assembler always uses signed-% which gets the wrong answers for the computations in question. Unfortunately, a gcc bug means that doing this requires another structure (hvReleaseData) to be initialized in asm instead of C, but on the whole the result is cleaner than before. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 533f08172e21521a74e15cdef8a13c929596d506 Author: David Gibson Date: Wed Jul 27 11:44:19 2005 -0700 [PATCH] ppc64: dynamically allocate segment tables PPC64 machines before Power4 need a segment table page allocated for each CPU. Currently these are allocated statically in a big array in head.S for all CPUs. The segment tables need to be in the first segment (so do_stab_bolted doesn't take a recursive fault on the stab itself), but other than that there are no constraints which require the stabs for the secondary CPUs to be statically allocated. This patch allocates segment tables dynamically during boot, using lmb_alloc() to ensure they are within the first 256M segment. This reduces the kernel image size by 192k... Tested on RS64 iSeries, POWER3 pSeries, and POWER5. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fdfb382813d66757aef4d83e369f8153a40b371 Author: Olaf Hering Date: Wed Jul 27 11:44:18 2005 -0700 [PATCH] make a few functions static in pmac_setup.c Making a few functions static saves a few bytes, but only on ppc32. text data bss dec hex filename 3752421 1605208 345608 5703237 570645 ../O-ppc64_iSeries_defconfig/vmlinux 3709411 2042552 339992 6091955 5cf4b3 ../O-ppc64_maple_defconfig/vmlinux 5397329 3054824 679856 9132009 8b57e9 ../O-ppc64_pSeries_defconfig/vmlinux -3882695 417552 197760 4498007 44a257 ../O-ppc_common_defconfig/vmlinux -3414510 574500 241440 4230450 408d32 ../O-ppc_pmac_defconfig/vmlinux +3882627 417168 197760 4497555 44a093 ../O-ppc_common_defconfig/vmlinux +3414442 575428 241440 4231310 40908e ../O-ppc_pmac_defconfig/vmlinux Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62b662a30963c2e7bdfc129f78c3da0559202379 Author: Andrew Morton Date: Wed Jul 27 11:44:17 2005 -0700 [PATCH] ppc64: genrtc build fix genrtc.c won't compile on ppc64. Seems that ppc32 does support it though? We do this wrong btw - we should be selecting GEN_RTC in each arch/xxx/Kconfig. Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64c74de7a3a744bc546ef76872be6285307ce101 Author: Olaf Hering Date: Wed Jul 27 11:44:16 2005 -0700 [PATCH] ppc64: hide CONFIG_ADB This bites me all day when I use our default config for ppc64. We use a patch to fix the compile errors and provide the CONFIG_MAC_EMUMOUSEBTN functionality (which is behind CONFIG_INPUT_ADBHID). But Benh doesnt like it. http://ozlabs.org/pipermail/linuxppc64-dev/2005-March/003423.html Just hide all the ADB parts from via-pmu on ppc64 instead. drivers/macintosh/adbhid.c: In function `adbhid_init': drivers/macintosh/adbhid.c:1199: error: `_MACH_chrp' undeclared (first use in this function) drivers/macintosh/adbhid.c:1199: error: (Each undeclared identifier is reported only once drivers/macintosh/adbhid.c:1199: error: for each function it appears in.) Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc3a1ec6030f7a6a9e78172e1221be9baed68e8 Author: Olaf Hering Date: Wed Jul 27 11:44:15 2005 -0700 [PATCH] ppc64: update defconfigs update defconfig, use new CONFIG_HZ and set it to 100 just for the kicks. Signed-off-by: Olaf Hering Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c64d7b4cea71b6841d9d96d390aed323c9fe1c9d Author: Kumar Gala Date: Wed Jul 27 11:44:14 2005 -0700 [PATCH] ppc32: Fix building of TQM8260 board Added missing include of cpm2.h in correct order to allow TQM8260 to build Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 757569295d4204b4e00dd9294790e09ed5a2ffd2 Author: Eugene Surovegin Date: Wed Jul 27 11:44:13 2005 -0700 [PATCH] ppc32: fix 440SP MAL channels count Fix the MAL channels count in PPC 440SP OCP definition. PPC 440SP has only 1 EMAC attached to MAL. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f6a3d083729c76ced92106c259f0e6536a2eaea Author: Matt Porter Date: Wed Jul 27 11:44:12 2005 -0700 [PATCH] ppc32: fix dma_map_page() to use page_to_bus() The following trivial patch changes dma_map_page() to use page_to_bus() instead of open-coding it (incorrectly in some cases). Signed-off-by: Eugene Surovegin Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15ce2982c6bc41ccd7f2cbca63e024aa9044c000 Author: Kumar Gala Date: Wed Jul 27 11:44:11 2005 -0700 [PATCH] ppc32: Fix building of radstone_ppc7d Updated radstone_ppc7d_defconfig to include the ds1337 driver which is used by the platform code. This fixes the link error when building. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 571e63fc839e57965749acf19d58b3cbbef5d06a Author: Kumar Gala Date: Wed Jul 27 11:44:10 2005 -0700 [PATCH] ppc32: Fix building of prpmc750 Updated prpmc750 platform code to include serial_reg.h to fix building. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 127384524b31d99bc3f9e2d2e7af4a5fad572235 Author: Kumar Gala Date: Wed Jul 27 11:44:10 2005 -0700 [PATCH] ppc32: Fix typo in setup of 2nd PCI bus on 85xx Typo bug that was using PCI1 defines instead of PCI2 when setting up the second PCI bus controller on 85xx based systems. This hasn't been a real issue since currently the PCI2 sizes are the same as the PCI1 sizes for currently supported boards. Thanks to Andrew Klossner @ Xerox for point this out. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c41b72d5bd590e6ff781d6bdfc71595f3996bacf Author: Downing, Thomas Date: Wed Jul 27 11:44:09 2005 -0700 [PATCH] ppc32: fix compilation error with CONFIG_PQ2FADS The 2.6.12.3 kernel compilation fails for ARCH=ppc when CONFIG_PQ2FADS=y. This patch has been tested on Freescale PQ2FADS-ZU and -VR boards. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a1ce8aa2d9611a779c308fbf332ae86217b0df6 Author: Marcelo Tosatti Date: Wed Jul 27 11:44:08 2005 -0700 [PATCH] ppc32: 8xx: update DataTLBMiss exception comment On PPC 8xx, the DataTLBMiss handler does not jump directly to the page fault handler, as was the case in v2.4. It instead loads an invalid TLB which causes a subsequent DataTLBError exception. The comment on top of it haven't been update to reflect the change, though. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e886c3b435d14668aefaed449d8d7ca6dce3a8 Author: Kumar Gala Date: Wed Jul 27 11:44:07 2005 -0700 [PATCH] ppc32: Make the UARTs on MPC824x individual platform devices The UARTs on the MPC824x are unique devices and really shouldn't be thought of as a DUART. In addition, if both UARTs are in use we need to configure the part to enable the 2nd UART since the pins for the UARTs are multiplexed. Adds support to run the 824x Sandpoint with both UARTs if desired. Signed-off-by: Matt McClintock Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d054b5acfe1f68460fe70aff5028ad95a7a38140 Author: Kumar Gala Date: Wed Jul 27 11:44:06 2005 -0700 [PATCH] ppc32: Add proper prototype for cpm2_reset() Added a proper prototype for cpm2_reset() which gets rid of a build warning. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 694e50db5d75f4c29011d7d15e069a95aded8af1 Author: Olaf Hering Date: Wed Jul 27 11:44:04 2005 -0700 [PATCH] ppc32: update defconfigs update pmac_defconfig enable all relevant options in common_defconfig, so it can serve as a compiletest for PPC_MULTIPLATFORM configuration Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b625c001a897394b969becac3358d733728d02b Author: Olaf Hering Date: Wed Jul 27 11:44:03 2005 -0700 [PATCH] ppc/ppc64: use Kconfig.hz use new Kconfig.hz on ppc/ppc64, use also Kconfig.preempt for ppc Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12b1c5f382194d3f656e78fb5c9c8f2bfbe8ed8a Author: Andy Whitcroft Date: Wed Jul 27 11:44:02 2005 -0700 [PATCH] Remove bogus warning in page_alloc.c Originally __free_pages_bulk used the relative page number within a zone to define its buddies. This meant that to maintain the "maximally aligned" requirements (that an allocation of size N will be aligned at least to N physically) zones had to also be aligned to 1< Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165cd40235732644b1856a5ed5e158c9b93f6010 Author: suzuki Date: Wed Jul 27 11:43:59 2005 -0700 [PATCH] madvise() does not always return -EBADF on non-file mapped area The madvise() system call returns -EBADF for areas which does not map to files, only for *behaviour* request MADV_WILLNEED. According to man pages, madvise returns : EBADF - the map exists, but the area maps something that isn't a file. Fixes bug 2995. Signed-off-by: Suzuki K P Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4bfdf37830111321e2cd1fe0102dd776ce93194d Author: Andrey Panin Date: Wed Jul 27 11:43:58 2005 -0700 [PATCH] consolidate CONFIG_WATCHDOG_NOWAYOUT handling Attached patch removes #ifdef CONFIG_WATCHDOG_NOWAYOUT mess duplicated in almost every watchdog driver and replaces it with common define in linux/watchdog.h. Signed-off-by: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7657e20e46e26b198b24e2aefc696410bbe889c9 Author: Brian Gerst Date: Wed Jul 27 11:43:57 2005 -0700 [PATCH] Fix warning in powernow-k8.c powernow-k8.c: In function `query_current_values_with_pending_wait': powernow-k8.c:110: warning: `hi' may be used uninitialized in this function Signed-off-by: Brian Gerst Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbaf364103cee15c895e2086723d0ad9ef47ae99 Author: Alexey Dobriyan Date: Wed Jul 27 11:43:56 2005 -0700 [PATCH] drm: via: fix sparse warnings Signed-off-by: Alexey Dobriyan Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db1de1595d03d3ddea3e0548b20decb0a32e4258 Author: David Ranson Date: Wed Jul 27 11:43:55 2005 -0700 [PATCH] serial: MRi MRI-PCIDS1 dual port serial card Add support for the MRi PCIDS1 dual port serial card. This card is a little controversial since it is the subject of a PCI vendor/device ID clash. (See http://www.ussg.iu.edu/hypermail/linux/kernel/0303.1/0516.html). I have for now just used the hex ID 0x950a. The divisor was part calculated part iterated, so may not be exactly correct (but works for me at all settings between 300 - 115300 bps). Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8c9e14e8fdce0af9f5eed7ce6dd26b91fc8f4e Author: Andrew Morton Date: Wed Jul 27 11:43:55 2005 -0700 [PATCH] statically link halfmd4 For some reason halfmd4 isn't being linked into the kernel any more and modular ext3 wants it. So statically link the halfmd4 code into the kernel. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aaf18ff9de1f37bf674236fc0779c3aaa65b998 Author: Andrew Morton Date: Wed Jul 27 11:43:54 2005 -0700 [PATCH] check_user_page_readable() deadlock fix Fix bug identifued by Richard Purdie . oprofile calls check_user_page_readable() from interrupt context, so we deadlock over various VFS locks. But check_user_page_readable() doesn't imply either a read or a write of the page's contents. Change __follow_page() so that check_user_page_readable() can tell __follow_page() that we're not accessing the page's contents, and use that info to avoid the troublesome lock-takings. Also, make follow_page() inline for the single callsite in memory.c to save a bit of stack space. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cfc11ed45e4c00750039e5a18c0fc0d681e19db Author: Carsten Otte Date: Wed Jul 27 11:43:52 2005 -0700 [PATCH] fix xip sparse file handling in ext2 Oliver Paukstadt from our test department is testing the xip patches in Linus' git-tree. He found a problem that shows when reading a file that contains sparse blocks (holes) on a -o xip mounted ext2 filesystem: the BUG_ON() in fs/ext2/xip.c:40 triggers where it should not. The problem was introduced by a cleanup in my previous patch, this patch fixes it. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1872bcebbcd6ad7ddd99e92fb1e4f3d19e73919c Author: Pete Zaitcev Date: Wed Jul 27 11:43:51 2005 -0700 [PATCH] ub: fix for blank CDs This patch fixes a microcode lockup in my CD-ROM adapters when a blank CD is inserted. However, do not try to burn CDs yet! I'm pretty sure that trying it will end in coasters. - Fix a few cases where we were unable to resynchronize with replies for previous commands. The main thing is to keep reading replies in case of a stall. This is done with the new state CLRRS. - Since I am forgetting the basic state machine already, document it. - Move counter increments in the looping path in its own function. - Fix a harmless buglet in case CSW read fails to submit: do not override state. - Implement the Alan Stern's idea for adaptive signature checking. Signed-off-by: Pete Zaitcev Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90c5029e471636f21221bf66b9a46ada2ab79a22 Author: Andi Kleen Date: Wed Jul 27 11:43:50 2005 -0700 [PATCH] Undo mempolicy shared policy rbtree microoptimization All mempolicy changes must be inside the spinlock and readding the rb_erase prevents a crash while doing: > echo "1" > /tmp/numatest > numactl --length=0x4000 --shm /tmp/numatest --localalloc > numactl --length=0x2000 --offset=0 --shm /tmp/numatest --membind=0 > numactl --length=0x2000 --offset=0x2000 --shm /tmp/numatest --membind=1 > ipcs > ipcrm -M "the_key_value_of_this_shm_area" Based on a patch by John Blackwood Cc: Cc: Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c223695634fb360ed65e5a811161853a05e46962 Author: V. ANANDA KRISHNAN Date: Wed Jul 27 11:43:49 2005 -0700 [PATCH] jsm: warning fixes - updates the version - fix mixing of declarations and code. The mixing of declarations and code displays warnings when used against RedHat RHEL4.0 distro (compiler version is 3.4.3-22.1) and hence I separated them out. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9539c1d495c8d92837e7b6382a1219ac275b94b2 Author: V. ANANDA KRISHNAN Date: Wed Jul 27 11:43:48 2005 -0700 [PATCH] jsm: use dynamic major number allocation The jsm driver uses a static number of 253. The major number 253 is a reserved for "LOCAL/EXPERIMENTAL USE" by both char and block devices. So take advantage of the dynamic allocation of major number by the kernel. Signed-off-by: V. Ananda Krishnan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49f29915856435ad8e34a4a3a907b09682a5826e Author: Olivier Blin Date: Wed Jul 27 11:43:47 2005 -0700 [PATCH] i4l: add Olitec ISDN PCI card in hisax gazel driver This patch adds support for the Olitec ISDN PCI card in the hisax gazel driver. The gazel driver supports this card, but wasn't aware of its PCI ids. Users used to modify the PCI ids of a supported card in include/linux/pci_ids.h and recompile their kernel to get this card running, as said in most Howtos. This patch makes the hisax gazel driver recognize the PCI ids of the Olitec ISDN PCI card. Signed-off-by: Olivier Blin Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b24b1033451fcc87087a692fc47ca45daebd51ac Author: Alan Stern Date: Wed Jul 27 11:43:46 2005 -0700 [PATCH] scsi_scan: check return code from scsi_sysfs_add_sdev Adds a missing check for an error return code from scsi_sysfs_add_sdev. This resolves entry #4863 in the OSDL bugzilla. Although in that bug report the failure occurred because of a confusion over scanning vs. rescanning, in general add_sdev can fail for a number of reasons (the simplest being insufficient memory) and the caller should cope properly. Signed-off-by: Alan Stern Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 104e49fc1e1656142869fab0e75d7df52b72eed9 Author: Ian Kent Date: Wed Jul 27 11:43:45 2005 -0700 [PATCH] autofs4: fix infamous "Busy inodes after umount ..." message If the automount daemon receives a signal which causes it to sumarily terminate the autofs4 module leaks dentries. The same problem exists with detached mount requests without the warning. This patch cleans these dentries at umount. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f94c8e1256fcb786e1918e30bdaeccf669bf63c Author: Dominik Brodowski Date: Wed Jul 27 11:43:44 2005 -0700 [PATCH] Add pcibios_bus_to_resource for parisc Signed-off-by: Dominik Brodowski Acked-by: Grant Grundler Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d912d1ff218195c248c770eb677726695e07aa40 Author: George Anzinger Date: Wed Jul 27 11:43:44 2005 -0700 [PATCH] itimer fixes Fix the recent off-by-one fix in the itimer code: 1. The repeating timer is figured using the requested time (not +1 as we know where we are in the jiffie). 2. The tests for interval too large are left to the time_val to jiffie code. Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7343f01e326374e69666ca6001bdb6a7c67e9f7 Author: Rolf Eike Beer Date: Wed Jul 27 11:43:42 2005 -0700 [PATCH] watchdog: add missing 0x in alim1535_wdt.c Usually the device IDs are given in hex. This one is a bit strange: it is without 0x in the first place and used with it some lines later. I suspect the first one to be the wrong. Signed-off-by: Rolf Eike Beer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bba0e4670a4e1841a96b561dcc60ebe335049891 Author: Nigel Cunningham Date: Wed Jul 27 11:43:41 2005 -0700 [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code This patch fixes a warning in the disable_nonboot_cpus call in kernel/power/smp.c. Signed-off by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a14d4c898285623d1f5c338b659fa82cf4480fb Author: Adrian Bunk Date: Wed Jul 27 11:43:41 2005 -0700 [PATCH] drivers/pnp/pnpbios/rsparser.c: fix compile error with PCI=n drivers/pnp/pnpbios/rsparser.c: In function 'pnpbios_parse_allocated_irqresource': drivers/pnp/pnpbios/rsparser.c:67: error: too many arguments to function 'pcibios_penalize_isa_irq' Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab6862e6dab813ecde9ae7da506188dc1e9f11bb Author: Jan Kara Date: Wed Jul 27 11:43:40 2005 -0700 [PATCH] ext3: drop quota references before releasing inode We must drop references to quota structures before releasing the inode. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7e9a52ef0089492bba457dfb8eba1a54e19f24a Author: Jan Kara Date: Wed Jul 27 11:43:39 2005 -0700 [PATCH] ext2: drop quota reference before releasing inode We must drop references to quota structures before releasing the inode. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3bb8afd965159f155d4f629cbea158cbcc69275 Author: Jeff Mahoney Date: Wed Jul 27 11:43:38 2005 -0700 [PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL reiserfs_new_inode() can call iput() with the xattr lock held. This will cause a deadlock to occur when reiserfs_delete_xattrs() is called to clean up. The following patch releases the lock and reacquires it after the iput. This is safe because interaction with xattrs is complete, and the relock is just to balance out the release in the caller. The locking needs some reworking to be more sane, but that's more intrusive and I was just looking to fix this bug. Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b3ad673460fc997a652cd58aa3a345d40e5218 Author: Jens Axboe Date: Wed Jul 27 11:43:37 2005 -0700 [PATCH] as-iosched tunable encoding fix AS is doing internal msec<->jiffies conversions twice, so the sysfs tunables which represent time are coming out wrong. The switch from HZ=1000 exposed this. Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef2a701d444a4ea9790146e92756b0dde5070a15 Author: Nigel Cunningham Date: Wed Jul 27 11:43:36 2005 -0700 [PATCH] Fix missing refrigerator invocation in jffs2 Here's a patch to fix a missing refrigerator call in jffs2. Signed-off-by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e50e7a99d04774506f4e1dee51afba37125cd3c Author: Nigel Cunningham Date: Wed Jul 27 11:43:35 2005 -0700 [PATCH] Add missing tvaudio try_to_freeze() Tvaudio lacks a refrigerator call. This patch fixes that. Signed-off-by: Nigel Cunningham Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e6c1f5facffd94000832d402be1ea75f73c90e3 Author: Nigel Cunningham Date: Wed Jul 27 11:43:34 2005 -0700 [PATCH] try_to_freeze() call fixes Here are fixes for four try_to_freeze calls that are still (incorrectly) using a parameter after the recent try_to_freeze() changes. Signed-off-by: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54264911ce8c3f4a9e7fc193bc78a85e04df7fa0 Author: Andi Kleen Date: Wed Jul 27 11:43:34 2005 -0700 [PATCH] x86_64: fix SMP boot lockup on some machines Fixes boot up lockups on some machines where CPU apic ids don't start with 0 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d4579ed553e8bb29d580c08bfcabcb0826a89c3 Author: Jeff Dike Date: Wed Jul 27 11:43:33 2005 -0700 [PATCH] uml: fix misdeclared function This fixes an interface which differed from its declaration, and includes the relevant header so that this doesn't happen again. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5 Author: Dominik Hackl Date: Wed Jul 27 11:43:32 2005 -0700 [PATCH] uml: update module interface This patch replaces the deprecated MODULE_PARM function by the new module_param function. Signed-off-by: Dominik Hackl Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb66504d65e54210d7dc55a0027d309ca5f51f83 Author: Paolo 'Blaisorblade' Giarrusso Date: Wed Jul 27 11:43:31 2005 -0700 [PATCH] uml: add skas0 command-line option This adds the "skas0" parameter to force skas0 operation on SKAS3 host and shows which operating mode has been selected. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6b038a24a826fe22d9823722cfbbbd3ad7a3021 Author: Olaf Hering Date: Wed Jul 27 11:43:30 2005 -0700 [PATCH] uml: add dependency to arch/um/Makefile for parallel builds the header file must be build before mk_user_constants. Adding it as a direct dep doesnt work for some reason. arch/um/os-Linux/util/mk_user_constants.c:2:26: error: user-offsets.h: No such file or directory arch/um/os-Linux/util/mk_user_constants.c: In function 'main': arch/um/os-Linux/util/mk_user_constants.c:17: error: '__UM_FRAME_SIZE' undeclared (first use in this function) arch/um/os-Linux/util/mk_user_constants.c:17: error: (Each undeclared identifier is reported only once arch/um/os-Linux/util/mk_user_constants.c:17: error: for each function it appears in.) make[1]: *** [arch/um/os-Linux/util/mk_user_constants] Error 1 Signed-off-by: Olaf Hering Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8648373af214d3c74b81e78049a64dad986c1024 Author: Olaf Hering Date: Wed Jul 27 11:43:29 2005 -0700 [PATCH] uml: readd missing define to arch/um/Makefile-i386 scripts/Makefile.build:13: /Makefile: No such file or directory scripts/Makefile.build:64: kbuild: Makefile.build is included improperly the define was removed, but its still required to build some targets. Signed-off-by: Olaf Hering Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b5c7ae83704320e2afb0912f4c42eadabc7535b Author: NeilBrown Date: Wed Jul 27 11:43:28 2005 -0700 [PATCH] md: when resizing an array, we need to update resync_max_sectors as well as size Without this, and attempt to 'grow' an array will claim to have synced the extra part without actually having done anything. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b38817dda45bc2990a8d593f3a1b4d444b2dcf4f Author: Yoichi Yuasa Date: Wed Jul 27 11:43:28 2005 -0700 [PATCH] mips: fbdev Kcofnig fix arch/mips/Kconfig is defining CONFIG_FB as bool and drivers/video/Kconfig was changed a while ago to define it as tristate. Remove the MIPS definition. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c10b873695c6a1de0d8ebab40b525575ca576683 Author: Alexey Dobriyan Date: Wed Jul 27 11:43:27 2005 -0700 [PATCH] Really __nocast-annotate kmalloc_node() One chunk was lost somewhere between my and Andrew's machine. Noticed by Victor Fusco. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c86cb127b2b7614903cb2a38db3207488a0405a Author: Kumar Gala Date: Wed Jul 27 11:43:26 2005 -0700 [PATCH] I2C-MPC: Restore code removed A previous patch to remove support for the OCP device model was way to generious and moved some of the platform device model code, oops. Signed-off-by: Kumar Gala Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 388b0925f59461cb482447ea87e6942b5653ee1d Author: Andrew Morton Date: Wed Jul 27 11:43:25 2005 -0700 [PATCH] user_mode_vm() build fix include/asm/ptrace.h: In function `user_mode_vm': include/asm/ptrace.h:67: `VM_MASK' undeclared (first use in this function) Cc: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48b0e5487fcdcb3421bda67666277348b2bd2661 Author: David S. Miller Date: Wed Jul 27 16:08:44 2005 -0700 [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2. The page->flags D-cache dirty state tracking depended upon NR_CPUS being a power-of-2 via it's "NR_CPUS - 1" masking. Fix that to use a fixed (256 - 1) mask as that is the limit imposed by thread_info->cpu which is a "u8". Finally, add a compile time check that NR_CPUS is not greater than 256. Signed-off-by: David S. Miller commit 5e43db7730e7cef7d37968ea789c41392519a864 Author: Matt Mackall Date: Wed Jul 27 15:24:42 2005 -0700 [NET]: Move in_aton from net/ipv4/utils.c to net/core/utils.c Move in_aton to allow netpoll and pktgen to work without the rest of the IPv4 stack. Fix whitespace and add comment for the odd placement. Delete now-empty net/ipv4/utils.c Re-enable netpoll/netconsole without CONFIG_INET Signed-off-by: Matt Mackall Signed-off-by: David S. Miller commit 614d73edae68836f7659ee8efec90878e6215fb1 Author: Russell King Date: Wed Jul 27 23:00:05 2005 +0100 [ARM SMP] Fix data corruption in test_* bitops If we found that the bit was already in the desired state, we would skip performing the operation, and write random data back. Signed-off-by: Russell King commit 7cee432a22bb328ea7a4012dacc5a3471fabeb07 Author: Nick Sillik Date: Wed Jul 27 14:46:03 2005 -0700 [NETFILTER]: Fix -Wunder error in ip_conntrack_core.c Signed-off-by: Nick Sillik Signed-off-by: David S. Miller commit 6d376756f2cf3478d5a4fdb8d18e958948366b9d Author: Michael S. Tsirkin Date: Wed Jul 27 14:42:45 2005 -0700 [IB/mthca]: Use io_remap_pfn_range for PCI space Use io_remap_pfn_range to remap IO pages (remap_pfn_range is for memory). Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2181858bb814b51de8ec25b3ddd37cd06c53b0c9 Author: Roland Dreier Date: Wed Jul 27 14:41:32 2005 -0700 [IB/ipoib]: Fix unsigned comparisons to handle wraparound Fix handling of tx_head/tx_tail comparisons to handle wraparound. Signed-off-by: Roland Dreier commit abdf119b4dad015803819c3d046d20cfbd393e87 Author: Gleb Natapov Date: Wed Jul 27 14:40:00 2005 -0700 [IB/uverbs]: Add O_ASYNC support Add support for O_ASYNC notifications on userspace verbs completion and asynchronous event file descriptors. Signed-off-by: Gleb Natapov Signed-off-by: Roland Dreier commit 42b1806d5cfc93bf8c3d7fa6e9e79e4ec860c678 Author: Roland Dreier Date: Wed Jul 27 14:38:49 2005 -0700 [IB/mthca]: Fix error CQ entry handling on mem-free HCAs Fix handling of error CQ entries on mem-free HCAs: the doorbell count is never valid so we shouldn't look at it. This fixes problems exposed by new HCA firmware. Signed-off-by: Roland Dreier commit a77be819f94fc55627ee257f496198ad703aaad4 Author: Kyle Moffett Date: Wed Jul 27 14:22:30 2005 -0700 [NET]: Fix setsockopt locking bug On Sparc, SO_DONTLINGER support resulted in sock_reset_flag being called without lock_sock(). Signed-off-by: Kyle Moffett Signed-off-by: David S. Miller commit b833961bd30eec201b9a94eec36aa7ac96f9c9c0 Author: Keith Owens Date: Thu Jul 21 23:41:00 2005 -0700 [IA64] unwind.c uses wrong unat from switch_stack unwind.c can read the wrong unat bits from switch_stack. sw->caller_unat is the value of ar.unat when the task was blocked. sw->ar_unat is the value of ar.unat after doing st8.spill for r4-7. IOW, ar_unat is caller_unat with 4 bits changed. unw_access_gr() uses sw->ar_unat for r4-7 (correct), but it also uses sw->ar_unat for other scratch registers (incorrect). sw->ar_unat should only be used for r4-7, everything else should use sw->caller_unat, unless modified by unwind info. Using sw->ar_unat risks picking up the 4 bits that were overwritten when r4-7 were saved. Also this line is wrong unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_UNAT); and should be unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_PFS); Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 40a085c41dc3d5991fdf90ed2557cc06cce0590a Author: David S. Miller Date: Wed Jul 27 14:14:39 2005 -0700 [SPARC]: Add inotify syscall entries. Signed-off-by: David S. Miller commit cbcd2a4cca1a6223e4f98661ef524919d322675e Author: Randy Dunlap Date: Wed Jul 27 13:04:35 2005 -0700 [NET]: Improve presentation of networking driver families. Suggestion from Sam Ravnborg It causes all driver families to be displayed aligned immediately under the main network drivers heading (in menuconfig/xconfig/gconfig) instead of not being subordinate to (i.e., not indented) the Network device support heading at all. The improved network driver families are: token ring, wireless, PCMCIA, WAN, ATM, and S390. Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller commit eaa1c5d05947819643b2e72cbfc51ae2ddcf1991 Author: Hans-Juergen Tappe (SYSGO AG) Date: Wed Jul 27 13:00:04 2005 -0700 [IPV4]: Fix Kconfig syntax error From: "Hans-Juergen Tappe (SYSGO AG)" Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 6de7dc2c4c713d037c19aa1e310d240f16973414 Merge: cbc3d65ebcb0c494183d45cf202a53352cbf3871 9e566d8bd61f939b7f5d7d969f5b178571471cf9 Author: Dave Kleikamp Date: Wed Jul 27 12:50:08 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit d108919b2b5c064946c9bd30cbd4761d491cddb0 Author: Robert Love Date: Wed Jul 27 08:58:00 2005 -0700 [IA64] inotify: ia64 syscalls. Attached patch adds the inotify syscalls to ia64. Signed-off-by: Robert Love Signed-off-by: Tony Luck commit c2834cf4746cf13501efc3489b1895bce58a4ccb Merge: 05cb784c81a0fd1f97732156ea464bd392ce875a 9e566d8bd61f939b7f5d7d969f5b178571471cf9 Author: Tony Luck Date: Wed Jul 27 10:36:54 2005 -0700 Auto merge with /home/aegl/GIT/linus commit cbc3d65ebcb0c494183d45cf202a53352cbf3871 Author: Dave Kleikamp Date: Wed Jul 27 09:17:57 2005 -0500 JFS: Improve sync barrier processing Under heavy load, hot metadata pages are often locked by non-committed transactions, making them difficult to flush to disk. This prevents the sync point from advancing past a transaction that had modified the page. There is a point during the sync barrier processing where all outstanding transactions have been committed to disk, but no new transaction have been allowed to proceed. This is the best time to write the metadata. Signed-off-by: Dave Kleikamp commit 9e566d8bd61f939b7f5d7d969f5b178571471cf9 Author: Andrew Morton Date: Tue Jul 26 21:41:38 2005 -0700 [PATCH] x86_64 fsnotify build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 479d0f41e50646a618c43f69af7af31a8f748433 Author: Andrew Morton Date: Tue Jul 26 21:41:38 2005 -0700 [PATCH] softdog build fix drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 Author: Andrew Morton Date: Tue Jul 26 21:41:37 2005 -0700 [PATCH] eurotechwdt build fix drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6578fe9b65208dee8eda40629984efd23740c4 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Tue Jul 26 21:57:24 2005 -0400 [PATCH] i386: clean up user_mode macros - make the new user_mode() return 0 or 1 (same as x86_64) - remove conditional jump from user_mode_vm() it's called every timer tick on each CPU on SMP) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 4d7de66e2cc508761f050d1d4eaca88a6e6f711e Merge: e93adf1e6554511a6194f4785fd29af8e41104db a4f1bac62564049ea4718c4624b0fadc9f597c84 Author: Linus Torvalds Date: Tue Jul 26 16:43:39 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e93adf1e6554511a6194f4785fd29af8e41104db Author: Tom Rini Date: Tue Jul 26 12:49:53 2005 -0700 [PATCH] Change PowerPC MPC8xx maintainer As Marcelo has been spending a great deal of time working on MPC8xx systems of late (thanks!) and has more time than I do now for it, I'm handing this over to him. Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds commit a4f1bac62564049ea4718c4624b0fadc9f597c84 Author: Herbert Xu Date: Tue Jul 26 15:43:17 2005 -0700 [XFRM]: Fix possible overflow of sock->sk_policy Spotted by, and original patch by, Balazs Scheidler. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d46523ea32a79fbc8cd1237f9441f45cc3f02456 Author: Steven Rostedt Date: Mon Jul 25 16:28:39 2005 -0400 [PATCH] fix MAX_USER_RT_PRIO and MAX_RT_PRIO Here's the patch again to fix the code to handle if the values between MAX_USER_RT_PRIO and MAX_RT_PRIO are different. Without this patch, an SMP system will crash if the values are different. Signed-off-by: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Dean Nelson Signed-off-by: Linus Torvalds commit cadf01c2fc0cd66dfef4956ef1a6482ed01c3150 Author: Adrian Bunk Date: Tue Jul 26 15:39:28 2005 -0700 [NETFILTER]: Fix ip_conntrack_put() prototype. The function is not inline. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 18586e721636527cb5177467fb17e2350615978a Author: Andreas Steinmetz Date: Sat Jul 23 13:42:04 2005 +0200 [PATCH] Fix RLIMIT_RTPRIO breakage RLIMIT_RTPRIO is supposed to grant non privileged users the right to use SCHED_FIFO/SCHED_RR scheduling policies with priorites bounded by the RLIMIT_RTPRIO value via sched_setscheduler(). This is usually used by audio users. Unfortunately this is broken in 2.6.13rc3 as you can see in the excerpt from sched_setscheduler below: /* * Allow unprivileged RT tasks to decrease priority: */ if (!capable(CAP_SYS_NICE)) { /* can't change policy */ if (policy != p->policy) return -EPERM; After the above unconditional test which causes sched_setscheduler to fail with no regard to the RLIMIT_RTPRIO value the following check is made: /* can't increase priority */ if (policy != SCHED_NORMAL && param->sched_priority > p->rt_priority && param->sched_priority > p->signal->rlim[RLIMIT_RTPRIO].rlim_cur) return -EPERM; Thus I do believe that the RLIMIT_RTPRIO value must be taken into account for the policy check, especially as the RLIMIT_RTPRIO limit is of no use without this change. The attached patch fixes this problem. Signed-off-by: Andreas Steinmetz Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit fc00a6274b786f6863b32c79ff6f92aa0960b789 Merge: 0983f0509480f95584f8e945e5b9c5310e9038f3 a8d11e3d0282e9607f65c73383c4030fd8f0e972 Author: Linus Torvalds Date: Tue Jul 26 15:13:26 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0983f0509480f95584f8e945e5b9c5310e9038f3 Merge: db776a14f327c20d4984ac4b724a934df34bfe31 186efd5275bbe7ffb73d939c1ce5690682668200 Author: Linus Torvalds Date: Tue Jul 26 15:12:54 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit db776a14f327c20d4984ac4b724a934df34bfe31 Author: Linus Torvalds Date: Tue Jul 26 14:50:02 2005 -0700 Fix compiler warning in qla_iocb.c Remove bogus initialization that was re-done (correctly) later. commit a8d11e3d0282e9607f65c73383c4030fd8f0e972 Author: Ben Dooks Date: Tue Jul 26 22:39:14 2005 +0100 [PATCH] ARM: 2831/1: S3C2440 - split s3c2440 clocks from central clock code Patch from Ben Dooks Split the s3c2440 specific clocks from the arch clock support, to make the code clearer. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit b35c67a46b025e8dc320b59fbe5c283094e1d7f5 Author: Eric W. Biederman Date: Tue Jul 26 12:17:52 2005 -0600 [PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off Now that all of the code paths that call acpi_power_off have been modified to call either call kernel_power_off (which calls apci_sleep_prepare by way of acpi_shutdown) or to call acpi_sleep_prepare directly it is redundant to call acpi_sleep_prepare from acpi_power_off. So simplify the code and simply don't call acpi_sleep_prepare. In addition there is a little error handling done so if we can't register the acpi class we don't hook pm_power_off. I think I have done the right thing with the CONFIG_PM define but I'm not certain. Can this code even be compiled if CONFIG_PM is false? Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 6660316cb7a1a2c59a73a52870490c0f782f45c1 Author: Eric W. Biederman Date: Tue Jul 26 12:16:00 2005 -0600 [PATCH] acpi_power_off: Don't switch to the boot cpu machine_power_off on i386 and x86_64 now switch to the boot cpu out of paranoia and because the MP Specification indicates it is a good idea on reboot, so for those architectures it is a noop. I can't see anything in the acpi spec that requires you to be on the boot cpu to power off the system, so this should not be an issue for ia64. In addition ia64 has the altix a massive multi-node system where switching to the boot cpu sounds insane as we may hot removed the boot cpu. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 0963aba54aa26c89114dca7257acf8c938bfec8a Author: Eric W. Biederman Date: Tue Jul 26 12:14:16 2005 -0600 [PATCH] x86_64 sync machine_power_off with i386 i386 machine_power_off was disabling the local apic and all of it's users wanted to be on the boot cpu. So call machine_shutdown which places us on the boot cpu and disables the apics. This keeps us in sync and reduces the number of cases we need to worry about in the power management code. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 910de55c6653d76f90380c80f0b7a395f12019e3 Author: Eric W. Biederman Date: Tue Jul 26 12:10:02 2005 -0600 [PATCH] APM: Remove redundant call to set_cpus_allowed machine_power_off now always switches to the boot cpu so there is no reason for APM to also do that. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4fa2564a6fde9815df969ef3547744a22f66ba9d Author: Eric W. Biederman Date: Tue Jul 26 12:08:53 2005 -0600 [PATCH] i386 machine_power_off cleanup Call machine_shutdown() to move to the boot cpu and disable apics. Both acpi_power_off and apm_power_off want to move to the boot cpu. and we are already disabling the local apics so calling machine_shutdown simply reuses code. ia64 doesn't have a special path in power_off for efi so there is no reason i386 should. If we really need to call the efi power off path the efi driver can set pm_power_off like everyone else. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit d8e392e7c8f019657ff3ebe70a45d234990831db Author: Eric W. Biederman Date: Tue Jul 26 12:07:01 2005 -0600 [PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on This appears to be a typo I introduced when cleaning this code up earlier. Ooops. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 68acc05d0120e19c850e1f347ee96055f5aa032f Author: Eric W. Biederman Date: Tue Jul 26 12:03:08 2005 -0600 [PATCH] pcwd.c: Call kernel_power_off not machine_power_off The call appears to come from process context so kernel_power_off should be safe. And acpi_power_off won't necessarily work if you just call machine_power_off. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit fdde86ac50357b6a811e3574e47d189e81a21444 Author: Eric W. Biederman Date: Tue Jul 26 12:01:17 2005 -0600 [PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot The suspend to disk code was a poor copy of the code in sys_reboot now that we have kernel_power_off, kernel_restart and kernel_halt use them instead of poorly duplicating them inline. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 804ebf46d51653e736108074473d9493398f2df9 Author: Eric W. Biederman Date: Tue Jul 26 11:59:54 2005 -0600 [PATCH] 68328serial: sysrq should use emergency_reboot The 68328serial.c driver has a weird local reimplementation of magic sysrq. The code is architecture specific enough that calling machine_restart() is probably ok. But there is no reason not to call emergency_restart() so do so. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 970d32443e3d0be57a5cdc3de3752f528424b73d Author: Eric W. Biederman Date: Tue Jul 26 11:55:59 2005 -0600 [PATCH] In hangcheck-timer.c call emergency_restart() If we've hung a clean reboot does not sound like a real option. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit f82567e55fcd25bb7addf2cfd8b79f36f409dc2e Author: Eric W. Biederman Date: Tue Jul 26 11:53:19 2005 -0600 [PATCH] Fix watchdog drivers to call emergency_reboot() If a watchdog driver has decided it is time to reboot the system we know something is wrong and we are in interrupt context so emergency_reboot() is what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4de8b9b76017365572f778332d74fe050d9c8c2a Author: Eric W. Biederman Date: Tue Jul 26 11:51:06 2005 -0600 [PATCH] Update sysrq-B to use emergency_restart() sysrq calls into the reboot path from an interrupt handler we can either push the code do into process context and call kernel_restart and get a clean reboot or we can simply reboot the machine, and increase our chances of actually rebooting. emergency_reboot() seems like the closest match to what we have previously done, and what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 2f048ea81df94f72dee0d42b3d9b941c03b8c9c5 Author: Eric W. Biederman Date: Tue Jul 26 11:49:23 2005 -0600 [PATCH] Call emergency_reboot from panic We know the system is in trouble so there is no question if this is an emergecy :) Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit ff31977782a05504f2586ec9e3e5ab4b09a4c893 Author: Eric W. Biederman Date: Tue Jul 26 11:47:32 2005 -0600 [PATCH] Use kernel_power_off in sysrq-o We already do all of the gymnastics to run from process context to call the power off code so call into the power off code cleanly. This especially helps acpi as part of it's shutdown logic should run acpi_shutdown called from device_shutdown which was not being called from here. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 Author: Eric W. Biederman Date: Tue Jul 26 11:45:31 2005 -0600 [PATCH] x86_64: Implemenent machine_emergency_restart It is not safe to call set_cpus_allowed() in interrupt context and disabling the apics is complicated code. So unconditionally skip machine_shutdown in machine_emergency_reboot on x86_64. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9a90073c75bffbb89763a0c7d44a2e44e9e628 Author: Eric W. Biederman Date: Tue Jul 26 11:44:21 2005 -0600 [PATCH] x86_64: Fix reboot_force We only want to shutdown the apics if reboot_force is not specified. Be we are doing this both in machine_shutdown which is called unconditionally and if (!reboot_force). So simply call machine_shutdown if (!reboot_force). It looks like something went weird with merging some of the kexec patches for x86_64, and caused this. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a1421f81b64e49ce932125e7222a2d7b7f87f13 Author: Eric W. Biederman Date: Tue Jul 26 11:41:26 2005 -0600 [PATCH] i386: Implement machine_emergency_reboot set_cpus_allowed is not safe in interrupt context and disabling apics is complicated code so don't call machine_shutdown on i386 from emergency_restart(). Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 59586e5a262a29361c45c929ea3253d4aec830b0 Author: Eric W. Biederman Date: Tue Jul 26 11:36:01 2005 -0600 [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. machine_restart, machine_halt and machine_power_off are machine specific hooks deep into the reboot logic, that modules have no business messing with. Usually code should be calling kernel_restart, kernel_halt, kernel_power_off, or emergency_restart. So don't export machine_restart, machine_halt, and machine_power_off so we can catch buggy users. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 16dcb4bbda579c4e3d80048b755ac124d8fab21a Author: Eric W. Biederman Date: Tue Jul 26 11:32:34 2005 -0600 [PATCH] Fix the arguments to machine_restart on cris It appears machine_restart has been working cris just by luck. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9034735eccbf82608a4602c59aaf6053ea9416 Author: Eric W. Biederman Date: Tue Jul 26 11:29:55 2005 -0600 [PATCH] Add emergency_restart() When the kernel is working well and we want to restart cleanly kernel_restart is the function to use. But in many instances the kernel wants to reboot when thing are expected to be working very badly such as from panic or a software watchdog handler. This patch adds the function emergency_restart() so that callers can be clear what semantics they expect when calling restart. emergency_restart() is expected to be callable from interrupt context and possibly reliable in even more trying circumstances. This is an initial generic implementation for all architectures. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit abcd9e51f5b832439b119d530db1353c12fd4073 Author: Eric W. Biederman Date: Tue Jul 26 11:27:34 2005 -0600 [PATCH] Make ctrl_alt_del call kernel_restart to get a proper reboot. It is obvious we wanted to call kernel_restart here but since we don't have it the code was expanded inline and hasn't been correct since sometime in 2.4. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a00ea1e18228e5ef99d4780671fda97226bda30 Author: Eric W. Biederman Date: Tue Jul 26 11:24:14 2005 -0600 [PATCH] Refactor sys_reboot into reusable parts Because the factors of sys_reboot don't exist people calling into the reboot path duplicate the code badly, leading to inconsistent expectations of code in the reboot path. This patch should is just code motion. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 47f61f397cc08b5a9a815bd03cb10c48dab66034 Author: Eric W. Biederman Date: Tue Jul 26 11:21:38 2005 -0600 [PATCH] Add missing device_suspsend(PMSG_FREEZE) calls. In the recent addition of device_suspend calls into sys_reboot two code paths were missed. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit a6fa657b9d5c892c6a92912632c4b5715955b4f8 Author: Andrew Morton Date: Tue Jul 26 14:11:30 2005 -0700 [PATCH] qla2xxx: Kconfig dependency fix *** Warning: "fc_remote_port_block" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "scsi_is_fc_rport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_unblock" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_rolechg" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_release_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remove_host" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_add" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_attach_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a168bddc2f13686336a86f8235b84347edac13a Author: Andrew Morton Date: Tue Jul 26 14:11:28 2005 -0700 [PATCH] qla: remove anonymous union Older gcc's dont support anonymous unions, so this driver gets hundreds of error. Fortunately the fix is easy... Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89373de7dd010832d8b68cb37dabb33ff5a688bb Author: Andrew Morton Date: Tue Jul 26 14:08:38 2005 -0700 [PATCH] inotify: fix oops fix Cc: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 725b38ab5401c73cedc1b1d913782fadcd0f624a Author: Robert Love Date: Mon Jul 25 15:19:29 2005 -0400 [PATCH] inotify: add x86-64 syscall entries Add inotify syscall entries to x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit d25cb934b00436e2243bf3970793b8e04ad9b873 Author: Robert Love Date: Mon Jul 25 15:19:20 2005 -0400 [PATCH] inotify: add missing hook to sys32_open Add missing fsnotify_open() hook to sys32_open(). Add fsnotify_open() hook to sys32_open() on x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit e5ca844a9d795e97c08bc7901c62a48c28469eb0 Author: Robert Love Date: Mon Jul 25 15:17:34 2005 -0400 [PATCH] inotify: check retval in init Check for (unlikely) errors in the filesystem initialization stuff in our module_init() function. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e Author: Robert Love Date: Mon Jul 25 15:13:43 2005 -0400 [PATCH] inotify: change default limits Change default inotify limits: Maximum instances per user to 128 and maximum events per queue to 16k. The max instances used to be 128; the change to 8 was a mistake. Memory consumption is fine. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 5eb22cbcdb849886c2584389faff5afb56c23876 Author: Robert Love Date: Mon Jul 25 15:12:19 2005 -0400 [PATCH] inotify: exit path cleanups Handle error out paths better. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 783bc29bbc5d6625a4669d3eb1d989a8fb275d43 Author: Robert Love Date: Mon Jul 25 15:10:08 2005 -0400 [PATCH] inotify: oops fix Bug fix: Ensure that the fd passed to inotify_add_watch() and inotify_rm_watch() belongs to inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 33ea2f52b8758ef62ae4a9d2f91821c47d999ee9 Author: Robert Love Date: Mon Jul 25 15:08:37 2005 -0400 [PATCH] inotify: use fget_light As an optimization, use fget_light() and fput_light() where possible. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit b680716ed28baf549f777fb125fc23ba975985c5 Author: Robert Love Date: Mon Jul 25 15:07:13 2005 -0400 [PATCH] inotify: misc. cleanup Miscellaneous invariant clean up, comment fixes, and so on. Trivial stuff. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 2d986010ad13a00b83851238d52601d6092df40e Merge: 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 e10fb91c4dc81a4ae47caf0828df152f600f2546 Author: Linus Torvalds Date: Tue Jul 26 13:28:47 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 186efd5275bbe7ffb73d939c1ce5690682668200 Author: Russell King Date: Tue Jul 26 19:51:26 2005 +0100 [PATCH] ARM SMP: Mark device mappings as "device" in ARMv6 parlance ARMv6 introduces memory types into the page tables. Mark devices mappings with the "shared device" memory type. Signed-off-by: Russell King commit 6d9b37a3a80195d317887ff81aad6a58a66954b5 Author: Russell King Date: Tue Jul 26 19:44:26 2005 +0100 [PATCH] ARM SMP: Add ARMv6 memory barriers Convert explicit gcc asm-based memory barriers into smp_mb() calls. These change between barrier() and the ARMv6 data memory barrier instruction depending on whether ARMv6 SMP is enabled. Signed-off-by: Russell King commit 9560782f9a68a5de3e72bc3ba71317f373844549 Author: Russell King Date: Tue Jul 26 19:39:31 2005 +0100 [PATCH] ARM SMP: Use exclusive load/store for __xchg Signed-off-by: Russell King commit 821ca478867433502fc614b4be83e0362cd7e67e Author: Michael Gernoth Date: Tue Jul 26 19:21:47 2005 +0100 [PATCH] ARM: 2830/1: Fix Jornada 720 PCMCIA-support Patch from Michael Gernoth This patch lets the Jornada 720 PCMCIA-driver compile again. The resulting driver has been tested on a Jornada with a CF-card, which was mounted and accessed successfully. Signed-off-by: Michael Gernoth Signed-off-by: Russell King commit 7fcc113c3021a42db90e1ad27a7bec267b6e13e3 Author: Ben Dooks Date: Tue Jul 26 19:20:27 2005 +0100 [PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c Patch from Ben Dooks Remove the need for the #ifdefs and place the IRQ handling code for the s3c2440 into a new file, which is only compiled when the s3c2440 cpu support is enabled. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 5730b7d6529e6e894ee3c2e1c68125c0532ad394 Author: Ben Dooks Date: Tue Jul 26 19:20:26 2005 +0100 [PATCH] ARM: 2828/1: BAST - remove static map of ASIX area Patch from Ben Dooks There is no point in mapping this staticaly, the driver is going to ioremap() the area as it sees fit. Also correct the dates on the changelog comments Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 02cdad3f932d533e5cbde1b15092418ce7af1a70 Author: Dimitry Andric Date: Tue Jul 26 19:20:25 2005 +0100 [PATCH] ARM: 2819/1: Fix several S3C24x0 IIS defines Patch from Dimitry Andric - Change S3C2440_IISCON_MPLL to S3C2440_IISMOD_MPLL: The S3C2440 IISCON register doesn\'t control the master clock selection, this is done with the IISMOD register. - Correct S3C2410_IISMOD_256FS and S3C2410_IISMOD_384FS: This is set via bit 2 of IISMOD, not bit 1. - Add S3C2410_IISCON_PSCEN (prescaler enable), for completeness\' sake. Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King commit de8fd087b280797977b012a4275ee53ff2999f3f Merge: 18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 Author: Dave Kleikamp Date: Tue Jul 26 09:55:10 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 18190cc08d70a6ec8ef69f0f6ede021f7cb3f9b8 Author: Dave Kleikamp Date: Tue Jul 26 09:29:13 2005 -0500 JFS: Fix i_blocks accounting when allocation fails A failure in dbAlloc caused a directory's i_blocks to be incorrectly incremented, causing jfs_fsck to find the inode to be corrupt. Signed-off-by: Dave Kleikamp commit 52fbae2a392b6e084195bedc7a280991a94c14d0 Author: David S. Miller Date: Mon Jul 25 19:54:35 2005 -0700 [ATM]: speedtch: Revert 86cf42e4e029b83110cf98692420239103363dbf It was already fixed more sufficiently by Andrew Morton's change 843c944fb86e5e31ee7b319172e657ea22301322. Noted by Duncan Sands. Signed-off-by: David S. Miller commit 05cb784c81a0fd1f97732156ea464bd392ce875a Merge: 3190186362466658f01b2e354e639378ce07e1a9 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 Author: Tony Luck Date: Mon Jul 25 15:46:44 2005 -0700 Auto merge with /home/aegl/GIT/linus commit fc87670b6cd63abc6fc4e3a115741984750d1fbc Author: David S. Miller Date: Mon Jul 25 12:45:32 2005 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit 747e8f8bff56955374521fa4d488e702d4b0c04f Author: Michael Chan Date: Mon Jul 25 12:33:22 2005 -0700 [TG3]: add 5780 fiber support Add 5780S support by adding a new tg3_setup_fiber_mii_phy() function and a timer function for parallel link detection. 5780S uses standard MII registers for 1000BaseX and runs in GMII mode as opposed to TBI mode on older serdes chips. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ef7f5ec0deb2bcdc005f30f6f75f79c65c577cf5 Author: Michael Chan Date: Mon Jul 25 12:32:25 2005 -0700 [TG3]: disallow jumbo TSO on 5780 Disallow jumbo TSO on 5780 due to hardware restrictions. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fdfec1726b14b4b2121adcfcbba98d4cc1a61751 Author: Michael Chan Date: Mon Jul 25 12:31:48 2005 -0700 [TG3]: consolidate all DMA water mark settings Consolidate all DMA watermark settings for standard and jumbo frames on all chips in tg3_init_bufmgr_config() and add new settings for 5780. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 7e72aad48c3790636bfa006f3b0027852ccad47e Author: Michael Chan Date: Mon Jul 25 12:31:17 2005 -0700 [TG3]: add variable buffer size for standard ring Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer sizes on the standard ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0f893dc6ec890058d926224c8aa254d8621e0ea3 Author: Michael Chan Date: Mon Jul 25 12:30:38 2005 -0700 [TG3]: add 5780 basic jumbo frame support Add basic jumbo frames support for 5780. This chip supports jumbo frames on the standard receive ring without the jumbo ring. The TG3_FLAG_JUMBO_ENABLE is changed to TG3_FLAG_JUMBO_RING_ENABLE to indicate using the jumbo ring on 5704 and older chips. A new TG3_FLG2_JUMBO_CAPABLE flag is added to indicate jumbo frames support with or without the jumbo ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 Author: Michael Chan Date: Mon Jul 25 12:29:19 2005 -0700 [TG3]: add 5780 basic support Add 5780 PCI IDs, chip IDs, and other basic support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c2783f3a625b2aba943ef94623e277557a91a448 Author: Dave Kleikamp Date: Mon Jul 25 08:58:54 2005 -0500 JFS: Don't set log_SYNCBARRIER when log->active == 0 If a metadata page is kept active, it is possible that the sync barrier logic continues to trigger, even if all active transactions have been phyically written to the journal. This can cause a hang, since the completion of the journal I/O is what unsets the sync barrier flag to allow new transactions to be created. Signed-off-by: Dave Kleikamp commit 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 Merge: e89227889cec6b66758b44c83f78dba337e5d699 7686ee1ad976efeddf10583f013462c66408ae51 Author: Linus Torvalds Date: Sun Jul 24 20:39:30 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e89227889cec6b66758b44c83f78dba337e5d699 Merge: 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf db7d9a4eb700be766cc9f29241483dbb1e748832 Author: Linus Torvalds Date: Sun Jul 24 20:38:44 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 7686ee1ad976efeddf10583f013462c66408ae51 Author: Patrick McHardy Date: Sun Jul 24 19:44:23 2005 -0700 [EMATCH]: Remove feature ifdefs in meta ematch. Signed-off-by: Patrick McHardy Acked-by: Thomas Graf Signed-off-by: David S. Miller commit db7d9a4eb700be766cc9f29241483dbb1e748832 Author: David S. Miller Date: Sun Jul 24 19:36:26 2005 -0700 [SPARC64]: Move syscall success and newchild state out of thread flags. These two bits were accesses non-atomically from assembler code. So, in order to eliminate any potential races resulting from that, move these pieces of state into two bytes elsewhere in struct thread_info. Signed-off-by: David S. Miller commit cdd5186f753b23ab51f86679bdc4cc698ab0b893 Author: David S. Miller Date: Sun Jul 24 19:36:13 2005 -0700 [SPARC64]: Privatize sun5_timer. It is only used by some localized code in irq.c, and also delete enable_prom_timer() as that is totally unused. Signed-off-by: David S. Miller commit c5019a578f18cf3a76829626e91e5469dbd4a738 Author: David S. Miller Date: Sun Jul 24 19:35:56 2005 -0700 [SPARC64]: Kill totally unused inline functions from asm/spitfire.h Signed-off-by: David S. Miller commit 620de54675e76f1369326bbe1fc75aff88917063 Author: David S. Miller Date: Sun Jul 24 19:35:42 2005 -0700 [SPARC64]: Simplify asm/rwsem.h slightly. rwsem_atomic_update and rwsem_atomic_add can be implemented straightly using atomic_*() routines. Also, rwsem_cmpxchgw() is totally unused, kill it. Signed-off-by: David S. Miller commit 6593eaed814d50214d6056c683d52ac63153730e Author: David S. Miller Date: Sun Jul 24 19:35:28 2005 -0700 [SPARC64]: Non-atomic bitops do not need volatile operations Noticed this while comparing sparc64's bitops.h to ppc64's. We can cast the volatile memory argument to be non-volatile. While we're here, __inline__ --> inline. Signed-off-by: David S. Miller commit 4b502421aac89c8d4e61ecc89a70065a33305a0b Author: David S. Miller Date: Sun Jul 24 19:35:08 2005 -0700 [SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c It needs to happen before any header includes because nowadays some things implicitly include asm/unistd.h which ends up being before the __KERNEL_SYSCALLS__ define gets done. Signed-off-by: David S. Miller commit 2d1aea8dd02ad35658864de52a3e0f9f033e63f4 Author: Nishanth Aravamudan Date: Sun Jul 24 19:34:47 2005 -0700 [SPARC]: sbus/vfc_i2c: remove sleep_on() usage Use wait-queue directly instead of the deprecated sleep_on() function. This required adding a local wait-queue. Also use new (added in separate patch to K-J) usecs to jiffies function to convert value. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit cb39d263e751f9cca8055bcacfe5ec863dfe2705 Author: Nishanth Aravamudan Date: Sun Jul 24 19:34:33 2005 -0700 [SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Change the units of poll_interval to msecs as it is only used in this delay. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 70c83375bb47cadd60fdb923ad913d4f4be75aba Author: Nishanth Aravamudan Date: Sun Jul 24 19:34:19 2005 -0700 [SPARC]: sbus/aurora: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer commit 4564203d76599973da9c5cbcd93057252414ac9e Author: Adrian Bunk Date: Sun Jul 24 19:33:55 2005 -0700 [SPARC]: Remvoe APM_RTC_IS_GMT from config. I can't see any effect of this option outside the i386-specific APM code. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 48647feed9f7a2d839c6ada12147b341833646e8 Author: David S. Miller Date: Sun Jul 24 19:30:28 2005 -0700 [W1]: Do not use NFLOG netlink number. Use the reserved by never used NETLINK_SKIP value instead. Signed-off-by: David S. Miller commit 227510c7f175c44b12cdff6eab316e53dbf71f92 Author: Cal Peake Date: Sun Jul 24 19:30:06 2005 -0700 [IPV6]: fix implicit declaration of function `xfrm6_tunnel_unregister' Signed-off-by: Cal Peake Signed-off-by: David S. Miller commit 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf Author: Russell King Date: Sun Jul 24 12:13:40 2005 +0100 [PATCH] ARM SMP: Fix ARMv6 spinlock and semaphore implementations Signed-off-by: Russell King commit 33fdfa97f2b3aab698ef849ec50dcc5102017f0a Author: Sergey Vlasov Date: Sun Jul 24 00:53:32 2005 -0500 Input: synaptics - fix setting packet size on passthrough port. Synaptics driver used child->type to select either 3-byte or 4-byte packet size for the pass-through port; this gives wrong results for the newer protocols. Change the check to use child->pktsize instead. Signed-off-by: Sergey Vlasov Signed-off-by: Dmitry Torokhov commit 5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe Author: Vojtech Pavlik Date: Sun Jul 24 00:50:03 2005 -0500 Input: check keycodesize when adjusting keymaps When changing key mappings we need to make sure that the new keycode value can be stored in dev->keycodesize bytes. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 Merge: c94c0d201f1c1a62184f4f220c1615347aafbee7 056a8763fc036639441a6dc49b61e57bc632af6e Author: Linus Torvalds Date: Sat Jul 23 17:01:26 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c94c0d201f1c1a62184f4f220c1615347aafbee7 Merge: 8ed693d29b25bbd88471ec043cc01581419d0481 53776eb4acdd3ec576d75b61b656ef8d51e430ea Author: Linus Torvalds Date: Sat Jul 23 16:59:55 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 53776eb4acdd3ec576d75b61b656ef8d51e430ea Author: Lucas Correia Villa Real Date: Sun Jul 24 00:15:46 2005 +0100 [PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk Patch from Lucas Correia Villa Real This patch replaces the sizeof()'s %d specifier by %ld on a S3C2410 DMA printk. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit 8ed693d29b25bbd88471ec043cc01581419d0481 Merge: 72538d8565b0205240d88591b72db3c7f3f1881a 668d74c04c16bb69de564e25e85dd94eeb0175d9 Author: Luming Yu Date: Sat Jul 23 00:34:41 2005 -0400 /home/lenb/linux-2.6 branch 'acpi-2.6.12' commit 668d74c04c16bb69de564e25e85dd94eeb0175d9 Author: Luming Yu Date: Sat Jul 23 00:26:33 2005 -0400 ACPI: delete unnecessary EC console messages http://bugzilla.kernel.org/show_bug.cgi?id=4534 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 72538d8565b0205240d88591b72db3c7f3f1881a Author: Linus Torvalds Date: Fri Jul 22 18:29:40 2005 -0400 Remove "noreplacement" kernel command line option. It is no longer valid to not replace instructions, since we depend on different behaviour depending on CPU capabilities. If you need to limit the capabilities of the replacements (because the boot CPU has features that non-boot CPU's do not have, for example), you need to explicitly disable those capabilities that are not shared across all CPU's. For example, if your boot CPU has FXSR, but other CPU's in your system do not, you need to use the "nofxsr" kernel command line, not disable instruction replacement per se. commit 2847e3478c3d8119eedc3e0cb85a308b21f681dd Author: Linus Torvalds Date: Fri Jul 22 18:19:20 2005 -0400 x86: use alternative instructions for fnsave/fxsave too This one ends up using an inline asm format that claims to read memory and then clobber it (rather than just write it directly), which made it easier to use the existing "alternative_input()" infrastructure support. Now the fxsave code matches the fxrstor. commit 38afd6adf6bccd7176e88c07cac104d3639aa30d Merge: 8ed1383fb7b6685968588141d5934e0e6715e954 261688d01ec07d3a265b8ace6ec68310fbd96a96 Author: Linus Torvalds Date: Fri Jul 22 16:33:00 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 261688d01ec07d3a265b8ace6ec68310fbd96a96 Author: David S. Miller Date: Fri Jul 22 14:43:52 2005 -0700 [PKT_SCHED]: em_meta: Kill TCF_META_ID_{INDEV,SECURITY,TCVERDICT} More unusable TCF_META_* match types that need to get eliminated before 2.6.13 goes out the door. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit 8ed1383fb7b6685968588141d5934e0e6715e954 Author: Linus Torvalds Date: Fri Jul 22 16:06:16 2005 -0400 x86: make restore_fpu() use alternative assembler instructions It's really just a single instruction, conditional on whether the CPU supports FXSR or not, so implement it as such instead of making it a function that queries FXSR dynamically. This means that the instruction just gets automatically rewritten to the correct one at boot-time. commit d3984a6b6abac6203868f0e9095c0ed9e33ece03 Author: Patrick McHardy Date: Fri Jul 22 12:52:47 2005 -0700 [NETFILTER]: Fix ip6t_LOG MAC format I broke this in the patch that consolidated MAC logging. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 74bb421da7f39e70ab636ad46ef85ea1178786c5 Author: Patrick McHardy Date: Fri Jul 22 12:51:38 2005 -0700 [NETFILTER]: Use correct byteorder in ICMP NAT Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 21f930e4abdcb9649f26e5b959c14dddee4e600b Author: Patrick McHardy Date: Fri Jul 22 12:51:03 2005 -0700 [NETFILTER]: Wait until all references to ip_conntrack_untracked are dropped on unload Fixes a crash when unloading ip_conntrack. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d04b4f8c1c9766e49fad6a141fc61cb30db69a5c Author: Patrick McHardy Date: Fri Jul 22 12:50:29 2005 -0700 [NETFILTER]: Fix potential memory corruption in NAT code (aka memory NAT) The portptr pointing to the port in the conntrack tuple is declared static, which could result in memory corruption when two packets of the same protocol are NATed at the same time and one conntrack goes away. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4c1217deeb148ff8ab838ba4f1875d0f52dea343 Author: Patrick McHardy Date: Fri Jul 22 12:49:30 2005 -0700 [NETFILTER]: Fix deadlock in ip6_queue Already fixed in ip_queue, ip6_queue was missed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b339a18b81a1f6ca1455559594f5df872b9e59f4 Author: Linus Torvalds Date: Fri Jul 22 15:23:47 2005 -0400 Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to These days %gs is normally the TLS segment, so it's no longer zero. As a result, we shouldn't just assume that %fs/%gs tend to be zero together, but test them independently instead. Also, fix setting of debug registers to use the "next" pointer instead of "current". It so happens that the scheduler will have set the new current pointer before calling __switch_to(), but that's just an implementation detail. commit 28e212fb360ce2568edd60b93d60683d5ad24146 Author: David S. Miller Date: Fri Jul 22 11:47:25 2005 -0700 [PKT_SCHED]: Kill TCF_META_ID_REALDEV from meta ematch. It won't exist any longer when we shrink the SKB in 2.6.14, and we should kill this off before anyone in userspace starts using it. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit c40c202493d18de42fcd0b8b5d68c22aefb70f03 Author: Dave Kleikamp Date: Fri Jul 22 11:08:44 2005 -0500 JFS: Fix typo in last patch Signed-off-by: Dave Kleikamp commit 056a8763fc036639441a6dc49b61e57bc632af6e Author: Russell King Date: Fri Jul 22 10:15:04 2005 +0100 [PATCH] Serial: No need to check for priv != NULL in remove_one Signed-off-by: Russell King commit 14a59e1829cd5782ad1a8979e594578f49f3e2c1 Author: Loic Le Loarer Date: Thu Jul 21 14:16:54 2005 -0700 [EQL]: Proper num_slaves decrement Signed-off-by: Loic Le Loarer Signed-off-by: David S. Miller commit 4acdbdbe5089c06d5e0c7e96783fcc4414ded00a Author: Rusty Russell Date: Thu Jul 21 13:14:46 2005 -0700 [NETFILTER]: ip_conntrack_expect_related must not free expectation If a connection tracking helper tells us to expect a connection, and we're already expecting that connection, we simply free the one they gave us and return success. The problem is that NAT helpers (eg. FTP) have to allocate the expectation first (to see what port is available) then rewrite the packet. If that rewrite fails, they try to remove the expectation, but it was freed in ip_conntrack_expect_related. This is one example of a larger problem: having registered the expectation, the pointer is no longer ours to use. Reference counting is needed for ctnetlink anyway, so introduce it now. To have a single "put" path, we need to grab the reference to the connection on creation, rather than open-coding it in the caller. Signed-off-by: Rusty Russell Signed-off-by: David S. Miller commit ab9b6339381d340779e8b5957561aed41155a270 Author: Russell King Date: Wed Jul 20 21:32:26 2005 +0100 [PATCH] ARM SMP: Mark mroe CPU init data with __cpuinitdata Signed-off-by: Russell King commit 4aa49d130df9209707a97786a55a3f584b7345e9 Author: Francois Romieu Date: Wed Jul 20 12:01:46 2005 -0700 [ATM]: zatm: mailbox converted to pci_alloc_consistent() mailbox converted to pci_alloc_consistent() - request_region() is not needed: zatm_init_one() issues pci_request_regions(); - the warning related to kfree(zatm_dev->mbx_start) disappears; Compiled with i386 and sparc64 as target. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit b72f6eccb0fc516070f2de469f73870cb6cb1149 Author: David S. Miller Date: Tue Jul 19 14:13:54 2005 -0700 [NET]: Fix tc_verd thinko in skb_clone() It was overwriting the computer n->tc_verd value over and over with skb->tc_verd, by mistake. Signed-off-by: David S. Miller commit 0303770deb834c15ca664a9d741d40f893c92f4e Author: Patrick McHardy Date: Tue Jul 19 14:03:34 2005 -0700 [NET]: Make ipip/ip6_tunnel independant of XFRM Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c877efb207bf4629cfa97ac13412f7392a873485 Author: Stephen Hemminger Date: Tue Jul 19 14:01:51 2005 -0700 [IPV4]: Fix up lots of little whitespace indentation stuff in fib_trie. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 23a534e7b1ad2650002bbc236493791ac23440ee Author: Adrian Bunk Date: Tue Jul 19 14:00:53 2005 -0700 [NET]: NETCONSOLE must depend on INET NETCONSOLE=y and INET=n results in the following compile error: net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit eb3f8f5e22cdee8138e654963e371ad337830efb Author: Adrian Bunk Date: Tue Jul 19 14:00:13 2005 -0700 [NET]: BRIDGE_EBT_ARPREPLY must depend on INET BRIDGE_EBT_ARPREPLY=y and INET=n results in the following compile error: net/built-in.o: In function `ebt_target_reply': ebt_arpreply.c:(.text+0x68fb9): undefined reference to `arp_send' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit abaacad9bcb3f118cc802f527ab5d7c41b63f83a Author: Patrick McHardy Date: Tue Jul 19 13:59:17 2005 -0700 [IPV4]: Don't select XFRM for ip_gre Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6aef4fdfeaec5f2c66415f2cafa98a3ff927501f Author: Patrick McHardy Date: Tue Jul 19 13:58:40 2005 -0700 [NET]: Only build flow.o if CONFIG_XFRM=y Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 86cf42e4e029b83110cf98692420239103363dbf Author: Duncan Sands Date: Tue Jul 19 13:57:17 2005 -0700 [ATM]: [speedtch] cure atm_printk() macro gcc-2.95 compile error Signed-off-by: Duncan Sands Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 88e9fa8a54cf4d66ee8fc1d855e82de827233d74 Author: Jesper Juhl Date: Tue Jul 19 13:56:53 2005 -0700 [ATM]: Trivial spelling fix patch for net/Kconfig Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5938a7b580bb7a738ee349048565ac76e6f3f5d7 Author: Victor Fusco Date: Tue Jul 19 13:56:29 2005 -0700 [ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit c9e42614585dddd544a56907ff5fd5ca55411967 Author: Victor Fusco Date: Tue Jul 19 13:56:01 2005 -0700 [ATM]: [firestream] fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5e8676d113a097e19d18492e85215f0f3cc86e43 Author: Olaf Hering Date: Tue Jul 19 13:55:38 2005 -0700 [ATM]: [he] remove linux/version.h include Signed-off-by: Olaf Hering Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit e1bd232b641a0d0ef184a5154409ef38aebb3155 Author: Marcelo Feitoza Parisi Date: Tue Jul 19 13:55:14 2005 -0700 [ATM]: [idt77252] use time_after() macro Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 322361b3712af97c19ab730b410f9ae5d9aad4c3 Author: Chas Williams Date: Tue Jul 19 13:54:44 2005 -0700 [ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 43f51fce0a637e6cdf1285b0fa09b8398ff14834 Author: Chas Williams Date: Tue Jul 19 13:54:19 2005 -0700 [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 21d1ee8b375bcd180f1d6b8ccbb8d8f938596310 Merge: 3d9b1cdd2455017c6aa25bc2442092b81438981f f60f700876cd51de9de69f3a3c865d95e287a24d Author: Dave Kleikamp Date: Tue Jul 19 13:46:53 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 3f1c81ff10187396e6d0fd01df82ab0cec256c96 Author: David S. Miller Date: Mon Jul 18 17:10:55 2005 -0700 [EMATCH]: Kill TCF_META_ID_TCCLASSID reference from meta ematch as well. Signed-off-by: David S. Miller commit 6876f95f201ce2d62367d85dd793c1fee351d7a6 Author: Adrian Bunk Date: Mon Jul 18 13:55:19 2005 -0700 [IPV4]: fix IP_FIB_HASH kconfig warning This patch fixes the following kconfig warning: net/ipv4/Kconfig:92:warning: defaults for choice values not supported Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 54208991e15fa00e37a9d172ac0d87191a832165 Author: Randy Dunlap Date: Mon Jul 18 13:45:12 2005 -0700 [NET]: Kconfig: NETCONSOLE and NETPOLL together Put NETCONSOLE and NETPOLL options together since they are related. This cuts down on the hassle of flipping back and forth between the Networking menu and the Network drivers menu to change their config settings. Tested with menuconfig, gconfig, and xconfig. gconfig has a small problem with this. I think that it's a bug in gconfig and I will take it up with Romain Lievin. Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller commit d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 Author: Sridhar Samudrala Date: Mon Jul 18 13:44:10 2005 -0700 [SCTP]: Fix potential null pointer dereference while handling an icmp error Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e Author: Christophe Lucas Date: Mon Jul 18 13:38:07 2005 -0700 [SCTP]: Audit return code of create_proc_* From: Christophe Lucas Audit return of create_proc_* functions. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit e2bf521d9728bfae9b6c3d484614e5962d0b5afd Author: Victor Fusco Date: Mon Jul 18 13:36:38 2005 -0700 [NET]: Fix "nocast type" warnings in skbuff.h From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 37da647d994cdac7e0bc8d2a365fbda403939a2b Author: Victor Fusco Date: Mon Jul 18 13:35:43 2005 -0700 [NETLINK]: Fix "nocast type" warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 23af27eb8fa9ea8614138c4cded7a16cb4197a55 Author: Patrick McHardy Date: Mon Jul 18 13:34:35 2005 -0700 [PKT_SCHED]: Kill TCF_META_ID_TCCLASSID. Thomas Graf states: > I used to mark such ids as obsolete in the header but since > skb is on diet anyway and there has been no official > iproute2 release with the ematch bits included it might be > a better idea to remove the ids from the header completely. > Those that have picked up my patch on netdev shouldn't care > about a ABI breakage, actually I doubt that someone is using > it already. So here's the patch to remove it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 452f299da3253f65020143f743c2e207b752547b Author: Thomas Graf Date: Mon Jul 18 13:30:53 2005 -0700 [PKT_SCHED]: Reduce branch mispredictions in pfifo_fast_dequeue The current call to __qdisc_dequeue_head leads to a branch misprediction for every loop iteration, the fact that the most common priority is 2 makes this even worse. This issue has been brought up by Eric Dumazet but unlike his solution which was to manually unroll the loop, this approach preserves the possibility to increase the number of bands at compile time. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d7c7ed4dbc66c5f4dfa5615cdfc5009af3b3b137 Author: Thomas Graf Date: Mon Jul 18 13:29:49 2005 -0700 [PKT_SCHED]: Remove debugging leftover from textsearch ematch Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit fbc0dc0df54be06586d712ebf6958816e3b1b2b7 Author: Andrey Panin Date: Mon Jul 18 11:38:09 2005 +0100 [PATCH] Serial: Add support for SIIG Quartet serial card Add support for SIIG Quartet Serial card. This card has Oxford Semiconducor 16954 quad UART which is clocked by 10x faster (18.432 MHz) quartz. Signed-off-by: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 65cc3370ef3fb56b9b423f282a8204f8cce66e32 Author: Ben Dooks Date: Mon Jul 18 10:24:32 2005 +0100 [PATCH] ARM: 2818/1: BAST - Use platform device for SuperIO 16550s Patch from Ben Dooks Use platform device for the 16500 UARTs in the onboard SuperIO controller. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd6f68af298cab4e059f8489b56e46ae36243fcc Author: Russell King Date: Sun Jul 17 21:35:41 2005 +0100 [PATCH] ARM SMP: Mark CPU init functions/data with __cpuinit/...data Signed-off-by: Russell King commit 3190186362466658f01b2e354e639378ce07e1a9 Merge: 08848e446bcd2130c26945be966446389d25bcc2 f60f700876cd51de9de69f3a3c865d95e287a24d Author: Tony Luck Date: Sun Jul 17 12:30:06 2005 -0700 Auto merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 772a9e631ccad0423ed6d08acb3a4b1084ae2613 Author: Sascha Hauer Date: Sun Jul 17 20:15:36 2005 +0100 [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable Patch from Sascha Hauer The dmacr needs different settings on some boards. This patch makes the register configurable by the platform part. Also we have imxfb_disable_controller(), so lets use it. Signed-off-by: Steven Scholz Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 246b49768bc96d942ab0e2a17aab6fc3d2e011da Author: Alexander Schulz Date: Sun Jul 17 20:12:08 2005 +0100 [PATCH] ARM: 2816/1: Shark: boot kernel images bigger than 1 MB Patch from Alexander Schulz Up to now, shark kernels were limited to one megabyte compressed size. As the kernels get bigger, this becomes more and more uncomfortable. So I added a loop to copy 3 MB instead of one and added some comments. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit b66da4a4859b0be3f12575863bf1d873116d1947 Author: Russell King Date: Sun Jul 17 10:54:50 2005 +0100 [PATCH] ARM: Remove global nwfpe register variable Recent changes to nwfpe broke the build with some gcc versions: In file included from arch/arm/nwfpe/softfloat.c:33: arch/arm/nwfpe/fpa11.h:32: global register variable follows a function definition make[1]: *** [arch/arm/nwfpe/softfloat.o] Error 1 Since we now ensure that the kernel stack is empty when returning to user space, we can now access the userspace registers with reference to the kernel stack using current_thread_info(), rather than remembering the stack pointer at the time nwfpe was called. Signed-off-by: Russell King commit f60f700876cd51de9de69f3a3c865d95e287a24d Merge: c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 6d283d271674b1127881ebf082266a2c3fe6e0e4 Author: Linus Torvalds Date: Sat Jul 16 20:06:51 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 Merge: af6ea9ca23504fe620412826a420dca9c43a8bf6 b7523418f6af9093c462341c08c2233f44f7a28d Author: Linus Torvalds Date: Sat Jul 16 20:05:41 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit af6ea9ca23504fe620412826a420dca9c43a8bf6 Merge: 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 c514720716c7b109ff980f8b3cb93f9af872c91c Author: Linus Torvalds Date: Sat Jul 16 11:47:51 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 Merge: 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 19870da7ea2fc483bf73a189046a430fd9b01391 Author: Linus Torvalds Date: Sat Jul 16 10:24:32 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit b7523418f6af9093c462341c08c2233f44f7a28d Author: Alexander Schulz Date: Sat Jul 16 17:17:18 2005 +0100 [PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports Patch from Alexander Schulz This patch brings a new default config file for the shark and fixes a compilation issue with io addressing and a runtime problem with the serial ports, where I corrected a wrong regshift value. These are all shark specific files so I hope it is ok to put them in one patch. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit 878cf4e1c7be6bffde3ace888a65ac3d43c127bb Author: Michael Burian Date: Sat Jul 16 16:43:49 2005 +0100 [PATCH] ARM: 2794/1: Add "Image" and "mach-types.h" to dontdiff list Patch from Michael Burian comment in "mach-types.h" tells that it should not be patched "Image" is a binary, just as zImage, uImage and friends are Signed-off-by: Michael Burian Signed-off-by: Russell King commit 109d89ca0ee76138e04b41726b7f719c7df65e88 Author: Russell King Date: Sat Jul 16 16:43:33 2005 +0100 [PATCH] ARM: Allow register_undef_hook to be called with IRQs off Preserve the interrupt status across a call to register_undef_hook. This allows it to be called while interrupts are disabled. Signed-off-by: Russell King commit 54ea06f6afe85aaf419e51343d4e4b5599197113 Author: Russell King Date: Sat Jul 16 15:21:51 2005 +0100 [PATCH] ARM: Convert bitops to use ARMv6 ldrex/strex instructions Signed-off-by: Russell King commit 6d283d271674b1127881ebf082266a2c3fe6e0e4 Author: Olaf Hering Date: Sat Jul 16 09:59:00 2005 +0100 [PATCH] Serial: Remove linux/version.h changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit 661f83a67c2e360d5a4d2406cc28379c909f94bf Author: Russell King Date: Sat Jul 16 09:30:53 2005 +0100 [PATCH] Serial: Move deprecation of register_serial forward to September I think it's about time to make the build a little more vocal about the expiry of these functions. Due to recent discussions with problems in the console initialisation vs power manglement, I'd like to move the date forward to September. Signed-off-by: Russell King commit 19870da7ea2fc483bf73a189046a430fd9b01391 Author: Thomas Gleixner Date: Fri Jul 15 14:53:51 2005 +0100 [MTD] NAND: Fix broken bad block scan for 16 bit devices The previous change to read a single byte from oob breaks the bad block scan on 16 bit devices, when the byte is on an odd address. Read the complete oob for now. Remove the unused arguments from check_short_pattern() Move the wait for ready function so it is only executed when consecutive reads happen. Signed-off-by: Thomas Gleixner commit 2c4eec9802ae753a4973f0a0d71f8d154e86fd31 Merge: 5d157885f383ccc0660c011fa488ae4edb77ab16 d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 Author: Thomas Gleixner Date: Sat Jul 16 09:20:01 2005 +0200 Merge with rsync://fileserver/linux commit 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 Author: Siddha, Suresh B Date: Fri Jul 15 19:17:44 2005 -0700 [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes A malicious 32bit app can have an elf section at 0xffffe000. During exec of this app, we will have a memory leak as insert_vm_struct() is not checking for return value in syscall32_setup_pages() and thus not freeing the vma allocated for the vsyscall page. Check the return value and free the vma incase of failure. Signed-off-by: Suresh Siddha Signed-off-by: Linus Torvalds commit d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 Merge: 38d84c3bd6dd22bdb1f797c87006931133d71aea 46906c4415f88cebfad530917bada0835d651824 Author: Linus Torvalds Date: Fri Jul 15 17:52:13 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 08848e446bcd2130c26945be966446389d25bcc2 Merge: 46906c4415f88cebfad530917bada0835d651824 38d84c3bd6dd22bdb1f797c87006931133d71aea Author: Tony Luck Date: Fri Jul 15 16:59:00 2005 -0700 Auto merge with /home/aegl/GIT/linus commit 38d84c3bd6dd22bdb1f797c87006931133d71aea Author: Patrick Boettcher Date: Fri Jul 15 12:20:26 2005 -0700 [PATCH] dvb: cx88 output mode fix The output_mode needs to be set for the Hauppauge Nova-T DVB-T (cx88-dvb.c). Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4851d3aaa550b7b62553dd19fcadc7b586da4f17 Author: Marcelo Feitoza Parisi Date: Fri Jul 15 10:00:41 2005 -0700 [NET PCMCIA]: drivers/net/pcmcia/smc91c92_cs.c : Use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit a8178345c4f12f4413e5620fc86a6b0381c41bc9 Author: Marcelo Feitoza Parisi Date: Fri Jul 15 09:59:26 2005 -0700 [WAN]: drivers/net/wan/: use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit c9f04f5847c17d9933c5bd795c6c3740e96058e9 Author: Robert Love Date: Fri Jul 15 12:21:07 2005 -0400 [PATCH] inotify: MAINTAINERS Add a MAINTAINERS entry for Inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 6a806c510de490318846b53bbfec463d02ca274b Author: NeilBrown Date: Fri Jul 15 03:56:35 2005 -0700 [PATCH] md/raid1: clear bitmap when fullsync completes We need to be careful differentiating between a resync of a complete array, in which we can clear the bitmap, and a resync of a degraded array, in which we cannot. This patch cleans all that up. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 Author: Michal Ostrowski Date: Fri Jul 15 03:56:33 2005 -0700 [PATCH] rocket.c: Fix ldisc ref count handling If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. Signed-off-by: Michal Ostrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b Author: Robert Love Date: Fri Jul 15 03:56:33 2005 -0700 [PATCH] inotify: documentation update Clean up and expand some of the inotify documentation. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35e422c967d3208f188e3096c9f603ac7333fb1b Author: Alexey Dobriyan Date: Fri Jul 15 03:56:32 2005 -0700 [PATCH] visws: reexport pm_power_off More fallout from the i386_ksyms.c cleanups. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afa597ba20e9ef55fc6283c1a564854b1c9f13c0 Author: Carsten Otte Date: Fri Jul 15 03:56:30 2005 -0700 [PATCH] execute-in-place fixes This patch includes feedback from Andrew and Christoph. Thanks for taking time to review. Use of empty_zero_page was eliminated to fix compilation for architectures that don't have it. This patch removes setting pages up-to-date in ext2_get_xip_page and all bug checks to verify that the page is indeed up to date. Setting the page state on mapping to userland is bogus. None of the code patchs involved with these pages in mm cares about the page state. still on my ToDo list: identify a place outside second extended where __inode_direct_access should reside Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5287ba132ff742e595d42c28b66cbba19522c4e Author: Mauro Carvalho Chehab Date: Fri Jul 15 03:56:28 2005 -0700 [PATCH] v4l: bug fixes for tuner, cx88 and tea5767 - In CX88 code, some cards needs to have audio reprogramed after changing video channel; - Tuner autodetection code seems not to work on some cards. Now, no_autodetect insmod option allows disabling autodetection code; - Minor fixes in tea5767 to reduce integer trunc; - There are some new Pixelview Ultra Pro cards that doesn't use TEA5767 for radio. As autodetection is capable of checking for tea, radio tuners and addresses removed. - CX88 version number incremented. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eb29128c644581fa51f822545921394ad4f719f Author: Neil Brown Date: Fri Jul 15 03:56:27 2005 -0700 [PATCH] Fix raid0's attempt to divide by 64bit numbers Apparently sector_div is only guaranteed to work with a 32bit divisor, even on 64bit architectures. So allow for this in raid0. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030babac6ae54df64ae3bba4685ecb1d8d8dd8c3 Author: Nishanth Aravamudan Date: Fri Jul 15 03:56:25 2005 -0700 [PATCH] vt.c build fix Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d9b1cdd2455017c6aa25bc2442092b81438981f Author: Qu Fuping Date: Fri Jul 15 10:36:08 2005 -0500 JFS: fsync wrong behavior when I/O failure occurs This is half of a patch that Qu Fuping submitted in April. The first part was applied to fs/mpage.c in 2.6.12-rc4. jfs_fsync should return error, but it doesn't wait for the metadata page to be uptodate, e.g.: jfs_fsync->jfs_commit_inode->txCommit->diWrite->read_metapage-> __get_metapage->read_cache_page reads a page from disk. Because read is async, when read_cache_page: err = filler(data, page), filler will not return error, it just submits I/O request and returns. So, page is not uptodate. Checking only if(IS_ERROR(mp->page)) is not enough, we should add "|| !PageUptodate(mp->page)" Signed-off-by: Dave Kleikamp commit 56d1254917d9f301a8e24155cd3f2236e642cb7d Author: Dave Kleikamp Date: Fri Jul 15 09:43:36 2005 -0500 JFS: Remove assert statement in dbJoin & return -EIO instead Signed-off-by: Dave Kleikamp commit 9d853c3757ef74ded5ae564d68370f22208fb88b Author: Herbert Xu Date: Fri Jul 15 07:41:31 2005 -0700 [CRYPTO]: Fix zero-extension bug on 64-bit architectures. Noticed by Ken-ichirou MATSUZAWA. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 463a4f76a79bce00ca8964e0b2ebf7f10f376965 Author: Dmitry Torokhov Date: Fri Jul 15 01:51:56 2005 -0500 Input: i8042 - don't use negation to mark AUX data Currently i8042_command() negates data coming from the AUX port of keyboard controller; this is not a very reliable indicator. Change i8042_command() to fail if response to I8042_CMD_AUX_LOOP is not coming from AUX channel and get rid of negation. Based on patch by Vojtech Pavlik. Signed-off-by: Dmitry Torokhov commit 7b4019d04895de7407c9989895c3664c24ed01f7 Author: Vojtech Pavlik Date: Fri Jul 15 01:50:08 2005 -0500 Input: psmouse - wheel mice (imps, exps) always have 3rd button There are wheel mice that respond to Logitech probes and report that they have only 2 buttons (such as e-Aser mouse) and this stops the wheel from being used as a middle button. Change the driver to always report BTN_MIDDLE capability if a wheel is present. Also, never reset BTN_RIGHT capability in logips2pp code - there are no Logitech mice that have only one button and if some other mice happen to respond to Logitech's query we could do the wrong thing. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 5d157885f383ccc0660c011fa488ae4edb77ab16 Author: Thomas Gleixner Date: Fri Jul 15 08:14:44 2005 +0200 [JFFS2] Fix node allocation leak In the rare case of failing to write the cleanmarker the allocated node was not freed. Pointed out by Forrest Zhao Initial cleanup by Joern Engel Signed-off-by: Thomas Gleixner commit 00be3e7e5cc3ca80e035b387e883d5ec10d7b897 Author: Dave Kleikamp Date: Thu Jul 14 15:15:39 2005 -0500 JFS: Remove bogus WARN_ON statement and some dead code Signed-off-by: Dave Kleikamp commit e10fb91c4dc81a4ae47caf0828df152f600f2546 Author: James Bottomley Date: Thu Jul 14 11:54:17 2005 -0500 [SCSI] fix function prototype warning int_to_scsilun() takes a pointer to a struct scsi_lun in it's prototype, so add this structure to scsi_device.h to avoid declaration inside function prototype warnings. Signed-off-by: James Bottomley commit 46906c4415f88cebfad530917bada0835d651824 Author: Ian Wienand Date: Wed Jul 13 21:09:00 2005 -0700 [IA64] Fix undefined reference to can_cpei_retarget for simulator The simulator build doesn't turn on ACPI, so doesn't have a definition of can_cpei_retarget. Signed-off-by: Tony Luck commit ba460e48064edeb57e3398eb8972c58de33f11ea Author: Matthias Urlichs Date: Thu Jul 14 00:33:47 2005 -0700 [PATCH] Option Card driver update, Maintainer entry This patch updates the Option Card driver: - remove a deadlock - add sponsor notice - add new card - renamed the device to what's usually printed on it - removed some dead code - clean up a bunch of irregular whitespace (end-of-line, tabs) Also add a MAINTAINERS entry for the Option Card driver. Signed-Off-By: Matthias Urlichs Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98848fa83bb6a4572ad55daeb312182dec9bed58 Author: Olaf Hering Date: Thu Jul 14 00:33:45 2005 -0700 [PATCH] ratelimit the ieee1394 IR legacy activated messages running coriander1 with an Apple iSight produces lots of dmesg output. Jul 13 22:14:17 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 13 22:15:28 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 13 22:15:59 ibook last message repeated 208 times Jul 13 22:17:00 ibook last message repeated 762 times Jul 13 22:18:01 ibook last message repeated 914 times Jul 13 22:18:17 ibook last message repeated 238 times Jul 13 22:18:17 ibook kernel: ieee1394: unsolicited response packet received - no tlabel match Jul 13 22:18:17 ibook kernel: ohci1394: fw-host0: IR legacy activated its less noisy with the patch: Jul 14 08:03:08 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 14 08:03:26 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:42 ibook last message repeated 10 times Jul 14 08:03:47 ibook kernel: printk: 63 messages suppressed. Jul 14 08:03:47 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:52 ibook kernel: printk: 74 messages suppressed. Signed-off-by: Olaf Hering Cc: Jody McIntyre Cc: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:44 2005 -0700 [PATCH] remove EXPORT_SYMBOL for root_dev Remove ROOT_DEV after unexporting it in the previous patch, as requested time ago by Christoph Hellwig. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0d43df931870997467042931e8fb7657375d327 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:43 2005 -0700 [PATCH] uml: hostfs: unuse ROOT_DEV Minimal patch removing uses of ROOT_DEV; next patch unexports it. I've opposed this, but I've planned to reintroduce the functionality without using ROOT_DEV. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20d0021394c1b070bf04b22c5bc8fdb437edd4c5 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:43 2005 -0700 [PATCH] uml: allow building as 32-bit binary on 64bit host This patch makes the command: make ARCH=um SUBARCH=i386 work on x86_64 hosts (with support for building 32-bit binaries). This is especially needed since 64-bit UMLs don't support 32-bit emulation for guest binaries, currently. This has been tested in all possible cases and works. Only exception is that I've built but not tested a 64-bit binary, because I hadn't a 64-bit filesystem available. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecc354a90af90a80dcaccc750f5f3e5e7c83112d Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:41 2005 -0700 [PATCH] uml: reintroduce pcap support The pcap support was not working because of some linking problems (expressing the construct in Kbuild was a bit difficult) and because there was no user request. Now that this has come back, here's the support. This has been tested and works on both 32 and 64-bit hosts, even when "cross-"building 32-bit binaries. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e0a21812427313f8ee8521688e81bfcc6f207a2 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:41 2005 -0700 [PATCH] uml: fix hppfs error path Fix the error message to refer to the error code, i.e. err, not count, plus add some cosmetical fixes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c30385ae479ec4774bdc1048726aeb15cde0d21 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:38 2005 -0700 [PATCH] uml: gcc 2.95 fix and Makefile cleanup 1) Cleanup an ugly hyper-nested code in Makefile (now only the arith. expression is passed through the host bash). 2) Fix a problem with GCC 2.95: according to a report from Raphael Bossek, .remap_data : { arch/um/sys-SUBARCH/unmap_fin.o (.data .bss) } is expanded into: .remap_data : { arch/um/sys-i386 /unmap_fin.o (.data .bss) } (because I didn't use ## to join the two tokens), thus stopping linking. Pass the whole path from the Makefile as a simple and nice fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Raphael Bossek Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e5e55923e315e8198f46f24f7ca37e1fd9aa102 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:37 2005 -0700 [PATCH] uml: consolidate modify_ldt *) Reorganize the two cases of sys_modify_ldt to share all the reasonably common code. *) Avoid memory allocation when unneeded (i.e. when we are writing and the passed buffer size is known), thus not returning ENOMEM (which isn't allowed for this syscall, even if there is no strict "specification"). *) Add copy_{from,to}_user to modify_ldt for TT mode. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1feb8d2d7396748fb3bd6795d09bbfbdd4c03dff Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:36 2005 -0700 [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix" A big bug has been diagnosed on hosts running the SKAS patch and built with CONFIG_REGPARM, due to some missing prevent_tail_call(). On these hosts, this workaround is needed to avoid triggering that bug, because "to" is kept by GCC only in EBX, which is corrupted at the return of mmap2(). Since to trigger this bug int 0x80 must be used when doing the call, it rarely manifests itself, so I'd prefer to get this merged to workaround that host bug, since it should cause no functional change. Still, you might prefer to drop it, I'll leave this to you. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcb01b8a67476e6f748086e626df8424cc27036d Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 14 00:33:34 2005 -0700 [PATCH] uml: fix lvalue for gcc4 Russell King This construct is refused by GCC 4, so here's the (corrected) fix. Thanks to Russell for noticing a stupid mistake I did when first sending this. As he noted, the code is largely suboptimal however it currently works, and will be fixed shortly. Just read the access_ok check on fp which is NULL, or the pointer arithmetic below which should be done with a cast to void*: frame = (struct rt_sigframe __user *) round_down(stack_top - sizeof(struct rt_sigframe), 16) - 8; The code shows clearly that has been taken from arch/x86_64/kernel/signal.c:setup_rt_frame(), maybe in a bit of a hurry. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3952db66efee4f22f3c6a0fd02a1e7071556a8d6 Author: Michael Krufky Date: Thu Jul 14 00:33:33 2005 -0700 [PATCH] dvb: LGDT3302 QAM lock bug fix Fix QAM lock bug. Previously, it was necessary to first scan in VSB before attempting to get a QAM lock. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fce2cf62e4bd9c24717009865ac00940cb664b8 Author: Chen, Kenneth W Date: Tue Jul 12 15:57:13 2005 -0700 [SCSI] Redundant this_count check in sd_init_command() I was going over the scsi I/O submit path, when sd_init_command construct the scsi command, this_count is already checked in the previous else if clause. Why does it need to check it again in the last else block? Patch to delete the spurious check. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 0f34e3f53378a11c9ecba0f8165da50e8b01d53f Author: Chen, Kenneth W Date: Tue Jul 12 17:06:14 2005 -0700 [SCSI] Redundant memset in scsi_alloc_sgtable scsi_init_io calls scsi_alloc_sgtable and then calls blk_rq_map_sg to initialize the scatterlist structure. blk_rq_map_sg() already memset the structure for every new segment. That makes the memset in scsi_alloc_sgtable unnecessary. Patch to delete the extra memset in scsi_alloc_sgtable. Tested on a x86_64 machine. Looks stable to me. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 2f4701d8274c8663f5c50323dc72fefa24b55091 Author: James.Smart@Emulex.Com Date: Wed Jul 13 22:05:03 2005 -0400 [SCSI] add int_to_scsilun() function One of the issues we had was reverting the midlayers lun value into the 8byte lun value that we wanted to send to the device. Historically, there's been some combination of byte swapping, setting high/low, etc. There's also been no common thread between how our driver did it and others. I also got very confused as to why byteswap routines were being used. Anyway, this patch is a LLDD-callable function that reverts the midlayer's lun value, stored in an int, to the 8-byte quantity (note: this is not the real 8byte quantity, just the same amount that scsilun_to_int() was able to convert and store originally). This also solves the dilemma of the thread: http://marc.theaimsgroup.com/?l=linux-kernel&m=112116767118981&w=2 A patch for the lpfc driver to use this function will be along in a few days (batched with other patches). Signed-off-by: James Bottomley commit 77d74143612c1dab6c055dac21f965929ba0a7e6 Author: Andrew Vasquez Date: Fri Jul 8 18:00:36 2005 -0700 [SCSI] qla2xxx: Cleanup FC remote port registration. Cleanup FC remote port registration. Due to the inherent behaviour (an immediate scan) of adding a 'target'-role-capable rport via fc_remote_port_add(), split the registration into two steps -- addition as unknown-type role, then use fc_remote_port_rolchg() with appropriate role (based on PLOGI/PRLI bits). This allows for a more cleaner rport->dd_data management as can be seen with the simplified qla2xxx_slave_alloc() function. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 88c2666351f41a7d4459e79594f687a356f5e57c Author: Andrew Vasquez Date: Fri Jul 8 17:59:26 2005 -0700 [SCSI] qla2xxx: Consolidate ISP24xx chip reset logic. Consolidate ISP24xx chip reset logic. Consolidate near-duplicate RISC reset logic from qla24xx_reset_chip() and qla24xx_chip_diag(). Also, after initiating a soft-reset, insure the firmware has completed all NVRAM accesses before continuing. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f0883ac6a74b403f0f2e91166ba06227cc4690e6 Author: Andrew Vasquez Date: Fri Jul 8 17:58:43 2005 -0700 [SCSI] qla2xxx: Add firmware version number to qla24xx_fw_version_str(). Add firmware version number to qla24xx_fw_version_str(). Original code was accidently trimmed during port. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 84e29308ede3edb4f03911246c33d697ff18722e Author: Mark Haverkamp Date: Thu Jul 7 13:40:00 2005 -0700 [SCSI] aacraid: Fix sgmap error The wrong sgmap structure is being assigned in aac_send_raw_srb. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f Author: Andrew Vasquez Date: Wed Jul 6 10:32:47 2005 -0700 [SCSI] qla2xxx: Update version number to 8.01.00b5-k. Update version number to 8.01.00b5-k. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit cc4731f5b4539faea237bacd170a27a230a7e724 Author: Andrew Vasquez Date: Wed Jul 6 10:32:37 2005 -0700 [SCSI] qla2xxx: Correct maximum supported lun and target-id definitions. Correct maximum supported lun and target-id definitions. The driver uses command-IOCBs which support a maximum lun value of 0xffff -- correct #define to reflect the change. Also, remove superfluous MAX_TARGET definition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ae91193cd5bc80b4d62b1d4f0e7f3fea48f41ccd Author: Andrew Vasquez Date: Wed Jul 6 10:32:27 2005 -0700 [SCSI] qla2xxx: Update copyright banner. Update copyright banner. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f04a311fdc85d580526ef25eb547628042b1e510 Author: Andrew Vasquez Date: Wed Jul 6 10:32:17 2005 -0700 [SCSI] qla2xxx: Firmware updates. Firmware updates. Resync with latest 21xx firmware -- 1.19.25. Resync with latest 22xx firmware -- 2.02.08. Resync with latest 23xx/63xx firmware -- 3.03.15. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fa2a1ce53d4b869b74da9a770770c79f9af64914 Author: Andrew Vasquez Date: Wed Jul 6 10:32:07 2005 -0700 [SCSI] qla2xxx: Code scrubbing. Code scrubbing. - Remove trailing whitespace from driver files. - Remove unused #defines and inlines. - Standardize on C comments (// -> /* */) Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ba5140b48e35aa4e4b57eb6db5cface63d7bd712 Author: Andrew Vasquez Date: Wed Jul 6 10:31:57 2005 -0700 [SCSI] qla2xxx: NVRAM id-list updates. NVRAM id-list updates. Resync with latest NVRAM subsystem ID list. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fca297037127e524e8f61b3fc1c7a1886e5d757b Author: Andrew Vasquez Date: Wed Jul 6 10:31:47 2005 -0700 [SCSI] qla2xxx: Add OS initialization codes for ISP24xx recognition. Add OS initialization codes for ISP24xx recognition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 0107109ed69c9e04b6fa35ac41d870c74dcce3fc Author: Andrew Vasquez Date: Wed Jul 6 10:31:37 2005 -0700 [SCSI] qla2xxx: Add ISP24xx initialization routines. Add ISP24xx initialization routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9a853f71804d80e862362f6d0743d06955305752 Author: Andrew Vasquez Date: Wed Jul 6 10:31:27 2005 -0700 [SCSI] qla2xxx: Add ISP24xx ISR routines. Add ISP24xx ISR routines. Add appropriate glue-code for ISP24xx support -- this included generalizing some of the core handling routines (qla2x00_async_event() [pull-up retrieval of mailbox values] and qla2x00_status_entry()]. Fixup 2100/2300 ISRs to handle the new conventions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 2b6c0cee90cecbce35fb6d65fed94f22e5063be0 Author: Andrew Vasquez Date: Wed Jul 6 10:31:17 2005 -0700 [SCSI] qla2xxx: Add ISP24xx IOCB manipulation routines. Add ISP24xx IOCB manipulation routines. Add appropriate glue-code for ISP24xx support while manipulting IOCB packets. Add an ISP24xx specific 'start_scsi' routine due to command-type-7 layout changes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 459c537807bd72cce7b007fb218bb5a658a6c3c1 Author: Andrew Vasquez Date: Wed Jul 6 10:31:07 2005 -0700 [SCSI] qla2xxx: Add ISP24xx flash-manipulation routines. Add ISP24xx flash-manipulation routines. Add read/write flash manipulation routines for the ISP24xx. Update sysfs NVRAM objects to use generalized accessor functions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1c7c63574ff3e568ca374e9f05e30b8d7d64273e Author: Andrew Vasquez Date: Wed Jul 6 10:30:57 2005 -0700 [SCSI] qla2xxx: Add MBX command routines for ISP24xx support. Add MBX command routines for ISP24xx support. Generalize several routines [qla2x00_load_ram_ext(), qla2x00_execute_fw(), qla2x00_verify_checksum()] to handle larger addressing space. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 Author: Andrew Vasquez Date: Wed Jul 6 10:30:47 2005 -0700 [SCSI] qla2xxx: Generalize SNS generic-services routines. Generalize SNS generic-services routines. Consolidate completion-status checking while adding support for the ISP24xx. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 Author: Andrew Vasquez Date: Wed Jul 6 10:30:36 2005 -0700 [SCSI] qla2xxx: Add ISP24xx diagnostic routines. Add ISP24xx diagnostic routines. Add function and structure definitions for the ISP24xx diagnostic firmware dump routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 3d71644cf952fd1157a13173237258422ba3c569 Author: Andrew Vasquez Date: Wed Jul 6 10:30:26 2005 -0700 [SCSI] qla2xxx: Add ISP24xx definitions. Add ISP24xx definitions. Add requisite structure definitions and #define's for ISP24xx support. Also drop volatile modifiers from device_reg_* register layouts as the members are never really accessed, only their offsets within the layout are used during reads and writes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ac96202ba096f8fc1ccaf45a2f159a52639ece29 Author: Andrew Vasquez Date: Wed Jul 6 10:30:16 2005 -0700 [SCSI] qla2xxx: Add pci ids for new ISP types. Add pci ids for new ISP types. Move old definitions in local qla_def.h file to pci_ids.h as well. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit abbd8870b9cb7754a4935826bc9f3c7b029f8b7c Author: Andrew Vasquez Date: Wed Jul 6 10:30:05 2005 -0700 [SCSI] qla2xxx: Factor-out ISP specific functions to method-based call tables. Factor-out ISP specific functions to method-based call tables. In anticipation of ISP24xx/ISP25xx support, factor-out ISP specific functions into a method-based call table. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 514fd7fd01d378a7b5584c657d9807fc28f22079 Merge: 1e279dd855d15b72364b4103f872d67d8592647e 99ad25a313bda566a346b46a6015afa65bc0a02b Author: Linus Torvalds Date: Wed Jul 13 15:48:33 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c514720716c7b109ff980f8b3cb93f9af872c91c Merge: 07929dcb963786512c760dd3ecd148d89295e7e5 1e279dd855d15b72364b4103f872d67d8592647e Author: Anton Altaparmakov Date: Wed Jul 13 23:09:23 2005 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 1e279dd855d15b72364b4103f872d67d8592647e Author: Miles Bader Date: Wed Jul 13 14:40:03 2005 +0900 [PATCH] v850: Align ___start___param to match parameter alignment Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 3720bd8b1e16b41b9ec640bf91f12e1a1b5cb961 Merge: a61caa8523a76e497f6b2a05350c892bc5ee402c 6a8b4d319c52f8a3fdca46b185d001fbf0939911 Author: Linus Torvalds Date: Wed Jul 13 12:19:30 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit 99ad25a313bda566a346b46a6015afa65bc0a02b Merge: f62c4a96f74d6c6dd56d1742697e94a5c2085e87 9a556e89081b0c1c2f83cee915363b15a68a6f2d Author: Tony Luck Date: Wed Jul 13 12:15:43 2005 -0700 Auto merge with /home/aegl/GIT/linus commit f62c4a96f74d6c6dd56d1742697e94a5c2085e87 Author: David Mosberger-Tang Date: Tue Jul 12 21:51:00 2005 -0700 [IA64] Make PCDP work again. Mark's patch added "attribute((packed))" for pcdp_uart, without accounting for the fact that the structure definition _relied_ on implicit padding by 6 bytes. Fix is to make the padding explicit. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 59a0a8aa6ab6e46926e8d12694593267c0869440 Author: Dean Nelson Date: Wed Jul 13 05:45:00 2005 -0700 [IA64] fix call of smp_processor_id() by XPC while XPC calls smp_processor_id() twice from xpc_setup_infrastructure() with preemption enabled, which gets flagged if 'DEBUG_PREEMPT=y'. This patch replaces the two calls to smp_processor_id() by a single call to raw_smp_processor_id() since any CPU within the partition will do. Signed-off-by: Dean Nelson Acked-by: Christoph Hellwig Signed-off-by: Tony Luck commit a61caa8523a76e497f6b2a05350c892bc5ee402c Author: Geert Uytterhoeven Date: Wed Jul 13 12:56:42 2005 +0200 [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds commit f264cc28245d4d635d586be8c2148140726756dd Author: Olof Johansson Date: Wed Jul 13 01:11:44 2005 -0700 [PATCH] ppc64: add 970MP PVR Add PVR value and tests for 970MP. Also switch to a simpler (but slightly longer) check at init time for simplicity. Signed-off-by: Olof Johansson Cc: Benjamin Herrenschmidt Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e2844999f99878fc5b03b81ccaa60580005b81 Author: David Gibson Date: Wed Jul 13 01:11:42 2005 -0700 [PATCH] ppc64: kill bitfields in ppc64 hash code This patch removes the use of bitfield types from the ppc64 hash table manipulation code. Signed-off-by: David Gibson Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f13487c66c75f5db004a0631047309d9e7c5aab7 Author: Olaf Hering Date: Wed Jul 13 01:11:41 2005 -0700 [PATCH] ppc32: make -j12 all fails in uImage target make -j zImage may call if_changed twice at the same time, the result is a corrupted vmlinux.gz Write to a temporary file for the time being until someone with make skills fix the serialization properly. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Sam Ravnborg Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee91ec14bd4def036b4084da29869382078e44b Author: Steve Dickson Date: Wed Jul 13 01:10:47 2005 -0700 [PATCH] NFS: procfs/sysctl interfaces for lockd do not work on x86_64 Allow the setting of NLM timeouts and grace periods through the proc and sysclt interfaces on x86_64 architectures Signed-off-by: Steve Dickson Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 068e1b94bbd268f375349f68531829c8b7c210bc Author: Martin Schwidefsky Date: Wed Jul 13 01:10:46 2005 -0700 [PATCH] s390: fadvise hint values. Add special case for the POSIX_FADV_DONTNEED and POSIX_FADV_NOREUSE hint values for s390-64. The user space values in the s390-64 glibc headers for these two defines have always been 6 and 7 instead of 4 and 5. All 64 bit applications therefore use the "wrong" values. To get these applications working without recompiling the kernel needs to accept the "wrong" values. Since the values for s390-31 are 4 and 5 the compat wrapper for fadvise64 and fadvise64_64 need to rewrite the values for 31 bit system calls. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca3b80cef36cc668f924ef5154a79acb19ebd7 Author: Guillaume Autran Date: Wed Jul 13 01:10:45 2005 -0700 [PATCH] ppc32: fix destroy_context() race condition Fix for a race condition when a task gets preempted by another task while executing the destroy_context(...) in a FEW_CONTEXTS environment. mm->context == NO_CONTEXT but the context_map may indicate all contexts are in use. The solution to this problem is to disable kernel preemption while destroying a MMU context. Signed-off-by: Guillaume Autran Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88bd5121d635136e01369141367f315665534b3c Author: Anton Altaparmakov Date: Wed Jul 13 01:10:44 2005 -0700 [PATCH] Fix soft lockup due to NTFS: VFS part and explanation Something has changed in the core kernel such that we now get concurrent inode write outs, one e.g via pdflush and one via sys_sync or whatever. This causes a nasty deadlock in ntfs. The only clean solution unfortunately requires a minor vfs api extension. First the deadlock analysis: Prerequisive knowledge: NTFS has a file $MFT (inode 0) loaded at mount time. The NTFS driver uses the page cache for storing the file contents as usual. More interestingly this file contains the table of on-disk inodes as a sequence of MFT_RECORDs. Thus NTFS driver accesses the on-disk inodes by accessing the MFT_RECORDs in the page cache pages of the loaded inode $MFT. The situation: VFS inode X on a mounted ntfs volume is dirty. For same inode X, the ntfs_inode is dirty and thus corresponding on-disk inode, which is as explained above in a dirty PAGE_CACHE_PAGE belonging to the table of inodes ($MFT, inode 0). What happens: Process 1: sys_sync()/umount()/whatever... calls __sync_single_inode() for $MFT -> do_writepages() -> write_page for the dirty page containing the on-disk inode X, the page is now locked -> ntfs_write_mst_block() which clears PageUptodate() on the page to prevent anyone else getting hold of it whilst it does the write out (this is necessary as the on-disk inode needs "fixups" applied before the write to disk which are removed again after the write and PageUptodate is then set again). It then analyses the page looking for dirty on-disk inodes and when it finds one it calls ntfs_may_write_mft_record() to see if it is safe to write this on-disk inode. This then calls ilookup5() to check if the corresponding VFS inode is in icache(). This in turn calls ifind() which waits on the inode lock via wait_on_inode whilst holding the global inode_lock. Process 2: pdflush results in a call to __sync_single_inode for the same VFS inode X on the ntfs volume. This locks the inode (I_LOCK) then calls write-inode -> ntfs_write_inode -> map_mft_record() -> read_cache_page() of the page (in page cache of table of inodes $MFT, inode 0) containing the on-disk inode. This page has PageUptodate() clear because of Process 1 (see above) so read_cache_page() blocks when tries to take the page lock for the page so it can call ntfs_read_page(). Thus Process 1 is holding the page lock on the page containing the on-disk inode X and it is waiting on the inode X to be unlocked in ifind() so it can write the page out and then unlock the page. And Process 2 is holding the inode lock on inode X and is waiting for the page to be unlocked so it can call ntfs_readpage() or discover that Process 1 set PageUptodate() again and use the page. Thus we have a deadlock due to ifind() waiting on the inode lock. The only sensible solution: NTFS does not care whether the VFS inode is locked or not when it calls ilookup5() (it doesn't use the VFS inode at all, it just uses it to find the corresponding ntfs_inode which is of course attached to the VFS inode (both are one single struct); and it uses the ntfs_inode which is subject to its own locking so I_LOCK is irrelevant) hence we want a modified ilookup5_nowait() which is the same as ilookup5() but it does not wait on the inode lock. Without such functionality I would have to keep my own ntfs_inode cache in the NTFS driver just so I can find ntfs_inodes independent of their VFS inodes which would be slow, memory and cpu cycle wasting, and incredibly stupid given the icache already exists in the VFS. Below is a patch that does the ilookup5_nowait() implementation in fs/inode.c and exports it. ilookup5_nowait.diff: Introduce ilookup5_nowait() which is basically the same as ilookup5() but it does not wait on the inode's lock (i.e. it omits the wait_on_inode() done in ifind()). This is needed to avoid a nasty deadlock in NTFS. Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a556e89081b0c1c2f83cee915363b15a68a6f2d Author: Robert Love Date: Wed Jul 13 13:49:23 2005 -0400 [PATCH] inotify: misc cleanup Really simple, basic cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 5995f16b4a464c8a57de7c9d5ddf4758dbacad41 Author: Robert Love Date: Wed Jul 13 12:38:39 2005 -0400 [PATCH] inotify: event ordering This rearranges the event ordering for "open" to be consistent with the ordering of the other events. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 0399cb08c54708db231d616f106f64d920e0b723 Author: Robert Love Date: Wed Jul 13 12:38:18 2005 -0400 [PATCH] inotify: move sysctl This moves the inotify sysctl knobs to "/proc/sys/fs/inotify" from "/proc/sys/fs". Also some related cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 153f805781d35c91ab2f54aa2b8930cc4cfc7e89 Author: James Bottomley Date: Wed Jul 13 09:38:05 2005 -0400 [PATCH] fix voyager subarchitecture EXPORT_SYMBOL breakage caused by i386_ksym reduction This patch: [PATCH] Remove i386_ksyms.c, almost made files like smp.c do their own EXPORT_SYMBOLS. This means that all subarchitectures that override these symbols now have to do the exports themselves. This patch adds the exports for voyager (which is the most affected since it has a separate smp harness). However, someone should audit all the other subarchitectures to see if any others got broken. Signed-off-by: James Bottomley Signed-off-by: Linus Torvalds commit c327ff6250fb558659ad689fe33f50524eda74e3 Merge: c0ac515e2951dd2a999cfd21dea3fdc1055f1573 59192ed9e7aa81b06a1803661419f7261afca1ad Author: Linus Torvalds Date: Wed Jul 13 10:37:36 2005 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit c0ac515e2951dd2a999cfd21dea3fdc1055f1573 Author: Jeff Mahoney Date: Wed Jul 13 11:55:42 2005 -0400 [PATCH] Lindent: ignore .indent.pro When I recently submitted a Lindent patch, it turned out that my .indent.pro options were also applied to the tree. This patch directs indent(1) to ignore the .indent.pro directives and only use options specified on the command line. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 6cd59f7a4119fef124677827a9b30684c2c8e674 Merge: c32511e2718618f0b53479eb36e07439aa363a74 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc Author: Linus Torvalds Date: Wed Jul 13 10:12:50 2005 -0700 Merge /home/torvalds/linux-2.6-arm commit 6a8b4d319c52f8a3fdca46b185d001fbf0939911 Author: Joern Engel Date: Wed Jul 13 16:45:43 2005 +0100 [MTD] cfi_cmdset_0002: Plugged a mem leak. Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 59192ed9e7aa81b06a1803661419f7261afca1ad Author: Ian Dall Date: Wed Jul 13 09:15:18 2005 -0500 JFS: Need to be root to create files with security context It turns out this is due to some inverted logic in xattr.c Signed-off-by: Dave Kleikamp commit 6211502d7ee9e515e4458d0c0ebfbb70553dc7de Author: Dave Kleikamp Date: Wed Jul 13 09:07:53 2005 -0500 JFS: Allow security.* xattrs to be set on symlinks All of the different xattr namespaces have different rules. user.* and ACL's are not allowed on symlinks, and since these were the first xattrs implemented, I assumed there was no need to support xattrs on symlinks. This one-line patch should fix it. Signed-off-by: Dave Kleikamp commit f7f24758ac98a506770bc5910d33567610fa3403 Merge: b38a3ab3d1bb0dc3288f73903d4dc4672b5cd2d0 c32511e2718618f0b53479eb36e07439aa363a74 Author: Dave Kleikamp Date: Wed Jul 13 08:57:38 2005 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 1b3035b7fcc72b6b36f2a3634dad832eb2453ce8 Merge: a98a5d04f400ad112e59cadd739dbabf89417e60 c32511e2718618f0b53479eb36e07439aa363a74 Author: Thomas Gleixner Date: Wed Jul 13 10:45:00 2005 +0200 Merge with rsync://fileserver/linux commit c32511e2718618f0b53479eb36e07439aa363a74 Author: Linus Torvalds Date: Tue Jul 12 21:46:46 2005 -0700 Linux 2.6.13-rc3 Yeah, this time hopefully I'm not confusing the version numbers. The last release was -rc2, _this_ is -rc3. commit 0eeca28300df110bd6ed54b31193c83b87921443 Author: Robert Love Date: Tue Jul 12 17:06:03 2005 -0400 [PATCH] inotify inotify is intended to correct the deficiencies of dnotify, particularly its inability to scale and its terrible user interface: * dnotify requires the opening of one fd per each directory that you intend to watch. This quickly results in too many open files and pins removable media, preventing unmount. * dnotify is directory-based. You only learn about changes to directories. Sure, a change to a file in a directory affects the directory, but you are then forced to keep a cache of stat structures. * dnotify's interface to user-space is awful. Signals? inotify provides a more usable, simple, powerful solution to file change notification: * inotify's interface is a system call that returns a fd, not SIGIO. You get a single fd, which is select()-able. * inotify has an event that says "the filesystem that the item you were watching is on was unmounted." * inotify can watch directories or files. Inotify is currently used by Beagle (a desktop search infrastructure), Gamin (a FAM replacement), and other projects. See Documentation/filesystems/inotify.txt. Signed-off-by: Robert Love Cc: John McCutchan Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd4c625c061c2a38568d0add3478f59172455159 Author: Linus Torvalds Date: Tue Jul 12 20:21:28 2005 -0700 reiserfs: run scripts/Lindent on reiserfs code This was a pure indentation change, using: scripts/Lindent fs/reiserfs/*.c include/linux/reiserfs_*.h to make reiserfs match the regular Linux indentation style. As Jeff Mahoney writes: The ReiserFS code is a mix of a number of different coding styles, sometimes different even from line-to-line. Since the code has been relatively stable for quite some time and there are few outstanding patches to be applied, it is time to reformat the code to conform to the Linux style standard outlined in Documentation/CodingStyle. This patch contains the result of running scripts/Lindent against fs/reiserfs/*.c and include/linux/reiserfs_*.h. There are places where the code can be made to look better, but I'd rather keep those patches separate so that there isn't a subtle by-hand hand accident in the middle of a huge patch. To be clear: This patch is reformatting *only*. A number of patches may follow that continue to make the code more consistent with the Linux coding style. Hans wasn't particularly enthusiastic about these patches, but said he wouldn't really oppose them either. Signed-off-by: Linus Torvalds commit 7fa94c8868edfef8cb6a201fcc9a5078b7b961da Author: Jeff Mahoney Date: Tue Jul 12 19:19:30 2005 -0400 [PATCH] reiserfs: fix up case where indent misreads the code indent(1) doesn't know how to handle the "do not compile" error. It results in the item_ops array declaration being indented a tab stop in when it should not be. This patch replaces it with a #error that describes why it's failing. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit d5e404c10a98fc2979643476851e9cbdb1944812 Author: Alasdair G Kergon Date: Tue Jul 12 15:53:05 2005 -0700 [PATCH] device-mapper snapshots: Handle origin extension Handle writes to a snapshot-origin device that has been extended since the snapshot was taken. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c534aefb906824d71ea779ed0c7f1573843f4e Author: Alasdair G Kergon Date: Tue Jul 12 15:53:05 2005 -0700 [PATCH] device-mapper: Fix dm_swap_table error cases Fix dm_swap_table() __bind error cases: a missing unlock, and EINVAL preferable to EPERM. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3cd4f6b275da0f594797b73f721a4185335478f Author: Alasdair G Kergon Date: Tue Jul 12 15:53:04 2005 -0700 [PATCH] device-mapper multipath: Fix pg initialisation races Prevent more than one priority group initialisation function from being outstanding at once. Otherwise the completion functions interfere with each other. Also, reloading the table could reference a freed pointer. Only reset queue_io in pg_init_complete if another pg_init isn't required. Skip process_queued_ios if the queue is empty so that we only trigger a pg_init if there's I/O. Signed-off-by: Lars Marowsky-Bree Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 436d41087d047b61f8ab0604dc74fff3240a8933 Author: Alasdair G Kergon Date: Tue Jul 12 15:53:03 2005 -0700 [PATCH] device-mapper multipath: Avoid possible suspension deadlock To avoid deadlock when suspending a multipath device after all its paths have failed, stop queueing any I/O that is about to fail *before* calling freeze_bdev instead of after. Instead of setting a multipath 'suspended' flag which would have to be reset if an error occurs during the process, save the previous queueing state and leave userspace to restore if it wishes. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a044d016896d2717694003f00d31a98194077511 Author: Alasdair G Kergon Date: Tue Jul 12 15:53:02 2005 -0700 [PATCH] device-mapper multipath: Flush workqueue when destroying The multipath destructor must flush its workqueue. Otherwise items that reference the destroyed object could remain. From: "goggin, edward" Signed-off-by: Lars Marowsky-Bree Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6a80ea8ed44de0b19c42d41928be37a186a3f41 Author: Alasdair G Kergon Date: Tue Jul 12 15:53:01 2005 -0700 [PATCH] device-mapper multipath: Barriers not supported dm multipath will report barriers as not supported with this patch. Signed-off-by: Lars Marowsky-Bree Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c2a6c62c013a4ea57243536fc7f3987e4ba04bc Author: Christoph Lameter Date: Tue Jul 12 16:03:00 2005 -0700 [IA64] Altix pcibus_to_node implementation The Altix subarch does not provide node information via ACPI. Instead hooks are used to fixup pci structures. This patch determines the nodes for Altix PCI busses. Remote Bridges: --------------- Altix supports remote I/O nodes without memory or processors but with bridges. The TIOCA type of bridge is an AGP bridge and the PROM provides information about the closest node. That information will be returned by pcibus_to_node. The TIOCP remote bridge type is a PCI bridge but the PROM does not provide a closest node id. pcibus_to_node will return -1 for devices on those bridges meaning that device control structures may be allocated on any node. Safeguard: ---------- Should the fixups result in invalid node information for a pci controller then a warning will be printed and pcibus_to_node will return -1. This patch also fixes the "FIXME" in sn_dma_alloc_coherent. This means that dma_alloc_coherent will now use alloc_pages_node to allocate memory local to the node that the PCI device is connected to. Signed-off-by: Christoph Lameter Signed-off-by: Tony Luck commit 3f603ed319d5120e883e64ac5967b2fc848fc43b Merge: 55ee3b8365fd5d301b9076eea739146f2b91e82c 5028770a42e7bc4d15791a44c28f0ad539323807 Author: Linus Torvalds Date: Tue Jul 12 16:04:50 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/linux-2.6 commit 55ee3b8365fd5d301b9076eea739146f2b91e82c Author: Michael Krufky Date: Tue Jul 12 13:59:08 2005 -0700 [PATCH] v4l: broken hybrid dvb inclusion Always include dvb frontend code for hybrid cx88 and saa7134 boards. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 833e9a1abe8cdfc037964d3240d57bb8ff94bff0 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:59:07 2005 -0700 [PATCH] v4l: TV EEPROM - Eliminated unused code. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af9eeed2d78cb9c672bdc750133506670713fdf8 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:59:06 2005 -0700 [PATCH] v4l: tuner-3026 - replace obsolete ioctl value - obsolete TUNER_SET_TVFREQ changed to VIDIOCSFREQ. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 330a115ae46e7d7b5fe2d4e506ba8ae2e0027143 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:59:01 2005 -0700 [PATCH] v4l: SAA7134 Update - Corrected all cards marked as 7135 cards to 7133. - Add new card support for Compro VideoMate TV Gold+II. - Add new card support for Kworld Xpert TV PVR7134 - Add new card support for Typhoon DVB-T Cardbus. - Changes to comply with CodingStyle: // comments converted to /* */ - Remove irq2_mask field from saa7134_dev structure. - Collect all the bits needed in saa7134_hwinit2() instead. - Distinguish the different variants of the Medion MD7134 modules via eeprom - moved Philips FMD1216 radio specific setup to saa7134-core.c - Fix kernel compile error with CONFIG_MODULES=n - Cleanup tuner private calls. - Some Indent fixes. Signed-off-by: Michael Tokarev Signed-off-by: Michael Krufky Signed-off-by: Hannibal Signed-off-by: Elshin Roman Signed-off-by: Hermann Pitton Signed-off-by: Juergen Orschiedt Signed-off-by: Hartmut Hackmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85369df350b138f26eac779da33de0960635ca4d Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:59 2005 -0700 [PATCH] v4l: MXB fix to correct tuner ioctl - driver command adapted to use new control (TUNER_SET_TYPE_ADDR, instead of TUNER_SET_TYPE) Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1455050f04084161c8a9425008e3b9b5f5c4c2a3 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:57 2005 -0700 [PATCH] v4l: drivers/media/video/Kconfig - Removed obsolete option. Current code needs multi tuner. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7ce3cc67052de63a29bad90110640b687d12058 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:55 2005 -0700 [PATCH] v4l: I2C Tuner - Fixed a trouble on tuner-core that generates erros on computers with more than one TV card. - Rename tuner structures fields. - Tail spaces removed. - I2C cleanups and converged to a basic reference structure. - Removed unused structures. - Fix setting frequency on tda8290. - Added code for TEA5767 autodetection. - Standby mode support implemented. It is used to disable a non used tuner. Currenlty implemented on tea5767. - New macro: set_type disables other tuner when changing mode. - Some cleanups. - Use 50 kHz step when tunning radio for most tuners to improve precision. Signed-off-by: Fabien Perrot Signed-off-by: Michael Krufky Signed-off-By: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebe4c6fa535b0410e58e9c8352320896d07e2efb Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:53 2005 -0700 [PATCH] v4l: I2C Miscelaneous - Removed unused structures. - CodingStyle rules applied to comments. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60acbc99e82753b0baa64834435caf81eabc2501 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:52 2005 -0700 [PATCH] v4l: I2C Infrared Remote Control - Removed unused structures. - CodingStyle rules applied to comments. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f8434a620383eec1115e73fdb18c53e049b26b9 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:51 2005 -0700 [PATCH] v4l: I2C BT832 - Removed unused structures. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db036a07ac42fbc410b14ae69f0c5440a8a417cb Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:49 2005 -0700 [PATCH] v4l: Documentation - Card definitions updated. - Tail spaces removed. - Mark all 7135 cards as 7133. - Correct info about sync byte for MPEG-2 transport stream packets. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: hermann pitton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86ddd96fcd479ec4b718abaa661e5884f9dc9a33 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:47 2005 -0700 [PATCH] v4l: SAA7134 hybrid DVB - Add new Typhoon DVB-T Cardbus. - DVB-T support for MD7134 cardbus and the PCI variants - initial DVB-T support for Lifeview Flydvb-t duo - DVB-T support for Philips TOUGH reference design - Don't turn off the xtal output of tda8274/75 in sleep mode - Let Kconfig decide whether to include frontend-specific code in saa7134-dvb. - Removed unused structures. Signed-off-by: Juergen Orschiedt Signed-off-by: Michael Krufky Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41ef7c1ed48cb273c7b7a9ffd48a262a22f84483 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:44 2005 -0700 [PATCH] v4l: CX88 Update - Removed unused structures. - Removed BTTV version check. - Some debug structs moved to their own .c file and converted to static - Comment changed to express better when attach_inform is running - set_freq removed from set_mode at tuner-core.c. - I2C cleanups and converged to a basic reference structure. - Rename tuner structures fields. - It calls VIDIOC_G_FREQUENCY to get tuner freq from tuner. - added missing contrast offset value, set to 0. - Let Kconfig decide whether to include frontend-specific code. Signed-Off-By: Nickolay V. Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa9846a8c5965636fbade8655ae0ce1f9a655bd4 Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:42 2005 -0700 [PATCH] v4l: BTTV update - use DMA_32BIT_MASK. - Rename tuner structures fields. - Tail spaces removed. - I2C cleanups and converged to a basic reference structure. - Removed unused structures. - Removed BTTV version check. Signed-off-by: Signed-off-by: Michael Krufky Signed-Off-By: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de9c634270df3e27675a3c0e95545d2b3f754e3f Author: Mauro Carvalho Chehab Date: Tue Jul 12 13:58:41 2005 -0700 [PATCH] v4l: BTTV input Changes to comply with CodingStyle: // comments converted to /* */ Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6dfa37888298e8369f197883ae5f058fbd98a70 Author: Johannes Stezenbach Date: Tue Jul 12 13:58:40 2005 -0700 [PATCH] dvb: dst: printk -> dprintk - stop log spamming when running femon (printk -> dprintk) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27b05fd22f8a1f9afd0377817b1811cfc95f8b7b Author: Julian Scheel Date: Tue Jul 12 13:58:39 2005 -0700 [PATCH] dvb: fix kobject names (no slashes) The / in the driver name (budget dvb /w video in) is not a valid character for device names - removed it, now it works! Same for ttusb-budget. Signed-off-by: Patrick Boettcher Signed-off-by: Julian Scheel Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8df3d46077e63ab87f954eb6e827689cdfe97155 Author: Patrick Boettcher Date: Tue Jul 12 13:58:38 2005 -0700 [PATCH] dvb: usb: fix some typos corrected some typos. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58ba006be9b5a8f14f32c530d19fcd4e633aadf8 Author: Michael Krufky Date: Tue Jul 12 13:58:37 2005 -0700 [PATCH] dvb: LGDT3302 QAM256 initialization fix - Initialize all non mutually exclusive variables without regard to the mode selected. - Do a software reset each time the parameters are set, regardless of whether anything changes. This may allow an application to recover from a hung condition. - Improved error reporting. - Removed $Id:$ Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67bc4eb0b1140a4bf364f2dcca152be659ed9057 Author: Randy Dunlap Date: Tue Jul 12 13:58:36 2005 -0700 [PATCH] hardirq uses preempt hardirq.h uses preempt_count() from preempt.h Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2ac953d7c5c8ddbd01dfa0428b92497a69ad6ef Author: Olaf Hering Date: Tue Jul 12 13:58:35 2005 -0700 [PATCH] MAINTAINERS: irda-users@lists.sourceforge.net is subscribers only Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc75a24582f60a70e2b95fda94ff66f577b7a0db Author: Albert Herranz Date: Tue Jul 12 13:58:34 2005 -0700 [PATCH] kexec-ppc: fix for ksysfs crash_notes The following patch prevents the crash dump helper code found within kexec from breaking ppc which still lacks crash dump functionality. ksysfs crash_notes attribute handling was left under CONFIG_KEXEC for simplicity although it is not strictly kexec related. We provide here a dummy definition for crash_notes on ppc. Signed-off-by: Albert Herranz Cc: Eric Biederman Cc: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41e2e8bec2da8d680a03aa4bee9a09fac499c05f Author: Adrian Bunk Date: Tue Jul 12 13:58:33 2005 -0700 [PATCH] Documentation/kernel-parameters.txt: fix a typo Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e498c1080ae794a8dc788152002fb39994ae78b Author: Yoichi Yuasa Date: Tue Jul 12 13:58:32 2005 -0700 [PATCH] TB0219: add PCI IRQ initialization This patch adds PCI IRQ initialization to TB0219 driver. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01e77d31d11a767c9da665f46e075756aef4fc4f Author: Adrian Bunk Date: Tue Jul 12 13:58:32 2005 -0700 [PATCH] IBM_ASM Kconfig corrections This patch contains the following fixes: - IBM_ASM must depend on PCI - remove useless "default n" - correct the URL to further information Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 542d1c88bd7f73e2e59d41b12e4a9041deea89e4 Author: Andrew Morton Date: Tue Jul 12 13:58:31 2005 -0700 [PATCH] tlb.h warning fix free_pages_and_swap_cache() and free_page_and_swap_cache() use release_pages() and page_cache_release() respectively, so make sure that we have the declarations in scope. Cc: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7da6844cf7bc44dcda548a0a0aebf85f3a1c1485 Author: Brian King Date: Tue Jul 12 13:58:30 2005 -0700 [PATCH] cdev: cdev_put oops While fixing an oops in the st driver in a dirty release path, I encountered an oops in cdev_put for cdevs allocated using cdev_alloc. If cdev_del is called when the cdev kobject still has an open user, when the last cdev_put is called, the cdev_put will call kobject_put, which will end up ultimately releasing the cdev in cdev_dynamic_release. Patch fixes the oops by preventing cdev_put from accessing freed memory. Signed-off-by: Brian King Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50a5223428bbe77bc0f312100c950b6f4520ba34 Author: Jan Kara Date: Tue Jul 12 13:58:29 2005 -0700 [PATCH] ext2: fix mount options parting Restore old set of ext2 mount options when remounting of a filesystem fails. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08c6a96fd77836856c090ebb39beadc81cb8484d Author: Jan Kara Date: Tue Jul 12 13:58:28 2005 -0700 [PATCH] ext3: fix options parsing Fix a problem with ext3 mount option parsing. When remount of a filesystem fails, old options are now restored. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5323125031799a7fd8602ce150c3902aedfdcba6 Author: Roland McGrath Date: Tue Jul 12 13:58:27 2005 -0700 [PATCH] reset real_timer target on exec leader change When a noninitial thread does exec, it becomes the new group leader. If there is a ITIMER_REAL timer running, it points at the old group leader and when it fires it can follow a stale pointer. The timer data needs to be reset to point at the exec'ing thread that is becoming the group leader. This has to synchronize with any concurrent firing of the timer to make sure that it_real_fn can never run when the data points to a thread that might have been reaped already. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c888d531823f8ce2853fb717ebefbcca9acdcd0 Author: Nishanth Aravamudan Date: Tue Jul 12 13:58:26 2005 -0700 [PATCH] xtensa: use ssleep() instead of schedule_timeout() Replace schedule_timeout() with ssleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 813e6783647489a8481d256944b7fd75ff79e035 Author: Chris Zankel Date: Tue Jul 12 13:58:25 2005 -0700 [PATCH] xtensa: remove old syscalls This patch fixes some minor bugs introduced by the previous patch (remove old syscalls). Both patches remove the obsolete syscalls. The changes in this patch were suggested by Arnd Bergmann. The vmlinux.lds.S changes are required for the latest gcc/binutils. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c40504e87e28c52258458a53fefcd63f58e11a42 Author: Benjamin LaHaise Date: Tue Jul 12 13:58:22 2005 -0700 [PATCH] uml: tlb flushing fix This patch fixes a fairly serious tlb flushing bug that makes aio use under uml very unreliable -- SEGVs, Oops and panic()s occur as a result of stale tlb entires being used by uml when aio switches mms due to the fact that uml does not implement the activate_mm() hook. This patch introduces a simple but correct approach (read: hammer) for implementing activate_mm() in uml by doing a force_flush_all() if the new mm is different from old. With this patch in place, uml is able to succeed at the aio test case that was randomly faulting for me before. Cc: Jeff Dike Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b8a9da525c592f129ace454c4d82a80b122827a Author: Paolo 'Blaisorblade' Giarrusso Date: Tue Jul 12 13:58:20 2005 -0700 [PATCH] uml:remove user_constants.h on clean make clean ARCH=um does not remove the generated file arch/um/include/user_constants.h, fix this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 138d402793b84dc47bf13b0a6636d26c880d746e Author: Andrew Morton Date: Tue Jul 12 13:58:19 2005 -0700 [PATCH] alpha: pgprot_uncached() comment Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 082ff0a9991dcea958785115fbba6dddd0dc280a Author: Geert Uytterhoeven Date: Tue Jul 12 13:58:18 2005 -0700 [PATCH] mm/filemap_xip.c compilation fix mm/filemap_xip.c: In function `__xip_unmap': mm/filemap_xip.c:194: request for member `pte' in something not a structure or union Apparently pte_pfn() takes a pte_t, not a pointer to a pte_t. From looking at asm/page.h, it seems to be the same on ia32 or ppc (iff STRICT_MM_TYPECHECKS is enabled, which is disabled by default on ppc). Acked-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb0a90b4970d667e9ae9df538710f12b8e78e442 Author: Dominik Brodowski Date: Tue Jul 12 13:58:17 2005 -0700 [PATCH] yenta: allocate resource fixes The current CardBus window allocation code in yenta_socket is unable to handle the transparent PCI-bridge handling update in 2.6.13. We need to check _all_ resources of a given type to find the best one suitable for CardBus windows, not just the first one. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 278798357d4a8658067dc9ac399d8ffba8389f03 Author: Dominik Brodowski Date: Tue Jul 12 13:58:16 2005 -0700 [PATCH] yenta: same resources in same structs drivers/pci/setup-bus.c enumerates the CardBus windows (bus->resources[]) Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6fd718808df873b5d216d5827ac57ec39820238 Author: Dominik Brodowski Date: Tue Jul 12 13:58:15 2005 -0700 [PATCH] pcmcia: Documentation update Update PCMCIA driver changes for patches merged in 2.6.13 Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 862104e56329babf0b9571281e9516fe6259dd17 Author: Dominik Brodowski Date: Tue Jul 12 13:58:15 2005 -0700 [PATCH] yenta: fix parent resource determination If the CardBus windows were pre-configured and the CardBus bridge is behind a transparent PCI-PCI bridge, pci_find_parent_resource() might return a different resource than the real parent if it is called before the window is determined. Therefore, move that call around. Also fix return of value in void function. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e2f3b70e60172f5ed7c0933b8d8a35654c1c031 Author: Dominik Brodowski Date: Tue Jul 12 13:58:14 2005 -0700 [PATCH] pcmcia: fix pcmcia-cs compilation Fix pcmcia-cs compilation with recent pcmcia kernel changes. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d312ceda567ab91acd756cde95ac5fbc6b40ed40 Author: Andrew Morton Date: Tue Jul 12 13:58:13 2005 -0700 [PATCH] x86_64: section alignment fix This is the second time this has happened: inserting a new section requires that we adjust the arithmetic which is used to calculate the vsyscall page's offset. Cc: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4120db47198d21d8cd3b2cdbbe1ea6118a50bcd4 Author: Artem B. Bityuckiy Date: Tue Jul 12 13:58:12 2005 -0700 [PATCH] bugfix: two read_inode() calls without clear_inode() call between Bug symptoms ~~~~~~~~~~~~ For the same inode VFS calls read_inode() twice and doesn't call clear_inode() between the two read_inode() invocations. Bug description ~~~~~~~~~~~~~~~ Suppose we have an inode which has zero reference count but is still in the inode cache. Suppose kswapd invokes shrink_icache_memory() to free some RAM. In prune_icache() inodes are removed from i_hash. prune_icache () is then going to call clear_inode(), but drops the inode_lock spinlock before this. If in this moment another task calls iget() for an inode which was just removed from i_hash by prune_icache(), then iget() invokes read_inode() for this inode, because it is *already removed* from i_hash. The end result is: we call iget(#N) then iput(#N); inode #N has zero i_count now and is in the inode cache; kswapd starts. kswapd removes the inode #N from i_hash ans is preempted; we call iget(#N) again; read_inode() is invoked as the result; but we expect clear_inode() before. Fix ~~~~~~~ To fix the bug I remove inodes from i_hash later, when clear_inode() is actually called. I remove them from i_hash under spinlock protection. Since the i_state is set to I_FREEING, it is safe to do this. The others will sleep waiting for the inode state change. I also postpone removing inodes from i_sb_list. It is not compulsory to do so but I do it for readability reasons. Inodes are added/removed to the lists together everywhere in the code and there is no point to change this rule. This is harmless because the only user of i_sb_list which somehow may interfere with me (invalidate_list()) is excluded by the iprune_sem mutex. The same race is possible in invalidate_list() so I do the same for it. Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 168a9fd6a1bf91041adf9909f6c72cf747f0ca8c Author: Miklos Szeredi Date: Tue Jul 12 13:58:10 2005 -0700 [PATCH] __wait_on_freeing_inode fix This patch fixes queer behavior in __wait_on_freeing_inode(). If I_LOCK was not set it called yield(), effectively busy waiting for the removal of the inode from the hash. This change was introduced within "[PATCH] eliminate inode waitqueue hashtable" Changeset 1.1938.166.16 last october by wli. The solution is to restore the old behavior, of unconditionally waiting on the waitqueue. It doesn't matter if I_LOCK is not set initally, the task will go to sleep, and wake up when wake_up_inode() is called from generic_delete_inode() after removing the inode from the hash chain. Comment is also updated to better reflect current behavior. This condition is very hard to trigger normally (simultaneous clear_inode() with iget()) so probably only heavy stress testing can reveal any change of behavior. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b6bfcdb116f2cc2cab921fcac6d39d4022952d2 Author: Hugh Dickins Date: Tue Jul 12 13:58:09 2005 -0700 [PATCH] lower VM_DONTCOPY total_vm dup_mmap of a VM_DONTCOPY vma forgot to lower the child's total_vm. (But no way does this account for the recent report of total_vm seen too low.) Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70d1d47c47c4643af357cb44d0d891c1b765f2ab Author: Matt Mackall Date: Tue Jul 12 13:58:09 2005 -0700 [PATCH] quiet ide-cd warning This shuts up a potential uninitialized variable warning. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4645df1035b34be2d431d6a10b08e1c06bcd3361 Author: Dave Jones Date: Tue Jul 12 13:58:08 2005 -0700 [PATCH] aacraid: swapped kmalloc args. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d53d9f16ea95a91ad4aa114809dcde486ca4000d Author: Andrew Morton Date: Tue Jul 12 13:58:07 2005 -0700 [PATCH] name_to_dev_t warning fix kernel/power/disk.c needs a declaration of name_to_dev_t() in scope. mount.h seems like an appropriate choice. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a98a5d04f400ad112e59cadd739dbabf89417e60 Merge: 751382dd5cb2702368d281a50b55c2d6c4e8fbfc 7ac3db59fd4410405ce55e2a25c397aec440d8da Author: Todd Poynor Date: Tue Jul 12 03:34:39 2005 +0100 Merge with rsync://fileserver/linux commit 22a4427972af371fddb49c0184a93851ad51070d Merge: 9f02d6b7b43d46a74dd385f06090104ecd0fb807 ede7fbdf526c314850c9f32dd8da1753bf8d0ad5 Author: Linus Torvalds Date: Tue Jul 12 15:54:36 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit 08357f82d4decc48bbfd39ae30d5fe0754f7f576 Author: Zoltan Menyhart Date: Fri Jun 3 05:36:00 2005 -0700 [IA64] improve flush_icache_range() Check with PAL to see what the i-cache line size is for each level of the cache, and so use the correct stride when flushing the cache. Acked-by: David Mosberger Signed-off-by: Tony Luck commit 751382dd5cb2702368d281a50b55c2d6c4e8fbfc Author: Todd Poynor Date: Tue Jul 12 03:34:39 2005 +0100 [JFFS2] Avoid compiler warnings when JFFS2_FS_WRITEBUFFER=n Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit b62205986a73a40e4fc174d2ef668e3895e925bc Author: Artem B. Bityuckiy Date: Tue Jul 12 17:37:12 2005 +0100 [JFFS2] Init locks early during mount In case of a mount error locks might be uninitialized but accessed by the resulting call to jffs2_kill_sb(). Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit e4fef6618992bea48b7856ebbd236796b744964f Author: Artem B. Bityuckiy Date: Sun Jul 10 16:15:36 2005 +0100 [JFFS2] Rename function and update comments We recently changed the method of collecting and sorting of tmp_dnode objects to use a temporary RB-tree instead of a temporary list. Rename function and update comments. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 86ffc0d5f5f0c8a6fe70eccade3f7ae8e9630edf Author: Artem B. Bityuckiy Date: Sun Jul 10 14:13:58 2005 +0100 [JFFS2] Remove needless variable initialization Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 336d2ff7115bd4391108a16f476c739cb4a505b0 Author: Artem B. Bityuckiy Date: Thu Jul 7 16:45:32 2005 +0100 [JFFS2] Avoid alloc/dealloc for zero sized nodes Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 5028770a42e7bc4d15791a44c28f0ad539323807 Merge: 9f02d6b7b43d46a74dd385f06090104ecd0fb807 d8683a0cb5d09cb7f19feefa708424a84577e68f Author: Len Brown Date: Tue Jul 12 17:21:56 2005 -0400 [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... Signed-off-by: Len Brown commit 60a762b6a6dec17cc4339b60154902fd04c2f9f2 Author: Greg Edwards Date: Tue Jun 28 11:13:00 2005 -0700 [IA64] remove CONFIG_IA64_SGI_SN_SIM This patch removes the CONFIG_IA64_SGI_SN_SIM option entirely, allowing any kernel bootable on sn2 to also be booted in the simulator. Boot tested on Altix and HP rx2600. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit 9f02d6b7b43d46a74dd385f06090104ecd0fb807 Merge: 9ffc7a0ebfcace0ed3eb77fb77e159f6f9443ec5 c12a828982ee27e0d9f742177016896d6c3a5acb Author: Linus Torvalds Date: Tue Jul 12 13:17:42 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 9ffc7a0ebfcace0ed3eb77fb77e159f6f9443ec5 Merge: 2824bd250f0be1551747cc3ed5ae07facc285b57 f4637b55ba960d9987a836617271659e9b7b0de8 Author: Linus Torvalds Date: Tue Jul 12 13:16:40 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit f4637b55ba960d9987a836617271659e9b7b0de8 Author: Tommy Christensen Date: Tue Jul 12 12:13:49 2005 -0700 [VLAN]: Fix early vlan adding leads to not functional device OK, I can see what's happening here. eth0 doesn't detect link-up until after a few seconds, so when the vlan interface is opened immediately after eth0 has been opened, it inherits the link-down state. Subsequently the vlan interface is never properly activated and are thus unable to transmit any packets. dev->state bits are not supposed to be manipulated directly. Something similar is probably needed for the netif_device_present() bit, although I don't know how this is meant to work for a virtual device. Signed-off-by: David S. Miller commit c12a828982ee27e0d9f742177016896d6c3a5acb Author: Andrew Morton Date: Tue Jul 12 12:09:43 2005 -0700 [SPARC64]: Fix SMP build failure. arch/sparc64/kernel/smp.c:48: error: parse error before "__attribute__" arch/sparc64/kernel/smp.c:49: error: parse error before "__attribute__" Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ab611487d8ada506e511d2b8f22fb8e7be9939b9 Author: Alexey Dobriyan Date: Tue Jul 12 12:08:43 2005 -0700 [NET]: __be'ify *_type_trans() tr_type_trans(), hippi_type_trans() left as-is. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 84531c24f27b02daa8e54e2bb6dc74a730fdf0a5 Author: Phil Oester Date: Tue Jul 12 11:57:52 2005 -0700 [NETFILTER]: Revert nf_reset change Revert the nf_reset change that caused so much trouble, drop conntrack references manually before packets are queued to packet sockets. Signed-off-by: Phil Oester Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2824bd250f0be1551747cc3ed5ae07facc285b57 Author: Michael Hund Date: Mon Jun 27 22:44:22 2005 +0200 [PATCH] USB: add ldusb driver The following driver provides complete interrupt-in and interrupt-out reports (raw data) to a user program. Until now it uses the HIDIOCGDEVINFO ioctl call, because I don't know better :-(. Perhaps, it will be ok for you - and I will be happy, if you assign 8 minor numbers. I have tested it in several environments and it works very well for me. However, it has a problem with two or more devices at the same hub, if the two or more devices need 1 ms interrupt-in transfers. Unfortunately more than one interrupt-in transfer every ms isn't possible (ehci driver?). This is why the min_interrupt_in_interval and min_interrupt_out_interval are increased to 2 ms (see the corresponding module parameters). This way, I can use two devices simultaneously at the same hub. Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman commit 83ef344a7539aa55a787790bc036f0bf3466e191 Author: brian@murphy.dk Date: Wed Jun 29 16:53:29 2005 -0700 [PATCH] USB: fix usb reference count bug in cdc-acm driver This increases the reference count on the usb cdc acm control interface which is referred to by the tty interface provided by the driver. This allows the deferred removal of the tty after the physical device is disconnected if the tty is held open at the time of disconnection. Signed-off-by: brian@murphy.dk Signed-off-by: Greg Kroah-Hartman commit a3fdf4ebe016ba756de3ca29a2a6117e9acd721c Author: brian@murphy.dk Date: Wed Jun 29 16:53:29 2005 -0700 [PATCH] USB: export usb_get_intf() and usb_put_intf() Export usb_get_intf and usb_put_intf so that modules can increase usb interface reference counts. Signed-off-by: brian@murphy.dk Signed-off-by: Greg Kroah-Hartman commit 00ab997dd24fff82900665449f859e23a78ad5f4 Author: david-b@pacbell.net Date: Wed Jun 29 07:04:14 2005 -0700 [PATCH] USB: another cdc descriptor This adds another CDC descriptor type to ; the main claim to fame for this is that some Motorola phones include it. It's not currently needed by any driver code; included for completeness. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit edfd6aee1f073ae645bd3e60ef96090fc9f0957b Author: david-b@pacbell.net Date: Wed Jun 29 07:03:10 2005 -0700 [PATCH] USB: fix ohci merge glitch A patch re-organizing some parts of root hub initialization deleted the code initializing the bus-neutral reboot/shutdown notifier for OHCI. This patch just restores that deleted code. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit b404a5b02abf84812e5333bda201af464925d7a6 Author: david-b@pacbell.net Date: Wed Jun 29 06:59:14 2005 -0700 [PATCH] USB: ohci-omap pm updates The recent "pm_message_t" changes removed functionality from the Linux PM framework. This patch removes it from the OMAP OHCI too, removing the distinction between (previous) PM_SUSPEND_MEM and PM_SUSPEND_DISK state transitions ... now the only suspend semantics supportable are what was previously PM_SUSPEND_DISK (4) and is now "PMSG_SUSPEND" (3). From: Todd Poynor Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1d7beee3d4b4ae7faa881ef05ff5d94a125ed8a6 Author: david-b@pacbell.net Date: Wed Jun 29 07:00:56 2005 -0700 [PATCH] USB: omap_udc tweaks Minor OMAP updates that somehow got dropped from previous patches. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit e828264ee797d40b1df99fe88c6acfc0f36df639 Author: Ian Campbell Date: Wed Jun 29 10:20:29 2005 +0100 [PATCH] USB: gadget/ether build fixes. I also needed the following on 2.6.13-rc1 without CONFIG_USB_ETH_RNDIS, symbol fs_status_desc isn't available in that case on PXA255. This builds both with and without ETH_RNDIS, but I haven't actually tested either. Signed-off-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman commit 05f33400307cfe9d89dbeca659731b9055fefbf8 Author: Ian Campbell Date: Wed Jun 29 10:15:32 2005 +0100 [PATCH] USB: gadget/ether fixes Signed-off-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman commit b9df978f1974fea373741367b5d79a2ed3b7dcf9 Author: Luca Risolia Date: Sat Jun 25 16:30:24 2005 +0200 [PATCH] USB: SN9C10x driver updates SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Remove bad get_ctrl()'s * Documentation updates + Add 0x0c45/0x602d to the list of SN9C10x based devices + Add support for OV7630 image sensors Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 8fd6db47b90c7ecac32e3211f771849e148bdb07 Author: Michael Hund Date: Mon Jun 27 22:44:22 2005 +0200 [PATCH] USB: add LD devices to hid blacklist below you will find one patch to hid-core.c, which lets usbhid ignore our HID devices. It would be nice, if you can apply it. Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman commit b2134bcd2e1bf989e0566dd1b0e59a792722b671 Author: KAMBAROV, ZAUR Date: Fri Jun 24 22:20:35 2005 -0700 [PATCH] USB: coverity: (desc->bitmap)[] overrun fix The length of the array desc->bitmap is 3, and not 4: Definitions involved: In drivers/usb/core/hcd.h 464 #define bitmap DeviceRemovable In drivers/usb/host/ohci-hub.c 395 struct usb_hub_descriptor *desc In drivers/usb/core/hub.h 130 struct usb_hub_descriptor { 131 __u8 bDescLength; 132 __u8 bDescriptorType; 133 __u8 bNbrPorts; 134 __u16 wHubCharacteristics; 135 __u8 bPwrOn2PwrGood; 136 __u8 bHubContrCurrent; 137 /* add 1 bit for hub status change; round to bytes */ 138 __u8 DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8]; 139 __u8 PortPwrCtrlMask[(USB_MAXCHILDREN + 1 + 7) / 8]; 140 } __attribute__ ((packed)); In include/linux/usb.h 306 #define USB_MAXCHILDREN (16) This defect was found automatically by Coverity Prevent, a static analysis tool. (akpm: this code should be shot. Field `bitmap' doesn't exist in struct usb_hub_descriptor. And this .c file is #included in drivers/usb/host/ohci-hcd.c, and someone somewhere #defines `bitmap' to `DeviceRemovable'. >From a maintainability POV it would be better to memset the whole array beforehand - I changed the patch to do that) Signed-off-by: Zaur Kambarov Cc: Signed-off-by: Greg Kroah-Hartman commit 99f83c9c9ac994c844ecf3e64e848c2f8dd7dfe0 Author: Michael Downey Date: Mon Jun 27 11:48:26 2005 -0600 [PATCH] USB: add driver for Keyspan Digital Remote This driver is a basic keypress input driver for the Keyspan Digital Remote with part number UIA-11. Currently there is an older remote with part number UIA-10 which isn't supported by this driver. Support for the older UIA-10 could be added but a binary file is required to be download to the device, and I don't have that file. I also don't have a UIA-10 device so I wouldn't be able to test any of the changes. Signed-off-by: Michael Downey Signed-off-by: Greg Kroah-Hartman commit 30e695986679ac2d2354fc1634e8cb931bb47785 Author: Andrew Morton Date: Sun Jun 26 17:18:46 2005 -0700 [PATCH] USB: net2280 warning fix drivers/usb/gadget/net2280.c: In function 'show_registers': drivers/usb/gadget/net2280.c:1501: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 5db539e49fc7471e23bf3c94ca304f008cb7b7f3 Author: Olav Kongas Date: Thu Jun 23 20:25:36 2005 +0300 [PATCH] USB: Fix kmalloc's flags type in USB Greg, This patch fixes the kmalloc() flags argument type in USB subsystem; hopefully all of its occurences. The patch was made against patch-2.6.12-git2 from Jun 20. Cleanup of flags for kmalloc() in USB subsystem. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 17f8bb7312fa9b00f80c3c0f8d5a5d698eb97bbd Author: Olav Kongas Date: Thu Jun 23 20:12:24 2005 +0300 [PATCH] USB: isp116x-hcd cleanup Sorry that it took so long. Here comes a cleanup patch that addresses the remarks by Alexey Dobriyan about gregkh-usb-usb-isp116x-hcd-add.patch EXCEPT the remark about the typecasting of mem_flags argument for kcalloc; this will be addressed in a later patch. OlavCleanup of isp116x-hcd. Signed off by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit ae0d6cceb20eec57e7196c22999c62c465ffd5bf Author: Pete Zaitcev Date: Sat Jun 25 14:32:59 2005 -0700 [PATCH] USB: Patch to make usbmon to print control setup packets Make usbmon to print Setup packets of Control transfers. This is useful when debugging enumeration issues. This is a change to the trace format which is not fully compatible. A parser has to look at the data length word now. If that word is a character like 's', read setup packet before proceeding with data. I decided not to bump the API tag for this because not many such parsers exist at this point. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit ead99eb00190a274e3b3666ecd431be12c2b7888 Author: Thomas Winischhofer Date: Fri Jun 24 18:44:20 2005 +0200 [PATCH] USB: SiS USB Makefile fixes although 2.6.12 now contains the sisusb driver, it failes to build this driver due to a missing patch of the Makefile. From: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman commit 1a7aad15ff93be104c8e0851a43b94f8ccd92225 Author: Duncan Sands Date: Thu Jun 23 09:37:56 2005 +0200 [PATCH] USB ATM: fix line resync logic We map states 0x00 and 0x10 to the ATM_PHY_SIG_LOST flag. The current logic fails to resync the line if we get state 0x10 followed by 0x00, since we only resync the line when the state is 0x00 and the flag changed. Doubly fixed by (1) always resyncing the line when the state is 0x00 even if the state didn't change, and (2) keeping track of the last state, not just the flag. We do (2) as well as (1) in order to get better log messages. This is a tweaked version of the original patch by Aurelio Arroyo. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit cd5c08fb7b0d960b7cd48bc977feee7b3bd8b046 Author: Duncan Sands Date: Thu Jun 23 09:23:10 2005 +0200 [PATCH] USB ATM: robustify poll throttling No functional change, but less likely to break in the future. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 322a95bc8eba889d2f9d7222936d682c9aad8294 Author: Duncan Sands Date: Thu Jun 23 09:20:50 2005 +0200 [PATCH] USB ATM: line speed measured in Kb not Kib Spotted by David Woodhouse. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman commit 16966f2ab7db7366855d1267071a3138ae127ff6 Author: Greg Kroah-Hartman Date: Wed Jun 29 16:53:29 2005 -0700 [PATCH] USB: fix ftdi_sio compiler warnings Signed-off-by: Greg Kroah-Hartman commit 7e33ae67815372a93e8e77624fd47e39a986415d Author: Ian Abbott Date: Mon Jun 20 17:10:19 2005 +0100 [PATCH] USB ftdi_sio: remove redundant TIOCMBIS and TIOCMBIC code ftdi_sio: Remove redundant handling of TIOCMBIS and TIOCMBIC ioctls as they are handled in the tty layer and never reach this driver. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 8f977e4201fcc0bd512eb01e775894e0a9c34a39 Author: Ian Abbott Date: Mon Jun 20 16:45:42 2005 +0100 [PATCH] USB ftdi_sio: reduce device id table clutter ftdi_sio: Use a single usb_device_id table and detect the type of chip programatically. The table also flags devices requiring special initialization. The patch makes the driver about 10K smaller and makes it easier to add new device IDs. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 9c8d61783e5bb5e29744b6481a1c67c6e4e8e135 Author: akpm@osdl.org Date: Mon Jun 20 14:29:58 2005 -0700 [PATCH] USB: khubd: use kthread API Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit e8116e84b56f8fa4f091b967a045f47c55095c68 Author: Phil Dibowitz Date: Wed Jun 22 22:47:13 2005 -0700 [PATCH] USB Storage: Remove unneeded SC/P This patch removes an unneeded subclass and protocol from the 07af/0005/100 entry in unsual_devs.h as reported by Alfred Ganz . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit cf5910bbae81b95bdf120e01fd365ad7b939b143 Author: Greg Kroah-Hartman Date: Wed Jun 29 16:53:29 2005 -0700 [PATCH] USB: add bMaxPacketSize0 attribute to sysfs For some reason this was not there... Signed-off-by: Greg Kroah-Hartman commit 514604c6d1779c55d3e97dc4e9a71c117c1ccbcd Author: Christoph Lameter Date: Thu Jul 7 16:59:00 2005 -0700 [IA64] pcibus_to_node implementation for IA64 pcibus_to_node provides a way for the Linux kernel to identify to which node a certain pcibus connects to. Allocations of control structures for devices can then be made on the node where the pci bus is located to allow local access during interrupt and other device manipulation. This patch provides a new "node" field in the the pci_controller structure. The node field will be set based on ACPI information (thanks to Alex Williamson Signed-off-by: Tony Luck commit 1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893 Author: Thomas Gleixner Date: Tue Jul 12 17:51:06 2005 +0200 [MTD] Make XIP support depend on CONFIG_ARM ARM is the only known user of this at the moment. Prevent allyes builds for other archs from failing Signed-off-by: Thomas Gleixner commit d8683a0cb5d09cb7f19feefa708424a84577e68f Author: Len Brown Date: Sun Jul 3 16:42:23 2005 -0400 [ACPI] increase MAX_IO_APICS to 64 on i386 x86_64 was already 128 http://bugzilla.kernel.org/show_bug.cgi?id=3754 Signed-off-by: Len Brown commit 02df8b9385c21fdba165bd380f60eca1d3b0578b Author: Venkatesh Pallipadi Date: Fri Apr 15 15:07:10 2005 -0400 [ACPI] enable C2 and C3 idle power states on SMP http://bugzilla.kernel.org/show_bug.cgi?id=4401 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 6a2e9b738cb5c929df73b6acabdd8f9a4e9a0416 Author: Sam Ravnborg Date: Mon Jul 11 21:13:56 2005 -0700 [NET]: move config options out to individual protocols Move the protocol specific config options out to the specific protocols. With this change net/Kconfig now starts to become readable and serve as a good basis for further re-structuring. The menu structure is left almost intact, except that indention is fixed in most cases. Most visible are the INET changes where several "depends on INET" are replaced with a single ifdef INET / endif pair. Several new files were created to accomplish this change - they are small but serve the purpose that config options are now distributed out where they belongs. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller commit 17e9c78a75ce9eacd61200f9e1f1924012e28846 Author: Luming Yu Date: Fri Apr 22 23:07:10 2005 -0400 [ACPI] EC GPE-disabled issue http://bugzilla.kernel.org/show_bug.cgi?id=3851 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit a27ac38efd6dc6dccebfc9bcc475ab4aa5fc4a56 Author: Len Brown Date: Fri Apr 5 00:07:45 2019 -0500 [ACPI] fix merge error that broke CONFIG_ACPI_DEBUG=y build Signed-off-by: Len Brown commit 590275ce72c48fdbddea057bc9ee379c1fd851ef Author: Jesse Barnes Date: Mon Apr 18 23:52:17 2005 -0400 [ACPI] cleanup: delete !IA64_SGI_SN from acpi/Kconfig Signed-off-by: Jesse Barnes Signed-off-by: Len Brown commit 6c4fa56033c11ad5c5929bf3edd1505d3d8a8c0b Author: Venkatesh Pallipadi Date: Mon Apr 18 23:06:47 2005 -0400 [ACPI] fix C1 patch for IA64 http://bugzilla.kernel.org/show_bug.cgi?id=4233 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit ef7b06cd905424aea7c31f27fef622e84e75e650 Author: David Shaohua Li Date: Mon Apr 18 22:59:23 2005 -0400 [ACPI] quiet dmesg related to ACPI PM of PCI devices DBG("No ACPI bus support for %s\n", dev->bus_id); http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 44f6c01242da4e162f28d8e1216a8c7a91174605 Author: Robert Moore Date: Mon Apr 18 22:49:35 2005 -0400 ACPICA 20050408 from Bob Moore Fixed three cases in the interpreter where an "index" argument to an ASL function was still (internally) 32 bits instead of the required 64 bits. This was the Index argument to the Index, Mid, and Match operators. The "strupr" function is now permanently local (acpi_ut_strupr), since this is not a POSIX-defined function and not present in most kernel-level C libraries. References to the C library strupr function have been removed from the headers. Completed the deployment of static functions/prototypes. All prototypes with the static attribute have been moved from the headers to the owning C file. ACPICA 20050329 from Bob Moore An error is now generated if an attempt is made to create a Buffer Field of length zero (A CreateField with a length operand of zero.) The interpreter now issues a warning whenever executable code at the module level is detected during ACPI table load. This will give some idea of the prevalence of this type of code. Implemented support for references to named objects (other than control methods) within package objects. Enhanced package object output for the debug object. Package objects are now completely dumped, showing all elements. Enhanced miscellaneous object output for the debug object. Any object can now be written to the debug object (for example, a device object can be written, and the type of the object will be displayed.) The "static" qualifier has been added to all local functions across the core subsystem. The number of "long" lines (> 80 chars) within the source has been significantly reduced, by about 1/3. Cleaned up all header files to ensure that all CA/iASL functions are prototyped (even static functions) and the formatting is consistent. Two new header files have been added, acopcode.h and acnames.h. Removed several obsolete functions that were no longer used. Signed-off-by: Len Brown commit ebb6e1a6122fd6b7c96470cfd4ce0f04150e5084 Author: Len Brown Date: Thu Apr 14 23:12:56 2005 -0400 [ACPI] Deprecate /proc/acpi/sleep in favor of /sys/power/state Signed-off-by: Len Brown commit 9d9437759eb6fdb68f7b82cbee20b0fb711d9f0d Author: Nickolai Zeldovich Date: Fri Apr 8 23:37:34 2005 -0400 [ACPI] S3 resume -- use lgdtl, not lgdt From: Nickolai Zeldovich Signed-off-by: Len Brown commit d5950b4355049092739bea97d1bdc14433126cc5 Author: Sam Ravnborg Date: Mon Jul 11 21:03:49 2005 -0700 [NET]: add a top-level Networking menu to *config Create a new top-level menu named "Networking" thus moving net related options and protocol selection way from the drivers menu and up on the top-level where they belong. To implement this all architectures has to source "net/Kconfig" before drivers/*/Kconfig in their Kconfig file. This change has been implemented for all architectures. Device drivers for ordinary NIC's are still to be found in the Device Drivers section, but Bluetooth, IrDA and ax25 are located with their corresponding menu entries under the new networking menu item. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller commit c9c3e457de24cca2ca688fa397d93a241f472048 Author: David Shaohua Li Date: Fri Apr 1 00:07:31 2005 -0500 [ACPI] PNPACPI vs sound IRQ http://bugme.osdl.org/show_bug.cgi?id=4016 Written-by: David Shaohua Li Acked-by: Adam Belay Signed-off-by: Len Brown commit acf05f4b7f558051ea0028e8e617144123650272 Author: Venkatesh Pallipadi Date: Thu Mar 31 23:23:15 2005 -0500 [ACPI] update /proc/acpi/processor/*/power even if only C1 support Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown commit 0b7f22aab4e960c75e82ad696ef852f9b0015e7d Author: Olaf Kirch Date: Mon Jul 11 21:01:42 2005 -0700 [IPV4]: Prevent oops when printing martian source In some cases, we may be generating packets with a source address that qualifies as martian. This can happen when we're in the middle of setting up the network, and netfilter decides to reject a packet with an RST. The IPv4 routing code would try to print a warning and oops, because locally generated packets do not have a valid skb->mac.raw pointer at this point. Signed-off-by: David S. Miller commit 55e59c511cea3c6c721971467c707e9955922bc2 Author: Ashok Raj Date: Thu Mar 31 22:51:10 2005 -0500 [ACPI] Evaluate CPEI Processor Override flag ACPI 3.0 added a Correctable Platform Error Interrupt (CPEI) Processor Overide flag to MADT.Platform_Interrupt_Source. Record the processor that was provided as hint from ACPI. Signed-off-by: Ashok Raj Signed-off-by: Len Brown commit 6940fabaa35b893163b7043d0d1dc5d715f9e1ca Author: Keiichiro Tokunaga Date: Wed Mar 30 23:15:47 2005 -0500 [ACPI] hotplug Processor consideration in acpi_bus_add() Signed-off-by: Keiichiro Tokunaga Signed-off-by: Len Brown commit af9debd461d10fe582c9c0e80eafa69f698331ed Author: Julian Anastasov Date: Mon Jul 11 20:59:57 2005 -0700 [IPVS]: Add and reorder bh locks after moving to keventd. An addition to the last ipvs changes that move update_defense_level/si_meminfo to keventd: - ip_vs_random_dropentry now runs in process context and should use _bh locks to protect from softirqs - update_defense_level still needs _bh locks after si_meminfo is called, for the same purpose Signed-off-by: Julian Anastasov Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 8de7a63b69a263b7549599be882d7aa15397f8b3 Author: Andrew Morton Date: Wed Mar 30 22:53:30 2005 -0500 [ACPI] fix debug-mode build warning in acpi/hotkey.c drivers/acpi/hotkey.c: In function `create_polling_proc': drivers/acpi/hotkey.c:334: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit f5b8adb4f5767415b7b00e32e4766a052e2ed4cc Author: Jesper Juhl Date: Mon Jul 11 20:59:03 2005 -0700 [NET]: Trivial spelling fix patch for net/Kconfig Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d1dd0c23916bd781de27bc5ec1c295064e9ce9cc Author: Paulo Marques Date: Wed Mar 30 22:39:49 2005 -0500 [ACPI] fix kmalloc size bug in acpi/video.c acpi_video_device_find_cap() used &p instead of *p when calculating storage size, thus allocating only 4 or 8 bytes instead of 12... Also, kfree(NULL) is legal, so remove some unneeded checks. From: Paulo Marques Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 7334571f724df7a19f48cc974e991e00afde1e2f Author: Adrian Bunk Date: Wed Mar 30 22:31:35 2005 -0500 [ACPI] fix potential NULL dereference in acpi/video.c Found-by: Adrian Bunk Signed-off-by: Len Brown commit 3182cd84f0e132558bbe106c070405ae49f1f0e3 Author: Alexey Dobriyan Date: Mon Jul 11 20:57:47 2005 -0700 [SCTP]: __nocast annotations Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit f4224153098c1103db592b28f304beeb9c02481b Author: Panagiotis Issaris Date: Wed Mar 30 22:15:36 2005 -0500 [ACPI] check for kmalloc failure in toshiba_acpi.c Signed-off-by: Panagiotis Issaris Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 83ea7445221651dc43cf8d22f81089e0cbccf22b Author: Andrew Morton Date: Wed Mar 30 22:12:13 2005 -0500 [ACPI] fix build warning Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit f165b10f4a9aac7fee9b11a125de20a1712be128 Author: Greg Kroah-Hartman Date: Wed Mar 30 21:23:19 2005 -0500 cleanup: remove unnecessary initializer on static pointers Suggested-by: Greg KH Signed-off-by: Len Brown commit b008b8d7092053fc1f036cfc54dc11740cc424ed Author: Matthieu Castet Date: Fri Mar 25 12:03:15 2005 -0500 [ACPI] PNPACPI parse error http://bugzilla.kernel.org/show_bug.cgi?id=3912 Written-by: matthieu castet Acked-by: Shaohua Li Signed-off-by: Len Brown commit a406d9e63e1d7088aad22565449de2e109300e5c Author: Len Brown Date: Wed Mar 23 16:16:03 2005 -0500 [ACPI] gut acpi_pci_choose_state() to avoid conflict with pending pm_message_t re-definition. Signed-off-by: Len Brown commit fa9cd547e097df4966b8bd5c94aeed953e32b14d Author: Luming Yu Date: Sat Mar 19 01:54:47 2005 -0500 [ACPI] fix EC access width http://bugzilla.kernel.org/show_bug.cgi?id=4346 Written-by: David Shaohua Li and Luming Yu Signed-off-by: Len Brown commit 451566f45a2e6cd10ba56e7220a9dd84ba3ef550 Author: Dmitry Torokhov Date: Sat Mar 19 01:10:05 2005 -0500 [ACPI] Enable EC Burst Mode Fixes several Embedded Controller issues, including button failure and battery status AE_TIME failure. http://bugzilla.kernel.org/show_bug.cgi?id=3851 Based on patch by: Andi Kleen Signed-off-by: Dmitry Torokhov Signed-off-by: Luming Yu Signed-off-by: Len Brown commit b913100d7304ea9596d8d85ab5f3ae04bd2b0ddb Author: David Shaohua Li Date: Sat Mar 19 00:16:18 2005 -0500 [ACPI] pci_set_power_state() now calls platform_pci_set_power_state() and ACPI can answer http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 0f64474b8f7f1f7f3af5b24ef997baa35f923509 Author: David Shaohua Li Date: Sat Mar 19 00:15:48 2005 -0500 [ACPI] PCI can now get suspend state from firmware pci_choose_state() can now call platform_pci_choose_state() and ACPI can answer http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 84df749f364209c9623304b7a94ddb954dc343bb Author: David Shaohua Li Date: Fri Mar 18 18:53:36 2005 -0500 [ACPI] Bind ACPI and PCI devices http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 4e10d12a3d88c88fba3258809aa42d14fd8cf1d1 Author: David Shaohua Li Date: Fri Mar 18 18:45:35 2005 -0500 [ACPI] Bind PCI devices with ACPI devices Implement the framework for binding physical devices with ACPI devices. A physical bus like PCI bus should create a 'acpi_bus_type', with: .find_device: For device which has parent such as normal PCI devices. .find_bridge: It's for special devices, such as PCI root bridge or IDE controller. Such devices generally haven't a parent or ->bus. We use the special method to get an ACPI handle. Uses new field in struct device: firmware_data http://bugzilla.kernel.org/show_bug.cgi?id=4277 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit fb9802fa59b196d7f90bb3c2e33c555c6bdc4c54 Author: Luming Yu Date: Fri Mar 18 18:03:45 2005 -0500 [ACPI] generic Hot Key support See Documentation/acpi-hotkey.txt Use cmdline "acpi_specific_hotkey" to enable legacy platform specific drivers. http://bugzilla.kernel.org/show_bug.cgi?id=3887 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit d58da590451cf6ae75379a2ebf96d3afb8d810d8 Author: David Shaohua Li Date: Fri Mar 18 16:43:54 2005 -0500 [ACPI] S3 Suspend to RAM: fix driver suspend/resume methods Drivers should do this: .suspend() pci_disable_device() .resume() pci_enable_device() http://bugzilla.kernel.org/show_bug.cgi?id=3469 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 362b06bb70b5a5779b2e852e0f2bdb437061106e Author: David Shaohua Li Date: Fri Mar 18 16:30:29 2005 -0500 [ACPI] S3 Suspend to RAM: interrupt resume fix Delete PCI Interrupt Link Device .resume method -- it is the device driver's job to request interrupts, not the Link's job to remember what the devices want. This addresses the issue of attempting to run the ACPI interpreter too early in resume, when interrupts are still disabled. http://bugzilla.kernel.org/show_bug.cgi?id=3469 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit 5ae947ecc9c1c23834201e5321684a5cb68bdd3f Author: David Shaohua Li Date: Fri Mar 18 16:27:13 2005 -0500 [ACPI] Suspend to RAM fix Free some RAM before entering S3 so that upon resume we can be sure early allocations will succeed. http://bugzilla.kernel.org/show_bug.cgi?id=3469 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown commit e2a5b420f716cd1a46674b1a90389612eced916f Author: Alexey Starikovskiy Date: Fri Mar 18 16:20:46 2005 -0500 [ACPI] ACPI poweroff fix Register an "acpi" system device to be notified of shutdown preparation. This depends on CONFIG_PM http://bugzilla.kernel.org/show_bug.cgi?id=4041 Signed-off-by: Alexey Starikovskiy Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit be91492ca871e58f61b517cfba541095bb60001c Author: Len Brown Date: Fri Mar 18 16:00:29 2005 -0500 [ACPI] CONFIG_ACPI now depends on CONFIG_PM Signed-off-by: Len Brown commit bd4698dad3023ae137b366c736e29ca6eaf3b9f7 Author: Alexey Starikovskiy Date: Fri Mar 18 15:35:22 2005 -0500 [ACPI] Allow simultaneous Fixed Feature and Control Method buttons delete /proc/acpi/button http://bugzilla.kernel.org/show_bug.cgi?id=1920 Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown commit 45b1b196677b8009ab6cdc4b656265f1d7015c1b Author: Keiichiro Tokunaga Date: Wed Mar 2 00:00:00 2005 -0500 [ACPI] update CONFIG_ACPI_CONTAINER Kconfig help Signed-off-by: Keiichiro Tokunaga Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit 7ac3db59fd4410405ce55e2a25c397aec440d8da Merge: 1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6 328f314a89fd24e50fdf22c81efb2a468fdf25b5 Author: Linus Torvalds Date: Mon Jul 11 16:32:40 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c Author: James Bottomley Date: Sat Jul 2 12:22:01 2005 -0400 [SCSI] SPI transport class, don't negotiate options not supported At the moment, the transport class blindly tries to set things like QAS and IU, even if the drive won't support them. It's best not to annoy the devices like this and instead only set what the drive says is actually supported. Signed-off-by: James Bottomley commit ede7fbdf526c314850c9f32dd8da1753bf8d0ad5 Author: Jean Delvare Date: Sat Jul 2 18:52:48 2005 +0200 [PATCH] I2C: Move hwmon drivers (3/3) Part 3: Move the drivers documentation, plus two general documentation files. Note that the patch "adds trailing whitespace", because it does move the files as-is, and some files happen to have trailing whitespace. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8d5d45fb14680326f833295f2316a4ec5e357220 Author: Jean Delvare Date: Sat Jul 2 18:20:26 2005 +0200 [PATCH] I2C: Move hwmon drivers (2/3) Part 2: Move the driver files themselves. Note that the patch "adds trailing whitespace", because it does move the files as-is, and some files happen to have trailing whitespace. From: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 63522f7fdb624adef20cb9d90c7effcd5b6301b2 Author: David S. Miller Date: Mon Jul 11 14:29:11 2005 -0700 [NETLINK]: Reserve NETLINK_NETFILTER. Signed-off-by: David S. Miller commit ad2f931dcb41bcfae38cc77d78b7821dfef83cf2 Author: Jean Delvare Date: Sat Jul 2 18:15:49 2005 +0200 [PATCH] I2C: Move hwmon drivers (1/3) Part 1: Configuration files and Makefiles. From: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0e65f82814e9828d3ff54988de9e7c0b36794daa Author: Evgeniy Polyakov Date: Thu Jun 30 22:52:38 2005 +0400 [PATCH] w1: fix CRC calculation on bigendian platforms. In the 2.6.13-rc1 code the "rn" structure is in the wrong-endianness when passed to w1_attach_slave_device(). This causes problems like the family and crc being swapped around. Signed-off-by: Roger Blofeld Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 80efa8c72006a1c04004f8fb07b22073348e4bf2 Author: Adrian Bunk Date: Fri Jul 1 00:17:27 2005 +0200 [PATCH] I2C: SENSORS_ATXP1 must select I2C_SENSOR On Thu, Jun 30, 2005 at 11:47:09PM +0200, Sebastian Pigulak wrote: > I've tried patching linux-2.6.13-RC1 with patch-2.6.13-rc1-git2 and > building atxp1(it allows Vcore voltage changing) into the kernel. > Unfortunately, the kernel compilation stops with: > > LD init/built-in.o > LD vmlinux > drivers/built-in.o(.text+0x92298): In function `atxp1_detect': > : undefined reference to `i2c_which_vrm' > drivers/built-in.o(.text+0x921ae): In function `atxp1_attach_adapter': > : undefined reference to `i2c_detect' > make: *** [vmlinux] B??d 1 > ==> ERROR: Build Failed. Aborting... > > Could someone have a look at the module and possibly fix it up? SENSORS_ATXP1 must select I2C_SENSOR. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 1d772e2587da3c8b0fb8610fcc1c91fd82f87e52 Author: Jean Delvare Date: Sat Jun 25 11:37:40 2005 +0200 [PATCH] I2C: Clarify the usage of i2c-dev.h Upon suggestion by Nils Roeder, here is an update to the i2c documentation to clarify which header files user-space applications relying on the i2c-dev interface should include. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a68e2f4895070f3a449bfe5ae1174b73cc900642 Author: Jan Veldeman Date: Fri Jul 1 16:20:24 2005 +0200 [PATCH] I2C: Documentation fix Fix documentation to match code in include/linux/i2c-dev.h Signed-off-by: Jan Veldeman Signed-off-by: Greg Kroah-Hartman commit 61f5809d3ebce9d5433b8696048e91405b681023 Author: david-b@pacbell.net Date: Wed Jun 29 07:14:06 2005 -0700 [PATCH] I2C: minor I2C doc cleanups The I2C stack has long had "id" fields, of rather dubious utility, in many data structures. This removes mention of one of them from the documentation about how to write an I2C driver, so that only drivers that really need to use them (probably old/legacy code) will have any reason to use this field. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2db32767874fe53faff4f80de878ca19927efc1f Author: Jean Delvare Date: Thu Jun 23 23:43:00 2005 +0200 [PATCH] I2C: drop bogus eeprom comment This simple patch drops an out-of-date comment in the eeprom i2c chip driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a0920e10438e9fe8b22aba607083347c84458ed8 Author: Mark M. Hoffman Date: Tue Jun 28 00:21:30 2005 -0400 [PATCH] i2c: make better use of IDR in i2c-core This patch uses the already existing IDR mechanism to simplify and improve the i2c_get_adapter function in i2c-core. Signed-off-by: Mark M. Hoffman Signed-off-by: Greg Kroah-Hartman commit 5da69ba42aa42a479c0f5d8cb8351ebb6b51c12e Author: Jean Delvare Date: Fri Jul 1 14:28:15 2005 +0200 [PATCH] I2C: m41t00: fix incorrect kfree Here is a simple path fixing an incorrect kfree in the m41t00 i2c chip driver. The current code happens to work by accident, but the freed pointer isn't the one which was allocated in the first place, which could cause problems later. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2146fec20c38d926f0d88413977f941f42a14588 Author: Jean Delvare Date: Thu Jun 23 23:41:39 2005 +0200 [PATCH] I2C: max6875 Kconfig update Here is a proposed Kconfig update for the new max6875 i2c chip driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 089bd86632769051f15cd7387eebe126d18f151f Author: Jean Delvare Date: Thu Jun 23 23:37:53 2005 +0200 [PATCH] I2C: max6875 documentation update Here is a proposed documentation update for the new max6875 i2c chip driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9ab1ee2ab7d65979c0f14a60ee1f29f8988f5811 Author: Jean Delvare Date: Fri Jun 24 21:14:16 2005 +0200 [PATCH] I2C: New max6875 driver may corrupt EEPROMs After a careful code analysis on the new max6875 driver (drivers/i2c/chips/max6875.c), I have come to the conclusion that this driver may cause EEPROM corruptions if used on random systems. The EEPROM part of the MAX6875 chip is accessed using rather uncommon I2C sequences. What is seen by the MAX6875 as reads can be seen by a standard EEPROM (24C02) as writes. If you check the detection method used by the driver, you'll find that the first SMBus command it will send on the bus is i2c_smbus_write_byte_data(client, 0x80, 0x40). For the MAX6875 it makes an internal pointer point to a specific offset of the EEPROM waiting for a subsequent read command, so it's not an actual data write operation, but for a standard EEPROM, this instead means writing value 0x40 to offset 0x80. Blame Philips and Intel for the obscure protocol. Since the MAX6875 and the standard, common 24C02 EEPROMs share two I2C addresses (0x50 and 0x52), loading the max6875 driver on a system with standard EEPROMs at either address will trigger a write on these EEPROMs, which will lead to their corruption if they happen not to be write protected. This kind of EEPROMs can be found on memory modules (SPD), ethernet adapters (MAC address), laptops (proprietary data) and displays (EDID/DDC). Most of these are hopefully write-protected, but not all of them. For this reason, I would recommend that the max6875 driver be neutralized, in a way that nobody can corrupt his/her EEPROMs by just loading the driver. This means either deleting the driver completely, or not listing any default address for it. I'd like this to be done before 2.6.13-rc1 is released. Additionally, the max6875 driver lacks the 24RF08 corruption preventer present in the eeprom driver, which means that loading this driver in a system with such a chip would corrupt it as well. Here is a proposed quick patch addressing the issue, although I wouldn't mind a complete removal if it makes everyone feel safer. I think Ben has plans to replace this driver by a much simplified one anyway. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 541e6a02768404efb06bd1ea5f33d614732f41fc Author: Jean Delvare Date: Thu Jun 23 22:18:08 2005 +0200 [PATCH] I2C: Strip trailing whitespace from strings Here is a simple patch originally from Denis Vlasenko, which strips a useless trailing whitespace from 8 strings in 4 i2c drivers. Please apply, thanks. From: Denis Vlasenko Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 65fc50e50ff9f8b82c3756eccd7e7db6a267ffe9 Author: david-b@pacbell.net Date: Wed Jun 29 07:13:00 2005 -0700 [PATCH] I2C: minor TPS6501x cleanups This includes various small cleanups and fixes to the TPS 6501x driver that came mostly from review feedback by Jean Delvare; thanks Jean! Also some goofy whitespace gets fixed. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 6328c0e163abfce679b1beffb166f72900bf0a22 Author: Denis Vlasenko Date: Wed Jun 22 10:25:13 2005 +0300 [PATCH] I2C: Coding style cleanups to via686a On Wednesday 22 June 2005 08:17, Greg KH wrote: > [PATCH] I2C: Coding style cleanups to via686a > > The via686a hardware monitoring driver has infamous coding style at the > moment. I'd like to clean up the mess before I start working on other > changes to this driver. Is the following patch acceptable? No code > change, only coding style (indentation, alignments, trailing white > space, a few parentheses and a typo). > > Signed-off-by: Jean Delvare > Signed-off-by: Greg Kroah-Hartman Nice. You missed some. This one is on top of your patch: Signed-off-by: Greg Kroah-Hartman commit 1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6 Merge: a8400986fb0bff251ac4dd9e2188cf0b59443d3f 3b5cc09033f49d004006acf44e5b05036bd46a85 Author: Linus Torvalds Date: Mon Jul 11 14:08:08 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 328f314a89fd24e50fdf22c81efb2a468fdf25b5 Author: David S. Miller Date: Mon Jul 11 13:44:56 2005 -0700 [SPARC64]: Add missing asm-sparc64/seccomp.h file. Signed-off-by: David S. Miller commit 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc Author: Russell King Date: Mon Jul 11 19:42:58 2005 +0100 [PATCH] ARM SMP: Initialise cpu_present_map Rather than relying on the fixup code in init/main.c, explicitly initialise cpu_present_map. Signed-off-by: Russell King commit e11b2236eace94ad9a2e421904742e83976405ed Author: Russell King Date: Mon Jul 11 19:26:31 2005 +0100 [PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs Signed-off-by: Russell King commit 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 Author: Christoph Hellwig Date: Tue Jun 28 16:50:40 2005 +0200 [SCSI] aic7xxx: remove ahc_tailq now that we do normal PCI probing there's no need to keep a list of all HBAs. Rejections fixed up and Signed-off-by: James Bottomley commit dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a Author: Christoph Hellwig Date: Tue Jun 28 16:49:44 2005 +0200 [SCSI] aic7xxx: sane pci probing always probe in bus order, avoid any reordering Signed-off-by: James Bottomley commit 7f602c53939fdb1bca12151a28f9b90cde046fb1 Author: James Bottomley Date: Sat May 21 10:24:37 2005 -0500 [SCSI] add TYPE_RBC to our type table Here's a tiny update that means we print the correct ASCII type information Signed-off-by: James Bottomley commit 3b5cc09033f49d004006acf44e5b05036bd46a85 Author: Kenji Kaneshige Date: Sun Jul 10 21:49:00 2005 -0700 [IA64] assign_irq_vector() should not panic Current assign_irq_vector() will panic if interrupt vectors is running out. But I think how to handle the case of lack of interrupt vectors should be handled by the caller of this function. For example, some PCI devices can raise the interrupt signal via both MSI and I/O APIC. So even if the driver for these device fails to allocate a vector for MSI, the driver still has a chance to use I/O APIC based interrupt. But currently there is no chance for these driver to use I/O APIC based interrupt because kernel will panic when assign_irq_vector() fails to allocate interrupt vector. The following patch changes assign_irq_vector() for ia64 to return -ENOSPC on error instead of panic (as i386 and x86_64 versions do). Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit 699139279d29e36e39d353b0536b510dab2e5ffa Author: Nishanth Aravamudan Date: Fri Jul 8 17:10:00 2005 -0700 [IA64] use msleep_interruptible() instead of schedule_timeout Description: Replace schedule_timeout() with msleep_interruptible() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Acked-by: Dean Nelson Signed-off-by: Tony Luck commit a8400986fb0bff251ac4dd9e2188cf0b59443d3f Author: Miles Bader Date: Mon Jul 11 18:24:50 2005 +0900 [PATCH] v850: Update mmu.h header to match implementation changes Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 623cdf4a04a9856f93e32e7716ed8196f6d5ee3b Author: Miles Bader Date: Mon Jul 11 18:24:50 2005 +0900 [PATCH] v850: Update checksum.h to match changed function signatures Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 200d481f28be4522464bb849dd0eb5f8cb6be781 Merge: f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c 97f927a4d7dbccde0a854a62c3ea54d90bae8679 Author: Linus Torvalds Date: Mon Jul 11 10:18:18 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c Merge: 5c23804a0941a111752fdacefe0bea2db1b4d93f f7ceba360cce9af3fbc4e5a5b1bd40b570b7021c Author: Linus Torvalds Date: Mon Jul 11 10:09:59 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit d0feafbf14ebe860136b8ad84cce42b34defb323 Author: Olaf Hering Date: Sun Jul 10 12:35:00 2005 -0700 [IA64] remove linux/version.h include from arch/ia64 changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Tony Luck commit e7578c08a4dee36fe01fb38805f325689e642eb0 Merge: 763b3917e779c9c25d56fc71a796774185cd6ce2 5c23804a0941a111752fdacefe0bea2db1b4d93f Author: Tony Luck Date: Mon Jul 11 09:43:11 2005 -0700 Auto merge with /home/aegl/GIT/linus commit d12734d14e5602816f0b16b17a8cef5ea70afb5a Author: Russell King Date: Mon Jul 11 17:38:36 2005 +0100 [PATCH] ARM SMP: Rename cpu_present_mask to cpu_possible_map The kernel's terminology for this is cpu_possible_map not cpu_present_mask. Signed-off-by: Russell King commit a5990120252539bccdaf70a66ac021966e80e3f7 Author: Andrew Morton Date: Sat Jul 9 01:30:02 2005 -0700 [SCSI] dpt_i2o warning fix drivers/scsi/dpt_i2o.c: In function `adpt_queue': drivers/scsi/dpt_i2o.c:385: warning: unused variable `timeout' Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit cc33895abbba85668de11df2cd04d6faf0be43e1 Author: Andrew Morton Date: Sat Jul 9 01:30:03 2005 -0700 [SCSI] aic79xx: ahd_linux_dev_reset() cleanup Use the macros consistently in ahd_linux_dev_reset(). If ahd_linux_dev_reset() really can be called with local interrupts disabled then yuk. Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7343c9ba8ed9d504cd2daf960da58971c6631601 Author: Olaf Hering Date: Mon Jul 11 10:17:06 2005 +0100 [PATCH] ARM: remove linux/version.h include from arch/arm Changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit bc5d04822bd9f34ea93a681f05f5e5683935d574 Author: Adam Kropelin Date: Mon Jul 11 01:09:32 2005 -0500 Input: HID - only report events coming from interrupts to hiddev Currently hid-core follows the same code path for input reports regardless of whether they are a result of interrupt transfers or control transfers. That leads to interrupt events erroneously being reported to hiddev for regular control transfers. Prior to 2.6.12 the problem was mitigated by the fact that reporting to hiddev is supressed if the field value has not changed, which is often the case. Said filtering was removed in 2.6.12-rc1 which means any input reports fetched via control transfers result in hiddev interrupt events. This behavior can quickly lead to a feedback loop where a userspace app, in response to interrupt events, issues control transfers which in turn create more interrupt events. This patch prevents input reports that arrive via control transfers from being reported to hiddev as interrupt events. Signed-off-by: Adam Kropelin Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 153ab429cad3b585ddf1a5521cfaadb57402cd31 Author: Michael Prokop Date: Mon Jul 11 01:09:10 2005 -0500 Input: elo - fix help in Kconfig (wrong module name) Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 6f5eacfc1e9a12ffca10b4abe8e9fddf1997da6f Author: Tobias Klauser Date: Mon Jul 11 01:08:56 2005 -0500 Input: joydev - remove custom conversion from jiffies to msecs Replace the MSECS() macro with the jiffies_to_msecs() function provided in jiffies.h Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 6345fdfd190659a2316d18065871245e3a1e0f84 Author: Luca T Date: Mon Jul 11 01:08:40 2005 -0500 Input: HID - add a quirk for Aashima Trust (06d6:0025) gamepad Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 963f626d46d5caeeb3cff29998d8a64df5b25591 Author: Peter Osterlund Date: Mon Jul 11 01:08:04 2005 -0500 Input: ALPS - unconditionally enable tapping mode The condition in alps_init() was also inverted and the driver was enabling tapping mode only if it was already enabled. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit b30dc120a7471a961272aeca24ede1c0530e6455 Author: David Moore Date: Mon Jul 11 01:07:48 2005 -0500 Input: ALPS - fix resume (for DualPoints) The driver would not reset pass-through mode when performing resume of a DualPoint touchpad causing it to stop working until next reboot. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 9ba5eaafa1bff1d2dc7f6b9fb4cc6e313dcd6105 Author: Simon Horman Date: Mon Jul 11 01:07:20 2005 -0500 Input: synaptics - limit rate to 40pps on Toshiba Dynabooks Toshiba Dynabooks require the same workaround as Satellites - Synaptics report rate should be lowered to 40pps (from 80), otherwise KBC starts losing keypresses. Signed-off-by: Simon Horman Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 20f07944af80a2916b2f6ac1559c0a680c309c0e Author: Vojtech Pavlik Date: Mon Jul 11 01:06:28 2005 -0500 Input: i8042 - add Fujitsu T3010 to NOMUX blacklist. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 865190cdbba995936700346c2daabbed97ac30ba Author: Dmitry Torokhov Date: Mon Jul 11 01:06:06 2005 -0500 Input: i8042 - add Alienware Sentia to NOMUX blacklist. Signed-off-by: Dmitry Torokhov commit bef5a66fd7fd8d606da5c9f210e2673f4e636f57 Author: Neil Brown Date: Mon Jul 11 01:05:47 2005 -0500 Input: serio_raw - fix Kconfig help Signed-off-by: Neil Brown Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit dc1e97b5eaed1921f421cf56fd233f064464b300 Author: Dmitry Torokhov Date: Mon Jul 11 01:02:16 2005 -0500 Input: serio_raw - link serio_raw misc device to corresponding serio port in sysfs. Signed-off-by: Dmitry Torokhov commit e0d21d9cca25f424f3129649be48a63c128ed42d Merge: beffbdc2211826b174c68307b1b48c93c05d7ded 5c23804a0941a111752fdacefe0bea2db1b4d93f Author: Dmitry Torokhov Date: Mon Jul 11 00:58:04 2005 -0500 Merge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit f7ceba360cce9af3fbc4e5a5b1bd40b570b7021c Author: David S. Miller Date: Sun Jul 10 19:29:45 2005 -0700 [SPARC64]: Add syscall auditing support. Signed-off-by: David S. Miller commit 8d8a64796fdee4e20355c6c12c9cc630a2e7494d Author: David S. Miller Date: Sun Jul 10 16:55:48 2005 -0700 [SPARC64]: Pass regs and entry/exit boolean to syscall_trace() Also fix a bug in 32-bit syscall tracing. We forgot to update this code when we moved over to the convention that all 32-bit syscall arguments are zero extended by default. Signed-off-by: David S. Miller commit bb49bcda15f1bc1a52c7f887db278447f332eaa7 Author: David S. Miller Date: Sun Jul 10 16:49:28 2005 -0700 [SPARC64]: Add SECCOMP support. Signed-off-by: David S. Miller commit af166d15c3ad4d501a0c4fb5b4547bb2ba205918 Author: David S. Miller Date: Sun Jul 10 15:56:40 2005 -0700 [SPARC64]: Kill ancient and unused SYSCALL_TRACING debugging code. Signed-off-by: David S. Miller commit d369ddd2fc00fc3f46e9052d1017cbf407e3cdf7 Author: David S. Miller Date: Sun Jul 10 15:45:11 2005 -0700 [SPARC64]: Add __read_mostly support. Signed-off-by: David S. Miller commit 9126dfde9e5efd76f9d4246819bdc7ea66de3af0 Author: David S. Miller Date: Sun Jul 10 15:11:45 2005 -0700 [SPARC]: Add ioprio system call support. Signed-off-by: David S. Miller commit 5c23804a0941a111752fdacefe0bea2db1b4d93f Merge: 58c853c6eabe93ab5e5daf7150fbb4e562acbb79 ec6bced6c7b92904f5ead39c9c1b8dc734e6eff0 Author: Linus Torvalds Date: Sun Jul 10 12:57:49 2005 -0700 Merge master.kernel.org:~rmk/linux-2.6-arm.git commit 58c853c6eabe93ab5e5daf7150fbb4e562acbb79 Author: Stephen Rothwell Date: Sun Jul 10 23:12:01 2005 +1000 [PATCH] remove asm-xtensa/ipc.h Now that sys_ipc has been removed from xtensa, asm/ipc.h is no longer needed for that architecture. Not tested, but obviously correct. This file is included only from arch code and this patch also removes the only inclusion. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds commit 1934b8b6561ee7804b0a671b48cf642fcd936b2c Author: Ben Collins Date: Sat Jul 9 20:01:23 2005 -0400 [PATCH] Sync up ieee-1394 Lots of this patch is trivial code cleanups (static vars were being intialized to 0, etc). There's also some fixes for ISO transmits (max buffer handling). Aswell, we have a few fixes to disable IRM capabilites correctly. We've also disabled, by default some generally unused EXPORT symbols for the sake of cleanliness in the kernel. However, instead of removing them completely, we felt it necessary to have a config option that allowed them to be enabled for the many projects outside of the main kernel tree that use our API for driver development. The primary reason for this patch is to revert a MODE6->MODE10 RBC conversion patch from the SCSI maintainers. The new conversions handled directly in the scsi layer do not seem to work for SBP2. This patch reverts to our old working code so that users can enjoy using Firewire disks and dvd drives again. We are working with the SCSI maintainers to resolve this issue outside of the main kernel tree. We'll merge the patch once the SCSI layer's handling of the MODE10 conversion is working for us. Signed-off-by: Linus Torvalds commit ec6bced6c7b92904f5ead39c9c1b8dc734e6eff0 Author: Tony Lindgren Date: Sun Jul 10 19:58:20 2005 +0100 [PATCH] ARM: 2803/1: OMAP update 11/11: Add cpufreq support Patch from Tony Lindgren This patch adds minimal cpufreq support for OMAP taking advantage of the clock framework. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit d3b83419117c8f7fd762b488b67393b94fa94762 Author: Tony Lindgren Date: Sun Jul 10 19:58:19 2005 +0100 [PATCH] ARM: 2805/1: OMAP update 10/11: Update H2 defconfig Patch from Tony Lindgren This patch updates H2 defconfig. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit bb13b5fdba16d5b30fe97f3d167bb138b978b71c Author: Tony Lindgren Date: Sun Jul 10 19:58:18 2005 +0100 [PATCH] ARM: 2804/1: OMAP update 9/11: Update OMAP arch files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific arch files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit d48af15ea7227d633ddd5002223c2b122b1032e1 Author: Tony Lindgren Date: Sun Jul 10 19:58:17 2005 +0100 [PATCH] ARM: 2802/1: OMAP update 8/11: Update OMAP arch files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific arch files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 5e1c5ff4783e0ddd241580c9996390508722190e Author: Tony Lindgren Date: Sun Jul 10 19:58:15 2005 +0100 [PATCH] ARM: 2812/1: OMAP update 7c/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit b91585560b59fd3ef4e20ca6f7d35aefda193774 Author: Tony Lindgren Date: Sun Jul 10 19:58:14 2005 +0100 [PATCH] ARM: 2809/1: OMAP update 7b/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 60906a8a4e07eb179a2ed90dda23fa36972c6336 Author: Tony Lindgren Date: Sun Jul 10 19:58:13 2005 +0100 [PATCH] ARM: 2807/1: OMAP update 7a/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit f577ffd75c02b6087d5bf5ca89f806b10f2a0246 Author: Tony Lindgren Date: Sun Jul 10 19:58:12 2005 +0100 [PATCH] ARM: 2801/1: OMAP update 6/11: Split OMAP1 common code into id, io and serial Patch from Tony Lindgren This patch by Juha Yrjölä and other OMAP developers splits OMAP1 specific common code into OMAP1 id, io, and serial code in mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit dbdf9cedfcc81202360763530412d746d798b7b6 Author: Tony Lindgren Date: Sun Jul 10 19:58:11 2005 +0100 [PATCH] ARM: 2806/1: OMAP update 5/11: Move board files into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 board files into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 6f3e14163e066a6f43a54098a12185f25400fd68 Author: Tony Lindgren Date: Sun Jul 10 19:58:10 2005 +0100 [PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 specific LED code into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 3b59b6beb423267e8fe2ef3596d98aba0b910341 Author: Tony Lindgren Date: Sun Jul 10 19:58:09 2005 +0100 [PATCH] ARM: 2800/1: OMAP update 3/11: Move OMAP1 core code into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 specific IRQ, time, and FPGA code into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit b288f75ffa6f26f720d0c69fcd09b4ee7122e17b Author: Tony Lindgren Date: Sun Jul 10 19:58:08 2005 +0100 [PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2 Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers modifies ARM specific Kconfig to allow sharing code between OMAP1 and OMAP2 architectures. In order to share code between OMAP1 and OMAP2, all OMAP1 specific code is moved into mach-omap1 directory in the following patch. A new mach-omap2 directory will be added later on. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit af973d2aff6008bc7500277eb5a523db579731c6 Author: Tony Lindgren Date: Sun Jul 10 19:58:06 2005 +0100 [PATCH] ARM: 2797/1: OMAP update 1/11: Update include files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific include files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 8107338bf9d0367d0b3f42730906b83532b6786f Author: Deepak Saxena Date: Sun Jul 10 19:44:55 2005 +0100 [PATCH] ARM: 2796/1: Fix ARMv5[TEJ] check in MMU initalization Patch from Deepak Saxena The code in mm-armv.c checks for the condition (cpu_architecture()<= ARMv5) in a few places but should be checking for ARMv5TEJ as the MMU is shared across all v5 variations. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 4bebdab7eb11ee533ff843f4f1fec9975666e64e Author: Lennert Buytenhek Date: Sun Jul 10 19:44:54 2005 +0100 [PATCH] ARM: 2795/1: update ixp2000 defconfigs Patch from Lennert Buytenhek Update the ixp2000 defconfigs from 2.6.12-git6 to 2.6.13-rc2. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 28187f2ce39eb2158c35a46696af03cdfd14310a Author: Lennert Buytenhek Date: Sun Jul 10 19:44:53 2005 +0100 [PATCH] ARM: 2793/1: platform serial support for ixp2000 Patch from Lennert Buytenhek This patch converts the ixp2000 serial port over to a platform serial device. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f179bc77d09b9087bfc559d0368bba350342ac76 Author: Dave Airlie Date: Sun Jul 10 12:46:19 2005 +1000 drm: fix stupid missing semicolon. I fixed this in one git tree but that wasn't the one I pushed... Signed-off-by: Dave Airlie commit 0109fd37046de64e8459f8c4f4706df9ac7cc82c Merge: cc14cf46da215a9df1c0a4388763a68769ef9e53 850eb83a6a21b086624b227653ce90ad927ba423 Author: Linus Torvalds Date: Sat Jul 9 09:59:23 2005 -0700 Merge head 'drm-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit cc14cf46da215a9df1c0a4388763a68769ef9e53 Merge: 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 8ca7c1df08210fd35fccf1559837c92baaa4da8f Author: Linus Torvalds Date: Sat Jul 9 09:58:47 2005 -0700 Merge head 'drm-3264' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 Merge: bb6b82381063f54613842decdf948cbfa631842e 717cb906bd43a9ac00631d600adda5c6546843a6 Author: Linus Torvalds Date: Sat Jul 9 09:58:01 2005 -0700 Merge head 'drm-via' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit bb6b82381063f54613842decdf948cbfa631842e Merge: 79af02c2538d54ff0dcd3f43646f506207f2ee62 a6524813e032fb33bd1de807a98f8453414335e4 Author: Linus Torvalds Date: Sat Jul 9 09:29:09 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 79af02c2538d54ff0dcd3f43646f506207f2ee62 Author: David S. Miller Date: Fri Jul 8 21:47:49 2005 -0700 [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. Signed-off-by: David S. Miller commit 9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d Author: David S. Miller Date: Fri Jul 8 21:44:39 2005 -0700 [IPV6]: Fix warning in ip6_mc_msfilter. Signed-off-by: David S. Miller commit 84b42baef775b0e3415ccece17cf694f50326d01 Author: David L Stevens Date: Fri Jul 8 17:48:38 2005 -0700 [IPV4]: fix IPv4 leave-group group matching This patch fixes the multicast group matching for IP_DROP_MEMBERSHIP, similar to the IP_ADD_MEMBERSHIP fix in a prior patch. Groups are identifiedby and including the interface address in the match will fail if a leave-group is done by address when the join was done by index, or if different addresses on the same interface are used in the join and leave. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 9951f036fe8a4e6b21962559c64ff13b290ff01a Author: David L Stevens Date: Fri Jul 8 17:47:28 2005 -0700 [IPV4]: (INCLUDE,empty)/leave-group equivalence for full-state MSF APIs & errno fix 1) Adds (INCLUDE, empty)/leave-group equivalence to the full-state multicast source filter APIs (IPv4 and IPv6) 2) Fixes an incorrect errno in the IPv6 leave-group (ENOENT should be EADDRNOTAVAIL) Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 917f2f105ea4bbba8604e3ed55233eebda7afe6a Author: David L Stevens Date: Fri Jul 8 17:45:16 2005 -0700 [IPV4]: multicast API "join" issues 1) In the full-state API when imsf_numsrc == 0 errno should be "0", but returns EADDRNOTAVAIL 2) An illegal filter mode change errno should be EINVAL, but returns EADDRNOTAVAIL 3) Trying to do an any-source option without IP_ADD_MEMBERSHIP errno should be EINVAL, but returns EADDRNOTAVAIL 4) Adds comments for the less obvious error return values Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 8cdaaa15da58806ac3c75d96c40aef9e31445a25 Author: David L Stevens Date: Fri Jul 8 17:39:23 2005 -0700 [IPV4]: multicast API "join" issues 1) Changes IP_ADD_SOURCE_MEMBERSHIP and MCAST_JOIN_SOURCE_GROUP to ignore EADDRINUSE errors on a "courtesy join" -- prior membership or not is ok for these. 2) Adds "leave group" equivalence of (INCLUDE, empty) filters in the delta-based API. Without this, mixing delta-based API calls that end in an (INCLUDE, empty) filter would not allow a subsequent regular IP_ADD_MEMBERSHIP. It also frees socket buffer memory that isn't needed for both the multicast group record and source filter. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit ca9b907d140a5f249250d19f956129dbbbf84f73 Author: David L Stevens Date: Fri Jul 8 17:38:07 2005 -0700 [IPV4]: multicast API "join" issues This patch corrects a few problems with the IP_ADD_MEMBERSHIP socket option: 1) The existing code makes an attempt at reference counting joins when using the ip_mreqn/imr_ifindex interface. Joining the same group on the same socket is an error, whatever the API. This leads to unexpected results when mixing ip_mreqn by index with ip_mreqn by address, ip_mreq, or other API's. For example, ip_mreq followed by ip_mreqn of the same group will "work" while the same two reversed will not. Fixed to always return EADDRINUSE on a duplicate join and removed the (now unused) reference count in ip_mc_socklist. 2) The group-search list in ip_mc_join_group() is comparing a full ip_mreqn structure and all of it must match for it to find the group. This doesn't correctly match a group that was joined with ip_mreq or ip_mreqn with an address (with or without an index). It also doesn't match groups that are joined by different addresses on the same interface. All of these are the same multicast group, which is identified by group address and interface index. Fixed the check to correctly match groups so we don't get duplicate group entries on the ip_mc_socklist. 3) The old code allocates a multicast address before searching for duplicates requiring it to free in various error cases. This patch moves the allocate until after the search and igmp_max_memberships check, so never a need to allocate, then free an entry. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 4c866aa798bc6de0a1d45495229e9f13c35b55c2 Author: Alexey Kuznetsov Date: Fri Jul 8 17:34:46 2005 -0700 [IPV4]: Apply sysctl_icmp_echo_ignore_broadcasts to ICMP_TIMESTAMP as well. This was the full intention of the original code. Signed-off-by: David S. Miller commit a6524813e032fb33bd1de807a98f8453414335e4 Author: David S. Miller Date: Fri Jul 8 15:21:51 2005 -0700 [SPARC64]: Support CONFIG_HZ Signed-off-by: David S. Miller commit 86a76caf8705e3524e15f343f3c4806939a06dc8 Author: Victor Fusco Date: Fri Jul 8 14:57:47 2005 -0700 [NET]: Fix sparse warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit b03efcfb2180289718991bb984044ce6c5b7d1b0 Author: David S. Miller Date: Fri Jul 8 14:57:23 2005 -0700 [NET]: Transform skb_queue_len() binary tests into skb_queue_empty() This is part of the grand scheme to eliminate the qlen member of skb_queue_head, and subsequently remove the 'list' member of sk_buff. Most users of skb_queue_len() want to know if the queue is empty or not, and that's trivially done with skb_queue_empty() which doesn't use the skb_queue_head->qlen member and instead uses the queue list emptyness as the test. Signed-off-by: David S. Miller commit dcc83a028552ac34538db52d82446d1da6ea8c22 Author: David S. Miller Date: Fri Jul 8 13:33:10 2005 -0700 [SPARC64]: Typo in dtlb_backend.S, _PAGE_SZ4M --> _PAGE_SZ4MB Noticed by Eddie C. Dost Signed-off-by: David S. Miller commit 763b3917e779c9c25d56fc71a796774185cd6ce2 Author: H. J. Lu Date: Fri Jul 8 12:25:00 2005 -0700 [IA64] Fix a typo in arch/ia64/kernel/entry.S Both 2.4 and 2.6 kernels need this patch for the next binutils. Signed-off-by: Tony Luck commit 88c3cdfdde3cf87e1831265ea4246430bef34fc9 Merge: 2b2c3750330325ae5071582b5c4dbdf1c8bc1e51 a92b7b80579fe68fe229892815c750f6652eb6a9 Author: Tony Luck Date: Fri Jul 8 08:52:42 2005 -0700 Auto merge with /home/aegl/GIT/linus commit a92b7b80579fe68fe229892815c750f6652eb6a9 Author: Chris Wright Date: Thu Jul 7 18:12:23 2005 -0700 [PATCH] Add MAINTAINERS entry for audit subsystem I've been asked about this a couple times, and there's no info in MAINTAINERS file. Add MAINTAINERS entry for audit subsystem. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit d88854f08961d26f3a63cfae7972188d26a128e4 Author: Alasdair G Kergon Date: Thu Jul 7 17:59:34 2005 -0700 [PATCH] device-mapper: dm-raid1: Limit bios to size of mirror region Set the target's split_io field when building a dm-mirror device so incoming bios won't span the mirror's internal regions. Without this, regions can be accessed while not holding correct locks and data corruption is possible. Reported-By: "Zhao Qian" From: Kevin Corry Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 374a6cf281771b23e263efd31fdc896924394dba Author: Pavel Machek Date: Thu Jul 7 17:59:33 2005 -0700 [PATCH] video doc: one more system where video works with S3 One more system where video works with S3. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 316240f66a64c95e373d52dc401d882d77a594ee Author: Hirokazu Takata Date: Thu Jul 7 17:59:32 2005 -0700 [PATCH] m32r: framebuffer device support This patch is for supporting Epson s1d13xxx framebuffer device for m32r. # Sorry, a little bigger. The Epson s1d13806 is already supported by 2.6.12 kernel, and its driver is placed as drivers/video/s1d13xxxfb.c. For the m32r, a header file include/asm-m32r/s1d13806.h was prepared for several m32r target platforms. It was originally generated by an Epson tool S1D13806CFG.EXE, and modified manually for the m32r platforms. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e34ac862ee6644378bfe6ea65c2e0dda4545513d Author: NeilBrown Date: Thu Jul 7 17:59:30 2005 -0700 [PATCH] nfsd4: fix fh_expire_type After discussion at the recent NFSv4 bake-a-thon, I realized that my assumption that NFS4_FH_PERSISTENT required filehandles to persist was a misreading of the spec. This also fixes an interoperability problem with the Solaris client. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c4cd222ee329025840bc2f8cebf71d36c62440c Author: NeilBrown Date: Thu Jul 7 17:59:27 2005 -0700 [PATCH] nfsd4: check lock type against openmode. We shouldn't be allowing, e.g., write locks on files not open for read. To enforce this, we add a pointer from the lock stateid back to the open stateid it came from, so that the check will continue to be correct even after the open is upgraded or downgraded. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a4f98bbf481cb9f755005ac569ceb5303e1b69f Author: NeilBrown Date: Thu Jul 7 17:59:26 2005 -0700 [PATCH] nfsd4: clean up nfs4_preprocess_seqid_op As long as we're here, do some miscellaneous cleanup. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8816512fcfde986326a2eb0f5a58e463d9904d8 Author: NeilBrown Date: Thu Jul 7 17:59:25 2005 -0700 [PATCH] nfsd4: clarify close_lru handling The handling of close_lru in preprocess_stateid_op was a source of some confusion here recently. Try to make the logic a little clearer, by renaming find_openstateowner_id to make its purpose clearer and untangling some unnecessarily complicated goto's. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52fd004e296ac07cde820af9e3139d47dda03cf8 Author: NeilBrown Date: Thu Jul 7 17:59:24 2005 -0700 [PATCH] nfsd4: renew lease on seqid modifying operations nfs4_preprocess_seqid_op is called by NFSv4 operations that imply an implicit renewal of the client lease. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b700949b781480819e53bdc38a53f053226dd75e Author: NeilBrown Date: Thu Jul 7 17:59:23 2005 -0700 [PATCH] nfsd4: return better error on io incompatible with open mode from RFC 3530: "Share reservations are established by OPEN operations and by their nature are mandatory in that when the OPEN denies READ or WRITE operations, that denial results in such operations being rejected with error NFS4ERR_LOCKED." (Note that share_denied is really only a legal error for OPEN.) Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 444c2c07c2d7a6936d1381d381ab80e3f5541427 Author: NeilBrown Date: Thu Jul 7 17:59:22 2005 -0700 [PATCH] nfsd4: always update stateid on open An OPEN from the same client/open stateowner requires a stateid update because of the share/deny access update. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e66770cd7b0c36f28a2f6eb0957c0575ac8b3787 Author: NeilBrown Date: Thu Jul 7 17:59:21 2005 -0700 [PATCH] nfsd4: relax new lock seqid check We're insisting that the lock sequence id field passed in the open_to_lockowner struct always be zero. This is probably thanks to the sentence in rfc3530: "The first request issued for any given lock_owner is issued with a sequence number of zero." But there doesn't seem to be any problem with allowing initial sequence numbers other than zero. And currently this is causing lock reclaims from the Linux client to fail. In the spirit of "be liberal in what you accept, conservative in what you send", we'll relax the check (and patch the Linux client as well). Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fb64cee34f5dc743f697041717cafda8a94b5ac Author: NeilBrown Date: Thu Jul 7 17:59:20 2005 -0700 [PATCH] nfsd4: seqid comments Add some comments on the use of so_seqid, in an attempt to avoid some of the confusion outlined in the previous patch.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd9aac523b812d58e644fde5e59f5697fb9e3822 Author: NeilBrown Date: Thu Jul 7 17:59:19 2005 -0700 [PATCH] nfsd4: fix open_reclaim seqid The sequence number we store in the sequence id is the last one we received from the client. So on the next operation we'll check that the client gives us the next higher number. We increment sequence id's at the last moment, in encode, so that we're sure of knowing the right error return. (The decision to increment the sequence id depends on the exact error returned.) However on the *first* use of a sequence number, if we set the sequence number to the one received from the client and then let the increment happen on encode, we'll be left with a sequence number one to high. For that reason, ENCODE_SEQID_OP_TAIL only increments the sequence id on *confirmed* stateowners. This creates a problem for open reclaims, which are confirmed on first use. Therefore the open reclaim code, as a special exception, *decrements* the sequence id, cancelling out the undesired increment on encode. But this prevents the sequence id from ever being incremented in the case where multiple reclaims are sent with the same openowner. Yuch! We could add another exception to the open reclaim code, decrementing the sequence id only if this is the first use of the open owner. But it's simpler by far to modify the meaning of the op_seqid field: instead of representing the previous value sent by the client, we take op_seqid, after encoding, to represent the *next* sequence id that we expect from the client. This eliminates the need for special-case handling of the first use of a stateowner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 893f87701c9e5bd5610dfbb3f8bf1135f86d85cb Author: NeilBrown Date: Thu Jul 7 17:59:17 2005 -0700 [PATCH] nfsd4: comment indentation Yeah, it's trivial, but this drives me up the wall.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 375151773125f56b7f6d798d914ea469256b330b Author: NeilBrown Date: Thu Jul 7 17:59:16 2005 -0700 [PATCH] nfsd4: stop overusing RECLAIM_BAD A misreading of the spec lead us to convert all errors on open and lock reclaims to RECLAIM_BAD. This causes problems--for example, a reboot within the grace period could lead to reclaims with stale stateid's, and we'd like to return STALE errors in those cases. What rfc3530 actually says about RECLAIM_BAD: "The reclaim provided by the client does not match any of the server's state consistency checks and is bad." I'm assuming that "state consistency checks" refers to checks for consistency with the state recorded to stable storage, and that the error should be reserved for that case. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dd395dc76071a06eea39839cc946c1241af3650 Author: NeilBrown Date: Thu Jul 7 17:59:15 2005 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on lock A GRACE or NOGRACE response to a lock request should also bump the sequence id. So we delay the handling of grace period errors till after we've found the relevant owner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b648330a1d741d5df8a5076b2a0a2519c69c8f41 Author: NeilBrown Date: Thu Jul 7 17:59:15 2005 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on open The GRACE and NOGRACE errors should bump the sequence id on open. So we delay the handling of these errors until nfsd4_process_open2, at which point we've set the open owner, so the encode routine will be able to bump the sequence id. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fa822e452084032b8495ca0d8e0199329847815 Author: NeilBrown Date: Thu Jul 7 17:59:14 2005 -0700 [PATCH] nfsd4: fix release_lockowner We oops in list_for_each_entry(), because release_stateowner frees something on the list we're traversing. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67be431350941765e211eeed237c12def3aaba70 Author: NeilBrown Date: Thu Jul 7 17:59:13 2005 -0700 [PATCH] nfsd4: prevent multiple unlinks of recovery directories Make sure we don't try to delete client recovery directories multiple times; fixes some spurious error messages. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdc5524e8a257b1c91dd8e4cdfbab979f4e17a60 Author: NeilBrown Date: Thu Jul 7 17:59:12 2005 -0700 [PATCH] nfsd4: lookup_one_len takes i_sem Oops, this lookup_one_len needs the i_sem. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6ccbbb8865101d83c2e716f08feae1da1c48584 Author: NeilBrown Date: Thu Jul 7 17:59:11 2005 -0700 [PATCH] nfsd4: fix sync'ing of recovery directory We need to fsync the recovery directory after writing to it, but we weren't doing this correctly. (For example, we weren't taking the i_sem when calling ->fsync().) Just reuse the existing nfsd fsync code instead. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 463090294e1e460cf97f5ade376d4b1e62bc5263 Author: NeilBrown Date: Thu Jul 7 17:59:10 2005 -0700 [PATCH] nfsd4: reboot recovery fix We need to remove the recovery directory here too. (This chunk just got lost somehow in the process of commuting the reboot recovery patches past the other patches.) Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89b39f5d8d701ddd93546b3d8edbefa5d568529d Author: Dominik Brodowski Date: Thu Jul 7 17:59:09 2005 -0700 [PATCH] yenta: don't depend on CardBus As a follow-up, we can allow the yenta-driver to be limited to PCMCIA operation. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bc6b68a103a6f4055890b5127ddca3a322751b0 Author: Russell King Date: Thu Jul 7 17:59:07 2005 -0700 [PATCH] yenta: no CardBus if IRQ fails If probing for the correct interrupt fails on yenta bridges, the driver falls back to polling for interrupt actions. However, CardBus cards cannot be used then. Signed-off-by: Russell King Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4230dfc9c3f708f4765736b862aa313aa97e3c2e Author: Dominik Brodowski Date: Thu Jul 7 17:59:06 2005 -0700 [PATCH] pcmcia: update MAINTAINERS entry PCMCIA/CardBus is handled by a team of developers at the specified mailing list. Additional developers wanting to help are most welcome. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44670d2b50efd2443c3810239d6ea3fd02f8ef64 Author: Dominik Brodowski Date: Thu Jul 7 17:59:05 2005 -0700 [PATCH] pcmcia: remove references to pcmcia/version.h As a follow-up, remove the inclusion of pcmcia/version.h in many files. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 Author: Pavel Roskin Date: Thu Jul 7 17:59:04 2005 -0700 [PATCH] pcmcia: remove client services version (fix) One correction is needed. Changes are not needed for drivers/scsi/pcmcia/nsp_cs.c because it uses versioning in the compatibility part, which is never used in 2.6 kernels. The only right thing we could to that compatibility code would be to remove it throughout the file, but that would be a separate patch. Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a00db1ba7c33619cbd7c3153e4746d15881c0383 Author: Pavel Roskin Date: Thu Jul 7 17:59:03 2005 -0700 [PATCH] pcmcia: remove client services version The Linux PCMCIA code has some data that was apparently used (or meant to be used) to ensure that only proper client drivers are loaded. This is now ensured (to a certain degree) by the fact that the most client drivers are part of the kernel. Also, the version information has not been updated despite major changes in PCMCIA API. This has made it meaningless. This patch removes servinfo_t and pcmcia_get_card_services_info. They are not used in any userspace utilities such as pcmcia-cs and pcmciautils. drivers/pcmcia/pcmcia_ioctl.c is adjusted accordingly. CS_RELEASE and CS_RELEASE_CODE are removed. include/pcmcia/version.h is empty now. It will be removed later, but for now it's left in the tree to avoid touching all PCMCIA clients. The only driver that needs to be changed is drivers/scsi/pcmcia/nsp_cs.c, which uses CS_RELEASE_CODE. Signed-off-by: Pavel Roskin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bc5a9bdc56fac6f7cbf95b89443e3809141c247 Author: Dominik Brodowski Date: Thu Jul 7 17:59:02 2005 -0700 [PATCH] pcmcia: reduce client_handle_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2 Author: Dominik Brodowski Date: Thu Jul 7 17:59:01 2005 -0700 [PATCH] pcmcia: remove client_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e212f3645a6b355de8c43a23376bc0e2ac49a63 Author: Dominik Brodowski Date: Thu Jul 7 17:59:00 2005 -0700 [PATCH] pcmcia: move event handler Move the "event handler" to struct pcmcia_driver -- the unified event handler will disappear really soon, but switching it to struct pcmcia_driver in the meantime allows for better "step-by-step" patches. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf45d9b0ac108b11245203ebb082d30f5059846b Author: Dominik Brodowski Date: Thu Jul 7 17:58:58 2005 -0700 [PATCH] pcmcia: deprecate ioctl Schedule removal of the PCMCIA ioctl (and thus kernel support for the pcmcia-cs userspace package) for November 2005. A big "thank you" to Dave Hinds for his great work on supporting PCMCIA in Linux. Things are just done differently by now, so the ongoing work to make PCMCIA behave like any other hotpluggable bus should continue. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69a4d56bae492b1a5e74459d9d771d9bc7f9320f Author: Ian Campbell Date: Thu Jul 7 17:58:52 2005 -0700 [PATCH] pcmcia: fix i82365 request_region double usage http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f354942cb301fed273f423fb5c4f57bde3efc5b2 converted the check_region() calls in drivers/pcmcia/i82365.c into request_regions. Unfortunately this seems to have broken things. isa_probe() used to call check_region() and then call add_pcic() which would request_region(). Now isa_probe() calls request_region() and then calls add_pcic() which calls request_region() again, this fails and add_pcic() returns immediately without doing all the setup etc. On the face of it the patch below fixes the problem, by not doing the second request region in add_pcic(). I think this is preferable to remove the call in isa_probe() since identify() touches the I/O regions and is called before add_pcic(). However I haven't fully grokked the meaning of the code which follows the request_region() in isa_probe(), so I'm not sure that the handling WRT multiple sockets and multiple bridge chips is correct. In particular I'm not convinced that the regions for subsequent sockets and/or bridges will be requested at all. I suspect a more thorough reworking by someone who understands what is going on there might be in order. I should mention that I'm actually messing about with this on an ARM platform with wacky memory and i/o mapping offsets etc, it doesn't quite work yet for other reasons which preclude full testing etc, but I think the problem above is still present for more normal x86 stuff. Signed-off-by: Ian Campbell Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d805258f69bff5ba8268a969f140ef1f105c71 Author: Michael Krufky Date: Thu Jul 7 17:58:43 2005 -0700 [PATCH] v4l: LGDT3302 read status fix - Fix bug in lgdt3302_read_status to return correct FE_HAS_SIGNAL and FS_HAS_CARRIER status. - Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10). Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d723c09f03e0b2cb4405c361c927efac373fe0c Author: Michael Krufky Date: Thu Jul 7 17:58:42 2005 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-T - Correct sync byte for MPEG-2 transport stream packets. - Add lgdt3302 as dependency of cx88-dvb in Kconfig. - Add dvb support in v4l for DViCO FusionHDTV3 Gold-T using lgdt3302 frontend. This adds support for a different board from the previous (Gold-Q) patch. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e057ee11efb84e559c55e98d33acb341fe68fda1 Author: Michael Krufky Date: Thu Jul 7 17:58:40 2005 -0700 [PATCH] v4l: add TerraTec Cinergy 1400 DVB-T Add support for TerraTec Cinergy 1400 DVB-T. Signed-off-by: Uli Luckas Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1798495592c1bcd7871abdc1ef2985d65c34224 Author: Michael Krufky Date: Thu Jul 7 17:58:39 2005 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-Q Add dvb support in v4l for DViCO FusionHDTV3 Gold-Q using lgdt3302 frontend. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac4c158b0090462bc356b934024cf0c5d7c8526 Author: Michael Krufky Date: Thu Jul 7 17:58:38 2005 -0700 [PATCH] v4l: cx88 hue offset fix Changed hue offset to 128 to correct behavior in cx88 cards. Previously, setting 0% or 100% hue was required to avoid blue/green people on screen. Now, 50% Hue means no offset, just like bt878 stuff. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a82decf64d34e79a0cc622997866c754350f18f8 Author: Mauro Carvalho Chehab Date: Thu Jul 7 17:58:36 2005 -0700 [PATCH] v4l: cx88 update - Add support for ADS Tech Instant TV DVB-T PCI. - Remove obsoleted config options. - Fix DViCO Board names - Remove CABLE type setting from DViCO FusionHDTV3 Gold-T. - Fix compilation with gcc4.0. - V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio. - radio range is now defined on tuner-core.c. Cleaning up. - Fix a bug on frequency report for cx88 based cards. - Added support for changing radio mode stereo/mono. - Add remove for MSI TV@nywhere. Signed-off-by: Jorik Jonker . Signed-off-by: Didier Caillaud Signed-off-by: Benoit Laniel . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f552f5edc13e18b75f11fb1b08bbcad67fd362 Author: Uwe Bugla Date: Thu Jul 7 17:58:35 2005 -0700 [PATCH] fix for Documentation/dvb/bt8xx.txt?= * /usr/src/linux-2.6.12/Documentation/dvb/bt8xx.txt almost completely remade the text file with the following focuses: useful infos for beginners: how to load modules manually and automatically developers infos are reduced to a minimum as module loading works automatic in kernel >= 2.6.12 by loading modules bttv and dvb-bt8xx I completely erased the out of date TwinHan part dealing with additional parameters, debug parameters, and overriding autodetection Further up to date information about TwinHan + clones can be found in /Documentation/dvb/ci.txt Signed-off-by: Uwe Bugla Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3352e432d5705aaa9b58d8d97b1ccc81eb4bc0fd Author: Patrick Boettcher Date: Thu Jul 7 17:58:34 2005 -0700 [PATCH] dvb: usb: README update Updated the readme file to point to the DVB USB wikipage to find out which firmware necessary, + minor updates. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d590f9c20e15620ba708e5bd71d345bf1b7b0d73 Author: Patrick Boettcher Date: Thu Jul 7 17:58:33 2005 -0700 [PATCH] dvb: usb: add supprt for WideView WT-220U Add support and rewrote some parts with the help of vendor information (Thanks to Steve Chang from WideView, Inc.): o added support for the WT-220U (Pensize DVB-T receiver) o corrected byte order for unc,ber and the pid filter o corrected number of pids that can be fetched at the same time. o added some comments in Kconfig-file o added USB IDs for the WT-220U Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 Author: Steffen Motzer Date: Thu Jul 7 17:58:31 2005 -0700 [PATCH] dvb: dst: fix tuning problem Fix tuning failure for 200103A, 200103A failed to tune to low band due to wrong tone setting on the 200103A. Signed-off-by: Steffen Motzer Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63b5c1c47fd6c5ae26d279756e8a050c721ea379 Author: Patrick Boettcher Date: Thu Jul 7 17:58:30 2005 -0700 [PATCH] dvb: usb/pci: correct syntax of driver name fields Change the name-field of the pci_driver and usb_driver structs to the name of the module after compilation. It seems that this field is used in some places where special characters are not allowed. Thanks to Alan Halverson for finding this problem. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8667cbbe440aacb246832afc217a6a44664115c Author: Mac Michaels Date: Thu Jul 7 17:58:29 2005 -0700 [PATCH] dvb: frontend: add driver for LGDT3302 Add support for LGDT3302 (ATSC VSB/QAM) used in DViCO FusionHDTV3 Gold. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25de192660627e1e8dc8ee6a120ff8b54d108593 Author: Oliver Endriss Date: Thu Jul 7 17:58:28 2005 -0700 [PATCH] dvb: ttpci: fix timeout handling to be save with PREEMPT Timeout handling fixed, especially for preemtible kernels and/or high system load. Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e161f817bebecc1c1cc461dc83cce2eafbed9ee9 Author: Patrick Boettcher Date: Thu Jul 7 17:58:27 2005 -0700 [PATCH] dvb: usb: dont use HZ for timeouts Don't use HZ for usb-transfer-timeouts. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58769a5486bec8ed44b3b51029f8df8f13cddd5a Author: Andrew Hodgson Date: Thu Jul 7 17:58:26 2005 -0700 [PATCH] dvb: usb: A800 rc and timeout fixes o add some remote control codes o not using HZ for control_msg-timeout Signed-off-by: Andrew Hodgson Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1df896aa239caf72483655290c40b21da536d85e Author: Patrick Boettcher Date: Thu Jul 7 17:58:24 2005 -0700 [PATCH] dvb: usb: IR input fixes o fixed usage of the correct number of events in keymapping-array o better place for return Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04f3e5ea51248ff974a13ef2dd0145125c76204c Author: Michael Paxton Date: Thu Jul 7 17:58:24 2005 -0700 [PATCH] dvb: usb: vp7045 IR map fix Correct two keys of the vp7045 remote control key mapping. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb41f5a725d052d7542e0e966e5799b95c2648c8 Author: Patrick Boettcher Date: Thu Jul 7 17:58:23 2005 -0700 [PATCH] dvb: usb: fix WideView USB ids o Steve Chang reported the real name behind 0x14aa: WideView, changed USB IDs accordingly. o fixed an assignment Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d188c68a04d89d9351c3130226d0e8af9439dda Author: Patrick Boettcher Date: Thu Jul 7 17:58:21 2005 -0700 [PATCH] dvb: usb: add vp7045 IR keymap Add keymap for Twinhan vp7045 remote control. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d72fa1c91d721bf4c68a18f2d8fed820a8f1611e Author: Patrick Boettcher Date: Thu Jul 7 17:58:20 2005 -0700 [PATCH] dvb: usb Kconfig help text update o corrected some typos o added the Wikilink pointing to the USB device list Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82ff896c969a099888e4a131b829f1c8d6aecbba Author: Patrick Boettcher Date: Thu Jul 7 17:58:17 2005 -0700 [PATCH] dvb: usb doc update o removed device listing (they are all in the linuxtv wiki now) o misc updates Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97432808ee367e15485e55c734ba04ca290a306d Author: Patrick Boettcher Date: Thu Jul 7 17:58:17 2005 -0700 [PATCH] dvb: usb: digitv memcpy fix Fix memcpy copying into the wrong destination. Thanks to Allan Third for reporting. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f7f96b95991bcbe52dee5aa50a19130873738bf Author: Patrick Boettcher Date: Thu Jul 7 17:58:16 2005 -0700 [PATCH] dvb: usb: add VideoWalker DVB-T USB ids Add another USB ID pair for the VideoWalker USB DVB-T. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8257e8a444a2b81952de9f8bfeb3a4726c0f7d5b Author: Patrick Boettcher Date: Thu Jul 7 17:58:15 2005 -0700 [PATCH] dvb: usb: cxusb DVB-T fixes cxusb DVB-T fixes. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c251ef6167c46152e247fc41628a4ac2d0aca33e Author: Patrick Boettcher Date: Thu Jul 7 17:58:14 2005 -0700 [PATCH] dvb: usb: dvb_usb_properties init fix There was no pid-filter-count set for some devices - led to an error. Thanks to Gerolf Wendland. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78c6e73f5a27f01e45e86a4e3d13863c9cce6374 Author: Patrick Boettcher Date: Thu Jul 7 17:58:13 2005 -0700 [PATCH] dvb: usb: digitv-usb fixes Some more work on the digitv-usb driver: o MT352 initialization and PLL-programming o I2c-transfer fixed. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0589b8e4fd24885a00d8954aef57c3319d161fee Author: Patrick Boettcher Date: Thu Jul 7 17:58:12 2005 -0700 [PATCH] dvb: frontend: add ALPS TDED4 PLL Add dvb_pll_desc for ALPS TDED4 used in Nebula USB boxes. Changed the name-field of the FMD1216. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6 Author: Patrick Boettcher Date: Thu Jul 7 17:58:11 2005 -0700 [PATCH] dvb: usb: add module parm to disable remote control polling Add module parameter to deactive remote control polling. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c6d93a73105fddd58796d7cb10f5f90ee2a338 Author: Patrick Boettcher Date: Thu Jul 7 17:58:10 2005 -0700 [PATCH] dvb: usb: support Medion hybrid USB2.0 DVB-T/analogue box Add preliminary support for the Medion Hybrid USB2.0 DVB-T/Analogue box. Analogue part is not working yet (cx25842 --> ivtv?). Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49dc82fdac3866e6ce9c978df80cedfb735d740c Author: Patrick Boettcher Date: Thu Jul 7 17:58:09 2005 -0700 [PATCH] dvb: frontend: add FMD1216ME PLL o change dvb-pll desc to take the frequency as parameter for setbw-callback into consideration o added dvb-pll desc for Philips FMD1216ME (needed for cxusb) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f5fee57812c99c95edf6794a50413c75e99fd4d Author: Patrick Boettcher Date: Thu Jul 7 17:58:08 2005 -0700 [PATCH] dvb: usb: add isochronous streaming method Added isochronous-streaming method. Changed memory (de)allocation behaviour accordingly. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8945c8c3d207c7a69024c02d164f5ae790c5b7ba Author: Patrick Boettcher Date: Thu Jul 7 17:58:07 2005 -0700 [PATCH] dvb: usb: fix ADSTech Instant TV DVB-T USB2.0 support Fixed support for the ADSTech Instant TV DVB-T USB (2.0 version). Thanks to Gerolf Wendland for his support. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68293ddbabb26a58ddb0a84aa5058a7acd7127e7 Author: Johannes Stezenbach Date: Thu Jul 7 17:58:06 2005 -0700 [PATCH] dvb: dvb-usb: support Artect T1 with broken USB ids Add #define for device with broken USB ids. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53936391741dee735304e997e2289500adf970c7 Author: Gavin Hamill Date: Thu Jul 7 17:58:04 2005 -0700 [PATCH] dvb: ttpci: add support for Hauppauge/TT DVB-C budget Add support for Hauppauge/TT DVB-C budget. Signed-off-by: Gavin Hamill Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80887a59c255f4a6c348dfc679501b3679d1070f Author: Christophe Lucas Date: Thu Jul 7 17:58:03 2005 -0700 [PATCH] dvb: ttpci: kj printk fix printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34612157b48d38e85ff72d65291b9eecb44dd0a6 Author: Oliver Endriss Date: Thu Jul 7 17:58:02 2005 -0700 [PATCH] dvb: ttpci: make av7110_fe_lock_fix() retryable av7110_fe_lock_fix() modified in a way that it can be retried after -ERESTARTSYS Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a2fa90fa8084846937aa194f8a40abfa99c692f Author: Johannes Stezenbach Date: Thu Jul 7 17:58:01 2005 -0700 [PATCH] dvb: ttpci: cleanup indentation + whitespace Fix indentation and add some whitepsace between operators. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12ba05049f9060e21ed1f95e876d8d063d2575b2 Author: Johannes Stezenbach Date: Thu Jul 7 17:58:00 2005 -0700 [PATCH] dvb: ttpci: error handling fix Change error handling in av7110_stop_feed() to stop as many filters as possible in case of errors. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce18a223607b0e8cc9a8375abc64281a13ac423c Author: Wolfgang Rohdewald Date: Thu Jul 7 17:57:59 2005 -0700 [PATCH] dvb: ttpci: more error handling for firmware communication o propagate more errors back to caller or log them, mainly in av7110.c and av7110_av.c o fix error message in StartHWFilter o do not StopHWFilter for handle 0xffff Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eef5764d6806e29a768a632abce113c15264c5d6 Author: Johannes Stezenbach Date: Thu Jul 7 17:57:58 2005 -0700 [PATCH] dvb: ttpci: budget-av / tu1216 fix for QAM128 Fix for QAM128 in VHF band suggested by Timo Helkiö. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3d7b5aeb32668732ffc1968d12b804a98ef4fdd Author: Dr. Werner Fink Date: Thu Jul 7 17:57:57 2005 -0700 [PATCH] dvb: ttpci: fix AUDUIO_CONTINUE ioctl Fixed typo in AUDUIO_CONTINUE ioctl: AUDIO_CMD_MUTE -> AUDIO_CMD_UNMUTE Signed-off-by: "Dr. Werner Fink" Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d87bc39b98e0bf927acd14611976f710bd9a783 Author: Johannes Stezenbach Date: Thu Jul 7 17:57:56 2005 -0700 [PATCH] dvb: ttpci: fix bug in timeout handling Fix bug in timeout handling. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9090ebb247999354f80d45d45b3d5a804a94f7f Author: Wolfgang Rohdewald Date: Thu Jul 7 17:57:55 2005 -0700 [PATCH] dvb: ttpci: fix error handling for firmware communication o make sure ERESTARTSYS will be propagated o ReleaseBitmap: starting with Firmware 261e, also release when BMP_LOADING o removes unused #define BMP_LOADINGS o in many cases changed the return value from -1 to something more meaningful like ETIMEDOUT, EINVAL o changed syslog message timeout waiting for COMMAND such that it indicates what command did not complete o reduce # of arguments for LoadBitmap and BlitBitmap o av7110_osd_cmd: remove the out: label Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd2bbb179326d23577ff8201c4f20e0db3e87f7b Author: Andrew de Quincey Date: Thu Jul 7 17:57:54 2005 -0700 [PATCH] dvb: ttpci: support for new TT DVB-T-CI Support for new TT DVB-T-CI, thanks to Andre Weidemann Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96bf2f2b549aab918f4225841df54c3d58896822 Author: Andrew de Quincey Date: Thu Jul 7 17:57:53 2005 -0700 [PATCH] dvb: ttpci: add support for Technotrend/Hauppauge DVB-S SE Add support for s5h1420 frontend (new Technotrend/Hauppauge DVB-S SE). Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 771e71570ce4da549fe89978de0a29e3299d7fb7 Author: Adrian Bunk Date: Thu Jul 7 17:57:52 2005 -0700 [PATCH] dvb: ttusb-dec: kfree cleanup The Coverity checker discovered that these two kfree's can never be executed. Signed-off-by: Adrian Bunk Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dff919425dd79954447e6ab39807b4c27ba3089 Author: Allan Stirling Date: Thu Jul 7 17:57:51 2005 -0700 [PATCH] dvb: Twinhan DST: frontend polarization fix Fix a bug that caused the polarization (V/H) to be interchanged. Signed-off-by: Allan Stirling Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d53421c6adce47d067b834c605daeafe1ff9356 Author: Manu Abraham Date: Thu Jul 7 17:57:50 2005 -0700 [PATCH] dvb: Twinhan DST: frontend fixes o Make the inversion setting specific, ie, only for the 200103A DVB-S This should not be flagged on other cards. o Make the frequency setting card specific o Make the bandwidth setting generic such that it supports more DVB-T cards o Set QAM size for DVB-C cards that do not autodetect QAM size o Fix a bug that caused the polarization not to be set. Set polarization for cards that do not autodetect polarization o Fix a bogus frontend signal lock, that caused a tuning delay as well. o Make the Symbolrate setting card specific Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64221be7b9006338e4a45228f013e467ee4bf045 Author: Patrick Boettcher Date: Thu Jul 7 17:57:49 2005 -0700 [PATCH] dvb: flexcop: woraround irq stop problem The flexcop chip often stops generating interrupts after some hours of operation. Apparently this can be fixed by resetting register block 0x300 at each channel change (this is not detailed in the flexcop data books). This patch also restructures DMA handling and adds a bit of debug code for the irq problem in case it still happens for someone. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2819639b5630cd26d399ee0481be9a752280cf4d Author: Patrick Boettcher Date: Thu Jul 7 17:57:48 2005 -0700 [PATCH] dvb: flexcop: add big endian register definitions Add big-endian register definitions for running on a PowerPC. (Thanks to Paavo Hartikainen for testing.) Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 178c6efcd8435644028bf3f079c1e82107e72dfd Author: Christophe Lucas Date: Thu Jul 7 17:57:47 2005 -0700 [PATCH] dvb: saa7146: kj pci_module_init cleanup http://kerneljanitors.org/TODO - convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 Author: Andreas Oberritter Date: Thu Jul 7 17:57:46 2005 -0700 [PATCH] dvb: add Pluto2 driver Add driver for the Satelco Easywatch Mobile DVB-T card (based on Pluto2 chip). Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48e4cc2d210e817e808ac9db598ce3fb5d09c205 Author: Johannes Stezenbach Date: Thu Jul 7 17:57:45 2005 -0700 [PATCH] dvb: DVB update Increase some timeouts by a factor of 10 as suggested by Mikko Hamalainen and Timo Ketolainen, to improve tuning for QAM128 / weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80064b803de140a65ca82bba5f0c40309b5a9f5e Author: Johannes Stezenbach Date: Thu Jul 7 17:57:45 2005 -0700 [PATCH] dvb: frontend: l64781: improve tuning Disable zig-zag and set min_delay_ms = 4000 as suggested by Allan Guild to improve tuning with weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f46dbb050b5c7585c34b9ef717d81d6fee883f9b Author: Patrick Boettcher Date: Thu Jul 7 17:57:44 2005 -0700 [PATCH] dvb: frontend: cx22702: support for cxusb Add .get_tune_settings callback (min_delay_ms = 1sec) and output_mode-field (parallel/serial) to support cxusb; minor cleanups. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f03cbea36ab9412dcea58e953be4933b36c9b7be Author: Hartmut Hackmann Date: Thu Jul 7 17:57:43 2005 -0700 [PATCH] dvb: frontend: tda1004x: support tda827x tuners o added preliminary support for tda827x tuners o set parameters for drift compensation to 0 makes no sense for DVB-T but can prevent lock Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c744b010078bd65724477e75261e51712d290a0 Author: Anssi Hannula Date: Thu Jul 7 17:57:42 2005 -0700 [PATCH] dvb: add missing release_firmware() calls Add missing release_firmware() calls to fix memory leaks. Signed-off-by: Anssi Hannula Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd Author: Hartmut Hackmann Date: Thu Jul 7 17:57:42 2005 -0700 [PATCH] dvb: frontend: bcm3510: fix firmware version check Fix limit for firmware version check was too low for tda10045. Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac Author: Hartmut Hackmann Date: Thu Jul 7 17:57:40 2005 -0700 [PATCH] dvb: frontend: tda1004x update o added config options for IF frequency and AGC o support DSP boot from on board eeprom o added pll sleep call Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbf24cec93b5966bdbd4f25be7a8a2d8716570db Author: Andrew de Quincey Date: Thu Jul 7 17:57:40 2005 -0700 [PATCH] dvb: frontend: remove unused I2C ids Remove I2C_DRIVERID_DVBFE_ cruft. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7 Author: Peter Beutner Date: Thu Jul 7 17:57:39 2005 -0700 [PATCH] dvb: core: dmxdev cleanups - remove void casts - not necessary to set filter state twice to STATE_FREE during dvb_dmxdev_init() Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761979248adf83f5bece22e058ec445511984012 Author: Peter Beutner Date: Thu Jul 7 17:57:38 2005 -0700 [PATCH] dvb: core: demux error handling fix In dvb_dmxdev_filter_start if we go out because of an error, release previously allocated demux_feed. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4992775c8287145e86b94fe8d19bbb5f20148cc0 Author: Andrew de Quincey Date: Thu Jul 7 17:57:37 2005 -0700 [PATCH] dvb: core: add workaround for tuning problem Add workaround for signal lock loss issue, where the frontend loses the signal after some hours without any visible reason. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990 Author: Peter Beutner Date: Thu Jul 7 17:57:36 2005 -0700 [PATCH] dvb: core: fix race condition in FE_READ_STATUS ioctl Fix a race condition where an application which issued a FE_READ_STATUS ioctl directly after FE_SET_FRONTEND would see an old status, i.e. FE_READ_STATUS would be executed before the frontend thread has even seen the tungin request from FE_SET_FRONTEND. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25a26ec3b60b29300a652d7d81a69b6bc08b35b5 Author: Johannes Stezenbach Date: Thu Jul 7 17:57:35 2005 -0700 [PATCH] dvb: remove obsolete skystar2 driver Remove the skystar2 driver which has been obsoleted by the generalized flexcop-pci driver. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38b32d6237588e6dca9b9a84256b507a29207f68 Author: Martin Loschwitz Date: Thu Jul 7 17:57:31 2005 -0700 [PATCH] dvb: cinergyT2: endianness fix for raw remote-control keys Fixed litte/big-endian conversion for raw remote-control keys. Signed-off-by: Martin Loschwitz Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa Author: Miklos Szeredi Date: Thu Jul 7 17:57:30 2005 -0700 [PATCH] namespace: rename _mntput to mntput_no_expire This patch renames _mntput() to something a little more descriptive: mntput_no_expire(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55e700b924f9e0ba24e3a071d1097d050b05abe6 Author: Miklos Szeredi Date: Thu Jul 7 17:57:30 2005 -0700 [PATCH] namespace: rename mnt_fslink to mnt_expire This patch renames vfsmount->mnt_fslink to something a little more descriptive: vfsmount->mnt_expire. Signed-off-by: Mike Waychison Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 732dbef606f22a23cb3e1029d613977ec645e8ae Author: Miklos Szeredi Date: Thu Jul 7 17:57:29 2005 -0700 [PATCH] dcookies.c: use proper refcounting functions Dcookies shouldn't play with the internals of dentry and vfsmnt refcounting. It defeats grepping, and is prone to break if implementation details change. In addition the function doesn't even seem to be performance critical: it calls kmem_cache_alloc(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 484e389c63472a7f8cfb491cf11b047364e59365 Author: Miklos Szeredi Date: Thu Jul 7 17:57:28 2005 -0700 [PATCH] set mnt_namespace in the correct place This patch sets ->mnt_namespace where it's actually added to the namespace. Previously mnt_namespace was set in do_kern_mount() even if the filesystem was never added to any process's namespace (most kernel-internal filesystems). This discrepancy doesn't actually cause any problems, but it's cleaner if mnt_namespace is NULL for these non exported filesystems. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac0811538b40bb92d339d22364026ed91dfdd147 Author: Miklos Szeredi Date: Thu Jul 7 17:57:27 2005 -0700 [PATCH] namespace.c: fix mnt_namespace zeroing for expired mounts This patch clears mnt_namespace in an expired mount. If mnt_namespace is not cleared, it's possible to attach a new mount to the already detached mount, because check_mnt() can return true. The effect is a resource leak, since the resulting tree will never be freed. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed42c879b7b1463aa7a15fdbbeb2b1914d60be8a Author: Miklos Szeredi Date: Thu Jul 7 17:57:26 2005 -0700 [PATCH] namespace.c: fix expiring of detached mount This patch fixes a bug noticed by Al Viro: However, we still have a problem here - just what would happen if vfsmount is detached while we were grabbing namespace semaphore? Refcount alone is not useful here - we might be held by whoever had detached the vfsmount. IOW, we should check that it's still attached (i.e. that mnt->mnt_parent != mnt). If it's not - just leave it alone, do mntput() and let whoever holds it deal with the sucker. No need to put it back on lists. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24ca2af1e7cff55e71e9f86c61ddc56e894b8b40 Author: Miklos Szeredi Date: Thu Jul 7 17:57:25 2005 -0700 [PATCH] namespace.c: split mark_mounts_for_expiry() This patch splits the mark_mounts_for_expiry() function. It's too complex and too deeply nested, even without the bugfix in the following patch. Otherwise code is completely the same. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4d70278610e6bebe44a7b59a469fe7391387da6 Author: Miklos Szeredi Date: Thu Jul 7 17:57:24 2005 -0700 [PATCH] namespace.c: cleanup in mark_mounts_for_expiry() This patch simplifies mark_mounts_for_expiry() by using detach_mnt() instead of duplicating everything it does. It should be an equivalent transformation except for righting the dput/mntput order. Al Viro said: "Looks sane". Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 Author: Miklos Szeredi Date: Thu Jul 7 17:57:24 2005 -0700 [PATCH] namespace.c: fix race in mark_mounts_for_expiry() This patch fixes a race found by Ram in mark_mounts_for_expiry() in fs/namespace.c. The bug can only be triggered with simultaneous exiting of a process having a private namespace, and expiry of a mount from within that namespace. It's practically impossible to trigger, and I haven't even tried. But still, a bug is a bug. The race happens when put_namespace() is called by another task, while mark_mounts_for_expiry() is between atomic_read() and get_namespace(). In that case get_namespace() will be called on an already dead namespace with unforeseeable results. The solution was suggested by Al Viro, with his own words: Instead of screwing with atomic_read() in there, why don't we simply do the following: a) atomic_dec_and_lock() in put_namespace() b) __put_namespace() called without dropping lock c) the first thing done by __put_namespace would be struct vfsmount *root = namespace->root; namespace->root = NULL; spin_unlock(...); .... umount_tree(root); ... d) check in mark_... would be simply namespace && namespace->root. And we are all set; no screwing around with atomic_read(), no magic at all. Dying namespace gets NULL ->root. All changes of ->root happen under spinlock. If under a spinlock we see non-NULL ->mnt_namespace, it won't be freed until we drop the lock (we will set ->mnt_namespace to NULL under that lock before we get to freeing namespace). If under a spinlock we see non-NULL ->mnt_namespace and ->mnt_namespace->root, we can grab a reference to namespace and be sure that it won't go away. Signed-off-by: Miklos Szeredi Acked-by: Al Viro Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202322e6f7cd12e82b5ff0fa92bbdf517fcf0947 Author: Miklos Szeredi Date: Thu Jul 7 17:57:22 2005 -0700 [PATCH] namespace.c: fix mnt_namespace clearing This patch clears mnt_namespace on unmount. Not clearing mnt_namespace has two effects: 1) It is possible to attach a new mount to a detached mount, because check_mnt() returns true. This means, that when no other references to the detached mount remain, it still can't be freed. This causes a resource leak, and possibly un-removable modules. 2) If mnt_namespace is dereferenced (only in mark_mounts_for_expiry()) after the namspace has been freed, it can cause an Oops, memory corruption, etc. 1) has been tested before and after the patch, 2) is only speculation. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f50142e4b092a469920a0008fc23121c3d99f2f Author: Roland Dreier Date: Thu Jul 7 17:57:21 2005 -0700 [PATCH] IB uverbs: add documentation file Add documentation for InfiniBand userspace verbs. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd Author: Roland Dreier Date: Thu Jul 7 17:57:20 2005 -0700 [PATCH] IB uverbs: add mthca user QP support Add support for userspace queue pairs (QPs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c2174e7be52f9d2d210511bf3b490f4b41574c Author: Roland Dreier Date: Thu Jul 7 17:57:19 2005 -0700 [PATCH] IB uverbs: add mthca user CQ support Add support for userspace completion queues (CQs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24d4281be0598d2d4ab9a2ffb1b78f5af0ffaddf Author: Roland Dreier Date: Thu Jul 7 17:57:19 2005 -0700 [PATCH] IB uverbs: add mthca user MR support Add support for userspace memory regions (MRs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99264c1ee2ce908f95c075cce97698758a793b58 Author: Roland Dreier Date: Thu Jul 7 17:57:18 2005 -0700 [PATCH] IB uverbs: add mthca user PD support Add support for userspace protection domains (PDs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b8b3ffd5e0b10f3c683096a663d0cc22179c43 Author: Roland Dreier Date: Thu Jul 7 17:57:17 2005 -0700 [PATCH] IB uverbs: add mthca mmap support Add support for mmap() method to mthca, so that userspace can get access to doorbell registers. This allows userspace to get direct access to the HCA for data path operations. Each userspace context gets its own copy of the doorbell registers and is only allowed to use resources that the kernel has given it access to. In other words, this is safe. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e0b537c7d94efe3fea0fee8e2533c3231a8af75 Author: Roland Dreier Date: Thu Jul 7 17:57:16 2005 -0700 [PATCH] IB uverbs: add mthca user context support Add support for managing userspace contexts to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56483ec1b70221f8c9838ccc9a89b43d9de66993 Author: Roland Dreier Date: Thu Jul 7 17:57:16 2005 -0700 [PATCH] IB uverbs: add mthca user doorbell record support Add support for userspace doorbell records to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e95975e8b87de47c08e032e7762fc7df7dfc2060 Author: Roland Dreier Date: Thu Jul 7 17:57:15 2005 -0700 [PATCH] IB uverbs: add mthca ABI header Add the mthca_user.h header file, which defines the device-specific ABI used by the mthca low-level driver for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d927d696c088ceb22c776e1e89937dc289d4078 Author: Roland Dreier Date: Thu Jul 7 17:57:14 2005 -0700 [PATCH] IB uverbs: hook up Kconfig/Makefile Hook up InfiniBand userspace verbs to Kconfig and the make system. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8ffbfed50e7945c024a80e3688d5beffa3b641 Author: Roland Dreier Date: Thu Jul 7 17:57:14 2005 -0700 [PATCH] IB uverbs: memory pinning implementation Add support for pinning userspace memory regions and returning a list of pages in the region. This includes tracking pinned memory against vm_locked and preventing unprivileged users from exceeding RLIMIT_MEMLOCK. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc38a6abdd5a50e007d0fcd9b9b6280132b79e62 Author: Roland Dreier Date: Thu Jul 7 17:57:13 2005 -0700 [PATCH] IB uverbs: core implementation Add the core of the InfiniBand userspace verbs implementation, including creating character device nodes, dispatching requests from userspace, and passing event notifications back up to userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a96b3f9af2d0351285665b532f9359d6cd73f42 Author: Roland Dreier Date: Thu Jul 7 17:57:12 2005 -0700 [PATCH] IB uverbs: add user verbs ABI header Add the ib_user_verbs.h header file, which defines the ABI used by InfiniBand userspace verbs for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cf296b66afeec2edc39cc7bbedbf3d0afd2a373 Author: Roland Dreier Date: Thu Jul 7 17:57:11 2005 -0700 [PATCH] IB uverbs: update mthca for new API Update mthca to compile against the updated API for low-level drivers. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5e81bf5e7084796d93167f438ec073e59aca9ed Author: Roland Dreier Date: Thu Jul 7 17:57:11 2005 -0700 [PATCH] IB uverbs: update kernel midlayer for new API Update kernel InfiniBand midlayer to compile against the updated API for low-level drivers. This just amounts to passing NULL for all userspace-related parameters, and setting userspace-related structure members to NULL. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2773c062e41f710d8ef1e8a790c7e558aff663d Author: Roland Dreier Date: Thu Jul 7 17:57:10 2005 -0700 [PATCH] IB uverbs: core API extensions First of a series of patches which add support for direct userspace access to InfiniBand hardware -- so-called "userspace verbs." I believe these patches are ready to merge, but a final review would be useful. These patches should incorporate all of the feedback from the discussion when I posted an earlier version back in April (see http://lkml.org/lkml/2005/4/4/267 for the start of the thread). In particular, memory pinned for use by userspace is accounted for in current->mm->vm_locked and requests to pin memory are checked against RLIMIT_MEMLOCK. This patch: Modify the ib_verbs.h header file with changes required for InfiniBand userspace verbs support. We add a few structures to keep track of userspace context, and extend the driver API so that low-level drivers know when they're creating resources that will be used from userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404865516ce6b6d7ee37c4eb4ee77d78b38e669a Author: Andrew Morton Date: Thu Jul 7 17:57:09 2005 -0700 [PATCH] alpha(): pgprot_noncached The infiniband code expects that the arch implements pgprot_noncached(). We're mapping PCI areas anyway, so this probabyl wasn't needed and we should make infiniband stop doing that.. Cc: Roland Dreier Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8d7e3c9e38dab8d28a8667faa4941842f64213 Author: KAMBAROV, ZAUR Date: Thu Jul 7 17:57:07 2005 -0700 [PATCH] coverity: sunrpc/xprt task null check In __xprt_lock_write() we check to see if `task' is NULL, but in other places we just go and dereference it. `task' shouldn't be NULL anyway, so remove this test. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eaae2828dadae3abde7f77734c874d4b74b313a Author: KAMBAROV, ZAUR Date: Thu Jul 7 17:57:06 2005 -0700 [PATCH] coverity: fs/locks.c flp null check We're dereferencing `flp' and then we're testing it for NULLness. Either the compiler accidentally saved us or the existing null-pointer checdk is redundant. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f96c95680bfe66ff00c91859d4c73edf539b854 Author: KAMBAROV, ZAUR Date: Thu Jul 7 17:57:05 2005 -0700 [PATCH] coverity: fix fbsysfs null pointer check Correctly test for a null pointer before going and dereferencing it. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bbcfd9000887c0da7d57cc7b3ac869fc0dd5aa9 Author: Ingo Molnar Date: Thu Jul 7 17:57:04 2005 -0700 [PATCH] cond_resched(): fix bogus might_sleep() warning The BKS might be reacquired before we have dropped PREEMPT_ACTIVE, which could trigger a second could trigger a second cond_resched() call. Bug found by Hirofumi Ogawa. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4014d8f61a6a136d22422cf8aa978e6495dbad9 Author: David Howells Date: Thu Jul 7 17:57:03 2005 -0700 [PATCH] Keys: Base keyring size on key pointer not key struct The attached patch makes the keyring functions calculate the new size of a keyring's payload based on the size of pointer to the key struct, not the size of the key struct itself. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682d4fc93105ebf0bdfbb04a4b85047999b17844 Author: Ian Kent Date: Thu Jul 7 17:57:02 2005 -0700 [PATCH] autofs4: mistake in debug print Fix debugging printk. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 214a627cb401284f87cca7e1510a0f4284f1a17c Author: Jesse Millan Date: Thu Jul 7 17:57:01 2005 -0700 [PATCH] put_compat_shminfo() warning fix GCC 4 complains because the function put_compat_shminfo() can't get to its return statement if there is no error... If the function does not return -EFAULT, it doesn't return anything at all. Looks like a typo. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff87b37da912d6aeab6c20c58f51b34d3e37f111 Author: Andreas Gruenbacher Date: Thu Jul 7 17:57:00 2005 -0700 [PATCH] ext3 xattr: Don't write to the in-inode xattr space of reserved inodes We are not using the in-inode space for xattrs in reserved inodes because mkfs.ext3 doesn't initialize it properly. For those inodes, we set i_extra_isize to 0. Make sure that we also don't overwrite the i_extra_isize field when writing out the inode in that case. This is for cleanliness only, and doesn't fix an actual bug. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c036527a630720063b67d9a65455e8caca2c8fa Author: Christoph Lameter Date: Thu Jul 7 17:56:59 2005 -0700 [PATCH] mostly_read data section Add a new section called ".data.read_mostly" for data items that are read frequently and rarely written to like cpumaps etc. If these maps are placed in the .data section then these frequenly read items may end up in cachelines with data is is frequently updated. In that case all processors in an SMP system must needlessly reload the cachelines again and again containing elements of those frequently used variables. The ability to share these cachelines will allow each cpu in an SMP system to keep local copies of those shared cachelines thereby optimizing performance. Signed-off-by: Alok N Kataria Signed-off-by: Shobhit Dayal Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0db925af1db5f3dfe1691c35b39496e2baaff9c9 Author: Alexey Dobriyan Date: Thu Jul 7 17:56:58 2005 -0700 [PATCH] propagate __nocast annotations Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b84c21572de8a732062eff5592e3c4b3b1793bb8 Author: Andreas Gruenbacher Date: Thu Jul 7 17:56:57 2005 -0700 [PATCH] acl kconfig cleanup Original patch from Matt Mackall Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a39722034ae37f80a1803bf781fe3fe1b03e20bc Author: Nick Piggin Date: Thu Jul 7 17:56:56 2005 -0700 [PATCH] page_uptodate locking scalability Use a bit spin lock in the first buffer of the page to synchronise asynch IO buffer completions, instead of the global page_uptodate_lock, which is showing some scalabilty problems. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6afe27bfff30fbec2cca6ad5626c22f4094d770 Author: Roman Zippel Date: Thu Jul 7 17:56:55 2005 -0700 [PATCH] tty output lossage fix The patch fixes a few corner cases around tty line editing with very long input lines: - n_tty_receive_char(): don't simply drop eol characters, otherwise canon_data isn't increased and the reader isn't woken up. - n_tty_receive_room(): If there is no newline pending and the edit buffer is full, allow only a single character to be written (until eol is found and the line is flushed), so characters from the next line aren't dropped. - write_chan(): if an incomplete line was written, continue writing until write() returns 0, otherwise it might not write the eol character to flush the line and the writer goes to sleep without ever being woken up. BTW the core problem is that part of this should be handled in the receive_buf path, but for this it has to return the number of written characters, as the amount of written characters may not be the same as the amount of characters going into the write buffer, so the receive_room() usage in pty_write() is not really reliable. Alan said: The problem looks valid. The behaviour of 'traditional unix' appears to be the following If you exceed the line limit then beep and drop the character Always allow EOL to complete a canonical line input Always do signal/control processing if enabled Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8759145114f72857bcaeed338db21620a6619b26 Author: Arnd Bergmann Date: Thu Jul 7 17:56:53 2005 -0700 [PATCH] xtensa: remove old syscalls xtensa is now in -rc1, with the obsolete syscalls still in there, so I guess this about the last chance to correct the ABI. Applying the patch obviously breaks all sorts of user space binaries and probably also requires the appropriate changes to be made to libc. On the other hand, if a decision is made to keep the broken interface, it should at least be a conscious one instead of an oversight. Signed-off-by: Arnd Bergmann Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 605a69ac81249cca531cdc6b3e695f15dda63102 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 7 17:56:52 2005 -0700 [PATCH] uml: remove winch sem Replace a semaphore (winch_handler_sem) used in atomic code with a spinlock, and reduces as needed the amount of protected code to the bare minimum (for instance no kmalloc calls are needed). This fixes the last problems with spinlocking (in UP mode with DEBUG options); the semaphore, taken inside spinlocks, caused a "spin_lock was already locked" warning, without this patch. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f580470baa3afc423e38fdc6e19667446b5aac0 Author: Paolo 'Blaisorblade' Giarrusso Date: Thu Jul 7 17:56:51 2005 -0700 [PATCH] uml: restore hppfs support Some time ago a trivial patch broke HPPFS (one var became a pointer, not all uses were updated). It wasn't fixed at that time because not very used, now it's been requested so I've fixed this, and it has been tested positively (at least partially). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9786a8f3cbc61f990266e23ffdb338ee3118b03d Author: Bodo Stroesser Date: Thu Jul 7 17:56:50 2005 -0700 [PATCH] uml: Proper clone support for skas0 This patch implements the clone-stub mechanism, which allows skas0 to run with proc_mm==0, even if the clib in UML uses modify_ldt. Note: There is a bug in skas3.v7 host patch, that avoids UML-skas from running properly on a SMP-box. In full skas3, I never really saw problems, but in skas0 they showed up. More commentary by jdike - What this patch does is makes sure that the host parent of each new host process matches the UML parent of the corresponding UML process. This ensures that any changed LDTs are inherited. This is done by having clone actually called by the UML process from its stub, rather than by the kernel. We have special syscall stubs that are loaded onto the stub code page because that code must be completely self-contained. These stubs are given C interfaces, and used like normal C functions, but there are subtleties. Principally, we have to be careful about stack variables in stub_clone_handler after the clone. The code is written so that there aren't any - everything boils down to a fixed address. If there were any locals, references to them after the clone would be wrong because the stack just changed. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d67b569f5f620c0fb95d5212642746b7ba9d29e4 Author: Jeff Dike Date: Thu Jul 7 17:56:49 2005 -0700 [PATCH] uml: skas0 - separate kernel address space on stock hosts UML has had two modes of operation - an insecure, slow mode (tt mode) in which the kernel is mapped into every process address space which requires no host kernel modifications, and a secure, faster mode (skas mode) in which the UML kernel is in a separate host address space, which requires a patch to the host kernel. This patch implements something very close to skas mode for hosts which don't support skas - I'm calling this skas0. It provides the security of the skas host patch, and some of the performance gains. The two main things that are provided by the skas patch, /proc/mm and PTRACE_FAULTINFO, are implemented in a way that require no host patch. For the remote address space changing stuff (mmap, munmap, and mprotect), we set aside two pages in the process above its stack, one of which contains a little bit of code which can call mmap et al. To update the address space, the system call information (system call number and arguments) are written to the stub page above the code. The %esp is set to the beginning of the data, the %eip is set the the start of the stub, and it repeatedly pops the information into its registers and makes the system call until it sees a system call number of zero. This is to amortize the cost of the context switch across multiple address space updates. When the updates are done, it SIGSTOPs itself, and the kernel process continues what it was doing. For a PTRACE_FAULTINFO replacement, we set up a SIGSEGV handler in the child, and let it handle segfaults rather than nullifying them. The handler is in the same page as the mmap stub. The second page is used as the stack. The handler reads cr2 and err from the sigcontext, sticks them at the base of the stack in a faultinfo struct, and SIGSTOPs itself. The kernel then reads the faultinfo and handles the fault. A complication on x86_64 is that this involves resetting the registers to the segfault values when the process is inside the kill system call. This breaks on x86_64 because %rcx will contain %rip because you tell SYSRET where to return to by putting the value in %rcx. So, this corrupts $rcx on return from the segfault. To work around this, I added an arch_finish_segv, which on x86 does nothing, but which on x86_64 ptraces the child back through the sigreturn. This causes %rcx to be restored by sigreturn and avoids the corruption. Ultimately, I think I will replace this with the trick of having it send itself a blocked signal which will be unblocked by the sigreturn. This will allow it to be stopped just after the sigreturn, and PTRACE_SYSCALLed without all the back-and-forth of PTRACE_SYSCALLing it through sigreturn. This runs on a stock host, so theoretically (and hopefully), tt mode isn't needed any more. We need to make sure that this is better in every way than tt mode, though. I'm concerned about the speed of address space updates and page fault handling, since they involve extra round-trips to the child. We can amortize the round-trip cost for large address space updates by writing all of the operations to the data page and having the child execute them all at the same time. This will help fork and exec, but not page faults, since they involve only one page. I can't think of any way to help page faults, except to add something like PTRACE_FAULTINFO to the host. There is PTRACE_SIGINFO, but UML doesn't use siginfo for SIGSEGV (or anything else) because there isn't enough information in the siginfo struct to handle page faults (the faulting operation type is missing). Adding that would make PTRACE_SIGINFO a usable equivalent to PTRACE_FAULTINFO. As for the code itself: - The system call stub is in arch/um/kernel/sys-$(SUBARCH)/stub.S. It is put in its own section of the binary along with stub_segv_handler in arch/um/kernel/skas/process.c. This is manipulated with run_syscall_stub in arch/um/kernel/skas/mem_user.c. syscall_stub will execute any system call at all, but it's only used for mmap, munmap, and mprotect. - The x86_64 stub calls sigreturn by hand rather than allowing the normal sigreturn to happen, because the normal sigreturn is a SA_RESTORER in UML's address space provided by libc. Needless to say, this is not available in the child's address space. Also, it does a couple of odd pops before that which restore the stack to the state it was in at the time the signal handler was called. - There is a new field in the arch mmu_context, which is now a union. This is the pid to be manipulated rather than the /proc/mm file descriptor. Code which deals with this now checks proc_mm to see whether it should use the usual skas code or the new code. - userspace_tramp is now used to create a new host process for every UML process, rather than one per UML processor. It checks proc_mm and ptrace_faultinfo to decide whether to map in the pages above its stack. - start_userspace now makes CLONE_VM conditional on proc_mm since we need separate address spaces now. - switch_mm_skas now just sets userspace_pid[0] to the new pid rather than PTRACE_SWITCH_MM. There is an addition to userspace which updates its idea of the pid being manipulated each time around the loop. This is important on exec, when the pid will change underneath userspace(). - The stub page has a pte, but it can't be mapped in using tlb_flush because it is part of tlb_flush. This is why it's required for it to be mapped in by userspace_tramp. Other random things: - The stub section in uml.lds.S is page aligned. This page is written out to the backing vm file in setup_physmem because it is mapped from there into user processes. - There's some confusion with TASK_SIZE now that there are a couple of extra pages that the process can't use. TASK_SIZE is considered by the elf code to be the usable process memory, which is reasonable, so it is decreased by two pages. This confuses the definition of USER_PGDS_IN_LAST_PML4, making it too small because of the rounding down of the uneven division. So we round it to the nearest PGDIR_SIZE rather than the lower one. - I added a missing PT_SYSCALL_ARG6_OFFSET macro. - um_mmu.h was made into a userspace-usable file. - proc_mm and ptrace_faultinfo are globals which say whether the host supports these features. - There is a bad interaction between the mm.nr_ptes check at the end of exit_mmap, stack randomization, and skas0. exit_mmap will stop freeing pages at the PGDIR_SIZE boundary after the last vma. If the stack isn't on the last page table page, the last pte page won't be freed, as it should be since the stub ptes are there, and exit_mmap will BUG because there is an unfreed page. To get around this, TASK_SIZE is set to the next lowest PGDIR_SIZE boundary and mm->nr_ptes is decremented after the calls to init_stub_pte. This ensures that we know the process stack (and all other process mappings) will be below the top page table page, and thus we know that mm->nr_ptes will be one too many, and can be decremented. Things that need fixing: - We may need better assurrences that the stub code is PIC. - The stub pte is set up in init_new_context_skas. - alloc_pgdir is probably the right place. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1322ad41513f8f9196801f53cc0851df056f3478 Author: Pavel Machek Date: Thu Jul 7 17:56:45 2005 -0700 [PATCH] pm: clean up process.c freezeable() already tests for TRACED/STOPPED processes, no need to do it twice. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47b724f3fe372a3d9acf0bb560fb5c93c9867880 Author: Pavel Machek Date: Thu Jul 7 17:56:44 2005 -0700 [PATCH] swsusp: fix error handling Fix error handling and whitespace in swsusp.c. swsusp_free() was called when there was nothing allocating, leading to oops. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3efa147ad7608196639882ba4075b376f306fe16 Author: Pavel Machek Date: Thu Jul 7 17:56:43 2005 -0700 [PATCH] pm: Fix resume from initrd Move device name resolution code around so that it is not called from resume-from-initrd. name_to_dev_t may be unavailable at that point. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e00d9967e3addea86dded46deefc5daec5d52e5a Author: Bernard Blackham Date: Thu Jul 7 17:56:42 2005 -0700 [PATCH] pm: fix u32 vs. pm_message_t confusion in cpufreq Fix u32 vs pm_message_t confusion in cpufreq. Signed-off-by: Bernard Blackham Signed-off-by: Pavel Machek Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a569579be87b5ba61f9b6c54fd5f9f307c53962 Author: Pavel Machek Date: Thu Jul 7 17:56:40 2005 -0700 [PATCH] pm: more u32 vs. pm_message_t fixes Few more u32 vs. pm_message_t fixes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8af300c3bd87b2310f1e7a642f37e0fe49a754b Author: Dave Jones Date: Thu Jul 7 17:56:39 2005 -0700 [PATCH] Fix up non-NUMA breakage in mmzone.h If CONFIG_NUMA isn't set, we use the define in for early_pfn_to_nid (which defines it to 0). Because of this, the prototype needs to move inside the CONFIG_NUMA too, or anal gcc's get really confused. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e Author: Dave Jones Date: Thu Jul 7 17:56:39 2005 -0700 [PATCH] Clean up numa defines in mmzone.h The recent cleanups to asm-i386/mmzone.h were suboptimal nesting an ifdef of the same symbol. This patch removes some of the ifdef'ery to make things more readable again. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9 Author: Shaohua Li Date: Thu Jul 7 17:56:38 2005 -0700 [PATCH] MTRR suspend/resume cleanup There has been some discuss about solving the SMP MTRR suspend/resume breakage, but I didn't find a patch for it. This is an intent for it. The basic idea is moving mtrr initializing into cpu_identify for all APs (so it works for cpu hotplug). For BP, restore_processor_state is responsible for restoring MTRR. Signed-off-by: Shaohua Li Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01d299367fe868851a632cfbdb606845f57682aa Author: Adrian Bunk Date: Thu Jul 7 17:56:36 2005 -0700 [PATCH] FRV: Add defconfig This patch by Yoshihiro MATSUYAMA (already ACK'ed by David Howells) adds a defconfig for the frv arch. Signed-Off-By: Yoshihiro MATSUYAMA Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 059e277e5ba6486b5ef66deb336d4ef887f163ac Author: Anton Blanchard Date: Thu Jul 7 17:56:36 2005 -0700 [PATCH] ppc64: silence perfmon exception warnings We dont need to use the PERFMON exception on POWER5, in fact the firmware returns an error. Due to this just remove the warning. Also now that we have proper runlatch support we can remove the bootup hack. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6bff397ea9c36d410212f785ee644103146102a Author: Michael Ellerman Date: Thu Jul 7 17:56:35 2005 -0700 [PATCH] ppc64: Be consistent about printing which idle loop we're using Not sure if we really need this, but it was handy to know which iSeries loop I was testing. Be consistent about printing which idle loop we're using, with this patch we cover all cases. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10ca1e1ed58d6428924b5a44539334c341a6f485 Author: Anton Blanchard Date: Thu Jul 7 17:56:34 2005 -0700 [PATCH] ppc64: fix compile warning Fix a compile warning introduced by the previous patches. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45e75dfb609df4391636c2218bec5ea04536601d Author: Anton Blanchard Date: Thu Jul 7 17:56:33 2005 -0700 [PATCH] ppc64: idle fixups - remove some unnecessary includes - add runlatch support - no need to use raw_smp_processor_id any more, current preempt debug logic checks for processes that are bound to one cpu. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 050a09389e045f37e5bf08718cf36909766e20d1 Author: Anton Blanchard Date: Thu Jul 7 17:56:33 2005 -0700 [PATCH] ppc64: pSeries idle fixups - separate out sleep logic in dedicated_idle, it was so far indented that it got squashed against the right side of the screen. - add runlatch support, looping on runlatch disable. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c57bb9f454e8fc7b3d815b991b0dec43c766641 Author: Anton Blanchard Date: Thu Jul 7 17:56:32 2005 -0700 [PATCH] ppc64: iSeries idle fixups - remove min/max yield time, we dont use the values anywhere - separate shared and dedicated idle loops - check need_resched again with irqs off to avoid sleeping with pending work - continually set runlatch off in idle loop, this means we dont need to turn the runlatch off on exception exit and suffer that associated cost for all exceptions. (A future patch will turn the runlatch on at exception entry) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d5e3eb4b2141e1031835c89a62ee3ddf896641 Author: Michael Ellerman Date: Thu Jul 7 17:56:31 2005 -0700 [PATCH] ppc64: Remove obsolete idle_setup() Now that the idle loop is configured by each platform we don't need idle_setup() anymore. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 Author: Michael Ellerman Date: Thu Jul 7 17:56:30 2005 -0700 [PATCH] ppc64: Fixup platforms for new ppc_md.idle This patch fixes up iSeries, pSeries, pmac and maple to set the correct idle function for each platform. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea Author: Michael Ellerman Date: Thu Jul 7 17:56:29 2005 -0700 [PATCH] ppc64: Move pSeries idle functions into pSeries_setup.c dedicated_idle() and shared_idle() are only used by pSeries, so move them into pSeries_setup.c Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d200903e11f6867b91dffa81b2038e55be599f49 Author: Michael Ellerman Date: Thu Jul 7 17:56:29 2005 -0700 [PATCH] ppc64: Move iSeries_idle() into iSeries_setup.c Move iSeries_idle() into iSeries_setup.c, no one else needs to know about it. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd899c0cc725387992ccfc83fb6f70505c36cbeb Author: Michael Ellerman Date: Thu Jul 7 17:56:28 2005 -0700 [PATCH] ppc64: Make idle_loop a ppc_md function This patch adds an idle member to the ppc_md structure and calls it from cpu_idle(). If a platform leaves ppc_md.idle as null it will get the default idle loop default_idle(). Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88de0be0c7335650326a1236bf6ca1ed265c0a1c Author: Milton Miller Date: Thu Jul 7 17:56:27 2005 -0700 [PATCH] hvc_console: Use hvc_get_chars in hvsi code Now that hvc_get_chars doesn't strip NULs, hvsi doesn't have to duplicate it. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70b234a40107596a713e9981c643f2717e31463f Author: Milton Miller Date: Thu Jul 7 17:56:26 2005 -0700 [PATCH] hvc_console: Separate the NUL character filtering from get_hvc_chars Separate the NUL character filtering from get_hvc_chars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030ffad23fb28fc29608a3bc21f0c3b88bf28592 Author: Milton Miller Date: Thu Jul 7 17:56:25 2005 -0700 [PATCH] hvc_console: Register ops when setting up hvc_console When registering the hvc console port, register a list of ops (read and write) to go with it, instead of calling fixed function names. This allows different ports to encode the data differently. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acad9559f1054487292eb10d7bb81f256e9d8f2d Author: Milton Miller Date: Thu Jul 7 17:56:24 2005 -0700 [PATCH] hvc_console: Separate hvc_console and vio code 2 Remove all the vio device driver code from hvc_console.c This will allow us to separate hvsi, hvc, and allow hvc_console to be used without the ppc64 vio layer. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5ee257c3342185ba8ab642d125d192eb99ea8f2 Author: Milton Miller Date: Thu Jul 7 17:56:24 2005 -0700 [PATCH] hvc_console: Separate hvc_console and vio code Separate the console setup routines of the hvc_console and the vio layer. Remove the call to find_init_vty from hvc_console.c. Fail the setup routine if the console doesn't exist, but register the console again when the specified channel is instantiated. This scheme maintains the print buffer semantics while eliminating callout and call back for the console code. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7805b1b29ffdd252dfef36aa28d7bda70cd586d3 Author: Milton Miller Date: Thu Jul 7 17:56:23 2005 -0700 [PATCH] hvc_console: Add some sanity checks Check if a vterm was registered before accepting it as a console. Check that a slot hasn't been probed with a tty in hvc_instantiate(). Check that a slot hasn't been free'ed when handing out console device. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64e4da57964c03da9a03087a398cade81b7bb496 Author: Milton Miller Date: Thu Jul 7 17:56:22 2005 -0700 [PATCH] hvc_console: Statically initialize the vtermnos array Statically initialize the vtermnos array. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 Author: Milton Miller Date: Thu Jul 7 17:56:21 2005 -0700 [PATCH] hvc_console: remove num_vterms and some dead code num_vterms hasn't been used since the hotplug support went in. Also, remove a dead code line from a list_for_each_entry conversion. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e51d8c90a5ead16810302b2dc5127724c9045e77 Author: Milton Miller Date: Thu Jul 7 17:56:21 2005 -0700 [PATCH] hvc_console: Add missing include hvc_console checks MAGIC_SYSRQ and XMON config vars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 320da0d23ed1f82a896e0cfc1549a896d267777a Author: Milton Miller Date: Thu Jul 7 17:56:20 2005 -0700 [PATCH] hvc_console: Unregister the console in the exit routine. Be thorough in our exit routine, since it says it is there to be so. Unregistering without registering is safe (checked in 2.6.10). Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b9e0bac9419404a2d210ccaffaec442fe63338e Author: Milton Miller Date: Thu Jul 7 17:56:19 2005 -0700 [PATCH] hvc_console: MAGIC_SYSRQ should only be on console channel Guard the MAGIC_SYSRQ ^O to be just on the console channel. Make the other channels more transparent. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b67f8c177a642b35b7a05f530c12ef2834ef182 Author: Milton Miller Date: Thu Jul 7 17:56:18 2005 -0700 [PATCH] hvc_console: Dont always kick the poll thread in interrupt Have the hvc console code try to pull characters immediately when receiving an interrupt, and kick the poll thread only if the immediate poll indicates it needed a call back to do more work. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f24808eeb54eed5994128a863cd25c40f36cfac Author: Milton Miller Date: Thu Jul 7 17:56:17 2005 -0700 [PATCH] hvc_console: Match vio and console devices using vterm numbers Use the vterm numbers to match the vio devices being probed with the indices already allocated via the console initcall function hvc_find_vtys. The old code required hvc_find_vtys to "guess" the matching devices the vio subsystem would find and its probe order. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 837dcfaf46d147f1d2c64cbbecb832dd9075c39d Author: Milton Miller Date: Thu Jul 7 17:56:16 2005 -0700 [PATCH] hvc_console: Rearrange code Milton Miller has done a lot of work to clean up our hvc_console code. One of the important things the following patch series does is separate the VIO layer from the hvc_console code. With the VIO specific code removed any ppc64 platform, or even any architecture, can use hvc_console as a generic polling console. You simply have to supply a get_chars and put_chars method and hvc_console does the rest of the work. You can even use it for an interrupt driven console. This patch: Rearrange the code in drivers/char/hvc_console.c to make future patches smaller. No actual code changes, just ordering of the functions in the file. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cee73fa04758f52b7404b93a02edf74649370ab Author: Anton Blanchard Date: Thu Jul 7 17:56:15 2005 -0700 [PATCH] ppc64: remove duplicate syscall reservation We already have a prototype for sys_remap_file_pages (239) so there is no need to reserve it twice. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79c2cc7b6d2cc31cff6a3d8e966a890f0a0d5f7a Author: Anton Blanchard Date: Thu Jul 7 17:56:15 2005 -0700 [PATCH] ppc64: add ioprio syscalls - Clean up sys32_getpriority comment. - Add ioprio syscalls, and sign extend 32bit versions. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4416f3968a23e25a257d679227a89710447760ab Author: Anton Blanchard Date: Thu Jul 7 17:56:14 2005 -0700 [PATCH] ppc64: sys_ppc32.c cleanups Remove some unnecessary includes, an out of date comment and a prototype for sys_timer_create (which is now in syscalls.h) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf36680887d6d942d2119c1ff1dfb2428b0f21f4 Author: Anton Blanchard Date: Thu Jul 7 17:56:13 2005 -0700 [PATCH] move ioprio syscalls into syscalls.h - Make ioprio syscalls return long, like set/getpriority syscalls. - Move function prototypes into syscalls.h so we can pick them up in the 32/64bit compat code. Signed-off-by: Anton Blanchard Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dc4fd87f229414fc38648508aad7def2275fe81 Author: Anton Blanchard Date: Thu Jul 7 17:56:12 2005 -0700 [PATCH] ppc64: Turn runlatch on in exception entry Enable the runlatch at the start of each exception. Unfortunately we are out of space in the 0x300 handler, so I added it a bit later. The SPR write is fairly expensive, perhaps we should cache the runlatch state in the paca and avoid the write when possible. We don't need to turn the runlatch off, we do that in the idle loop. Better to take the hit in the idle loop than for each exception exit. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f7a9ce2a5c3d21cc0eb37a03da603b44ba4b09 Author: Anton Blanchard Date: Thu Jul 7 17:56:11 2005 -0700 [PATCH] ppc64: Fix runlatch code to work on pseries machines Not all ppc64 CPUs have the CTRL SPR, so we need a cputable feature for it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 315a699851722a6bc31e35f91562f31f55d4c4a2 Author: Anton Blanchard Date: Thu Jul 7 17:56:11 2005 -0700 [PATCH] ppc64: use c99 initialisers in cputable code Use c99 initialisers in the cputable code. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2098eec22882e8a50a21eb214df4742b34927dae Author: Olaf Hering Date: Thu Jul 7 17:56:09 2005 -0700 [PATCH] ppc64: vdso32: fix link errors after recent toolchain changes Patch from , http://sources.redhat.com/bugzilla/show_bug.cgi?id=1042 /usr/bin/ld: arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 Author: Benjamin Herrenschmidt Date: Thu Jul 7 17:56:09 2005 -0700 [PATCH] ppc64: Add new PHY to sungem This patch adds support for some new PHY models to sungem as used on some recent Apple iMac G5 models. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 155ad605b3c9c5874ff068f23c6ea8537190e0a8 Author: Sam Ravnborg Date: Thu Jul 7 17:56:08 2005 -0700 [PATCH] kbuild: build a single module using 'make dir/module.ko' Using the syntax: make dir/module.ko kbuild now allows one to build a module including the final link stage. This is usefull when one only wants to compile a single module and thus do not have to wait until a full kernel has finished compiling. Tested by: randy_dunlap Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f182ae626189d8a346aae142e7b8b182663dac44 Author: George Anzinger Date: Thu Jul 7 17:56:06 2005 -0700 [PATCH] kbuild: build TAGS problem with O= make O=/dir TAGS fails with: MAKE TAGS find: security/selinux/include: No such file or directory find: include: No such file or directory find: include/asm-i386: No such file or directory find: include/asm-generic: No such file or directory The problem is in this line: ifeq ($(KBUILD_OUTPUT),) KBUILD_OUTPUT is not defined (ever) after make reruns itself. This line is used in the TAGS, tags, and cscope makes. Signed-off-by: George Anzinger Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42639269f9ce4aac2e6c20bcbca30b5da8b9a899 Author: Anton Blanchard Date: Thu Jul 7 17:56:06 2005 -0700 [PATCH] mm: quieten OOM killer noise We now print statistics when invoking the OOM killer, however this information is not rate limited and you can get into situations where the console is continually spammed. For example, when a task is exiting the OOM killer will simply return (waiting for that task to exit and clear up memory). If the VM continually calls back into the OOM killer we get thousands of copies of show_mem() on the console. Use printk_ratelimit() to quieten it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b173a4d03d1681e6c9529bc43d7a3308132db6 Author: Marcelo Tosatti Date: Thu Jul 7 17:56:05 2005 -0700 [PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling Remove completly bogus comment from did_some_progress != 0 handling (that same comment is a few lines below on did_some_progress = 0 case, where it belongs). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 Author: Marcelo Tosatti Date: Thu Jul 7 17:56:04 2005 -0700 [PATCH] print order information when OOM killing Dump the current allocation order when OOM killing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb2c0233755429037462e16ea0d5497a0092738c Author: Mark Fasheh Date: Thu Jul 7 17:56:03 2005 -0700 [PATCH] export generic_drop_inode() to modules OCFS2 wants to mark an inode which has been orphaned by another node so that during final iput it takes the correct path through the VFS and can pass through the OCFS2 delete_inode callback. Since i_nlink can get out of date with other nodes, the best way I see to accomplish this is by clearing i_nlink on those inodes at drop_inode time. Other than this small amount of work, nothing different needs to happen, so I think it would be cleanest to be able to just call generic_drop_inode at the end of the OCFS2 drop_inode callback. Signed-off-by: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 Author: Andrew Morton Date: Thu Jul 7 17:56:02 2005 -0700 [PATCH] i2o: config-osm build fix Various stuff missing on alpha: drivers/message/i2o/config-osm.c:35: error: field `fops' has incomplete type drivers/message/i2o/config-osm.c: In function `sysfs_create_fops_file': drivers/message/i2o/config-osm.c:71: error: storage size of `tmp' isn't known drivers/message/i2o/config-osm.c:78: error: dereferencing pointer to incomplete type drivers/message/i2o/config-osm.c:81: error: dereferencing pointer to incomplete type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c23a4e9649f80a9379d7df4a33bc63b365d5e7fc Author: Andrew Morton Date: Thu Jul 7 17:56:02 2005 -0700 [PATCH] iounmap debugging We get sporadic reports of `__iounmap: bad address' coming out. Add a dump_stack() to find the culprit. Try to identify which subsystem is having iounmap() problems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eda80228860641b7b0e963e6bd219b960c500af9 Author: Jeff Dike Date: Thu Jul 7 17:56:00 2005 -0700 [PATCH] uml: kill some useless vmalloc tlb flushing There is absolutely no reason to flush the kernel's VM area during a tlb_flush_mm. This results in a noticable performance increase in the kernel build benchmark. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b2c3750330325ae5071582b5c4dbdf1c8bc1e51 Author: Bob Picco Date: Wed Jun 29 18:00:00 2005 -0700 [PATCH] Documentation This is a small documentation patch for a boot time parameter. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 043d051615aa5da09a7e44f1edbb69798458e067 Merge: c101f3136cc98a003d0d16be6fab7d0d950581a6 21517a57e838a1fbb7a54a8a77501024e77f83e0 Author: Linus Torvalds Date: Thu Jul 7 10:24:51 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 21517a57e838a1fbb7a54a8a77501024e77f83e0 Author: Jack Steiner Date: Thu Jul 7 09:14:00 2005 -0700 [IA64] - Disable tiocx driver on non-SN systems Disable the tiocx driver on non-SN systems. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 97f927a4d7dbccde0a854a62c3ea54d90bae8679 Author: Thomas Gleixner Date: Thu Jul 7 16:50:16 2005 +0200 [MTD] XIP cleanup Move the architecture dependend code into include/asm/mtd-xip.h Signed-off-by: Thomas Gleixner commit b9c86d595d2a11009c58c84a9a8792aeb4a8f278 Author: David Woodhouse Date: Thu Jul 7 11:26:24 2005 +0100 [MTD] Remove MODULE_DEVICE_TABLE() for ICHx flash driver This prevents it from automatically getting loaded by hotplug because we happen to notice you have this chipset. Let's stick with having to load the drivers which let you overwrite your BIOS _manually_ Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 8ca7c1df08210fd35fccf1559837c92baaa4da8f Author: Dave Airlie Date: Thu Jul 7 21:51:26 2005 +1000 drm: add 32/64 support for MGA/R128/i915 This adds compatiblity ioctls for mga/r128 and i915 DRM drivers. From: Paul Mackerras, David Airlie, Alan Hourihane, Egbert Eich. Signed-off-by: David Airlie commit 850eb83a6a21b086624b227653ce90ad927ba423 Author: Dave Airlie Date: Thu Jul 7 21:09:14 2005 +1000 drm: wrap config.h include in a ifdef KERNEL This file can be included from userspace so wrap the config.h include. Signed-off-by: David Airlie commit c94f70298529d99ac6e1ee7709f61eab00adeb39 Author: Dave Airlie Date: Thu Jul 7 21:03:38 2005 +1000 drm: misc cleanup This patch contains the following cleanups: - make needlessly global functions static - remove the following unused global functions: - drm_fops.c: drm_read - i915_dma.c: i915_do_cleanup_pageflip Signed-off-by: Adrian Bunk Signed-off-by: Dave Airlie commit b9523249de59c49e7c2cc83dfa73fb011a489a45 Author: Dave Airlie Date: Thu Jul 7 20:33:26 2005 +1000 drm: use kcalloc now that it is available.. Make the DRM drm_calloc call kcalloc now. Signed-off-by: Dave Airlie commit f650130803c4c0b5e5d76eff24faae722e3a69e2 Author: Dave Airlie Date: Thu Jul 7 20:17:42 2005 +1000 drm: ctx release can happen before dev->ctxlist is allocated From: Jon Smirl Signed-off-by: Dave Airlie commit 0c7b525c344bc29a760c37053f8d5c80292ee1be Author: Dave Airlie Date: Thu Jul 7 20:16:08 2005 +1000 drm: fix minor issues caused by core conversion The conversion to core/driver got this check in-correct. Signed-off-by: Dave Airlie commit 717cb906bd43a9ac00631d600adda5c6546843a6 Merge: 22f579c621e2f264e6d093b07d75f99bc97d5df2 c101f3136cc98a003d0d16be6fab7d0d950581a6 Author: Dave Airlie Date: Thu Jul 7 20:08:27 2005 +1000 Merge ../linux-2.6/ commit c101f3136cc98a003d0d16be6fab7d0d950581a6 Merge: 359ea2f1352a77177540a213283bc7489f546ced e3e01d6005ab4b0877f1fb3efef7f5b745e743be Author: Linus Torvalds Date: Wed Jul 6 22:15:13 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 8d7e35174d02ce76e910365acaaefc281a0b72a0 Author: Tony Luck Date: Wed Jul 6 18:18:10 2005 -0700 [IA64] fix generic/up builds Jesse Barnes provided the original version of this patch months ago, but other changes kept conflicting with it, so it got deferred. Greg Edwards dug it out of obscurity just over a week ago, and almost immediately another conflicting patch appeared (Bob Picco's memory-less nodes). I've resolved the conflicts and got it running again. CONFIG_SGI_TIOCX is set to "y" in defconfig, which causes a Tiger to not boot (oops in tiocx_init). But that can be resolved later ... get this in now before it gets stale again. Signed-off-by: Tony Luck commit 359ea2f1352a77177540a213283bc7489f546ced Merge: 960b8466548c9bc6f718b5f470c1a58000fab09d e1d5dea1dfbfe484358c40db7f233ed6b5605646 Author: Linus Torvalds Date: Wed Jul 6 17:04:06 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 960b8466548c9bc6f718b5f470c1a58000fab09d Author: Ivan Kokshaysky Date: Thu Jul 7 03:07:56 2005 +0400 [PATCH] yet another fix for setup-bus.c/x86 merge There is a slight disagreement between setup-bus.c code and traditional x86 PCI setup wrt which recourses are invalid vs resources that are free for further allocations. In particular, in the setup-bus.c, if we failed to allocate some resource, we nullify "start" and "flags" fields, but *not* the "end" one. But x86 pcibios_enable_resources() does the following check: if (!r->start && r->end) { printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev)); return -EINVAL; which means that the device owning the offending resource cannot be enabled. In particular, this breaks cardbus behind the normal decode p2p bridge - the cardbus code from setup-bus.c requests rather large IO and MEM windows, and if it fails, the socket is completely unavailable. Which is wrong, as the yenta code is capable to allocate smaller windows. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 564601a5d12f93fdde04c6bc5b097b95e7752a46 Author: bob.picco Date: Thu Jun 30 09:52:00 2005 -0700 [IA64] memory-less-nodes repost I reworked how nodes with only CPUs are treated. The patch below seems simpler to me and has eliminated the complicated routine reassign_cpu_only_nodes. There isn't any longer the requirement to modify ACPI NUMA information which was in large part the complexity introduced in reassign_cpu_only_nodes. This patch will produce a different number of nodes. For example, reassign_cpu_only_nodes would reduce two CPUonly nodes and one memory node configuration to one memory+CPUs node configuration. This patch doesn't change the number of nodes which means the user will see three. Two nodes without memory and one node with all the memory. While doing this patch, I noticed that early_nr_phys_cpus_node isn't serving any useful purpose. It is called once in find_pernode_space but the value isn't used to computer pernode space. Signed-off-by: bob.picco Signed-off-by: Tony Luck commit af25e94d4dcfb9608846242fabdd4e6014e5c9f0 Author: <> Date: Fri Jul 1 23:27:00 2005 -0700 [IA64] Make ia64 die() preempt safe Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e3e01d6005ab4b0877f1fb3efef7f5b745e743be Author: Eddie C. Dost Date: Wed Jul 6 15:41:54 2005 -0700 [SPARC64]: Fix enable_dma() in asm-sparc64/parport.h Call ebus_dma_enable() before calling ebus_dma_request(), otherwise ebus_dma_request() returns -EINVAL and enable_dma() calls BUG()... Signed-off-by: David S. Miller commit 9d7495330be2fd88ab939fa5080d3ca9f64368c2 Author: Eddie C. Dost Date: Wed Jul 6 15:41:17 2005 -0700 [DVB]: Do not include from drivers. Signed-off-by: David S. Miller commit 12cf649f417c68b6bdd2a3b4ed97113159c6029e Author: Eddie C. Dost Date: Wed Jul 6 15:40:21 2005 -0700 [SPARC64]: Fix set_intr_affinity() Do not cat bucket->irq_info to struct irqaction * directly, but go through struct irq_desc *. Signed-off-by: David S. Miller commit 107177410b754b597028e430725bc3b316936b6b Merge: 07bbeaf12310263d808b1958f8413b95f98786ea 450008b5a62bb09445ae05c4d01d510386c9435d Author: Linus Torvalds Date: Wed Jul 6 15:39:15 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00 Author: Eddie C. Dost Date: Wed Jul 6 15:37:58 2005 -0700 [SPARC]: Fix "Eddie C. Dost" e-mail address Signed-off-by: David S. Miller commit 67d340f440f389e9d56201fb7c7aaa92f262feb1 Merge: 2ba3e3e65cf182436757ba13ea8d564e2950fb56 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 Author: Tony Luck Date: Wed Jul 6 15:35:18 2005 -0700 Auto merge with /home/aegl/GIT/linus commit 2ba3e3e65cf182436757ba13ea8d564e2950fb56 Author: Keith Owens Date: Thu Jun 30 22:53:00 2005 -0700 [IA64] restore_sigcontext is not preempt safe restore_sigcontext calls ia64_set_local_fpu_owner() which requires that preempt be disabled. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc Author: Prarit Bhargava Date: Wed Jul 6 15:30:25 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info fix This patch fixes an issue with the PROM and a kernel running with CONFIG_PREEMPT enabled. When CONFIG_PREEMPT is enabled, the size of a spinlock_t changes -- resulting in the PROM writing to an incorrect location. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 6f354b014b51716166f13f68b29212d3c44ed2c4 Author: Prarit Bhargava Date: Wed Jul 6 15:29:53 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code This patch is the SGI hotplug driver and additional changes required for the driver. These modifications include changes to the SN io_init.c code for memory management, the inclusion of new SAL calls to enable and disable PCI slots, and a hotplug-style driver. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 283c7f6ac6adb57e7dd13cdbc8d60b6ea4de6faf Author: Prarit Bhargava Date: Wed Jul 6 15:29:13 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - new SN PROM version code This patch is a rewrite of the code to check the PROM version. The current code has some deficiences in the way PROM comparisons were made. The minimum value of PROM that will boot has also been changed to 4.04. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e07d01e0aeba905aeca6e0ae612943417d396a0f Author: Prarit Bhargava Date: Wed Jul 6 15:28:40 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - pci_find_next_bus export The pci_find_next_bus function is listed as being exported to drivers. It is not EXPORT_SYMBOL'd. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit c13cf3714fc84ad2fd65771aa08e47c95a9f26ef Author: Prarit Bhargava Date: Wed Jul 6 15:26:51 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: moving of header files This patch moves header files out of the arch/ia64/sn directories and into include/asm-ia64/sn. These files were being included by other subsystems and should be under include/asm-ia64/sn. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 450008b5a62bb09445ae05c4d01d510386c9435d Author: Deepak Saxena Date: Wed Jul 6 23:06:05 2005 +0100 [PATCH] ARM: 2792/1: IXP4xx iomap API implementation Patch from Deepak Saxena This patch implements the iomap API for Intel IXP4xx NPU systems. We need to implement our own version of the API functions b/c of the PCI hostbridge does not provide the capability to map PCI I/O space into the CPU's physical memory space. In addition, if a system has more than 64M of PCI memory mapped BARs, PCI memory must also be accessed indirectly. This patch changes the assignment of PCI I/O resources to fall into to 0x0000:0xffff range so that we can trap I/O areas in our ioread/iowrite macros. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 Author: Todd Poynor Date: Wed Jul 6 23:06:05 2005 +0100 [PATCH] ARM: 2791/1: Add CRCs for aliased ARM symbols Patch from Todd Poynor Fix module versioning for 3 ARM symbols that do not have CRCs added, avoid "disagrees about version of symbol struct_module" errors at module load time. From David Singleton. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 Author: Stefan Sorensen Date: Wed Jul 6 23:06:04 2005 +0100 [PATCH] ARM: 2790/1: Properly terminate plat_serial8250_port arrays on ixdp425 and coyote Patch from Stefan Sorensen On the ixdp425 and coyote platforms, the plat_serial8250_port arrays are missing the terminating entry required by serial8250_probe. Signed-off-by: Stefan Sorensen Signed-off-by: Russell King commit d1d890edace65721e9a7582545c943f67f500709 Author: Catalin Marinas Date: Wed Jul 6 23:06:03 2005 +0100 [PATCH] ARM: 2789/1: Enable access to both CP10 and CP11 on ARMv6 Patch from Catalin Marinas The VFP instructions trigger undefined exceptions because the access to CP11 is disabled (only CP10 is currently enabled by the kernel). The patch fixes this problem. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit cb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 Author: Prarit Bhargava Date: Wed Jul 6 14:59:44 2005 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: SN IRQ Fixes This patch fixes the SN IRQ code such that cpu affinity and Hotplug can modify IRQ values. The sn_irq_info structures are now locked using a RCU lock mechanism to avoid lock contention in the lost interrupt WAR code. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e1d5dea1dfbfe484358c40db7f233ed6b5605646 Author: Dag Arne Osvik Date: Wed Jul 6 13:55:44 2005 -0700 [CRYPTO] Add faster DES code from Dag Arne Osvik I've made a new implementation of DES to replace the old one in the kernel. It provides faster encryption on all tested processors apart from the original Pentium, and key setup is many times faster. Speed relative to old kernel implementation Processor des_setkey des_encrypt des3_ede_setkey des3_ede_encrypt Pentium 120Mhz 6.8 0.82 7.2 0.86 Pentium III 1.266Ghz 5.6 1.19 5.8 1.34 Pentium M 1.3Ghz 5.7 1.15 6.0 1.31 Pentium 4 2.266Ghz 5.8 1.24 6.0 1.40 Pentium 4E 3Ghz 5.4 1.27 5.5 1.48 StrongARM 1110 206Mhz 4.3 1.03 4.4 1.14 Athlon XP 2Ghz 7.8 1.44 8.1 1.61 Athlon 64 2Ghz 7.8 1.34 8.3 1.49 Signed-off-by: Dag Arne Osvik Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a9df3597fec5472d0840fbfdc2a3fac5268f7d08 Author: Herbert Xu Date: Wed Jul 6 13:55:21 2005 -0700 [CRYPTO] Remove unused iv field from context structure The iv field in des_ctx/des3_ede_ctx/serpent_ctx has never been used. This was noticed by Dag Arne Osvik. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a2a892a236d03a6e985471a7e57d1c863de144c8 Author: Andreas Steinmetz Date: Wed Jul 6 13:55:00 2005 -0700 [CRYPTO] Add x86_64 asm AES Implementation: =============== The encrypt/decrypt code is based on an x86 implementation I did a while ago which I never published. This unpublished implementation does include an assembler based key schedule and precomputed tables. For simplicity and best acceptance, however, I took Gladman's in-kernel code for table generation and key schedule for the kernel port of my assembler code and modified this code to produce the key schedule as required by my assembler implementation. File locations and Kconfig are kept similar to the i586 AES assembler implementation. It may seem a little bit strange to use 32 bit I/O and registers in the assembler implementation but this gives the best code size. My implementation takes one instruction more per round compared to Gladman's x86 assembler but it doesn't require any stack for local variables or saved registers and it is less serialized than Gladman's code. Note that all comparisons to Gladman's code were done after my code was implemented. I did only use FIPS PUB 197 for the implementation so my implementation is independent work. If anybody has a better assembler solution for x86_64 I'll be pleased to have my code replaced with the better solution. Testing: ======== The implementation passes the in-kernel crypto testing module and I'm running it without any problems on my laptop where it is mainly used for dm-crypt. Microbenchmark: =============== The microbenchmark was done in userspace with similar compile flags as used during kernel compile. Encrypt/decrypt is about 35% faster than the generic C implementation. As the generic C as well as my assembler implementation are both table I don't really expect that there is much room for further improvements though I'll be glad to be corrected here. The key schedule is about 5% slower than the generic C implementation. This is due to the fact that some more work has to be done in the key schedule routine to fit the schedule to the assembler implementation. Code Size: ========== Encrypt and decrypt are together about 2.1 Kbytes smaller than the generic C implementation which is important with regard to L1 cache usage. The key schedule routine is about 100 bytes larger than the generic C implementation. Data Size: ========== There's no difference in data size requirements between the assembler implementation and the generic C implementation. License: ======== Gladmans's code is dual BSD/GPL whereas my assembler code is GPLv2 only (I'm not going to change the license for my code). So I had to change the module license for the x86_64 aes module from 'Dual BSD/GPL' to 'GPL' to reflect the most restrictive license within the module. Signed-off-by: Andreas Steinmetz Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a61cc44812ff94793987bf43b70a3d9bc64a6820 Author: Jesper Juhl Date: Wed Jul 6 13:54:31 2005 -0700 [CRYPTO] Add null short circuit to crypto_free_tfm As far as I'm aware there's a general concensus that functions that are responsible for freeing resources should be able to cope with being passed a NULL pointer. This makes sense as it removes the need for all callers to check for NULL, thus elliminating the bugs that happen when some forget (safer to just check centrally in the freeing function) and it also makes for smaller code all over due to the lack of all those NULL checks. This patch makes it safe to pass the crypto_free_tfm() function a NULL pointer. Once this patch is applied we can start removing the NULL checks from the callers. Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 476df259cd577e20379b02a7f7ffd086ea925a83 Author: Herbert Xu Date: Wed Jul 6 13:54:09 2005 -0700 [CRYPTO] Update IV correctly for Padlock CBC encryption When the Padlock does CBC encryption, the memory pointed to by EAX is not updated at all. Instead, it updates the value of EAX by pointing it to the last block in the output. Therefore to maintain the correct semantics we need to copy the IV. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 915e8561d559abba1b81934e31e54a3f850fa7bf Author: Herbert Xu Date: Wed Jul 6 13:53:47 2005 -0700 [CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv Even though cit_iv is now always aligned, the user can still supply an unaligned iv through crypto_cipher_encrypt_iv/crypto_cipher_decrypt_iv. This patch will check the alignment of the user-supplied iv and copy it if necessary. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 Author: Herbert Xu Date: Wed Jul 6 13:53:29 2005 -0700 [CRYPTO] Ensure cit_iv is aligned correctly This patch ensures that cit_iv is aligned according to cra_alignmask by allocating it as part of the tfm structure. As a side effect the crypto layer will also guarantee that the tfm ctx area has enough space to be aligned by cra_alignmask. This allows us to remove the extra space reservation from the Padlock driver. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 176c3652c544b6f8d4bb1984c58c10080f45dbf0 Author: Adrian Bunk Date: Wed Jul 6 13:53:09 2005 -0700 [CRYPTO] Make crypto_alg_lookup static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 28e8c3ad9464de54a632f00ab3df88fa5f4652d1 Author: Herbert Xu Date: Wed Jul 6 13:52:43 2005 -0700 [PADLOCK] Implement multi-block operations By operating on multiple blocks at once, we expect to extract more performance out of the VIA Padlock. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 6789b2dc455b90efc9c88886c9366adc9abb7347 Author: Herbert Xu Date: Wed Jul 6 13:52:27 2005 -0700 [PADLOCK] Move fast path work into aes_set_key and upper layer Most of the work done aes_padlock can be done in aes_set_key. This means that we only have to do it once when the key changes rather than every time we perform an encryption or decryption. This patch also sets cra_alignmask to let the upper layer ensure that the buffers fed to us are aligned correctly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 95477377995aefa2ec1654a9a3777bd57ea99146 Author: Herbert Xu Date: Wed Jul 6 13:52:09 2005 -0700 [CRYPTO] Add alignmask for low-level cipher implementations The VIA Padlock device requires the input and output buffers to be aligned on 16-byte boundaries. This patch adds the alignmask attribute for low-level cipher implementations to indicate their alignment requirements. The mid-level crypt() function will copy the input/output buffers if they are not aligned correctly before they are passed to the low-level implementation. Strictly speaking, some of the software implementations require the buffers to be aligned on 4-byte boundaries as they do 32-bit loads. However, it is not clear whether it is better to copy the buffers or pay the penalty for unaligned loads/stores. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc Author: Herbert Xu Date: Wed Jul 6 13:51:52 2005 -0700 [CRYPTO] Add support for low-level multi-block operations This patch adds hooks for cipher algorithms to implement multi-block ECB/CBC operations directly. This is expected to provide significant performance boots to the VIA Padlock. It could also be used for improving software implementations such as AES where operating on multiple blocks at a time may enable certain optimisations. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit c774e93e2152d0be2612739418689e6e6400f4eb Author: Herbert Xu Date: Wed Jul 6 13:51:31 2005 -0700 [CRYPTO] Add plumbing for multi-block operations The VIA Padlock device is able to perform much better when multiple blocks are fed to it at once. As this device offers an exceptional throughput rate it is worthwhile to optimise the infrastructure specifically for it. We shift the existing page-sized fast path down to the CBC/ECB functions. We can then replace the CBC/ECB functions with functions provided by the underlying algorithm that performs the multi-block operations. As a side-effect this improves the performance of large cipher operations for all existing algorithm implementations. I've measured the gain to be around 5% for 3DES and 15% for AES. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 8279dd748f9704b811e528b31304e2fab026abc5 Author: Jesper Juhl Date: Wed Jul 6 13:51:00 2005 -0700 [CRYPTO] Don't check for NULL before kfree() Checking a pointer for NULL before calling kfree() on it is redundant. This patch removes such checks from crypto/ Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fb8d82a865b1ff601fad8293cd6a2a1b1908545b Author: Ben Dooks Date: Wed Jul 6 21:05:10 2005 +0100 [MTD] NAND s3c2410: Add missing NULL pointer check Fix OOPs if there was no platform set information passed Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 07bbeaf12310263d808b1958f8413b95f98786ea Author: Linus Torvalds Date: Wed Jul 6 13:05:50 2005 -0700 ieee1394: fix broken signed char assumption. "ack_code" is assigned (and tested against) negative numbers, but was declared as "char". Which only works if "char" is signed - which it necessarily isn't. So make that signedness assumption specific. commit 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d Author: Jeff Mahoney Date: Wed Jul 6 15:45:09 2005 -0400 [PATCH] openfirmware: implement hotplug for macio devices This adds the hotplug routine for generating hotplug events when devices are seen on the macio bus. It uses the attributed created by the sysfs nodes to generate the hotplug environment vars for userspace. Since the characters allowed inside the 'compatible' field are NUL terminated, they are exported as individual OF_COMPATIBLE_# variables, with OF_COMPATIBLE_N maintaining a count of how many there are. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit b5bf5b6786ccfc9e0c8801291f463d92c8e0b423 Author: Jeff Mahoney Date: Wed Jul 6 15:26:27 2005 -0400 [PATCH] openfirmware: add sysfs nodes for open firmware devices This adds sysfs nodes that the hotplug userspace can use to load the appropriate modules. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Changes: The previous versions were built on 2.6.12. 2.6.13-rcX introduced a device_attribute parameter to the show functions. Since that parameter was treated as the output buffer, memory corruption would result, causing Oopsen very quickly. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 5e6557722e69840506eb8bc5a1edcdb4e447a917 Author: Jeff Mahoney Date: Wed Jul 6 15:44:41 2005 -0400 [PATCH] openfirmware: generate device table for userspace This converts the usage of struct of_match to struct of_device_id, similar to pci_device_id. This allows a device table to be generated, which can be parsed by depmod(8) to generate a map file for module loading. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 Author: Dave Jones Date: Wed Jul 6 15:29:09 2005 -0400 [PATCH] Fix bt87x.c build problem for real Just the declaration fix wasn't enough to fix things in bt78x.c Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2 Author: Christoph Lameter Date: Wed Jul 6 10:47:07 2005 -0700 [PATCH] Fix broken kmalloc_node in rc1/rc2 This patch used to be in Andrew's tree before the NUMA slab allocator went in. Either this patch or the NUMA slab allocator is needed in order for kmalloc_node to work correctly. pcibus_to_node may be used to generate the node information passed to kmalloc_node. pcibus_to_node returns -1 if it was not able to determine on which node a pcibus is located. For that case kmalloc_node must work like kmalloc. Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit b3539219c9ea20ebf6a5ea3cc534f423a3607c41 Merge: 6430a8def12edebc1c9c7c2621d33ca0e8653c33 a18bcb7450840f07a772a45229de4811d930f461 Author: Artem B. Bityuckiy Date: Wed Jul 6 15:43:18 2005 +0100 Merge with rsync://fileserver/linux Update to 2.6.12-rc3 commit b4634484815e1879512a23e4f59eef648135c30a Author: Greg KH Date: Wed Jul 6 08:51:03 2005 -0700 [PATCH] Fix bt87x.c build problem Missing forward declaration Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 6430a8def12edebc1c9c7c2621d33ca0e8653c33 Author: Artem B. Bityuckiy Date: Wed Jul 6 15:43:18 2005 +0100 [JFFS2] Simplify the tree insert code. It isn't _normal_ that we allow key collision in rbtrees, but it does not matter as long as the two nodes with the same version are together. Signed-off-by: Artem B. Bityuckiy Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 Author: Greg KH Date: Wed Jul 6 09:09:38 2005 -0700 [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem Here's a patch to fix the build issue when CONFIG_HOTPLUG is not enabled in 2.6.13-rc2. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 265489f01d8c05f7aae174651a98854af090efc0 Author: David Woodhouse Date: Wed Jul 6 13:13:13 2005 +0100 [JFFS2] Remove compatibilty cruft for ancient kernels Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 9dee7503ce3fc38911b9873216619190cf688128 Author: David Woodhouse Date: Tue Jul 5 22:03:10 2005 +0100 [JFFS2] Optimise jffs2_add_tn_to_list Use an rbtree instead of a simple linked list. We were wasting an amazing amount of time in jffs2_add_tn_to_list(). Thanks to Artem Bityuckiy and Jarkko Jlavinen for noticing. Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 10c96f2ec37f5369a785cf8c5a065a15e323c743 Author: Todd Poynor Date: Sat Jul 2 02:53:28 2005 +0100 [MTD] NOR flash map driver for TI OMAP boards. From: David Brownell, Jian Zhang , Tony Lindgren and others. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit cbec19aeb3a3bfafe1d38f6efbea6a7023d31cb9 Author: Nico Pitre Date: Fri Jul 1 23:55:24 2005 +0100 [MTD] Add mapping driver for Intel PXA27x Mainstone board flash. From: Nicolas Pitre Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit ba9fb37ba07219fa251edbab1a50fdc7b33da5fa Author: Thomas Gleixner Date: Wed Jul 6 11:40:12 2005 +0200 [MTD] NAND: Remove unmaintained tx49xx board drivers The drivers are unmaintained since long and reference include files which are not available in the kernel. Original author is not longer responsible and no new maintainer showed up within 3 month. Signed-off-by: Thomas Gleixner commit 0c80336e5e81846fcb028d5a677794f08201fa1c Author: Thomas Gleixner Date: Wed Jul 6 11:28:27 2005 +0200 [MTD] NAND: sharpsl.c set correct file permissions Signed-off-by: Thomas Gleixner commit a18bcb7450840f07a772a45229de4811d930f461 Author: Linus Torvalds Date: Tue Jul 5 20:46:33 2005 -0700 Linux v2.6.13-rc3 commit fe0c9f58779988e769da544d54b660c76506e78f Merge: 6772926bef3c9f0ec761b39e5702535471fff70b fef43da4e4341697a682f5aae1d5d428e840bc61 Author: Linus Torvalds Date: Tue Jul 5 20:37:09 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit fef43da4e4341697a682f5aae1d5d428e840bc61 Author: David S. Miller Date: Tue Jul 5 19:45:24 2005 -0700 [SPARC64]: Fix UltraSPARC-III fallout from membar changes. The membar changes made the size of __cheetah_flush_tlb_pending grow by one instruction, but the boot-time code patching was not updated to match. Signed-off-by: David S. Miller commit 6772926bef3c9f0ec761b39e5702535471fff70b Author: Rusty Lynch Date: Tue Jul 5 18:54:50 2005 -0700 [PATCH] kprobes: fix namespace problem and sparc64 build The following renames arch_init, a kprobes function for performing any architecture specific initialization, to arch_init_kprobes in order to cleanup the namespace. Also, this patch adds arch_init_kprobes to sparc64 to fix the sparc64 kprobes build from the last return probe patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b1294f928d9396e45f62b1c306ac8bf9fae036b Author: Eugene Surovegin Date: Tue Jul 5 18:54:45 2005 -0700 [PATCH] ppc32: explicitly disable 440GP IRQ compatibility mode in 440GX setup Add explicit disabling of 440GP IRQ compatibility mode when configuring 440GX interrupt controller. This helps when board firmware for some reason uses this compatibility mode and leaves it enabled. It breaks 440GX interrupt code because it assumes native 440GX IRQ mode. People seems to be continuously bitten by this. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f326d22b8cc5bfebfa5b3f6a4066dc737def2234 Author: john stultz Date: Tue Jul 5 18:54:44 2005 -0700 [PATCH] ppc32: stop misusing NTP's time_offset value As part of my timeofday rework, I've been looking at the NTP code and I noticed that the PPC architecture is apparently misusing the NTP's time_offset (it is a terrible name!) value as some form of timezone offset. This could cause problems when time_offset changed by the NTP code. This patch changes the PPC code so it uses a more clear local variable: timezone_offset. Signed-off-by: John Stultz Acked-by: Tom Rini Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6b6239f8e8e5bd9ba0192a854652abf14e28ce4 Author: Andrei Konovalov Date: Tue Jul 5 18:54:43 2005 -0700 [PATCH] ppc32: add Freescale MPC885ADS board support This patch adds the Freescale MPC86xADS board support. The supported devices are SMC UART and 10Mbit ethernet on SCC1. The manual for the board says that it "is compatible with the MPC8xxFADS for software point of view". That's why this patch extends FADS instead of introducing a new platform. FEC is not supported as the "combined FCC/FEC ethernet driver" driver by Pantelis Antoniou should replace the current FEC driver. Signed-off-by: Gennadiy Kurtsman Signed-off-by: Andrei Konovalov Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5432ebb5f67f0be3264feb646f6f8f6c326899c9 Merge: d06e7a56d91328267a96b1a4df4ede7529f829e8 b2f571026594884e7a2a3f8bc6ad5c92e0703330 Author: Linus Torvalds Date: Tue Jul 5 18:41:58 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit b2f571026594884e7a2a3f8bc6ad5c92e0703330 Author: Robert Olsson Date: Tue Jul 5 16:38:26 2005 -0700 [IPV4]: Add LC-Trie implementation notes Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 908a75c17a9e5a888347c2c1d3572203d1b1c7db Author: David S. Miller Date: Tue Jul 5 15:43:58 2005 -0700 [TCP]: Never TSO defer under periods of congestion. Congestion window recover after loss depends upon the fact that if we have a full MSS sized frame at the head of the send queue, we will send it. TSO deferral can defeat the ACK clocking necessary to exit cleanly from recovery. Signed-off-by: David S. Miller commit 63d886c96b2a580b1bf764de238ba3c63515b5ee Author: Thomas Graf Date: Tue Jul 5 15:29:16 2005 -0700 [PKT_SCHED]: Blackhole queueing discipline Useful in combination with classful qdiscs to drop or temporary disable certain flows, e.g. one could block specific ds flows with dsmark. Unlike the noop qdisc it can be controlled by the user and statistic accounting is done. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit c1b4a7e69576d65efc31a8cea0714173c2841244 Author: David S. Miller Date: Tue Jul 5 15:24:38 2005 -0700 [TCP]: Move to new TSO segmenting scheme. Make TSO segment transmit size decisions at send time not earlier. The basic scheme is that we try to build as large a TSO frame as possible when pulling in the user data, but the size of the TSO frame output to the card is determined at transmit time. This is guided by tp->xmit_size_goal. It is always set to a multiple of MSS and tells sendmsg/sendpage how large an SKB to try and build. Later, tcp_write_xmit() and tcp_push_one() chop up the packet if necessary and conditions warrant. These routines can also decide to "defer" in order to wait for more ACKs to arrive and thus allow larger TSO frames to be emitted. A general observation is that TSO elongates the pipe, thus requiring a larger congestion window and larger buffering especially at the sender side. Therefore, it is important that applications 1) get a large enough socket send buffer (this is accomplished by our dynamic send buffer expansion code) 2) do large enough writes. Signed-off-by: David S. Miller commit 0d9901df62fe4820aee86b49f1a074cdb5c6928e Author: David S. Miller Date: Tue Jul 5 15:21:10 2005 -0700 [TCP]: Break out send buffer expansion test. This makes it easier to understand, and allows easier tweaking of the heuristic later on. Signed-off-by: David S. Miller commit cb83199a29dc0408423d6df432f28cc67fcadaf4 Author: David S. Miller Date: Tue Jul 5 15:20:55 2005 -0700 [TCP]: Do not call tcp_tso_acked() if no work to do. In tcp_clean_rtx_queue(), if the TSO packet is not even partially acked, do not waste time calling tcp_tso_acked(). Signed-off-by: David S. Miller commit a56476962e92a6c389a1a561274d4a27607b7b5f Author: David S. Miller Date: Tue Jul 5 15:20:41 2005 -0700 [TCP]: Kill bogus comment above tcp_tso_acked(). Everything stated there is out of data. tcp_trim_skb() does adjust the available socket send buffer space and skb->truesize now. Signed-off-by: David S. Miller commit b4e26f5ea0dbdd1e813c5571fb467022d8eb948a Author: David S. Miller Date: Tue Jul 5 15:20:27 2005 -0700 [TCP]: Fix send-side cpu utiliziation regression. Only put user data purely to pages when doing TSO. The extra page allocations cause two problems: 1) Add the overhead of the page allocations themselves. 2) Make us do small user copies when we get to the end of the TCP socket cache page. It is still beneficial to purely use pages for TSO, so we will do it for that case. Signed-off-by: David S. Miller commit aa93466bdfd901b926e033801f0b82b3eaa67be2 Author: David S. Miller Date: Tue Jul 5 15:20:09 2005 -0700 [TCP]: Eliminate redundant computations in tcp_write_xmit(). tcp_snd_test() is run for every packet output by a single call to tcp_write_xmit(), but this is not necessary. For one, the congestion window space needs to only be calculated one time, then used throughout the duration of the loop. This cleanup also makes experimenting with different TSO packetization schemes much easier. Signed-off-by: David S. Miller commit 7f4dd0a9438c73cbb1c240ece31390cf2c57294e Author: David S. Miller Date: Tue Jul 5 15:19:54 2005 -0700 [TCP]: Break out tcp_snd_test() into it's constituent parts. tcp_snd_test() does several different things, use inline functions to express this more clearly. 1) It initializes the TSO count of SKB, if necessary. 2) It performs the Nagle test. 3) It makes sure the congestion window is adhered to. 4) It makes sure SKB fits into the send window. This cleanup also sets things up so that things like the available packets in the congestion window does not need to be calculated multiple times by packet sending loops such as tcp_write_xmit(). Signed-off-by: David S. Miller commit 55c97f3e990c1ff63957c64f6cb10711a09fd70e Author: David S. Miller Date: Tue Jul 5 15:19:38 2005 -0700 [TCP]: Fix __tcp_push_pending_frames() 'nonagle' handling. 'nonagle' should be passed to the tcp_snd_test() function as 'TCP_NAGLE_PUSH' if we are checking an SKB not at the tail of the write_queue. This is because Nagle does not apply to such frames since we cannot possibly tack more data onto them. However, while doing this __tcp_push_pending_frames() makes all of the packets in the write_queue use this modified 'nonagle' value. Fix the bug and simplify this function by just calling tcp_write_xmit() directly if sk_send_head is non-NULL. As a result, we can now make tcp_data_snd_check() just call tcp_push_pending_frames() instead of the specialized __tcp_data_snd_check(). Signed-off-by: David S. Miller commit a2e2a59c93cc8ba39caa9011c2573f429e40ccd9 Author: David S. Miller Date: Tue Jul 5 15:19:23 2005 -0700 [TCP]: Fix redundant calculations of tcp_current_mss() tcp_write_xmit() uses tcp_current_mss(), but some of it's callers, namely __tcp_push_pending_frames(), already has this value available already. While we're here, fix the "cur_mss" argument to be "unsigned int" instead of plain "unsigned". Signed-off-by: David S. Miller commit 92df7b518dcb113de8bc2494e3cd275ad887f12b Author: David S. Miller Date: Tue Jul 5 15:19:06 2005 -0700 [TCP]: tcp_write_xmit() tabbing cleanup Put the main basic block of work at the top-level of tabbing, and mark the TCP_CLOSE test with unlikely(). Signed-off-by: David S. Miller commit a762a9800752f05fa8768bb0ac35d0e7f1bcfe7f Author: David S. Miller Date: Tue Jul 5 15:18:51 2005 -0700 [TCP]: Kill extra cwnd validate in __tcp_push_pending_frames(). The tcp_cwnd_validate() function should only be invoked if we actually send some frames, yet __tcp_push_pending_frames() will always invoke it. tcp_write_xmit() does the call for us, so the call here can simply be removed. Also, tcp_write_xmit() can be marked static. Signed-off-by: David S. Miller commit f44b527177d57ed382bfd93e1b55232465f6d058 Author: David S. Miller Date: Tue Jul 5 15:18:34 2005 -0700 [TCP]: Add missing skb_header_release() call to tcp_fragment(). When we add any new packet to the TCP socket write queue, we must call skb_header_release() on it in order for the TSO sharing checks in the drivers to work. Signed-off-by: David S. Miller commit 84d3e7b9573291a1ea845bdd51b74bb484597661 Author: David S. Miller Date: Tue Jul 5 15:18:18 2005 -0700 [TCP]: Move __tcp_data_snd_check into tcp_output.c It reimplements portions of tcp_snd_check(), so it we move it to tcp_output.c we can consolidate it's logic much easier in a later change. Signed-off-by: David S. Miller commit f6302d1d78f77c2d4c8bd32b0afc2df7fdf5f281 Author: David S. Miller Date: Tue Jul 5 15:18:03 2005 -0700 [TCP]: Move send test logic out of net/tcp.h This just moves the code into tcp_output.c, no code logic changes are made by this patch. Using this as a baseline, we can begin to untangle the mess of comparisons for the Nagle test et al. We will also be able to reduce all of the redundant computation that occurs when outputting data packets. Signed-off-by: David S. Miller commit fc6415bcb0f58f03adb910e56d7e1df6368794e0 Author: David S. Miller Date: Tue Jul 5 15:17:45 2005 -0700 [TCP]: Fix quick-ack decrementing with TSO. On each packet output, we call tcp_dec_quickack_mode() if the ACK flag is set. It drops tp->ack.quick until it hits zero, at which time we deflate the ATO value. When doing TSO, we are emitting multiple packets with ACK set, so we should decrement tp->ack.quick that many segments. Note that, unlike this case, tcp_enter_cwr() should not take the tcp_skb_pcount(skb) into consideration. That function, one time, readjusts tp->snd_cwnd and moves into TCP_CA_CWR state. Signed-off-by: David S. Miller commit c65f7f00c587828e3d50737805a78f74804972de Author: David S. Miller Date: Tue Jul 5 15:17:25 2005 -0700 [TCP]: Simplify SKB data portion allocation with NETIF_F_SG. The ideal and most optimal layout for an SKB when doing scatter-gather is to put all the headers at skb->data, and all the user data in the page array. This makes SKB splitting and combining extremely simple, especially before a packet goes onto the wire the first time. So, when sk_stream_alloc_pskb() is given a zero size, make sure there is no skb_tailroom(). This is achieved by applying SKB_DATA_ALIGN() to the header length used here. Next, make select_size() in TCP output segmentation use a length of zero when NETIF_F_SG is true on the outgoing interface. Signed-off-by: David S. Miller commit b8259d9ad1d0f8d0c5ea0e37bb15080b0bd395b5 Author: Alexey Dobriyan Date: Tue Jul 5 15:12:04 2005 -0700 [NET]: Remove __ARGS from include/net/slhc_vj.h I suspect "#define __ARGS(x) ()" was deprecated before I was born. Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 52609c0b56d7c8dfb6e16ec0a715adf8fcbdae36 Author: David Chau Date: Tue Jul 5 15:11:06 2005 -0700 [NET]: improve readability of dev_set_promiscuity() in net/core/dev.c A trivial patch to improve the readability of dev_set_promiscuity() in net/core/dev.c. New code does exactly the same thing as original code. Signed-off-by: David Chau Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit bc971dee6ece1fd0d431948924becd9c50e7b778 Author: Christoph Hellwig Date: Tue Jul 5 15:03:46 2005 -0700 [SHAPER]: Switch to spinlocks. Dave, you were right and the sleeping locks in shaper were broken. Markus Kanet noticed this and also tested the patch below that switches locking to spinlocks. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 2f36895aa774cf4d1c3d68921e0209e796b66600 Author: Robert Olsson Date: Tue Jul 5 15:02:40 2005 -0700 [IPV4]: More broken memory allocation fixes for fib_trie Below a patch to preallocate memory when doing resize of trie (inflate halve) If preallocations fails it just skips the resize of this tnode for this time. The oops we got when killing bgpd (with full routing) is now gone. Patrick memory patch is also used. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit db1322b8012e1a8ad711c04813817328cff46718 Author: Thomas Graf Date: Tue Jul 5 15:01:25 2005 -0700 [DECNET]: Fix memset overflow on 64bit archs while dumping decnet routing rules Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit bb1d23b02657f494dff295f6cdd1f29df30fa61e Author: Eric Dumazet Date: Tue Jul 5 15:00:32 2005 -0700 [IPV4]: Bug fix in rt_check_expire() - rt_check_expire() fixes (an overflow occured if size of the hash was >= 65536) reminder of the bugfix: The rt_check_expire() has a serious problem on machines with large route caches, and a standard HZ value of 1000. With default values, ie ip_rt_gc_interval = 60*HZ = 60000 ; the loop count : for (t = ip_rt_gc_interval << rt_hash_log; t >= 0; overflows (t is a 31 bit value) as soon rt_hash_log is >= 16 (65536 slots in route cache hash table). In this case, rt_check_expire() does nothing at all Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 424c4b70cc4ff3930ee36a2ef7b204e4d704fd26 Author: Eric Dumazet Date: Tue Jul 5 14:58:19 2005 -0700 [IPV4]: Use the fancy alloc_large_system_hash() function for route hash table - rt hash table allocated using alloc_large_system_hash() function. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 22c047ccbc68fa8f3fa57f0e8f906479a062c426 Author: Eric Dumazet Date: Tue Jul 5 14:55:24 2005 -0700 [NET]: Hashed spinlocks in net/ipv4/route.c - Locking abstraction - Spinlocks moved out of rt hash table : Less memory (50%) used by rt hash table. it's a win even on UP. - Sizing of spinlocks table depends on NR_CPUS Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit f0e36f8cee8101604378085171c980d9cc71d779 Author: Patrick McHardy Date: Tue Jul 5 14:44:55 2005 -0700 [IPV4]: Handle large allocations in fib_trie Inflating a node a couple of times makes it exceed the 128k kmalloc limit. Use __get_free_pages for allocations > PAGE_SIZE, as in fib_hash. Signed-off-by: Patrick McHardy Acked-by: Robert Olsson Signed-off-by: David S. Miller commit 93e266f600f4048fe7a2e8803abb9f8baff84aa7 Author: David S. Miller Date: Tue Jul 5 14:43:19 2005 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit d244c892c8e23d6baba88af88f78f7201a224d39 Author: Michael Chan Date: Tue Jul 5 14:42:33 2005 -0700 [TG3]: support for ethtool -C Add support for ethtool -C with verification of user parameters. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e2ed4052aa662e7cfb22a1793b9d8158603be6d7 Author: Herbert Xu Date: Tue Jul 5 14:41:20 2005 -0700 [IPV6]: Makes IPv6 rcv registration happen last during initialisation. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 30e224d76f34e041c30df66a4dcbeeb53556ea3f Author: Herbert Xu Date: Tue Jul 5 14:40:10 2005 -0700 [IPV4]: Fix crash in ip_rcv while booting related to netconsole Makes IPv4 ip_rcv registration happen last in af_inet. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a31488ca4b8476a8dd301b21388631df52d05c5a Author: David S. Miller Date: Tue Jul 5 14:24:35 2005 -0700 [SKGE]: Fix build on big-endian Missing PCI_REV_DESC define. Signed-off-by: David S. Miller commit d06e7a56d91328267a96b1a4df4ede7529f829e8 Merge: 346fced899c7390e555cf90cd07d1e56b460d21b 864ae180074931f3a28c84ea85aa8cfeca18bc4f Author: Linus Torvalds Date: Tue Jul 5 14:17:40 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 023e09a767a89bf1b8646307410852d93fd72f00 Author: Thomas Graf Date: Tue Jul 5 14:15:53 2005 -0700 [PKT_SCHED]: Report rate estimator configuration errors during qdisc allocation Current behaviour is to not report an error if a rate estimator is created together with a qdisc and the configuration of the rate estimator is bogus. This leads to unexpected behaviour because the user is not notified. New behaviour is to report the error and let the whole qdisc creation operation fail so the user is able to fix his mistake. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 3d54b82fdf0ca79608f61448fb8ab92676487645 Author: Thomas Graf Date: Tue Jul 5 14:15:09 2005 -0700 [PKT_SCHED]: Cleanup qdisc creation and alignment macros Adds qdisc_alloc() to share code between qdisc_create() and qdisc_create_dflt(). Hides the qdisc alignment behind macros and makes use of them. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e41a33e6ec20a0a6ac762629149e36cab5d4213f Author: Thomas Graf Date: Tue Jul 5 14:14:30 2005 -0700 [PKT_SCHED]: Move sch_generic.c prototypes to correct header file Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 1cbb3380ef683f742876f48e3739b3df4ea9e168 Author: Thomas Graf Date: Tue Jul 5 14:13:41 2005 -0700 [NET]: Reduce size of sk_buff by 4 bytes Reduce local_df to a bit field and ip_summed to a 2 bits field thus saving 13 bits. Move bit fields, packet type, and protocol into the spare area between the priority and the destructor. Saves 4 bytes on both, 32bit and 64bit architectures. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e176fe8954a5239c24afe79b1001ba3c29511963 Author: Thomas Graf Date: Tue Jul 5 14:12:44 2005 -0700 [NET]: Remove unused security member in sk_buff Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 3154e540e374bbfd62693d95bc8ed51da95efe75 Author: Patrick McHardy Date: Tue Jul 5 14:10:40 2005 -0700 [NET]: net/core/filter.c: make len cover the entire packet As suggested by Herbert Xu: Since we don't require anything to be in the linear packet range anymore make len cover the entire packet. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0b05b2a49e430220876f8faa7e4778dc7497033c Author: Patrick McHardy Date: Tue Jul 5 14:10:21 2005 -0700 [NET]: Consolidate common code in net/core/filter.c Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6935d46c2da64aa032a557374c95336e265cd7ef Author: Patrick McHardy Date: Tue Jul 5 14:08:57 2005 -0700 [NET]: Remove redundant code in net/core/filter.c skb_header_pointer handles linear and non-linear data, no need to handle linear data again. Signed-off-by: Patrick McHardy Acked-by: Herbert Xu Signed-off-by: David S. Miller commit 55820ee2f8c767a2833b21bd365e5753f50bd8ce Author: Patrick McHardy Date: Tue Jul 5 14:08:10 2005 -0700 [NET]: Fix signedness issues in net/core/filter.c This is the code to load packet data into a register: k = fentry->k; if (k < 0) { ... } else { u32 _tmp, *p; p = skb_header_pointer(skb, k, 4, &_tmp); if (p != NULL) { A = ntohl(*p); continue; } } skb_header_pointer checks if the requested data is within the linear area: int hlen = skb_headlen(skb); if (offset + len <= hlen) return skb->data + offset; When offset is within [INT_MAX-len+1..INT_MAX] the addition will result in a negative number which is <= hlen. I couldn't trigger a crash on my AMD64 with 2GB of memory, but a coworker tried on his x86 machine and it crashed immediately. This patch fixes the check in skb_header_pointer to handle large positive offsets similar to skb_copy_bits. Invalid data can still be accessed using negative offsets (also similar to skb_copy_bits), anyone using negative offsets needs to verify them himself. Thanks to Thomas Vögtle for verifying the problem by crashing his machine and providing me with an Oops. Signed-off-by: Patrick McHardy Acked-by: Herbert Xu Signed-off-by: David S. Miller commit 346fced899c7390e555cf90cd07d1e56b460d21b Merge: 17af691cd19765b782d891fc50c1568d0f1276b3 43a6b76050aa137c51d00eec91d67ac43ac3846e Author: Linus Torvalds Date: Tue Jul 5 11:35:58 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 commit f8eb321bee957b7464ae08839861a04cb0b51bbe Author: Thomas Gleixner Date: Tue Jul 5 01:03:06 2005 +0200 [MTD] cfi_cmdset_0002: Remove bogus include Including asm/hardware.h has to be done in linux/mtd/xip.h. Otherwise it breaks allyes compiles. Signed-off-by: Thomas Gleixner commit 864ae180074931f3a28c84ea85aa8cfeca18bc4f Author: David S. Miller Date: Mon Jul 4 15:58:19 2005 -0700 [SPARC64]: Fix IRQ retry interval timer value on sparc64 PCI controllers. Use '5' instead of 'infinity'. Signed-off-by: David S. Miller commit 9fba62a59cf1407cd5495f6c61d22d169ca1553f Author: David S. Miller Date: Mon Jul 4 14:53:33 2005 -0700 [SPARC64]: Small Schizo PCI controller programming tweaks. Use macro instead of magic value for Tomatillo discard- timeout interrupt enable register bit. Leave OBP programming PTO value unless Tomatillo and version >= 0x2. If no-bus-parking property is present, explicitly clear PCICTRL_PARK bit. Signed-off-by: David S. Miller commit bb6743f4f0aed5c1f09fa77cd8d3973c31792f4f Author: David S. Miller Date: Mon Jul 4 13:26:04 2005 -0700 [SPARC64]: Do proper DMA IRQ syncing on Tomatillo This was the main impetus behind adding the PCI IRQ shim. In order to properly order DMA writes wrt. interrupts, you have to write to a PCI controller register, then poll for that bit clearing. There is one bit for each interrupt source, and setting this register bit tells Tomatillo to drain all pending DMA from that device. Furthermore, Tomatillo's with revision less than 4 require us to do a block store due to some memory transaction ordering issues it has on JBUS. Signed-off-by: David S. Miller commit 088dd1f81b3577c17c4c4381696bf2105ea0e43a Author: David S. Miller Date: Mon Jul 4 13:24:38 2005 -0700 [SPARC64]: Add support for IRQ pre-handlers. This allows a PCI controller to shim into IRQ delivery so that DMA queues can be drained, if necessary. If some bus specific code needs to run before an IRQ handler is invoked, the bus driver simply needs to setup the function pointer in bucket->irq_info->pre_handler and the two args bucket->irq_info->pre_handler_arg[12]. The Schizo PCI driver is converted over to use a pre-handler for the DMA write-sync processing it needs when a device is behind a PCI->PCI bus deeper than the top-level APB bridges. While we're here, clean up all of the action allocation and handling. Now, we allocate the irqaction as part of the bucket->irq_info area. There is an array of 4 irqaction (for PCI irq sharing) and a bitmask saying which entries are active. The bucket->irq_info is allocated at build_irq() time, not at request_irq() time. This simplifies request_irq() and free_irq() tremendously. The SMP dynamic IRQ retargetting code got removed in this change too. It was disabled for a few months now, and we can resurrect it in the future if we want. Signed-off-by: David S. Miller commit 06326e40b7c66477d4a460bfc23c951f7b39f191 Author: Christoph Hellwig Date: Mon Jul 4 13:24:14 2005 -0700 [SPARC]: bpp: remove sleep_on usage Use schedule_timeout() instead of sleep_on + timer. Totally untested due to lack of hardware, but the changes are rather trivial. Signed-off-by: David S. Miller commit e7270dec080002d8aa18256c756af6c32331ef48 Author: Raphael Assenat Date: Mon Jul 4 13:23:45 2005 -0700 [SPARC64/COMPAT]: Add some compat ioctl for ppdev The following patch adds some ioctls to include/linux/compat_ioctl.h to allow using ppdev from the 32 bit user space on sparc64. This patch also adds the PPDEV option in the sparc64 menu, near Parallel printer support in the 'General machine setup' submenu. All those ioctls seem to be compatible, since (correct me if I'm wrong) they dont use the 'long' type. See include/linux/ppdev.h. The application I used to test the new ioctls only used the following: PPEXCL PPCLAIM PPNEGOT PPGETMODES PPRCONTROL PPWCONTROL PPDATADIR PPWDATA PPRDATA But I beleive that the other ioctls will work fine. Signed-off-by: David S. Miller commit 3a7a882420d378b59542a048075e40428c771a12 Author: Coywolf Qi Hunt Date: Mon Jul 4 12:15:28 2005 -0500 [MTD] mtdchar: Return the real error code when create_class() failed Signed-off-by: Coywolf Qi Hunt Signed-off-by: Thomas Gleixner commit 07929dcb963786512c760dd3ecd148d89295e7e5 Merge: c2d9b8387bce8b4a0fd402fab7dc1319d11a418d 19f7241a3b087bbf4dd107c979608fdb56c83a09 Author: Anton Altaparmakov Date: Mon Jul 4 14:14:42 2005 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 17af691cd19765b782d891fc50c1568d0f1276b3 Author: Russell King Date: Mon Jul 4 13:02:46 2005 +0100 [PATCH] ARM: Fix new-ABI layout of struct stat64 Add __attribute__((packed)) to ensure that the stat64 structure is correctly laid out no matter which ABI the kernel is compiled for. Signed-off-by: Russell King commit 68070bdeeca7b7af6a42c0b3e5b1247e83c22ff9 Author: Russell King Date: Mon Jul 4 10:44:34 2005 +0100 [PATCH] ARM: Fix non-standard PXA io_pg_offst initialisers These didn't match my sed expression correctly, fix them up manually. Signed-off-by: Russell King commit f9bd6ea446946b97208f9e1528eb5f9ef8f931cb Author: Russell King Date: Mon Jul 4 10:43:36 2005 +0100 [PATCH] ARM: Change 'param_offset' to 'boot_params' Signed-off-by: Russell King commit 19f7241a3b087bbf4dd107c979608fdb56c83a09 Merge: 08ab8c20316d6189a16b8101544a3e32b4c75e49 0d670b413f042eccdffc45bafb9840244752707f Author: Linus Torvalds Date: Sun Jul 3 14:39:33 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 08ab8c20316d6189a16b8101544a3e32b4c75e49 Merge: 10e047b40aafefef1fdc8ea4ea7837b9557a9400 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 Author: Linus Torvalds Date: Sun Jul 3 14:37:09 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 Author: Russell King Date: Sun Jul 3 21:05:45 2005 +0100 [PATCH] Serial: Fix console port spinlock initialisation Initialise the spinlock for port being used by the console early, but don't re-initialise it again later. Signed-off-by: Russell King commit 0d670b413f042eccdffc45bafb9840244752707f Author: Catalin Marinas Date: Sun Jul 3 17:53:25 2005 +0100 [PATCH] ARM: 2784/1: Fix the block cache flush operation range Patch from Catalin Marinas The range for the ARMv6 block cache operations is inclusive but the kernel doesn't re-calculate the end address, causing a page fault when used (this only happens with support for cache aliasing, otherwise the blk_flush_kern_dcache_page() is not called). This patch subtracts L1_CACHE_BYTES from the end address. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 75f631dc45c7327df26b82b9aea69376a306409c Author: Ben Dooks Date: Sun Jul 3 17:44:40 2005 +0100 [PATCH] ARM: 2785/1: S3C24XX - serial calls request_irq() with IRQs disabled Patch from Ben Dooks The request_irq() function is called by s3c24xx uart driver with the local IRQs disabled. The request_irq() function can allocate memory via kmalloc(), and this may sleep causing a warning about sleeping in an invalid context. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit e9dea0c65d2de6981356c055781fb99d7191b14e Author: Russell King Date: Sun Jul 3 17:38:58 2005 +0100 [PATCH] ARM: Remove machine description macros Remove the pointless machine description macros, favouring C99 initialisers instead. Signed-off-by: Russell King commit ace4e7185d565cab057139e8927659bd072bf25a Author: James Bottomley Date: Sat Jul 2 14:46:14 2005 -0500 [SCSI] aic7xxx: fix boot hang with Fujitsu drives Apparently these are the only drives that try to negotiate IU and QAS at u160 speeds. The aic7xxx driver can't cope with this. The fix is to eliminate the IU and QAS setting routines. I've #if 0'd them out, just in case we ever get the sequencer documentation out of Adaptec, since we'd then be able to fix the driver. Signed-off-by: James Bottomley commit 10e047b40aafefef1fdc8ea4ea7837b9557a9400 Author: Adrian Bunk Date: Sun Jul 3 17:44:10 2005 +0200 [PATCH] drivers/ide/Makefile: kill dead CONFIG_BLK_DEV_IDE_TCQ entry This patch kills the dead CONFIG_BLK_DEV_IDE_TCQ entry. Signed-off-by: Adrian Bunk commit 21e2c01dc3e38d466eda5871645878d2c3a33261 Author: Rob Punkunus Date: Sun Jul 3 17:37:18 2005 +0200 [PATCH] amd74xx: support MCP55 device IDs From: Rob Punkunus Rob Punkunus recently submitted a patch to enable support for MCP51/MCP55 in the amd74xx driver. This patch was whitespace-corrupted and didn't apply to 2.6.12 since MCP51 support was merged in the 2.6.12-rc series. Gentoo would like to support this hardware for our upcoming release media, so I fixed the patch, and here it is :) Signed-off-by: Daniel Drake commit 13bbbf28fb914da6707aad44a073651f5c9d13a5 Author: Denis Vlasenko Date: Sun Jul 3 17:09:13 2005 +0200 [PATCH] ide: fix line break in ide messages From: Denis Vlasenko * printk("\n") is misplaced, resulting in stray empty line in kernel log * cleanups nerby: some back-to-back printks are combined, etc commit f3718d3e135117f80de0ff219be91544baa75599 Author: Herbert Xu Date: Sun Jul 3 16:42:18 2005 +0200 [PATCH] ide: hotplug mark __devinit via82cxxx.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit d6904ab66f74cb99793e3919fc589dd0163a7740 Author: Herbert Xu Date: Sun Jul 3 16:40:31 2005 +0200 [PATCH] ide: hotplug mark __devinit triflex.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit 97319630b21c2022a55d51a6cfbf53cbb84a2f42 Author: Herbert Xu Date: Sun Jul 3 16:38:51 2005 +0200 [PATCH] ide: hotplug mark __devinit slc90e66.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit 34a6224691e638dd36b393aa439d021a19578fcc Author: Herbert Xu Date: Sun Jul 3 16:36:56 2005 +0200 [PATCH] ide: hotplug mark __devinit sl82c105.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit 6a6e1b1cf41b0bf35fffbf18787e8d8f865b66d6 Author: Herbert Xu Date: Sun Jul 3 16:35:07 2005 +0200 [PATCH] ide: hotplug mark __devinit sc1200.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit 9307145700e869dd410d565477f98377e93e9160 Author: Herbert Xu Date: Sun Jul 3 16:33:16 2005 +0200 [PATCH] ide: hotplug mark __devinit opti621.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit c20530ed26e5b9e3b188b4088d0a5ab1d773a529 Author: Herbert Xu Date: Sun Jul 3 16:31:04 2005 +0200 [PATCH] ide: hotplug mark __devinit ns87415.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit a380a8849f90ba81a5ff0c325fd5d8125c70b3bb Author: Herbert Xu Date: Sun Jul 3 16:28:44 2005 +0200 [PATCH] ide: hotplug mark __devinit it8172.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit ddbc9fb47252f9b6966bfe9b0aa27bfeaa585cca Author: Herbert Xu Date: Sun Jul 3 16:25:46 2005 +0200 [PATCH] ide: hotplug mark __devinit cy82c693.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit 88de8e996f16b958721368ed9b4fd4e29cdb923e Author: Herbert Xu Date: Sun Jul 3 16:23:08 2005 +0200 [PATCH] ide: hotplug mark __devinit cs5530.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit e895f926cd8b6d50a42cc985d470bdc9a70caeed Author: Herbert Xu Date: Sun Jul 3 16:15:41 2005 +0200 [PATCH] ide: hotplug mark __devinit amd74xx.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. Signed-off-by: maximilian attems commit c2f12589bfc4119f2c331ecea8cca4945ed48497 Author: Herbert Xu Date: Sun Jul 3 16:06:13 2005 +0200 [PATCH] ide: hotplug mark __devinit alim15x3.c From: Herbert Xu mark the __init section __devinit. Splitted up from the Debian kernel patch. see the thread about the pci hotplug crash on a stratus box. http://marc.theaimsgroup.com/?l=linux-kernel&m=111930108613386&w=2 Signed-off-by: maximilian attems commit b4687ca42cb82a7821f682dde0310b16ce284770 Author: Linda Xie Date: Mon Jun 27 17:01:48 2005 -0500 [SCSI] IBM VSCSI Client: sending client info to server Fix the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server. Signed-off-by: Linda Xie Signed-off-by: James Bottomley commit fc2b035d38c06a884cb521bb4a1e1183f5eaccf1 Author: Christoph Hellwig Date: Mon Jun 27 22:43:06 2005 +0200 [SCSI] ifdef out broken fc4 EH code This code pokes deep into EH internals and duplicates scsi_error.c code wrongly. It doesn't compile anymore in scsi-misc, so let's #if 0 out the code - the driver hasn't worked for more than five years anyway. Signed-off-by: James Bottomley commit eda912e34a0cc40ddd502b3f984e37ebb2b13a71 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:42 2005 -0400 [SCSI] lpfc: Change version to 8.0.29. Signed-off-by: James Smart Signed-off-by: James Bottomley commit c44ce1737438d20ac58e808897e3f8eb015c66d3 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:39 2005 -0400 [SCSI] lpfc: Update copyright notices Update copyright notice text and include year 2005. Add Copyright notice for Christoph Hellwig to several files: lpfc.h lpfc_attr.c lpfc_els.c lpfc_hbadisc.c lpfc_init.c lpfc_mbox.c lpfc_mem.c lpfc_nportdisc.c lpfc_scsi.c lpfc_sli.c Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5542134f61157d0bbd4e392919cae811a88a3e81 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:36 2005 -0400 [SCSI] lpfc: Remove $Id$ keyword strings. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2501322eee84763a07fd4a3eed81b63c1837e204 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:33 2005 -0400 [SCSI] lpfc: Fix ADISC completion incorrectly putting initiators on mapped list Symptom - An unmapped node (initiator) that goes away in a situation such as cable pull, comes back as a mapped node. Fix - On ADISC completion, put a list on the mapped list only if it is a FCP_TARGET. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:30 2005 -0400 [SCSI] lpfc: Add completion handler to the abort iocbs Add completion handler to the abort iocbs to close a hole where we could reuse an iotag. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:27 2005 -0400 [SCSI] lpfc: Fix LS_RJT never sent by lpfc_els_unsol_event() lpfc_els_unsol_event() checks rjt_err to determine is LS_RJT should be sent. However, rjt_err was set to LSEXP_NOTHING_ELSE (which is 0) in cases where an LS_RJT should be sent, so rjt_err was never true. Change lpfc_els_unsol_event() to set rjt_err to 1 when LS_RJT should be sent. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 06325e7459b54fc924d00fe363068f6cbf284571 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:22 2005 -0400 [SCSI] lpfc: Add LP6000 PCI ID Fix driver not seeing LP6000. Fix: add PCI id to the pci_device_id table and a short description for the HBA in get_hba_model_desc(). Also add a default clause to the switch statement that parses the various PCI ID's. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 564b2960833f8802ae2b7b7ad840f154647549c7 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:17 2005 -0400 [SCSI] lpfc: Set max_sectors in host template Add max_sectors to the driver host template and initialize it with 0xFFFF since the driver has no limitations on the size a transfer contained by a scsi command and that fits within the sg_tablesize provisioned by the driver. This fixes a performance issue seen in some configurations. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 87f6eaffd732bc20b5a02e9f36b86f67310d8129 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:13 2005 -0400 [SCSI] lpfc: Fix error loading on sparc Bug reported via SourceForge - lpfc does not load on sparc. The lpfc driver must byteswap all FCP IOCBs to recover the data into cpu native format. Also correct issue of "iotag not found" messages Signed-off-by: James Smart Signed-off-by: James Bottomley commit db468d108abc0bb348bcfc54b8e06145922fb6b1 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:08 2005 -0400 [SCSI] lpfc: Fixes in mbox_timeout_handler Analysis: Timeout of READ_SPARM64 causes call to lpfc_mbox_timeout_handler which reads psli->mbox_active to determine the timeout mbox. Timeout handler then NULL's psli->mbox_active and calls lpfc_mbx_cmpl_read_sparam(), which on timeout condition, calls link_down(). link_down() now calls disc_done() which calls mbox_timeout_hander() again since WORKER_MBOX_TMO is still set, which goes back to read psli->mbox_active which is already NULL'ed. Remove redundant if statement in lpfc_mbox_timeout_handler. pmbox is assigned psli->mbox_active so there is no need to check if it actually equals psli->mbox_active. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6e8215e48865bda2e07c1c0633952e35fa3b170c Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:04 2005 -0400 [SCSI] Fix issue where all hosts log nodev message for other initiators Fix issue where all hosts connected to SAN get spammed with nodev message when other initiators go away. Display nodev message only when FC targets go away. However this behavior will be overridden if LOG_DISCOVERY is set. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 4cc2da1d84eeddb9e9259e61efd58691399434b2 Author: James.Smart@Emulex.Com Date: Sat Jun 25 10:34:00 2005 -0400 [SCSI] lpfc: hgp/pgp cleanups From: Christoph Hellwig : - rename PGP/HPH to lpfc_pgp/lpfc_hgp - use __le32 types for the members to start fixing sparse -Wbitwise issues - remove lpfc_sli.MBhostaddr, we can always use the pointer from SLI2_DESC directly Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1d6bebf2ecf92924492c491d9c3a72edba95f907 Merge: 86166f9846590fa46f8e24e9346d002e938a8b81 3eee0d03e33b0294eb3165c96f213a8c8ee461a8 Author: Linus Torvalds Date: Sat Jul 2 10:39:09 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 86166f9846590fa46f8e24e9346d002e938a8b81 Merge: 44f8e1a20cf3afe10a3744bd9317808a39a242bb db5795547694cf68388aaf8f59723e850f7466f6 Author: Linus Torvalds Date: Sat Jul 2 10:37:50 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 44f8e1a20cf3afe10a3744bd9317808a39a242bb Author: Linus Torvalds Date: Sat Jul 2 10:35:33 2005 -0700 If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq. That zero just means that nothing else found any irq information either. commit beffbdc2211826b174c68307b1b48c93c05d7ded Author: Andrew Morton Date: Fri Jul 1 23:54:30 2005 -0500 Input: cannot refer to __exit from within __init. Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit 43a6b76050aa137c51d00eec91d67ac43ac3846e Author: Andy Whitcroft Date: Mon Jun 20 14:29:25 2005 -0700 [PATCH] gregkh-pci-pci-assign-unassigned-resources fix It seems that X86 architectures in general need the setup-bus.o not just those with HOTPLUG. This avoids the following error on X86_NUMAQ and x86_64: arch/i386/pci/built-in.o(.init.text+0x15a6): In function `pcibios_init': : undefined reference to `pci_assign_unassigned_resources' Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 5848f23d811acc1cb6c19a12e1341e0640a85d0e Author: John W. Linville Date: Fri Jul 1 14:07:28 2005 -0400 [PATCH] pci: cleanup argument comments for pci_{save,restore}_state The buffer arguments have been removed from pci_{save,restore}_state. The comment blocks for those functions should reflect that. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit c6e21e1683c2508a2b23588e1fc2e7bf6fc2549e Author: Hannes Reinecke Date: Tue Jun 28 14:57:10 2005 +0200 [PATCH] PCI: Remove newline from pci MODALIAS variable the pci core sends out a hotplug event variable MODALIAS with a trailing newline. This is inconsistent with all other event variables and breaks some hotplug tools. This patch removes the said newline. Signed-off-by: Greg Kroah-Hartman commit 5823d100ae260d022b4dd5ec9cc0b85f0bf0d646 Author: long Date: Wed Jun 22 09:09:54 2005 -0700 [PATCH] PCI: acpi tg3 ethernet not coming back properly after S3 suspendon DellM70 This patch, is based on kernel 2.6.12, provides a fix for PCIe port bus driver suspend/resume. Signed-off-by: T. Long Nguyen Signed-off-by: Greg Kroah-Hartman commit a00db371624e2e3718e5ab7d73bf364681098106 Author: Jean Delvare Date: Wed Jun 29 17:04:06 2005 +0200 [PATCH] PCI: Add PCI quirk for SMBus on the Asus P4B-LX One more Asus motherboard requiring the SMBus quirk (P4B-LX). Original patch from Salah Coronya. Signed-off-by: Salah Coronya Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 75865858971add95809c5c9cd35dc4cfba08e33b Author: Greg Kroah-Hartman Date: Thu Jun 30 02:18:12 2005 -0700 [PATCH] PCI: clean up dynamic pci id logic The dynamic pci id logic has been bothering me for a while, and now that I started to look into how to move some of this to the driver core, I thought it was time to clean it all up. It ends up making the code smaller, and easier to follow, and fixes a few bugs at the same time (dynamic ids were not being matched everywhere, and so could be missed on some call paths for new devices, semaphore not needed to be grabbed when adding a new id and calling the driver core, etc.) I also renamed the function pci_match_device() to pci_match_id() as that's what it really does. Signed-off-by: Greg Kroah-Hartman commit 299de0343c7d18448a69c635378342e9214b14af Author: Ivan Kokshaysky Date: Wed Jun 15 18:59:27 2005 +0400 [PATCH] PCI: pci_assign_unassigned_resources() on x86 - Add sanity check for io[port,mem]_resource in setup-bus.c. These resources look like "free" as they have no parents, but obviously we must not touch them. - In i386.c:pci_allocate_bus_resources(), if a bridge resource cannot be allocated for some reason, then clear its flags. This prevents any child allocations in this range, so the setup-bus code will work with a clean resource sub-tree. - i386.c:pcibios_enable_resources() doesn't enable bridges, as it checks only resources 0-5, which looks like a clear bug to me. I suspect it might break hotplug as well in some cases. From: Ivan Kokshaysky Signed-off-by: Greg Kroah-Hartman commit 90b54929b626c80056262d9d99b3f48522e404d0 Author: Ivan Kokshaysky Date: Tue Jun 7 04:07:02 2005 +0400 [PATCH] PCI: handle subtractive decode pci-pci bridge better With the number of PCI bus resources increased to 8, we can handle the subtractive decode PCI-PCI bridge like a normal bridge, taking into account standard PCI-PCI bridge windows (resources 0-2). This helps to avoid problems with peer-to-peer DMA behind such bridges, poor performance for MMIO ranges outside bridge windows and prefetchable vs. non-prefetchable memory issues. To reflect the fact that such bridges do forward all addresses to the secondary bus (transparency), remaining bus resources 3-7 are linked to resources 0-4 of the primary bus. These resources will be used as fallback by resource management code if allocation from standard bridge windows fails for some reason. Signed-off-by: Ivan Kokshaysky Acked-by: Dominik Brodowski Signed-off-by: Greg Kroah-Hartman commit a03fa955576af50df80bec9127b46ef57e0877c0 Author: rajesh.shah@intel.com Date: Thu Jun 2 15:41:48 2005 -0700 [PATCH] PCI: Increase the number of PCI bus resources This patch increases the number of resource pointers in the pci_bus structure. This is needed to store >4 resource ranges for host bridges and transparent PCI bridges. With this change, all PCI buses will have more resource pointers, but most PCI buses will only use the first 3 or 4, the remaining being NULL. The PCI core already deals with this correctly. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 26f674ae0e37190bf61c988e52911e4372fdb5f5 Author: Greg Kroah-Hartman Date: Thu Jun 2 15:41:48 2005 -0700 [PATCH] PCI: Fix up PCI routing in parent bridge When the cardbus bridge is behind another bridge change the routing in the parent bridge for new cards. This fixes Cardbus on various AMD64 laptops. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman commit 4a89a04f1ee21a7c1f4413f1ad7dcfac50ff9b63 Author: Ivan Kokshaysky Date: Fri Jul 1 16:46:26 2005 +0400 [PATCH] alpha smp fix (part #2) This fixes the bug that caused BUG_ON(!irqs_disabled()) to trigger in run_posix_cpu_timers() on alpha/smp. We didn't disable interrupts properly before calling smp_percpu_timer_interrupt(). We *do* disable interrupts everywhere except this unfortunate smp_percpu_timer_interrupt(). Fixed thus. Signed-off-by: Linus Torvalds commit 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 Author: Moore, Eric Dean Date: Fri Jun 24 12:18:57 2005 -0600 [SCSI] - mptfusion - convert to new change_queue_depth API Convert driver to use new change_queue_depth API. Signed-off-by: Eric Moore Fixed up rejections and Signed-off-by: James Bottomley commit 3eee0d03e33b0294eb3165c96f213a8c8ee461a8 Author: Adrian Bunk Date: Fri Jul 1 13:07:37 2005 +0100 [PATCH] MMC: wbsd cleanups This patch contains the following possible cleanups: - make some needlessly global code static - remove the unneeded global function DBG_REG Signed-off-by: Adrian Bunk Signed-off-by: Russell King commit 6e6293dd3d4372c114674266158053d049366a0d Author: Pierre Ossman Date: Fri Jul 1 12:13:55 2005 +0100 [PATCH] MMC: wbsd delayed insertion Wait 0.5 seconds before scanning for cards after an insertion interrupt. The electrical connection needs this time to stabilise for some cards. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit db5795547694cf68388aaf8f59723e850f7466f6 Author: Nishanth Aravamudan Date: Fri Jul 1 12:11:51 2005 +0100 [PATCH] ARM: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Neither signals nor wait-queue events are important at this point in the code, I believe. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Russell King commit 7b09cdac5af1e13ab4b30421ae5c4b7953c26841 Author: Russell King Date: Fri Jul 1 12:02:59 2005 +0100 [PATCH] MMC: Fix divdi3 reference in mmci.c Use do_div() instead. Signed-off-by: Russell King commit c77b042700ae1fc4d661d7d62787899e755160d5 Author: Russell King Date: Fri Jul 1 11:56:55 2005 +0100 [PATCH] ARM: Make the magic values in head.S more obvious Make the magic address values in head.S more obvious as to where they came from. Wrap all debug code in CONFIG_DEBUG_LL. Signed-off-by: Russell King commit e695f60454f665604fe1b6e473f25b098203965a Author: Ben Dooks Date: Fri Jul 1 11:27:06 2005 +0100 [PATCH] ARM: 2783/1: Remove omnimeter_defconfig as there is no kernel support Patch from Ben Dooks The omnimeter_defconfig does not define any machines and seems to have no other support in the current kernel. This patch removes the config file, as this is the only thing currently mentioning the ominmeter. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 3e18a45abc5b20db2e34f02b87226ac2713bbb13 Author: Todd Poynor Date: Fri Jul 1 11:27:06 2005 +0100 [PATCH] ARM: 2782/1: PXA27x MDREFR K0DB4 define Patch from Todd Poynor Add definition of K0DB4 SDCLK<0,3> divide-by-4 control/status bit in the MDREFR register for Intel XScale PXA27x. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit 26705ca46bdf81113cc6729eb12b9eee2263bbfc Author: Todd Poynor Date: Fri Jul 1 11:27:05 2005 +0100 [PATCH] ARM: 2781/2: PXA27x Standby mode take 2 Patch from Todd Poynor Add support for PXA27x Standby mode, a low-power mode that retains CPU and some peripheral state (the existing "sleep" mode is a power-power mode that retains less state). Activated via: echo -n standby > /sys/power/state From: David Burrage and Todd Poynor Signed-off-by: Todd Poynor Signed-off-by: Russell King commit 9bc7b38731dd1cc1635ab12f8de48866f603b06e Author: Todd Poynor Date: Thu Jun 30 01:23:27 2005 +0100 [MTD] mtdchar.c: Replace DEVFS by udev Switch from DEVFS to udev for dynamic creation of device nodes for mtd char devices. Creates a new LDM class "mtd" with writeable and read-only devices registered for each mtdchar device. From: Paolo Galtieri Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit ef6689eff4b58273fed9e54293a3da983b321e9a Author: Andrew Morton Date: Thu Jun 30 22:13:14 2005 -0700 [PATCH] fatfs sectioning fix Fixup for the recent slab leak fix Cc: Pekka Enberg Cc: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eaf05be039cf5adfba5b1846452ce89646110fdb Author: Ivan Kokshaysky Date: Thu Jun 30 20:02:18 2005 +0400 [PATCH] alpha smp fix As usual, the reason of this breakage is quite silly: in do_entIF, we are checking for PS == 0 to see whether it was a kernel BUG() or userspace trap. It works, unless BUG() happens in interrupt - PS is not 0 in kernel mode due to non-zero IPL, and the things get messed up horribly then. In this particular case it was BUG_ON(!irqs_disabled()) triggered in run_posix_cpu_timers(), so we ended up shooting "current" with the bursts of one SIGTRAP and three SIGILLs on every timer tick. ;-) commit 62351cc38d3eaf3de0327054dd6ebc039f4da80d Merge: d471cd4787351c05d6be749475418ccea2720ef4 747aead34de65c25765da79825ce2c08d8257b10 Author: Linus Torvalds Date: Thu Jun 30 17:07:37 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit d471cd4787351c05d6be749475418ccea2720ef4 Merge: bd53d1270f51c6cfb53b06c8f93fd42327871d6b 44454bcdb90532b372c74e3546043d8a3a468939 Author: Linus Torvalds Date: Thu Jun 30 17:04:54 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 747aead34de65c25765da79825ce2c08d8257b10 Author: Catalin Marinas Date: Thu Jun 30 23:01:09 2005 +0100 [PATCH] ARM: 2780/1: AFS partition length calculation fix Patch from Catalin Marinas This patch calculates the AFS partition length by expanding the image length information to the nearest erase block boundary. This eliminates the problems with JFFS2 erasing the footer. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 44454bcdb90532b372c74e3546043d8a3a468939 Author: Russell King Date: Thu Jun 30 22:41:22 2005 +0100 [PATCH] Serial: Fix small CONFIG_SERIAL_8250_NR_UARTS If CONFIG_SERIAL_8250_NR_UARTS is smaller than the array size in asm/serial.h, we trampled on memory which wasn't ours. Take our big boots away by limiting the number of ports initialised to the smaller of ...NR_UARTS and the array size. Signed-off-by: Russell King commit bd53d1270f51c6cfb53b06c8f93fd42327871d6b Merge: 12829dcb10efc576c3739131a5d57fe7213632d9 bf164c790deb79b18faf304b0763e44a02c79f90 Author: Linus Torvalds Date: Thu Jun 30 09:04:36 2005 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit abaf48a05a8f097654e746af2a5afb2ab95861a1 Author: Catalin Marinas Date: Thu Jun 30 17:04:14 2005 +0100 [PATCH] ARM: 2779/1: Fix the V bit setting for the ARM1020x CPUs Patch from Catalin Marinas This patch fixes the V bit setting for the ARM1020x processors. At reset, this bit is automatically set to the value of the HIVECSINIT input signal which just happened to be 1 but it is not mandatory. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit c28a814f25d48f193565003223df0ae617796892 Author: Catalin Marinas Date: Thu Jun 30 17:04:14 2005 +0100 [PATCH] ARM: 2778/1: Add -mno-thumb-interwork to CFLAGS_ABI Patch from Catalin Marinas The new EABI gcc adds -mthumb-interwork by default, even if -mabi=apcs-gnu is passed. This causes a warning for every compiled C file when -march=armv4 is used. The patch adds -mno-thumb-interwork if the option is supported. This is also useful since we don't need any ARM/Thumb interworking in the kernel Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit c19cb1df809dcf343dd1eb6fe60d53639dafcb8c Author: Catalin Marinas Date: Thu Jun 30 17:04:13 2005 +0100 [PATCH] ARM: 2777/1: Fix broken comment arch/arm/mm/proc-arm1020.S Patch from Catalin Marinas This patch fixes a broken comment in the proc-arm1020.S file which prevents the file compilation Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 12829dcb10efc576c3739131a5d57fe7213632d9 Merge: c60e81ee1cac32dae1f9bf623dcb6b3b2bde8eab 719d1cd86780c156f954fc34f34481adac197aec Author: Linus Torvalds Date: Thu Jun 30 08:48:56 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 commit c60e81ee1cac32dae1f9bf623dcb6b3b2bde8eab Author: Andrew Morton Date: Thu Jun 30 02:59:06 2005 -0700 [PATCH] reiserfs: handle_attrs() fix Fix a use-uninitialised bug. Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8cb681b9c7fff5cb35b5c05ba4f1b7e285e258fb Author: Pekka Enberg Date: Thu Jun 30 02:59:05 2005 -0700 [PATCH] freevxfs: minor cleanups This patch addresses the following minor issues: - Typo in printk - Redundant casts - Use C99 struct initializers instead of memset - Parenthesis around return value - Use inline instead of __inline__ Signed-off-by: Pekka Enberg Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d2cc3b87b1694df72ab75cee8e12f8b369577ce Author: Pekka Enberg Date: Thu Jun 30 02:59:05 2005 -0700 [PATCH] freevxfs: remove 2.4 compatability This patch removes 2.4 compatability header from freevxfs. Signed-off-by: Pekka Enberg Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba03bda81e160b2724451074cdcb597d14f7d7e0 Author: Pekka Enberg Date: Thu Jun 30 02:59:04 2005 -0700 [PATCH] freevxfs: fix buffer_head leak - fix a buffer_head leak in vxfs_getfsh() - s/SLAB_KERNEL/GFP_KERNEL/ - check sb_bread() return value - drop pointless buffer-mapped() test. Signed-off-by: Pekka Enberg Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f220ab2a5162c35cca6993ea473937cfc962fce4 Author: Jay Lan Date: Thu Jun 30 02:59:03 2005 -0700 [PATCH] Improper initrd failure message at boot time On system boot up, there was an failure reported to boot.msg: <5>Trying to move old root to /initrd ... failed According to initrd(4) man page, step #7 of BOOT-UP OPERATION is described as below: 7. If the normal root file has directory /initrd, device /dev/ram0 is moved from / to /initrd. Otherwise if directory /initrd does not exist device /dev/ram0 is unmounted. We got service calls from customers concerning about this failure message at boot time. Many systems do not have /initrd and thus the message can be changed in the case of non-existing /initrd so that it does not sound like a failure of the system. Signed-off-by: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c71e22e4e4b4e7261f147635518d5634136c226 Author: Christoph Hellwig Date: Thu Jun 30 02:59:02 2005 -0700 [PATCH] udf_find_entry() cleanup udf_find_entry can never be called with a NULL argument, so we shouldn't check for it. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 532a39a3754a3b8ce507414863023f8db21f9a7c Author: Pekka J Enberg Date: Thu Jun 30 02:59:01 2005 -0700 [PATCH] fat: fix slab cache leak This patch plugs a slab cache leak in fat module initialization. Signed-off-by: Pekka Enberg Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ec55a9bd365dfc78945bb8e6bf5d0fdf1d75ad0 Author: Chris Zankel Date: Thu Jun 30 02:59:00 2005 -0700 [PATCH] xtensa: Fix asm macro Removed dead code in arch/xtensa/kernel/pci.c and use the pci_name() macro. Fixed an error in the delay asm macro: '1' is an invalid immediate value. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7d163f7666560c90b163907b9d96ec6207e0f6f Author: Chris Zankel Date: Thu Jun 30 02:58:59 2005 -0700 [PATCH] xtensa: Removed local copy of zlib and fixed O= support Removed an unnecessary local copy of zlib (sorry for the add'l traffic). Fixed 'O=' support (thanks to Jan Dittmer for pointing it out). Some minor clean-ups in the make files. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82300bf479d7cdf87214b81ca5dc003bbc4f7e8f Author: Chris Zankel Date: Thu Jun 30 02:58:58 2005 -0700 [PATCH] xtensa: Added mm/Kconfig to get a flat memory layout Added 'mm/Kconfig' to the xtensa Kconfig file to get a flat memory layout. Fixed a typo in one of the help texts (thanks Geert for pointing it out) Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b0de927d9c9a72e42a4b581a897710f9ae5a6d1 Author: Chris Zankel Date: Thu Jun 30 02:58:57 2005 -0700 [PATCH] xtensa: cleanups for errno and ipc. I noticed this because I was doing some more ipc cleanups and I did the original errno and ipc cleanups for other architectures, so it stuck out. Signed-off-by: Stephen Rothwell Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ee23b50f1541aacc3b975edae170a1b995b84f5 Author: Jesper Juhl Date: Thu Jun 30 02:58:56 2005 -0700 [PATCH] xtensa: use valid_signal() xtensa should use valid_signal() instead of testing _NSIG directly like everyone else. Signed-off-by: Jesper Juhl Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 306e440daf5f40b195afd83d05dee89fa63189e7 Author: Ingo Molnar Date: Thu Jun 30 02:58:55 2005 -0700 [PATCH] x86: i8253/i8259A lock cleanup Introduce proper declarations for i8253_lock and i8259A_lock. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcbda35ca7470bf0123a7ae685899776f67814b2 Author: Kumar Gala Date: Thu Jun 30 02:58:55 2005 -0700 [PATCH] ppc32: Fix pointer check for MPC8540 ADS device Editor snafu in which the call to ppc_sys_get_pdata got inside the if check instead of before it. Oops. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6931dfc9f3f81d148b7ed0ab3fd796f8b986a995 Author: Eric Paris Date: Thu Jun 30 02:58:51 2005 -0700 [PATCH] selinux_sb_copy_data() should not require a whole page Currently selinux_sb_copy_data requires an entire page be allocated to *orig when the function is called. This "requirement" is based on the fact that we call copy_page(in_save, nosec_save) and in_save = orig when the data is not FS_BINARY_MOUNTDATA. This means that if a caller were to call do_kern_mount with only about 10 bytes of options, they would get passed here and then we would corrupt PAGE_SIZE - 10 bytes of memory (with all zeros.) Currently it appears all in kernel FS's use one page of data so this has not been a problem. An out of kernel FS did just what is described above and it would almost always panic shortly after they tried to mount. From looking else where in the kernel it is obvious that this string of data must always be null terminated. (See example in do_mount where it always zeros the last byte.) Thus I suggest we use strcpy in place of copy_page. In this way we make sure the amount we copy is always less than or equal to the amount we received and since do_mount is zeroing the last byte this should be safe for all. Signed-off-by: Eric Paris Cc: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a936eb928c1a253c2e5d66b947688bdc55094a6 Author: Kylene Jo Hall Date: Thu Jun 30 02:58:50 2005 -0700 [PATCH] tpm: fix bug introduced by the /proc/misc In fixing the /proc/misc problem that was reported last week where the tpm module name was being obfuscated in /proc/misc I introduced a bug in the module unloading code. This patch fixes the problem. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee93b43a05506667d771c4fb0c384301edd7d036 Author: Olaf Hering Date: Thu Jun 30 02:58:49 2005 -0700 [PATCH] ppc32: use correct register names in arch/ppc/kernel/relocate_kernel.S CONFIG_KEXEC=y doesnt work: arch/ppc/kernel/relocate_kernel.S:37: Error: unsupported relocation against SRR1 arch/ppc/kernel/relocate_kernel.S:39: Error: unsupported relocation against SRR0 Signed-off-by: Olaf Hering Cc: "Eric W. Biederman" Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ee24d9594ffb070261b70461f71c42913c663bb Author: Heiko Carstens Date: Thu Jun 30 02:58:48 2005 -0700 [PATCH] s390: fix finish_arch_switch Commit 4866cde064afbb6c2a488c265e696879de616daa requires finish_arch_switch to have only one parameter instead of two. Also fix another compile error (double declaration of account_system_vtime) if CONFIG_VIRT_CPU_ACCOUNTING is not defined. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb05bfe4fbf031f95e392204efaa4da71c75b2e2 Author: Dominik Brodowski Date: Thu Jun 30 02:58:47 2005 -0700 [PATCH] pcmcia: update Documentation As the information is now exported via sysfs, there's no need for an userspace tool any longer. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3704511b2ee8b01475ca7c171d62c682342fa38e Author: Dominik Brodowski Date: Thu Jun 30 02:58:47 2005 -0700 [PATCH] pcmcia: fix modalias attribute in sysfs Fix up PCMCIA modalias file in sysfs Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41359dca9442b0c664336e3fcf3aaf70b6507b1d Author: Russell King Date: Thu Jun 30 16:30:07 2005 +0100 [PATCH] ARM: Acornfb: Don't claim IRQ fbcon for cursor The generic fbcon code tries to register and use the vsync IRQ for ARM platforms with acornfb, but forgets to disable its own cursor timer. The result is a flickering flashing cursor. Remove the code from the fbcon core to register this platform private interrupt. Signed-off-by: Russell King commit cfb0810eab39d1162f45b73fc96f45ab1cbcbe8b Author: Russell King Date: Thu Jun 30 11:06:49 2005 +0100 [PATCH] ARM: Don't try to send a signal to pid0 If we receive an unrecognised abort during boot, don't try to send a signal to pid0, but instead report the current state. This leads to less confusing debug reports. Signed-off-by: Russell King commit c2d9b8387bce8b4a0fd402fab7dc1319d11a418d Merge: 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 Author: Anton Altaparmakov Date: Thu Jun 30 09:52:20 2005 +0100 Automerge with /usr/src/ntfs-2.6.git. commit bf164c790deb79b18faf304b0763e44a02c79f90 Merge: d62c0f9fd2d3943a3eca85b490d86e1605000ccb 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 Author: Greg KH Date: Wed Jun 29 22:54:31 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 5b6271bda42be8edb77fbd588621cc09199fa7fb Author: Dmitry Torokhov Date: Thu Jun 30 00:50:38 2005 -0500 Input: make name, phys and uniq be 'const char *' because once set noone should attempt to change them. Signed-off-by: Dmitry Torokhov commit f96b434d3bf70845a7541ab217f525918267281e Author: Dmitry Torokhov Date: Thu Jun 30 00:50:29 2005 -0500 Input: rearrange procfs code to reduce number of #ifdefs Signed-off-by: Dmitry Torokhov commit fb2ce3c005ede30b65b891c58ff56398df6089f8 Author: Dmitry Torokhov Date: Thu Jun 30 00:50:10 2005 -0500 Sonypi: make sure that input_work is not running when unloading the module; submit/retrieve key release data into/from input_fifo in one shot. Signed-off-by: Dmitry Torokhov commit 16a334c0de5a94b1d10a1ac9a33f4dedac89a075 Author: Dmitry Torokhov Date: Thu Jun 30 00:49:08 2005 -0500 Input: introduce usb_to_input_id() to uniformly produce struct input_id for USB input devices. Signed-off-by: Dmitry Torokhov commit c27a748225fe5c7e485ea471178c26e43f9f7fbe Author: Dmitry Torokhov Date: Thu Jun 30 00:48:51 2005 -0500 Input: acecad - drop unneeded cast and couple unneeded spaces. Noticed by Joe Perches. Signed-off-by: Dmitry Torokhov Acked-by: Stephane VOLTZ commit ae87dff7ca2723a2428fb55dd57da1315878eb08 Author: Dmitry Torokhov Date: Thu Jun 30 00:48:34 2005 -0500 Input: serio - add modalias attribute and environment variable to simplify hotplug scripts. Signed-off-by: Dmitry Torokhov commit 0048e6030d41453c2f5ce0e9aead910d46cfd448 Author: Dmitry Torokhov Date: Thu Jun 30 00:48:14 2005 -0500 Input: uinput - use completions instead of events and manual wakeups in force feedback code. Signed-off-by: Dmitry Torokhov commit d62c0f9fd2d3943a3eca85b490d86e1605000ccb Author: Patrick Mochel Date: Fri Jun 24 08:39:33 2005 -0700 [PATCH] Driver core: Use klist_del() instead of klist_remove(). Use klist_del() instead of klist_remove() when unregistering devices. This will prevent a deadlock when executing a recursive unregister using device_for_each_child(). Signed-off-by Patrick Mochel Signed-off-by: Greg Kroah-Hartman commit 23d3d602cb96addd3c1158424fb01a49ea5e81b1 Author: Greg Kroah-Hartman Date: Wed Jun 22 16:09:05 2005 -0700 [PATCH] driver core: change bus_rescan_devices to return void No one was looking at the return value of bus_rescan_devices, and it really wasn't anything that anyone in the kernel would ever care about. So change it which enabled some counting code to be removed also. Signed-off-by: Greg Kroah-Hartman commit afdce75f1eaebcf358b7594ba7969aade105c3b0 Author: Greg Kroah-Hartman Date: Wed Jun 22 16:09:05 2005 -0700 [PATCH] driver core: Add the ability to bind drivers to devices from userspace This adds a single file, "bind", to the sysfs directory of every driver registered with the driver core. To bind a device to a driver, write the bus id of the device you wish to bind to that specific driver to the "bind" file (remember to not add a trailing \n). If that bus id matches a device on that bus, and it does not currently have a driver bound to it, the probe sequence will be initiated with that driver and device. Note, this requires that the driver itself be willing and able to accept that device (usually through a device id type table). This patch does not make it possible to override the driver's id table. Signed-off-by: Greg Kroah-Hartman commit 151ef38f7c0ec1b0420f04438b0316e3a30bf2e4 Author: Greg Kroah-Hartman Date: Wed Jun 22 16:09:05 2005 -0700 [PATCH] driver core: Add the ability to unbind drivers to devices from userspace This adds a single file, "unbind", to the sysfs directory of every device that is currently bound to a driver. To unbind the driver from the device, write anything to this file and they will be disconnected from each other. Signed-off-by: Greg Kroah-Hartman commit 0edb586049e57c56e625536476931117a57671e9 Author: Cornelia Huck Date: Wed Jun 22 16:59:51 2005 +0200 [PATCH] driver core: add bus_find_device & driver_find_device functions Add bus_find_device() and driver_find_device() which allow searching for a device in the bus's resp. the driver's klist and obtain a reference on it. Signed-off-by: Cornelia Huck Signed-off-by: Greg Kroah-Hartman commit 152c12f568d4fc6e9a7dfd42f2d51347fb41d9b7 Author: Dmitry Torokhov Date: Thu Jun 30 00:47:50 2005 -0500 Input: clean up uinput driver (formatting, extra braces) Signed-off-by: Dmitry Torokhov commit 719d1cd86780c156f954fc34f34481adac197aec Author: Michael Ellerman Date: Thu Jun 30 15:17:02 2005 +1000 [PATCH] ppc64: Replace custom locking code with a spinlock The hvlpevent_queue (formally ItLpQueue) has a member called xInUseWord which is used for serialising access to the queue. Because it's a word (ie. 32 bit) there's a custom 32-bit version of test_and_set_bit() or thereabouts in ItLpQueue.c. The xInUseWord is not shared with they hypervisor, so we can replace it with a spinlock and remove the custom code. There is also another locking mechanism (ItLpQueueInProcess). This is redundant because it's only manipulated while the lock's held. Remove it. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ffe1b7e14e6b606bd84cab564aa2f481dbd4e418 Author: Michael Ellerman Date: Thu Jun 30 15:16:48 2005 +1000 [PATCH] ppc64: Formatting cleanups in arch/ppc64/kernel/ItLpQueue.c Just formatting cleanups: * rename some "nextLpEvent" variables to just "event" * make code fit in 80 columns * use brackets around if/else * use a temporary to make hvlpevent_clear_valid clearer Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 38fcdcfe38fc3f8972c906db64cd7d540b7760e8 Author: Michael Ellerman Date: Thu Jun 30 15:16:28 2005 +1000 [PATCH] ppc64: Cleanup whitespace in arch/ppc64/kernel/ItLpQueue.c Just cleanup white space. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9b0470200a2441766599ad84f92ab9daca8ed86d Author: Michael Ellerman Date: Thu Jun 30 15:16:18 2005 +1000 [PATCH] ppc64: Cleanup proc printing of event types The code that prints event counts by type uses a hand-coded number of tabs to get the alignment right. Instead use a printf alignment which will allow allow us to use the event_type strings elsewhere in the future. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ed094150bdeb6eca691f1b7a05bd34d4d1a95488 Author: Michael Ellerman Date: Thu Jun 30 15:16:09 2005 +1000 [PATCH] ppc64: Simplify counting of lpevents, remove lpevent_count from paca Currently there's a per-cpu count of lpevents processed, a per-queue (ie. global) total count, and a count by event type. Replace all that with a count by event for each cpu. We only need to add it up int the proc code. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 74889802a1585af4e1652f0cb853ac22a65816a4 Author: Michael Ellerman Date: Thu Jun 30 15:15:53 2005 +1000 [PATCH] ppc64: Don't count number of events processed for caller Currently we count the number of lpevents processed in 3 seperate places. One of these counters is never read, so just remove it. This means hvlpevent_queue_process() no longer needs to return the number of events processed. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 937b31b114b5540f456ce1566aae67e02db41f2c Author: Michael Ellerman Date: Thu Jun 30 15:15:42 2005 +1000 [PATCH] ppc64: Rename ItLpQueue_* functions to hvlpevent_queue_* Now that we've renamed the xItLpQueue structure, rename the functions that operate on it also. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit a61874648d14450f4d397489527998e3dd1119de Author: Michael Ellerman Date: Thu Jun 30 15:15:32 2005 +1000 [PATCH] ppc64: Rename xItLpQueue to hvlpevent_queue The xItLpQueue is a queue of HvLpEvents that we're given by the Hypervisor. Rename xItLpQueue to hvlpevent_queue and make the type struct hvlpevent_queue. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ab354b637924beb33dcc23eedc9482f2c692188f Author: Michael Ellerman Date: Thu Jun 30 15:12:21 2005 +1000 [PATCH] ppc64: Move definition of xItLpQueue The xItLpQueue is declared in LparData.c, move it into ItLpQueue.c. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 0f6014b37e25e50724867c0a4127615427ec2a75 Author: Michael Ellerman Date: Thu Jun 30 15:08:56 2005 +1000 [PATCH] ppc64: Make two ItLpQueue related functions static External parties don't need to use ItLpQueue_getNextLpEvent() or ItLpQueue_clearValid(), they're internal to ItLpQueue.c Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 7b01328d455b50ff040d3a06b342ca370b1d8b0a Author: Michael Ellerman Date: Thu Jun 30 15:08:44 2005 +1000 [PATCH] ppc64: Move xItLpQueue proc code into ItLpQueue.c Move the code that displays xItLpQueue values in /proc into ItLpQueue.c. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 512d31d6a824a961f39b418f11480f678320e4f3 Author: Michael Ellerman Date: Thu Jun 30 15:08:27 2005 +1000 [PATCH] ppc64: Move initialisation of xItLpQueue into ItLpQueue.c The xItLpQueue is initalised manually in iSeries_setup_arch(). Move this code into ItLpQueue.c for a cleaner separation. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 1b19bc721416ae5bc813521d9e010a89f4816120 Author: Michael Ellerman Date: Thu Jun 30 15:07:57 2005 +1000 [PATCH] ppc64: Don't pass the pointers to xItLpQueue around Because there's only one ItLpQueue and we know where it is, ie. xItLpQueue, there's no point passing pointers to it it around all over the place. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ee48444b85f498d99592835f61125385d8e9c975 Author: Michael Ellerman Date: Thu Jun 30 15:07:48 2005 +1000 [PATCH] ppc64: Reorganise the paca initialisation macros This patch updates the macros that initialise the paca to remove the lpq parameter. It also rearranges them a bit with the hope of making them a bit clearer. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 0c885c175c06bdfe13e88d974d56a5e93ad2f544 Author: Michael Ellerman Date: Thu Jun 30 15:07:33 2005 +1000 [PATCH] ppc64: Move set_spread_lpevents() into ItLpQueue.c The only code outside ItLpQueue.c that refers to spread_lpevents is in set_apread_lpevents(), so move it inside ItLpQueue.c and make spread_lpevents static. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit fc07695386067a4abbd5ac8c7974059eae0b0a79 Author: Michael Ellerman Date: Thu Jun 30 15:07:21 2005 +1000 [PATCH] ppc64: Spread lpevents by default on iSeries With the previous patch in place, spreading lpevents by default becomes a one liner. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit bea248fb30c3122ece8c34798527fac431c1d7b0 Author: Michael Ellerman Date: Thu Jun 30 15:07:09 2005 +1000 [PATCH] ppc64: Remove lpqueue pointer from the paca on iSeries The iSeries code keeps a pointer to the ItLpQueue in its paca struct. But all these pointers end up pointing to the one place, ie. xItLpQueue. So remove the pointer from the paca struct and just refer to xItLpQueue directly where needed. The only complication is that the spread_lpevents logic was implemented by having a NULL lpqueue pointer in the paca on CPUs that weren't supposed to process events. Instead we just compare the spread_lpevents value to the processor id to get the same behaviour. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 Merge: 2949ccf9379678df66ecf2ca70ed4656159eacdd 0647d8cfd40f7974335884d73deef83feeffc2a0 Author: Linus Torvalds Date: Wed Jun 29 21:03:03 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 2949ccf9379678df66ecf2ca70ed4656159eacdd Author: Jeff Mahoney Date: Wed Jun 29 18:53:06 2005 -0400 [PATCH] reiserfs: enable attrs by default if saf The following patch enables attrs by default if the reiserfs_attrs_cleared bit is set in the superblock. This allows chattr-type attrs to be used without any further action by the user. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 869eb76e7b60ebd8f87a358b72e97fa0aef1d1f5 Author: Jeff Mahoney Date: Wed Jun 29 18:52:28 2005 -0400 [PATCH] reiserfs: Check if attrs are enabled for attr ioctls ReiserFS currently will allow the user to set/get attrs for files regardless if they are enabled. The patch checks to see if they are enabled, and returns -NOTTY if they are not. ext[23] doesn't need this check because attrs are always enabled. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 0b35ff23b2633eb996d666e5a49a5d49b8a6a2d3 Merge: 92dd7ca0af8f769569bde98a83b4a8f4daec6ac5 026d02a236f429eb61a1277166bd425f8514c431 Author: Linus Torvalds Date: Wed Jun 29 21:00:38 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 92dd7ca0af8f769569bde98a83b4a8f4daec6ac5 Merge: 164cad9bacc2cf190493d2ee4918dc2869ba6f53 da41119af78864d27ccbf505949df788d5e8aaf5 Author: Linus Torvalds Date: Wed Jun 29 20:59:55 2005 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0647d8cfd40f7974335884d73deef83feeffc2a0 Author: Tony Luck Date: Wed Jun 29 16:01:40 2005 -0700 [IA64] Update zx1_defconfig Signed-off-by: Tony Luck commit 06697eea4ce18870fbce82dffbb375e216145f47 Author: Tony Luck Date: Wed Jun 29 15:45:41 2005 -0700 [IA64] Update tiger_defconfig Signed-off-by: Tony Luck commit d18bfacff20f08aecf01bb971b110ca108eef3c7 Merge: a68db763af9b676590c3fe9ec3f17bf18015eb2f fd782a4a99d2d3e818b9465c427b10f7f027d7da Author: Tony Luck Date: Wed Jun 29 15:21:41 2005 -0700 Auto merge with /home/aegl/GIT/linus commit da41119af78864d27ccbf505949df788d5e8aaf5 Author: Russell King Date: Wed Jun 29 23:02:02 2005 +0100 [PATCH] ARM: Don't force SIGFPE We were forcing SIGFPE on to a user program for no good reason. Use send_sig_info() instead. Signed-off-by: Russell King commit 438a76167959061e371025f727fabec2ad9e70a7 Author: Russell King Date: Wed Jun 29 23:01:02 2005 +0100 [PATCH] ARM: Fix VFP to use do_div() VFP used __divdi3 64-bit division needlessly. Convert it to use our 64-bit by 32-bit division instead. Signed-off-by: Russell King commit b3402cf50efead37dd9553b90fbf1486e09fb78e Author: Tony Lindgren Date: Wed Jun 29 19:59:48 2005 +0100 [PATCH] ARM: 2771/1: Dynamic Tick support for OMAP, take 4 Patch from Tony Lindgren This patch adds support for Dynamic Tick Timer for OMAP. This patch is an updated version of ARM patch 2642/1 to make it work with the already integrated generic ARM dyntick support. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 026d02a236f429eb61a1277166bd425f8514c431 Author: Russell King Date: Wed Jun 29 18:45:19 2005 +0100 [PATCH] Serial: Split 8250 port table (part 2) Remove legacy ISA serial ports for Accent, Boca, Fourport, Hub6 and MCA from the architecture specific serial.h include. The only ports which remain in asm-*/serial.h are the platform specific entries. These should really be converted by platform maintainers to use a platform device, such as can be found in arch/arm/mach-footbridge/isa.c Signed-off-by: Russell King commit e763b90c41563a0f8258d379fe71a9a1f1fa5445 Author: Russell King Date: Wed Jun 29 18:41:51 2005 +0100 [PATCH] Serial: Disable OX950 transmitter for flow control Disable the transmitter whenever we want to prevent characters being transmitted by flow control. However, if we run out of characters to send and want to only disable the TX interrupt, allow that scenario. Signed-off-by: Russell King commit 0dd7a1aed7c34a39917c4faf75b4230c169e809b Author: Russell King Date: Wed Jun 29 18:40:53 2005 +0100 [PATCH] Serial: Check status of CTS when using flow control Fix bugme #4712: read the CTS status and set hw_stopped if CTS is not active when opening the port and/or enabling CRTSCTS Thanks to Stefan Wolff for spotting this problem. Signed-off-by: Russell King commit 20f720ccce8864583365d844d48d3fe8d0d171ad Author: Russell King Date: Wed Jun 29 18:26:19 2005 +0100 [PATCH] ARM: Remove nmi_tick from integrator platforms The nmi watchdog code hasn't been merged for this platform yet. Signed-off-by: Russell King commit c7e788766610bdc764d7150e69ace2e0c4196cf0 Author: Nicolas Pitre Date: Wed Jun 29 18:10:54 2005 +0100 [PATCH] ARM: 2723/2: remove __udivdi3 and __umoddi3 from the kernel Patch from Nicolas Pitre Those are big, slow and generally not recommended for kernel code. They are even not present on i386. So it should be concluded that one could as well get away with do_div() alone. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 164cad9bacc2cf190493d2ee4918dc2869ba6f53 Author: Prakash Punnoor Date: Wed Jun 29 14:13:54 2005 +0200 [PATCH] Don't fill up log with atxp1 vcore messages change message I am using the atxp1 module to change vcore on my NForce2 via userspace daemon (see punnoor.de). Currently the atxp1 module will write to the log on every vcore change, thus filling up my log - which I don't want. I am no kernel coder, but I guess, this one-liner will change this behaviour in a wanted way, ie output will be made for debug purposes only. Signed-off-by: Prakash Punnoor Signed-off-by: Linus Torvalds commit fd782a4a99d2d3e818b9465c427b10f7f027d7da Author: Hugh Dickins Date: Wed Jun 29 15:15:40 2005 +0100 [PATCH] Fix get_request nastiness get_request is now expected to be holding on to queue_lock, with interrupts disabled, when it returns NULL; but one path forgot that, causing all kinds of nastiness under swap load - badness backtraces, strange failures, BUGs. Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds commit 541cecac534ea0df95fbc76b0a3091e91b101895 Author: Linus Torvalds Date: Wed Jun 29 08:43:49 2005 -0700 Remove duplicate mention of "edd" in Documentation/kernel-parameters.txt commit aaaa3f9e51245be3215ff67bb3c7aaf5abb82f00 Author: Catalin Marinas Date: Wed Jun 29 15:34:39 2005 +0100 [PATCH] ARM: 2769/1: cpu_init() stack setup fix Patch from Catalin Marinas The compiler allocates r14 for the stk variable in the __asm__ directive. This is a shadowed register and gets changed when the mode is changed, causing random values in the SP register. The patch adds a clobber for the r14 register. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 9ec3c75cdeb57fa3c12a813c63706ece7fb63648 Author: Richard Purdie Date: Wed Jun 29 15:17:49 2005 +0100 [PATCH] ARM: 2768/1: PXA: Add a required header file for LL_DEBUG Patch from Richard Purdie With DEBUG enabled, head.S includes arch/debug-macro.S. On the PXA, this contains references to the macro io_p2v() so hardware.h needs to be included. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b720f73296916e87c744193c57bc8687d35888fe Author: Russell King Date: Wed Jun 29 15:15:54 2005 +0100 [PATCH] ARM: Convert ARM timer implementations to use readl/writel Convert ARMs timer implementations to use readl/writel instead of accessing the registers via a struct. People have recently asked if accessing timers via a structure is the "right way" and its not the Linux way. So fix this code to conform to "The Linux Way"(tm). Signed-off-by: Russell King Acked-by: Catalin Marinas commit bd7bcf52dabba9c391142fd515221fcb87b7c712 Author: Thomas Gleixner Date: Thu Jun 23 10:38:54 2005 +0100 [MTD] NAND: Add ST chip IDs. From: Domenico DI TULLIO Signed-off-by: Thomas Gleixner commit af2c80e926ad5335d00a8d507928aff4e8ff1877 Author: ? Date: Mon Jun 20 13:22:55 2005 +0100 [MTD] ms02-nv: Fix 64bit operation Replace KSEG1ADDR() with CKSEG1ADDR() as the former does not work for 64-bit configurations anymore. Signed-off-by: Maciej W. Rozycki Signed-off-by: Thomas Gleixner commit a4f957f16d41b9ff944dddd84c4892496a129f68 Author: Ben Dooks Date: Mon Jun 20 12:48:25 2005 +0100 [MTD] NAND: s3c24xx updates Fix error in timing generation, Tacls is only in the range 0..3 Add proper support for the s3c2440 NAND controller, which has now been tested on several s3c2440 implementations. Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit d7e78d4f2173298c34e88f496c3acea247feec61 Author: Thomas Gleixner Date: Fri Jun 17 16:02:09 2005 +0100 [MTD] NAND: Change exports to _GPL Signed-off-by: Thomas Gleixner commit c9e0536523f5191395d62f6c84d007e6ffd38d33 Author: Thomas Gleixner Date: Tue Jun 14 16:39:57 2005 +0100 [MTD] NAND: Fix broken bad block table scan Make the bad block table search functional again Signed-off-by: Thomas Gleixner commit bfabb98688e7089381baa0974f7ff6786ce2a2d0 Author: Sean Young Date: Mon Jun 13 14:08:48 2005 +0100 [MTD] Use correct major number for INFTL inftl was assigned new major number 96, 94 is in use by dasd. See: http://www.ussg.iu.edu/hypermail/linux/kernel/0409.2/1220.html Signed-off-by: Sean Young Signed-off-by: Thomas Gleixner commit be76c5fb406fad93ab93ba39e7858e03d58c5d30 Author: Joern Engel Date: Tue Jun 7 16:04:29 2005 +0100 [MTD] Fix commandline parser alignement Add alignment to cmdline. From: "Timofei V. Bondarenko" Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 02b15e343aeefb49f8cac949be599d78250a568f Author: Todd Poynor Date: Tue Jun 7 00:04:39 2005 +0100 [MTD] XIP for AMD CFI flash. Author: Vitaly Wool Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 0dfc62465ef92c7ddcb1ba223bf062453566fd0f Author: Thomas Gleixner Date: Tue May 31 20:39:20 2005 +0100 [MTD] NAND: Reorganize chip locking The code was wrong in several aspects. The locking order was inconsistent, the device aquire code did not reset a variable after a wakeup and the wakeup handling was not working for applications where multiple chips are sharing a single hardware controller. When a hardware controller is available the locking is now reduced to the hardware controller lock and the waitqueue is moved to the hardware controller structure in order to avoid a wake_up_all(). The problem was pointed out by Ben Dooks, who also found the missing variable reset as main cause for his deadlock problem. Signed-off-by: Thomas Gleixner commit 6904b2465cf30265a67711025815784aa345bfad Author: Ben Dooks Date: Wed Jun 29 11:09:15 2005 +0100 [PATCH] ARM: 2765/1: S3C24XX - small cleanups in arch/arm/mach-s3c2410 Patch from Ben Dooks Re-tab the devs.c file, and change the initialiser for the mach-vr1000.c to use `.xxx = yyy` form. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f705b1aed7002495a504086705ff9725ed9412dc Author: Ben Dooks Date: Wed Jun 29 11:09:15 2005 +0100 [PATCH] ARM: 2764/1: S3C24XX - Common PM functions for Simtec boards Patch from Ben Dooks All current S3C24XX implementations from Simtec share the same requirements for suspend/resume information. This patch moves the save code out of the mach-bast.c file, and into it's own so it can be shared by all the current Simtec S3C24XX implementations. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c5f4644e6c8ba21666128603e4e92544d3cd740d Author: Russell King Date: Wed Jun 29 09:42:38 2005 +0100 [PATCH] Serial: Adjust serial locking This patch changes the way serial ports are locked when getting modem status. This change is necessary because we will need to atomically read the modem status and take action depending on the CTS status. Signed-off-by: Russell King commit 99a0616bcdabec9005159e50af91a36cc3f8bda8 Merge: a839688362e32f01608838516036697e30618b39 053a7b5b7617a72d7c61b6f84196d1c0f79b9849 Author: Russell King Date: Wed Jun 29 09:40:28 2005 +0100 Merge with ../linux-2.6-smp commit 4c91aedb75d1b87deccf16d58f67fb46402d7d44 Author: Linus Torvalds Date: Tue Jun 28 22:57:29 2005 -0700 Linux v2.6.13-rc1 Ok, a lot of things were pending after the 2.6.12 release, let's try to start calming things down again. commit b9a05d1d51e27681e8a1162d8f11c1820915e921 Author: Jeff Garzik Date: Wed Jun 29 01:17:55 2005 -0400 [PATCH] ieee80211.h build fix This crept in with the resync-to-mainline. Nothing uses 802.11-crypt in mainline, so we can safely comment it out for now. Signed-off-by: Jeff Garzik Signed-off-by: Linus Torvalds commit a839688362e32f01608838516036697e30618b39 Merge: 2fa938b8a3964c21b23d9d095091e7abc88249c5 12dc2fdd3e6067f5137e4a6d8af0b1a994952f52 Author: Linus Torvalds Date: Tue Jun 28 21:24:32 2005 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 2fa938b8a3964c21b23d9d095091e7abc88249c5 Author: Dave Jones Date: Tue Jun 28 20:08:29 2005 -0400 [PATCH] sis 760 support. This patch adds the SiS 760 ID to the amd64-agp driver, so that agpgart can be used on Athlon64 boards based on this chip. Signed-off-by: Daniel Drake Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 2668fb91cbfbd5e6799017a3579f20309aac758b Author: William Lee Irwin III Date: Tue Jun 28 20:45:31 2005 -0700 [PATCH] sparc32: Kconfig fixups Something reverted most of the arch/sparc/Kconfig changes, leaving arch/sparc/ unconfigurable. This patch re-removes the parts made redundant by drivers/Kconfig in addition to a mysterious, spurious second instance of source "mm/Kconfig". cvs strikes again? Signed-off-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84da7c0844f8ab7668559c61e4f0af416fc58cf6 Author: Randy Dunlap Date: Tue Jun 28 20:45:30 2005 -0700 [PATCH] Doc/Submitting: corrections, additions Corrections to Documentation/Submitting{Drivers,Patches} - update LANANA info. - fix some typos - update 2.2 kernel maintainer info. - update 'dontdiff' info. - update URLs for patch scripts - add Trivial Patch Monkey URL - add more references for submitting patches Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6623e6205e36c310367009f3b01f5cbe7cc0005d Author: Mauro Carvalho Chehab Date: Tue Jun 28 20:45:28 2005 -0700 [PATCH] V4L: documentation changes - mostly new cards included New cards included. V4L1 api renamed. Message included informing it is obsoleted by V4L2 API. V4L2 api included. Mark all 7135 cards as 7133. Signed-off-by: Luc Saillard . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Hermann Pitton Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 115d6f3fd25991f2a7de1ff4d758086209b1ed12 Author: Mauro Carvalho Chehab Date: Tue Jun 28 20:45:27 2005 -0700 [PATCH] V4L: API new webcam formats included Add Philips Webcam format. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Luc Saillard . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 060d3027f26aab9adeac8ff6d1184bca67c7d174 Author: Mauro Carvalho Chehab Date: Tue Jun 28 20:45:25 2005 -0700 [PATCH] v4l: bttv new insmod parameters * bttv-driver.c, bttvp.h: - New bttv module params: - uv_ratio : allow a ratio of saturation between u and v. If you have a ratio of 40 and a saturation of 100, usat will be 80 and vstat 120. Useful to correct a bad color balance. - full_luma_range : provide a better contrast in using the full range 0-253 of values instead of 16-253. - coring : to have a better black level. - radio range is now defined on tuner-core.c. Cleaning up. * bttvp.h: - Fix gcc 4.0 compilation Signed-off-by: Jorik Jonker Signed-off-by: Sylvain Meyer Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Nickolay V Shmyrev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 586b0cab2516640fec4dffc3049c4d8bca188f89 Author: Mauro Carvalho Chehab Date: Tue Jun 28 20:45:21 2005 -0700 [PATCH] v4l: tuner improvements *tuner-core.c: - some tuner_info msgs will be generated only if insmod opt tuner_debug enabled. - Implemented tuner-core support for VIDIO_S_TUNER to allow changing mono/stereo mode - Remove unneeded config options. - I2C_CLIENT_MULTI option removed. - support for Philips FMD12ME hybrid tuner - allow to initialize with another tuner - Move PHILIPS_FMD initialization code to set_type function, * tda8290: - Fix dumb error in tda8290 tunning. - Radio tuner uses high-precision step instead of 62.5 KHz. *tea5767.c: - tuner_info msgs will be generated only if insmod tuner option tuner_debug enabled. - some cleanups for better reading. - Radio tuner uses high-precision step instead of 62.5 KHz. - Changing radio mode stereo/mono for tea5767 working. *tuner-simple.c: - TNF9533-D/IF UHF fixup. - Radio tuners now uses high-precision step instead of 62.5 KHz. *mt20xx.c: - Radio tuner uses high-precision step instead of 62.5 KHz. *tda9887.c: - tab and blank spaces corrections. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Gerd Knorr Signed-off-by: Nickolay V Shmyrev Signed-off-by: Hartmut Hackmann Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96b6aba08762f09e5dfa616854cb80ce054a7bf8 Author: Mauro Carvalho Chehab Date: Tue Jun 28 20:45:20 2005 -0700 [PATCH] V4L maintainer patch This patch updates maintainer info for BTTV and V4L. Signed-off-by: Mauro Carvalho Chehab Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 200803dfe4ff772740d63db725ab2f1b185ccf92 Author: Alan Cox Date: Tue Jun 28 20:45:18 2005 -0700 [PATCH] irqpoll Anyone reporting a stuck IRQ should try these options. Its effectiveness varies we've found in the Fedora case. Quite a few systems with misdescribed IRQ routing just work when you use irqpoll. It also fixes up the VIA systems although thats now fixed with the VIA quirk (which we could just make default as its what Redmond OS does but Linus didn't like it historically). A small number of systems have jammed IRQ sources or misdescribes that cause an IRQ that we have no handler registered anywhere for. In those cases it doesn't help. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: