ChangeSet@1.2219, 2004-12-22 17:15:09-08:00, greg@kroah.com [PATCH] USB: fix up warning messages spit out by the keyspan driver. I missed this in the previous usb_kill_urb() cleanup. Thanks to Pat Mochel for reporting this. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2218, 2004-12-22 17:14:56-08:00, greg@kroah.com [PATCH] USB: drivers/usb/atm/usb_atm.c: fix nonzero snd_padding case This is the patch to fix the case when snd_padding is not zero, updated according to Duncan's comments. Also it changes the driver name to reflect its generic nature. Signed-off-by: Roman Kagan Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2217, 2004-12-22 17:14:43-08:00, alan@lxorguk.ukuu.org.uk [PATCH] Bring Moxa serial back into being Moxa have released several driver updates now including support up to 2.6.8 but don't themselves feel its worth the effort of doing a cleaned up merge for the base kernel. So I pulled their latest driver release (1.8) and removed all the macro gunge that makes it build on 2.2.0->2.6.8. I then fixed it to run on 2.6.9/10 and fixed a bug in the break handling. It still doesn't do PCI hotplug but I don't have any PCI moxa cards to really tackle that particular case. I've also merged Adriank Bunk's two 'could be static' changes into this diff set. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds ChangeSet@1.2215.1.1, 2004-12-22 18:58:50-05:00, jgarzik@pobox.com [libata sata_nv] fix dev detect by removing sata-reset flag Remove ATA_FLAG_SATA_RESET. See comment in code and http://bugme.osdl.org/show_bug.cgi?id=3352 for more details. This problem needs more investigation. Removing the flag appears to fix the problems in the field, so it's the best temporary solution. ChangeSet@1.2216, 2004-12-22 10:46:54-08:00, tiwai@suse.de [PATCH] alsa: fix oops with ALSA OSS emulation on PPC Fix suggested by Benjamin Herrenschmidt On architectures like PPC, char is handled as "unsigned char", thus the pcm_format_data table entries with -1 give a positive 255. This results in Oops with OSS-emulation on such architectures. The patch simply adds the right signed/unsigned prefix to fix this problem. Signed-off-by: Takashi Iwai Signed-off-by: Linus Torvalds ChangeSet@1.2215, 2004-12-21 16:25:03-08:00, greg@kroah.com [PATCH] USB: fix Scheduling while atomic warning when resuming. This fixes a warning when resuming the USB EHCI host controller driver. From: David Brownell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2214, 2004-12-21 15:51:50-08:00, kernel@kolivas.org [PATCH] vm: disable thrashing control by default It's causing a few as-yet-not-understood problems. So make a zero value of /proc/sys/vm/swap_token_timeout disable the feature, and make the default be zero. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2213, 2004-12-21 15:51:37-08:00, roland@redhat.com [PATCH] back out CPU clock additions to posix-timers This patch reverts the additions of an ABI supporting thread and process CPU clocks in the posix-timers code. This returns us to 2.6.9's condition, there is no support for any new clockid_t values for process CPU clocks. This also fixes the return value for clock_nanosleep when unsupported (I think this is used only by sgi-timer at the moment). The POSIX-specified code for valid clocks that don't support the sleep operation is ENOTSUP. On most architectures the kernel doesn't define ENOTSUP and this name is defined in userland the same as the kernel's EOPNOTSUPP. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2211, 2004-12-21 09:43:44-08:00, torvalds@ppc970.osdl.org Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2191.1.9, 2004-12-21 11:57:38+00:00, rmk@flint.arm.linux.org.uk [ARM] Add missing newline to a printk message. ChangeSet@1.2191.2.2, 2004-12-21 10:25:49+00:00, drzeus@cx.rmk.(none) [MMC] Add Winbond SD/MMC driver Patch from Pierre Ossman ChangeSet@1.2191.1.8, 2004-12-21 09:54:17+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2321/1: Update integrator_defconfig Patch from George G. Davis Just a quick update for integrator_defconfig so it builds a useable kernel. These may not be ideal settings for all users but allows building kernels for the Integrator AP which basically work "out of the box". Signed-off-by: George G. Davis Signed-off-by: Russell King ChangeSet@1.2191.1.7, 2004-12-21 09:43:57+00:00, zecke@org.rmk.(none) [ARM PATCH] 2320/1: SIMpad add Flash device depends on 2319/1 Patch from Holger Hans Peter Freyther This patch adds installation of flash devices and partition from within simpad.c . The information of extracted from the old sa1100 flash map. Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King ChangeSet@1.2191.1.6, 2004-12-21 09:33:24+00:00, zecke@org.rmk.(none) [ARM PATCH] 2319/1: SIMpad cill exportation of ChipSelect via ProcFS Patch from Holger Hans Peter Freyther Remove the exportation of CS3 via procfs Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King ChangeSet@1.2206.1.1, 2004-12-20 16:06:46-08:00, ak@suse.de [PATCH] x86_64: fix syscall/signal restart bug Fix a pretty bad bug that caused sometimes signals on x86-64 to be restarted like system calls. This corrupted the RIP and in general caused undesirable effects. The problem happens because orig_rax is unsigned on x86-64, but it originally was signed when the signal code was written. And the if (orig_rax >= 0) ended up always true. And gcc didn't warn about this, because the warning is only in -Wextra. In 2.4 we still had a cast for it, but somehow it got dropped in 2.5. Credit goes to John Slice for tracking it down and Erich Boleyn for the original fix. All blame to me. I fixed it at another place too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.2209, 2004-12-20 15:28:10-08:00, tgraf@suug.ch [PKT_SCHED]: Provide compat policer stats in action policer This should go in before 2.6.10. It fixes a forgotten case to provide police backward compatibility statistics for old iproute2 versions running on a new kernel with actions enabled. Should make distributions happy with older iproute2 versions and all-included kernel configs since they probably favour actions over plain policer. Testing results: iproute2-2.4.7 on 2.6.10-rc3-bk8: cls-police: police creation succeeded cls-police: Sending 10 ICMP echo requests cls-police: police dumping succeeded with output: filter protocol ip pref 10 u32 filter protocol ip pref 10 u32 fh 800: ht divisor 1 filter protocol ip pref 10 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 10:12 police 3 action drop rate 2Kbit burst 10Kb mtu 2Kb match 00010000/00ff0000 at 8 Sent 420 bytes 10 pkts (dropped 0, overlimits 0) <-- This would have been missing cls-police: police deletion succeeded iproute2-2.6.9 on 2.6.10-rc3-bk8: ... filter protocol ip pref 10 u32 filter protocol ip pref 10 u32 fh 800: ht divisor 1 filter protocol ip pref 10 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 10:12 (rule hit 10 success 10) match 00010000/00ff0000 at 8 (success 10 ) police 0x4 rate 2000bit burst 10Kb mtu 2Kb action drop ref 1 bind 1 Sent 420 bytes 10 pkts (dropped 0, overlimits 0) ... (Same results for fw classifier) Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2208, 2004-12-20 15:13:21-08:00, tgraf@suug.ch [PKT_SCHED]: Fix double locking in tcindex destroy path. tcindex's destroy uses its own delete functions to destroy its configuration. The delete function (correctly) takes the qdisc_tree_lock to prevent list walkings from happening while removing from the list. The qdisc_tree_lock is already held if we're comming via the destroy path and thus a double locking takes place. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2207, 2004-12-20 15:08:50-08:00, shemminger@osdl.org [TCP]: Missing newline character in printk. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2205, 2004-12-18 17:17:56-08:00, pauld@egenera.com [PATCH] fix memory leak in free_percpu This fixes a memory leak where the percpu internal structure is not freed. Repeated add/remove device illustrates the leak nicely. Signed-off-by: Philip R. Auld Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2204, 2004-12-18 17:17:44-08:00, kronos@kronoz.cjb.net [PATCH] ide-cd: Unable to read multisession DVDs cdrom_read_toc (ide-cd.c) always reads the TOC using MSF format. If the last session of the disk starts beyond block 1152000 (LBA) there's an overflow in the MSF format and kernel complains: Unable to identify CD-ROM format. I reported this bug a while ago (see bug #1930 on bugzilla) and Andy Polyakov tracked it down. Read the multi-session TOC in LBA format in order to avoid an overflow in MSF format when the last session starts beyond block 1152000 (LBA). Signed-off-by: Luca Tettamanti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2203, 2004-12-18 17:17:31-08:00, nanhai.zou@intel.com [PATCH] Fix a race condition in pty.c There is a race condition int pty.c when pty_close wakes up waiter on its pair device before set TTY_OTHER_CLOSED flag. It is possible on SMP or preempt kernel, waiter wakes up too early that it will not get TTY_OTHER_CLOSED flag then fall into sleep again - missed wakeup. hjl reports that this bug will hang some expect scripts on SMP machines. Signed-off-by: Zou Nan hai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2191.2.1, 2004-12-17 22:20:11+00:00, nico@org.rmk.(none) [ARM PATCH] 2289/2: turn off PXA clock to MMC block when not in use Patch from Nicolas Pitre ... also remove an unused variable warning. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2191.1.5, 2004-12-17 22:13:33+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2318/1: Enable access to ARMv6 VFP coprocessr Patch from George G. Davis Turn on ARMv6 VFP copressor, if present. According to the ARM1136 TRM, setting CACR bits will be ignored if the coprocessor is not present. In that case, this is change has no effect. Signed-off-by: George G. Davis Signed-off-by: Russell King ChangeSet@1.2191.1.4, 2004-12-17 22:08:47+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2317/1: S3C2410 - fix clkout0 name in clock.c Patch from Ben Dooks clkout0 has the name of clkout1 Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2191.1.3, 2004-12-17 22:04:07+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2316/1: cacheflush.h included in copypage-v6.c Patch from Catalin Marinas This is needed to avoid the implicit declaration of the cache_is_vipt_aliasing() macro defined in cacheflush.h. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2191.1.2, 2004-12-17 21:58:15+00:00, rmk@flint.arm.linux.org.uk [ARM] Deny user space mappings in first page even on hi-vec CPUs Don't allow user space mappings in the first page even if we are using high vectors - this may prevent BUG() from working, as well as allowing kernel NULL pointer derefs to be silently ignored. ChangeSet@1.2191.1.1, 2004-12-17 21:48:57+00:00, rmk@flint.arm.linux.org.uk [ARM] Clean up vector support code. Rather than working out where the vector page is mapped, always map the vector page at the high vectors location, and conditionally handle the coherency issues with the low vector mapping if present. ChangeSet@1.2202, 2004-12-17 09:20:49-08:00, akpm@osdl.org [PATCH] parenthesize init_wait() macro parameters Addresses bug #3863, from Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2201, 2004-12-17 09:20:36-08:00, magnus.damm@gmail.com [PATCH] aty128fb: do not release unrequested range The aty128fb driver in 2.6.10-rc3 tries to release an unrequested range during driver unload. This results in the following printout on my Apple G4 Cube: Trying to free nonexistent resource <00802400-008024ff> The remedy is simple - do not release the unrequested range. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2200, 2004-12-17 09:20:23-08:00, Markus.Lidel@shadowconnect.com [PATCH] i2o: increase timeout for LCT_NOTIFY Some users have reported problems with the I2O subsystem, which was caused by the timeout to fetch the LCT. - increases the timeout for I2O LCT_GET. On some systems the time to get a reply from the I2O controller is longer then the timeout to wait. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2199, 2004-12-17 09:20:10-08:00, paulus@samba.org [PATCH] ppc64: fix signal mask restoration when delivery fails This is the third of 3 patches from David Woodhouse which fix various problems with signal handling on ppc64. At present, if a signal is being delivered, and the process has specified delivery of that signal on an alternate stack but the alternate stack that has been specified is invalid (i.e. the kernel gets a fault writing to the alternate stack), then we (correctly) give the process a SIGSEGV but we put the wrong signal mask in the saved state on the stack - i.e. we put the mask that would have been established for the original signal handler there. This patch fixes it by making setup_rt_frame, handle_rt_signal32 and handle_signal32 return a status code to indicate whether they successfully established a stack frame. If they fail, the caller doesn't block the signals specified for the signal handler. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2198, 2004-12-17 09:19:57-08:00, paulus@samba.org [PATCH] ppc64: fix single-stepping into/out of signal handlers This is the second of 3 patches from David Woodhouse which fix various problems with signal handling on ppc64. The problem that this patch fixes is that a process being single-stepped will execute one instruction too many in certain cases: when a signal is delivered, when a signal handler returns, and when a system call instruction is single-stepped. This patch fixes it by checking if the process is being single-stepped in the syscall exit path and on signal delivery, and stopping it if so. To avoid slowing down the syscall exit path in the normal case, we use a bit in the thread_info flags, which can be tested along with the other bits we already test in the syscall exit path. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2197, 2004-12-17 09:19:44-08:00, paulus@samba.org [PATCH] ppc64: fix signal handler arguments This is the first of 3 patches from David Woodhouse which fix various problems with signal handling on ppc64. (This is David's patch plus a couple of comment fixes from me.) Without this patch, a signal handler that is called as a result of delivery of a signal while a process is waiting in sigsuspend() will have wrong values given to it for the second and third arguments. The reason is that we were returning to userspace via the syscall return path, which doesn't bother to restore r4 and r5. This patch arranges for the return to userspace to be done via ret_from_except in this case, which restores all registers. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2196, 2004-12-17 09:19:31-08:00, heiko.carstens@de.ibm.com [PATCH] s390: z/VM watchdog driver bugfix. From: Gerald Schaefer - Remove ESPIPE logic, use nonseekable_open() instead. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2195, 2004-12-17 09:19:18-08:00, heiko.carstens@de.ibm.com [PATCH] s390: z/VM monreader driver bugfix. From: Gerald Schaefer - Use nonseekable_open() to disable seeking and pread()/pwrite(). Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2194, 2004-12-17 09:19:05-08:00, olh@suse.de [PATCH] dvb: Kconfig help typo fix Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2193, 2004-12-17 09:18:52-08:00, joern@wohnheim.fh-wedel.de [PATCH] phram maintainer update Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2192, 2004-12-17 09:18:41-08:00, roland@redhat.com [PATCH] fix bogus ECHILD return from wait* with zombie group leader Klaus Dittrich observed this bug and posted a test case for it. This patch fixes both that failure mode and some others possible. What Klaus saw was a false negative (i.e. ECHILD when there was a child) when the group leader was a zombie but delayed because other children live; in the test program this happens in a race between the two threads dying on a signal. The change to the TASK_TRACED case avoids a potential false positive (blocking, or WNOHANG returning 0, when there are really no children left), in the race condition where my_ptrace_child returns zero. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2191, 2004-12-16 15:49:32-08:00, greg@kroah.com [PATCH] USB: avoid OHCI autosuspend on some boxes Don't try autosuspend if we think the hardware won't resume correctly from the OHCI suspend state. This makes the RWC bit serve double duty, but that appears to work OK, and the only penalty is increased power consumption (from OHCI clocks) on boards/chips that don't work right. For example, the amd756 erratum 4 workaround needs this logic; and at least one ServerWorks box issues spurious resume IRQs (~3x/second!) in the suspend state. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2190, 2004-12-16 15:49:19-08:00, greg@kroah.com [PATCH] usbfs: Remove extraneous disconnection checks This patch fixes a bug in the usbfs code. The driver is too zealous about checking for disconnected devices before doing things. In particular, it is necessary to reap all outstanding asynchronous URBs and unbind from interfaces when the device file is closed, even if the device is no longer connected. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2179.2.8, 2004-12-16 13:32:09-08:00, davidm@hpl.hp.com [IA64] do early_console_setup() on UP, too Here is trivial patch to enable the early console setup for UP as well. Tested on zx1. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck ChangeSet@1.2188, 2004-12-16 20:16:53+00:00, rpurdie@net.rmk.(none) [ARM PATCH] 2315/1: PXA PCMCIA Suspend/Resume bugfix Patch from Richard Purdie The base PCMCIA code for PXA2xx doesn't work over a suspend/resume cycle as the MECR register isn't preserved. This patch restores the register. Signed-off-by: Richard Purdie Signed-off-by: Russell King ChangeSet@1.2174.3.1, 2004-12-16 11:58:56-08:00, matthew@wil.cx [IA64]delay.h: udelay() should call cpu_relax() Signed-off-by: Matthew Wilcox Signed-off-by: Tony Luck ChangeSet@1.2187, 2004-12-16 16:20:17+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2312/1: Cache type information fix Patch from Catalin Marinas The CType field in the cache type CP15 register does not always specify whether the cache is VIVT or VIPT. The dump_cpu_info() function should use the cache_is_(vivt|vipt) macros instead. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2186, 2004-12-16 16:12:16+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2311/1: ARM1176 CPU detection Patch from Catalin Marinas The CPU Id register changed with the ARM1176 processor and the ARMv6 architecture description field can be either 7 or 0xF. This patch also detects the first byte of the part number since 0xF in the description field will also be used for future ARM architectures. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2185, 2004-12-16 16:06:29+00:00, dsaxena@net.rmk.(none) [ARM PATCH] 2305/1: Add IXP46x CPU support Patch from Deepak Saxena Add support for Intel's new IXP46x CPU family. Signed-off-by: Deepak Saxena Signed-off-by: Russell King ChangeSet@1.2184, 2004-12-16 10:58:18+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2310/1: CONFIG_FPE_NWFPE enabled in (integrator|versatile)_defconfig Patch from Catalin Marinas CONFIG_FPE_NWFPE was enabled and CONFIG_FPE_FASTFPE disabled in the (integrator|versatile)_defconfig files because the latter is only available as a separate patch. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2183, 2004-12-16 10:42:18+00:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2314/1: Enable physmap MTD driver for IOP platforms Patch from Dave Jiang Update all IOP def configs to utilize the MTD physmap driver instead of IOP specific MTD maps driver. Signed-off-by: Dave Jiang Signed-off-by: Russell King ChangeSet@1.2179.1.3, 2004-12-15 22:20:11-06:00, sfrench@sambaltcdom.austin.ibm.com Error mapping workaround for NT4 bug of reporting oldstyle DOS error for ERR invalid level (shows up on attempts to do SetPathInfo to NT4). Call posix_lock_wait to avoid fs/locks.c panic per Trond's suggestion Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2174.2.2, 2004-12-15 16:07:36-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Fix path based calls to consistently allow up to PATH_MAX (some were incorrectly limited to just over 512) Pointed out by Shaggy. Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2179.2.6, 2004-12-15 11:25:10-08:00, rusty@rustcorp.com.au [PATCH] Fix return value when proc file creation fails in ip_conntrack We notiecd proc_net_fops_create() failing, and cleaned up, but returned 0 anyway. Found by the --failtest flag to nfsim-testsuite. --failtest rocks my world. Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds ChangeSet@1.2179.2.5, 2004-12-15 11:22:11-08:00, rusty@rustcorp.com.au [PATCH] ip_conntrack_irc:parse_dcc should be static Found by nfsim (-Wmissing-prototypes is your friend). Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds ChangeSet@1.2179.2.4, 2004-12-15 11:20:17-08:00, stelian@popies.net [PATCH] correct dma_set_mask return code in DMA-API.txt The documentation says dma_set_api() returns 1 on success and 0 on error, which is plain wrong, standard kernel return codes are used instead (0 on ok, -ESOMETHING on error). ChangeSet@1.2179.2.3, 2004-12-15 11:20:04-08:00, stelian@popies.net [PATCH] enable meye even when CONFIG_HIGHMEM64G=y The meye hardware needs to access the main memory for DMA using 32 bit addresses. The previous version of the meye driver used dma_addr_t types to build those addresses and ensured that sizeof(dma_addr_t) = 4 by disabling HIGHMEM64G in Kconfig. However, this way of doing it also makes meye unavailable on some kernel configurations. As Arjan said previously, future Fedora kernels may have HIGHMEM64G activated by default (davej says it won't happen, at least for now...). Other distributions may do the same and this will require meye users to recompile the whole kernel. The attached patch makes the meye driver use dma_addr_t addresses internally, but converts them to u32 before giving them to the hardware. Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2179.2.2, 2004-12-15 11:13:03-08:00, mporter@kernel.crashing.org [PATCH] ppc32: PPC4XX DMA polarity init fix This patch applies to the kernel 2.6.9 and fixes the initialisation of the DMA channel polarity in the function ppc4xx_init_dma_channel() for the PPC 4XX processor. Signed-off-by: Colin P Wernham Signed-off-by: Matt Porter Signed-off-by: Linus Torvalds ChangeSet@1.2179.2.1, 2004-12-15 11:12:50-08:00, trini@kernel.crashing.org [PATCH] ppc32: Compile classic PPC specific ASM only on CONFIG_6xx Newer binutils (2.15) when they know they aren't assembling for a classic target (say e500 instead of 750) disallow certain opcodes, causing the compile to fail. Signed-off-by: Thomas Gleixner Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds ChangeSet@1.2182, 2004-12-15 10:27:48+00:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2303/1: Remove unused file in iop331 port Patch from Dave Jiang remove iop331-mm.c in arch/arm/mach-iop3xx Signed-off-by: Dave Jiang Signed-off-by: Russell King ChangeSet@1.2181, 2004-12-15 10:18:17+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2309/1: ARCH->MACH replacement for the Versatile/AB platform Patch from Catalin Marinas The Versatile/AB platform is defined as a MACH (not ARCH) in the arch/arm/tools/mach-types file. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2180, 2004-12-15 10:13:29+00:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2304/1: versatile_defconfig fixed after adding Versatile/AB support Patch from Catalin Marinas CONFIG_ARCH_VERSATILE=y was added to the versatile_defconfig file. Signed-off-by: Catalin Marinas Signed-off-by: Russell King ChangeSet@1.2179, 2004-12-14 14:45:49-08:00, galak@linen.sps.mot.com [PATCH] ppc32: fix SPE state corruption on e500 Unfortunately the restoring of SPE state was causing data corruption since we were restoring based on the size of the altivec context and not the SPE context. Also, fixed setting of last_task_used_spe on start_thread, flush_thread, and exit_thread. Signed-off-by: Kumar Gala Signed-off-by: Linus Torvalds ChangeSet@1.2174.2.1, 2004-12-14 15:31:18-06:00, stevef@smfhome.smfdom return the right return code on failed ExtendedSecurity mount to SPNEGO enabled servers to avoid mount oops. Fix case in which tcp stack only returns 3 bytes of larger peek of smb header (which would otherwise kill the session and cause us to have to reconnect) Signed-of-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2174.1.2, 2004-12-14 12:25:08-08:00, torvalds@ppc970.osdl.org Fix x86 src pointer type for memcpy_fromio(). It's "const volatile __iomem *". The "const" was missing. ChangeSet@1.2177, 2004-12-14 11:09:16-08:00, kaber@trash.net [PKT_SCHED]: Keep netem queue running until inner qdisc is empty Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2176, 2004-12-14 11:06:25-08:00, chrisw@osdl.org [IPV4/IPV6]: IGMP source filter fixes When adding or deleting from the source list make sure to find matches by comparing against the new source address, not the group address. Also, check each addr in the list rather than just the first one. And, finally, only delete from list when there's a match rather than vice-versa. Drop the effort to keep list sorted, since it's not done on full-state api and can create an sl_addr entry that the delta api won't be able to delete. Without these fixes sl_count can be corrupted which can allow for kernel memory corruption. Signed-off-by: Chris Wright Signed-off-by: David S. Miller ChangeSet@1.2119.8.8, 2004-12-14 09:57:36-08:00, eranian@hpl.hp.com [IA64] perfmon.c: fix bug in previous "fix" - undo the pfm_context_free() call in pfm_handle_work(). The logic is different. In the case of a controlling task exiting while monitored in pfm_handle_work. The context is freed in pfm_close() and not pfm_handle_work(). signed-off-by: stephane eranian Signed-off-by: Tony Luck ChangeSet@1.2119.8.7, 2004-12-14 09:53:27-08:00, tony.luck@intel.com [IA64] Delete: Documentation/ia64/serial.txt Andrew took the patch that created this, and Linus applied it to his BK tree. Remove my copy so that we can merge. Signed-off-by: Tony Luck ChangeSet@1.2119.8.6, 2004-12-13 15:27:37-08:00, eranian@hpl.hp.com [IA64] fix pfm_force_terminate() to really cleanup the state. - fix pfm_force_terminate() to really cleanup the state. There was a bug affecting sessions which use PFM_FL_OVFL_BLOCK flag. It could lead to an assertion failure in pfm_load_regs() in the case where the owner of the session died unexpectedly. The fix is to do the full unload operation. - simplifies the debug output in pfm_flush_pmds() - simplifies the debug output in pfm_overflow_handler() - fix a minor typos in a comment in pfm_flush(). signed-off-by: stephane eranian Signed-off-by: Tony Luck ChangeSet@1.2119.1.68, 2004-12-13 21:07:52+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix ZBOOT_ROM configuration Fix ZBOOT_ROM options help texts to describe what's going on there bettwe. Make ZBOOT_ROM depend on ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS being different values. This allows all*config-created configurations to work where ZBOOT_ROM_TEXT and ZBOOT_ROM_BSS were both zero. ChangeSet@1.2173, 2004-12-13 09:02:47-08:00, js@linuxtv.org [PATCH] fix dvb-net Oops emardsofthome!net discovered an embarrasing bug in dvb_net.c where the NET_REMOVE_IF ioctl will cause an Oops when called with an invalid interface number. Signed-off-by: Johannes Stezenbach Signed-off-by: Linus Torvalds ChangeSet@1.2172, 2004-12-13 09:02:33-08:00, bjorn.helgaas@hp.com [PATCH] hisax: don't look at pci_dev->irq before calling pci_enable_device() The hisax driver looks at dev_avm->irq before calling pci_enable_device(), which means it requests the wrong IRQ. This patch fixes it. Thanks to Thorsten Doil for reporting the problem and testing the fix. Signed-off-by: Bjorn Helgaas Signed-off-by: Linus Torvalds ChangeSet@1.2171, 2004-12-13 08:35:16-08:00, akpm@osdl.org [PATCH] remove speedstep_coppermine docs Avoid documenting something which isn't there. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2170, 2004-12-13 08:35:05-08:00, james4765@gmail.com [PATCH] rocket: documentation changes Add some configuration information to Documentation/rocket.txt that was included with the external driver package. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2169, 2004-12-13 08:34:52-08:00, magnus.damm@gmail.com [PATCH] documentation for mem= I recently learnt that limiting RAM with by using only "mem=xxxM" is no good on machines equipped with PCI. In my case (vanilla 2.6.9) the cardbus bridge on my laptop got mapped to the unused RAM area which resulted in wierd errors due to the collision. The right solution is to use "mem=" together with "memmap=" to mark the unused RAM area reserved. Henceforth I force the kernel to use 2016MiB by passing "mem=2016M memmap=32M#2016M" instead of just "mem=2016M". Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2168, 2004-12-13 08:34:39-08:00, sundarapandian@gmail.com [PATCH] Code to register amba serial console is missing Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2167, 2004-12-13 08:34:24-08:00, hunold@linuxtv.org [PATCH] dvb: av7110 driver update - av7110: fixed av7110_before_after_tune()/av7110_fe_lock_fix(): firmware >= 261d: wait for empty message queue, firmware <= 261c: wait 50ms - av7110: add __user and __iomem annotations, remove some unnecessary cast (patch by C.Y.M) - av7110: __av7110_send_fw_cmd(): added some sanity checks suggested by Werner Fin - av7110: added support for full-featured DVB-C cards: 13c2:0000 Siemens DVB-C (full-length card) VES1820/Philips CD1516 and 13c2:0003 Haupauge DVB-C 2.1 VES1820/ALPS TDBE2 - av7110: follow saa7146 changes, remove superflous casts, and other misc. minor cleanups - av7110: Fixed race condition between driver and av7110 while accessing the COMMAND register in DPRAM. See http://www.linuxtv.org/mailinglists/vdr/2004/01-2004/msg00331.html - budget: various cleanups by Adrian bunk Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2166, 2004-12-13 08:34:11-08:00, hunold@linuxtv.org [PATCH] dvb: frontend update - dib3000: support for dynamically i2c addresses of the demod - tda1004x: fixed firmware upload problems, forgot to include tune_settings for tda1004x, added setting to allow inversion of OCLK, set fesettings->min_delay_ms = 800 as suggested by Peter Siering - stv0297: code cleanup - mt312: added vp310 support - mt352: decrease verbosity Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2165, 2004-12-13 08:33:58-08:00, hunold@linuxtv.org [PATCH] dvb: dvb-core update - dvb-core: remove unused frequency bending code, simplify internal frontend handling - dvb-net: add ULE dvb-net support according to draft-ietf-ipdvb-ule-03 Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2164, 2004-12-13 08:33:45-08:00, hunold@linuxtv.org [PATCH] dvb: update dib-usb driver - added new usb ids for some more clones - added option to deliver the complete TS with USB2.0 devices - added support for the dib3000mc/p frontend driver Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2163, 2004-12-13 08:33:31-08:00, hunold@linuxtv.org [PATCH] dvb: B2C2 driver splitup - B2C2: move generic b2c2 code a separate module, added basic b2c2-usb support - [DVB] Skystar2: add mt312/vp310 support Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2162, 2004-12-13 08:33:18-08:00, hunold@linuxtv.org [PATCH] dvb: saa7146 driver + misc updates - saa7146: prefix IER_DISABLE and IER_ENABLE with SAA7146_, add SAA7146_ISR_CLEAR - dvb-bt8xx/dst: fix typo - cinergyT2: locking in SET_PARAMETERS and some VDR compatibility code for GET_EVENT (thanks to Stefan Lucke) Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2161, 2004-12-13 08:33:05-08:00, mpm@selenic.com [PATCH] Fix concurrent access to /dev/urandom This patch fixes a problem where /dev/urandom can return duplicate values when two processors read from it at the same time. It relies on the fact that we already are taking a lock in add_entropy_words(), and atomically hashes in some freshly mixed in data into the returned randomness. Signed-off-by: Matt Mackall Signed-off-by: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2160, 2004-12-13 08:32:52-08:00, pavel@ucw.cz [PATCH] swsusp: fix types This fixes types so that sparse has less stuff to complain about. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2159, 2004-12-13 08:32:39-08:00, pavel@ucw.cz [PATCH] swsusp: Fix header typo Fixes typo in header, please apply, Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2158, 2004-12-13 08:32:26-08:00, pavel@ucw.cz [PATCH] swsusp fixes: fix confusing printk This fixes confusing printk. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2157, 2004-12-13 08:32:14-08:00, pavel@ucw.cz [PATCH] swsusp bugfixes: fix memory leak This fixes memory leak when we are low on memory during suspend. Ouch and nr_needed_pages is only used twice, and only written :-(. I guess that can wait for 2.6.10. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2156, 2004-12-13 08:32:01-08:00, pavel@ucw.cz [PATCH] swsusp bugfixes: do not oops when not enough memory during resume This prevents oops when not enough memory is available during resume. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2155, 2004-12-13 08:31:48-08:00, pluto@pld-linux.org [PATCH] gcc4 fixes Fix the below: drivers/atm/zatm.c:1608: error: invalid lvalue in assignment drivers/atm/iphase.c:623: error: invalid storage class for function 'ia_pkt_tx' drivers/cdrom/sbpcd.c: In function 'get_state_T': drivers/cdrom/sbpcd.c:1168: error: invalid storage class for function 'cmd_out_T' drivers/cdrom/sbpcd.c: In function 'cmd_out_T': drivers/cdrom/sbpcd.c:1317: error: invalid storage class for function 'cc_DriveReset' drivers/media/video/saa7134/saa7134-core.c:90: error: static declaration of 'saa7134_devcount' follows non-static declaration drivers/media/video/saa7134/saa7134.h:479: error: previous declaration of 'saa7134_devcount' was here drivers/net/acenic.c:488: error: invalid storage class for function 'ace_watchdog' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2154, 2004-12-13 08:31:34-08:00, trini@kernel.crashing.org [PATCH] Add missing __KERNEL__ (or other) protections As of 2.6.10-rc3, the following is needed to allow various userland packages (sysvinit, dhcp, ppp, libcap, libpcap, lilo) to compile as parts that userland needs (e.g. for ioctls) is in files with stuff userland isn't allowed to see. This adds __KERNEL__ around and some defines ( isn't needed by userland, and is unhappy right now). sysvinit and some other packages need for HDIO_DRIVE_CMD and other IOCTL things. In we were unsafely typedef'ing __le64/__be64 as __u64 only exists when __GNUC__ && !__STRICT_ANSI__ (causing libcap to fail, for example). Finally, provides routines userland simply cannot use on all arches, but is needed by iputils for example. While not all arches put __KERNEL__ around their header, on MIPS including this header currently blows up the build. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2153, 2004-12-13 08:31:21-08:00, bjorn.helgaas@hp.com [PATCH] Documentation for ia64 serial device name changes Document how Linux/ia64 names serial devices and how to use them as console devices. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2152, 2004-12-13 08:31:08-08:00, anton@samba.org [PATCH] ppc64: pSeries shared processor fixes It turns out there are more issues with our VPA code: 1. vpa_init doesnt report errors when it fails. This was masking a bug where the VPA spanned 2 pages and phyp failed to register it. 2. We call idle_setup before we initialise the boot cpus vpa. This means we never select the shared processor idle loop. 3. We dont call vpa_init on UP kernels. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2151, 2004-12-13 08:30:55-08:00, benh@kernel.crashing.org [PATCH] ppc64: Workaround PCI issue on g5 ppc64 has a global called "pci_probe_only" which, when set, prevents the arch PCI code from calling pci_assign_unassigned_resources(). This was cleared by pmac so far, but a bug in the definition of the variable make that ineffective until 2.6.10, and so we never called pci_assign_unassigned_resources(). With 2.6.10, that bug was fixed and so we now call it, which results in some problems. Some devices who have perfectly valid assigned addresses by firmware end up beeing moved around anyway, which is a BAD thing can can break boot on some machines since it breaks the relationship between addresses in Open Firmware device-tree and actual location of PCI devices. (Some low level things like the PIC are ioremap'ed based on their OF address, way before the PCI based ASIC hosting them has been found). This also break the "offb" default framebuffer driver since the video card ends up beeing moved around as well. For now, the fix is to set pci_probe_only on pmac, thus reverting to the old behaviour. In the long run, it would be interesting to "fix" pci_assign_unassigned_resources() so that it does what it's name claims, and only assigns things that have been left unassigned instead of moving things around gratuituously... Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2150, 2004-12-13 08:30:42-08:00, hugh@veritas.com [PATCH] VmLib wrapped: mprotect flags Sometimes /proc//status shows VmLib: 42949..... kB. mprotect_fixup must note oldflags on entry: if vma_merge is successful, vma->vm_flags afterwards may be either the oldflags or the newflags, and the extent of the change will be less than the extent of the vma. And let's use unsigned long for these flags throughout. Signed-off-by: Hugh Dickins Acked-by: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2149, 2004-12-13 08:30:29-08:00, hugh@veritas.com [PATCH] VmLib wrapped: executable brk In some cases /proc//status shows VmLib: 42949..... kB. If READ_IMPLIES_EXEC then the break area is VM_EXEC, but omitted from exec_vm since do_brk contains no __vm_stat_account call. Later munmaps count its pages out of exec_vm, hence (exec_vm - VmExe) can go negative. do_brk is right not to call __vm_stat_account, its pages shouldn't need to be counted. What's wrong is that __vm_stat_account is counting all the VM_EXEC pages, whereas (to mimic 2.4 and earlier 2.6) it should be leaving VM_WRITE areas and non-vm_file areas out of exec_vm. VmLib may still appear larger than before - where a READ_IMPLIES_EXEC personality makes what was a readonly mapping of a file now executable e.g. /usr/lib/locale stuff. And a program which mprotects its own text as writable will appear with wrapped VmLib: sorry, but while it's worth showing ordinary programs as ordinary, it's not worth much effort to avoid showing odd ones as odd. Signed-off-by: Hugh Dickins Acked-by: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2148, 2004-12-13 08:30:17-08:00, hugh@veritas.com [PATCH] shmctl SHM_LOCK perms Michael Kerrisk has observed that at present any process can SHM_LOCK any shm segment of size within process RLIMIT_MEMLOCK, despite having no permissions on the segment: surprising, though not obviously evil. And any process can SHM_UNLOCK any shm segment, despite no permissions on it: that is surely wrong. Unless CAP_IPC_LOCK, restrict both SHM_LOCK and SHM_UNLOCK to when the process euid matches the shm owner or creator: that seems the least surprising behaviour, which could be relaxed if a need appears later. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2147, 2004-12-13 08:30:04-08:00, kraxel@bytesex.org [PATCH] uml: ramdisk config fix ObviouslyCorrect[tm] buildfix ;) Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2146, 2004-12-13 08:29:51-08:00, heiko.carstens@de.ibm.com [PATCH] fix ext2/ext3 memory leak The patch below fixes an ext2/ext3 memory leak: the *_fill_super functions allocate percpu data structures but don't free them in *_put_super. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2145, 2004-12-13 08:29:38-08:00, akpm@osdl.org [PATCH] do_task_stat() use pid_alive() Use pid_alive() rather than testing for a zero value of ->pid. Is the right thing to do and addresses an oops dereferencing real_parent which one person reported. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2144, 2004-12-13 08:29:25-08:00, david-b@pacbell.net [PATCH] reduce ext3 log spamming (blank lines) When drives go offline, e.g. usb-storage disconnect, the upper layers don't behave very intelligently yet: ext3 over scsi keeps retrying reads, logging three lines for each error: 10:58:31 scsi0 (0:0): rejecting I/O to dead device 10:58:31 EXT3-fs error (device sda1): ext3_find_entry: reading directory #18089296 offset 0 10:58:31 10:59:47 EXT3-fs error (device sda1): ext3_find_entry: reading directory #18089296 offset 0 This patch shrinks that log spam by the trivial third, getting rid of those needless blank lines. It's not clear to me why the "no such device" errors don't immediately make ext3 (or is it the block layer?) give up ... maybe someone else can make Linux not retry after those errors. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2143, 2004-12-13 08:29:13-08:00, akpm@osdl.org [PATCH] direct-io: set PF_SYNCWRITE We need to set the PF_SYNCWRITE when performing direct-io writes. Otherwise the anticipatory scheduler exhibits bad read-starves-write problems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2142, 2004-12-13 08:29:00-08:00, paulus@samba.org [PATCH] ppc64: make UP kernel run on POWER4 logical partition Recently I tried booting a UP kernel on a 1-processor logical partition on a POWER4 system. It failed because the CPU we happened to be running on was CPU 2, but hard_smp_processor_id() is defined to 0 for !CONFIG_SMP. (Note that this code runs quite early, as part of init_IRQ, so hard_smp_processor_id() should be the physical ID of the boot cpu.) This patch does a minimal fix to make it work. I think this patch should go in 2.6.10. Ultimately I think the hard_smp_processor_id() definition should be removed from include/linux/smp.h, but that carries a risk of breaking other architectures and probably shouldn't be done pre 2.6.10. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2141, 2004-12-12 23:28:56-08:00, axboe@suse.de [PATCH] highmem.c: fix bio error propagation Found a subtle bug that caused mount errors on a SATA drive with barriers on reiser and ext3, where it should have recovered and just turned off barriers. The problem is that the EOPNOTSUPP error isn't being propagated properly to the bounced bio. This patch fixes that by correctly passing error all the way down. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds ChangeSet@1.2140, 2004-12-12 22:26:09-08:00, paulus@samba.org [PATCH] ppc64: make sure lppaca doesn't cross page boundary This patch is from Will Schmidt , with some extra comments from me. On iSeries and on POWER5 machines, there is a data structure which is used for communication between the hypervisor and the kernel, called the `lppaca'. The kernel tells the hypervisor where it is, and the hypervisor requires that it doesn't cross a page boundary. With other changes in the last few months we have ended up with a situation where it could cross a page boundary. This patch increases the alignment requirement for the struct to make sure that it can't cross a page boundary. This is a bug fix and should go into 2.6.10. Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.2138, 2004-12-12 21:13:18-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Fix CIFS_MAX_MSGSIZE so it can be configured at module_install time, allowing buffer size to be changed Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.12.2, 2004-12-12 12:31:12-08:00, bunk@stusta.de [PATCH] fm801_gp_probe: fix use after free The patch below by "Petri T. Koistinen" in Rusty's trivial patches is IMHO a candidate for 2.6.10 . Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds ChangeSet@1.2119.12.1, 2004-12-12 10:38:02-08:00, torvalds@ppc970.osdl.org x86 sysenter: clear %ebp on exit. It contains the thread info pointer. That's not something that user mode can really use for anything interesting, but it's also not something that user mode should ever really see. Pointed out by Brad Spender as being in PaX. ChangeSet@1.2135, 2004-12-12 00:06:48-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Remove sparse warning in use of cifs_write function Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2134, 2004-12-11 17:04:11-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] remove sparse warning Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2133, 2004-12-11 16:27:16-06:00, stevef@smfhome.smfdom Add support for module init parms for number of small and large cifs network buffers and for maximum number of simultaneous requests. Fix directio of userbuffers to use copy_to_user. Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.1.67, 2004-12-11 17:07:00+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix compiler warning for set_speed irda method. ChangeSet@1.2119.11.5, 2004-12-10 23:39:33-06:00, James.Bottomley@steeleye.com [PATCH] Fix cable pull problem with USB storage Pulling a USB cable on mounted media gives the following oops: SCSI error: host 4 id 0 lun 0 return code = 4000000 Sense class 0, sense error 0, extended sense 0 Unable to handle kernel NULL pointer dereference at virtual address 00000008 printing eip: c021ed03 *pde = 1707e001 Oops: 0000 [#1] SMP Modules linked in: nls_utf8(U) sr_mod(U) usb_storage(U) ehci_hcd(U) ohci_hcd(U) mga(U) md5(U) ipv6(U) parport_pc(U) lp(U) parport(U) i2c_dev (U) i2c_core(U) nfs(U) lockd(U) sunrpc(U) tg3(U) ext3(U) jbd(U) sata_promise(U) libata(U) aic7xxx(U) sd_mod(U) scsi_mod(U) CPU: 1 EIP: 0060:[] Not tainted VLI EFLAGS: 00210046 (2.6.9-prep) EIP is at cfq_insert_request+0x45/0xdf eax: c175c808 ebx: d7f728b0 ecx: 00000001 edx: d7f728b0 esi: 00000001 edi: 00000000 ebp: 00000000 esp: c4b42dac ds: 007b es: 007b ss: 0068 Process umount (pid: 4021, threadinfo=c4b42000 task=c6cd26c0) Stack: c175c808 c175c808 00000001 d7f728b0 00000001 c0215c86 00000001 d7f728b0 c175c808 c0217b7e 00000000 00200202 c175c808 dead4ead d7f72800 c4b42e80 d885a150 d7f72800 00000000 c4b42e10 d885a324 00000002 d885a27b 00001388 Call Trace: [] __elv_add_request+0x3c/0x71 [] blk_insert_request+0x6f/0xa1 [] scsi_insert_special_req+0x20/0x26 [scsi_mod] [] scsi_wait_req+0x57/0x8c [scsi_mod] [] scsi_wait_done+0x0/0x52 [scsi_mod] [] __cond_resched+0x14/0x39 [] sr_do_ioctl+0x83/0x1fe [sr_mod] [] sr_packet+0x1a/0x1f [sr_mod] [] cdrom_get_disc_info+0x3e/0x7b [] cdrom_mrw_exit+0xd/0x4a [] kref_put+0x42/0x45 [] kobject_release+0x0/0x8 [] unregister_cdrom+0x7d/0xa1 [] sr_kref_release+0x34/0x4c [sr_mod] [] sr_kref_release+0x0/0x4c [sr_mod] [] kref_put+0x42/0x45 [] sr_block_release+0x59/0x6d [sr_mod] [] blkdev_put+0x8d/0x18f [] deactivate_super+0x5b/0x70 [] sys_umount+0x65/0x6c [] unmap_vma_list+0xe/0x17 [] do_munmap+0x129/0x137 [] sys_oldumount+0xb/0xe [] syscall_call+0x7/0xb The problem is caused because the object tying of the upper device reference and lower device reference is released in the wrong order (yes, this is my fault). Releasing an upper driver can generate I/O which is a bit of a problem if you already dropped the last reference to the scsi_device. Signed-off-by: James Bottomley ChangeSet@1.2119.11.4, 2004-12-10 23:31:50-06:00, axboe@suse.de [PATCH] hack imm.c to work in highmem machines Currently imm uses page_address() which can crash on highmem. It's not directly doable to map the pages properly, at least not without changing some code. In lack of a ->bounce_highio member in the scsi host template, just set ->unchecked_isa_dma which will just bounce everything for us. imm isn't performance critical by any stretch of the imagination, so... Usually I'd not encourage such a silly hack, but in lack of hardware for testing (who has it??), this should suffice as it is obviously correct. Signed-off-by: Jens Axboe Signed-off-by: James Bottomley ChangeSet@1.2119.11.3, 2004-12-10 23:26:32-06:00, markh@osdl.org [PATCH] aacraid: 2.6 fix panic on module removal This patch moves the list_del before the host data is freed up. The aac struct is invalid once scsi_host_put is called. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley ChangeSet@1.2119.11.2, 2004-12-10 23:24:43-06:00, jejb@mulgrave.(none) megaraid: fix a bug in kioc dma buffer deallocation From: Bagalkote, Sreenivas Signed-off-by: James Bottomley ChangeSet@1.2119.11.1, 2004-12-10 23:08:57-06:00, bunk@stusta.de [PATCH] scsi/qla2xxx/qla_rscn.c: remove unused functions The patch below removes two unused functions from drivers/scsi/qla2xxx/qla_rscn.c Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley ChangeSet@1.2119.1.66, 2004-12-10 21:29:56+00:00, rmk@flint.arm.linux.org.uk [ARM] Add resources for sa11x0ir device. ChangeSet@1.2119.10.1, 2004-12-10 12:10:10-08:00, kadlec@blackhole.kfki.hu [NETFILTER]: TCP window tracking bug fixes. 1) Name IP_CT_TCP_STATE_FLAG_WINDOW_SCALE more consistently. 2) Client sends SYN, server responds with SYN/ACK. However the SYN/ACK is lost in transit and the client keeps sending the SYNs. The server times out, restarts, and sends SYN/ACK with new sequence numbers. Those packets were however erroneously dropped by the window tracking code. 3) NFS client and server, client crashes and connects to the server from the same port as before the crash. Server thinks the connection is still alove and sends an ACK, client responds with a RST and tears down the connection so that it can start a new one. That was not handled by the previous code. 4) Occasionally the window tracking code logged BUG lines due to a leftover ack instead of sack in the logging part. Signed-off-by: Jozsef Kadlecsik Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2119.9.9, 2004-12-10 20:12:27+01:00, bzolnier@trik.(none) [ide] remove obsolete comment from ide-probe.c Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.1.65, 2004-12-10 19:11:32+00:00, rmk@flint.arm.linux.org.uk [ARM] Add platform-based IrDA device support. Move the platform specific IrDA support code out of sa1100_ir into the platform support files. This allows sa1100_ir to build again. ChangeSet@1.2119.8.5, 2004-12-10 11:09:51-08:00, tony.luck@intel.com [IA64] delete offsets.h in mrproper, not in clean rule Patch from Tigran Aivazian: On IA64 architecture the "make clean" does not correspond to its definition: # make clean Delete most generated files # Leave enough to build external modules because it deletes include/asm-ia64/offsets.h file which can easily be included by a module, e.g. via this header path: In file included from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/asm/uaccess.h:37, So the fix is to remove this file from CLEAN_FILES and add it to MRPROPER_FILES, so that it is NOT removed by "make clean" and removed by "make mrproper". Signed-off-by: Tony Luck ChangeSet@1.2119.9.8, 2004-12-10 20:07:51+01:00, bzolnier@trik.(none) [ide] fix creating of /proc/ide/ entries for legacy VLB modules Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.8.4, 2004-12-10 11:02:02-08:00, bjorn.helgaas@hp.com [IA64] Document serial device names on ia64 Document how Linux/ia64 names serial devices and how to use them as console devices. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck ChangeSet@1.2131, 2004-12-10 12:57:28-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Allow peek to return less than smb header so we do not prematurely kill session to server when socket stack is busy. Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.9.7, 2004-12-10 19:56:43+01:00, bzolnier@trik.(none) [ide] final polish on disk ioctl documentation From: Edward Falk Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.9.6, 2004-12-10 19:45:40+01:00, bzolnier@trik.(none) [ide] ide-cd: fix possible race in PIO mode From: Alan Cox When we issue an ide command the status bits don't become valid for 400nS. In the DMA case ide_execute_command handles this but in the PIO case we don't do the needed locking, use OUTBSYNC to avoid posting or delay. This means that in some situations we can execute the command handler in PIO mode before the command status bits are valid and the handler may read and act wrongly. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.9.5, 2004-12-10 19:28:35+01:00, bzolnier@trik.(none) [ide] alim15x3: add support for ULi M5228 From: Clear Zhang Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.9.4, 2004-12-10 19:15:16+01:00, bzolnier@trik.(none) [ide] atiixp: add new PCI identifier From: Pascal Lengard Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.9.3, 2004-12-10 19:07:17+01:00, bzolnier@trik.(none) [ide] pdc202xx_old: fix cable detection pdc202xx_old_cable_detect() always returns '0' (which means 80c cable) due to a sloppy coding - result of CIS & mask is truncated to 8 bits although CIS holds cable info in bits 10-11. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.9.2, 2004-12-10 19:02:19+01:00, bzolnier@trik.(none) [ide] remove SAMSUNG CD-ROM SC-148F from the DMA blacklist Reported to work OK by Alexander E. Patrakov . Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.8.2, 2004-12-10 09:57:53-08:00, torvalds@ppc970.osdl.org Clean up open_exec()/kmalloc() error case handling. It's a purely theoretical bug, since the kmalloc() failure that might "leak" file descriptors cannot actually happen (we do not ever fail small GFP_KERNEL allocations), but it's good to do things properly. Noted by Brad Spender. ChangeSet@1.2119.9.1, 2004-12-10 18:56:22+01:00, bzolnier@trik.(none) [ide] remove PLEXTOR CD-R PX-W8432T from the DMA blacklist Reported to work OK by Junio C Hamano , DervishD and Anton <_xman_@mail.ru>. Fixes bugzilla bug #3730. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2119.8.1, 2004-12-10 09:52:42-08:00, torvalds@ppc970.osdl.org Make sure VC resizing fits in s16. Noted by Georgi Guninski ChangeSet@1.2130, 2004-12-10 10:46:32-06:00, stevef@smfhome.smfdom [CIFS] Do not block on FindNotify response Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.1.64, 2004-12-10 16:33:49+00:00, nico@org.rmk.(none) [ARM PATCH] 2301/1: fix PXA definition of PSSR_OTGPH Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2119.1.63, 2004-12-10 16:29:17+00:00, dvrabel@com.rmk.(none) [ARM PATCH] 2300/1: IXP4xx: remove minor type mismatch warnings Patch from David Vrabel Remove some minor type mismatch warnings from some IXP4xx specific code. Signed-off-by: David Vrabel Signed-off-by: Russell King ChangeSet@1.2119.1.62, 2004-12-10 16:24:25+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2299/1: S3C2410 - pm debug patch Patch from Ben Dooks If CONFIG_S3C2410_PM_CHECK is set and CONFIG_S3C2410_PM_DEBUG is not set, then the pm.c file will not build as uart_save[] is not defined. Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2119.1.61, 2004-12-09 20:08:11-08:00, torvalds@ppc970.osdl.org Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2128, 2004-12-09 18:50:28-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Check right mid state on hung network responses. Fix remote dnotify to be disabled by default. Fix dnotify endianness. Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.1.59, 2004-12-09 13:49:32-08:00, greg@kroah.com USB: fix another sparse warning in the USB core Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.58, 2004-12-09 13:47:47-08:00, nacc@us.ibm.com [PATCH] USB: add wake-up for waitqueues in usbfs_remove_file() to fix bug 387 Description: Bug 387 (http://bugzilla.kernel.org/show_bug.cgi?id=387) is fixed by the attached patch, which sends waitqueue wake-ups to all the appropriate wait-queue entries when a device is removed from the system. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.57, 2004-12-09 12:41:33-08:00, greg@kroah.com USB: fix obvious build error in hc_chrisv10.c driver Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.56, 2004-12-09 12:41:17-08:00, greg@kroah.com USB: removed unused hc_sl811 driver from the tree Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.55, 2004-12-09 12:41:01-08:00, greg@kroah.com USB: fix sparse warning in ehci-hcd driver. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.54, 2004-12-09 12:40:44-08:00, greg@kroah.com USB: fix sparse warnings in sl811-hcd driver. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.53, 2004-12-09 12:35:50-08:00, david-b@pacbell.net [PATCH] USB: sl811-hcd driver, replaces hc_sl811 This patch provides a new "sl811-hcd" driver, which should replace the older one from Cypress (which has been broken for ages, even on SA-1100). Key features of this new driver: - Small, relatively tight code; - Uses the 2.6 platform_device and usbcore HCD infrastructures; - Compiles (x86, ARM) and works (ARM/PXA255); - Passed a day's worth of "usbtest" stress testing (on 2.6.9). I've enumerated over a dozen different devices with it, and actually tested mice, hubs, keyboards, and usb-storage. There's a hardware erratum that prevents this chip from working with certain external hubs. There's scope yet for some performance work here; and some IRQ quirks linger. This PIO-only driver should serve as a model for some other non-DMA USB host controllers (like isp1161, isp1362, td243) used in embedded Linuxes ... in particular, showing how to maintain async and periodic schedules without pointless emulation of OHCI DMA queues and/or registers. The driver should handle ISO, but since it doesn't implement the special urb->iso_frame_desc[] "pseudo-queue" model (and since Linux can't guarantee low enough IRQ latencies!), ISO is disabled. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.52, 2004-12-09 12:23:36-08:00, david-b@pacbell.net [PATCH] USB: OHCI "resume"/smp fix I noticed an SMP deadlock when connecting devices to an autosuspended root hub. This fix just makes the OHCI hub status reporting logic (used exclusively by khubd) be a NOP until after the worker task (keventd) finishes resuming the port, so they can't deadlock. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.51, 2004-12-09 12:23:20-08:00, bunk@stusta.de [PATCH] USB uhci-debug.c: remove an unused function (fwd) The patch below removes an unused function from drivers/usb/host/uhci-debug.c Signed-off-by: Adrian Bunk Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.50, 2004-12-09 12:23:06-08:00, david-b@pacbell.net [PATCH] USB: EHCI qh update race fix This makes the EHCI driver stop trying to update a live QH ... it's not like OHCI, that can't be done safely because of a hardware race. The fix: - Unlinks the QH before updating it; only the tail can safely be updated "live", not the queue head. The async schedule (all control/bulk QHs) and periodic schedule (interrupt QH) work a bit differently ... high bandwidth transfers will hiccup. - Moves "update QH" and "clear toggle" logic into one new qh_refresh() routine, used in several places. The race shows readily enough under load with the right hardware. The controller silicon might be relatively slow, or maybe it's the bus that's slow/busy: Host Controller --- ---------- reads two TD pointers update two TD pointers wmb() activate QH reads rest of QH Net result is that the HC treated old TD pointers as valid, and things started misbehaving. Busy controllers would misbehave worse; some systems wouldn't notice more than a slowdown, especially with light USB loads. This affects behavior in two cases. The uncommon one is when an endpoint gets an error and halts. The more common one happens when the controller runs off the end of its queue and overlays an inactive "dummy" TD into the QH ... something the spec says shouldn't happen, but which more silicon seems to be doing. (Presumably to reduce DMA chatter.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.49, 2004-12-09 12:22:49-08:00, stern@rowland.harvard.edu [PATCH] USB UHCI: minor bugfix for port resume This patch fixes two small problems in the port suspend/resume handling for the UHCI driver. There were a couple of spots where I neglected to store I/O addresses in unsigned _long_ variables (required for 64-bit architectures). And it turns out the host controller will continue to indicate a resume is in progress for a few microseconds after it has been turned off, so an extra delay is needed. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.48, 2004-12-09 12:22:35-08:00, rddunlap@osdl.org [PATCH] PCI/x86-64: build with PCI=n Fix (most of) x64-64 kernel build for CONFIG_PCI=n. Fixes these 2 errors: 1. arch/x86_64/kernel/built-in.o(.text+0x8186): In function `quirk_intel_irqbalance': : undefined reference to `raw_pci_ops' Kconfig change: 2. arch/x86_64/kernel/pci-gart.c:194: error: `pci_bus_type' undeclared (first use in this function) Still does not fix this one: drivers/built-in.o(.text+0x3dcd8): In function `pnpacpi_allocated_resource': : undefined reference to `pcibios_penalize_isa_irq' Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2119.1.47, 2004-12-09 08:19:26-08:00, pisa@cmp.felk.cvut.cz [PATCH] VM86 interrupt emulation fix Fixes faulty IRQ_NONE value returning by VM86 irq_handler(). The IRQ source is blocked as well until userspace confirms processing. This should enable to use VM86 code even for level triggered interrupt sources. Signed-off-by: Pavel Pisa Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.46, 2004-12-08 23:22:06-08:00, eradicator@gentoo.org [SPARC]: Make some asm headers more userland friendly. Signed-off-by: David S. Miller ChangeSet@1.2119.1.45, 2004-12-08 23:02:03-08:00, davem@nuts.davemloft.net [SPARC]: Adjust 32-bit ELF_ET_DYN_BASE. We were using 0x08000000 instead of TASK_UNMAPPED_BASE so that running something like "/lib/ld-linux.so.2 emacs" would work. The issue there was that wherever /lib/ld-linux.so.2 gets mapped (controlled by ELF_ET_DYN_BASE), that is where the BSS start for the process ends up. Now, emacs allocates dynamic memory for LISP objects from the BSS, and needs the top 4 bits of the virtual address to be clear so that it can encode LISP type and GC marking information there. But making this obscure emacs case work breaks lots of other stuff. For example, programs with a reasonably large data section fail to load via direct ld.so interpreter execution because the data section is large enough to begin overlapping with the ELF_ET_DYN_BASE area. The /lib/ld-linux.so.2 emacs case does not work on a lot of platforms due to this issue, including i386, so it is not worth making work on sparc either. It is indeed useful sometimes when debugging a new experimental build of glibc for example, but people doing that can hack the value of ELF_ET_DYN_BASE in their kernels. Perhaps at some point we will make a sysctl controllable value. Signed-off-by: David S. Miller ChangeSet@1.2119.7.9, 2004-12-08 22:55:27-08:00, wensong@linux-vs.org [IPVS] add a sysctl variable to expire quiescent template The patch is from Horms Signed-off-by: Horms Signed-off-by: David S. Miller ChangeSet@1.2119.7.7, 2004-12-08 22:00:32-08:00, davem@nuts.davemloft.net [IPV6]: Do not use udp_poll for RAW sockets. Signed-off-by: David S. Miller ChangeSet@1.2119.7.6, 2004-12-08 21:37:13-08:00, solar@openwall.com [TCP]: Missing KERN_INFO in remotely triggerable printk. Signed-off-by: David S. Miller ChangeSet@1.2119.1.44, 2004-12-08 21:32:16-08:00, jurij@woodyd.org [SUNSAB]: Fix serial break handling. We forget to check the BRK condition in the interrupt status register when deciding to call receive_chars() or not, which is where BRK handling occurs. Signed-off-by: David S. Miller ChangeSet@1.2119.1.43, 2004-12-08 21:15:08-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. Signed-off-by: David S. Miller ChangeSet@1.2119.7.5, 2004-12-08 20:35:33-08:00, shemminger@osdl.org [PKT_SCHED]: netem forgets to restart device after inserting packets The version of netem in 2.6.10 moves packets from the delayed queue to the qdisc in a timer interrupt. But it forgot to force the device to pick them up. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2119.7.4, 2004-12-08 20:33:03-08:00, kaber@trash.net [PKT_SCHED]: Fix oops in ipt action error path. This patch fixes an oops when the ipt action is used with a non-existant iptables target. It tries to log t->u.kernel.target->name, u.kernel.target is part of a union and as long as the target wasn't successfully loaded contains the name of the target, using it as a pointer results in a crash. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2119.7.3, 2004-12-08 20:31:35-08:00, jt@hpl.hp.com [IRDA]: Use kill_urb() in irda-usb * change comment about Sigmatel now that there is a driver * convert to new module_param * places where urb is unlinked synchronously, use usb_kill_urb because that is now a runtime warning. Original patch from Stephen Hemminger Signed-off-by: Stephen Hemminger Signed-off-by: Jean Tourrilhes Signed-off-by: David S. Miller ChangeSet@1.2119.7.2, 2004-12-08 20:29:41-08:00, jt@hpl.hp.com [IRDA]: Use kill_urb() in stir4200 USB changed behaviour of unlink_urb so that it gives warning and backtrace when being used synchronously. The correct current behaviour is to us kill_urb in that case. Original patch from Stephen Hemminger Signed-off-by: Stephen Hemminger Signed-off-by: Jean Tourrilhes Signed-off-by: David S. Miller ChangeSet@1.2119.7.1, 2004-12-08 20:28:20-08:00, jt@hpl.hp.com [IRDA]: Try to fix the worst abuse of the pci init code in via_ircc Bugfix suggested by Arkadiusz Miskiewicz. Signed-off-by: Jean Tourrilhes Signed-off-by: David S. Miller ChangeSet@1.2119.1.42, 2004-12-08 20:22:28-08:00, davem@nuts.davemloft.net [SPARC]: asm/mostek.h needs asm/io.h Noticed by Bob Breuer. Signed-off-by: David S. Miller ChangeSet@1.2119.1.41, 2004-12-08 13:37:53-08:00, kaber@trash.net [NETFILTER]: Fix memory leak in ip_conntrack_ftp Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2119.1.40, 2004-12-08 13:03:03-08:00, davem@nuts.davemloft.net [NET]: CMSG compat code needs signedness fixes too. Signed-off-by: David S. Miller ChangeSet@1.2119.1.39, 2004-12-08 12:49:21-08:00, herbert@gondor.apana.org.au [NET]: Fix CMSG validation checks wrt. signedness. Noticed by Georgi Guninski. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2119.1.38, 2004-12-08 12:39:15-08:00, davem@nuts.davemloft.net [IPV4]: Do not leak IP options. If the user makes ip_cmsg_send call ip_options_get multiple times, we leak kmalloced IP options data. Noticed by Georgi Guninski. Signed-off-by: David S. Miller ChangeSet@1.2119.1.37, 2004-12-08 12:30:12-08:00, yoshfuji@linux-ipv6.org [IPV6]: Fix check if we're a router. Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.2119.1.36, 2004-12-08 07:41:46-08:00, piggin@cyberone.com.au [PATCH] Fix broken domain debugging (aka "isolcpus option broken") Fix an oops in sched_domain_debug when using the isolcpus= option. Also move a debug check for validating groups into the "for-each-group" loop, where it should be. Signed-off-by: Nick Piggin Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.35, 2004-12-08 07:38:59-08:00, torvalds@ppc970.osdl.org Revert isolcpus option fix, pending better fix from Nick. The real bug was in the debugging code, not the actual domain data structure setup. Cset exclude: sivanich@sgi.com[torvalds]|ChangeSet|20041207160443|30564 ChangeSet@1.2119.6.2, 2004-12-07 21:05:37-08:00, kaber@trash.net [PKT_SCHED]: Fix hard freeze with QoS in 2.6.10-rc3 The problem is in tcf_action_copy_stats, it assumes a->priv has the same layout as struct tcf_act_hdr, which is not true for struct tcf_police. This patch rearranges struct tcf_police to match tcf_act_hdr. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2119.6.1, 2004-12-07 21:03:48-08:00, mitch@sfgoth.com [IPV4]: Do not use udp_poll for RAW sockets. Signed-off-by: Mitchell Blank Jr Signed-off-by: David S. Miller ChangeSet@1.2119.5.13, 2004-12-07 18:35:14-08:00, torvalds@ppc970.osdl.org Revert recent ext3_dx_readdir changes They turn out to be buggy, and result in the same filename being reported twice when htree directory indexing is enabled. Thanks for Kris Karas for helping chase it down. Also reported by Holger Kiehl. Cset exclude: akpm@osdl.org[torvalds]|ChangeSet|20041108040801|49372 ChangeSet@1.2119.1.31, 2004-12-07 19:23:59-05:00, dougg@torque.net [PATCH] off-by-1 libata-scsi INQUIRY VPD pages 0x80 and 0x83 I have some code (in sginfo) that requests the first 4 bytes of SCSI INQUIRY VPD pages to get their length then asks for that exact length in a follow up request to fetch the payload. Just like I saw with 36 byte standard INQUIRYs (no fixed) I get a buffer full or zeroes. BTW SCSI standards dictate that in situations where the allocation length (in the cdb) is less than what is needed that what can be sent shall be sent (i.e. truncated and without any error indication or modification to the part of the response returned). In other words it is up the the application client to take remedial action. Changelog: - fix off-by-1 allocation length issue with SCSI INQUIRY VPD pages 0x80 and 0x83 Signed-off-by: Jeff Garzik ChangeSet@1.2119.5.12, 2004-12-07 16:23:27-08:00, kraxel@bytesex.org [PATCH] msp3400 quick fix The new "simpler" opmode added by the recent merge from ivtv breaks msp3400 support for other tv cards. Not figured yet why. This patch disables the "simpler" mode by default (can still be enabled by insmod option) as quick fix for 2.6.10. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.11, 2004-12-07 16:23:12-08:00, hunold@linuxtv.org [PATCH] dvb: follow changes in dvb-ttpci and budget drivers - [DVB] dvb-ttpci, budget: updated to fix problems with some CAMs on KNC1 cards - [DVB] dvb-ttpci, budget: make needlessly global code static, whitespace and newline cleanups, thanks to Adrian Bunk - [DVB] dvb-ttpci, budget: follow frontend changes in driver - [DVB] dvb-ttpci, budget: fix drivers to use new wait_for_debi_done(...,nobusywait) routine. Signed-off-by: Michael Hunold Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.10, 2004-12-07 16:22:59-08:00, hunold@linuxtv.org [PATCH] dvb: remove dead files - [DVB] remove obsolete grundig_29504-401, grundig_29504-491, alps_tdlb7 and alps_tdmb7 frontend drivers - [DVB] remove sp887x firmware file, it's unused thanks to firmware_class Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.9, 2004-12-07 16:22:44-08:00, hunold@linuxtv.org [PATCH] dvb: core changes - [DVB] dvb-core: follow Linux coding style, kill dvb_ksyms.c and move the EXPORT_SYMBOLs to the files where the functions are, thanks to Adrian Bunk - [DVB] dvb-core: #if 0'ing unused code, make needlessly global code static, whitespace and newline cleanups, thanks to Adrian Bunk - [DVB] dvb_ca_en50221.c: support for KNC1/Cinergy CI modules, fix segfaults, enhanced poll_slot_status to support non-IRQ interfaces, Fix module usage count problem - [DVB] dvb-frontend.c: core changes to support the refactorized frontend drivers Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.8, 2004-12-07 16:22:31-08:00, hunold@linuxtv.org [PATCH] dvb: dibusb driver update - [DVB] dibusb: added remote control event handling, thanks to David Matthews. - [DVB] dibusb: added support for special Artec devices (with AN2235 usb controller) - [DVB] dibusb: enable several new devices (even the broken Artec T1) - [DVB] dibusb: #if 0'ing unused code - [DVB] dibusb: follow frontend changes Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.7, 2004-12-07 16:22:17-08:00, hunold@linuxtv.org [PATCH] dvb: Cinergy T2 update - [DVB] cinergyT2: update driver to exploit hardware capabilities Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.6, 2004-12-07 16:22:05-08:00, hunold@linuxtv.org [PATCH] dvb: follow frontend changes in drivers - [DVB] dvb-ttusb-dec, dvb-ttusb-budget, skystar2, bt878 + dvb-bt8xx: follow frontend changes in driver - [DVB] DST isn't a real frontend, it's an interface to a frontend microcontroller, so move the hardware dependend stuff to the right place Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.5, 2004-12-07 16:20:46-08:00, hunold@linuxtv.org [PATCH] dvb: saa7146 changes - [DVB] saa7146_core.c, saa7146_video.c: MODULE_PARM -> module_param, added non-busy waiting option for saa7146_wait_for_debi_done(), make needlessly global code static and remove unused code (thanks to Adrian Bunk ) Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.4, 2004-12-07 16:20:33-08:00, hunold@linuxtv.org [PATCH] dvb: frontend driver refactoring - [DVB] reafactor or add the following frontend drivers: at76c651, cx22700, ves1x93, ves1820, tda80xx, tda8083, cx22702, tda1004x, tda10021, cx24110, dvb_dummy_fe, l64781, mt312, mt352, stv0299, sp887x, stv0297, nxt6000, sp8870 - [DVB] remove dib3000mb from frontends, it's handled by the hw dependent driver now Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.3, 2004-12-07 16:19:51-08:00, hunold@linuxtv.org [PATCH] dvb: collateral frontend changes - [DVB] get_dvb_firmware: rework to reflect new frontend design, added additional firmware location - [DVB] Kconfig and Makefile changes all over the place, remove Makefile.lib Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.2, 2004-12-07 16:19:34-08:00, hunold@linuxtv.org [PATCH] dvb: documentation update Start of a big DVB update. The reasons for revamping the DVB frontend architecture: Just as analog TV cards, DVB cards need some sort of tuner to tune to the desired frequency of the digital transponder. Tuning alone doesn't give you a digital DVB datastream, however, you need a demodulator as well. The combination of tuner and demodulator is called frontend in the DVB world. Tuner and demodulator are both accessed via the serial i2c bus on all DVB cards out there. So, technically a frontend consists of two i2c helper chipsets. In former times when there was only a handful of different DVB cards, the frontend was encapsulated in one tin box. Some people had the idea that there should be one "frontend driver" instead of dedicated tuner and demodulator drivers. A bad idea. As time went on, different manufacturers used the same tuner and demodulator combination, but used a different wiring for the tuner or did other technical changes. The only possibility to support different cards with one combined frontend driver was to add hardware dependent tuner code inside the generic i2c frontend drivers. Yuck. So there was a need for communication between the i2c frontend driver and the hardware depenedent driver, for example to exchange initialization code for the tuner. Unfortunately, the i2c infrastructure is one way, from the i2c client to the i2c adapter using a non-typesafe ioctl() like interface, which is ugly by itself. Greg K-H and others refused the idea to add an iotctl() like interface from the i2c adapter to the i2c client and instead proposed to use a typesafe interface instead. We all agreed with that. The existing i2c infrastructure heavily depends on the probing facility, ie. clients probe for their existence on i2c busses. This is dumb for most i2c busses out there that sit on dedicated hardware. A DVB card is uniquely identified with pci or usb subvendor and subsystem ids, so on that particular bus we exactly *know* which kinds of i2c helper chipsets sit on there. Up to now this wasn't a problem, because we could fix all conflicts manually until half a year ago. By that date, we found two different DVB designs which used different demodulators that unfortunately use the same i2c address and which cannot be distinguished by hardware tricks (ie. different number of registers, some fixed hw dependent register,...) Getting a usable DVB card depended on the load order of the modules, because the i2c core probed the demodulator drivers one after another and the first one won the race. Compiling all drivers statically into the kernel resulted in non-working cards. Our solution is as follows: we agreed to keep the basic underlying kernel i2c infrastructure, but we decided not to register our bussed and chipsets to the kernel i2c "probing" infrastructure. Instead, we killed the tuner parts of the frontend drivers and put them into the dedicated hardware drivers (this is were they technically belong, they are highly hardware dependent) and we changed the frontend drivers to pure demodulator drivers (which are hardware independend). There is now a type-safe functional dependency between the drivers and the demodulator drivers, the drivers explicitely ask the demodulator drivers to attach to their i2c bus. The only negative aspect of that approach is that for some hardware there are now more dependencies to demodulator drivers than needed, ie. a small amount of memory is wasted. This patch: - [DVB] cards.txt: added the USB devices to the card-list - [DVB] README.dibusb: follow changes in dibusb-driver Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.5.1, 2004-12-07 16:08:40-08:00, torvalds@ppc970.osdl.org Revert double patch application. Heh. usually these come through Andrew, but this time it was all me. Noted by BenH. Cset exclude: paulus@samba.org[torvalds]|ChangeSet|20041207181541|44524 ChangeSet@1.2119.1.30, 2004-12-07 18:54:34-05:00, jgarzik@pobox.com [libata] only DMA map data for DMA commands (fix >=4GB bug) libata made the assumption that (for PIO commands in this case) it could modify DMA memory at the kernel-virtual address, after mapping this. This is incorrect, and fails on e.g. platforms that copy DMA memory back and forth (swiotlb on Intel EM64T and IA64). Remove this assumption by ensuring that we only call the DMA mapping routines if we really are going to use DMA for data xfer. Also: remove a bogus WARN_ON() in ata_sg_init_one() which caused bug reports (but no problems). ChangeSet@1.2126, 2004-12-07 17:37:18-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] parse ipv6 addresses on mount (ipv6 support for cifs part 2) Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2125, 2004-12-07 17:23:42-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] Increase size of small SMB pool (and decrease number) and do not zero the beginning of the header twice. Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2119.1.29, 2004-12-07 10:16:09-08:00, Andries.Brouwer@cwi.nl [PATCH] restore BLKRRPART semantics In 2.6.8 the code for the BLKRRPART ioctl was changed to return EIO when no partitions were found, such as on an empty disk. This breaks some partitioning programs and is also confusing: "Input/Output error" while in fact nothing was wrong with this brand new all blank disk. This restores old behaviour. ChangeSet@1.2119.1.28, 2004-12-07 10:15:54-08:00, alan@lxorguk.ukuu.org.uk [PATCH] Intel/Cyrix typo Self explanatory.. Based on a report on l/k Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.27, 2004-12-07 10:15:41-08:00, paulus@samba.org [PATCH] PPC64 Close firmware stdin We recently found a problem that was causing memory corruption during boot on IBM POWER5 machines. The problem was that the if you have a USB keyboard and it is set to the input device for the firmware, it will still be active when the kernel is started. That means that the OHCI controller has pointers to various memory areas that it polls for transfers to do. When we start using that same memory in the kernel, bad things can happen. (This isn't a problem on powermacs because the Apple OF implements a "quiesce" call which turns off all the devices it is using.) This patch fixes the problem by calling the Open Firmware "close" method for the input device. Stephen Rothwell and I have verified that doing this fixes the problem on the POWER5 machine where we observed it. I verified that this patch doesn't cause any problems on powermacs. I think this patch should go into 2.6.10 since it fixes a nasty memory corruption bug that can cause rather subtle and hard-to-diagnose problems during boot. (The symptom on the POWER5 machine with the particular kernel that we were using was that reading /proc/net/tcp would oops, due to one of the pointers in tcp_ehash being corrupted.) Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.2055.54.15, 2004-12-07 10:45:13-06:00, matthew@wil.cx [PATCH] Blacklist devices that falsely claim an echo buffer A particular type of DVD is wrongly claiming to have an echo buffer (but only if a DVD is inserted). This confuses domain validation, so only look for an echo buffer if the device supports ppr (this is all SCSI3 and above devices plus LVD SCSI2 devices). Signed-off-by: James Bottomley ChangeSet@1.2119.1.26, 2004-12-07 08:07:09-08:00, kernel-stuff@comcast.net [PATCH] ohci1394.c - Correct kmalloc usage in interrupt alloc_dma_rcv_ctx is called in interrupt and Kernel Spinlock debugging code cribs about it via "Debug: sleeping function called in interrupt context". See sample stack traces below. The patch below corrects ohci1394.c to use GFP_ATOMIC instead of GFP_KERNEL. Tested to work fine with 2 different Camcorder devices for fairly long periods and connect/disconnects. Signed-off-by: Parag Warudkar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.25, 2004-12-07 08:06:56-08:00, tiwai@suse.de [PATCH] alsa: fix iomem mmap The patch adds the definition vm_private_data again to snd_pcm_lib_mmap_iomem(). It got lost during the rewrite of the mmap stuff. Signed-off-by: Martin Langer Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.24, 2004-12-07 08:06:43-08:00, tiwai@suse.de [PATCH] alsa: add pci_disable_device() to removal and error paths pci_disable_device() is called properly in the removal and error paths. Also, the pci_set_master() is added to the resume callbacks if missing (just to be sure). Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.23, 2004-12-07 08:06:26-08:00, tiwai@suse.de [PATCH] alsa: fix sleep in atomic during prepare callback Fixed the sleep in spinlock during prepare callback. This happened only on Nforce chips. Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.22, 2004-12-07 08:06:13-08:00, trini@kernel.crashing.org [PATCH] ppc32: fix Motorola PReP (PowerstackII Utah) PCI IRQ map The PCI IRQ map for the old Motorola PowerStackII (Utah) boards was incorrect, but this breakage wasn't exposed until 2.5, and finally fixed until recently by Sebastian Heutling . Signed-off-by: Christian Kujau Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.21, 2004-12-07 08:06:01-08:00, mike.miller@hp.com [PATCH] cciss: cciss_ioctl return code fix This patches fixes the return code from cciss_ioctl. Without this some block layer (BLK*) ioctls do not work. Thanks to Jens Axboe for pointing this out. Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.20, 2004-12-07 08:05:47-08:00, paulus@samba.org [PATCH] PPC64: close firmware stdin We recently found a problem that was causing memory corruption during boot on IBM POWER5 machines. The problem was that the if you have a USB keyboard and it is set to the input device for the firmware, it will still be active when the kernel is started. That means that the OHCI controller has pointers to various memory areas that it polls for transfers to do. When we start using that same memory in the kernel, bad things can happen. (This isn't a problem on powermacs because the Apple OF implements a "quiesce" call which turns off all the devices it is using.) This patch fixes the problem by calling the Open Firmware "close" method for the input device. Stephen Rothwell and I have verified that doing this fixes the problem on the POWER5 machine where we observed it. I verified that this patch doesn't cause any problems on powermacs. I think this patch should go into 2.6.10 since it fixes a nasty memory corruption bug that can cause rather subtle and hard-to-diagnose problems during boot. (The symptom on the POWER5 machine with the particular kernel that we were using was that reading /proc/net/tcp would oops, due to one of the pointers in tcp_ehash being corrupted.) Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.19, 2004-12-07 08:05:35-08:00, shaohua.li@intel.com [PATCH] eepro100 resume failure Fix eepro100 driver suspend/resume issue. Signed-off-by: Li Shaohua Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.18, 2004-12-07 08:05:21-08:00, axboe@suse.de [PATCH] cfq-iosched: bad accounting on non-fs requests Current cfq can cause hangs with non-fs requests, because the accounting goes bad. This fixes it. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.17, 2004-12-07 08:05:08-08:00, geert@linux-m68k.org [PATCH] M68k: Update defconfigs for 2.6.10-rc3 M68k: Update defconfigs for 2.6.10-rc3 Signed-off-by: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.16, 2004-12-07 08:04:56-08:00, romieu@fr.zoreil.com [PATCH] r8169: new PCI id The D-Link DGE-528T gigabit adapter is based on the 8169 chipset (reported by Andreas Tauscher , checked in the sources of a driver for this adapter). Signed-off-by: Francois Romieu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.15, 2004-12-07 08:04:43-08:00, sivanich@sgi.com [PATCH] isolcpus option fix The isolcpus option is broken in 2.6.10-rc2-bk2. The domains are no longer being properly initialized (which results in a panic at bootup). Signed-off-by: Dimitri Sivanich Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.14, 2004-12-07 08:04:30-08:00, benh@kernel.crashing.org [PATCH] remove some PowerMac cruft from USB The PowerMac specific sleep code in the OHCI USB driver used to call disable/enable irq, which is no longer necessary and actually clashes with the calls to free/request_irq that the common OHCI code now does, thus causing WARN_ON's to trigger each time a PowerBook is woken up from sleep. Signed-off-by: Benjamin Herrenschmidt Cc: David Brownell Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.13, 2004-12-07 08:04:18-08:00, fenghua.yu@intel.com [PATCH] Add cpu_relax in idle spin loop for no-hlt kernel option If given no-hlt kernel option, ia32 idle loop turns out to be a spin loop. Add cpu_relax() in this spin loop because IA32 SDM recommends that a PAUSE instruction be put in all spin loops. Signed-off-by: Fenghua Yu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.12, 2004-12-07 08:04:05-08:00, santil@us.ibm.com [PATCH] fix buffer starvation race in ibmveth There's a chance that the receive buffers are being consumed at the same rate as they are being replenished in ibmveth_replenish_task()... Meanwhile, the calls to schedule_replenishing() from ibmveth_poll() won't schedule another replenishing cycle (because the not_replenishing flag is zero), starving the buffers and making the adapter unable to receive packets unless the module is reloaded... Here's a small patch that will fix it by scheduling another replenishing task after toggling the not_replenishing flag. Signed-Off-By: Santiago Leon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119.1.11, 2004-12-07 08:03:52-08:00, herbert@13thfloor.at [PATCH] normalise wall_to_monotonic for i386 and m32r Fix the non-normalized wall_to_monotonic for i386 and m32r (The other archs seem to get it right) Signed-off-by: Herbert Poetzl Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2055.54.14, 2004-12-07 09:15:15-06:00, aherrman@de.ibm.com [PATCH] zfcp: act enhancements corrections - corrects errors introduced in open_unit_handler with last patch submission for act enhancements, - changes formatting and some log-messages in act enhancments code, - removes junk lines - corrected Kconfig dependency for zfcp - do not wait for SBALs when creating ELS requests Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley ChangeSet@1.2123, 2004-12-07 00:28:46-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] add debug message for trusted and security xattrs Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2122, 2004-12-06 23:48:54-06:00, sfrench@sambaltcdom.austin.ibm.com [CIFS] cleanup various warning/debug messages Signed-off-by: Steve French (sfrench@us.ibm.com) ChangeSet@1.2055.54.13, 2004-12-06 11:49:45-06:00, mike.miller@hp.com [PATCH] cciss: cciss_ioctl return code fix This patches fixes the return code from cciss_ioctl. Without this some block layer (BLK*) ioctls do not work. Please consider this for inclusion. Thanks to Jens Axboe for pointing this out. Signed-off-by: Mike Miller Signed-off-by: James Bottomley ChangeSet@1.2055.54.12, 2004-12-06 11:45:38-06:00, jejb@mulgrave.(none) SCSI: spi_transport set_signalling is buggy From: Matthew Wilcox Looks like you got the test backwards. It would only call set_signalling if type was SPI_SIGNAL_UNKNOWN. Signed-off-by: James Bottomley ChangeSet@1.2055.54.11, 2004-12-06 10:24:45-06:00, dougg@torque.net [PATCH] extracting resid from struct scsi_cmnd - during successful command completion place resid from SCSI LLDs into request::data_len so that block SG_IO ioctl reports resid Signed-off-by: James Bottomley ChangeSet@1.2119.3.5, 2004-12-06 15:55:27+00:00, dvrabel@com.rmk.(none) [ARM PATCH] 2298/1: Fix minor typo in ixp4xx_wdt Patch from David Vrabel Fix a minor typo in the MODULE_AUTHOR string in ixp4xx_wdt. Signed-off-by: David Vrabel Signed-off-by: Russell King ChangeSet@1.2055.54.10, 2004-12-06 09:38:48-06:00, jejb@mulgrave.(none) aic7xxx: fix compiler warning from dma mask assignement Promote all the mask quantites to being u64 so that they never cause truncation warnings. Signed-off-by: James Bottomley ChangeSet@1.2119.4.3, 2004-12-06 10:48:06+01:00, marcel@holtmann.org [Bluetooth] Use module parameter for ISOC alternate setting The module parameter for the ISOC transfers now chooses the value of the alternate setting. Signed-off-by: Marcel Holtmann ChangeSet@1.2119.4.2, 2004-12-06 10:39:53+01:00, marcel@holtmann.org [Bluetooth] Track the class of device value The class of device is only available from an inquiry response or from the connection request. In the case of an incoming connection the value can be taken from the request and stored in the hci_conn structure. For an outgoing connection the value from the inquiry cache is used or it is set to zero. Signed-off-by: Marcel Holtmann ChangeSet@1.2119.4.1, 2004-12-06 09:18:04+01:00, marcel@holtmann.org [Bluetooth] Use separate inquiry data structure The inquiry results can return different fields and so create one data structure that has place for every of these. Missing fields are filled with default values. Signed-off-by: Marcel Holtmann ChangeSet@1.2119.2.2, 2004-12-05 21:20:56-08:00, davem@nuts.davemloft.net [SPARC]: Fix syscall return value errno comparison. This was hosing all restart block handling. Noticed by Richard Mortimer. Signed-off-by: David S. Miller ChangeSet@1.2119.3.4, 2004-12-05 23:11:34+00:00, elf@com.rmk.(none) [ARM PATCH] 2297/1: SMC91x patch (#2) for LPD7a40x CardEngines Patch from Marc Singer Add support for the LPD7a40x implementation of the SMC91x ethernet controller. This patch exists to work around a mismatch between the way the LH7a40x CPUs handle chip selects and what the ethernet controller expects. This patch has been revised to eliminate masking of interrupts. The concessions are that a) the ISR must perform an IOBARRIER before the first access to the chip, just in case the interrupt occurred while the driver was writing to the chip b) other drivers that use the same chip select region as the SMC chip must perform a similar IOBARRIER at the top of their ISRs. Signed-off-by: Marc Singer Signed-off-by: Russell King ChangeSet@1.2119.3.3, 2004-12-05 16:36:40+00:00, elf@com.rmk.(none) [ARM PATCH] 2296/1: Corrections to build for LPD7a404 Patch from Marc Singer A missing exten prevented the 2.6.10-rc2 kernel from building for the LPD7A404. This patch adds it. Signed-off-by: Marc Singer Signed-off-by: Russell King ChangeSet@1.2119.1.9, 2004-12-05 08:32:07-08:00, gandalf@wlug.westbo.se [PATCH] Fix ALSA resume Some time ago, a patch was merged that removed pci_save_state() and pci_restore_state() from various ALSA drivers. That patch also added pci_restore_state() to sound/core/init.c but didn't add pci_save_state() anywhere. This is needed since the core pci handling doesn't do this for us anymore. My laptop doesn't resume (gets what I assume is an ACPI timeout and hangs solid) without this small obvious patch. Signed-off-by: Martin Josefsson Fixed-by: Takashi Iwai Signed-off-by: Linus Torvalds ChangeSet@1.2119.3.2, 2004-12-05 16:31:17+00:00, zecke@org.rmk.(none) [ARM PATCH] 2294/1: SA1100 ide.h change superseed 2282/1 Patch from Holger Hans Peter Freyther As proposed in 2282 asm-arm/arch-sa1100/ide.h is not included anymore from asm-arm/ide.h. If arch-sa1100/ide.h is included we abort with #error. If lart.c is compiled we kindly warn that ide needs fixing for this board. Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King ChangeSet@1.2119.3.1, 2004-12-05 16:25:39+00:00, elf@com.rmk.(none) [ARM PATCH] 2293/1: Corrections to build for LPD7a400 Patch from Marc Singer Some typos prevent the 2.6.10-rc2 kernel from building for the LPD7A400. This patch fixes them. It also removes CONFIG_FIQ which shouldn't be necessary and doesn't compile. Signed-off-by: Marc Singer Signed-off-by: Russell King ChangeSet@1.2119.2.1, 2004-12-04 19:34:20-08:00, davem@nuts.davemloft.net [SPARC64]: Fix SMP cpu bringup bug when bigkernel. We have to load the bigkernel second TLB entry on secondary processors before we move over the use the kernel trap table. Otherwise we can take a TLB miss somewhere in the post-4MB area and the TLB handler is not prepared to service that. The case that usually occurs is the prom_set_trap_table call made by trampoline.S, since p1275buf usually sits very near the end of the kernel image. It worked by luck most of the time as long as p1275buf sits within a single page since earlier code running in trampoline.S forced that TLB entry to be loaded by the OBP TLB miss handler. This was not fun to figure out. Signed-off-by: David S. Miller ChangeSet@1.2055.4.165, 2004-12-04 21:09:09+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Ensure correct units for close_delay and closing_wait. Use milliseconds internally for these delays, and convert them to centiseconds at the interface boundary to the ioctl configuration controls. ChangeSet@1.2098.1.3, 2004-12-03 22:32:50+00:00, rmk@flint.arm.linux.org.uk [ARM] Add per_cpu data area to linker script. ChangeSet@1.2098.1.2, 2004-12-03 22:22:04+00:00, rmk@flint.arm.linux.org.uk [ARM] Ensure user ops pass 64-bit constants in even,odd registers. Always pass values to get_user and put_user in an even numbered register, and optionally the next odd numbered register. This ensures that we are compatible with compiler enhancements. ChangeSet@1.2119.1.5, 2004-12-03 12:57:06-08:00, torvalds@ppc970.osdl.org Linux 2.6.10-rc3 TAG: v2.6.10-rc3