commit 188e1f81ba31af1b65a2f3611df4c670b092bbac Author: Linus Torvalds Date: Sat Jun 16 19:09:12 2007 -0700 Linux 2.6.22-rc5 The manatees, they are dancing! Signed-off-by: Linus Torvalds commit 9d66586f7723b73c5925c7c7819c260484627851 Author: Eric W. Biederman Date: Sat Jun 16 10:16:16 2007 -0700 shm: fix the filename of hugetlb sysv shared memory Some user space tools need to identify SYSV shared memory when examining /proc//maps. To do so they look for a block device with major zero, a dentry named SYSV, and having the minor of the internal sysv shared memory kernel mount. To help these tools and to make it easier for people just browsing /proc//maps this patch modifies hugetlb sysv shared memory to use the SYSV dentry naming convention. User space tools will still have to be aware that hugetlb sysv shared memory lives on a different internal kernel mount and so has a different block device minor number from the rest of sysv shared memory. Signed-off-by: Eric W. Biederman Cc: "Serge E. Hallyn" Cc: Albert Cahalan Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22741925d268e8479ef66312749bd8d96ed35365 Author: Adam Litke Date: Sat Jun 16 10:16:15 2007 -0700 hugetlb: fix get_policy for stacked shared memory files Here's another breakage as a result of shared memory stacked files :( The NUMA policy for a VMA is determined by checking the following (in the order given): 1) vma->vm_ops->get_policy() (if defined) 2) vma->vm_policy (if defined) 3) task->mempolicy (if defined) 4) Fall back to default_policy By switching to stacked files for shared memory, get_policy() is now always set to shm_get_policy which is a wrapper function. This causes us to stop at step 1, which yields NULL for hugetlb instead of task->mempolicy which was the previous (and correct) result. This patch modifies the shm_get_policy() wrapper to maintain steps 1-3 for the wrapped vm_ops. (akpm: the refcounting of mempolicies is busted and this patch does nothing to improve it) Signed-off-by: Adam Litke Acked-by: William Irwin Cc: dean gaudet Cc: Christoph Lameter Cc: Andi Kleen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74584ae509befc2ed711810e7df4b075473869b2 Author: Jan Kara Date: Sat Jun 16 10:16:14 2007 -0700 udf: fix possible leakage of blocks We have to take care that when we call udf_discard_prealloc() from udf_clear_inode() we have to write inode ourselves afterwards (otherwise, some changes might be lost leading to leakage of blocks, use of free blocks or improperly aligned extents). Also udf_discard_prealloc() does two different things - it removes preallocated blocks and truncates the last extent to exactly match i_size. We move the latter functionality to udf_truncate_tail_extent(), call udf_discard_prealloc() when last reference to a file is dropped and call udf_truncate_tail_extent() when inode is being removed from inode cache (udf_clear_inode() call). We cannot call udf_truncate_tail_extent() earlier as subsequent open+write would find the last block of the file mapped and happily write to the end of it, although the last extent says it's shorter. [akpm@linux-foundation.org: Make checkpatch.pl happier] Signed-off-by: Jan Kara Cc: Eric Sandeen Cc: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b356be019d0c28f67af02809df7072c1c8f7d32 Author: Christoph Lameter Date: Sat Jun 16 10:16:13 2007 -0700 SLUB: minimum alignment fixes If ARCH_KMALLOC_MINALIGN is set to a value greater than 8 (SLUBs smallest kmalloc cache) then SLUB may generate duplicate slabs in sysfs (yes again) because the object size is padded to reach ARCH_KMALLOC_MINALIGN. Thus the size of the small slabs is all the same. No arch sets ARCH_KMALLOC_MINALIGN larger than 8 though except mips which for some reason wants a 128 byte alignment. This patch increases the size of the smallest cache if ARCH_KMALLOC_MINALIGN is greater than 8. In that case more and more of the smallest caches are disabled. If we do that then the count of the active general caches that is displayed on boot is not correct anymore since we may skip elements of the kmalloc array. So count them separately. This approach was tested by Havard yesterday. Signed-off-by: Christoph Lameter Cc: Haavard Skinnemoen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dab5241d06bfc9ee141ea78c56cde5070d7460d Author: Benjamin Herrenschmidt Date: Sat Jun 16 10:16:12 2007 -0700 Rework ptep_set_access_flags and fix sun4c Some changes done a while ago to avoid pounding on ptep_set_access_flags and update_mmu_cache in some race situations break sun4c which requires update_mmu_cache() to always be called on minor faults. This patch reworks ptep_set_access_flags() semantics, implementations and callers so that it's now responsible for returning whether an update is necessary or not (basically whether the PTE actually changed). This allow fixing the sparc implementation to always return 1 on sun4c. [akpm@linux-foundation.org: fixes, cleanups] Signed-off-by: Benjamin Herrenschmidt Cc: Hugh Dickins Cc: David Miller Cc: Mark Fortescue Acked-by: William Lee Irwin III Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 679ce0ace6b1a07043bc3b405a34ddccad808886 Author: Matt Mackall Date: Sat Jun 16 10:16:11 2007 -0700 random: fix output buffer folding (As reported by linux@horizon.com) Folding is done to minimize the theoretical possibility of systematic weakness in the particular bits of the SHA1 hash output. The result of this bug is that 16 out of 80 bits are un-folded. Without a major new vulnerability being found in SHA1, this is harmless, but still worth fixing. Signed-off-by: Matt Mackall Cc: Cc: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39a279026609c205d331ec39fea11b2fd470a054 Author: Jeff Dike Date: Sat Jun 16 10:16:10 2007 -0700 uml: kill x86_64 STACK_TOP_MAX The x86_64 a.out.h got a definition of STACK_TOP_MAX, which interferes with the UML version. So, just undef it like STACK_TOP. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c539ab73070b381f0452dae791f891ec2515098e Author: Jeff Dike Date: Sat Jun 16 10:16:09 2007 -0700 uml: remove PAGE_SIZE from libc code Distros seem to be removing PAGE_SIZE from asm/page.h. So, the libc side of UML should stop using it. I replace it with UM_KERN_PAGE_SIZE, which is defined to be the same as PAGE_SIZE on the kernel side of the house. I could also use getpagesize(), but it's more important that UML have the same value of PAGE_SIZE everywhere. It's conceivable that it could be built with a larger PAGE_SIZE, and use of getpagesize() would break that badly. PAGE_MASK got the same treatment, as it is closely tied to PAGE_SIZE. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5a9c77df45b113d21b64cbc2bf6c72a0da48998 Author: David Brownell Date: Sat Jun 16 10:16:08 2007 -0700 spi doc updates Update two points in the SPI interface documentation: - Update description of the "chip stays selected after message ends" mode. In some cases it's required for correctness; it isn't just a performance tweak. (Yes: to use this mode on mult-device busses, another programming interface will be needed. One draft has been circulated already.) - Clarify spi_setup(), highlighting that callers must ensure that no requests are queued (can't change configuration except between I/Os), and that the device must be deselected when this returns (which is a key part of why it's called during device init). Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed45666271f4fafa95b9d8ad44050e9a9bd2376e Author: Mike Accetta Date: Sat Jun 16 10:16:07 2007 -0700 md: fix bug in error handling during raid1 repair If raid1/repair (which reads all block and fixes any differences it finds) hits a read error, it doesn't reset the bio for writing before writing correct data back, so the read error isn't fixed, and the device probably gets a zero-length write which it might complain about. Signed-off-by: Neil Brown Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af03b8e4e81c3789e597632268940edd11ffe870 Author: NeilBrown Date: Sat Jun 16 10:16:06 2007 -0700 md: fix two raid10 bugs 1/ When resyncing a degraded raid10 which has more than 2 copies of each block, garbage can get synced on top of good data. 2/ We round the wrong way in part of the device size calculation, which can cause confusion. Signed-off-by: Neil Brown Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edad01e2a1c527af3baf22dc6977aeb058881150 Author: Alexey Dobriyan Date: Sat Jun 16 10:16:05 2007 -0700 fuse: ->fs_flags fixlet fs/fuse/inode.c:658:3: error: Initializer entry defined twice fs/fuse/inode.c:661:3: also defined here Signed-off-by: Alexey Dobriyan Acked-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da88ba17de990a4b0d18ecde2c40355700888750 Author: Björn Steinbrink Date: Sat Jun 16 10:16:04 2007 -0700 perfctr-watchdog: fix interchanged parameters to release_{evntsel,perfctr}_nmi Fix oops triggered during: echo 0 > /proc/sys/kernel/nmi_watchdog The culprit seems to be 09198e68501a7e34737cd9264d266f42429abcdc: [PATCH] i386: Clean up NMI watchdog code In two places, the parameters to release_{evntsel,perfctr}_nmi got interchanged during the cleanup. Fix interchanged parameters to release_{evntsel,perfctr}_nmi. Signed-off-by: Björn Steinbrink Cc: Stephane Eranian Cc: Andi Kleen Cc: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f41dddbbd7193fb5cdae0a24db4d378d56885fd Author: Rafael J. Wysocki Date: Sat Jun 16 10:16:03 2007 -0700 swsusp: Fix userland interface Fix oops caused by 'cat /dev/snapshot', reported by Arkadiusz Miskiewicz, and make it impossible to thaw tasks with the help of the swsusp userland interface while there is a snapshot image ready to save. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1d93de3e4633c4cbfd622a3564d8268a116a46a Author: Randy Dunlap Date: Sat Jun 16 10:16:02 2007 -0700 toshiba_acpi: fix section mismatch in allyesconfig Fix section error (allyesconfig). The exit function is called from init, so functions that are called by the exit function cannot be marked __exit. WARNING: drivers/built-in.o(.text+0xe5bc6): Section mismatch: reference to .exit. text: (between 'toshiba_acpi_exit' and 'hci_raw') Signed-off-by: Randy Dunlap Cc: Len Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e903e7b1605aff88d7f89a96fab5e43081b914f Author: Paul Jackson Date: Sat Jun 16 10:16:01 2007 -0700 cpuset: zero malloc - fix for old cpusets The cpuset code to present a list of tasks using a cpuset to user space could write to an array that it had kmalloc'd, after a kmalloc request of zero size. The problem was that the code didn't check for writes past the allocated end of the array until -after- the first write. This is a race condition that is likely rare -- it would only show up if a cpuset went from being empty to having a task in it, during the brief time between the allocation and the first write. Prior to roughly 2.6.22 kernels, this was also a benign problem, because a zero kmalloc returned a few usable bytes anyway, and no harm was done with the bogus write. With the 2.6.22 kernel changes to make issue a warning if code tries to write to the location returned from a zero size allocation, this problem is no longer benign. This cpuset code would occassionally trigger that warning. The fix is trivial -- check before storing into the array, not after, whether the array is big enough to hold the store. Cc: "Eric W. Biederman" Cc: "Serge E. Hallyn" Cc: Balbir Singh Cc: Dave Hansen Cc: Herbert Poetzl Cc: Kirill Korotaev Cc: Paul Menage Cc: Srivatsa Vaddagiri Cc: Christoph Lameter Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6f8bb1310d4745ff1d0c74eeacae31e2a3eeff1 Author: Hugh Dickins Date: Sat Jun 16 10:15:59 2007 -0700 i386 mm: use pte_update() in ptep_test_and_clear_dirty() It is not safe to use pte_update_defer() in ptep_test_and_clear_young(): its only user, /proc//clear_refs, drops pte lock before flushing TLB. Use the safe though less efficient pte_update() paravirtop in its place. Likewise in ptep_test_and_clear_dirty(), though that has no current use. These are macros (header file dependency stops them from becoming inline functions), so be more liberal with the underscores and parentheses. Signed-off-by: Hugh Dickins Cc: Zachary Amsden Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30475cc12a50816f290828fb7e3cd7036cd622df Author: Badari Pulavarty Date: Sat Jun 16 10:15:59 2007 -0700 Restore shmid as inode# to fix /proc/pid/maps ABI breakage shmid used to be stored as inode# for shared memory segments. Some of the proc-ps tools use this from /proc/pid/maps. Recent cleanups to newseg() changed it. This patch sets inode number back to shared memory id to fix breakage. Signed-off-by: Badari Pulavarty Cc: "Albert Cahalan" Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd08c40e3e23f868eb0e49f638eb208736ec7e66 Author: Christoph Lameter Date: Sat Jun 16 10:15:57 2007 -0700 SLUB slab validation: Alloc while interrupts are disabled must use GFP_ATOMIC The data structure to manage the information gathered about functions allocating and freeing objects is allocated when the list_lock has already been taken. We need to allocate with GFP_ATOMIC instead of GFP_KERNEL. Signed-off-by: Christoph Lameter Cc: Mel Gorman Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54c6ed7562d59ab238df1ec9ff76d81d7d0f0842 Author: Björn Steinbrink Date: Sat Jun 16 10:15:56 2007 -0700 i386: use the right wrapper to disable the NMI watchdog When disabled through /proc/sys/kernel/nmi_watchdog, the NMI watchdog uses the stop() method directly, which does not decrement the activity counter, leading to a BUG(). Use the wrapper function instead to fix that. Signed-off-by: Björn Steinbrink Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faa4cfa6b334fc07c3386e620a2fb55de508c077 Author: Björn Steinbrink Date: Sat Jun 16 10:15:55 2007 -0700 i386: fix NMI watchdog not reserving its MSRs At system boot time, the NMI watchdog no longer reserved its MSRs, allowing other subsystems to mess with them. Fix that. Signed-off-by: Björn Steinbrink Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38ad2ed08d89a4b830a03131fa73e4ef3e98d9f4 Author: Paul Fulghum Date: Sat Jun 16 10:15:55 2007 -0700 tty: restore locked ioctl file op Restore tty locked ioctl handler which was replaced with an unlocked ioctl handler in hung_up_tty_fops by the patch: commit e10cc1df1d2014f68a4bdcf73f6dd122c4561f94 Author: Paul Fulghum Date: Thu May 10 22:22:50 2007 -0700 tty: add compat_ioctl This was reported in: [Bug 8473] New: Oops: 0010 [1] SMP The bug is caused by switching to hung_up_tty_fops in do_tty_hangup. An ioctl call can be waiting on BLK after testing for existence of the locked ioctl handler in the normal tty fops, but before calling the locked ioctl handler. If a hangup occurs at that point, the locked ioctl fop is NULL and an oops occurs. (akpm: we can remove my debugging code from do_ioctl() now, but it'll be OK to do that for 2.6.23) Signed-off-by: Paul Fulghum Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4d2781731e846c2f01dd85e71883d120860c6dd Author: David Woodhouse Date: Sat Jun 16 10:48:19 2007 +0100 fix radeon setparam on 32/64 systems, harder. Commit 9b01bd5b284bbf519b726b39f1352023cb5e9e69 introduced a compat_ioctl handler for RADEON_SETPARAM, the sole purpose of which was to handle the fact that on i386, alignof(uint64_t)==4. Unfortunately, this handler was installed for _all_ 64-bit architectures, instead of only x86_64 and ia64. And thus it breaks 32-bit compatibility on every other arch, where 64-bit integers are aligned to 8 bytes in 32-bit mode just the same as in 64-bit mode. Arnd has a cunning plan to use 'compat_u64' with appropriate alignment attributes according to the 32-bit ABI, but for now let's just make the compat_radeon_cp_setparam routine entirely disappear on 64-bit machines whose 32-bit compat support isn't for i386. It would be a no-op with compat_u64 anyway. Signed-off-by: David Woodhouse Acked-by: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: Dave Airlie Signed-off-by: Linus Torvalds commit d1be0a8225f2cb1cdc356ebb0ae6800f023ce67d Author: Bartlomiej Zolnierkiewicz Date: Sat Jun 16 02:24:44 2007 +0200 ide-scsi: fix OOPS in idescsi_expiry() drive->driver_data contains pointer to Scsi_Host not idescsi_scsi_t. Signed-off-by: Bartlomiej Zolnierkiewicz commit ce9b2b0abbf019d5259eb089a1cc256852930f67 Author: Rafael J. Wysocki Date: Sat Jun 16 02:24:43 2007 +0200 Resume from RAM on HPC nx6325 broken generic_ide_resume() should check if dev->driver is not NULL before applying to_ide_driver() to it. Fix that. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz commit d09c6b809432668371b5de9102f4f9aa6a7c79cc Author: Paul Mundt Date: Thu Jun 14 15:13:16 2007 +0900 mm: Fix memory/cpu hotplug section mismatch and oops. When building with memory hotplug enabled and cpu hotplug disabled, we end up with the following section mismatch: WARNING: mm/built-in.o(.text+0x4e58): Section mismatch: reference to .init.text: (between 'free_area_init_node' and '__build_all_zonelists') This happens as a result of: -> free_area_init_node() -> free_area_init_core() -> zone_pcp_init() <-- all __meminit up to this point -> zone_batchsize() <-- marked as __cpuinit fo This happens because CONFIG_HOTPLUG_CPU=n sets __cpuinit to __init, but CONFIG_MEMORY_HOTPLUG=y unsets __meminit. Changing zone_batchsize() to __devinit fixes this. __devinit is the only thing that is common between CONFIG_HOTPLUG_CPU=y and CONFIG_MEMORY_HOTPLUG=y. In the long run, perhaps this should be moved to another section identifier completely. Without this, memory hot-add of offline nodes (via hotadd_new_pgdat()) will oops if CPU hotplug is not also enabled. Signed-off-by: Paul Mundt Acked-by: Yasunori Goto Signed-off-by: Linus Torvalds -- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc90ba093af2e5022b9d055a2148b54a6aa35bc9 Author: Tejun Heo Date: Fri Jun 15 13:24:28 2007 +0200 block: always requeue !fs requests at the front SCSI marks internal commands with REQ_PREEMPT and push it at the front of the request queue using blk_execute_rq(). When entering suspended or frozen state, SCSI devices are quiesced using scsi_device_quiesce(). In quiesced state, only REQ_PREEMPT requests are processed. This is how SCSI blocks other requests out while suspending and resuming. As all internal commands are pushed at the front of the queue, this usually works. Unfortunately, this interacts badly with ordered requeueing. To preserve request order on requeueing (due to busy device, active EH or other failures), requests are sorted according to ordered sequence on requeue if IO barrier is in progress. The following sequence deadlocks. 1. IO barrier sequence issues. 2. Suspend requested. Queue is quiesced with part or all of IO barrier sequence at the front. 3. During suspending or resuming, SCSI issues internal command which gets deferred and requeued for some reason. As the command is issued after the IO barrier in #1, ordered requeueing code puts the request after IO barrier sequence. 4. The device is ready to process requests again but still is in quiesced state and the first request of the queue isn't REQ_PREEMPT, so command processing is deadlocked - suspending/resuming waits for the issued request to complete while the request can't be processed till device is put back into running state by resuming. This can be fixed by always putting !fs requests at the front when requeueing. The following thread reports this deadlock. http://thread.gmane.org/gmane.linux.kernel/537473 Signed-off-by: Tejun Heo Acked-by: David Greaves Acked-by: Jeff Garzik Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 16c61add51f2182140637c924687a2aab6b568f9 Author: Adrian Bunk Date: Fri Jun 15 15:15:43 2007 -0700 [RXRPC] net/rxrpc/ar-connection.c: fix NULL dereference This patch fixes a NULL dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 7769f4064cd9f4fbae09f071578a051aae83e844 Author: Ilpo Järvinen Date: Fri Jun 15 15:14:04 2007 -0700 [TCP]: Fix logic breakage due to DSACK separation Commit 6f74651ae626ec672028587bc700538076dfbefb is found guilty of breaking DSACK counting, which should be done only for the SACK block reported by the DSACK instead of every SACK block that is received along with DSACK information. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit b9ce204f0a265f819d10c943a607746abb62f245 Author: Ilpo Järvinen Date: Fri Jun 15 15:08:43 2007 -0700 [TCP]: Congestion control API RTT sampling fix Commit 164891aadf1721fca4dce473bb0e0998181537c6 broke RTT sampling of congestion control modules. Inaccurate timestamps could be fed to them without providing any way for them to identify such cases. Previously RTT sampler was called only if FLAG_RETRANS_DATA_ACKED was not set filtering inaccurate timestamps nicely. In addition, the new behavior could give an invalid timestamp (zero) to RTT sampler if only skbs with TCPCB_RETRANS were ACKed. This solves both problems. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit 02676e5aee271c1f20d7d44249d26741aef1e846 Author: Jens Axboe Date: Fri Jun 15 13:16:13 2007 +0200 splice: only check do_wakeup in splice_to_pipe() for a real pipe We only ever set do_wakeup to non-zero if the pipe has an inode backing, so it's pointless to check outside the pipe->inode check. Signed-off-by: Jens Axboe commit 00de00bdad278783b3664ad2969954a707f5944a Author: Jens Axboe Date: Fri Jun 15 13:14:22 2007 +0200 splice: fix leak of pages on short splice to pipe If the destination pipe is full and we already transferred data, we break out instead of waiting for more pipe room. The exit logic looks at spd->nr_pages to see if we moved everything inside the spd container, but we decrement that variable in the loop to decide when spd has emptied. Instead we want to compare to the original page count in the spd, so cache that in a local variable. Signed-off-by: Jens Axboe commit 17ee4f49ab2c802c7818fa71c4e7e351a7230b86 Author: Jens Axboe Date: Fri Jun 15 13:10:37 2007 +0200 splice: adjust balance_dirty_pages_ratelimited() call As we have potentially dirtied more than 1 page, we should indicate as such to the dirty page balancing. So call balance_dirty_pages_ratelimited_nr() and pass in the approximate number of pages we dirtied. Signed-off-by: Jens Axboe commit 7702fd1f6fea57921f2e643d27a23a2d0394499c Author: Avi Kivity Date: Thu Jun 14 16:27:40 2007 +0300 KVM: Prevent guest fpu state from leaking into the host The lazy fpu changes did not take into account that some vmexit handlers can sleep. Move loading the guest state into the inner loop so that it can be reloaded if necessary, and move loading the host state into vmx_vcpu_put() so it can be performed whenever we relinquish the vcpu. Signed-off-by: Avi Kivity commit 8888985144db8f4cb7e56154b31bdf233d3550bf Author: Wang Zhenyu Date: Thu Jun 14 10:01:04 2007 +0800 [AGPGART] intel_agp: fix device probe This patch trys to fix device probe in two cases. First we should correctly detect device if integrated graphics device is not enabled or exists, like an add-in card is plugged. Second on some type of intel GMCH, it might have multiple graphic chip models, like 945GME case, so we should be sure the detect works through the whole table. Signed-off-by: Wang Zhenyu Signed-off-by: Dave Jones commit 74235a25c673f80147c1f975304888e8212a14d5 Author: Herbert Xu Date: Thu Jun 14 13:02:55 2007 -0700 [IPV6] addrconf: Fix IPv6 on tuntap tunnels The recent patch that added ipv6_hwtype is broken on tuntap tunnels. Indeed, it's broken on any device that does not pass the ipv6_hwtype test. The reason is that the original test only applies to autoconfiguration, not IPv6 support. IPv6 support is allowed on any device. In fact, even with the ipv6_hwtype patch applied you can still add IPv6 addresses to any interface that doesn't pass thw ipv6_hwtype test provided that they have a sufficiently large MTU. This is a serious problem because come deregistration time these devices won't be cleaned up properly. I've gone back and looked at the rationale for the patch. It appears that the real problem is that we were creating IPv6 devices even if the MTU was too small. So here's a patch which fixes that and reverts the ipv6_hwtype stuff. Thanks to Kanru Chen for reporting this issue. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d7ea5b91fad553e445bbe5d958b6a7b16222c092 Author: Ilpo Järvinen Date: Thu Jun 14 12:58:26 2007 -0700 [TCP]: Add missing break to TCP option parsing code This flaw does not affect any behavior (currently). Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit 7b4f4ec21038ac13c63d130357d1c3015ec3f3e8 Author: Chris Dearman Date: Thu May 24 22:46:25 2007 +0100 [MIPS] Fix builds where MSC01E_xxx is undefined. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit ffe9ee4709cf513fb80e9b7e04d214dd8b76a10d Author: Chris Dearman Date: Thu May 24 22:24:20 2007 +0100 [MIPS] Separate performance counter interrupts Support for performance counter overflow interrupt that is on a separate interrupt from the timer. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit b72c05262298cc2ac92edb657f5ea3a97ad5ea3d Author: Chris Dearman Date: Fri Apr 27 15:58:41 2007 +0100 [MIPS] Malta: Fix for SOCitSC based Maltas And an attempt to tidy up the core/controller differences. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit 093d0faf57e59feee224217273f944e10e4e3562 Author: Haavard Skinnemoen Date: Mon Jun 11 17:17:14 2007 +0200 [AVR32] Define ARCH_KMALLOC_MINALIGN to L1_CACHE_BYTES This allows SLUB debugging to be used without fear of messing up DMA transfers. SPI is one example that easily breaks without this patch. Signed-off-by: Haavard Skinnemoen commit 2fdfe8d9a2687718b07a35196b89fbf48ba0c82f Author: Haavard Skinnemoen Date: Tue May 29 21:33:37 2007 +0200 [AVR32] STK1000: Set SPI_MODE_3 in the ltv350qv board info In the latest incarnation of the ltv350qv driver the call to spi_setup() has been removed. So we need to initialize things more carefully in the board info struct. Signed-off-by: Haavard Skinnemoen commit 2ae795b02aa46a99d845958ae8d7bc8afa04292b Author: David Brownell Date: Thu May 24 13:52:08 2007 -0700 [AVR32] gpio_*_cansleep() fix The AVR32 was missing the gpio_*_cansleep() calls, breaking compilation for some code using them. Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit 126187f1e00048abec4d4a2eb3eeae396fbaa944 Author: Andrea Righi Date: Wed May 23 14:14:52 2007 -0700 [AVR32] ratelimit segfault reporting rate Limit the rate of the kernel logging for the segfaults of user applications, to avoid potential message floods or denial-of-service attacks. Signed-off-by: Andrea Righi Signed-off-by: Andrew Morton Signed-off-by: Haavard Skinnemoen commit 220ddc0847ebd42d18ee78c7e1c2f4c2e3be637d Author: Milton Miller Date: Sun Jun 10 14:32:43 2007 +1000 [POWERPC] Fix console output getting dropped on platforms without udbg_putc Previously, registering this early console would just result in dropping early buffered printk output until a udbg_putc was registered. However, commit 69331af79cf29e26d1231152a172a1a10c2df511 clears the CON_PRINTBUFFER flag on the main console when a CON_BOOT (early) console has been registered, resulting in the buffered messages never being displayed to the user. This fixes the problem by making sure we don't register udbg_console on platforms that don't implement udbg_putc. Signed-off-by: Milton Miller Acked-by: Mark A. Greer Signed-off-by: Paul Mackerras commit c63c4faa8cf055319c7ed557d2050c1c3776fac5 Author: Paul Mackerras Date: Thu Jun 7 22:42:19 2007 +1000 [POWERPC] Fix per-cpu allocation on oldworld SMP powermacs The per-cpu area(a) for the secondary CPU(s) isn't getting allocated on old SMP powermacs that don't have the secondary CPU(s) listed in the device tree, as per-cpu areas are now only allocated for CPUs in the cpu_possible_map, and we aren't setting the bits for the secondary CPU(s) until smp_prepare_cpus(), which is after per-cpu allocation. Therefore this sets the bits for CPUs 1..3 in cpu_possible_map in pmac_setup_arch, so they get per-cpu data allocated. Signed-off-by: Paul Mackerras commit 06ad391919b2078ec2e012f0593014b88e7a6c4e Author: Vlad Yasevich Date: Tue Jun 12 15:26:22 2007 -0400 [SCTP] Don't disable PMTU discovery when mtu is small Right now, when we receive a mtu estimate smaller then minim threshold in the ICMP message, we disable the path mtu discovery on the transport. This leads to the never increasing sctp fragmentation point even when the real path mtu has increased. Signed-off-by: Vlad Yasevich commit 8a4794914f9cf2681235ec2311e189fe307c28c7 Author: Vlad Yasevich Date: Thu Jun 7 14:21:05 2007 -0400 [SCTP] Flag a pmtu change request Currently, if the socket is owned by the user, we drop the ICMP message. As a result SCTP forgets that path MTU changed and never adjusting it's estimate. This causes all subsequent packets to be fragmented. With this patch, we'll flag the association that it needs to udpate it's estimate based on the already updated routing information. Signed-off-by: Vlad Yasevich Acked-by: Sridhar Samudrala commit c910b47e1811b3f8b184108c48de3d7af3e2999b Author: Vlad Yasevich Date: Thu Jun 7 13:47:03 2007 -0400 [SCTP] Update pmtu handling to be similar to tcp Introduce new function sctp_transport_update_pmtu that updates the transports and destination caches view of the path mtu. Signed-off-by: Vlad Yasevich Acked-by: Sridhar Samudrala commit fe979ac169970b3d12facd6565766735862395c5 Author: Vlad Yasevich Date: Wed May 23 11:11:37 2007 -0400 [SCTP] Fix leak in sctp_getsockopt_local_addrs when copy_to_user fails If the copy_to_user or copy_user calls fail in sctp_getsockopt_local_addrs(), the function should free locally allocated storage before returning error. Spotted by Coverity. Signed-off-by: Vlad Yasevich Acked-by: Sridhar Samudrala commit 8b35805693e1915829355723537f99f1b8bc9cc0 Author: Vlad Yasevich Date: Tue May 15 17:14:58 2007 -0400 [SCTP]: Allow unspecified port in sctp_bindx() Allow sctp_bindx() to accept multiple address with unspecified port. In this case, all addresses inherit the first bound port. We still catch full mis-matches. Signed-off-by: Vlad Yasevich Acked-by: Sridhar Samudrala commit d570ee490fb18220262cfe41284d7aede797ed4f Author: Vlad Yasevich Date: Tue May 15 16:32:39 2007 -0400 [SCTP]: Correctly set daddr for IPv6 sockets during peeloff During peeloff of AF_INET6 socket, the inet6_sk(sk)->daddr wasn't set correctly since the code was assuming IPv4 only. Now we use a correct call to set the destination address. Signed-off-by: Vlad Yasevich Acked-by: Sridhar Samudrala commit c3bff2ec10b8bf2f53c954e370f9bdae93064472 Author: Pierre Ossman Date: Wed Jun 13 19:06:03 2007 +0200 mmc: get back read-only switch function Somehow the code to read the read-only switch of SD cards got lost in the reorganisation. Signed-off-by: Pierre Ossman commit 0107a4b32e36dccd4456e2c5e34c5cd22c94e094 Author: Ragner Magalhaes Date: Wed Jun 13 19:09:28 2007 +0200 mmc-omap: fix sd response type 6 vs. 1 Ignoring OMAP_MMC_STAT_CARD_ERR, treating it as if the command completed correctly. Signed-off-by: Ragner Magalhaes Signed-off-by: Carlos Eduardo Aguiar Signed-off-by: Pierre Ossman commit 66e1e3b20cbbf99da63e6c1af0fc6d39c2ed099a Author: David S. Miller Date: Wed Jun 13 01:03:53 2007 -0700 [TCP]: Set initial_ssthresh default to zero in Cubic and BIC. Because of the current default of 100, Cubic and BIC perform very poorly compared to standard Reno. In the worst case, this change makes Cubic and BIC as aggressive as Reno. So this change should be very safe. Signed-off-by: David S. Miller commit fc395f8d589f4f0b3fcdd9b8bb84b7cacf711a4f Author: David S. Miller Date: Tue Jun 12 23:56:52 2007 -0700 [SPARC64]: Fix args to sun4v_ldc_revoke(). First argument is LDC channel ID, then mapping cookie, then the MTE revoke cookie. Signed-off-by: David S. Miller commit f467b998eeae933029a83db8ad860da3879acd63 Author: David S. Miller Date: Tue Jun 12 23:53:03 2007 -0700 [SPARC64]: Really fix parport. We were passing a "struct pci_dev *" instead of a "struct device *" to the parport registry routines. No wonder things exploded. The ebus_bus_type hacks can be backed out from asm-sparc64/dma-mapping.h, those were wrong. Signed-off-by: David S. Miller commit 56f5c0bd50e948408ac0fd587b5c89fa7e2a1b6e Author: David S. Miller Date: Tue Jun 12 16:54:08 2007 -0700 [SPARC64]: Fix IO/MEM space sizing for PCI. In pci_determine_mem_io_space(), do not hard code the region sizes. Instead, use the values given to us in the ranges property. Thanks goes to Mikael Petterson for the original Xorg failure bug repoert, and strace dumps from Mikael and Dmitry Artamonow. Signed-off-by: David S. Miller commit 4a907dec9845001dc2b117a0ed2a2150384a4cea Author: David S. Miller Date: Wed Jun 13 00:01:04 2007 -0700 [SPARC64]: Wire up cookie based sun4v interrupt registry. This will be used for logical domain channel interrupts. Signed-off-by: David S. Miller commit 893e7c2db05f14032f2390ef7c59a499fc25ccae Author: Dmitry Torokhov Date: Wed Jun 13 01:49:58 2007 -0400 Input: move input-polldev to drivers/input To work around deficiences in Kconfig that allows to "select" a symbol without automatically selecting all dependencies for that symbol move input-polldev from drivers/input/misc to drivers/input thus removing extra dependency on CONFIG_INPUT_MISC. Signed-off-by: Dmitry Torokhov commit af15cc7b858c7653443ab64db2e41b69506450ee Author: Ilpo Järvinen Date: Tue Jun 12 16:16:44 2007 -0700 [TCP]: Fix left_out setting during FRTO Without FRTO, the tcp_try_to_open is never called with lost_out > 0 (see tcp_time_to_recover). However, when FRTO is enabled, the !tp->lost condition is not used until end of FRTO because that way TCP avoids premature entry to fast recovery during FRTO. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit dd14cbc994709a1c5a64ed3621f583c49a27e521 Author: Tejun Heo Date: Mon Jun 11 14:04:01 2007 +0900 sysfs: fix race condition around sd->s_dentry, take#2 Allowing attribute and symlink dentries to be reclaimed means sd->s_dentry can change dynamically. However, updates to the field are unsynchronized leading to race conditions. This patch adds sysfs_lock and use it to synchronize updates to sd->s_dentry. Due to the locking around ->d_iput, the check in sysfs_drop_dentry() is complex. sysfs_lock only protect sd->s_dentry pointer itself. The validity of the dentry is protected by dcache_lock, so whether dentry is alive or not can only be tested while holding both locks. This is minimal backport of sysfs_drop_dentry() rewrite in devel branch. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman commit 6aa054aadfea613a437ad0b15d38eca2b963fc0a Author: Tejun Heo Date: Mon Jun 11 14:03:27 2007 +0900 sysfs: fix condition check in sysfs_drop_dentry() The condition check doesn't make much sense as it basically always succeeds. This causes NULL dereferencing on certain cases. It seems that parentheses are put in the wrong place. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman commit dc351252b33f8fede396d6173dba117bcb933607 Author: Eric Sandeen Date: Mon Jun 11 14:02:45 2007 +0900 sysfs: store sysfs inode nrs in s_ino to avoid readdir oopses Backport of ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/broken-out/gregkh-driver-sysfs-allocate-inode-number-using-ida.patch For regular files in sysfs, sysfs_readdir wants to traverse sysfs_dirent->s_dentry->d_inode->i_ino to get to the inode number. But, the dentry can be reclaimed under memory pressure, and there is no synchronization with readdir. This patch follows Tejun's scheme of allocating and storing an inode number in the new s_ino member of a sysfs_dirent, when dirents are created, and retrieving it from there for readdir, so that the pointer chain doesn't have to be traversed. Tejun's upstream patch uses a new-ish "ida" allocator which brings along some extra complexity; this -stable patch has a brain-dead incrementing counter which does not guarantee uniqueness, but because sysfs doesn't hash inodes as iunique expects, uniqueness wasn't guaranteed today anyway. Signed-off-by: Eric Sandeen Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman commit 6f8a7c66e2dc8080950d28edc0259f37739aead9 Author: Brice Goglin Date: Mon Jun 11 20:27:07 2007 +0200 myri10ge: update driver version Update myri10ge driver version to 1.3.1-1.248. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit 798a95dbd38b113a0f6f3bfe8a2769b261046d09 Author: Brice Goglin Date: Mon Jun 11 20:26:50 2007 +0200 myri10ge: report when the link partner is running in Myrinet mode Since Myri-10G boards may also run in Myrinet mode instead of Ethernet, add a message when we detect that the link partner is not running in the right mode. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit f181137f9d70dc851dcb418cdad4df7888a0bfd3 Author: Brice Goglin Date: Mon Jun 11 20:26:31 2007 +0200 myri10ge: limit the number of recoveries Limit the number of recoveries from a NIC hw watchdog reset to 1 by default. It enables detection of defective NICs immediately since these memory parity errors are expected to happen very rarely (less than once per century*NIC). Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit c27e672172def41924ea8410398554c49c17b3c1 Author: Mithlesh Thukral Date: Mon Jun 11 03:30:58 2007 -0700 NetXen: Fix link status messages NetXen: Fix incorrect link status even with switch turned OFF. NetXen driver failed to accurately indicate when a link is up or down. This was encountered during failover testing, when the first port indicated that the link was up even when the 10G switch it was assigned to in the Bladecenter was turned off completely. Signed-off by: Wen Xiong Signed-off by: Mithlesh Thukral Signed-off-by: Jeff Garzik commit ca93ca428b8e09973f19e2725bf19cb3f1836034 Author: Jeff Garzik Date: Tue Jun 12 18:52:31 2007 -0400 Revert "[netdrvr e100] experiment with doing RX in a similar manner to eepro100" This reverts commit d52df4a35af569071fda3f4eb08e47cc7023f094. This patch attempted to fix e100 for non-cache coherent memory architectures by using the cb style code that eepro100 had and using the EL and s bits from the RFD list. Unfortunately the hardware doesn't work exactly like this and therefore this patch actually breaks e100. Reverting the change brings it back to the previously known good state for 2.6.22. The pending rewrite in progress to this code can then be safely merged later. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik commit 3d7dbeac58d0669c37e35a3b91bb41c0146395ce Author: David S. Miller Date: Tue Jun 12 14:36:42 2007 -0700 [TCP]: Disable TSO if MD5SIG is enabled. Signed-off-by: David S. Miller commit 606f585e363527da9feaed79465132c0c661fd9e Author: Konstantin Sharlaimov Date: Tue Jun 12 14:16:59 2007 -0700 [PPP_MPPE]: Fix "osize too small" check. Prevent mppe_decompress() from generating "osize too small" errors when checking for output buffer size. When receiving a packet of mru size the output buffer for decrypted data is 1 byte too small since mppe_decompress() tries to account for possible PFC, however later in code it is assumed no PFC. Adjusting the check prevented these errors from occurring. Signed-off-by: Konstantin Sharlaimov Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 82fde74b94f11eee1e9c30e43fb162f80a5e63c0 Author: Luis Carlos Date: Thu Jun 7 16:40:59 2007 -0400 [PATCH] libertas: convert libertas_mpp into anycast_mask With firmware 5.220.11.p5, this allows to specify the anycast addresses the device will listen to. The anycast address range is C0:27:C0:27:C0:XX where XX goes from 00 to 1F (or 0 to 31 in dec). The value to write on anycast_mask will specify which addresses the device listens to. Bits in a 32 bit int are numbered from 0 (least significative bit) to 31. A specific address ending in YY will be listened to if bit YY in the value is set to one. Examples: 0x00000000 : do not listen to any anycast address 0xFFFFFFFF : listen to every anycast address from :00 to :1F 0x00000013 : listen to anycast addresses :00, :01 and :04 Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville commit 2fb3bd6a23e5d37889a78b6a13a124fa7c586009 Author: Dan Williams Date: Mon Jun 4 20:05:23 2007 -0400 [PATCH] libertas: actually send mesh frames to mesh netdev Found by Luis; got broken during module split. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit fff47f108d7bd9f80b223cd187e09dbb0cb89114 Author: Luis Carlos Cobo Rus Date: Wed May 30 12:16:13 2007 -0400 [PATCH] libertas: deauthenticate from AP in channel switch This avoids channel mismatch between driver and firmware in case we change channel while associated to an AP. Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit b8bedefd8fe589ff87a681e20583c8317030491d Author: Luis Carlos Cobo Rus Date: Wed May 30 12:14:34 2007 -0400 [PATCH] libertas: pull current channel from firmware on mesh autostart Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit 462b529f91b618f4bd144bbc6184f616dfb58a1e Author: Grant Grundler Date: Sun Jun 10 16:31:41 2007 -0600 [PARISC] remove global_ack_eiem Kudos to Thibaut Varene for spotting the (mis)use of appropriately named global_ack_eiem. This took a long time to figure out and both insight from myself, Kyle McMartin, and James Bottomley were required to narrow down which bit of code could have this race condition. The symptom was interrupts stopped getting delivered while some workload was generating IO interrupts on two different CPUs. One of the interrupt sources would get masked off and stay unmasked. Problem was global_ack_eiem was accessed with read/modified/write sequence and not protected by a spinlock. PA-RISC doesn't need a global ack flag though. External Interrupts are _always_ delivered to a single CPU (except for "global broadcast interrupt" which AFAIK currently is not used.) So we don't have to worry about any given IRQ vector getting delivered to more than one CPU. Tested on a500 and rp34xx boxen. rsync to/from gsyprf11 (a500) would lock up the box since NIC (tg3) interrupt and SCSI (sym2) were on "opposite" CPUs (2 CPU system). Put them on the same CPU or apply this patch and 10GB of data would rsync completely. Please apply the following critical patch. thanks, grant Signed-off-by: Grant Grundler Acked-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 8c4df74e02b0853ad86d1595fb6065d6c26fb196 Author: Dmitry Torokhov Date: Tue Jun 12 00:33:32 2007 -0400 Input: i8042 - add ULI EV4873 to noloop list The box does not implement AUX LOOP command properly and so we can't test for AUX IRQ delivery so blacklist it via DMI and assume that AUX port is present. Signed-off-by: Dmitry Torokhov commit 90245c17d3170438a0445614cbc5f72c1717d583 Author: Dmitry Torokhov Date: Tue Jun 12 00:33:27 2007 -0400 Input: i8042 - add ASUS P65UP5 to the noloop list This board does not raise AUX IRQ in response to AUX LOOP command which interferes with our test for proper AUX IRQ wiring. Put it in the blacklist and assume mouse is present. Signed-off-by: Dmitry Torokhov commit c6f8d7066d18ac86ff88627d858b749d9ba168bc Author: Ondrej Zary Date: Tue Jun 12 00:33:13 2007 -0400 Input: usbtouchscreen - fix fallout caused by move from drivers/usb During the move from drivers/usb/input into drivers/input/touchscreen Kconfig variables were shuffled a bit to use a new namespace (CONFIG_TOUCHSCREEN) while usbtouchscreen was still using old ones. Also noticed by Robert P. J. Day Signed-off-by: Ondrej Zary Signed-off-by: Daniel Ritz Signed-off-by: Dmitry Torokhov commit 14042cbefce4af12f7ca35d2604686154d803291 Author: Mattias Nissler Date: Fri Jun 8 15:31:13 2007 +0200 [PATCH] mac80211: Don't stop tx queue on master device while scanning. mac80211 stops the tx queues during scans. This is wrong with respect to the master deivce tx queue, since stopping it prevents any probes from being sent during the scan. Instead, they accumulate in the queue and are only sent after the scan is finished, which is obviously wrong. Signed-off-by: Mattias Nissler Signed-off-by: John W. Linville commit 0107136c04290ddd765adc568fe7a335d355d17e Author: Johannes Berg Date: Mon Jun 11 08:07:13 2007 +0200 [PATCH] mac80211: fix debugfs tx power reduction output This patch fixes a typo in mac80211's debugfs.c. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit c9aca9da026036306aa00a928f6acb4b94eb3c33 Author: David Lamparter Date: Mon Jun 4 00:06:51 2007 +0200 [PATCH] cfg80211: fix signed macaddress in sysfs Fix signedness mixup making mac addresses show up strangely (like 00:11:22:33:44:ffffffaa) in /sys/class/ieee80211/*/macaddress. Signed-off-by: David Lamparter Acked-by: Johannes Berg Signed-off-by: John W. Linville commit 2648a53acf16a837e11836203aadb219bd951a1e Author: Sam Ravnborg Date: Mon Jun 11 21:52:04 2007 +0200 kbuild: fix sh64 section mismatch problems There's a special .cranges section that is almost always generated, with data being moved to the appropriate section by the linker at a later stage. To give a bit of background, sh64 has both a native SHmedia instruction set (32-bit instructions) and SHcompact (which is compatability with normal SH -- 16-bit, a massively reduced register set, etc.). code ranges are emitted when we're using the 32-bit ABI, but not the 64-bit one. It is a special staging section used solely by binutils where code with different flags get placed (more specifically differing flags for input and output sections), before being lazily merged by the linker. The closest I've been able to find to documentation is: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/sh64elf.em?rev=1.10&content-type=text/x-cvsweb-markup&cvsroot=src It's an array of 8-byte Elf32_CRange structure given in http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-sh64.h?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=src that describes for which ISA a range is used. Silence the warnings by allowing references from .init.text to .cranges. The following warnings are fixed: WARNING: init/built-in.o(.cranges+0x0): Section mismatch: reference to .init.text: WARNING: init/built-in.o(.cranges+0xa): Section mismatch: reference to .init.text: WARNING: init/built-in.o(.cranges+0x14): Section mismatch: reference to .init.text: WARNING: init/built-in.o(.cranges+0x1e): Section mismatch: reference to .init.text: WARNING: init/built-in.o(.cranges+0x28): Section mismatch: reference to .init.text: WARNING: init/built-in.o(.cranges+0x32): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x50): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x5a): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x64): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0xfa): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x104): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x10e): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x14a): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x154): Section mismatch: reference to .init.text: WARNING: kernel/built-in.o(.cranges+0x15e): Section mismatch: reference to .init.text: WARNING: mm/built-in.o(.cranges+0x6e): Section mismatch: reference to .init.text: WARNING: mm/built-in.o(.cranges+0x78): Section mismatch: reference to .init.text: WARNING: mm/built-in.o(.cranges+0x82): Section mismatch: reference to .init.text: WARNING: mm/built-in.o(.cranges+0xaa): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x136): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x140): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x14a): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x168): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x1f4): Section mismatch: reference to .init.text: WARNING: fs/built-in.o(.cranges+0x1fe): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x302): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x30c): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x316): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x3a2): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x3ac): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x4ce): Section mismatch: reference to .init.text: WARNING: net/built-in.o(.cranges+0x4d8): Section mismatch: reference to .init.text: Signed-off-by: Paul Mundt Cc: Kaz Kojima Signed-off-by: Sam Ravnborg commit 717c9339202a42ae7bec7d3c4b84deecdcae9f81 Author: Dan Williams Date: Tue May 29 00:03:31 2007 -0400 [PATCH] libertas: reduce SSID and BSSID mixed-case abuse Kill mixed case function names from scan.c/scan.h. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 8cf1dc098fda226a0c3baa27ec737ce041acbb46 Author: Dan Williams Date: Mon May 28 23:56:10 2007 -0400 [PATCH] libertas: remove WPA_SUPPLICANT structure Unused. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit d8efea254887128d710cc1475505514da004932c Author: Dan Williams Date: Mon May 28 23:54:55 2007 -0400 [PATCH] libertas: remove structure WLAN_802_11_SSID and libertas_escape_essid Replace WLAN_802_11_SSID with direct 'ssid' and 'ssid_len' members like ieee80211. In the process, remove private libertas_escape_essid and depend on the ieee80211 implementation of escape_essid instead. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 785e8f2679ce9ae703f1c737aa4d48b315d511ca Author: Dan Williams Date: Fri May 25 23:51:12 2007 -0400 [PATCH] libertas: tweak association debug output Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 707985b3850f6ff168340e20b7f6b783782fb8ed Author: David Woodhouse Date: Fri May 25 23:41:16 2007 -0400 [PATCH] libertas: fix big-endian associate command. Byte-swapping length fields and then passing them to memcpy() considered harmful. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit e5b3d472ad4eaa9013fd9f67f7a1b132f3ec910c Author: David Woodhouse Date: Fri May 25 23:40:21 2007 -0400 [PATCH] libertas: don't byte-swap firmware version number. It's a byte array. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 86760088a7c51ccc263ec3b8039ec9a7400a6d70 Author: David Woodhouse Date: Fri May 25 23:39:34 2007 -0400 [PATCH] libertas: more endianness fixes, in tx.c this time Now we finally get connectivity. For a while, before something else dies... Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit bb793e2bfc25b8891b84b8fe3cb4b77cd4619814 Author: David Woodhouse Date: Fri May 25 23:38:14 2007 -0400 [PATCH] libertas: More endianness fixes. Now it at least manages to load the firmware. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 981f187b7c4b237011d4175cae0120d5d203c0fd Author: David Woodhouse Date: Fri May 25 23:36:54 2007 -0400 [PATCH] libertas: first pass at fixing up endianness issues Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 123e0e044091ca35a4766b38ae15032f2d41bcd6 Author: Dan Williams Date: Fri May 25 23:23:43 2007 -0400 [PATCH] libertas: sparse fixes Fix various issues reported by sparse. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 0e8a5bd9502f709ddd1ea441ef0362fad3e4a4a1 Author: David Woodhouse Date: Fri May 25 23:15:27 2007 -0400 [PATCH] libertas: fix character set in README Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 7d8d28b31d16875f868889264efbba1f6c516860 Author: Luis Carlos Cobo Rus Date: Fri May 25 23:12:19 2007 -0400 [PATCH] libertas: support for mesh autostart on firmware 5.220.11 Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit f5e05b697d2105e5c3f9d837046a8c33ee5b7e14 Author: Luis Carlos Cobo Rus Date: Fri May 25 23:08:34 2007 -0400 [PATCH] libertas: split wext for eth and msh Separate wireless handlers of mshX and ethX. ethX remains as before. For mshX, it has been disabled set/get essid, wap and set mode. Get mode always returns "Repeater" and by now we use the Nickname to show if the mesh is active ("Mesh") or not (empty). The rest remains as before. Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit 0a0d08aca5d0a77da4b66de289acfd891a3e72e1 Author: Luis Carlos Cobo Rus Date: Fri May 25 23:05:27 2007 -0400 [PATCH] libertas: make mac address configuration work with mesh interface too Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit a23c58a3ac4090a41e63ae5b69af87b409abe019 Author: Luis Carlos Cobo Rus Date: Fri May 25 23:04:13 2007 -0400 [PATCH] libertas: updated readme file Fix some wording and blinding table command options, clarify argument list for fwt_add and fwt_list, simplify fwt_list_route Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit 90a42210f275e1f828eb6c08bf8252c2d6a774e0 Author: Dan Williams Date: Fri May 25 23:01:24 2007 -0400 [PATCH] libertas: Make WPA work through supplicant handshake Fix WPA so it works up through the supplicant 4-Way handshake process. Doesn't successfully pass traffic yet; may be problems installing the GTK to the firmware. - RSN needs to be enabled before the association command is sent - Use keys from the association request not the adapter structure - cmd_act_mac_strict_protection_enable != IW_AUTH_DROP_UNENCRYPTED - Fix network filtering logic in is_network_compatible() WPA helpers Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 45f43de829981e9b9de56d6098d00d511b4fb56c Author: Dan Williams Date: Fri May 25 22:58:55 2007 -0400 [PATCH] libertas: add more verbose debugging to libertas_cmd_80211_authenticate Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 57361c6edc5801636eeeef0100d3071ab0b5c573 Author: Dan Williams Date: Fri May 25 22:54:50 2007 -0400 [PATCH] libertas: debug print spacing fixes in assoc.c Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit d9ad2f5df89c66b5eae6ac5aaabe62508baba4ef Author: Dan Williams Date: Fri May 25 22:38:41 2007 -0400 [PATCH] libertas: send SIOCGIWSCAN event after partial scans too Any time the driver gets new scan results, even from partial scans, it should send the scan event to userspace. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit aeea0ab45ae3d761064ca926863bb41f0ad167ce Author: Dan Williams Date: Fri May 25 22:30:48 2007 -0400 [PATCH] libertas: honor specific channel requests during association Previously if a fixed channel was specified along with an SSID, the channel request would be ignored during the association process. Instead, when searching for an adhoc or infrastructure network to join, allow filtering results based on channel so that the driver doesn't pick a BSS on a different channel than requested. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit ac26f81ccecc23ad5d8c20ebe1dd482fa395298b Author: Dan Williams Date: Fri May 25 22:19:59 2007 -0400 [PATCH] libertas: fix default adhoc channel Inadvertently removed on a previous commit; causes the first adhoc start to fail if a channel has not been set or no other association has been made. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 80e78ef74dffb2195e2a1164c18579180a76fd5b Author: Dan Williams Date: Fri May 25 22:18:47 2007 -0400 [PATCH] libertas: fix deadlock SIOCGIWSCAN handler Update signal quality before the locked scan result translation loop, because calling libertas_prepare_and_send_command() with the 'waitforrsp' option grabs adapter->lock in the command return processing, leading to the deadlock. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 94b23855c034ffa50e1f94f43ef4500520e4c36e Author: Dan Williams Date: Fri May 25 21:59:29 2007 -0400 [PATCH] libertas: correct error report paths for wlan_fwt_list_ioctl Ensure the leave debug print gets triggered when necessary. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 6cfb00823872d0181c5c72c2d457de93518d96e7 Author: Dan Williams Date: Fri May 25 17:33:28 2007 -0400 [PATCH] libertas: correctly balance locking in libertas_process_rx_command adapter->lock should released after unlocking adapter->driver_lock to balance the order in which they were locked at the top of the function. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 24d443b5d568c6e11b07267e2d784f5f04aa5dac Author: Dan Williams Date: Fri May 25 17:29:34 2007 -0400 [PATCH] libertas: fix debug enter/leave prints for libertas_execute_next_command Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 3cf20931fa8ffd765a95f72d7539ab34770684d9 Author: Dan Williams Date: Fri May 25 17:28:30 2007 -0400 [PATCH] libertas: use compare_ether_addr() rather than memcmp() where appropriate Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 02eb229bbded41d189f1ec57dbd264f80c93b5c6 Author: Dan Williams Date: Fri May 25 17:27:31 2007 -0400 [PATCH] libertas: use MAC_FMT and MAC_ARG where appropriate Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit e76850d620a0a26fa807b4fa189c64a94789461e Author: Dan Williams Date: Fri May 25 17:09:41 2007 -0400 [PATCH] libertas: make association paths consistent The BSS to associate with (in either Infrastructure or IBSS join operations) is now stored in _one_ place in the association request (the bss member), not two places as before (pattemptedbss and curbssparams->bssdescriptor). Association requests are passed to the necessary association functions to (a) give them access to the bss member and (b) ensure that association/join/start setup uses settings from the request, not the current adapter settings (which may not be valid for the requested settings). Because the 'bss' member of the association request is used now, the command return functions from associate and adhoc join/start need access to the in-progress association request to update curbssparams when everything is done. The association worker moves the request from pending to in-progress for the duration of the association attempt. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit ef9a264b7a288a07c43ddb244c4f9ab0e8df90e4 Author: Dan Williams Date: Fri May 25 16:46:33 2007 -0400 [PATCH] libertas: move channel changing into association framework Handle channel changes through the deferred association framework rather than directly. Fixes errors when setting channels along with other parameters like mode and SSID. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit d43fb8ee3dab261e475d4f5189cf86182139b7f4 Author: Marcelo Tosatti Date: Fri May 25 16:28:20 2007 -0400 [PATCH] libertas: fix oops on rmmod Use list_for_each_entry_safe, to protect against list_del(). Signed-off-by: Marcelo Tosatti Signed-off-by: John W. Linville commit 0e37275e9af07be6aa796b3ee981054525980b74 Author: Luis Carlos Cobo Rus Date: Fri May 25 16:26:47 2007 -0400 [PATCH] libertas: cleanup of fwt_list_route processing Signed-off-by: Luis Carlos Cobo Rus Acked-by: Dan Williams Signed-off-by: John W. Linville commit eb8f7330e7edf655176c51a62cd2e34de91a1eba Author: Dan Williams Date: Fri May 25 16:25:21 2007 -0400 [PATCH] libertas: fix 'keep previous scan' behavior Do not clear the scan list except under specific conditions, such as when (a) user-requested, or (b) joining/starting an adhoc network. Furthermore, only clear entries which match the SSID or BSSID of the request, not the whole scan list. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit fcdb53dbc743f288bf72e485fefb3a967b733686 Author: Dan Williams Date: Fri May 25 16:15:56 2007 -0400 [PATCH] libertas: make scan result handling more flexible - use a linked list for scan results - age scan results - pass bss_descriptors around instead of indexes into the scan table - lock access to the scan results - stop returning EAGAIN from SIOCGIWSCAN handler Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 90e8eafc93ed159846bb7126af8502f2a8570a11 Author: Luis Carlos Cobo Date: Fri May 25 13:53:26 2007 -0400 [PATCH] libertas: updated mesh commands for 5.220.9.p11 Updated commands fwt_add and fwt_list, bt_list. New commands: bt_get_invert, bt_set_invert, to invert the blinding table, i.e., receive only frames from nodes listed in the BT. This patch needs/is needed for firmware 5.220.9.p11. Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville commit 7db283c914457dbeb72878df0641f4a5e05d75fa Author: Luis Carlos Cobo Rus Date: Fri May 25 13:48:54 2007 -0400 [PATCH] libertas: version bump (321p0) and cmds update for new fw (5.220.10.p0) This patch along with the previous commands update one, is necessary for mesh and fwt ioctls to work properly with firmware version 5.220.10.p0 and later. Signed-off-by: Luis Carlos Cobo Rus Signed-off-by: John W. Linville commit 1db733eff6319cdf4199fc7d3a3554fef1361f1a Author: Dan Williams Date: Fri May 25 13:36:57 2007 -0400 [PATCH] libertas: don't tear down netdev in libertas_activate_card libertas_activate_card() doesn't create the netdev, and shouldn't free it on error. The caller of libertas_activate_card() is responsible for cleaning up errors from libertas_add_card(), not libertas_activate_card(). Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit c72368310d6799da92ec12192d8b15c2ae7ab0b5 Author: Dan Williams Date: Fri May 25 13:35:23 2007 -0400 [PATCH] libertas: correctly unregister mesh netdev on error Subject says it all. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4ace1138767869547944798ba9f1fd6d1e048acb Author: Dan Williams Date: Fri May 25 13:16:38 2007 -0400 [PATCH] libertas: replace 'macaddress' with 'bssid' Start to normalize bss_descriptor with ieee80211_network so we can eventually replace bss_descriptor more easily. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 7732ca45c68f893689a8c0d8c6e2eb2bfefbc087 Author: Dan Williams Date: Fri May 25 13:13:25 2007 -0400 [PATCH] libertas: call SET_NETDEV_DEV from common code Move usage of SET_NETDEV_DEV into common code since it has nothing to do with bus-specific devices. Also fixes a bug where the mesh device was getting SET_NETDEV_DEV called after register_netdevice, resulting in no 'device' link in /sys/class/net/mshX/. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 0681f989357416d7ef28ebaea4151ce70a6ae21c Author: Luis Carlos Cobo Date: Fri May 25 13:11:13 2007 -0400 [PATCH] libertas: fixed kernel oops on module/card removal Fixed kernel oops on module/card removal (using dongles) Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville commit b46794dffab643e69d41c58a1a39c57b03826813 Author: Luis Carlos Cobo Date: Fri May 25 13:10:18 2007 -0400 [PATCH] libertas: add URB debug info Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville commit 60045136ab5c4a431c05a93804cb8f054240b34e Author: Luis Carlos Cobo Date: Fri May 25 13:08:33 2007 -0400 [PATCH] libertas: fixed incorrect assigment of fcs errors to frag errors Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville commit 634b8f49c11f49272b09d13a34b22a17b8c3d419 Author: Holger Schurig Date: Fri May 25 13:05:16 2007 -0400 [PATCH] libertas: remove unused variables in wlan_dev_t Actually, this patch removev wlan_dev_t totally and puts the used variables of it directly into wlan_private. That reduces one level of indirection and looks a little bit simpler. It's now "priv->card" and not "priv->wlan_dev.card" and "priv->dev" instead of "priv->wlan_dev.netdev" Changed two occurences of "((wlan_private *) dev->priv)->wlan_dev.netdev" into "dev", because I didn't see the point in doing pointer-ping-pong. The variables "ioport", "upld_rcv" and "upld_type" where unused. They have been removed. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit ec3eef28d9bc3fbcc5d3dd668dffcaa675015b11 Author: Holger Schurig Date: Fri May 25 12:49:10 2007 -0400 [PATCH] libertas: let DRV_NAME be overridable For now, it's "libertas" by default, but that is overwritten in if_usb.c/if_bootcmd.c and in if_cs.c. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 435a1acba23437a6c8462dd8437e48cdf09a2f71 Author: Holger Schurig Date: Fri May 25 12:41:52 2007 -0400 [PATCH] libertas: fix RESET logic at unload time Previously, we had a fixed array of 5 elements where we remembered all initialized devices. This has been changed to use a "struct list_head" organization, which is IMHO cleaner. Also renamed usb_cardp to cardp, as in the reset of the code. Renamed reset_device() to if_usb_reset_device() like many other functions. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 084708b61014776198c56d1606343d4f504c691e Author: Holger Schurig Date: Fri May 25 12:37:58 2007 -0400 [PATCH] libertas: split module into two (libertas.ko and usb8xxx.ko) * add CONFIG_LIBERTAS to Kconfig * remove global variable libertas_fw_name, the USB module might want to use a different default FW name than the CF module, so libertas_fw_name is now local to if_usb.c * exported some symbols as GPL Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit ed457037c5e8287a3fd24408250fb396b57b9a1b Author: Holger Schurig Date: Fri May 25 12:18:36 2007 -0400 [PATCH] libertas: move contents of fw.h to decl.h Also removes some useless "extern" declarations from function declaration. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 208fdd2f447899164bd139452c291b155e53cee9 Author: Holger Schurig Date: Fri May 25 12:17:06 2007 -0400 [PATCH] libertas: indirect all hardware access via hw_XXXX functions This functions makes all libertas_sbi_XXX functions static to the if_usb.c file and renames them to if_usb_XXXX(). The get called from other places of the source code via priv->hw_XXXX(). Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 0583e8ef149700ede2aa181509e217c39e565f28 Author: Chris Ball Date: Fri May 25 12:13:24 2007 -0400 [PATCH] libertas: wakeup both mesh and normal wakeup when getting out of scan The previous patch wakes up the mesh device *instead* of the wlan device when coming out of scan. We need to wake up both of them. Signed-off-by: Chris Ball Signed-off-by: John W. Linville commit 0601e7ee463f2736586de9a24025f8791db7f5a8 Author: Javier Cardona Date: Fri May 25 12:12:06 2007 -0400 [PATCH] libertas: added transmission failures to mesh statistics Added transmission failures to mesh statistics. Removed whitespace before newlines. Signed-off-by: Javier Cardona Signed-off-by: John W. Linville commit 6a8121572e2f2d188f04673bfa460ccfcedeb008 Author: Marcelo Tosatti Date: Fri May 25 12:09:13 2007 -0400 [PATCH] libertas: fix error handling of card initialization Subject says it all. Signed-off-by: Marcelo Tosatti Signed-off-by: John W. Linville commit 51d84f501684db22f5fcc30821cbbde2a0a2f264 Author: Javier Cardona Date: Fri May 25 12:06:56 2007 -0400 [PATCH] libertas: fixed transmission flow control on the mesh interface This patch implements proper transmission flow control on mshX. Signed-off-by: Javier Cardona Signed-off-by: John W. Linville commit 32a74b7c8f7b883b532e0e4333b7c3014d3d8fe8 Author: Holger Schurig Date: Fri May 25 12:04:31 2007 -0400 [PATCH] libertas: split wlan_add_card() Split wlan_add_card() into a part that just setups kernel parameters and into the function libertas_activate_card(), which will implizitly use hardware functions by the started thread. This allows us later to do something like this: priv = libertas_add_card(); priv->hw_command_to_host = if_usb_command_to_host; priv->hw_xxxx = if_usb_xxxx; priv->hw_yyyy = if_usb_yyyy; wlan_activate_card() and of course the CF driver can set it's own functions. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 3874d0fefd965eedfc7f8e0a5459ddf914eb4306 Author: Holger Schurig Date: Fri May 25 12:01:42 2007 -0400 [PATCH] libertas: move reset_device() code main.c to if_usb.c The reset_device() logic is only needed for USB devices, not for CF devices. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit fb3dddf22c63d7e0622d4819a87dbb8563f0e968 Author: Holger Schurig Date: Fri May 25 11:58:22 2007 -0400 [PATCH] libertas: changed some occurences of kmalloc() + memset(&a,0,sz) to kzalloc() The subject says it all. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 6df3073d2923c12b6f7524917a634e83de958dfe Author: Holger Schurig Date: Fri May 25 11:56:37 2007 -0400 [PATCH] libertas: fix SSID output * a newline was missing * changed %32s to '%s', no need to right justify the ESSID Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 1ac812f161801c276dd520def0e81b9938eb7761 Author: Holger Schurig Date: Fri May 25 11:55:19 2007 -0400 [PATCH] libertas: get rid of libertas_sbi_get_priv() It's not really needed, because we can call wlan_remove_card() with wlan_private* anyway. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit ed37b51610ff4e853893a92bb725bab99d17b236 Author: Holger Schurig Date: Fri May 25 11:52:42 2007 -0400 [PATCH] libertas: change debug output of libertas_interrupt() It used to be LBS_DEB_MAIN, now it's LBS_DEB_THREAD Also fixed a missing ":" in lbs_deb_enter() Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 78523daa86cf0b02c4d2f73b962c04ad565e9140 Author: Holger Schurig Date: Fri May 25 11:49:19 2007 -0400 [PATCH] libertas: single out mesh code This patches adds the two functions wlan_add_mesh() and wlan_remove_mesh(), which are responsible for the mshX interface. In a CF driver with a non- mesh-aware firmware you can omit the calls to this functions. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit a46c64108b06ec68337e62e7c2d4b3e8aed74b82 Author: Holger Schurig Date: Fri May 25 11:32:07 2007 -0400 [PATCH] libertas: tune debug code * renamed module parameter back to libertas_debug * change from bit shifts to constants, that way it's easier to look at the source and specify the libertas_debug=0xXXXX module parameter * moved module_param from fw.c to main.c, where it belongs better Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 9012b28a407511fb355f6d2176a12d4653489672 Author: Holger Schurig Date: Fri May 25 11:27:16 2007 -0400 [PATCH] libertas: make debug configurable The debug output of libertas was either not present or it was overwhelming. This patch adds the possibility to specify a bitmask for the area of interest. One should then only get the desired output. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 46868202b2dd22156460a220553a223f406f4f22 Author: Holger Schurig Date: Fri May 25 00:37:28 2007 -0400 [PATCH] libertas: exclude non-used code when PROC_DEBUG is not set This reduces usb8xxx.ko by 951 bytes (text) and 256 bytes (data) when PROC_DEBUG isn't defined. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 2be9219680e8abfa79da74e8d827ecf5c41be76d Author: Marcelo Tosatti Date: Fri May 25 00:33:28 2007 -0400 [PATCH] libertas: fix scanning from associate path The previous scan fix did not account for scan paths other than set_scan() that need to do a full scan at once. Add a "full_scan" parameter to wlan_scan_networks() to control such behaviour. Signed-off-by: Marcelo Tosatti Signed-off-by: John W. Linville commit bf68dac89b6502f8577a8be1b4fc06cb641ae1f3 Author: Holger Schurig Date: Fri May 25 00:14:38 2007 -0400 [PATCH] libertas: make libertas_wlan_data_rates static Move libertas_wlan_data_rates into wext.c and make it static. wext.c is the only user of this array. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 66fcc559042d85d57d9856d2a7fbcaa3e827a58c Author: Holger Schurig Date: Fri May 25 00:11:58 2007 -0400 [PATCH] libertas: move vendor & product id's into if_usb.c For me it looks cleaner, because it removes one level of indirection. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 7b1d5c0b604df6cee31b2c0160ede3f1311fbb66 Author: Holger Schurig Date: Fri May 25 00:09:54 2007 -0400 [PATCH] libertas: remove unused/superfluous definitions of DEV_NAME_LEN DEV_NAME_LEN is already defined in defs.h and that is sufficient. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 42fff92aa53fd5903f318e16fbbcc9176403562c Author: Holger Schurig Date: Fri May 25 00:07:38 2007 -0400 [PATCH] libertas: remove __FILE__ from debug output Remove filename from debug output because it's way too long. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 5c20676fcda300c023d55ba1221b5ff4ab749537 Author: Marcelo Tosatti Date: Fri May 25 00:04:11 2007 -0400 [PATCH] libertas: remove deprecated pm_register and associated code Subject says it all. Signed-off-by: Marcelo Tosatti Signed-off-by: John W. Linville commit 0b7db95602d0eb5339c7b7a9c7beff4b146bdeec Author: Holger Schurig Date: Thu May 24 23:47:34 2007 -0400 [PATCH] libertas: fix removal of all debugfs files rmmod did not remove /sys/kernel/debug/libertas_wireless/eth1/ subscribed_events/high_snr. After I fixed this, I noticed that it also didn't remove /sys/kernel/debug/libertas_wireless/eth1 as well. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 604ba49150987e48a94f2a704ba4e44479901c5c Author: Holger Schurig Date: Thu May 24 23:42:42 2007 -0400 [PATCH] libertas: a debug output was missing a newline Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit eb3ce631f9abc45a98a12699d5a25742fd8421e7 Author: Holger Schurig Date: Thu May 24 23:41:15 2007 -0400 [PATCH] libertas: rename wlan_association_worker Renames wlan_association_worker into libertas_association_worker Signed-off-by: Holger Schurig Signed-off-by: John W. Linville commit 064827edf6901e5fcbd84fc258fb2326a530da9c Author: Marcelo Tosatti Date: Thu May 24 23:37:28 2007 -0400 [PATCH] libertas: scan two channels per scan command Scan two channels per each command on set_scan(), then bail out and let get_scan() continue the scanning work up to the last channel. This gives time to the firmware so it can go back to the association channel and keep the connection alive. Fixes http://dev.laptop.org/ticket/841 Signed-off-by: Marcelo Tosatti Signed-off-by: John W. Linville commit ff72b7a6188088976bf7d77d3309a9b2f1716071 Author: Ralf Baechle Date: Thu Jun 7 13:17:30 2007 +0100 [MIPS] Fix smp barriers in test_and_{change,clear,set}_bit Signed-off-by: Ralf Baechle commit e10e0cc8852ac846d5590188b935c98742e5cc43 Author: Atsushi Nemoto Date: Fri Jun 1 23:40:59 2007 +0900 [MIPS] Fix IP27 build IP27 does no longer have ZONE_DMA. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 4ebd5233f0420f1e383c38f962ec84c4d53fbbad Author: Ralf Baechle Date: Thu May 31 16:15:01 2007 +0100 [MIPS] Fix modpost warnings by making start_secondary __cpuinit WARNING: arch/mips/kernel/built-in.o(.text+0x9a58): Section mismatch: reference to .init.text:cpu_report (between 'start_secondary' and 'smp_prepare_boot_cpu') WARNING: arch/mips/kernel/built-in.o(.text+0x9a60): Section mismatch: reference to .init.text:per_cpu_trap_init (between 'start_secondary' and 'smp_prepare_boot_cpu') WARNING: arch/mips/kernel/built-in.o(.text+0x9adc): Section mismatch: reference to .init.text:cpu_probe (between 'start_secondary' and 'smp_prepare_boot_cpu') mipsel-linux-objcopy -S -O srec --remove-section=.reginfo --remove-section=.mdebug --remove-section=.comment --remove-section=.note --remove-section=.pdr --remove-section=.options --remove-section=.MIPS.options vmlinux arch/mips/boot/vmlinux.srec Signed-off-by: Ralf Baechle commit cf7578995398e20d3ab0748e6d5f83ea6c7a0035 Author: Chris Dearman Date: Tue May 29 20:01:55 2007 +0100 [MIPS] SMTC: Fix build error caused by nonsense code. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit 6a05888d713dd915d3268000a479e38646aa423f Author: Ralf Baechle Date: Thu May 31 14:03:45 2007 +0100 [MIPS] SMTC: The MT ASE requires to initialize c0_pagemask and c0_wired. Signed-off-by: Ralf Baechle commit 8e8a52ed87e5b1fa60108b525774f2a28b4016d5 Author: Ralf Baechle Date: Thu May 31 14:00:19 2007 +0100 [MIPS] SMTC: Don't continue in set_vi_srs_handler on detected bad arguments. Signed-off-by: Ralf Baechle commit ef36fc3c5b37111d41827d00536364667a923235 Author: Ralf Baechle Date: Thu May 31 13:36:57 2007 +0100 [MIPS] SMTC: Fix warning. Signed-off-by: Ralf Baechle commit 7a6d4f38744e6453ec3bd359f751c34923207735 Author: Atsushi Nemoto Date: Tue May 29 23:29:40 2007 +0900 [MIPS] Wire up utimensat, signalfd, timerfd, eventfd Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit d3a509118af28bac5b900aa4e642141853cdfd1c Author: Ralf Baechle Date: Fri May 25 15:46:38 2007 +0100 [MIPS] Atlas: Fix build. Signed-off-by: Ralf Baechle commit acaec427bc81199da41fb000ab1979041ebc3289 Author: Chris Dearman Date: Thu May 24 22:30:18 2007 +0100 [MIPS] Always install the DSP exception handler. Some non-DSP enabled cores 24K / 34K can generate a DSP exception where they are actually expected to produce a reserved instruction exception. Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle commit da9bc7263dc7e32d52dd922fe3f46eb7107c0143 Author: Ralf Baechle Date: Thu May 24 14:56:58 2007 +0100 [MIPS] SMTC: Don't set and restore irqregs ptr from self_ipi. This did corrupt register s0 which the caller of self_ipi expects to be unchanged. This is a kernel bug which will only be triggered with the compilers which compile __smtc_ipi_replay to use s0 across the invocation of self_ipi. Gcc 4.1.2 does this, for example. Signed-off-by: Ralf Baechle commit fbf6ede2ce05592661cec04e04b88f6bab00eb09 Author: Maciej W. Rozycki Date: Mon May 21 13:47:22 2007 +0100 [MIPS] Fix KMODE for the R3000 This must be the oldest bug that we have got. Leaving interrupts "as they are" for the R3000 obviously means copying IEp to IEc. Since we have got STATMASK now, I took this opportunity to mask the status register "correctly" for the R3000 now too. Oh, and the R3000 hardly ever is 64-bit. Signed-off-by: Maciej W. Rozycki Signed-off-by: Ralf Baechle commit c5760abde715dcd9ead66769e45d1896332e9d9c Author: Jean-Christian de Rivaz Date: Mon Jun 11 17:44:14 2007 +0800 Blackfin SMC91X ethernet supporting driver: SMC91C111 LEDs are note drived in the kernel like in uboot Signed-off-by: Jean-Christian de Rivaz Signed-off-by: Bryan Wu commit d6fe89b0630080e2bd6ece20ff7b1b5c2647ed62 Author: Bryan Wu Date: Mon Jun 11 17:34:17 2007 +0800 Blackfin SPI driver: fix bug SPI DMA incomplete transmission SPI writes intermittently drop bytes at end of DMA transfer http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3205 http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=2892 Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 6c1640d52b9b7355cd777c4f08bc930ac96d905b Author: Ben Dooks Date: Wed Jun 6 10:01:04 2007 +0100 [ARM] 4445/1: ANUBIS: Fix CPLD registers Update the ANUBIS register definitions inline with the specs and ensure they are registered correctly. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 5698bd28c67775c722dc1f4ab82e0041c1c740ea Author: Ben Dooks Date: Wed Jun 6 10:36:09 2007 +0100 [ARM] 4444/2: OSIRIS: CPLD suspend fix Ensure the CPLD 8bit settings are preserved over a suspend/resume cycle as the CPU sends a hard-reset at resume time. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 55ba86bc6c33ce8b690fdf20ab485ef94cccd423 Author: Ben Dooks Date: Wed Jun 6 09:53:00 2007 +0100 [ARM] 4443/1: OSIRIS: Add watchdog device to machine devices Add the watchdog timer to the list of devices the Osiris registers at startup. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c362aecdb51ecb364d427a9b947fd2dfbd4cb86a Author: Ben Dooks Date: Wed Jun 6 09:51:51 2007 +0100 [ARM] 4442/1: OSIRIS: Fix CPLD register definitions Fix the CPLD register definitions to correctly mirror the documentation Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 27bb9e79bcfedc1888d23c3c212c189fa8534fe7 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Cc: David Brownell commit 566da5b2666e62a7b061b42964658697183bef1c Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin RTC drivers: update MAINTAINERS information Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Cc: Alessandro Zummo commit 19aa6382e3c927b8ec5caec7b74c3dc555101146 Author: Mike Frysinger Date: Mon Jun 11 16:16:45 2007 +0800 Blackfin serial driver: decouple PARODD and CMSPAR checking from PARENB as the termios info does not stipulate that the former are dependent on the latter Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit cf68676222e54cd0a31efd968da00e65f9a0963f Author: Mike Frysinger Date: Mon Jun 11 16:12:49 2007 +0800 Blackfin serial driver: actually implement the break_ctl() function Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 9808901b6c63a1c850b072e624c228901a9eaf10 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin serial driver: ignore framing and parity errors if we get a break signal, we want to ignore framing and parity errors because those will always be set (by nature of the signal) Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit c16c3ca79abcb69a9e45f7c15f8358b3915c0e49 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR so we can now do spaced/marked parity Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit df30b1171714bbf0e55ffe02138be4b8447e4235 Author: Mike Frysinger Date: Mon Jun 11 17:47:27 2007 +0800 Blackfin arch: move HI/LO macros into blackfin.h and punt the rest of macros.h as it includes VDSP macros we never use Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit de6a9520d4c799ce2079c59457b06251367e67b6 Author: Mike Frysinger Date: Mon Jun 11 17:27:05 2007 +0800 Blackfin arch: redo our linker script a bit - we can start taking advantages of defines in asm-generic/vmlinux.lds.h - move our L1 relocated sections into init so it gets freed after relocation Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 43a3188ea348c41a197a754164ff96cc48124d85 Author: Mike Frysinger Date: Thu Jun 14 13:33:37 2007 +0800 Blackfin arch: make sure we initialize our L1 Data B section properly based on the linked kernel Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 581d62ab304fb43d2ae4de06527676661b171cf6 Author: Michael Hennerich Date: Thu Jun 14 13:30:23 2007 +0800 Blackfin arch: fix bug can not wakeup from sleep via push buttons Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu commit 5e10b4a653b9c7942fd1044fe5b592d544736897 Author: Mike Frysinger Date: Mon Jun 11 16:44:09 2007 +0800 Blackfin arch: add support for Alon Bar-Lev's dynamic kernel command-line Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit fd92348e520af92ddd48b8100cd0ccb16a055ed3 Author: Michael Hennerich Date: Mon Jun 11 16:39:40 2007 +0800 Blackfin arch: add missing gpio.h header to fix compiling in some pm configurations Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu commit e7613aab91270a6c76c61d3a1c05eaaa882b1842 Author: Michael Hennerich Date: Mon Jun 11 16:37:57 2007 +0800 Blackfin arch: As Mike pointed out range goes form m..MAX_BLACKFIN_GPIO -1 Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 00163e869e44f5489c33cd3ec0e502c33a0d4ba7 Author: Mike Frysinger Date: Mon Jun 11 16:22:18 2007 +0800 Blackfin arch: fix spelling typo in output Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 5af4c2b367c9c3dcc0cb02880df3a8581bb12a87 Author: Aubrey Li Date: Thu Jun 14 13:28:47 2007 +0800 Blackfin arch: try to split up functions like this into smaller units according to LKML review Signed-off-by: Aubrey Li Signed-off-by: Bryan Wu commit 51be24c351bc9ee4937121100adb098eeb1effdd Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: add proper ENDPROC() add proper ENDPROC() to close out assembly functions so size/type is set properly in the final ELF image Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 52a078120c33b06a9abb721357adaafc3b55b7c1 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: move more of our startup code to .init so it can be freed once we are up and running Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 83a5c3e3218f138b1a99f787c76e380d6a6ecec9 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: unify differences between our diff head.S files -- no functional changes Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 16983de0cec7b93cc2568f96909d4ea7c118bd8a Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: update defconfigs Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 4dfefcf05417f98292a92f2face186d261867952 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: scrub old console defines since they arent respected anymore (use console=) and just confuse people Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit e3b2d3f33b3c1ef36b5c77ef581506915c73aad6 Author: Bryan Wu Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: fixup Blackfin MAINTIANERS team member list Signed-off-by: Bryan Wu commit bc61b4e69d26a1b9627d52ab45064eee9284aa72 Author: Mike Frysinger Date: Thu Jun 14 13:21:08 2007 +0800 Blackfin arch: implement a basic /proc/sram file for L1 allocation visibility implement a basic /proc/sram file for L1 allocation visibility until we can rewrite the entire L1 allocator (which would include a proper mechanism) Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 321f6e0f5183e489448ae61af79cca1b7fe43e88 Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: mark our memory init functions with __init so they get freed after init Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit 5716e514ed526a819775c45a73f1c8b65309e9d3 Author: Robin Getz Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: all symbols were offset by 4k, since we didn't have the __text label. Bug tracker: http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3231 Singed-off-by: Robin Getz Signed-off-by: Bryan Wu commit 75ed405c63b3fc2402fb8ff825b0ebffcff26b57 Author: Roy Huang Date: Thu Jun 14 12:54:44 2007 +0800 Blackfin arch: fix bug ad1836 fails to build properly for BF533-EZKIT bug log here: http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3166 Signed-off-by: Roy Huang Signed-off-by: Bryan Wu commit d2d50aa97d695d83ccb2341488d977e8cfe36555 Author: Simon Arlott Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: spelling fixes Signed-off-by: Simon Arlott Signed-off-by: Bryan Wu commit ac1bd53c067397947b5d805c631519282f5678fe Author: Aubrey Li Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: DMA code minor naming convention fix Signed-off-by: Aubrey Li Signed-off-by: Bryan Wu Cc: Pekka Enberg commit db94d9d24526f83c432f0e5620078f02f7ae76ca Author: Mike Frysinger Date: Mon Jun 11 15:31:30 2007 +0800 Blackfin arch: remove defconfig file Since we have board-specific defconfigs and the default is set to BF537-STAMP, we no longer need this one Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu commit e141d999b682cda9907179e3b843acb64c34a1d8 Author: Tejun Heo Date: Sun Jun 10 14:26:20 2007 +0900 libata: limit post SRST nsect/lbal wait to ~100ms After SRST, libata used to wait for nsect/lbal to be set to 1/1 for the slave device. However, some ATAPI devices don't set nsect/lbal after SRST and the wait itself isn't too useful as we're gonna wait for !BSY right after that anyway. Before reset-seq update, nsect/lbal wait failure used to be ignored and caused 30sec delay during detection. After reset-seq, all timeouts are considered error conditions making libata fail to detect such ATAPI devices. This patch limits nsect/lbal wait to around 100ms. This should give acceptable behavior to such ATAPI devices while not disturbing the heavily used code path too much. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5acd50f641e697cb42240f278350a4f8eac9b4f5 Author: Tejun Heo Date: Sun Jun 10 14:52:36 2007 +0900 libata: force PIO on IOMEGA ZIP 250 ATAPI IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if asked to configure itself to MWDMA0. Force PIO. This fixes bugzilla bug#8497. Signed-off-by: Tejun Heo Cc: Calvin Walton Signed-off-by: Jeff Garzik commit 5d4cae5fe2ea1a0974962e2c49dca5c9c4b14cc0 Author: Russell King Date: Sun Jun 10 12:22:20 2007 +0100 [ARM] VFP: fix section mismatch error Fix a real section mismatch issue; the test code is thrown away after initialisation, but if we do not detect the VFP hardware, it is left hooked into the exception handler. Any VFP instructions which are subsequently executed risk calling the discarded exception handler. Introduce a new "null" handler which returns to the "unrecognised fault" return address. Signed-off-by: Russell King commit 9b01bd5b284bbf519b726b39f1352023cb5e9e69 Author: Dave Airlie Date: Sun Jun 10 16:00:27 2007 +1000 drm: fix radeon setparam on 32/64 bit systems. The alignment on 64-bit is different for 64-bit values. Signed-off-by: Dave Airlie commit dc7a93190c21edbf3ed23e678ad04f852b9cff28 Author: Wang Zhenyu Date: Sun Jun 10 15:58:19 2007 +1000 drm/i915: Add support for the G33, Q33, and Q35 chipsets. These require that the status page be referenced by a pointer in GTT, rather than phsyical memory. So, we have the X Server allocate that memory and tell us the address, instead. Signed-off-by: Dave Airlie commit 2f4042b186b9bfe82f48fe801619c6c285c16bef Author: Wang Zhenyu Date: Fri Jun 1 22:03:44 2007 +1000 i915: add new pciids for 945GME, 965GME/GLE Signed-off-by: Dave Airlie commit 2c3d2a46f1ccf591850b20f4fdde12bcf2bf3dfd Author: Albert Lee Date: Thu Jun 7 16:01:17 2007 +0800 libata passthru: update cached device paramters INIT_DEV_PARAMS and SET_MULTI_MODE change the device parameters cached by libata. Re-read IDENTIFY DEVICE info and update the cached device paramters when seeing these commands. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit fa4453c4c94a61bbefe470b16ddbb6218481c6dc Author: Albert Lee Date: Thu Jun 7 15:52:07 2007 +0800 libata passthru: always enforce correct DEV bit Always enforce correct DEV bit since we know which drive the command is targeted. SAT demands to ignore the DEV bit, too. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 23cb1d718ddbeb718ed7ca5be283dcbfb63993c3 Author: Albert Lee Date: Thu Jun 7 15:50:44 2007 +0800 libata passthru: map UDMA protocols Map the ATA passthru UDMA protocols to ATA_PROT_DMA. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 1dce589c38c36ae69614840ee230183f3a7d43c5 Author: Albert Lee Date: Thu Jun 7 15:49:22 2007 +0800 libata passthru: support PIO multi commands support the pass through of PIO multi commands. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit f93f1078d08e0f63a6a4bdaa154de3642fc03d5d Author: Albert Lee Date: Thu Jun 7 15:47:13 2007 +0800 libata passthru: update protocol numbers Update the ATA passthru protocol numbers according to the new spec. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 6070068b875f604ff3f62e6e342bbd4c1f34a895 Author: Alan Cox Date: Thu Jun 7 16:13:55 2007 +0100 libata: Correct abuse of language The controller is not reporting an unlawful type, it is reporting an invalid type. Illegal specifically means "prohibited by law" Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit d92e74d353345d19f762e9501a50b0a5f43f7ba8 Author: Alan Cox Date: Thu Jun 7 16:19:15 2007 +0100 libata-core/sff: Fix multiple assumptions about DMA The ata IRQ ack functions are only used when debugging. Unfortunately almost every controller that calls them can cause crashes in some configurations as there are missing checks for bmdma presence. In addition ata_port_start insists of installing DMA buffers and pad buffers for controllers regardless. The SFF controllers actually need to make that decision dynamically at controller setup time and all need the same helper - so we add ata_sff_port_start. Future patches will switch the SFF drivers to use this. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 0522b2869d89b095bf417c8cc6fa404842e91903 Author: Peer Chen Date: Thu Jun 7 18:05:12 2007 +0800 ahci: Add MCP73/MCP77 support to AHCI driver Add the MCP73/MCP77 support to ahci driver. Signed-off-by: Peer Chen Signed-off-by: Jeff Garzik commit afe3cc51ba4be6b25b721c40f178ea4157751161 Author: Tejun Heo Date: Wed Jun 6 16:35:55 2007 +0900 libata: fix hw_sata_spd_limit initialization hw_sata_spd_limit used to be incorrectly initialized to zero instead of UINT_MAX if SPD is zero in SControl register. This breaks PHY speed down. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ef143d577ba98c8a53aee9aa60e7d1f07c32fd7a Author: Albert Lee Date: Tue Jun 5 13:01:33 2007 +0800 libata: print device model and firmware revision for ATAPI devices For ATA/CFA devices, libata prints out the device model and firmware revision. Do the same for ATAPI devices. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 22888423b3b1b96573250671afb5b72ea4364902 Author: Olof Johansson Date: Sun Jun 3 18:35:10 2007 -0500 libata: fix probe time irq printouts Most drivers don't seem to fill out the host->irq field, resulting in the wrong (no) irq being reported at probe time. For example, sil24 on my system: ata1: SATA max UDMA/100 cmd 0xd00008009001f000 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 0 ata2: SATA max UDMA/100 cmd 0xd000080090021000 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 0 Since they're allocated and set up in ata_host_activate(), just save them away there. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik commit bd9c5a39e4141678bd6242e5b74bfe39d8d0be35 Author: Tejun Heo Date: Fri Jun 8 22:20:59 2007 +0900 libata: disable NCQ for HITACHI HTS541680J9SA00/SB21C7EP HITACHI HTS541680J9SA00/SB21C7EP spuriously completes NCQ commands. Blacklist it for NCQ. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c3a44a47e8f60e8e4ae58d3a024b9a7ab293e673 Author: Yoichi Yuasa Date: Tue Jun 5 22:33:29 2007 +0900 remove unused variable in pata_isapnp This patch has removed unused variable in pata_ispnp. Signed-off-by: Yoichi Yuasa Signed-off-by: Jeff Garzik commit c0811987c6909cd5463d107933217be113b75f4e Author: Sam Ravnborg Date: Sun Jun 10 00:50:51 2007 +0200 net: fix typo in drivers/net/usb/Kconfig Replace invisible character with a space. The diff looks like this on my terminal: - Choose this option if you're using a host-to-host cable - with one of these chips. + Choose this option if you're using a host-to-host cable + with one of these chips. Reported by: Massimo Maiurana Signed-off-by: Sam Ravnborg Cc: Massimo Maiurana Signed-off-by: Jeff Garzik commit 895ee682db14ed71860e22495280bdee4dae4738 Author: Kim Phillips Date: Tue Jun 5 18:46:47 2007 +0800 phylib: add RGMII-ID mode to the Marvell m88e1111 PHY to fix broken ucc_geth Support for configuring RGMII-ID (RGMII with internal delay) mode on the 88e1111 and 88e1145. Ucc_geth on MPC8360EMDS(the main user of ucc_geth) is broken after changed to use phylib. It is fixed by adding this internal delay. Also renamed 88e1111s -> 88e1111 (no references to an 88e1111s part were found), and fixed some whitespace. Signed-off-by: Kim Phillips Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit dec590c1bb05c1553b68cab7aa3ea36d77e7f9a3 Author: Thomas Klein Date: Wed Jun 6 20:53:16 2007 +0200 ehea: Fixed possible kernel panic on VLAN packet recv This patch fixes a possible kernel panic due to not checking the vlan group when processing received VLAN packets and a malfunction in VLAN/hypervisor registration. Signed-off-by: Thomas Klein Signed-off-by: Jeff Garzik commit 0d04761d17976ce560a22d9a21af575cd0d1bc21 Author: Mithlesh Thukral Date: Thu Jun 7 04:36:36 2007 -0700 NetXen: Fix compile failure seen on PPC architecture NetXen: Add NETXEN prefixes to macros to clean them up. This is a cleanup patch which adds NETXEN prefix to some stand alone macro names. These posed compile errors when NetXen driver was backported to 2.6.9 on PPC architecture as macros like USER_START are defined in file arch/ppc64/mm/hash_utils.c Signed-off-by: Andy Gospodarek Signed-off by: Wen Xiong Acked-off by: Mithlesh Thukral Signed-off-by: Jeff Garzik commit 3e2facef86a1665d64961b541aa0773f5ca22125 Author: Mithlesh Thukral Date: Thu Jun 7 04:33:02 2007 -0700 NetXen: Fix ping issue after reboot on Blades with 3.4.19 firmware NetXen: Fix initialization and subsequent ping issue on 3.4.19 firmware This patch fixes the ping problem seen X/PBlades after the adapter's firmware was moved to 3.4.19. After configured interface up, ping failed. NetXen adapter couldn't accept ARP broadcast packet. Manual addition of MAC address in the ARP table, made ping work. NetXen adapter should finish initilization after system boot. But looks NetXen adapter didn't initilization correctly after system boot up. So have to re-load the firmware again in probe routine. Also re-initilization netxen_config_0 and netxen_config_1 registers. Signed-off by: Wen Xiong Signed-off by: Mithlesh Thukral Signed-off-by: Jeff Garzik commit b4fea61a193bdd75f6667a0db04eb74b9ccbe39c Author: Dave Jones Date: Wed Jun 6 03:07:52 2007 -0400 typo in via-velocity.c http://bugzilla.kernel.org/show_bug.cgi?id=8160 Signed-off-by: Dave Jones Signed-off-by: Jeff Garzik commit ce6eea58eb8f50f563663c6e723b4bbbe55b012e Author: Brian King Date: Fri Jun 8 14:05:17 2007 -0500 ibmveth: Automatically enable larger rx buffer pools for larger mtu Currently, ibmveth maintains several rx buffer pools, which can be modified through sysfs. By default, pools are not allocated by default such that jumbo frames cannot be supported without first activating larger rx buffer pools. This results in failures when attempting to change the mtu. This patch makes ibmveth automatically allocate these larger buffer pools when the mtu is changed. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 4aa9c93e1c7911866c546651a5efbbf62914092e Author: Brian King Date: Fri Jun 8 14:05:16 2007 -0500 ibmveth: Fix h_free_logical_lan error on pool resize When attempting to activate additional rx buffer pools on an ibmveth interface that was not yet up, the error below was seen. The patch fixes this by only closing and opening the interface to activate the resize if the interface is already opened. (drivers/net/ibmveth.c:597 ua:30000004) ERROR: h_free_logical_lan failed with fffffffffffffffc, continuing with close Unable to handle kernel paging request for data at address 0x00000ff8 Faulting instruction address: 0xd0000000002540e0 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=128 NUMA PSERIES LPAR Modules linked in: ip6t_REJECT xt_tcpudp ipt_REJECT xt_state iptable_mangle ipta ble_nat ip_nat iptable_filter ip6table_mangle ip_conntrack nfnetlink ip_tables i p6table_filter ip6_tables x_tables ipv6 apparmor aamatch_pcre loop dm_mod ibmvet h sg ibmvscsic sd_mod scsi_mod NIP: D0000000002540E0 LR: D0000000002540D4 CTR: 80000000001AF404 REGS: c00000001cd27870 TRAP: 0300 Not tainted (2.6.16.46-0.4-ppc64) MSR: 8000000000009032 CR: 24242422 XER: 00000007 DAR: 0000000000000FF8, DSISR: 0000000040000000 TASK = c00000001ca7b4e0[1636] 'sh' THREAD: c00000001cd24000 CPU: 0 GPR00: D0000000002540D4 C00000001CD27AF0 D000000000265650 C00000001C936500 GPR04: 8000000000009032 FFFFFFFFFFFFFFFF 0000000000000007 000000000002C2EF GPR08: FFFFFFFFFFFFFFFF 0000000000000000 C000000000652A10 C000000000652AE0 GPR12: 0000000000004000 C0000000004A3300 00000000100A0000 0000000000000000 GPR16: 00000000100B8808 00000000100C0F60 0000000000000000 0000000010084878 GPR20: 0000000000000000 00000000100C0CB0 00000000100AF498 0000000000000002 GPR24: 00000000100BA488 C00000001C936760 D000000000258DD0 C00000001C936000 GPR28: 0000000000000000 C00000001C936500 D000000000265180 C00000001C936000 NIP [D0000000002540E0] .ibmveth_close+0xc8/0xf4 [ibmveth] LR [D0000000002540D4] .ibmveth_close+0xbc/0xf4 [ibmveth] Call Trace: [C00000001CD27AF0] [D0000000002540D4] .ibmveth_close+0xbc/0xf4 [ibmveth] (unreliable) [C00000001CD27B80] [D0000000002545FC] .veth_pool_store+0xd0/0x260 [ibmveth] [C00000001CD27C40] [C00000000012E0E8] .sysfs_write_file+0x118/0x198 [C00000001CD27CF0] [C0000000000CDAF0] .vfs_write+0x130/0x218 [C00000001CD27D90] [C0000000000CE52C] .sys_write+0x4c/0x8c [C00000001CD27E30] [C00000000000871C] syscall_exit+0x0/0x40 Instruction dump: 419affd8 2fa30000 419e0020 e93d0000 e89e8040 38a00255 e87e81b0 80c90018 48001531 e8410028 e93d00e0 7fa3eb78 f81d0430 4bfffdc9 38210090 Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit b7e773b869f49bbd69e9dad76b34d3552627fac5 Author: G. Liakhovetski Date: Fri Jun 8 19:15:56 2007 -0700 [IrDA]: f-timer reloading when sending rejected frames. Jean II was right: you have to re-charge the final timer when resending rejected frames. Otherwise it triggers at a wrong time and can break the currently running communication. Reproducible under rt-preempt. Signed-off-by: G. Liakhovetski Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit c0cfe7faa12f189ef1024fce5a710791d0062355 Author: G. Liakhovetski Date: Fri Jun 8 19:15:17 2007 -0700