ChangeSet@1.1759.1.6, 2004-06-13 15:07:40-04:00, bcollins@debian.org ohci1394: Fix incorrect HPSB_WARNING to HPSB_ERR Signed-off-by: Ben Collins ChangeSet@1.1762, 2004-06-13 09:10:34-07:00, benh@kernel.crashing.org [PATCH] ppc64: Add definition for Apple Xserve G5 motherboard This adds the definition for Apple XServe G5 motherboard to the pmac_feature support file. ChangeSet@1.1759.1.5, 2004-06-13 10:22:13-04:00, bcollins@debian.org ieee1394: Revision sync Signed-off-by: Ben Collins ChangeSet@1.1759.1.4, 2004-06-13 10:18:14-04:00, bcollins@debian.org ohci1394: Handle invalid max-packet-size. Signed-off-by: Ben Collins ChangeSet@1.1759.1.3, 2004-06-13 10:16:14-04:00, bcollins@debian.org ieee1394: Handle swsusp better in kernel threads. Submitted-by: Pavel Machek Signed-off-by: Ben Collins ChangeSet@1.1759.1.2, 2004-06-13 10:13:46-04:00, bcollins@debian.org ieee1394: Fix possible NULL ptr dereference with calls to find_ctx() Submitted-by: Hiromasa YOSHIMOTO Signed-off-by: Ben Collins ChangeSet@1.1759.1.1, 2004-06-13 10:11:37-04:00, bcollins@debian.org ieee1394: CSR1212 Extended ROM bug fixes - Use vmalloc instead of kmalloc - Change delayed_reset_bus() to operate in a work_queue instead of a timer interrupt. - Fix hpsb_allocate_and_register_addrspace() to not allocate space on top of already allocated space. - Fix problems in csr1212.c filling ConfigROM images when extend ROMs are present. Signed-off-by: Steve Kinneberg Signed-off-by: Ben Collins ChangeSet@1.1754.2.40, 2004-06-13 06:49:20-07:00, kenneth.w.chen@intel.com [PATCH] ia64: fix race in fsys_bubble_down to avoid fp-register corruption The fast system-call fall-back-path has a race: it reads PSR, modifies some bits, then writes back the new PSR. Unfortunately, the contents of PSR may change between reading and writing it. For example, an interrupt could occur which could trigger a context-switch. The context-switch might in turn flush the floating-point-high (FPH) partition to memory, clear PSR.MFH, and set PSR.DFH. To prevent this race, the patch below turns off PSR.I before reading PSR. This fixes a floating-point corruption problem that was observed on a system with a libc which has the fast system-call support enabled. The performance impact is minimal (on the order of a handful of cycles). Signed-off-by: Kevin Tian Signed-off-by: Ken Chen Signed-off-by: Asit Mallick Signed-off-by: David Mosberger Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.39, 2004-06-13 06:45:58-07:00, akpm@osdl.org [PATCH] ramdisk: buffer_uptodate fix I waffled over this for ages. On balance, I think it's best to mark those bh's as uptodate. And on reflection, I'm not sure why we go bringing ramdisk blockdev pages uptodate all over the place anyway. But ramdisk is weird and it passes testing. Let those dogs sleep. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.38, 2004-06-13 06:45:44-07:00, akpm@osdl.org [PATCH] sparse fix for void return in selinux/hooks.c From: Chris Wright CHECK security/selinux/hooks.c security/selinux/hooks.c:1383:34: warning: return expression in void function security/selinux/hooks.c:3548:30: warning: return expression in void function CC security/selinux/hooks.o From: Mika Kukkonen Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.37, 2004-06-13 06:45:29-07:00, akpm@osdl.org [PATCH] s390: tape driver changes From: Martin Schwidefsky From: Stefan Bader tape driver changes: - Create seperate debug areas for core and discipline modules. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.36, 2004-06-13 06:45:15-07:00, akpm@osdl.org [PATCH] s390: qeth network driver From: Martin Schwidefsky From: Frank Pavlic From: Thomas Spatzier qeth network driver changes: - Use correct request length in arp/snmp requests. - Simplify handling of empty vs. primed buffers. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.35, 2004-06-13 06:45:01-07:00, akpm@osdl.org [PATCH] s390: xpram device driver From: Martin Schwidefsky xpram device driver changes: - Allocate request queue with blk_alloc_queue. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.34, 2004-06-13 06:44:47-07:00, akpm@osdl.org [PATCH] s390: common i/o layer From: Martin Schwidefsky From: Cornelia Huck Common i/o layer changes: - Remove bogus defines. - Fix length of strncmp on bus id. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.33, 2004-06-13 06:44:32-07:00, akpm@osdl.org [PATCH] s390: cleanup string functions From: Martin Schwidefsky Cleanup s390* string functions. This replaces the 31/64 bit assembler files (strcmp[64].S, strcpy[64].S & strncpy[64].S) with a single string.c file that uses some inline assemblies to issue the string instructions. In addition some more of the generic string function got an architecture dependent implementation. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.32, 2004-06-13 06:44:00-07:00, akpm@osdl.org [PATCH] s390: simplify single stepped svc code From: Martin Schwidefsky From: Martin Schwidefsky Introduce a TIF_SINGLE_STEP bit that causes do_debugger_trap to get called at the end of a system call. This way some code duplication in the program check handler can get removed. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.31, 2004-06-13 06:43:46-07:00, akpm@osdl.org [PATCH] s390: speedup strn{cpy,len}_from_user. From: Martin Schwidefsky From: Martin Schwidefsky Speedup strncpy_from_user and strnlen_from_user by using the search string instruction in the secondary space mode. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.30, 2004-06-13 06:43:29-07:00, akpm@osdl.org [PATCH] s390: improve memory detection logic From: Martin Schwidefsky From: Guillaume Morin This patch improves the memory detection logic. It detects any amount of holes in the memory layout up to MEMORY_CHUNK blocks of available memory. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.29, 2004-06-13 06:43:15-07:00, akpm@osdl.org [PATCH] sparse: __user annotations for s390 drivers From: Arnd Bergmann This should catch almost all s390 device drivers Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.28, 2004-06-13 06:42:57-07:00, akpm@osdl.org [PATCH] sparse: user annotations for s390 architecture From: Arnd Bergmann Lots of trivial changes to make sparse happy on s390 arch code, mostly __user annotations. Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.27, 2004-06-13 06:42:42-07:00, akpm@osdl.org [PATCH] i4l: Tigerjet 320 chipset fix From: Karsten Keil Solves a endless IRQ loop for Tigerjet 320 based ISDN cards. Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.26, 2004-06-13 06:42:28-07:00, akpm@osdl.org [PATCH] ncpfs MAINTAINERS update From: Jorn Engel Remove Volker as an NCP maintainer, he hasn't touched it in about 7 or 8 years, according to himself. Volker has acked this change. Signed-off-by: Jörn Engel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.25, 2004-06-13 06:42:15-07:00, akpm@osdl.org [PATCH] dup_mmap() memory accounting fix From: Hugh Dickins Oleg's patch was good in that exit_mmap usually does the un-accounting; but dup_mmap still needs its own un-accounting for the case when it has charged for a vma, but error before it's inserted into child mm's list. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.24, 2004-06-13 06:42:00-07:00, akpm@osdl.org [PATCH] spoll_create size check From: Davide Libenzi This is a sanity check on the size parameter. Nothing explodes w/out, but the conversion to unsigned simply triggers a big allocation. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.23, 2004-06-13 06:41:45-07:00, akpm@osdl.org [PATCH] fix the exit-vs-timer race fix As Roland McGrath points out, we need to zero task->it_virt_value to prevent timer-based signal delivery, not ->it_virt_incr. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.22, 2004-06-13 06:41:31-07:00, akpm@osdl.org [PATCH] es7000plat.c warning fix Lack of argument decls causes this warning: arch/i386/mach-generic/../mach-es7000/es7000plat.c:53: warning: function declaration isn't a prototype Let's stick the extern declaration in a header, which is where they always should be. Cc: "Brown, Len" Cc: "Protasevich, Natalie" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.21, 2004-06-13 06:41:17-07:00, akpm@osdl.org [PATCH] fix modprobe_path and hotplug_path sizes and sysctl From: Andy Whitcroft Both modprobe_path and hotplug_path are arbitrarily sized at 256 bytes and that size is also expressed directly in the sysctl code. It seems reasonable to define a standard length and use that for consitancy. This patch introduces the constant KMOD_PATH_LEN and uses that. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.20, 2004-06-13 06:41:03-07:00, akpm@osdl.org [PATCH] Update Documentation/filesystems/Locking From: Anton Altaparmakov A filesystem's ->writepage() implementation nowadays must run either redirty_page_for_writepage() or the combination of set_page_writeback()/ end_page_writeback(). Failure to do so leaves the page itself marked clean but it is tagged as dirty in the radix tree (PAGECACHE_TAG_DIRTY). This incoherency can lead to all sorts of hard-to-debug problems in the filesystem like having dirty inodes at umount and losing written data. The patch updates Documentation/filesystems/Locking to reflect this requirement. Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.19, 2004-06-13 06:40:49-07:00, akpm@osdl.org [PATCH] sync_inodes_sb() stack reduction Reduce stack consumption in sync_inodes_sb() via read_page_state(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.18, 2004-06-13 06:40:35-07:00, akpm@osdl.org [PATCH] page-writeback.c: use read_page_state() Use the new read_page_state() in page-writeback.c to avoid large on-stack structures. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.17, 2004-06-13 06:40:21-07:00, akpm@osdl.org [PATCH] vmscan.c: use read_page_state() Use the new read_page_state() in vmscan.c to avoid large on-stack structures. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.16, 2004-06-13 06:40:07-07:00, akpm@osdl.org [PATCH] Implement read_page_state struct page_state is large (148 bytes) and we put them on the stack in awkward code paths (page reclaim...) So implement a simple read_page_state() which can be used to pluck out a single member from the all-cpus page_state accumulators. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.15, 2004-06-13 06:39:53-07:00, akpm@osdl.org [PATCH] vmscan.c: struct scan_control From: Nick Piggin Replace lots of parameters to functions in mm/vmscan.c with a structure struct scan_control. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.14, 2004-06-13 06:39:39-07:00, akpm@osdl.org [PATCH] vmscan.c: move ->writepage invocation into its own function From: Nick Piggin Move the invocation of ->writepage for to-be-reclaimed pages into its own function "pageout". From: Nikita Danilov with small changes from Nick Piggin Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.13, 2004-06-13 06:39:25-07:00, akpm@osdl.org [PATCH] vmscan: try harder for GFP_NOFS allocators Page reclaim bales out very early if reclaim isn't working out for !__GFP_FS allocation attempts. It was a fairly arbitrary thing in the first place and chances are the caller will simply retry the allocation or will do something which is disruptive to userspace. So remove that code and do much more scanning. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.12, 2004-06-13 06:39:11-07:00, akpm@osdl.org [PATCH] vmscan: handle synchronous writepage() Teach page reclaim to understand synchronous ->writepage implementations. If ->writepage completed I/O prior to returning we can proceed to reclaim the page without giving it another trip around the LRU. This is beneficial for ramdisk-backed S_ISREG files: we can reclaim the file's pages as fast as the ramdisk driver needs to allocate them and this prevents I/O errors due to OOM in rd_blkdev_pagecache_IO(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.11, 2004-06-13 06:38:57-07:00, akpm@osdl.org [PATCH] NUMAQ kconfig fix NUMA-Q requires CONFIG_NUMA and CONFIG_DISCONTIGMEM to build. Cc: Martin J. Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.10, 2004-06-13 06:38:43-07:00, akpm@osdl.org [PATCH] voyager linkage fix From: William Lee Irwin III Voyager doesn't support HT, so smp_num_siblings doesn't exist. Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.9, 2004-06-13 06:38:26-07:00, akpm@osdl.org [PATCH] Voyager doesn't support MCE From: William Lee Irwin III Voyager doesn't compile any of the APIC or IO-APIC -related code in arch/i386/kernel/ at all -- so it's a logical impossibility that this could ever work. Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.8, 2004-06-13 06:38:11-07:00, akpm@osdl.org [PATCH] numaq mempolicy.c build fix From: William Lee Irwin III mm/mempolicy.c: In function `verify_pages': mm/mempolicy.c:246: warning: implicit declaration of function `kmap_atomic' mm/mempolicy.c:249: warning: implicit declaration of function `kunmap_atomic' pte_offset_map() invokes kmap_atomic() via macro, without including the required header. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.7, 2004-06-13 06:37:58-07:00, akpm@osdl.org [PATCH] Fix exception trace printing on x86-64 From: Andi Kleen Originally by Juergen Kreileder, changed by me. The test for unhandled signals was wrong. Correct it. This helps Java users, who would see bogus printks in their kernel logs previously. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.6, 2004-06-13 06:37:44-07:00, akpm@osdl.org [PATCH] s390: fix kmem_bufctl_t definition From: Arnd Bergmann On s390, kmem_bufctl_t was added inside of an #ifdef, breaking 64 bit builds. Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.5, 2004-06-13 06:37:29-07:00, akpm@osdl.org [PATCH] More fixes for the x86-64 machine check handler From: Andi Kleen Fix more bad issues in the x86-64 machine check handler. - Actually test status after reading it from the register, not before. - Check the UC bit instead of the PCC bit to detect the bank which caused the exception. - Add tolerant==3 level for easier testing. This will avoid any panics. - Don't threat bank overflows as fatal - they must have come from a non fatal exception, which should not cause a panic. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.4, 2004-06-13 06:37:12-07:00, akpm@osdl.org [PATCH] define for_each_cpu_mask() for uniprocessor From: Bruno Ducrot I'm trying to replace for_each_cpu() with for_each_cpu_mask() in arch/i386/kernel/cpu/cpufreq/p4-clockmod.c Unfortunately, though, davej pointed me that for_each_cpu_mask() is not defined in -bk if CONFIG_SMP is not defined. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.3, 2004-06-13 06:30:41-07:00, ak@muc.de [PATCH] Fix fwait on x86-64 too Discard FPU exceptions in exit and execve on x86-64 too. Signed-off-by: Linus Torvalds ChangeSet@1.1754.2.2, 2004-06-12 19:29:44-07:00, torvalds@evo.osdl.org sparse cleanup of #include file sparse tokenizes everything. Including #include directives. Which means that it doesn't want to see "//" in a include filename, since that's a comment outside of a string. And inside of a string it's too dark to read. ChangeSet@1.1754.2.1, 2004-06-12 19:12:31-07:00, torvalds@evo.osdl.org Fix x86 "clear_cpu()" macro. We need to clear all exceptions before synchronizing with the FPU, since we aren't ready to handle a FP exception here and we're getting rid of all FP state. Special thanks to Alexander Nyberg for reports and testing. Alternate patches by Sergey Vlasov and Andi Kleen, who both worked on this. Signed-off-by: Linus Torvalds ChangeSet@1.1735.32.10, 2004-06-12 21:15:57+01:00, tony@com.rmk.(none) [ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output Patch from Tony Lindgren This patch adds OMAP compressed image debug serial output. This patch contains updates to the following files: b/arch/arm/boot/compressed/head.S ChangeSet@1.1735.32.9, 2004-06-12 21:11:28+01:00, tony@com.rmk.(none) [ARM PATCH] 1908/1: Remove old OMAP header files Patch from Tony Lindgren This patch removes the following old files that have been renamed: include/asm-arm/arch-omap/omap-h2.h include/asm-arm/arch-omap/omap-innovator.h include/asm-arm/arch-omap/omap-perseus2.h The new names for the files are board-*.h. ChangeSet@1.1735.32.8, 2004-06-12 20:43:21+01:00, rmk@flint.arm.linux.org.uk [ARM] Tidy up patch 1925/1 Since each Kconfig file is now bracketed with if ARCH_foo ... endif, we can remove the individual "depends on ARCH_foo" clauses against each option. ChangeSet@1.1735.32.7, 2004-06-12 20:31:57+01:00, zap@ru.rmk.(none) [ARM PATCH] 1925/1: ARM 'System Type' kernel config menu cleanup Patch from Andrew Zabolotny This patch makes architecture-specific submenus under "System Type" visible only if the corresponding architecture is selected via the "ARM System Type" menu. Also comments out IDE_POLL in mach-lh7a40x/Kconfig since it is undefined and causes warnings during make menuconfig. Signed-off-by: Andrew Zabolotny ChangeSet@1.1735.32.6, 2004-06-12 20:27:40+01:00, tony@com.rmk.(none) [ARM PATCH] 1922/1: OMAP update 2/2: include files (replaces patch 1904/1) Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Register name clean-up. Mostly removes _REG from register names and replace OMAP1510P1 with OMAP1510. Also moves IO macros from hardware.h to io.h (Dirk Behme) - Add DMA framebuffer hardware acceleration features (Imre Deak) - Fix GPIO code not to do unnecessary address translations between physical and virtual addresses (Juha Yrjölä) - Misc updates, such as OMAP gpio export fixes, additional multiplexing settings, include mach-types.h only where needed, show OMAP revision early during boot ChangeSet@1.1735.32.5, 2004-06-12 20:23:21+01:00, tony@com.rmk.(none) [ARM PATCH] 1923/1: OMAP update 1/2: arch files (replaces patch 1903/1) Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Register name clean-up. Mostly removes _REG from register names and replace OMAP1510P1 with OMAP1510. Also moves IO macros from hardware.h to io.h (Dirk Behme) - Add DMA framebuffer hardware acceleration features (Imre Deak) - Fix GPIO code not to do unnecessary address translations between physical and virtual addresses (Juha Yrjölä) - Misc updates, such as OMAP gpio export fixes, additional multiplexing settings, include mach-types.h only where needed, show OMAP revision early during boot ChangeSet@1.1735.32.4, 2004-06-12 20:13:21+01:00, rmk@flint.arm.linux.org.uk [ARM] Update ARM memory layout documentation. This updates the memory layout documentation to indicate that certain areas should remain unused. It also corrects a few minor errors with region end addresses. ChangeSet@1.1735.1.42, 2004-06-12 10:52:09-07:00, yoshfuji@linux-ipv6.org [NET]: Add dst->ifdown callback. Use it to release protocol specific objects that may be tied to a dst cache object, at ifdown time. Currently this is used to release ipv4/ipv6 specific device state. ChangeSet@1.1735.1.41, 2004-06-12 10:49:04-07:00, davem@nuts.davemloft.net Merge bk://kernel.bkbits.net/acme/net-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1735.30.4, 2004-06-12 01:09:38-03:00, acme@toy.kerneljanitors.org [NET] generalize some simple tcp sk_ack_backlog handling routines Will be used by the poor cousins, starting with LLC. Signed-off-by: Arnaldo Carvalho de Melo ChangeSet@1.1735.30.3, 2004-06-11 14:04:19-03:00, acme@toy.kerneljanitors.org [NET] introduce sk_wait_evend and generalise tcp_data_wait Later patches will make other protocols use sk_wait_data and further generalisations of tcp code will use sk_wait_event. This is again to abstract away more stuff from poor network family writers, like the SOCK_ASYNC_WAITDATA, etc. Signed-off-by: Arnaldo Carvalho de Melo ChangeSet@1.1757, 2004-06-10 19:30:13-04:00, scott.feldman@intel.com [PATCH] e100: fix sender hang after tx timeout * When e100 experiences a transmit timeout, it calls e100_up() to reset the device. e100_up calls netif_start_queue to release any flow block, but doesn't reschedule. This patch unblocks the flow and schedules Tx. Jay Vosburgh [fubar@us.ibm.com]. Signed-off-by: scott.feldman@intel.com ChangeSet@1.1756, 2004-06-10 19:30:04-04:00, scott.feldman@intel.com [PATCH] e100: fix skb leak in tx timeout * If e100 experiences a transmit timeout, and the tx ring is completely full at the time, it will leak all of the skbs on the tx ring (because extra logic is needed to distinguish ring full from ring empty). Jay Vosburgh [fubar@us.ibm.com]. Signed-off-by: scott.feldman@intel.com ChangeSet@1.1755, 2004-06-10 19:29:56-04:00, scott.feldman@intel.com [PATCH] e100: stepping over err return code * Spotted by Jay Vosburgh [fubar@us.ibm.com]. err return code was getting stepped on in the case where we need to report low or no cb resources, which in turn messed up the netif_stop_queue logic in xmit_frame. Signed-off-by: scott.feldman@intel.com ChangeSet@1.1735.18.3, 2004-06-11 19:23:45+10:00, airlied@starflyer.(none) gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices and/or d->send_sizes. When these functions are called from gamma_dma, these pointers are user pointers and are thus not safe to deref. This patch copies over the pointers inside gamma_dma_priority and gamma_dma_send_buffers. Submitted-by: Robert T. Johnson Signed-off-by: Dave Airlie ChangeSet@1.1735.1.39, 2004-06-10 22:41:36-07:00, adilger@clusterfs.com [IPV4]: Fix bug in arp_tables.c fix. ChangeSet@1.1735.1.37, 2004-06-10 22:12:51-07:00, mashirle@us.ibm.com [IPV6]: Fix ICMP6 type checking tests in ah6.c and esp6.c Signed-off-by: Shirley Ma Signed-off-by: David S. Miller ChangeSet@1.1735.1.36, 2004-06-10 22:08:55-07:00, xma@us.ibm.com [IPV6]: Initialize pmtu/advmss in ndisc dst entries. When creating dst entry from ndisc, the dst entry of pmtu is not set, and the outout for this kind of dst entry is set to ip_output2 instead of ip_output. This could lead to send bigger packets through these des entries without fragmentation, and uninitialized pmtu could lead the network unreachable. These problems are easy reproduced when configuring IPSEC for ipv6. IPSEC could pick up dst entry created by ndisc as child des entry if ndisc dst entry generated earlier. If sending bigger packets through IPSEC, the ip output2 will send bigger packets out, the driver will drop these packets on receiver side. Also the dst_entry pmtu will be 0, the network is unreachable. The patch has been tested against 2.6.6. I am not sure why ndisc genereats dst entry with output equal to ip6_output2 not ip6_output. If ndisc sends bigger packets, it will break also. Signed-off-by: Shirley Ma Signed-off-by: David S. Miller ChangeSet@1.1735.1.35, 2004-06-10 22:05:19-07:00, davem@nuts.davemloft.net [IPV4]: Fix unaligned accesses in arp_tables.c ChangeSet@1.1735.1.34, 2004-06-10 22:01:57-07:00, juhl-lkml@dif.dk [NET]: Remove junk from packet_mmap.txt ChangeSet@1.1735.1.33, 2004-06-10 21:58:26-07:00, chaapala@cisco.com [CRYPTO]: Fix digest.c kmapping sg entries > page in length. Below is the patch, against 2.6.7-rc2, to fix crypto/digest.c to do multiple kmap()/kunmap() for scatterlist entries which have a size greater than a single page, originally found and fixed by N.C.Krishna Murthy . Signed-off-by: Clay Haapala Signed-off-by: David S. Miller ChangeSet@1.1735.1.32, 2004-06-10 21:53:15-07:00, davem@nuts.davemloft.net [TCP]: Receive buffer moderation fixes. 1) Make window clamp follow receive buffer growth so it does not limit window advertisements. Noticed by John Heffner and Stephen Hemminger. 2) Fix rcvmem calculation such that tcp_adv_win_scale is taken into account. ChangeSet@1.1735.30.2, 2004-06-10 22:45:53-03:00, acme@toy.kerneljanitors.org [NET] generalise tcp_eat_skb into sk_eat_skb It was already generic, so reflect this in the naming. Later patches will make it be used in other network families. ChangeSet@1.1735.32.3, 2004-06-10 22:44:09+01:00, rmk@flint.arm.linux.org.uk [ARM] uaccess.h should include asm/memory.h not asm/arch/memory.h ChangeSet@1.1735.32.2, 2004-06-10 22:34:23+01:00, rmk@flint.arm.linux.org.uk [ARM] Clean up io-acorn. io-acorn.o is not necessary for CLPS711x build - the functions it provides are defined as macros in asm/io.h, so they will never be referenced. io-acorn.o only provides insl/outsl, so the half-word IO macros within are never used; remove them. ChangeSet@1.1735.32.1, 2004-06-10 21:39:43+01:00, rmk@flint.arm.linux.org.uk [ARM] Add ucontext bits for sigaltstack handling. ChangeSet@1.1735.31.2, 2004-06-10 08:21:19-07:00, axboe@suse.de [PATCH] fix ide-cd racy completions This bug took forever to debug (just ask Ben :-). When we move the completion event from the failed request to the sense request, we risk either the initial complete and then later complete on a long gone ->waiting. I think this business of moving the completion structure to the request sense is a bit bogus and always has been, and the bug is fixed nicely by just rewriting this logic a bit. So instead we simply unconditionally dequeue the failed request (regardless of whether it was REQ_PC or REQ_BLOCK_PC), and pass a reference to it in the sense request. When the sense completes, we call end io on the originally failed request (which does the complete() etc). Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds ChangeSet@1.1735.31.1, 2004-06-10 08:10:50-07:00, geert@linux-m68k.org [PATCH] SCSI_DPT_I2O should depend on PCI ChangeSet@1.1753, 2004-06-10 13:23:23+01:00, aia21@cantab.net NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users. - Modify fs/ntfs/ntfs_readdir() to copy the index root attribute value to a buffer so that we can put the search context and unmap the mft record before calling the filldir() callback. We need to do this because of NFSd which calls ->lookup() from its filldir callback() and this causes NTFS to deadlock as ntfs_lookup() maps the mft record of the directory and since ntfs_readdir() has got it mapped already ntfs_lookup() deadlocks. Signed-off-by: Anton Altaparmakov ChangeSet@1.1735.1.31, 2004-06-09 13:39:40-07:00, yoshfuji@linux-ipv6.org [IPV6]: Add IP6CB. ChangeSet@1.1735.30.1, 2004-06-09 16:38:52-03:00, acme@conectiva.com.br [NET] Introduce sk_reset_timer and sk_stop_timer This makes the best practices already in place in bluetooth and tcp/ip available for all protocols, i.e. references must be managed when associating timers with struct sock instances, also makes the code a bit more clean. Signed-off-by: Arnaldo Carvalho de Melo ChangeSet@1.1735.1.28, 2004-06-09 10:33:49-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1735.29.27, 2004-06-09 10:13:16-07:00, akpm@osdl.org [NETFILTER]: Fix arp_tables.c build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.1735.29.26, 2004-06-09 09:18:25-07:00, oleg@tv-sign.ru [PATCH] dup_mmap() double memory accounting dup_mmap() unnecessarily tries to account for memory of the vma's it has created if it fails in the middle. However, that's pointless (and wrong), since the exit_mmap() path called through mmput() will do so anyway in the failure path. Just remove the bogus un-accounting code. ChangeSet@1.1735.29.24, 2004-06-09 09:06:39-07:00, rddunlap@osdl.org [PATCH] kernel/sysctl annotations for sparse Add __user annotations to kernel/sysctl.c to satisfy sparse for !CONFIG_SYSCTL, !CONFIG_PROC_FS. Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.23, 2004-06-09 08:24:19-07:00, torvalds@ppc970.osdl.org Mark compaq Fibre Channel driver broken. It puts two 2kB temp areas on the stack, which is guaranteed to overflow a 4kB stack if that path is ever taken. Both marked in the source, and both should be easy to fix but need testing. Found by Jörn Engel. ChangeSet@1.1735.29.22, 2004-06-09 08:19:04-07:00, akpm@osdl.org [PATCH] vga16fb.c: fix bogus mem_start value From: Herbert Xu The recent change to vga16fb's memory mapping that you partially reverted is still broken. In particular, it's setting fix.mem_start to a virtual address on i386. The value of fix.mem_start is meant to be physical. We could simply apply virt_to_phys to it, but somehow I doubt that is what it's meant to do on arm. So until we hear from someone who knows how it works on arm, let's just revert this change. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.21, 2004-06-09 08:18:53-07:00, akpm@osdl.org [PATCH] aio.c sparse warning fix Randy Dunlap points out that sparse warns about the test of an undefined preprocessor identifier. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.20, 2004-06-09 08:18:42-07:00, akpm@osdl.org [PATCH] fix uts sysctl write size From: Andy Whitcroft The sysctl interfaces for updating the uts entries such as hostname and domainname are using the wrong length for these buffers; they are hard coded to 64. Although safe, this artifically limits the size of these fields to one less than the true maximum. This generates an inconsistency between the various methods of update for these fields. # hostname 12345678901234567890123456789012345678901234567890123456789012345 hostname: name too long # hostname 1234567890123456789012345678901234567890123456789012345678901234 # hostname 1234567890123456789012345678901234567890123456789012345678901234 # sysctl -w kernel.hostname=1234567890123456789012345678901234567890123456789012345678901234567890 kernel.hostname = 1234567890123456789012345678901234567890123456789012345678901234567890 # hostname 123456789012345678901234567890123456789012345678901234567890123 # The error originates from the fact the handler for strings (proc_dostring) already allows for the string terminator. This patch corrects the limit, taking the oppotunity to convert to use of sizeof(). Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.19, 2004-06-09 08:18:31-07:00, akpm@osdl.org [PATCH] cyclone: PIT sanity checking From: john stultz In testing for SLES9, we ran across a bug caused by userspace apps poking the PIT which caused bad values to be read by the kernel. This would then trigger the lost tick detection code with insane values and would then break the SCSI subsystem. This patch includes the PIT sanity check from the TSC timesource into the cyclone timesource code, which catches the bad case described above and resolves the issue. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.18, 2004-06-09 08:18:20-07:00, akpm@osdl.org [PATCH] flush_workqueue locking simplification From: "Anil" We don't need lock_cpu_hotplug()/unlock_cpu_hotplug for singlethreaded workqueues. Signed-off-by: Anil Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.17, 2004-06-09 08:18:10-07:00, akpm@osdl.org [PATCH] s390: add support for 6 system call arguments (FUTEX_CMP_REQUEUE) From: Martin Schwidefsky This patch adds support for 6 system call arguments on s390. The first exploiter of this will be the sys_futex system call for the FUTEX_CMP_REQUEUE operation. The idea is simple: use register %r7 for the 6th argument. This can be extended to 7/8/9/... arguments if there ever will be the need for it. To call the system call function in the kernel the additional arguments needs to get stored on the stack. 8 bytes are added to the head of struct pt_regs. %r7 is stored to the additional field for all system calls. The store is hidden in a address-generation-interlock slot, it doesn't slow down the system call path. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.16, 2004-06-09 08:17:58-07:00, akpm@osdl.org [PATCH] cdrom hardware defect mgt header length From: Jens Axboe cdrom_has_defect_mgt() has the same ->data_len bug - the length field is not total length, but the length following that field. So it should be + 4, not + 8. However, just kill the length check. Comparison of feature_code provides enough check. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.15, 2004-06-09 08:17:47-07:00, akpm@osdl.org [PATCH] md: fix BUG in raid6 resync code. From: NeilBrown This condtion on this loop is primarily to avoid the loop if it doesn't appear to be needed. However it optimises a little too much and there is a case where it skips the loop when it is really needed. This patch fixes it. This is the raid6 version of the recent raid5 resync bugfix. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.14, 2004-06-09 08:17:36-07:00, akpm@osdl.org [PATCH] __ARCH_WANT_SYS_RT_SIGACTION fix From: Ivan Kokshaysky Recent syscall stubs cleanup broke alpha, as it has its own version of sys_rt_sigaction(). This defines __ARCH_WANT_SYS_RT_SIGACTION for all architectures except alpha, sparc and sparc64. Signed-off-by: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.13, 2004-06-09 08:17:24-07:00, akpm@osdl.org [PATCH] Disable UDF debugging From: Andi Kleen UDF spews out lots of debugging information by default. Disable that, since it doesn't make too much sense for a production kernel. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.12, 2004-06-09 08:17:13-07:00, akpm@osdl.org [PATCH] Remove unnecessary printk in es7000 code From: Andi Kleen This printk is printed by genericarch when your machine is no es7000. Most people don't care about that. Remove it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.11, 2004-06-09 08:17:02-07:00, akpm@osdl.org [PATCH] more drivers/atm/horizon.c polishing From: Francois Romieu - just say no to numbered labels; - pci_enable_device can fail so setup_pci_dev() must return a value; - propagate existing error codes when possible in do_pci_device() - missing pci_disable_device here and there. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.10, 2004-06-09 08:16:51-07:00, akpm@osdl.org [PATCH] Typo in Documentation/fb/framebuffer.txt From: Peter Korsgaard Vertical retrace is in lines, not pixels. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.9, 2004-06-09 08:16:40-07:00, akpm@osdl.org [PATCH] ext3: journal_flush() needs journal_lock_updates() We need to take journal_lock_updates() while remounting r/o to prevent a new transaction starting while journal_flush() is running. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.8, 2004-06-09 08:16:28-07:00, akpm@osdl.org [PATCH] runtime selection of CONFIG_PARIDE_EPATC8 From: Christoph Hellwig drivers/block/paride/epat.c support two slightly different protocol variants. Currently it's compile-time selected by CONFIG_PARIDE_EPATC8, but this patch adds a epatc8 module option to allow runtime selection. CONFIG_PARIDE_EPATC8 stays for now but I'd like to kill it int 2.7. The basic patch is from the Debian kernel package (Author unknown) but I reworked it a bit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.7, 2004-06-09 08:16:17-07:00, akpm@osdl.org [PATCH] unalign struct page_state The ____cacheline_aligned in there is a leftover from before the existence of the percpu infrastructure. It bloats struct page_state and structures which contain it enormously, and we use these things on the stack deep in page reclaim. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.6, 2004-06-09 08:16:06-07:00, akpm@osdl.org [PATCH] writeback_inodes can race with unmount From: Chris Mason There's a small window where the filesystem can be unmounted during writeback_inodes. The end result is the iput done by sync_sb_inodes could be done after the FS put_super and and the super has been removed from all lists. The fix is to hold the s_umount sem during sync_sb_inodes to make sure the FS doesn't get unmounted. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.5, 2004-06-09 08:15:55-07:00, akpm@osdl.org [PATCH] ppc64: iSeries vio_dev cleanups From: Stephen Rothwell This patch removes the archdata and driver_data members of struct vio_dev and uses the platform_data and driver_data members of the embedded struct device instead. I also declared a couple of routines static. This is part of a work in progress. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.4, 2004-06-09 08:15:44-07:00, akpm@osdl.org [PATCH] ppc32: fix missing option in binutils version check From: Olaf Hering The binutils check is bogus, it doesnt work with the just released binutils. A space is needed in the error message. pomegranate:~# echo dssall | /usr/bin/as -o /tmp/x {standard input}: Assembler messages: {standard input}:1: Error: Unrecognized opcode: `dssall' pomegranate:~# /usr/bin/as -v GNU assembler version 2.15.91.0.1 (powerpc-suse-linux) using BFD version 2.15.91.0.1 20040527 (SuSE Linux) *** 2.6 kernels no longer buildcorrectly with old versions of binutils. *** Please upgrade your binutils to 2.12.1 or newer make: *** [checkbin] Error 1 make: Target `all' not remade because of errors. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.3, 2004-06-09 08:15:33-07:00, akpm@osdl.org [PATCH] speedup flush_workqueue for singlethread_workqueue From: "Anil" In flush_workqueue() for a single_threaded_worqueue case the code flushes the same cpu_workqueue_struct for each online_cpu. Change things so that we only perform the flush once in this case. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.2, 2004-06-09 08:15:22-07:00, akpm@osdl.org [PATCH] jbd: descriptor buffer state fix Fix a problem discovered by Jeff Mahoney , based on an initial patch from Chris Mason . journal_get_descriptor_buffer() is used to obtain a regular old buffer_head against the blockdev mapping. The caller will populate that bh by hand and will then submit it for writing. But there are problems: a) The function sets bh->b_state nonatomically. But this buffer is accessible to other CPUs via pagecache lookup. b) The function sets the buffer dirty and then the caller populates it and then it is submitted for I/O. Wrong order: there's a window in which the VM could write the buffer before it is fully populated. c) The function fails to set the buffer uptodate after zeroing it. And one caller forgot to mark it uptodate as well. So if the VM happens to decide to write the containing page back __block_write_full_page() encounters a dirty, not uptodate buffer, which is an illegal state. This was generating buffer_error() warnings before we removed buffer_error(). Leaving the buffer not uptodate also means that a concurrent reader of /dev/hda1 could cause physical I/O against the buffer, scribbling on what we just put in it. So journal_get_descriptor_buffer() is changed to mark the buffer uptodate, under the buffer lock. I considered changing journal_get_descriptor_buffer() to return a locked buffer but there doesn't seem to be a need for this, and both callers end up using ll_rw_block() anyway, which requires that the buffer be unlocked again. Note that the journal_get_descriptor_buffer() callers dirty these buffers with set_buffer_dirty(). That's a bit naughty, because it could create dirty buffers against a clean page - an illegal state. They really should use mark_buffer_dirty() to dirty the page and inode as well. But all callers will immediately write and clean the buffer anyway, so we can safely leave this optimising cheat in place. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.29.1, 2004-06-09 08:15:10-07:00, akpm@osdl.org [PATCH] wake_up_forked_thread() fix Spotted by Randy Dunlap - don't try to return something from a void-returning function. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.28.1, 2004-06-08 22:30:03-07:00, davem@nuts.davemloft.net [SPARC64]: Uninline find_*_bit() like ia64 did. ChangeSet@1.1735.27.3, 2004-06-09 00:11:45+01:00, elf@com.rmk.(none) [ARM PATCH] 1916/1: lh7a40x #5 (1/1) revision B support Patch from Marc Singer Small change to support revision B Card Engines. ChangeSet@1.1735.27.2, 2004-06-09 00:07:30+01:00, elf@com.rmk.(none) [ARM PATCH] 1915/1: lh7a40x #4 (1/1) hardware.h bug fix Patch from Marc Singer This patch corrects a bug in the register access macros for 16 and 8 bit accesses. It also updates the default configuration files for the 2.6.7 kernel. ChangeSet@1.1735.27.1, 2004-06-09 00:03:10+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 1920/1: S3C2410 - register definition fix Patch from Ben Dooks Fix for multiple definition of the same item in the GPIO and IRQ register includes ChangeSet@1.1735.26.1, 2004-06-08 23:53:39+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 1919/1: S3C2410 - Serial configuration bugfix (missing SERIAL_CORE_CONSOLE) Patch from Ben Dooks Fix missing select of SERIAL_CORE_CONSOLE when selecting the S3C2410 serial console support with no other serial console selected ChangeSet@1.1735.12.53, 2004-06-08 12:10:44-07:00, dhowells@redhat.com [PATCH] Fix semaphore downgrade_write() Stop downgrade_write() from under-adjusting the rwsem counter in optimised rw-semaphores. Signed-off-by: David Howells Signed-off-by: Linus Torvalds ChangeSet@1.1735.1.22, 2004-06-08 19:55:14+01:00, dwmw2@dwmw2.baythorne.internal Merge linux-mtd@bkbits.net:sbc8260-2.6 into dwmw2.baythorne.internal:/inst/bk/sbc8260-2.6 ChangeSet@1.1735.25.1, 2004-06-08 11:51:14-07:00, linux-mtd.adm@hostme.bitkeeper.com Merge http://linux.bkbits.net/linux-2.6 into hostme.bitkeeper.com:/repos/l/linux-mtd/sbc8260-2.6 ChangeSet@1.1735.1.21, 2004-06-08 19:47:33+01:00, dwmw2@dwmw2.baythorne.internal Add WindRiver PowerQUICC II flash map driver ChangeSet@1.1735.1.20, 2004-06-08 19:46:28+01:00, dwmw2@dwmw2.baythorne.internal Wind River PowerQUICC II SBC82xx update: - Switch to using u-boot bdinfo. - Set up CS11 for RTC if the bootloader didn't bother. - Set BOOTROM_RESTART_ADDR so machine_restart() actually works. - For non-uboot boot, note bus clock is 66MHz on 8265 model. ChangeSet@1.1735.12.51, 2004-06-08 14:36:38-04:00, jesse.brandeburg@intel.com [PATCH] e1000: fix napi crash on ifdown during traffic Signed off by: Jesse Brandeburg ChangeSet@1.1735.12.50, 2004-06-08 14:33:48-04:00, akpm@osdl.org [PATCH] Fix tulip deadlocks on device removal From: Carl-Daniel Hailfinger Handle going-away devices. ChangeSet@1.1735.12.49, 2004-06-08 14:32:21-04:00, herbert@gondor.apana.org.au [PATCH] Fixed MCA resource bugs in at1700 This patch fixes an incorrect MCA check as well as a leak on probe failure in at1700. ChangeSet@1.1735.12.48, 2004-06-08 14:32:12-04:00, herbert@gondor.apana.org.au [PATCH] Fix netdev leak on probe failure in 3c527 This patch frees the netdev on failure in mc32_probe in 3c527. ChangeSet@1.1735.24.1, 2004-06-08 11:31:45-07:00, hunold@convergence.de [PATCH] Make tda1004x DVB frontend driver work again Adrian Bunk noticed that the tda1004x DVB frontend driver was broken and sent a small patch that at least made the driver work again. There was a discussion afterwards about the kernel syscall interface, but at the end, the tda1004x DVB frontend driver is still non-functional. This re-applies the temporary band-aid. ChangeSet@1.1735.12.47, 2004-06-08 14:11:12-04:00, alan@redhat.com [PATCH] epic100 fixes "Gee it works better if you turn the chip on before programming it" The ioctl to ethtool change broke that little detail... I made the changes, Jeff agreed in principle, Red Hat owns them and I know no reason they can't be contributed under the GPL v2 or later. Requires: ethtool change ChangeSet@1.1735.12.46, 2004-06-08 14:11:04-04:00, alan@redhat.com [PATCH] ethtool power manglement hooks Several ethernet drivers have been broken by the ethtool support because the ioctl code used to power the interface up and down as needed. Rather than add this to each driver call Jeff Garzik suggested we add hooks for before/after ethtool processing. This patch implements them which makes fixing the PM stuff easier, as the epic100 patch to follow will show. It also cleans up the via-velocity driver pm/ethtool logic a great deal. As per Jeff's request the before handler is allowed to fail the operation. -- The contribution herein included is a creation of Red Hat Inc. It is hereby submitted under the license of the existing files and as a derivative work thereof. I know of no reason for not having the right to submit the work herein included. (Bluff your way in legalese ;)) ChangeSet@1.1735.1.19, 2004-06-08 18:55:07+01:00, dwmw2@dwmw2.baythorne.internal Merge linux-mtd@bkbits.net:sbc8260-2.6 into dwmw2.baythorne.internal:/inst/bk/sbc8260-2.6 ChangeSet@1.1735.12.45, 2004-06-08 09:27:15-07:00, paulus@samba.org [PATCH] Make paca xCurrent field be a pointer The paca struct contains a pointer to the current task, which is used for the `current' macro. For some reason, this field is a u64, and every time we use it we need a cast, because it is really a pointer. This patch cleans things up a little by making it a pointer to struct task_struct and removing the casts. It also removes a now-incorrect comment which said that r13 contains current (it now holds &paca[smp_processor_id()]). Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1735.12.44, 2004-06-08 09:27:01-07:00, paulus@samba.org [PATCH] Single-stepping emulated instructions Occasionally the ppc64 kernel emulates a usermode instruction, for example in the alignment exception handler. Kumar Gala pointed out (in the context of the ppc32 kernel) that if the instruction was being single-stepped, and we end up emulating the instruction, we should then send the process a SIGTRAP as if it had not been emulated and the process had then taken a single-step exception. This patch implements this for ppc64. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1735.18.2, 2004-06-08 21:05:52+10:00, airlied@starflyer.(none) The dev->devname being passed to request_irq in drm_irq.h is null. With the old DRM interface, the devname was set in DRM(setunique), but with the current DRM interface >=1.1 the devname is not being set in DRM(set_busid). From: Alan Swanson Approved-by: Dave Airlie ChangeSet@1.1750, 2004-06-08 11:36:54+01:00, aia21@cantab.net NTFS: 2.1.13 - Enable overwriting of resident files and housekeeping of system files. - Mark the volume dirty when (re)mounting read-write and mark it clean when unmounting or remounting read-only. If any volume errors are found, the volume is left marked dirty to force chkdsk to run. - Add code to set the NT4 compatibility flag when (re)mounting read-write for newer NTFS versions but leave it commented out for now since we do not make any modifications that are NTFS 1.2 specific yet and since setting this flag breaks Captive-NTFS which is not nice. This code must be enabled once we start writing NTFS 1.2 specific changes otherwise Windows NTFS driver might crash / cause corruption. - Fix a silly bug that caused a deadlock in ntfs_mft_writepage(). For inode 0, i.e. $MFT itself, we cannot use ilookup5() from there because the inode is already locked by the kernel (fs/fs-writeback.c::__sync_single_inode()) and ilookup5() waits until the inode is unlocked before returning it and it never gets unlocked because ntfs_mft_writepage() never returns. )-: Fortunately, we have inode 0 pinned in icache for the duration of the mount so we can access it directly. Signed-off-by: Anton Altaparmakov ChangeSet@1.1735.2.67, 2004-06-07 23:01:51-05:00, stevef@smfhome1.smfdom handle partial page update of page in cache that is not uptodate better for the situation in which file is open writeonly Signed-off-by: Steve French ChangeSet@1.1735.2.66, 2004-06-07 22:13:21-05:00, stevef@smfhome1.smfdom Make stats display more consistent - under /proc/fs/cifs/Stats Signed-off-by: Steve French ChangeSet@1.1735.23.3, 2004-06-07 16:21:38-07:00, davem@nuts.davemloft.net [NETFILTER]: Put arpt_mutex back into arp_tables.c ChangeSet@1.1735.2.64, 2004-06-07 18:02:58-05:00, stevef@stevef95.austin.ibm.com fix up whitespace Signed-off-by: Steve French ChangeSet@1.1735.23.2, 2004-06-07 15:28:12-07:00, shemminger@osdl.org [TCP]: Add receive DRS info to tcp_info. ChangeSet@1.1735.23.1, 2004-06-07 15:27:26-07:00, shemminger@osdl.org [TCP]: Update tcp_get_info() comments in net/tcp.h ChangeSet@1.1735.2.63, 2004-06-07 17:14:26-05:00, stevef@stevef95.austin.ibm.com Add 2 missing kmalloc failure checks during cifs mount time Signed-off-by: Yury Umanets Signed-off-by: Steve French ChangeSet@1.1735.12.41, 2004-06-07 14:21:48-07:00, baldrick@free.fr [PATCH] USB devio.c: deadlock fix proc_resetdevice is called with dev->serialize held. usb_reset_device takes dev->serialize and then calls __usb_reset_device. To avoid deadlock, proc_resetdevice should call __usb_reset_device directly. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1735.22.2, 2004-06-07 14:14:47-07:00, akpm@osdl.org [PATCH] i386 defconfig update Updates i386 defconfig. I simply ran `make oldconfig' and selected `m' where it was available, otherwise `y'. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.22.1, 2004-06-07 14:14:37-07:00, akpm@osdl.org [PATCH] make buildcheck missing hunk Forgot to update the top-level makefile to invoke the new reference_init script. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1735.12.40, 2004-06-07 14:08:08-07:00, kaie@kuix.de [PATCH] USB: enable pwc usb camera driver The attached patch enables the pwc driver included with kernel 2.6.7-rc2 It also removes the warnings during compilation. However, note that I blindly duplicated the release approach used by other usb camera drivers, replacing the current no-op. The driver works for me with a Logitech QuickCam Notebook Pro and GnomeMeeting. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1735.12.39, 2004-06-07 14:05:59-07:00, Siegfried.Hildebrand@FernUni-Hagen.de [PATCH] USB: Fix problems with cyberjack usb-serial-module since kernel 2.6.2 > Send me a patch to back those changes out to fix your device and I'll > apply it. If the author is around to realize this, that should wake > them up :) Ok, here you are! :) Attached is a patch for linux-2.6.7-rc2. (though the patch hasn't changed since -rc1) Again a short description: (the patch removes most of the changes done in linux-2.6.2) 1. Removed the local buffer of cyberjack_write, because something goes wrong upon a write-request bigger than the buffer. Without this, a write-request stalls with error -3. 2. Removed some usb_clear_halt() lines. Without this, the device doesn't even open and returns -7. It works for my cyberjack pinpad USB card reader on - nforce2 chipset - VIA KM266 chipset - AMD Irongate chipset Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1735.2.62, 2004-06-07 15:33:40-05:00, stevef@stevef95.austin.ibm.com Fix race in updating tcpStatus field ChangeSet@1.1735.12.38, 2004-06-07 12:08:04-07:00, torvalds@ppc970.osdl.org Linux 2.6.7-rc3 TAG: v2.6.7-rc3