commit 82d6897fefca6206bca7153805b4c5359ce97fc4 Author: Linus Torvalds Date: Sat Jul 15 14:53:08 2006 -0700 Linux 2.6.18-rc2 Finishing up for the kernel summit. Ottawa, here I come. Signed-off-by: Linus Torvalds commit b5032a50aea76b6230db74b1d171a7f56b204bb7 Author: Jeff Dike Date: Fri Jul 14 15:52:23 2006 -0400 [PATCH] UML - fix utsname build breakage Some -mm-only material leaked into a patch destined for mainline, and I didn't notice. This was the replacement of system_utsname with utsname() that's required by the uts namespace patch. This patch reverts those changes (which are correct in -mm) so that mainline UML builds again. Signed-off-by: Jeff Dike Signed-off-by: Linus Torvalds commit 6d76fa58b050044994fe25f8753b8023f2b36737 Author: Linus Torvalds Date: Sat Jul 15 12:26:45 2006 -0700 Don't allow chmod() on the /proc// files This just turns off chmod() on the /proc// files, since there is no good reason to allow it, and had we disallowed it originally, the nasty /proc race exploit wouldn't have been possible. The other patches already fixed the problem chmod() could cause, so this is really just some final mop-up.. This particular version is based off a patch by Eugene and Marcel which had much better naming than my original equivalent one. Signed-off-by: Eugene Teo Signed-off-by: Marcel Holtmann Signed-off-by: Linus Torvalds commit 92d032855e64834283de5acfb0463232e0ab128e Author: Linus Torvalds Date: Sat Jul 15 12:20:05 2006 -0700 Mark /proc MS_NOSUID and MS_NOEXEC Not that we really need this any more, but at the same time there's no reason not to do this. Signed-off-by: Linus Torvalds commit 2724a1a55f847e2b5007cf294e03cfa09d0d22f3 Author: Dave Jones Date: Sat Jul 15 03:41:12 2006 -0400 [PATCH] sch_htb compile fix. net/sched/sch_htb.c: In function 'htb_change_class': net/sched/sch_htb.c:1605: error: expected ';' before 'do_gettimeofday' Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 52393ccc0a53c130f31fbbdb8b40b2aadb55ee72 Author: Steven Rostedt Date: Fri Jul 14 16:05:03 2006 -0400 [PATCH] remove set_wmb - arch removal set_wmb should not be used in the kernel because it just confuses the code more and has no benefit. Since it is not currently used in the kernel this patch removes it so that new code does not include it. All archs define set_wmb(var, value) to do { var = value; wmb(); } while(0) except ia64 and sparc which use a mb() instead. But this is still moot since it is not used anyway. Hasn't been tested on any archs but x86 and x86_64 (and only compiled tested) Signed-off-by: Steven Rostedt Signed-off-by: Linus Torvalds commit f92213bae062cf88c099fbfd3040fef512b19905 Author: Steven Rostedt Date: Fri Jul 14 16:05:01 2006 -0400 [PATCH] remove set_wmb - doc update This patch removes the reference to set_wmb from memory-barriers.txt since it shouldn't be used. Signed-off-by: Steven Rostedt Signed-off-by: Linus Torvalds commit bb129994c3bff9c5e8df91f05d7e9b6402fbd83f Author: Shailabh Nagar Date: Fri Jul 14 00:24:47 2006 -0700 [PATCH] Remove down_write() from taskstats code invoked on the exit() path In send_cpu_listeners(), which is called on the exit path, a down_write() was protecting operations like skb_clone() and genlmsg_unicast() that do GFP_KERNEL allocations. If the oom-killer decides to kill tasks to satisfy the allocations,the exit of those tasks could block on the same semphore. The down_write() was only needed to allow removal of invalid listeners from the listener list. The patch converts the down_write to a down_read and defers the removal to a separate critical region. This ensures that even if the oom-killer is called, no other task's exit is blocked as it can still acquire another down_read. Thanks to Andrew Morton & Herbert Xu for pointing out the oom related pitfalls, and to Chandra Seetharaman for suggesting this fix instead of using something more complex like RCU. Signed-off-by: Chandra Seetharaman Signed-off-by: Shailabh Nagar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9fd8914c1acca0d98b69d831b128d5b52f03c51 Author: Shailabh Nagar Date: Fri Jul 14 00:24:47 2006 -0700 [PATCH] per-task delay accounting taskstats interface: control exit data through cpumasks On systems with a large number of cpus, with even a modest rate of tasks exiting per cpu, the volume of taskstats data sent on thread exit can overflow a userspace listener's buffers. One approach to avoiding overflow is to allow listeners to get data for a limited and specific set of cpus. By scaling the number of listeners and/or the cpus they monitor, userspace can handle the statistical data overload more gracefully. In this patch, each listener registers to listen to a specific set of cpus by specifying a cpumask. The interest is recorded per-cpu. When a task exits on a cpu, its taskstats data is unicast to each listener interested in that cpu. Thanks to Andrew Morton for pointing out the various scalability and general concerns of previous attempts and for suggesting this design. [akpm@osdl.org: build fix] Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Signed-off-by: Chandra Seetharaman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8924363da07aec213e5d359f23eeae1fff91951 Author: Shailabh Nagar Date: Fri Jul 14 00:24:46 2006 -0700 [PATCH] per-task delay accounting: avoid send without listeners Don't send taskstats (per-pid or per-tgid) on thread exit when no one is listening for such data. Currently the taskstats interface allocates a structure, fills it in and calls netlink to send out per-pid and per-tgid stats regardless of whether a userspace listener for the data exists (netlink layer would check for that and avoid the multicast). As a result of this patch, the check for the no-listener case is performed early, avoiding the redundant allocation and filling up of the taskstats structures. Signed-off-by: Balbir Singh Signed-off-by: Shailabh Nagar Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e06d3f9f6b14f6e3120923ed215032726246c98 Author: Shailabh Nagar Date: Fri Jul 14 00:24:45 2006 -0700 [PATCH] per task delay accounting taskstats interface: documentation fix Change documentation and example program to reflect the flow control issues being addressed by the cpumask changes. Signed-off-by: Shailabh Nagar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad4ecbcba72855a2b5319b96e2a3a65ed1ca3bfd Author: Shailabh Nagar Date: Fri Jul 14 00:24:44 2006 -0700 [PATCH] delay accounting taskstats interface send tgid once Send per-tgid data only once during exit of a thread group instead of once with each member thread exit. Currently, when a thread exits, besides its per-tid data, the per-tgid data of its thread group is also sent out, if its thread group is non-empty. The per-tgid data sent consists of the sum of per-tid stats for all *remaining* threads of the thread group. This patch modifies this sending in two ways: - the per-tgid data is sent only when the last thread of a thread group exits. This cuts down heavily on the overhead of sending/receiving per-tgid data, especially when other exploiters of the taskstats interface aren't interested in per-tgid stats - the semantics of the per-tgid data sent are changed. Instead of being the sum of per-tid data for remaining threads, the value now sent is the true total accumalated statistics for all threads that are/were part of the thread group. The patch also addresses a minor issue where failure of one accounting subsystem to fill in the taskstats structure was causing the send of taskstats to not be sent at all. The patch has been tested for stability and run cerberus for over 4 hours on an SMP. [akpm@osdl.org: bugfixes] Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25890454667b3295f67b3372352be90705f8667c Author: Shailabh Nagar Date: Fri Jul 14 00:24:43 2006 -0700 [PATCH] per-task-delay-accounting: /proc export of aggregated block I/O delays Export I/O delays seen by a task through /proc//stats for use in top etc. Note that delays for I/O done for swapping in pages (swapin I/O) is clubbed together with all other I/O here (this is not the case in the netlink interface where the swapin I/O is kept distinct) [akpm@osdl.org: printk warning fix] Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3baf649ca9ca0a96fba538f03b0f17c043b755c Author: Shailabh Nagar Date: Fri Jul 14 00:24:42 2006 -0700 [PATCH] per-task-delay-accounting: documentation Some documentation for delay accounting. Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f44993fe1d7b2b097f6ac60cd5835c6f5ca0874 Author: Shailabh Nagar Date: Fri Jul 14 00:24:41 2006 -0700 [PATCH] per-task-delay-accounting: delay accounting usage of taskstats interface Usage of taskstats interface by delay accounting. Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c757249af152c59fd74b85e52e8c090acb33d9c0 Author: Shailabh Nagar Date: Fri Jul 14 00:24:40 2006 -0700 [PATCH] per-task-delay-accounting: taskstats interface Create a "taskstats" interface based on generic netlink (NETLINK_GENERIC family), for getting statistics of tasks and thread groups during their lifetime and when they exit. The interface is intended for use by multiple accounting packages though it is being created in the context of delay accounting. This patch creates the interface without populating the fields of the data that is sent to the user in response to a command or upon the exit of a task. Each accounting package interested in using taskstats has to provide an additional patch to add its stats to the common structure. [akpm@osdl.org: cleanups, Kconfig fix] Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb0ba6bd021248b6bdc58a7b1213a55a6776a38a Author: Balbir Singh Date: Fri Jul 14 00:24:39 2006 -0700 [PATCH] per-task-delay-accounting: utilities for genetlink usage Two utilities for simplifying usage of NETLINK_GENERIC interface. Signed-off-by: Balbir Singh Signed-off-by: Shailabh Nagar Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52f17b6c2bd443e7806a161e9d10a983650db01d Author: Chandra Seetharaman Date: Fri Jul 14 00:24:38 2006 -0700 [PATCH] per-task-delay-accounting: cpu delay collection via schedstats Make the task-related schedstats functions callable by delay accounting even if schedstats collection isn't turned on. This removes the dependency of delay accounting on schedstats. Signed-off-by: Chandra Seetharaman Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ff922452df86f3e9a2c6f705c4588ec62d096a7 Author: Shailabh Nagar Date: Fri Jul 14 00:24:37 2006 -0700 [PATCH] per-task-delay-accounting: sync block I/O and swapin delay collection Unlike earlier iterations of the delay accounting patches, now delays are only collected for the actual I/O waits rather than try and cover the delays seen in I/O submission paths. Account separately for block I/O delays incurred as a result of swapin page faults whose frequency can be affected by the task/process' rss limit. Hence swapin delays can act as feedback for rss limit changes independent of I/O priority changes. Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca74e92b4698276b6696f15a801759f50944f387 Author: Shailabh Nagar Date: Fri Jul 14 00:24:36 2006 -0700 [PATCH] per-task-delay-accounting: setup Initialization code related to collection of per-task "delay" statistics which measure how long it had to wait for cpu, sync block io, swapping etc. The collection of statistics and the interface are in other patches. This patch sets up the data structures and allows the statistics collection to be disabled through a kernel boot parameter. Signed-off-by: Shailabh Nagar Signed-off-by: Balbir Singh Cc: Jes Sorensen Cc: Peter Chubb Cc: Erich Focht Cc: Levent Serinol Cc: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8f4d97e1b58b50ad6449bb2d35e6632c0236abd Author: Shailabh Nagar Date: Fri Jul 14 00:24:35 2006 -0700 [PATCH] list_is_last utility Add another list utility function to check for last element in a list. Signed-off-by: Shailabh Nagar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22caf04297896e515c6d5cdfb8e08a79a523946c Author: Mike Rapoport Date: Fri Jul 14 00:24:34 2006 -0700 [PATCH] mbxfb: Add framebuffer driver for the Intel 2700G Add frame buffer driver for the 2700G LCD controller present on CompuLab CM-X270 computer module. [adaplas] - Add more informative help text to Kconfig - Make DEBUG a Kconfig option as FB_MBX_DEBUG - Remove #include mbxdebug.c, this is frowned upon - Remove redundant casts - Arrange #include's alphabetically - Trivial whitespace Signed-off-by: Mike Rapoport Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b04ea3cebf79d6808632808072f276dbc98aaf01 Author: Eric Paris Date: Fri Jul 14 00:24:33 2006 -0700 [PATCH] Fix security check for joint context= and fscontext= mount options After some discussion on the actual meaning of the filesystem class security check in try context mount it was determined that the checks for the context= mount options were not correct if fscontext mount option had already been used. When labeling the superblock we should be checking relabel_from and relabel_to. But if the superblock has already been labeled (with fscontext) then context= is actually labeling the inodes, and so we should be checking relabel_from and associate. This patch fixes which checks are called depending on the mount options. Signed-off-by: Eric Paris Acked-by: Stephen Smalley Acked-by: James Morris Cc: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 517e7aa5b022f9dc486639c7689666663daee24f Author: Adrian Bunk Date: Fri Jul 14 00:24:32 2006 -0700 [PATCH] let the the lockdep options depend on DEBUG_KERNEL The lockdep options should depend on DEBUG_KERNEL since: - they are kernel debugging options and - they do otherwise break the DEBUG_KERNEL menu structure Signed-off-by: Adrian Bunk Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3c36aa98f8e39544afb99025bb69bc1b48e9bf0 Author: Kylene Jo Hall Date: Fri Jul 14 00:24:31 2006 -0700 [PATCH] tpm_tis: use resource_size_t Fix the start and len variables that should be using the new resource_size_t. Signed_off_by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e323d3ee0ba9381af494641e1e87a8d372f916b Author: Kylene Jo Hall Date: Fri Jul 14 00:24:31 2006 -0700 [PATCH] tpm: Add force device probe option Some machine manufacturers are not sticking to the TCG specifications and including an ACPI DSDT entry for the TPM which allows PNP discovery of the device. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cab091eaa4952777d3183b6d7ce203a213cddc12 Author: Kylene Jo Hall Date: Fri Jul 14 00:24:30 2006 -0700 [PATCH] tpm: interrupt clear fix Under stress testing I found that the interrupt is not always cleared. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 737bebd137561e184f0a8b4332d9bb0238d8b639 Author: Al Viro Date: Fri Jul 14 00:24:29 2006 -0700 [PATCH] symlink nesting level change It's way past time to bump it to 8. Everyone had been warned - for months now. RH kernels have had this for more than a year. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5df5881e2a2ff2be62608de1a156ac6d2352fc2 Author: Randy Dunlap Date: Fri Jul 14 00:24:29 2006 -0700 [PATCH] actual mailing list in MAINTAINERS Add actual mailing list email addresses for the 4 that were only listing a web page. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e82636a3dd8d3cf1ba87380608da4f6a0f6ec47 Author: Randy Dunlap Date: Fri Jul 14 00:24:28 2006 -0700 [PATCH] TPM: fix failure path leak kfree(devname) on the misc_register() failure path. Otherwise it is lost forever. Signed-off-by: Randy Dunlap Cc: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a5f5e488ceee9e08df3dff3f01b12fafc9e7e68 Author: Ingo Molnar Date: Fri Jul 14 00:24:27 2006 -0700 [PATCH] lockdep: core, fix rq-lock handling on __ARCH_WANT_UNLOCKED_CTXSW On platforms that have __ARCH_WANT_UNLOCKED_CTXSW set and want to implement lock validator support there's a bug in rq->lock handling: in this case we dont 'carry over' the runqueue lock into another task - but still we did a spinlock_release() of it. Fix this by making the spinlock_release() in context_switch() dependent on !__ARCH_WANT_UNLOCKED_CTXSW. (Reported by Ralf Baechle on MIPS, which has __ARCH_WANT_UNLOCKED_CTXSW. This fixes a lockdep-internal BUG message on such platforms.) Signed-off-by: Ingo Molnar Cc: Ralf Baechle Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e8f7a3128bb8fac8351a994f1fc325717899308 Author: Jim Cromie Date: Fri Jul 14 00:24:26 2006 -0700 [PATCH] gpio: rename exported vtables to better match purpose - rename EXPORTed gpio vtables from {scx200,pc8736x}_access to _gpio_ops new name is much closer to the vtable-name struct nsc_gpio_ops, should be clearer. Also rename the _fops vtable var to _fileops to better disambiguate it from the gpio vtable. Signed-off-by: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abecb6da704a71232a3103c8485c65ceb5fcd9dc Author: Jim Cromie Date: Fri Jul 14 00:24:26 2006 -0700 [PATCH] gpio: cosmetics: remove needless newlines - pure cosmetics: lose needless newlines. - rename EXPORTed gpio vtables from {scx200,pc8736x}_access to _gpio_ops new name is much closer to the vtable-name struct nsc_gpio_ops, should be clearer. Also rename the _fops vtable var to _fileops to better disambiguate it from the gpio vtable. Signed-off-by: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91e260b80d2fec559877f399dfc36b554f207874 Author: Jim Cromie Date: Fri Jul 14 00:24:25 2006 -0700 [PATCH] gpio: drop vtable members .gpio_set_high .gpio_set_low gpio_set is enough drops gpio_set_high, gpio_set_low from the nsc_gpio_ops vtable. While we can't drop them from scx200_gpio (or can we?), we dont need them for new users of the exported vtable; gpio_set(1), gpio_set(0) work fine. Signed-off-by: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9432e4d8866606466117664472c58ac981ea4f4 Author: Rolf Eike Beer Date: Fri Jul 14 00:24:24 2006 -0700 [PATCH] Remove pci_dac_set_dma_mask() from Documentation/DMA-mapping.txt pci_dac_set_dma_mask() gives only a single match in the whole kernel tree and that's in this doc file. The best candidate for replacement is pci_dac_dma_supported(). Signed-off-by: Rolf Eike Beer Cc: Greg KH Acked-by: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d247e2c661f28a21e5f9a8d672e1e88a7c1c5d4a Author: Rolf Eike Beer Date: Fri Jul 14 00:24:23 2006 -0700 [PATCH] add function documentation for register_chrdev() Documentation for register_chrdev() was missing completely. [akpm@osdl.org: kerneldocification] Signed-off-by: Rolf Eike Beer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c259cc281255bdb30ceba190bfd7f37e3ae3fc85 Author: Roland Dreier Date: Fri Jul 14 00:24:23 2006 -0700 [PATCH] Convert idr's internal locking to _irqsave variant Currently, the code in lib/idr.c uses a bare spin_lock(&idp->lock) to do internal locking. This is a nasty trap for code that might call idr functions from different contexts; for example, it seems perfectly reasonable to call idr_get_new() from process context and idr_remove() from interrupt context -- but with the current locking this would lead to a potential deadlock. The simplest fix for this is to just convert the idr locking to use spin_lock_irqsave(). In particular, this fixes a very complicated locking issue detected by lockdep, involving the ib_ipoib driver's priv->lock and dev->_xmit_lock, which get involved with the ib_sa module's query_idr.lock. Cc: Arjan van de Ven Cc: Ingo Molnar Cc: Zach Brown , Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fbe82a952790c634ea6035c223a01a81377daf1 Author: Jeff Mahoney Date: Fri Jul 14 00:24:22 2006 -0700 [PATCH] reiserfs: fix handling of device names with /'s in them On systems with block devices containing a slash (virtual dasd, cciss, etc), reiserfs will fail to initialize /proc/fs/reiserfs/ due to it being interpreted as a subdirectory. The generic block device code changes the / to ! for use in the sysfs tree. This patch uses that convention. Tested by making dm devices use dm/ rather than dm- [akpm@osdl.org: name variables consistently] Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bca3bffec9f37d4cb60b80fd0067f9c7550b5d57 Author: Chris Boot Date: Fri Jul 14 00:24:21 2006 -0700 [PATCH] net48xx LED cleanups Add the DRVNAME define to remove the two separate references of the driver name by string, and move the .driver.owner into the existing .driver sub-structure. Signed-off-by: Chris Boot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4afee02a5dd4f20c08fca26e9b610e72d0bcbf0 Author: OGAWA Hirofumi Date: Fri Jul 14 00:24:18 2006 -0700 [PATCH] Fix sighand->siglock usage in kernel/acct.c IRQs must be disabled before taking ->siglock. Noticed by lockdep. Signed-off-by: OGAWA Hirofumi Cc: Arjan van de Ven Cc: Ingo Molnar Cc: "Eric W. Biederman" Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e143475c22036847f898d7e76ba337c1d7dbf6f Author: john stultz Date: Fri Jul 14 00:24:17 2006 -0700 [PATCH] improve timekeeping resume robustness Resolve problems seen w/ APM suspend. Due to resume initialization ordering, its possible we could get a timer interrupt before the timekeeping resume() function is called. This patch ensures we don't do any timekeeping accounting before we're fully resumed. (akpm: fixes the machine-freezes-on-APM-resume bug) Signed-off-by: John Stultz Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 635adb6cd25c8f816c9017a0a0349cd389eafcd3 Author: Jim Cromie Date: Fri Jul 14 00:24:16 2006 -0700 [PATCH] scx200_gpio: use 1 cdev for N minors, not N for N Remove the scx200_gpio's cdev-array & ksalloc, replacing it with a single static struct cdev, which is sufficient for all the pins. cdev_put is commented out since kernel wont link properly with it, and its apparently not needed. With these patches, this driver continues to work with Chris Boot's leds_48xx driver. Signed-off-by Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae2d1f2f5b59d00b39283c52dc4ee675397bbacd Author: Jim Cromie Date: Fri Jul 14 00:24:16 2006 -0700 [PATCH] scx200_gpio: 1 cdev for N minors: cleanup, prep this patch is mostly cleanup of scx200_gpio : - drop #include - s/DEVNAME/DRVNAME/ apparently a convention - replace variable num_pins with #define MAX_PINS - s/dev/devid/ to clarify that its a dev_t, not a struct device dev. - move devid = MKDEV(major,0) into branch where its needed. 2 minor 'changes' : - reduced MAX_PINS from 64 to 32. Ive never tested other pins, and theyre all multiplexed with other functions, some of which may be in use on my soekris 4801, so I dont know what testing should yield. - +EXPORT_SYMBOL(scx200_access); This exposes the driver's vtable, which another driver can use along with #include , to manipulate a gpio-pin. Signed-off-by Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bc02d8412b422388f86b09ae40d762c0bc05290 Author: Adrian Bunk Date: Fri Jul 14 00:24:15 2006 -0700 [PATCH] unexport open_softirq Christoph Hellwig: open_softirq just enables a softirq. The softirq array is statically allocated so to add a new one you would have to patch the kernel. So there's no point to keep this export at all as any user would have to patch the enum in include/linux/interrupt.h anyway. Signed-off-by: Adrian Bunk Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cccedb1a4af9e96781f206acad638c05364e73ca Author: Adrian Bunk Date: Fri Jul 14 00:24:14 2006 -0700 [PATCH] drivers/block/cpqarray.c: remove an unused variable Signed-off-by: Adrian Bunk Acked-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60198f9992db1e36d5b4cc1526ff29550f7d002c Author: Luca Tettamanti Date: Fri Jul 14 00:24:13 2006 -0700 [PATCH] Add try_to_freeze() to rt-test kthreads When CONFIG_RT_MUTEX_TESTER is enabled kernel refuses to suspend the machine because it's unable to freeze the rt-test-* threads. Add try_to_freeze() after schedule() so that the threads will be freezed correctly; I've tested the patch and it lets the notebook suspends and resumes nicely. Signed-off-by: Luca Tettamanti Cc: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca60c59032b2c2babc0003cf01015aff340b79 Author: Arjan van de Ven Date: Fri Jul 14 00:24:12 2006 -0700 [PATCH] lockdep: annotate the BLKPG_DEL_PARTITION ioctl The delete partition IOCTL takes the bd_mutex for both the disk and the partition; these have an obvious hierarchical relationship and this patch annotates this relationship for lockdep. Signed-off-by: Arjan van de Ven Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e56a7dcbb974d9725d80e50d70c6eed7f71110b Author: Herbert Valerio Riedel Date: Fri Jul 14 00:24:11 2006 -0700 [PATCH] RTC subsystem, Add ISL1208 support Add support for the I2C-attached Intersil ISL1208 RTC chip. [akpm@osdl.org: cleanups, fixlets] Signed-off-by: Herbert Valerio Riedel Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bef317e364f065717819fbbe7965d4401820286c Author: Nathan Scott Date: Fri Jul 14 00:24:10 2006 -0700 [PATCH] ramdisk blocksize Kconfig entry Make the ramdisk blocksize configurable at kernel compilation time rather than only at boot or module load time, like a couple of the other ramdisk options. I found this handy awhile back but thought little of it, until recently asked by a few of the testing folks here to be able to do the same thing for their automated test setups. The Kconfig comment is largely lifted from comments in rd.c, and hopefully this will increase the chances of making folks aware that the default value often isn't a great choice here (for increasing values of PAGE_SIZE, even moreso). Signed-off-by: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 086626a747300e37043a553dac639c5900c4a2c0 Author: Nathan Scott Date: Fri Jul 14 00:24:10 2006 -0700 [PATCH] Update ramdisk documentation The default ramdisk blocksize is actually 1024, not 512 bytes. Also fixes up some trailing whitespace issues. Signed-off-by: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c4af4092fc2e037ce2e2922023fc222cf0c443 Author: Luke Yang Date: Fri Jul 14 00:24:09 2006 -0700 [PATCH] nommu: export two symbols for drivers to use nommu.c needs to export two more symbols for drivers to use: remap_pfn_range and unmap_mapping_range. Signed-off-by: Luke Yang Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52fa259b5aaf310657e5d30be48a300860741447 Author: David Woodhouse Date: Fri Jul 14 00:24:08 2006 -0700 [PATCH] hdrinstall: remove asm/io.h from user visibility There's no excuse for userspace abusing this kernel header -- the kernel's headers are not intended to provide a library of helper routines for userspace. Using from userspace is broken on most architectures anyway. Just say 'no'. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e035cc35e54230eb704ee7feccf476ed2fb2ae29 Author: David Woodhouse Date: Fri Jul 14 00:24:07 2006 -0700 [PATCH] hdrinstall: remove asm/atomic.h from user visibility This isn't suitable for userspace to see -- the kernel headers are not a random library of stuff for userspace; they're only there to define the kernel<->user ABI for system libraries and tools. Anything which _was_ abusing asm/atomic.h from userspace was probably broken anyway -- as it often didn't even give atomic operation. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 998f6fabbf439e6d518dcbaf9191cb533447b57a Author: David Woodhouse Date: Fri Jul 14 00:24:07 2006 -0700 [PATCH] hdrinstall: remove asm/irq.h from user visibility Remove asm/irq.h from the exported headers -- there was never any good reason for it to have been listed. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0009652af385a42f0e0604136f772ead406c78d Author: Andrew Morton Date: Fri Jul 14 00:24:06 2006 -0700 [PATCH] del_timer_sync(): add cpu_relax() Relax the CPU in the del_timer_sync() busywait loop. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52e92e5788139921352213fa6faf6e30ff1f2f5a Author: Adrian Bunk Date: Fri Jul 14 00:24:05 2006 -0700 [PATCH] remove kernel/kthread.c:kthread_stop_sem() Remove the now-unneeded kthread_stop_sem(). Signed-off-by: Adrian Bunk Acked-by: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 098c5eea03de4707019a205140296893252b4130 Author: Andreas Gruenbacher Date: Fri Jul 14 00:24:04 2006 -0700 [PATCH] null-terminate over-long /proc/kallsyms symbols Got a customer bug report (https://bugzilla.novell.com/190296) about kernel symbols longer than 127 characters which end up in a string buffer that is not NULL terminated, leading to garbage in /proc/kallsyms. Using strlcpy prevents this from happening, even though such symbols still won't come out right. A better fix would be to not use a fixed-size buffer, but it's probably not worth the trouble. (Modversion'ed symbols even have a length limit of 60.) [bunk@stusta.de: build fix] Signed-off-by: Andreas Gruenbacher Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 329c6e4257d6a89990d72617d91437e2ce59e426 Author: Jeff Dike Date: Fri Jul 14 00:24:03 2006 -0700 [PATCH] uml: header formatting cleanups Clean up whitespace and return syntax in os.h. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b076bb02ee2c489da36c89e35c640bfe45c7d27e Author: Jeff Dike Date: Fri Jul 14 00:24:03 2006 -0700 [PATCH] uml: tidy biarch gcc support On top of the previous biarch changes for UML, this makes the preprocessor changes a bit cleaner. Specify the 64-bit build in CPPFLAGS on the x86_64 SUBARCH, rather than #undef'ing i386. Compile-tested with i386 and x86_64 SUBARCHs. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5df0d1a2c0f7dbd135d978d02daf2d99e62ff7a Author: Jeff Dike Date: Fri Jul 14 00:24:02 2006 -0700 [PATCH] uml: tidy longjmp macro The UML_SETJMP macro was requiring its users to pass in a argument which it could supply itself, since it wasn't used outside that invocation of the macro. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8477b55ba11a49515b26573a90414b718179c908 Author: Vadim Lobanov Date: Fri Jul 14 00:24:01 2006 -0700 [PATCH] i386: remove redundant might_sleep() in user accessors. On i386, the user space accessor functions copy_from/to_user() both invoke might_sleep(), do a quick sanity check, and then pass the work on to their __copy_from/to_user() counterparts, which again invoke might_sleep(). Given that no actual work happens between these two calls, it is best to eliminate one of the redundant might_sleep()s. Signed-off-by: Vadim Lobanov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e78a887a5942d06c81ccf0793fbf2bd83e982122 Author: Eric W. Biederman Date: Fri Jul 14 00:24:00 2006 -0700 [PATCH] i386 kexec: allow the kexec on panic support to compile on voyager This patch removes the foolish assumption that SMP implied local apics. That assumption is not-true on the Voyager subarch. This makes that dependency explicit, and allows the code to build. What gets disabled is just an optimization to get better crash dumps so the support should work if there is a kernel that will initialization on the voyager subarch under those harsh conditions. Hopefully we can figure out how to initialize apics in init_IRQ and remove the need to disable io_apics and this dependency. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7546075e7c08821732fa04119a9005c55ab432d Author: Catalin Marinas Date: Fri Jul 14 00:23:59 2006 -0700 [PATCH] Fix a memory leak in the i386 setup code Signed-off-by: Catalin Marinas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7015331098cc156c30282588bbd30bbf7a59291 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Fri Jul 14 00:23:58 2006 -0700 [PATCH] i386: handle_BUG(): don't print garbage if debug info unavailable handle_BUG() tries to print file and line number even when they're not available (CONFIG_DEBUG_BUGVERBOSE is not set.) Change this to print a message stating info is unavailable instead of printing a misleading message. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c38c8db7225465c8d124f38b24d3024decc26bbd Author: Anil Keshavamurthy Date: Fri Jul 14 00:23:57 2006 -0700 [PATCH] ia64: race flushing icache in COW path There is a race condition that showed up in a threaded JIT environment. The situation is that a process with a JIT code page forks, so the page is marked read-only, then some threads are created in the child. One of the threads attempts to add a new code block to the JIT page, so a copy-on-write fault is taken, and the kernel allocates a new page, copies the data, installs the new pte, and then calls lazy_mmu_prot_update() to flush caches to make sure that the icache and dcache are in sync. Unfortunately, the other thread runs right after the new pte is installed, but before the caches have been flushed. It tries to execute some old JIT code that was already in this page, but it sees some garbage in the i-cache from the previous users of the new physical page. Fix: we must make the caches consistent before installing the pte. This is an ia64 only fix because lazy_mmu_prot_update() is a no-op on all other architectures. Signed-off-by: Anil Keshavamurthy Signed-off-by: Tony Luck Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8757d5fa6b75e8ea906baf0309d49b980e7f9bc9 Author: Jan Kiszka Date: Fri Jul 14 00:23:56 2006 -0700 [PATCH] mm: fix oom roll-back of __vmalloc_area_node __vunmap must not rely on area->nr_pages when picking the release methode for area->pages. It may be too small when __vmalloc_area_node failed early due to lacking memory. Instead, use a flag in vmstruct to differentiate. Signed-off-by: Jan Kiszka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e322fedf0c59938716cdfbafbe364a170919aa1a Author: Michael S. Tsirkin Date: Fri Jul 14 00:23:56 2006 -0700 [PATCH] IB/core: use correct gfp_mask in sa_query Avoid bogus out of memory errors: fix sa_query to actually pass gfp_mask supplied by the user to idr_pre_get. Signed-off-by: Michael S. Tsirkin Acked-by: "Sean Hefty" Acked-by: "Roland Dreier" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit adfaa888a292e7f38fb43668d8994f246e371f0f Author: Michael S. Tsirkin Date: Fri Jul 14 00:23:55 2006 -0700 [PATCH] fmr pool: remove unnecessary pointer dereference ib_fmr_pool_map_phys gets the virtual address by pointer but never writes there, and users (e.g. srp) seem to assume this and ignore the value returned. This patch cleans up the API to get the VA by value, and updates all users. Signed-off-by: Michael S. Tsirkin Acked-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f76fbac72c84ac78620698a584d403b655e62a Author: Ira Weiny Date: Fri Jul 14 00:23:54 2006 -0700 [PATCH] IB/cm: set private data length for reject messages Set private data length for reject messages to the correct size. Fix from openib svn r8483. Signed-off-by: Sean Hefty Signed-off-by: Michael S. Tsirkin Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6583eb3dcc1f03ce969594dae5573dbefce015dc Author: Vu Pham Date: Fri Jul 14 00:23:53 2006 -0700 [PATCH] srp: fix fmr error handling srp_unmap_data assumes req->fmr is NULL if the request is not mapped, so we must clean it out in case of an error. Signed-off-by: Vu Pham Signed-off-by: Michael S. Tsirkin Acked-by: Roland Dreier Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0ee3404cce2c45f8b95b341dd6311cd92e5cee0 Author: Michael S. Tsirkin Date: Fri Jul 14 00:23:52 2006 -0700 [PATCH] IB/addr: gid structure alignment fix The device address contains unsigned character arrays, which contain raw GID addresses. The GIDs may not be naturally aligned, so do not cast them to structures or unions. Signed-off-by: Sean Hefty Signed-off-by: Michael S. Tsirkin Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04c335430f6d9f9088c852bc05a3a0c8baa921c4 Author: Michael S. Tsirkin Date: Fri Jul 14 00:23:52 2006 -0700 [PATCH] IB/cm: drop REQ when out of memory If a user of the IB CM returns -ENOMEM from their connection callback, simply drop the incoming REQ - do not attempt to send a reject. This should allow the sender to retry the request. Signed-off-by: Michael S. Tsirkin Signed-off-by: Sean Hefty Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0964d9161826ca5cab5a03192490ec676c8abf8c Author: Michael S. Tsirkin Date: Fri Jul 14 00:23:51 2006 -0700 [PATCH] IB/mthca: comment fix After recent changes, mthca_wq_init does not actually initialize the WQ as it used to - it simply resets all index fields to their initial values. So, let's rename it to mthca_wq_reset. Signed-off-by: Michael S. Tsirkin Cc: Roland Dreier Acked-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2290d2c9f51d7ee2f45adee79b4d9e080ca15d36 Author: Jack Morgenstein Date: Fri Jul 14 00:23:50 2006 -0700 [PATCH] IB/mthca: fix static rate returned by mthca_ah_query mthca_ah_query returs the static rate of the address handle in internal mthc format. fix it to use rate encoding from enum ib_rate, which is what users expect. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de45921535bfc3b1f63b426c2a9739635f864283 Author: Kirill Korotaev Date: Fri Jul 14 00:23:49 2006 -0700 [PATCH] struct file leakage 2.6.16 leaks like hell. While testing, I found massive leakage (reproduced in openvz) in: *filp *size-4096 And 1 object leaks in *size-32 *size-64 *size-128 It is the fix for the first one. filp leaks in the bowels of namei.c. Seems, size-4096 is file table leaking in expand_fdtables. I have no idea what are the rest and why they show only accompanying another leaks. Some debugging structs? [akpm@osdl.org, Trond: remove the IS_ERR() check] Signed-off-by: Alexey Kuznetsov Cc: Kirill Korotaev Cc: Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ee8ab9fbf21e6b87ad227cd46c0a4be41ab749b Author: Linus Torvalds Date: Fri Jul 14 21:48:03 2006 -0700 Relax /proc fix a bit Clearign all of i_mode was a bit draconian. We only really care about S_ISUID/ISGID, after all. Signed-off-by: Linus Torvalds commit cc08632f8f26d479500f8107c84e206770cb901c Author: Michal Ludvig Date: Sat Jul 15 11:08:50 2006 +1000 [CRYPTO] padlock: Fix alignment after aes_ctx rearrange Herbert's patch 82062c72cd643c99a9e1c231270acbab986fd23f in cryptodev-2.6 tree breaks alignment rules for PadLock xcrypt instruction leading to General protection Oopses. This patch fixes the problem. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit ee7022dcfbf660727d6b8553cb0dbc0d4eae8f44 Author: Marc Zyngier Date: Fri Jul 14 16:53:50 2006 -0700 [SPARC64] Fix PSYCHO PCI controler init. pbm->name should be initialized before calling pbm_register_toplevel_resources. Move the call a few lines down to avoid a nice Oops. Signed-off-by: Marc Zyngier Signed-off-by: David S. Miller commit a49261585e2c89f16b5a4bb80f623d2e9c2c1566 Author: David S. Miller Date: Fri Jul 14 16:49:55 2006 -0700 [SPARC64] psycho: Fix pbm->name handling in pbm_register_toplevel_resources() We shouldn't overwrite it, it's the device node full name already and that's what we want. Based upon a report from Marc Zyngier. Signed-off-by: David S. Miller commit 5b4bbb3d78285ab735941365c17f1c55a228c659 Author: David S. Miller Date: Thu Jul 13 16:07:25 2006 -0700 [SERIAL] sunsab: Fix significant typo in sab_probe() Instead of initializing both ports of a SAB device properly, we were setting up the first port structure twice and ending up only with the second port, oops. Signed-off-by: David S. Miller commit c964521c54304f51705764334f7b27a9518ed65a Author: David S. Miller Date: Thu Jul 13 16:05:57 2006 -0700 [SERIAL] sunsu: Report keyboard and mouse ports in kernel log. Otherwise there is no explicit mention of these devices. Signed-off-by: David S. Miller commit d8573e20d5d6974305599dde42b5dd7583310ccf Author: David S. Miller Date: Thu Jul 13 16:05:26 2006 -0700 [SPARC64]: Make sure IRQs are disabled properly during early boot. Else we trigger the new irqs_disable() assertion in start_kernel(). Signed-off-by: David S. Miller commit 18b0bbd8ca6d3cb90425aa0d77b99a762c6d6de3 Author: Linus Torvalds Date: Fri Jul 14 16:51:34 2006 -0700 Fix nasty /proc vulnerability We have a bad interaction with both the kernel and user space being able to change some of the /proc file status. This fixes the most obvious part of it, but I expect we'll also make it harder for users to modify even their "own" files in /proc. Signed-off-by: Linus Torvalds commit 0610d11b53ad15200618e38e4511373e3ed09e8a Author: Stephen Hemminger Date: Fri Jul 14 16:34:22 2006 -0700 [VLAN]: __vlan_hwaccel_rx can use the faster ether_compare_addr The inline function compare_ether_addr is faster than memcmp. Also, don't need to drag in proc_fs.h, the only reference to proc_dir_entry is a pointer so the declaration is needed here. Signed-off-by: Stephen Hemminger Acked-by: Ben Greear Signed-off-by: David S. Miller commit b3a6251915df9e3d80d4a0d32bd8d24223906688 Author: Stephen Hemminger Date: Fri Jul 14 16:32:27 2006 -0700 [PKT_SCHED] HTB: initialize upper bound properly The upper bound for HTB time diff needs to be scaled to PSCHED units rather than just assuming usecs. The field mbuffer is used in TDIFF_SAFE(), as an upper bound. Signed-off-by: Stephen Hemminger Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 53602f92dd3691616478a40738353694bcfef171 Author: Stephen Hemminger Date: Fri Jul 14 14:49:32 2006 -0700 [IPV4]: Clear skb cb on IP input when data arrives at IP through loopback (and possibly other devices). So the field needs to be cleared before it confuses the route code. This was seen when running netem over loopback, but there are probably other device cases. Maybe this should go into stable? Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 27b437c8b7d519aac70a0254c2e04c29eff565a2 Author: Herbert Xu Date: Thu Jul 13 19:26:39 2006 -0700 [NET]: Update frag_list in pskb_trim When pskb_trim has to defer to ___pksb_trim to trim the frag_list part of the packet, the frag_list is not updated to reflect the trimming. This will usually work fine until you hit something that uses the packet length or tail from the frag_list. Examples include esp_output and ip_fragment. Another problem caused by this is that you can end up with a linear packet with a frag_list attached. It is possible to get away with this if we audit everything to make sure that they always consult skb->len before going down onto frag_list. In fact we can do the samething for the paged part as well to avoid copying the data area of the skb. For now though, let's do the conservative fix and update frag_list. Many thanks to Marco Berizzi for helping me to track down this bug. This 4-year old bug took 3 months to track down. Marco was very patient indeed :) Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fc818301a8a39fedd7f0a71f878f29130c72193d Author: Ingo Molnar Date: Thu Jul 13 09:12:21 2006 +0200 [PATCH] revert slab.c locking change Chandra Seetharaman reported SLAB crashes caused by the slab.c lock annotation patch. There is only one chunk of that patch that has a material effect on the slab logic - this patch undoes that chunk. This was confirmed to fix the slab problem by Chandra. Signed-off-by: Ingo Molnar Tested-by: Chandra Seetharaman Signed-off-by: Linus Torvalds commit f4dee85e2c6a7d7adf7ea4d6d3053a41c78175b7 Author: Atsushi Nemoto Date: Thu Jul 13 23:01:50 2006 +0900 [MIPS] sparsemem: fix crash in show_mem With sparsemem, pfn should be checked by pfn_valid() before pfn_to_page(). Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit bddc8134db00002a9fd1b33fcb45747bdd3a2777 Author: Yoichi Yuasa Date: Thu Jul 13 17:33:33 2006 +0900 [MIPS] vr41xx: Update workpad setup function Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit f26811e0d89d412a2f5d8e16760e71d3b5c2702c Author: Yoichi Yuasa Date: Thu Jul 13 17:33:24 2006 +0900 [MIPS] vr41xx: Update e55 setup function Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit efcb487a8e9a86874cf63c3fbf6c85bbf87e6d87 Author: Yoichi Yuasa Date: Thu Jul 13 17:33:14 2006 +0900 [MIPS] vr41xx: Removed old v2.4 VRC4173 driver Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 66151bbd20c6c62dbe5b131484c885086e3a8d29 Author: Yoichi Yuasa Date: Thu Jul 13 17:33:03 2006 +0900 [MIPS] vr41xx: Move IRQ numbers to asm-mips/vr41xx/irq.h Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 5fd326573876e466c7693cbf06e9c88ecf86135d Author: Ralf Baechle Date: Mon Jul 10 02:37:21 2006 +0100 [MIPS] MIPSsim: Build fix, rename sim_timer_setup -> plat_timer_setup. Signed-off-by: Ralf Baechle commit 75da124ac0141e463cb2738fdc02dd24fc8b6e95 Author: Ralf Baechle Date: Mon Jul 10 02:27:21 2006 +0100 [MIPS] Remove unused code. Signed-off-by: Ralf Baechle commit d1d60ded2b6cca40e2f14ea2771cbe815c11abb5 Author: Julien BLACHE Date: Sun Jul 9 00:21:24 2006 +0200 [MIPS] IP22 Fix brown paper bag in RTC code. This patch fixes a typo in arch/mips/sgi-ip22/ip22-time.c, leading to the incorrect year being set into the RTC chip. Signed-off-by: Julien BLACHE Signed-off-by: Ralf Baechle commit ece2246ebda3d86cedb9414e7771862a6c9a054c Author: Ralf Baechle Date: Sun Jul 9 22:27:23 2006 +0100 [MIPS] Atlas, Malta, SEAD: Don't disable interrupts in mips_time_init(). By the time it's called from time_init interrupts are still disabled. Signed-off-by: Ralf Baechle commit 54d0a216f40e060ba4265bb851cc36b3ca55d1a8 Author: Ralf Baechle Date: Sun Jul 9 21:38:56 2006 +0100 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. Signed-off-by: Ralf Baechle --- commit 2c70df5b9807293705d8123d1f36579831ac09eb Author: Ralf Baechle Date: Sun Jul 9 20:53:19 2006 +0100 [MIPS] Nuke redeclarations of board_time_init. Signed-off-by: Ralf Baechle commit 046f8f705ba684312f82e36abbd42c080f4e4e9a Author: Ralf Baechle Date: Sun Jul 9 20:49:41 2006 +0100 [MIPS] Remove redeclarations of setup_irq(). Signed-off-by: Ralf Baechle commit 50785a595cfc8ff9188f9be395ccb214ac43e190 Author: Ralf Baechle Date: Sun Jul 9 20:42:40 2006 +0100 [MIPS] Nuke redeclarations of board_timer_setup. Signed-off-by: Ralf Baechle commit 115f2a44e07b24e6fa4d636c9a95e8e05a0d9d69 Author: Thiemo Seufer Date: Sun Jul 9 01:47:06 2006 +0100 [MIPS] Print out TLB handler assembly for debugging. Small update, using pr_debug and pr_info. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 4bf42d4272d83b42e1492215a34d42dae8e6fccc Author: Ralf Baechle Date: Sat Jul 8 11:32:58 2006 +0100 [MIPS] SMTC: Reformat to Linux style. Signed-off-by: Ralf Baechle commit 783b09dc2806429560d0211564a94d6570b96ee3 Author: Ralf Baechle Date: Sat Jul 8 11:25:38 2006 +0100 [MIPS] MIPSsim: Delete redeclaration of ll_local_timer_interrupt. Signed-off-by: Ralf Baechle commit 40fa4b6a07866bbd70b22b78b349960ebaef7c8e Author: Ralf Baechle Date: Fri Jul 7 23:57:19 2006 +0100 [MIPS] IP27: Reformatting. Signed-off-by: Ralf Baechle commit bf283630d0990f2ad80bb4601ff275f9d41a579e Author: Ralf Baechle Date: Fri Jul 7 23:56:32 2006 +0100 [MIPS] IP27: Invoke setup_irq for timer interrupt so proc stats will be shown. Signed-off-by: Ralf Baechle commit cc25ab008633ffd6010f01003ad380f9c7dd5374 Author: Ralf Baechle Date: Fri Jul 7 23:53:05 2006 +0100 [MIPS] IP27: irq_chip startup method returns unsigned int. Signed-off-by: Ralf Baechle commit a365e53fe147e2ab2c902ddb35193dae4fb976e7 Author: Ralf Baechle Date: Fri Jul 7 23:49:30 2006 +0100 [MIPS] IP27: struct irq_desc member handler was renamed to chip. Signed-off-by: Ralf Baechle commit b8828d3e0d0fa33ac7f6dbd7c6820d9e0f7be40d Author: Yoichi Yuasa Date: Sat Jul 8 00:51:11 2006 +0900 [MIPS] Remove vmlinux.rm200 target from makefile. Long ago in the dark ages this was used a MIPS a.out binary to be used with Milo which is obsolete since years. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 2874fe55332e2fb4e9c8e672cf2b7361bb168d17 Author: Yoichi Yuasa Date: Sat Jul 8 00:42:12 2006 +0900 [MIPS] vr41xx: Replace magic number for P4K bit with symbol. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 1058ecda9bedaa2c3438376caa5f1925f3d15bbd Author: Yoichi Yuasa Date: Sat Jul 8 00:42:01 2006 +0900 [MIPS] vr41xx: Changed workaround to recommended method Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 30f244aed36f569c2e3ea6e8457bf66adaf98a3d Author: Thiemo Seufer Date: Fri Jul 7 10:38:51 2006 +0100 [MIPS] Oprofile: Fix build failure due to warning and -Werror. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 192ef366198ce16c0379100565cdc5b7bd68511f Author: Ralf Baechle Date: Fri Jul 7 14:07:18 2006 +0100 [MIPS] TRACE_IRQFLAGS_SUPPORT support. Signed-off-by: Ralf Baechle commit 8d197f3d17d4f43eb7d032491af7fc959cbed4fa Author: Atsushi Nemoto Date: Fri Jul 7 14:26:41 2006 +0900 [MIPS] Fix rdhwr_op definition. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 565200a14641eb7ab7b96a726441f2e4d663d15c Author: Atsushi Nemoto Date: Fri Jul 7 00:26:02 2006 +0900 [MIPS] Do not count pages in holes with sparsemem With some memory model other than FLATMEM, the single node can contains some holes so there might be many invalid pages. For example, with two 256M memory and one 256M hole, some variables (num_physpage, totalpages, nr_kernel_pages, nr_all_pages, etc.) will indicate that there are 768MB on this system. This is not desired because, for example, alloc_large_system_hash() allocates too many entries. Use free_area_init_node() with counted zholes_size[] instead of free_area_init(). For num_physpages, use number of ram pages instead of max_low_pfn. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 7de58fab9ccb63b4194ce39cf163a7491921d037 Author: Atsushi Nemoto Date: Wed Jul 5 01:22:44 2006 +0900 [MIPS] Sparsemem fixes 1. MIPS should select SPARSEMEM_STATIC since allocating bootmem in memory_present() will corrupt bootmap area. 2. pfn_valid() for SPARSEMEM is defined in linux/mmzone.h Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit cfbae5d331b8872719b5cddb0ed5292c393ad78a Author: Thiemo Seufer Date: Wed Jul 5 18:43:29 2006 +0100 [MIPS] IP32: Fix wreckage caused by recent SA_* constant replacement. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 4e8ab3618273b8c5f87a46f82902fbd4138f97f4 Author: Yoichi Yuasa Date: Tue Jul 4 22:59:41 2006 +0900 [MIPS] VR41xx: Set VR41_CONF_BP only for PrId 0x0c80. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit f72af3cf06370cedbe387364d447223e5252a000 Author: Yoichi Yuasa Date: Tue Jul 4 22:16:28 2006 +0900 [MIPS] MIPS MT: Fix build error. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 5af1c7a4d4942812c5172cc0806854837264fff5 Author: Thiemo Seufer Date: Wed Jul 5 14:32:51 2006 +0100 [MIPS] BCM1480: Fix fatal typo in the rewritten interrupt handler. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 6e61e85b0980f7b88cd5c4b822386ed00dd7e295 Author: Thiemo Seufer Date: Wed Jul 5 14:26:38 2006 +0100 [MIPS] Sibyte: Improve interrupt latency again for sb1250/bcm1480 this patch restores the behaviour of the old (assembly-written) interrupt handler, the handler is left as soon as a single interrupt cause is handled. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit fc5d2d279ff820172a698706d33e733d4578bd6c Author: Ralf Baechle Date: Thu Jul 6 13:04:01 2006 +0100 [MIPS] Use the proper technical term for naming some of the cache macros. Signed-off-by: Ralf Baechle commit 879ba8c88a32f2bd3d3369837afdc148bd66bb04 Author: Ralf Baechle Date: Thu Jul 6 09:47:52 2006 +0100 [MIPS] IP22: Remove SYS_SUPPORTS_SMP test code. Signed-off-by: Ralf Baechle commit 57725f9eb689d04c9ae4334cef65633c0b95558f Author: Chris Dearman Date: Fri Jun 30 23:35:28 2006 +0100 [MIPS] Panic on fp exception in kernel mode. There should never be a FP exception in kernel mode. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit e1a4e469d77297fd006a3cf2b605fc6f782a8d26 Author: Ralf Baechle Date: Mon Jul 3 17:02:35 2006 +0100 [MIPS] Malta: Fix build of certain configs. commit 6fe725c01c0c547c4287ba3de5ebc8f884178409 Author: Domen Puncer Date: Mon Jul 3 08:17:09 2006 +0200 [MIPS] au1xxx: Support both YAMON and U-Boot Signed-off-by: Domen Puncer Signed-off-by: Ralf Baechle commit c36cd4bab5084798b401d529129a950f4a48662d Author: Thiemo Seufer Date: Mon Jul 3 13:30:01 2006 +0100 [MIPS] Save 2k text size in cpu-probe The appended patch drops the inline for decode_configs, this saves about 2k of text size. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 3a01c49ad81d301fe7265dd63bfb15ee3c3754ef Author: Thiemo Seufer Date: Mon Jul 3 13:30:01 2006 +0100 [MIPS] Uses MIPS_CONF_AR instead of magic constants. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 31473747bd441719f9f6a07385684dce547533e0 Author: Atsushi Nemoto Date: Mon Jul 3 00:09:47 2006 +0900 [MIPS] Make SPARSEMEM selectable on QEMU. This might be helpfull to debug sparsemem on mips. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b1c6cd429b5f9fde39f5950ba9f2993286954f6c Author: Atsushi Nemoto Date: Mon Jul 3 00:09:47 2006 +0900 [MIPS] Make SPARSEMEM selectable on QEMU. This might be helpfull to debug sparsemem on mips. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit a5e68986e8e75546901010fe4e3485f6cd60b4a6 Author: Yoichi Yuasa Date: Sun Jul 2 23:17:27 2006 +0900 [MIPS] Au1000: Remove au1000 code. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit a722df087dc745a213573ed860be57a255e799bb Author: Yoichi Yuasa Date: Sun Jul 2 23:13:34 2006 +0900 [MIPS] vr41xx: Removed unused definitions for NEC CMBVR4133. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit 722cfd90420b660ad13f933efb135daf1d0e5400 Author: Ralf Baechle Date: Sun Jul 2 16:31:14 2006 +0100 [MIPS] Wire up vmsplice(2) and move_pages(2). Signed-off-by: Ralf Baechle commit 94dee171df34b7955cd647da4c40ba67d55a7671 Author: Ralf Baechle Date: Sun Jul 2 14:41:42 2006 +0100 [MIPS] Eleminate interrupt migration helper use. > #define hw_interrupt_type irq_chip > typedef struct irq_chip hw_irq_controller; > #define no_irq_type no_irq_chip > typedef struct irq_desc irq_desc_t; Signed-off-by: Ralf Baechle commit e1e80b4d24eddd1a76cd386e25164cf159661bd6 Author: Ralf Baechle Date: Sat Jul 1 22:07:23 2006 +0100 [MIPS] Don't include obsolete . Signed-off-by: Ralf Baechle commit 2e128dedcd66d2f17f42a45dacc223fa2dcd8acd Author: Chris Dearman Date: Fri Jun 30 12:32:37 2006 +0100 [MIPS] Default cpu_has_mipsmt to a runtime check Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit 70ae6126090686b2e957f0abd2a3c882e94c7071 Author: Chris Dearman Date: Fri Jun 30 12:32:37 2006 +0100 [MIPS] Use KERN_DEBUG to log the SDBBP messages Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit e35a5e35e0f45209a45ec2fd6df90f5ac3a05992 Author: Chris Dearman Date: Fri Jun 30 14:19:45 2006 +0100 [MIPS] Less noise on multithreading exceptions. Make the MT handler silent and output the MT exception type at debug priority. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit 98ab66cdd182f35008fb8993bb930ddde88db923 Author: Ralf Baechle Date: Thu Jul 13 21:25:57 2006 +0100 [MIPS] Update defconfigs to 2.6.18-rc1. commit 8717433ccae06788e58d55699027b47d042be1f4 Author: Ralf Baechle Date: Sun Jun 25 17:42:21 2006 +0200 [MIPS] IP27: Don't destroy interrupt routing information on shutdown irq. This fixes the "not syncing: Could not identify cpu/level ..." panic when a PCI irq is requested the second time. Signed-off-by: Ralf Baechle commit 25969354a385f347b55aafb1040dfc21263fa7c3 Author: Ralf Baechle Date: Thu Jun 22 22:42:32 2006 +0100 [MIPS] Avoid interprocessor function calls. On the 34K where multiple virtual processors are implemented in a single core and share a single TLB, interprocessor function calls are not needed to flush a cache, so avoid them. Signed-off-by: Ralf Baechle commit 3e705f279a942471b258b1c7a9e54aa8ff36b89f Author: Russell King Date: Thu Jul 13 20:48:35 2006 +0100 [PATCH] Fix broken kernel headers preventing ARM build As a result of 894673ee6122a3ce1958e1fe096901ba5356a96b, the ARM architecture is more or less unbuildable - only one defconfig appears to build, with all others erroring out with: CC arch/arm/kernel/setup.o In file included from /home/rmk/git/linux-2.6-rmk/arch/arm/kernel/setup.c:22: /home/rmk/git/linux-2.6-rmk/include/linux/root_dev.h:7: warning: implicit declaration of function `MKDEV' ... Essentially, root_dev.h uses MKDEV and dev_t, but does not include any headers which provide either of these definitions. The reason it worked previously is that linux/tty.h just happened to include the required headers for linux/root_dev.h. Signed-off-by: Russell King Signed-off-by: Linus Torvalds commit f1aaee53f2877a7afa55e8245c241ff60a86367d Author: Arjan van de Ven Date: Thu Jul 13 14:46:03 2006 +0200 [PATCH] lockdep: annotate mm/slab.c mm/slab.c uses nested locking when dealing with 'off-slab' caches, in that case it allocates the slab header from the (on-slab) kmalloc caches. Teach the lock validator about this by putting all on-slab caches into a separate class. this patch has no effect on non-lockdep kernels. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 873623dfabaa6ebbdc1ce16c1766a3c0ec5d9923 Author: Ingo Molnar Date: Thu Jul 13 14:44:38 2006 +0200 [PATCH] lockdep: undo mm/slab.c annotation undo existing mm/slab.c lock-validator annotations, in preparation of a new, less intrusive annotation patch. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Linus Torvalds commit 8b1b21853bab15fe5b60b8222786fe036c4dc365 Author: Pierre Ossman Date: Tue Jul 11 21:07:10 2006 +0200 [MMC] Change SDHCI version error to a warning O2 Micro's controllers have a larger specification version value and are therefore denied by the driver. When bypassing this check they seem to work fine. This patch makes the code a bit more forgiving by changing the error to a warning. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit fb61e2895170920564410baadf71c5b3561dbf42 Author: Pierre Ossman Date: Tue Jul 11 21:06:48 2006 +0200 [MMC] Fix incorrect register access There was a writel() being used on a 16-bit register. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 5cbc1b6f66313111f64e779bf1df3799bf5c2df8 Author: Adrian Bunk Date: Tue Jul 11 15:37:55 2006 +0200 [ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge Since this assignment was the only place on !alpha where isa_bridge was touched, it didn't have any effect. Signed-off-by: Adrian Bunk Signed-off-by: Russell King commit 1b0f06d0b4860a8a73dc0b48540d82d8897ead71 Author: Greg Ungerer Date: Thu Jul 13 09:32:41 2006 +1000 [PATCH] m68knommu: fix result type in get_user() macro Keep the result holder variable the same type as the quantity we are retreiving in the get_user() macro - don't go through a pointer version of the user space address type. Using the address type causes problems if the address type was const (newer versions of gcc quite rightly error out for that condition). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b43c7cec6bf9558336fb033d1217fc765d259c47 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Wed Jul 12 16:41:15 2006 -0400 [PATCH] i386: system.h: remove extra semicolons and fix order include/asm-i386/system.h has trailing semicolons in some of the macros that cause legitimate code to fail compilation, so remove them. Also remove extra blank lines within one group of macros. And put stts() and clts() back together; they got separated somehow. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit a9da396a37fb3da5d0f212c41c6e96bcbf8fe590 Author: Koen Kooi Date: Thu Jul 13 13:04:24 2006 +0100 [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 Patch from Koen Kooi EABI padding rules necessitate the packed attribute of floatx80, otherwise nwfpe complains about invalid structure sizes. Signed-off-by: Koen Kooi Signed-off-by: Lennert Buytenhek Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit a83f982313bc60dd3d87e50f8c88d6a169e8a5a0 Author: David S. Miller Date: Wed Jul 12 23:19:31 2006 -0700 [SPARC]: Fix OF register translations under sub-PCI busses. There is an implicit assumption in the code that ranges will translate to something that can fit in 2 32-bit cells, or a 64-bit value. For certain kinds of things below PCI this isn't necessarily true. Here is what the relevant OF device hierarchy looks like for one of the serial controllers on an Ultra5: Node 0xf005f1e0 ranges: 00000000.00000000.00000000.000001fe.01000000.00000000.01000000 01000000.00000000.00000000.000001fe.02000000.00000000.01000000 02000000.00000000.00000000.000001ff.00000000.00000001.00000000 03000000.00000000.00000000.000001ff.00000000.00000001.00000000 device_type: 'pci' model: 'SUNW,sabre' Node 0xf005f9d4 device_type: 'pci' model: 'SUNW,simba' Node 0xf0060d24 ranges: 00000010.00000000 82010810.00000000.f0000000 01000000 00000014.00000000 82010814.00000000.f1000000 00800000 name: 'ebus' Node 0xf0062dac reg: 00000014.003083f8.00000008 --> 0x1ff.f13083f8 device_type: 'serial' name: 'su' So the correct translation here is: 1) Match "su" register to second ranges entry of 'ebus', which translates into a PCI triplet "82010814.00000000.f1000000" of size 00800000, which gives us "82010814.00000000.f13083f8". 2) Pass-through "SUNW,simba" since it lacks ranges property 3) Match "82010814.00000000.f13083f8" to third ranges property of PCI controller node 'SUNW,sabre', and we arrive at the final physical MMIO address of "0x1fff13083f8". Due to the 2-cell assumption, we couldn't translate to a PCI 3-cell value, and we couldn't perform a pass-thru on it either. It was easiest to just stop splitting the ranges application operation between two methods, ->map and ->translate, and just let ->map do all the work. That way it would work purely on 32-bit cell arrays instead of having to "return" some value like a u64. It's still not %100 correct because the out-of-range check is still done using the 64 least significant bits of the range and address. But it does work for all the cases I've thrown at it so far. Signed-off-by: David S. Miller commit 9bbd952e7f965757b5c913b6f98ad37a191137bd Author: David S. Miller Date: Wed Jul 12 21:16:07 2006 -0700 [SPARC64]: Refine Sabre wsync logic. It is only needed when there is a PCI-PCI bridge sitting between the device and the PCI host controller which is not a Simba APB bridge. Add logic to handle two special cases: 1) device behind EBUS, which sits on PCI 2) PCI controller interrupts Signed-off-by: David S. Miller commit 91d1ed1a6d225e3cf4bd8ede6235b1be65f7651a Author: David S. Miller Date: Wed Jul 12 21:04:21 2006 -0700 [SERIAL] sunsu: Handle keyboard and mouse ports directly. The sunsu_ports[] array exists merely to be able to easily use an integer index to get at the proper serial console port struct. We size this only for real ports, not for the keyboard and mouse, and thus keyboard and mouse port registration would fail. Fix this by dynamically allocating the port struct for the keyboard and mouse, instead of using the sunsu_ports[] array. Signed-off-by: David S. Miller commit a23c3a86e9952a8badb49a6bb1de455c1f5bad6d Author: David S. Miller Date: Wed Jul 12 15:59:53 2006 -0700 [SPARC64]: Fix 2 bugs in sabre_irq_build() When installing the IRQ pre-handler, we were not setting up the second argument correctly. It should be a pointer to the sabre_irq_data, not the config space PIO address. Furthermore, we only need this pre-handler installed if the device sits behind a PCI bridge that is not Sabre or Simba/APB. Signed-off-by: David S. Miller commit 17556fe861d8f76ed13e975ceb6eae450671aba1 Author: David S. Miller Date: Wed Jul 12 14:01:26 2006 -0700 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 50f73fe026b2bda49e53cef2dd57a79f84879733 Author: David Woodhouse Date: Wed Jul 12 13:56:53 2006 -0700 [SPARC64]: Fix make headers_install A minor typo in the include/asm-sparc64/Kbuild file prevents the make headers_install from building a useful tree of kernel headers for sparc64. Signed-off-by: David Woodhouse Signed-off-by: Tom "spot" Callaway Signed-off-by: David S. Miller commit 6cc8b6f51eb1af72882c279f691c5de7d5a43bf2 Author: Andrew Morton Date: Mon Jul 10 15:28:54 2006 -0700 [SPARC64]: of_device_register() error checking fix device_create_file() can fail. This causes the sparc64 compile to fail when my fanatical __must_check patch is applied, due to -Werror. [ Added necessary identical fix for sparc32. -DaveM] Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 2f1b9250516aa8744496abbbbb8a6066cb2b56db Author: Linus Torvalds Date: Wed Jul 12 21:04:16 2006 -0700 Revert "[PATCH] pcmcia: Make ide_cs work with the memory space of CF-Cards if IO space is not available" This reverts commit 5040cb8b7e61b7a03e8837920b9eb2c839bb1947. It breaks previously working ide-cs PIO configurations, causing problems like ide2: I/O resource 0xF883200E-0xF883200E not free. ide2: ports already in use, skipping probe rather than a working kernel. Cc: Thomas Kleffel Cc: Dominik Brodowski Signed-off-by: Linus Torvalds commit 72945b2b90a5554975b8f72673ab7139d232a121 Author: Len Brown Date: Wed Jul 12 22:46:42 2006 -0400 [PATCH] Revert "ACPI: execute Notify() handlers on new thread" This effectively reverts commit b8d35192c55fb055792ff0641408eaaec7c88988 by reverts acpi_os_queue_for_execution() to what it was before that, except it changes the name to acpi_os_execute() to match ACPICA 20060512. Signed-off-by: Len Brown [ The thread execution doesn't actually solve the bug it set out to solve (see http://bugzilla.kernel.org/show_bug.cgi?id=5534 for more details) because the new events can get caught behind the AML semaphore or other serialization. And when that happens, the notify threads keep on piling up until the system dies. ] Signed-off-by: Linus Torvalds commit a6f157a88d1398d7ccb743c5a56138edf6f6ef0b Author: Ian McDonald Date: Wed Jul 12 17:58:53 2006 -0700 [NET]: fix __sk_stream_mem_reclaim __sk_stream_mem_reclaim is only called by sk_stream_mem_reclaim. As such the check on sk->sk_forward_alloc is not needed and can be removed. Signed-off-by: Ian McDonald Acked-by: Herbert Xu Signed-off-by: David S. Miller commit cd6ef2ada54aa4788d5a3dee3cffaad41383a52a Author: Adrian Bunk Date: Fri Jun 30 02:15:42 2006 -0700 [PATCH] The scheduled unexport of insert_resource Implement the scheduled unexport of insert_resource. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 26865e9c26d2d336f385b821b531ce2b31008e20 Author: Adrian Bunk Date: Fri Jun 30 02:15:43 2006 -0700 [PATCH] remove kernel/power/pm.c:pm_unregister_all() Remove the deprecated and no longer used pm_unregister_all(). Signed-off-by: Adrian Bunk Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7e4ef085ea4b00cfc34e854edf448c729de8a0a5 Author: Adrian Bunk Date: Mon Jun 26 22:26:56 2006 +0200 [PATCH] Driver core: bus.c cleanups This patch contains the following cleanups: - make the needlessly global bus_subsys static - #if 0 the unused find_bus() Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 42734dafa43e453a8b6769a5ebd3a01ffc1fd116 Author: Henrik Kretzschmar Date: Wed Jul 5 00:53:19 2006 +0200 [PATCH] Driver core: kernel-doc in drivers/base/core.c corrections Corrects the kerneldocs for device_create() and device_destroy() with an eye on coding style, grammar and readability. Signed-off-by: Henrik Kretzschmar Signed-off-by: Greg Kroah-Hartman commit 7d12e9de5d73a836f040157b27166e68990ea9b4 Author: Randy Dunlap Date: Thu Jun 22 15:14:07 2006 -0700 [PATCH] Driver core: fix driver-core kernel-doc Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt' Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit ffadcc2ff42ecedf71ea67d9051ff028927aed08 Author: Kristen Carlson Accardi Date: Wed Jul 12 08:59:00 2006 -0700 [PATCH] PCI: PCIE power management quirk When changing power states from D0->DX and then from DX->D0, some Intel PCIE chipsets will cause a device reset to occur. This will cause problems for any D State other than D3, since any state information that the driver will expect to be present coming from a D1 or D2 state will have been cleared. This patch addes a flag to the pci_dev structure to indicate that devices should not use states D1 or D2, and will set that flag for the affected chipsets. This patch also modifies pci_set_power_state() so that when a device driver tries to set the power state on a device that is downstream from an affected chipset, or on one of the affected devices it only allows state changes to or from D0 & D3. In addition, this patch allows the delay time between D3->D0 to be changed via a quirk. These chipsets also need additional time to change states beyond the normal 10ms. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 6f0312fd7e0e6f96fd847b0b2e1e0d2d2e8ef89d Author: Zhang, Yanmin Date: Wed Jul 12 09:41:47 2006 +0800 [PATCH] PCI: add PCI Express AER register definitions to pci_regs.h Add new defines of PCI-Express AER registers and their bits into file include/linux/pci_regs.h. Signed-off-by: Zhang Yanmin Signed-off-by: Greg Kroah-Hartman commit 709cf5ea7a8bea1b956d361ee7cef1945423200c Author: Matthew Garrett Date: Fri Jun 30 02:31:25 2006 -0700 [PATCH] PCI: Clear abnormal poweroff flag on VIA southbridges, fix resume Some VIA southbridges contain a flag in the ACPI register space that indicates whether an abnormal poweroff has occured, presumably with the intention that it can be cleared on clean shutdown. Some BIOSes check this flag at resume time, and will re-POST the system rather than jump back to the OS if it's set. Clearing it at boot time appears to be sufficient. I'm not sure if drivers/pci/quirks.c is the right place to do it, but I'm not sure where would be cleaner. [akpm@osdl.org: cleanups, build fix] Signed-off-by: Matthew Garrett Cc: Greg KH Cc: "Brown, Len" Cc: "Yu, Luming" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 6e2338992c5a7d0711ce09f1d1b79a1a27d37bca Author: Adrian Bunk Date: Wed Jun 28 18:54:33 2006 +0200 [PATCH] PCI: poper prototype for arch/i386/pci/pcbios.c:pcibios_sort() This patch adds a proper prototype for pcibios_sort() in arch/i386/pci/pci.h. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit a969888ce91673c7f4b86520d851a6f0d5a5fa7d Author: Greg Kroah-Hartman Date: Tue Jul 11 21:22:58 2006 -0700 [PATCH] USB: move usb-serial.h to include/linux/usb/ USB serial outside of the kernel tree can not build properly due to usb-serial.h being buried down in the source tree. This patch moves the location of the file to include/linux/usb and fixes up all of the usb serial drivers to handle the move properly. Cc: Sergei Organov Signed-off-by: Greg Kroah-Hartman commit 166ffccfd4556ac6a777982d193ae145bb0a21e0 Author: Luiz Fernando N. Capitulino Date: Tue Jul 11 14:19:25 2006 -0300 [PATCH] USB: Anydata: Fixes wrong URB callback. Anydata is using usb_serial_generic_write_bulk_callback() for its read URB, but it should use usb_serial_generic_read_bulk_callback() instead (it's a read URB, isn't it?). Reported by Jon K Hellan . Signed-off-by: Luiz Fernando N. Capitulino Signed-off-by: Greg Kroah-Hartman commit a353678d3136306c1d00f0d2319de1dac8a6b1db Author: David Brownell Date: Thu Jul 6 15:48:53 2006 -0700 [PATCH] USB: gadget section fixups Recent section changes broke gadget builds on some platforms. This patch is the best fix that's available until better section markings exist: - There's a lot of cleanup code that gets used in both init and exit paths; stop marking it as "__exit". (Best fix for this would be an "__init_or_exit" section marking, putting the cleanup in __init when __exit sections get discarded else in __exit.) - Stop marking the use-once probe routines as "__init" since references to those routines are not allowed from driver structures. They're now marked "__devinit", which in practice is a net lose. (Best fix for this is likely to separate such use-once probe routines from the driver structure ... but in general, all busses that aren't hotpluggable will be forced to waste memory for all probe-only code.) In general these broken section rules waste an average of two to four kBytes per driver of code bloat ... because none of the relevant code can ever be reused after module initialization. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 5501a48c15d4a3b81bee1358eb195e26c798d78f Author: Phil Dibowitz Date: Tue Jul 4 12:46:43 2006 -0700 [PATCH] USB: another unusual device Please add the attached device to unusual_devs.h. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit e1979fef347f534c3797eaa3e10825235ed72766 Author: Colin Leroy Date: Tue Jul 11 11:36:43 2006 +0200 [PATCH] USB: Add one VID/PID to ftdi_sio This patch adds the Testo USB interface to the list of devices recognized by the ftdi_sio module. This device is based on a FT232BL chip, and is used as an interface to get data from digital sensors (thermometer, etc). See http://www.testo.com/ Signed-off-by: Colin Leroy Signed-off-by: Greg Kroah-Hartman commit 7e3bd120e52971d5e255ca800f7de6bf83d8f2d1 Author: Lars Jacob Date: Mon Jul 10 11:53:58 2006 -0400 [PATCH] USB: unusual_devs entry for Sony DSC-H5 This patch (as749) extends the unusual_devs entry for the Sony DSC-T1 and T5 to cover the H5 as well. From: Lars Jacob Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 57b01b1e393b8b874421fb77d4f078b8ce725e63 Author: Alan Stern Date: Mon Jul 10 11:51:12 2006 -0400 [PATCH] USB: unusual_devs entry for Nokia E61 This patch (as748) adds an unusual_devs entry for the Nokia E61 mobile phone. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 9a01355e1779356a69d80d917aef009eda44284a Author: Alan Stern Date: Fri Jul 7 13:45:13 2006 -0400 [PATCH] USB: unusual_devs entry for Nokia N91 This patch (as745) adds an unusual_devs entry for the Nokia N91, just like the entry for the N80 added a couple of weeks ago. Apparently Nokia isn't using very good firmware these days... Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit b6c2799dec0c9f6f6de35c2161b246c910108204 Author: Dan Streetman Date: Wed Jul 5 19:17:27 2006 -0400 [PATCH] USB: add ZyXEL vendor/product ID to rtl8150 driver I just got a "ZyXEL Prestige USB Adapter" that is actually RTL8150 adapter. Here is the relevant /proc/bus/usb/devices output (after adding the vendor/product IDs to the driver): T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=119 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0586 ProdID=401a Rev= 1.00 S: Manufacturer=ZyXEL S: Product=Prestige USB Adapter S: SerialNumber=1027 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=120mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=rtl8150 E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=1ms This patch adds the ZyXEL vendor ID to the rtl8150.c driver. The device has absolutely no identifying marks on the outside for model type, just a serial number, and I can't find anything on ZyXEL's website, so I called the product ID PRODUCT_ID_PRESTIGE to match the product string. Signed-off-by: Dan Streetman Acked-by: Signed-off-by: Greg Kroah-Hartman commit e37de9e0d6591706a76cff63582cbc721c317333 Author: Matthias Urlichs Date: Thu Jul 6 13:12:53 2006 +0200 [PATCH] USB: Option driver: new product ID Yet another "same name, somewhat different hardware" product. Signed-Off-By: Matthias Urlichs Signed-off-by: Greg Kroah-Hartman commit b857c651e7e369c12098007772549f817b3bf961 Author: Navaho Gunleg Date: Fri Jun 30 09:44:03 2006 +0200 [PATCH] USB: add support for WiseGroup., Ltd SmartJoy Dual PLUS Adapter This patch is to get the WiseGroup.,Ltd SmartJoy Dual Plus PS2-to-USB Adapter [0x6677:0x8802] correctly detected. It sets the NOGET and MULTI_INPUT quirks to make 2 joystick nodes appear in stead of only one. (As of yet, only confirmed working by myself.) Signed-off-by: Navaho Gunleg Signed-off-by: Greg Kroah-Hartman commit b2f1b0d4649a6597c7320bf359e71014653c630d Author: Bart Oldeman Date: Sun Jul 2 15:07:10 2006 +1200 [PATCH] USB: ipw.c driver fix The below patch fixes the ipw module in kernel 2.6.17 for me; without this change it simply does not work at all (all but the first writes are refused because write_urb_busy is always 1). This problem was there in 2.6.15 as well, but at that point I used the (updated) ipw.c, version 0.4, from http://www.neology.co.za/products/opensource/ipwireless/ which no longer compiles with 2.6.17. It can be made to after a few changes but obviously it's easier if the built-in ipw driver works instead of having to download one from the neology site. From: Bart Oldeman Signed-off-by: Greg Kroah-Hartman commit 49e523b90741b936c874c376b5d140add5c0084d Author: Michal Piotrowski Date: Mon Jul 3 14:20:39 2006 +0200 [PATCH] USB: remove devfs information from Kconfig Devfs is gone. We can remove that information. Signed-off-by: Michal Piotrowski Signed-off-by: Greg Kroah-Hartman commit 028d2a39d1cbcf17242a915f0852acdd36660822 Author: Christoph Lameter Date: Fri Jun 30 02:34:47 2006 -0700 [PATCH] USB: remove empty destructor from drivers/usb/mon/mon_text.c Remove destructor and call kmem_cache_create with NULL for the destructor. Acked-by: Pekka Enberg Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Cc: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit b33488eb5c27c13c3e88cdf29d344ccdcb0859f2 Author: Frank Gevaerts Date: Fri Jun 30 02:34:45 2006 -0700 [PATCH] USB: ipaq.c timing parameters Adds configurable waiting periods to the ipaq connection code. These are not needed when the pocketpc device is running normally when plugged in, but they need extra delays if they are physically connected while rebooting. There are two parameters : * initial_wait : this is the delay before the driver attemts to start the connection. This is needed because the pocktpc device takes much longer to boot if the driver starts sending control packets too soon. * connect_retries : this is the number of times the control urb is retried before finally giving up. The patch also adds a 1 second delay between retries. I'm not sure if the cases where this patch is useful are general enough to include this in the kernel. Signed-off-by: Frank Gevaerts Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit b512504e5671f83638be0ddb085c4b1832f623d3 Author: Frank Gevaerts Date: Fri Jun 30 02:34:44 2006 -0700 [PATCH] USB: ipaq.c bugfixes This patch fixes several problems in the ipaq.c driver with connecting and disconnecting pocketpc devices: * The read urb stayed active if the connect failed, causing nullpointer dereferences later on. * If a write failed, the driver continued as if nothing happened. Now it handles that case the same way as other usb serial devices (fix by Luiz Fernando N. Capitulino ) Signed-off-by: Frank Gevaerts Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit b972b68c396cfa9f8af7e0b314e22705251bc218 Author: David Brownell Date: Fri Jun 30 02:34:42 2006 -0700 [PATCH] USB: ehci: fix bogus alteration of a local variable In a rare and all-but-unused path, the EHCI driver could reuse a variable in a way that'd make trouble. Specifically, if the first root hub port gets an overcurrent event (rare) during a remote wakeup scenario (all but unused in today's Linux, except for folk working with suspend-to-RAM and similar sleep states), that would look like a fatal error which would shut down the controller. Fix by not reusing that variable. Spotted by Per Hallsmark Fixes http://bugzilla.kernel.org/show_bug.cgi?id=6661 Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 69de51fdda3fd984541978313b66e4f2c44cc23e Author: Kevin Lloyd Date: Fri Jun 30 11:17:55 2006 -0700 [PATCH] USB: add driver for non-composite Sierra Wireless devices This patch creates a new driver, sierra.c, that supports the new non-composite Sierra Wireless WWAN devices. The older Sierra Wireless and Airprime devices are supported in airprime.c. Signed-off-by: Kevin Lloyd Signed-off-by: Greg Kroah-Hartman commit 053be305d3a5ae0152991f25c6579127fb48710c Author: Eric Sesterhenn Date: Tue Jun 27 00:57:42 2006 +0200 [PATCH] USB: fix pointer dereference in drivers/usb/misc/usblcd coverity spotted (id #185) that we still use urb, if the allocation fails in the error path. This patch fixes this by returning directly. Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit c1b45f247a2901de3982f33196d5caf8ca5b9799 Author: Kyle McMartin Date: Sun Jun 25 18:45:29 2006 -0400 [PATCH] USB: Kill compiler warning in quirk_usb_handoff_ohci Move variables only used on !__hppa__ into that #ifndef section. This cleans up a compiler warning on parisc. Problem pointed out by Joel Soete. Signed-off-by: Kyle McMartin Signed-off-by: Greg Kroah-Hartman commit 224654004ca688af67cec44d9300e8c3f647577c Author: Ian Abbott Date: Mon Jun 26 12:59:17 2006 +0100 [PATCH] USB serial ftdi_sio: Prevent userspace DoS This patch limits the amount of outstanding 'write' data that can be queued up for the ftdi_sio driver, to prevent userspace DoS attacks (or simple accidents) that use up all the system memory by writing lots of data to the serial port. The original patch was by Guillaume Autran, who in turn based it on the same mechanism implemented in the 'visor' driver. I (Ian Abbott) re-targeted the patch to the latest sources, fixed a couple of errors, renamed his new structure members, and updated the implementations of the 'write_room' and 'chars_in_buffer' methods to take account of the number of outstanding 'write' bytes. It seems to work fine, though at low baud rates it is still possible to queue up an amount of data that takes an age to shift (a job for another day!). Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 00d6058ac93048b525b86fa48b413dcb87ac2728 Author: Ian Abbott Date: Mon Jun 26 11:44:22 2006 +0100 [PATCH] USB serial visor: fix race in open/close The anti user-DoS mechanism in the USB serial 'visor' driver can fail in the following way: visor_open: priv->outstanding_urbs = 0 visor_write: ++priv->outstanding_urbs visor_close: visor_open: priv->outstanding_urbs = 0 visor_write_bulk_callback: --priv->outstanding_urbs So priv->outstanding_urbs ends up as (unsigned long)(-1). Not good! I haven't seen this happen with the visor driver as I don't have the hardware, but I have seen it while testing a patch to implement the same functionality in the ftdi_sio driver (patch not yet submitted). The fix is pretty simple: don't reinitialize outstanding_urbs in visor_open. (Again, I haven't tested the fix in visor, but I have tested it in ftdi_sio.) Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 5650b4dd141e823c2b1bc248cb9ad3e9ac88cf19 Author: Phil Dibowitz Date: Sat Jun 24 17:27:54 2006 -0700 [PATCH] USB Storage: Uname in PR/SC Unneeded message This patch adds the kernel version to the usb-storage Protocol/SubClass unneeded message in order to help us troubleshoot such problems. Signed-off-by: Phil Dibowitz Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 883d989a7edf7a62e38e9150990b56209420e9e5 Author: Phil Dibowitz Date: Sat Jun 24 17:27:10 2006 -0700 [PATCH] USB Storage: US_FL_MAX_SECTORS_64 flag This patch adds a US_FL_MAX_SECTORS_64 and removes the Genesys special-cases for this that were in scsiglue.c. It also adds the flag to other devices reported to need it. Signed-off-by: Phil Dibowitz Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 20307949469269ceea6262aaa306dcb55cf43b25 Author: Alan Stern Date: Wed Jun 28 11:20:41 2006 -0400 [PATCH] usbcore: fixes for hub_port_resume This patch (as731) makes a couple of small fixes to the hub_port_resume routine: Don't return status >= 0 when an error occurs; Clear the port-change-suspend status indicator after resuming a device. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit d8840d60218ac80c74af3b35adbc4cee93c25f18 Author: Ernis Date: Mon Jun 26 16:02:43 2006 -0400 [PATCH] USB: unusual_devs entry for Samsung MP3 player This patch (as730) contains an unusual_devs entry for a Samsung MP3 device. From: Ernis Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0ddc0634714552af355a1fa11bad6051e6cb12ff Author: Davide Perini Date: Mon Jun 19 17:07:39 2006 -0400 [PATCH] usb-storage: unusual_devs entry for Motorola RAZR V3x This patch (as725) adds an unusual_devs entry for the Motorola RAZR V3x. From: Davide Perini Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit b40b7a905ce57608ca93c5032d5ab1f5508d2f11 Author: Alan Stern Date: Mon Jun 19 15:12:38 2006 -0400 [PATCH] USB hub: don't return status > 0 from resume finish_device_resume() in the hub driver isn't careful always to return a negative code in all the error pathways. It also doesn't return 0 in all the success pathways. This patch (as724) fixes the behavior. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit eecd11ed47c8c9bd8e7e3dff35baccae18dd0d84 Author: Alan Stern Date: Mon Jun 19 14:50:15 2006 -0400 [PATCH] usb-storage: fix race between reset and disconnect My recent patch converting usb-storage to use usb_reset_composite_device() added a bug, a race between reset and disconnect. It was necessary to drop the private lock while executing a reset, and if a disconnect occurs at that time it will cause a crash. This patch (as722) fixes the problem by explicitly checking for an early termination after executing each command. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3dd2ae81f70f191f5b6751d18fdfe61dbafda7e8 Author: Oliver Neukum Date: Fri Jun 23 09:14:17 2006 +0200 [PATCH] USB: update for acm in quirks and debug this adds better debugging output & an update of the quirk list to the acm driver Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9189bfc2df0fd87e0e537fe7ad4cf3b66a440fe4 Author: Oliver Bock Date: Thu Jun 22 19:04:47 2006 +0200 [PATCH] USB: rename Cypress CY7C63xxx driver to proper name and fix up some tiny things This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to support more controllers of this family (and more features) as soon as I get hold of the required IDs etc. Please see the source code's header for more information. Signed-off-by: Oliver Bock Signed-off-by: Greg Kroah-Hartman commit 58a5b0a6346b71bf01f0d49cfcc91d3225a373aa Author: Zoran Marceta Date: Thu Jun 22 13:28:11 2006 -0400 [PATCH] usbfs: use the correct signal number for disconnection usbfs stores the wrong signal number in the siginfo structure used for notifying user programs about device disconnect. This patch (as726) fixes it. From: Zoran Marceta Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3b92847425a98d26ad9d2b8682d3ce6020c90752 Author: Matthew Meno Date: Wed Jun 21 15:25:53 2006 -0400 [PATCH] USB: Support for Susteen Datapilot Universal-2 cable in pl2303 The Susteen Datapilot cable (http://www.susteen.com/productdetail/71/producthl/Notempty) has an internal pl2303 to communicate with a set of dummy connector-ends that connect to a variety of cell phones. I've found that it works right out of the box by simply adding the product/vendor id to the pl2303 driver. Signed-off-by: Matt Meno Signed-off-by: Greg Kroah-Hartman commit 5b5daf77a6250f2b1983d092d8237cb169488774 Author: Inaky Perez-Gonzalez Date: Mon Jun 19 18:19:01 2006 -0700 [PATCH] USB: Add some basic WUSB definitions This patch adds basic Wireless USB 1.0 definitions to usb_ch9.h that fit into the existing set of declarations. Boils down to two new recipients for requests (ports and remote pipes), rpipe reset and abort request codes and wire adapter and remote pipe descriptor types. Wire adapters are the USB <-> Wireless USB adaptors; remote pipes are used by those adapters to pipe the host <-> endpoint traffic. Signed-off-by: Inaky Perez-Gonzalez Signed-off-by: Greg Kroah-Hartman commit bd97c4f035b47c1a3ae5cc5ceccdda028b25e9d5 Author: Pete Zaitcev Date: Wed Jun 21 15:03:40 2006 -0700 [PATCH] USB: fix visor leaks This patch fixes blatant leaks in visor driver and makes it report mode sensible things in ->write_room (this is only needed if your visor is a terminal though). It is made to fit into 80 columns with a temporary variable. Might even save a few instructions... Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 34f8e761724ecbfe46246f3faa4c7dbfc3555c26 Author: Pete Zaitcev Date: Wed Jun 21 15:00:45 2006 -0700 [PATCH] USB: fix usb-serial leaks, oopses on disconnect This fix addresses two issues: - Unattached port structures were not freed - My initial fix for crash when eventd runs a work in a freed port did not go far enough Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 92164c5dd1ade33f4e90b72e407910de6694de49 Author: David Miller Date: Wed Jun 21 22:26:09 2006 -0700 [PATCH] USB: OHCI hub code unaligned access I noticed this while debugging something unrelated on sparc64. Signed-off-by: David S. Miller Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit c0f8d56197f7d15f841e7d9d6f88909f4feba678 Author: Christophe Mariac Date: Fri Jun 23 17:36:21 2006 +0200 [PATCH] USB: new device ids for ftdi_sio driver Signed-off-by: Greg Kroah-Hartman commit 48437486c69b4baf68ee98530d8119897148c602 Author: D. Peter Siddons Date: Sat Jun 17 18:09:15 2006 -0400 [PATCH] USB: new device id for Thorlabs motor driver Signed-off-by: Greg Kroah-Hartman commit 3d861494729c70d9ebeb7d93caa107897925c355 Author: Peter Moulder Date: Mon Jun 19 22:47:49 2006 +1000 [PATCH] USB: Addition of vendor/product id pair for pl2303 driver Text from the back of the box, for your information/amusement: USB DATA CABLE FOR K700 Series The USB Cable is an ideal link between your mobile phone and PC. Employing the user-friendiy [sic] USB standard,its capacity for rapid data transfer enables functions such as synchronization of phone book and calendar,as well as Internet browsing via a modem-enabled phone.Autual [sic] connection speed is dependent on phone capacity. MADE IN CHINA From: Peter Moulder Signed-off-by: Greg Kroah-Hartman commit 7fac9a3348921e0fc626c7856ce3d1a9746b2b39 Author: Randy Dunlap Date: Thu Jun 22 15:12:41 2006 -0700 [PATCH] USB: fix usb kernel-doc Warning(/var/linsrc/linux-2617-g4//include/linux/usb.h:66): No description found for parameter 'ep_dev' Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit a5b7474a0364507d168c7ff473e2d82deb676b08 Author: Lennert Buytenhek Date: Fri Jun 23 23:02:01 2006 +0200 [PATCH] USB: ohci bits for the cirrus ep93xx This patch adds OHCI glue bits for the USB host interface in the Cirrus ep93xx (arm920t) CPU. Signed-off-by: Lennert Buytenhek Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d14feb5ee4a46218f92b21ed52338b64130a151b Author: Daniel Mack Date: Fri Jun 23 21:36:07 2006 +0100 [PATCH] USB: au1200: EHCI and OHCI fixes I received an DBAU1200 eval kit from AMD a few days ago and tried to enable the USB2 port, but the current linux-2.6 GIT did not even compile with CONFIG_SOC_1200, CONFIG_SOC_AU1X00, CONFIG_USB_EHCI and CONFIG_USB_OHCI set. Furthermore, in ehci-hcd.c, platform_driver_register() was called with an improper argument of type 'struct device_driver *' which of course ended up in a kernel oops. How could that ever have worked on your machines? Anyway, here's a trivial patch that makes the USB subsystem working on my board for both OHCI and EHCI. It also removes the /* FIXME use "struct platform_driver" */. Signed-off-by: Daniel Mack Signed-off-by: Ralf Baechle Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 18577a6184efbd95a72562c0c590218460d6ea33 Author: Domen Puncer Date: Fri Jun 23 11:55:43 2006 +0100 [PATCH] USB: au1xxx: compile fixes for OHCI for au1200 Compile fixes for au1200 ohci. First part looks a bit hackish... but it works for me. Signed-off-by: Domen Puncer Signed-off-by: Greg Kroah-Hartman commit 5cab828bf0f52f3697a61aa99c54ee43844f53c0 Author: Hans de Goede Date: Wed Jul 5 18:09:09 2006 +0200 [PATCH] hwmon: Documentation update for abituguru Documentation update for the new bank1_types module param. Also add what we know about different revisions of the uGuru and a note that the abituguru driver unfortunatly does not work with the latest and greatest motherboards, which have what I think is revision 4 of the uGuru. Signed-off-by: Hans de Goede Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9b2ad1298232a4016a407261bd6811294b09ba97 Author: Hans de Goede Date: Wed Jul 5 18:07:49 2006 +0200 [PATCH] hwmon: Fix for first generation Abit uGuru chips Now that the abituguru driver is seeing some more widespread testing it has turned out that one the first generation of Abit uGuru motherboards, with uGuru revision 1, the autodetect bank1 sensor type code doesn't (always) work. This patch adds a module param to override the autodetect, and it adds validity checks for the value of the 2 other autodetection override module params. An example of howto use the new param can be found here: http://lm-sensors.org/wiki/Configurations/Abit/AN7 Signed-off-by: Hans de Goede Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1392707977de9e0df18123d56c3148cb0b1c6ab5 Author: Charles Spirakis Date: Wed Jul 5 18:05:15 2006 +0200 [PATCH] hwmon: New maintainer for w83791d Add Charles Spirakis as the maintainer for the w83791d sensor chip driver. Signed-off-by: Charles Spirakis Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 50436a47c6b10c6e4e84e24ea44c5cb85bbcd290 Author: Ben Gardner Date: Sat Jul 1 17:22:18 2006 +0200 [PATCH] pca9539: Honor the force parameter The pca9539 driver doesn't honor the force parameter; it always does detection. This patch will skip detection if forced. Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5313775f18f22f1dac2b548b598d47d65f90e6b0 Author: Uwe Bugla Date: Sat Jul 1 17:25:08 2006 +0200 [PATCH] i2c-algo-bit: Wipe out dead code i2c-algo-bit: Wipe out dead code Signed-off-by: Uwe Bugla Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b39ad0cf7c19fc14e8f823b1b36245f7a3711655 Author: Mark M. Hoffman Date: Sat Jul 1 17:16:06 2006 +0200 [PATCH] i2c: Handle i2c_add_adapter failure in i2c algorithm drivers Content-Disposition: inline; filename=i2c-algo-error-handling-fix.patch It is possible for i2c_add_adapter() to fail. Several I2C algorithm drivers ignore that fact. This (compile-tested only) patch fixes them. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5d925fecac26651e6b0e19cf4ca16933aa640f99 Author: Jean Delvare Date: Sat Jul 1 17:14:32 2006 +0200 [PATCH] i2c: New mailing list We have a new mailing list dedicated to linux i2c: http://lists.lm-sensors.org/mailman/listinfo/i2c Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5a0174831c48df04df83339578b409c7b5f75885 Author: Jean Delvare Date: Sat Jul 1 17:13:37 2006 +0200 [PATCH] i2c-ite: Plan for removal Plan the i2c-ite and i2c-algo-ite drivers for removal. These drivers never compiled since they were added to the kernel tree 5 years ago. Also see: http://marc.theaimsgroup.com/?l=linux-mips&m=115040510817448 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8ced8eee8537b52ef5d77e28d7676ce81bc62359 Author: Jean Delvare Date: Sat Jul 1 17:12:53 2006 +0200 [PATCH] i2c-powermac: Fix master_xfer return value Fix the value returned by the i2c-powermac's master_xfer method. It should return the number of messages processed successfully, but instead returns the number of data bytes in the first (and only) processed message. Also explicitly mention the master_xfer convention so that future implementations get it right directly. Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit c3efacaa68a75049a859cbfd03d52dfdebb7527b Author: Jean Delvare Date: Sat Jul 1 17:06:43 2006 +0200 [PATCH] scx200_acb: Fix the block transactions The scx200_acb i2c bus driver pretends to support SMBus block transactions, but in fact it implements the more simple I2C block transactions. Additionally, it lacks sanity checks on the length of the block transactions, which could lead to a buffer overrun. This fixes an oops reported by Alexander Atanasov: http://marc.theaimsgroup.com/?l=linux-kernel&m=114970382125094 Thanks to Ben Gardner for fixing my bugs :) Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fd627a01477dadaef3bc8556e5e9d0ef80310c3a Author: Thomas Andrews Date: Sat Jul 1 17:05:12 2006 +0200 [PATCH] scx200_acb: Fix the state machine Fix the scx200_acb state machine: * Nack was sent one byte too late on reads >= 2 bytes. * Stop bit was set one byte too late on reads. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 39288e1ac10b3b9a68a629be67d81a0b53512c4e Author: Peter Milne Date: Sat Jul 1 17:03:20 2006 +0200 [PATCH] i2c-iop3xx: Avoid addressing self Avoid addressing self when sending a slave address. Follows instruction in Intel 80331/80321 manuals. Ignoring this worked previously on 80321, but causes a hang on i2cdetect on 80331. Signed-off-by: Peter Milne Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2369df933f1c632ec3f230774019e37c3969b7ec Author: Mark M. Hoffman Date: Sat Jul 1 17:01:59 2006 +0200 [PATCH] i2c: Fix 'ignore' module parameter handling in i2c-core This patch fixes a bug in the handling of 'ignore' module parameters of I2C client drivers. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 22e1170310ec6afa41e0dc7ac9dfac735d82dcab Author: Stephen Hemminger Date: Wed Jul 12 15:23:48 2006 -0700 [PATCH] sky2: optimize receive restart When the driver handles multiple packets per NAPI poll, it is bet