ChangeSet@1.1994, 2005-03-06 17:25:39-08:00, sfr@canb.auug.org.au [PATCH] Consolidate compat_sys_waitid This patch does: - consolidate the three implementations of compat_sys_waitid (some were called sys32_waitid). - adds sys_waitid syscall to ppc - adds sys_waitid and compat_sys_waitid syscalls to ppc64 I have left PARISC and MIPS to their own devices (by request). Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds ChangeSet@1.1993, 2005-03-06 17:04:35-08:00, torvalds@ppc970.osdl.org Merge bk://gkernel.bkbits.net/net-drivers-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.1.23, 2005-03-06 17:03:25-08:00, torvalds@ppc970.osdl.org Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.1.22, 2005-03-06 16:59:24-08:00, torvalds@ppc970.osdl.org Merge bk://linux-dj.bkbits.net/agpgart into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.1.21, 2005-03-06 16:58:12-08:00, torvalds@ppc970.osdl.org Merge http://jfs.bkbits.net/linux-2.5 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.10.87, 2005-03-06 16:56:53-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/davem/net-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.10.86, 2005-03-06 16:55:28-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/davem/flush_cache_page-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.116.2, 2005-03-06 16:52:04-08:00, dan@debian.org [PATCH] x86: fix TF bit corner case with ptrace and signals If a debugger set the TF bit, make sure to clear it when creating a signal context. Otherwise, TF will be incorrectly restored by sigreturn. Signed-off-by: Daniel Jacobowitz Signed-off-by: Linus Torvalds ChangeSet@1.1982.58.75, 2005-03-06 18:11:09-05:00, davej@redhat.com [AGPGART] vfree() checking cleanups generic.c vfree() checking cleanups. Signed-off by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: Dave Jones ChangeSet@1.1982.97.49, 2005-03-06 23:07:50+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2515/1: S3C2410 - allow serial to use fclk on s3c2440 Patch from Ben Dooks This patch extends the s3c2410 serial driver to allow it to use fclk and correctly determine the uart dividers. The necessary defines are added to the serial headers as well. Also modified is the header to point at the current Simtec linux pages, as well as extend the copyright. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.48, 2005-03-06 22:33:13+00:00, rmk@flint.arm.linux.org.uk [ARM] Update mach-types from website. Signed-off-by: Russell King ChangeSet@1.1982.97.47, 2005-03-06 19:53:37+00:00, rmk@flint.arm.linux.org.uk [ARM] Simplify /proc/driver/rtc procfs interface. The read method doesn't need to calculate eof/start offsets. Signed-off-by: Russell King ChangeSet@1.1982.97.46, 2005-03-06 19:05:01+00:00, rmk@flint.arm.linux.org.uk [ARM] Add validation function for struct rtc_time Signed-off-by: Russell King ChangeSet@1.1982.119.2, 2005-03-05 21:23:33-08:00, lethal@linux-sh.org [SH]: Cache flush simplifications after flush_cache_page() arg change. Signed-off-by: David S. Miller ChangeSet@1.1982.119.1, 2005-03-05 21:15:21-08:00, davem@picasso.davemloft.net Merge davem@nuts:/disk1/BK/flush_cache_page-2.6 into picasso.davemloft.net:/home/davem/src/BK/flush_cache_page-2.6 ChangeSet@1.1982.117.3, 2005-03-05 20:52:11-08:00, davem@nuts.davemloft.net Merge http://linux-mh.bkbits.net/bluetooth-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1982.10.84, 2005-03-05 20:48:01-08:00, davem@picasso.davemloft.net Merge davem@nuts:/disk1/BK/set_pte-2.6 into picasso.davemloft.net:/home/davem/src/BK/set_pte-2.6 ChangeSet@1.1982.117.2, 2005-03-05 20:43:56-08:00, davem@nuts.davemloft.net Merge nuts.davemloft.net:/disk1/BK/net-2.6.12 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1982.116.1, 2005-03-05 16:26:40-08:00, torvalds@evo.osdl.org x86: make put_user() out-of-line This makes the resulting assembly not only easier to read, it results in roughly a 0.5% savings in code size. Fixes from Richard Henderson for the original broken asm constraints. ChangeSet@1.1992, 2005-03-05 18:11:05-05:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/mips into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.1982.95.10, 2005-03-05 18:10:00-05:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/sk98lin into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.1982.95.9, 2005-03-05 18:08:48-05:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/wan-fixes into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.1982.95.8, 2005-03-05 18:07:32-05:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/pcnet32 into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.1982.95.5, 2005-03-05 17:55:29-05:00, galak@freescale.com [PATCH] initialize a spin lock in gianfar driver Initialize the mdio_lock spin lock in mii_info struct, which is otherwise accessed prior to initialization. Signed-off-by: Jaka Mocnik Signed-off-by: Kumar Gala Signed-off-by: Jeff Garzik ChangeSet@1.1982.96.13, 2005-03-05 13:26:50-08:00, torvalds@ppc970.osdl.org Merge bk://gkernel.bkbits.net/net-drivers-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.114.102, 2005-03-05 09:37:01-08:00, yuasa@hh.iij4u.or.jp [PATCH] mips: update CMU This patch updates cmu.c to get the resource by standard method. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.101, 2005-03-05 09:36:48-08:00, yuasa@hh.iij4u.or.jp [PATCH] mips: calculate clock at any time This patch changes bcu.c to calculate clock at any time. Because clock can be changed. Moreover, EXPORT_SYMBOL_GPLs are added to it. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.100, 2005-03-05 09:36:33-08:00, yuasa@hh.iij4u.or.jp [PATCH] mips: add TANBAC TB0219 base board driver This patch adds GPIO/LED/DIPSW driver for TANBAC TB0219. Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.99, 2005-03-05 09:35:39-08:00, moilanen@austin.ibm.com [PATCH] ppc64: offb remapped address The offb code did not take into account a remapped pci address. Adding in the pci_mem_offset fixed a DSI in offb. Signed-off-by: Jake Moilanen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.98, 2005-03-05 09:35:25-08:00, benh@kernel.crashing.org [PATCH] ppc64: Fix zImage wrapper incorrect size to flush_cache() This patch fixes a bug in the ppc64 zImage wrapper causing it to pass an incorrect size to flush_cache() when flushing the data and instruction caches prior to jumping to the kernel entry. This causes crashes on firmare environment that do strict MMU mapping only of actually allocated areas Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.97, 2005-03-05 09:35:12-08:00, benh@kernel.crashing.org [PATCH] ppc64: Fix thinko in prom_init.c (It's a real bug, but I suspect it doesn't trigger normally as we tend to allocate the initrd low, but it should be fixed anyway). This patch fixes an error in prom_init.c in the check for the initrd location vs. the memory allocation mecanism. Signed-off-by: Arnd Bergmann Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.96, 2005-03-05 09:34:58-08:00, david@gibson.dropbear.id.au [PATCH] ppc64: functions to reserve performance monitor hardware The PPC64 interrupt code includes a hook to call when an exception from the performance monitor unit occurs. However, there's no way of reserving the hook properly, so if more than one bit of code tries to use it things will get ugly. Currently oprofile is the only user, but there are likely to be more in future e.g. perfctr, if and when it reaches a fit state for merging. This patch creates functions to reserve and release the performance monitor hardware (including its interrupt), and makes oprofile use them. It also creates a new arch/ppc64/kernel/pmc.c, in which we can put any future helper functions for handling the performance monitor counters. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.95, 2005-03-05 09:34:42-08:00, olh@suse.de [PATCH] ppc64: use vmlinux during make install on ppc64 make install passes the zImage to the installkernel script. When an initrd is used, this script has to pull out the vmlinux from the zImage because yaboot can not boot a zImage+initrd combo. It can only handle vmlinux+initrd or zImage.initrd. Its simple to just pass the plain vmlinux instead. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.94, 2005-03-05 09:34:28-08:00, olh@suse.de [PATCH] ppc64: disable HMT for RS64 cpus Hardware multithreading for RS64 cpus is currently broken. Anton sent me a patch a few weeks ago, but it did not work. So just hide the config option for the time being. Signed-off-by: Olaf Hering Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.93, 2005-03-05 09:34:14-08:00, akpm@osdl.org [PATCH] ppc64: generic hotplug cpu support fix Fix a false-positive from the smp_processor_id() debugging code. Idle threads are per-cpu anwyay. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.92, 2005-03-05 09:34:00-08:00, zwane@arm.linux.org.uk [PATCH] ppc64: generic hotplug cpu support Patch provides a generic hotplug cpu implementation, with the only current user being pmac. This doesn't replace real hotplug code as is currently used by LPAR systems. Ben i can add the additional pmac specific code to put the processor into a sleeping state seperately. Thanks to Nathan for testing. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.91, 2005-03-05 09:33:46-08:00, akpm@osdl.org [PATCH] ppc64-implement-a-vdso-and-use-it-for-signal-trampoline gas workaround I cannot find a version of binutils which doesn't either do arch/ppc64/kernel/vdso32/gettimeofday.S: Assembler messages: arch/ppc64/kernel/vdso32/gettimeofday.S:33: Error: syntax error; found `@' but expected `,' or arch/ppc64/kernel/vdso32/gettimeofday.S: Assembler messages: arch/ppc64/kernel/vdso32/gettimeofday.S:33: Internal error, aborting at ../../gas/config/tc-ppc.c line 2658 in md_assemble Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.90, 2005-03-05 09:33:32-08:00, benh@kernel.crashing.org [PATCH] ppc64: Implement a vDSO and use it for signal trampoline This patch adds to the ppc64 kernel a virtual .so (vDSO) that is mapped into every process space, similar to the x86 vsyscall page. However, the implementation is very different (and doesn't use the gate area mecanism). Actually, it contains two implementations, a 32 bits and a 64 bits one. These vDSO's are currently mapped at 0x100000 (+1Mb) when possible (when a process load section isn't already there). In the future, we can randomize that address, or even imagine having a special phdr entry letting apps that wnat finer control over their address space to put it elsewhere (or not at all). The implementation adds a hook to binfmt_elf to let the architecture add a real VMA to the process space instead of using the gate area mecanism. This mecanism wasn't very suitable for ppc, we couldn't just "shove" PTE entries mapping kernel addresses into userland without expensive changes to our hash table management. Instead, I made the vDSO be a normal VMA which, additionally, means it supports copy-on-write semantics if made writable via ptrace/mprotect, thus allowing breakpoints in the vDSO code. The current implementation of the vDSOs contain the signal trampolines with appropriate DWARF informations, which enable us to use non-executable stacks (patches to come later) along with a few more functions that we hope glibc will soon make good use of (this is the "hard" part now :) Note that the symbols exposed by the vDSO aren't "normal" function symbols, apps can't be expected to link against them directly, the vDSO's are both seen as if they were linked at 0 and the symbols just contain offsets to the various functions. This is done on purpose to avoid a relocation step (ppc64 functions normally have descriptors with abs addresses in them). When glibc uses those functions, it's expected to use it's own trampolines that know how to reach them. In some cases, the vDSO contains several versions of a given function (for various CPUs), the kernel will "patch" the symbol table at boot to make it point to the appropriate one transparently. What is currently implemented is: - int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz); This is a fully userland implementation of gettimeofday, with no barriers and no locks, and providing 100% equivalent results to the syscall version - void __kernel_sync_dicache(unsigned long start, unsigned long end) This function sync's the data and instruction caches (for making data executable), it is expected that userland loaders use this instead of doing it themselves, as the kernel will provide optimized versions for the current CPU. Currently, the vDSO procides a full one for all CPUs prior to POWER5 and a nop one for POWER5 which implements hardware snooping at the L1 level. In the future, an intermediate implementation may be done for the POWER4 and 970 which don't need the "dcbst" loop (the L1D cache is write-through on those). - void *__kernel_get_syscall_map(unsigned int *syscall_count); Returns a pointer to a map of implemented syscalls on the currently running kernel. The map is agnostic to the size of "long", unlike kernel bitops, it stores bits from top to bottom so that memory actually contains a linear bitmap check for syscall N by testing bit (0x80000000 >> (N & 0x1f)) of * 32 bits int at N >> 5. Note about backward compatibility issues: A bug in the ppc64 libgcc unwinder makes it unable to unwind stacks properly accross signals if the signal trampoline isn't on the stack. This has been fixed in CVS for gcc 4.0 and will be soon on the stable branch, but the problem exist will all currently used versions. That means that until glibc gets the patch to enable it's use of the vDSO symbols for the DWARF unwinder (rather trivial patch that will be pushed to glibc CVS soon hopefully), unwinding from a signal handler will not work for 64 bits applications. I consider this as a non-issue though as a patch is about to be produced, which can easily get pushed to "live" distros like debian, gentoo, fedora, etc... soon enough (it breaks compatilbity with kernels below 2.4.20 unfortunately as our signal stack layout changed, crap crap crap), as there are few 64 bits applications out there (expect gentoo), as it's only really an issue with C++ code relying on throwing exceptions out of signal handlers (extremely rare it seems), and as "release" distros like SLES or RHEL will probably have the vDSO enabled glibc _and_ the unwinder fix by the time they release a version with a 2.6.11 or 2.6.12 kernel anyway :) So far, I yet have to see an app failing because of that... Finally, many many many thanks to Alan Modra for writing the DWARF information of the signal handlers and debugging the libgcc issues ! Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.89, 2005-03-05 09:33:16-08:00, sfr@canb.auug.org.au [PATCH] ppc64: distribute EXPORT_SYMBOLs This patch just moves as many as possible EXPORT_SYMBOL()s from arch/ppc64/kernel/ppc_ksyms.c to where the symbols are defined. This has been compiled on pSeries, iSeries and pmac. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.88, 2005-03-05 09:33:01-08:00, olh@suse.de [PATCH] ppc64: defconfig updates Update several ppc64 defconfigs. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.87, 2005-03-05 09:32:46-08:00, benh@kernel.crashing.org [PATCH] ppc64: Move systemcfg out of head.S The "systemcfg" data structure in the ppc64 kernel is something that used to be defined to be at a hard-coded page number in the kernel image. This is not necessary (at least not any more) and is a possible problem with future developements. This patch removes that constraint, which also simplifies various bits of assembly in head.S that were dealing with it. This is the first step of a deeper cleanup of systemcfg definition of usage (and ultimately removal in it's current incarnation). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.86, 2005-03-05 09:32:31-08:00, paulus@samba.org [PATCH] ppc64: collect and export low-level cpu usage statistics POWER5 machines have a per-hardware-thread register which counts at a rate which is proportional to the percentage of cycles on which the cpu dispatches an instruction for this thread (if the thread gets all the dispatch cycles it counts at the same rate as the timebase register). This register is also context-switched by the hypervisor. Thus it gives a fine-grained measure of the actual cpu usage by the thread over time. This patch adds code to read this register every timer interrupt and on every context switch. The total over all virtual processors is available through the existing /proc/ppc64/lparcfg file, giving a way to measure the total cpu usage over the whole partition. Signed-off-by: Manish Ahuja Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.85, 2005-03-05 09:32:17-08:00, olh@suse.de [PATCH] remove unneeded includes from pSeries_nvram.c The pseries nvram driver started probably as a copy of nvram.c. These includes are not needed to build it. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.84, 2005-03-05 09:32:03-08:00, galak@freescale.com [PATCH] ppc32: PowerQUICC II Pro subarch support Patch adds support for the initial PowerQUICC II Pro processors (MPC8343/E, MPC8347/E, and MPC8349/E) and the first reference platform (MPC834x SYS) from Freescale. The initial support is limited to existing drivers that overlap with the MPC85xx subarch (ethernet, I2C, uart). Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.83, 2005-03-05 09:31:47-08:00, galak@freescale.com [PATCH] ppc32: Trivial bug fix in CRITICAL_EXCEPTION macro This patch fixes a trival bug in the CRITICAL_EXCEPTION macro Signed-off-by: Takeharu KATO Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.82, 2005-03-05 09:31:34-08:00, galak@freescale.com [PATCH] ppc32: Add support to use the DS1553 RTC/NVRAM on MPC8555 CDS system This patch makes the MPC8555 CDS system utilize the DS1553 RTC/NVRAM. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.81, 2005-03-05 09:31:20-08:00, galak@freescale.com [PATCH] ppc32: Add support for the Dallas 1553 RTC/NVRAM This patch adds support for the Dallas 1553 RTC/NVRAM. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.80, 2005-03-05 09:31:06-08:00, mporter@kernel.crashing.org [PATCH] ppc32: support OpenBIOS/U-Boot for Ebony This patch adds support for OpenBios on Ebony, as Matt Porter has suggested. It will provide same functionality as the pibs extension for Luan and Ocotea. Signed-off-by: Gerhard Jaeger Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.79, 2005-03-05 09:30:51-08:00, mgreer@mvista.com [PATCH] ppc32: Add GPIO/IRQ definitions for mv64x60 parts Add mv64x60 GPP IO pin/IRQ register definitions Signed-off-by: James Chapman Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.78, 2005-03-05 09:30:37-08:00, mgreer@mvista.com [PATCH] ppc32: mv64360_pic non-zero irq base Add support for non-zero irq base to mv64360_pic code. - Fix mv64360 pic code to handle non-zero mv64x60_irq_base - Cleanup mv64360 entries in /proc/interrupts Signed-off-by: James Chapman Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.77, 2005-03-05 09:30:23-08:00, galak@freescale.com [PATCH] ppc32: Move from using #define SVR_ to cur_ppc_sys_spec name for 85xx platform Removes explicit defines for SVR_85xx and use the information in the ppc_sys_specs table in platform code. Changed the ppc_sys_name strings to be a bit more generic so we have a bit more flexilibity when we display them. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.76, 2005-03-05 09:30:10-08:00, galak@freescale.com [PATCH] ppc32: fix whitespace for 85xx CDS common platform Fix whitespace in arch/ppc/platforms/85xx/mpc85xx_cds_common.c Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.75, 2005-03-05 09:29:56-08:00, benh@kernel.crashing.org [PATCH] ppc32: Bogus definition of __cmpxchg_u32() This patch fix bogus types in the definition of __cmpxchg_u32() on ppc32. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.74, 2005-03-05 09:29:42-08:00, mgreer@mvista.com [PATCH] ppc32: incorrect #define in include/asm-ppc/cpm2.h This patch fixes the incorrect definition of a macro that sets the transmit parity to even on a cpm uart device. Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.73, 2005-03-05 09:29:28-08:00, ebs@ebshome.net [PATCH] ppc32: PPC4xx PIC: ack parent UIC in disable_irq This patch fixes bug in PPC4xx disable_irq implementation. We need to ACK parent UIC to prevent false triggering in case IRQ we just disabled was already pending. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.72, 2005-03-05 09:29:14-08:00, ebs@ebshome.net [PATCH] ppc32: Lindentify PPC4xx PIC driver This patch fixes whitespace in PPC4xx PIC driver. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.71, 2005-03-05 09:28:59-08:00, mporter@kernel.crashing.org [PATCH] ppc32: move irq_desc[].status, IRQ_LEVEL bit setup to xilinx_pic.c Move the code that informs the kernel if the particular interrupt is edge triggered or level sensitive from the board specific file to a "CONFIG_VIRTEX_II_PRO-specific" file. Using old IRQ numbering in that code is also fixed. Signed-off-by: Andrei Konovalov Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.70, 2005-03-05 09:28:45-08:00, mgreer@mvista.com [PATCH] ppc32: Artesyn Katana enet update - Adapt Katana to the new names used by the ethernet driver. - Remove SRAM allocation code for mv643xx_enet until it's had more review. Signed-off-by: Dale Farnsworth Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.69, 2005-03-05 09:28:32-08:00, mgreer@mvista.com [PATCH] ppc32: Artesyn Katana platform update - Adds MTD support for the soldered FLASH - Adds cmdline parsing - Turns on the Blue LED when the system is halted - Moves some of the device window left by the firmware to proper alignments - Handles possibility of different frequencies for TCLK & SysCLK in 64460 - Misc. code clean up Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.68, 2005-03-05 09:28:17-08:00, olh@suse.de [PATCH] ppc32: update arch/ppc/configs/pmac_defconfig enable drm/agp, cpufreq, pppoe and new pccard option Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.67, 2005-03-05 09:28:04-08:00, mgreer@mvista.com [PATCH] ppc32: fix mv64x60 register relocation bug in bootwrapper The gt64260 looks at the highest 20 bits while the mv64[34]60 looks at only the highest 16 bits when determining the base address for the bridge's registers. This patch adds support for both. Signed-off-by: Nate Case Signed-off-by: Mark A. Greer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.66, 2005-03-05 09:27:51-08:00, trini@kernel.crashing.org [PATCH] ppc32: Don't create .tmp_gas_check This changes how the ppc32 'checkbin' target works. Previously we did all of the tests using variables which would be evaluated for any and every make target. This meant that 'make tags' for example would leave behind a '.tmp_gas_check' file even though we didn't actually compile up anything, and would get in the way of diffs. By moving all of this logic directly into the 'checkbin' target, we only test gcc/gas versions when we're going to compile. Signed-off-by: Olaf Hering Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.65, 2005-03-05 09:27:37-08:00, olof@austin.ibm.com [PATCH] PPC/PPC64: Abstract cpu_feature checks. Abstract most manual mask checks of cpu_features with cpu_has_feature() Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.64, 2005-03-05 09:27:21-08:00, bill.irwin@oracle.com [PATCH] make mapping->tree_lock an rwlock Convert mapping->tree_lock to an rwlock. with: dd if=/dev/zero of=foo bs=1 count=2M 0.80s user 4.15s system 99% cpu 4.961 total dd if=/dev/zero of=foo bs=1 count=2M 0.73s user 4.26s system 100% cpu 4.987 total dd if=/dev/zero of=foo bs=1 count=2M 0.79s user 4.25s system 100% cpu 5.034 total dd if=foo of=/dev/null bs=1 0.80s user 3.12s system 99% cpu 3.928 total dd if=foo of=/dev/null bs=1 0.77s user 3.15s system 100% cpu 3.914 total dd if=foo of=/dev/null bs=1 0.92s user 3.02s system 100% cpu 3.935 total (3.926: 1.87 usecs) without: dd if=/dev/zero of=foo bs=1 count=2M 0.85s user 3.92s system 99% cpu 4.780 total dd if=/dev/zero of=foo bs=1 count=2M 0.78s user 4.02s system 100% cpu 4.789 total dd if=/dev/zero of=foo bs=1 count=2M 0.82s user 3.94s system 99% cpu 4.763 total dd if=/dev/zero of=foo bs=1 count=2M 0.71s user 4.10s system 99% cpu 4.810 tota dd if=foo of=/dev/null bs=1 0.76s user 2.68s system 100% cpu 3.438 total dd if=foo of=/dev/null bs=1 0.74s user 2.72s system 99% cpu 3.465 total dd if=foo of=/dev/null bs=1 0.67s user 2.82s system 100% cpu 3.489 total dd if=foo of=/dev/null bs=1 0.70s user 2.62s system 99% cpu 3.326 total (3.430: 1.635 usecs) So on a P4, the additional cost of the rwlock is ~240 nsecs for a one-byte-write(). On the other hand: From: Peter Chubb As part of the Gelato scalability focus group, we've been running OSDL's Re-AIM7 benchmark with an I/O intensive load with varying numbers of processors. The current kernel shows severe contention on the tree_lock in the address space structure when running on tmpfs or ext2 on a RAM disk. Lockstat output for a 12-way: SPINLOCKS HOLD WAIT UTIL CON MEAN( MAX ) MEAN( MAX )(% CPU) TOTAL NOWAIT SPIN RJECT NAME 5.5% 0.4us(3177us) 28us( 20ms)(44.2%) 131821954 94.5% 5.5% 0.00% *TOTAL* 72.3% 13.1% 0.5us( 9.5us) 29us( 20ms)(42.5%) 50542055 86.9% 13.1% 0% find_lock_page+0x30 23.8% 0% 385us(3177us) 0us 23235 100% 0% 0% exit_mmap+0x50 11.5% 0.82% 0.1us( 101us) 17us(5670us)( 1.6%) 50665658 99.2% 0.82% 0% dnotify_parent+0x70 Replacing the spinlock with a multi-reader lock fixes this problem, without unduly affecting anything else. Here are the benchmark results (jobs per minute at a 50-client level, average of 5 runs, standard deviation in parens) on an HP Olympia with 3 cells, 12 processors, and dnotify turned off (after this spinlock, the spinlock in dnotify_parent is the worst contended for this workload). tmpfs............... ext2............... #CPUs spinlock rwlock spinlock rwlock 1 7556(15) 7588(17) +0.42% 3744(20) 3791(16) +1.25% 2 13743(31) 13791(33) +0.35% 6405(30) 6413(24) +0.12% 4 23334(111) 22881(154) -2% 9648(51) 9595(50) -0.55% 8 33580(240) 36163(190) +7.7% 13183(63) 13070(68) -0.85% 12 28748(170) 44064(238)+53% 12681(49) 14504(105)+14% And on a pentium3 single processsor: 1 4177(4) 4169(2) -0.2% 3811(4) 3820(3) +0.23% I'm not sure what's happening in the 4-processor case. The important thing to note is that with a spinlock, the benchmark shows worse performance for a 12 than for an 8-way box; with the patch, the 12 way performs better, as expected. We've done some runs with 16-way as well; without the patch below, the 16-way performs worse than the 12-way. It's a tricky tradeoff, but large-smp is hurt a lot more by the spinlocks than small-smp is by the rwlocks. And I don't think we really want to implement compile-time either-or-locks. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.63, 2005-03-05 09:27:06-08:00, zach.brown@oracle.com [PATCH] only unmap what intersects a direct_IO op Now that we're only invalidating the pages that intersected a direct IO write we might as well only unmap the intersecting bytes as well. This passed a light fsx load with page cache, direct, and mmap IO. Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.62, 2005-03-05 09:26:52-08:00, zach.brown@oracle.com [PATCH] write and wait on range before direct io read This adds filemap_write_and_wait_range(mapping, lstart, lend) which starts writeback and waits on a range of pages. We call this from __blkdev_direct_IO with just the range that is going to be read by the direct_IO read. It was lightly tested with fsx and ext3 and passed. Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.61, 2005-03-05 09:26:38-08:00, zach.brown@oracle.com [PATCH] invalidate range of pages after direct IO write Presently we invalidate all of a file's pages when writing to any part of that file with direct-IO. After a direct IO write only invalidate the pages that the write intersected. invalidate_inode_pages2_range(mapping, pgoff start, pgoff end) is added and called from generic_file_direct_IO(). While we're in there, invalidate_inode_pages2() was calling unmap_mapping_range() with the wrong convention in the single page case. It was providing the byte offset of the final page rather than the length of the hole being unmapped. This is also fixed. This was lightly tested with a 10k op fsx run with O_DIRECT on a 16MB file in ext3 on a junky old IDE drive. Totaling vmstat columns of blocks read and written during the runs shows that read traffic drops significantly. The run time seems to have gone down a little. Two runs before the patch gave the following user/real/sys times and total blocks in and out: 0m28.029s 0m20.093s 0m3.166s 16673 125107 0m27.949s 0m20.068s 0m3.227s 18426 126094 and after the patch: 0m26.775s 0m19.996s 0m3.060s 3505 124982 0m26.856s 0m19.935s 0m3.052s 3505 125279 akpm: - Don't look up more pages than we're going to use - Don't test page->index until we've locked the page - Check for the cursor wrapping at the end of the mapping. Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.60, 2005-03-05 09:26:24-08:00, clameter@sgi.com [PATCH] Move accounting function calls out of critical vm code paths In the 2.6.11 development cycle function calls have been added to lots of hot vm paths to do accounting. I think these should not go into the final 2.6.1 release because these statistics can be collected in a different way that does not require the updating of counters from frequently used vm code paths and is consistent with the methods use elsewhere in the kernel to obtain statistics. These function calls are acct_update_integrals -> Account for processes based on stime changes update_mem_hiwater -> takes rss and total_vm hiwater marks. acct_update_integrals is only useful to call if stime changes otherwise it will simply return. It is therefore best to relocate the function call to acct_update_integral into the function that updates stime which is account_system_time and remove it from the vm code paths. update_mem_hiwater finds the rss hiwater mark. We call that from timer context as well. This means that processes' high-water marks are now sampled statistically, at timer-interrupt time rather than deterministically. This may or may not be a problem.. This means that the rss limit is not always updated if rss is increased and thus not as accurate. But the benefit is that the rss checks do no pollute the vm paths and that it is consistent with the rss limit check. The following patch removes acct_update_integrals and update_mem_hiwater from the hot vm paths. Signed-off-by: Christoph Lameter From: Jay Lan The new "move-accounting-function-calls-out-of-critical-vm-code-paths" patch in 2.6.11-rc3-mm2 was different from the code i tested. In particular, it mistakenly dropped the accounting routine calls in fs/exec.c. The calls in do_execve() are needed to properly initialize accounting fields. Specifically, the tsk->acct_stimexpd needs to be initialized to tsk->stime. I have discussed this with Christoph Lameter and he gave me full blessings to bring the calls back. Signed-off-by: Jay Lan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.59, 2005-03-05 09:26:09-08:00, arjan@infradead.org [PATCH] Randomisation: top-of-stack randomization In addition to randomisation of the stack pointer within the stack, the stack itself should be randomized too. We need both approaches, we can only randomize the stack itself in pagesize increments. However randomizing large ranges with the stackpointer runs into the situation where a huge chunk of the stack rlimit is used by the randomisation; this is undesirable so we need to do both. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.58, 2005-03-05 09:25:55-08:00, arjan@infradead.org [PATCH] Randomisation: add ADDR_NO_RANDOMIZE personality Introduce a personality that disables randomisation, so that users can use setarch and related commands to run specific applications without randomisation. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.57, 2005-03-05 09:25:41-08:00, arjan@infradead.org [PATCH] Randomisation: enable by default Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.56, 2005-03-05 09:25:27-08:00, arjan@infradead.org [PATCH] Randomisation: mmap randomisation The patch below randomizes the starting point of the mmap area. This has the effect that all non-prelinked shared libaries and all bigger malloc()s will be randomized between various invocations of the binary. Prelinked binaries get a address-hint from ld.so in their mmap and are thus exempt from this randomisation, in order to not break the prelink advantage. The randomisation range is 1 megabyte (this is bigger than the stack randomisation since the stack randomisation only needs 16 bytes alignment while the mmap needs page alignment, a 64kb range would not have given enough entropy to be effective) Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.55, 2005-03-05 09:25:13-08:00, arjan@infradead.org [PATCH] Randomisation: stack randomisation The patch below replaces the existing 8Kb randomisation of the userspace stack pointer (which is currently only done for Hyperthreaded P-IVs) with a more general randomisation over a 64Kb range. 64Kb is not a lot, but it's a start and once the dust settles we can increase this value to a more agressive value. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.54, 2005-03-05 09:24:57-08:00, arjan@infradead.org [PATCH] Randomisation: add PF_RANDOMIZE Even though there is a global flag to disable randomisation, it's useful to have a per process flag too; the patch below introduces this per process flag and automatically sets it for "new" binaries. Eventually we will want to tie this to the legacy-va-space personality Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.53, 2005-03-05 09:24:44-08:00, arjan@infradead.org [PATCH] Randomisation: infrastructure The patch below introduces get_random_int() and randomize_range(), two helpers used in later patches in the series. get_random_int() shares the tcp/ip random number stuff so the CONFIG_INET ifdef needs to move slightly, and to reduce the damange due to that, secure_ip_id() needs to move inside random.c From: Frank Sorenson Acked-By: Jeff Dike The stack randomization patches that went into 2.6.11-rc3-mm1 broke compilation of ARCH=um. This patch fixes compiling by adding arch_align_stack back in. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Frank Sorenson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.52, 2005-03-05 09:24:30-08:00, arjan@infradead.org [PATCH] Randomisation: global sysctl This first patch of the series introduces a sysctl (default off) that enables/disables the randomisation feature globally. Since randomisation may make it harder to debug really tricky situations (reproducability goes down), the sysadmin needs a way to disable it globally. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.51, 2005-03-05 09:24:16-08:00, galak@freescale.com [PATCH] initialize a spin lock in CPM2 uart driver Static initialization of spin locks that are otherwise accessed prior to initialization. Signed-off-by: Jaka Mocnik Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.50, 2005-03-05 09:24:03-08:00, sean.hefty@intel.com [PATCH] IB: MAD cancel callbacks from thread Modify ib_cancel_mad() to invoke a user's send completion callback from a different thread context than that used by the caller. This allows a caller to hold a lock while calling cancel that is also acquired from their send handler. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.49, 2005-03-05 09:23:48-08:00, mst@mellanox.co.il [PATCH] IB/mthca: implement query of device caps Set device_cap_flags field in mthca's query_device method. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.48, 2005-03-05 09:23:36-08:00, mst@mellanox.co.il [PATCH] IB/mthca: QP locking optimization 1. Split the QP spinlock into separate send and receive locks. The only place where we have to lock both is upon modify_qp, and that is not on data path. 2. Avoid taking any QP locks when polling CQ. This last part is achieved by getting rid of the cur field in mthca_wq, and calculating the number of outstanding WQEs by comparing the head and tail fields. head is only updated by post, tail is only updated by poll. In a rare case where an overrun is detected, a CQ is locked and the overrun condition is re-tested, to avoid any potential for stale tail values. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.47, 2005-03-05 09:23:21-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free multicast table Tie up one last loose end by mapping enough context memory to cover the whole multicast table during initialization, and then enable mem-free mode. mthca now supports enough of mem-free mode so that IPoIB works with a mem-free HCA. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.46, 2005-03-05 09:23:08-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free work request posting Implement posting send and receive work requests for mem-free mode. Also tidy up a few things in send/receive posting for Tavor mode (fix smp_wmb()s that should really be just wmb()s, annotate tests in the fast path with likely()/unlikely()). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.45, 2005-03-05 09:22:54-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free address vectors Update address vector handling to support mem-free mode. In mem-free mode, the address vector (in hardware format) is copied by the driver into each send work queue entry, so our address handle creation can become pretty trivial: we just kmalloc() a buffer to hold the formatted address vector. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.44, 2005-03-05 09:22:41-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free QP initialization Update QP initialization and cleanup to handle mem-free mode. In mem-free mode, work queue sizes have to be rounded up to a power of 2, we need to allocate doorbells, there must be memory mapped for the entries in the QP and extended QP context table that we use, and the entries of the receive queue must be initialized. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.43, 2005-03-05 09:22:27-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free CQ operations Add support for CQ data path operations (request notification, update consumer index) in mem-free mode. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.42, 2005-03-05 09:22:12-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free CQ initialization Update CQ initialization and cleanup to handle mem-free mode: we need to make sure the HCA has memory mapped for the entry in the CQ context table we will use and also allocate doorbell records. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.41, 2005-03-05 09:21:58-08:00, roland@topspin.com [PATCH] IB/mthca: refactor CQ buffer allocate/free Factor the allocation and freeing of completion queue buffers into mthca_alloc_cq_buf() and mthca_free_cq_buf(). This makes the code more readable and will eventually make handling userspace CQs simpler (the kernel doesn't have to allocate a buffer at all). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.40, 2005-03-05 09:21:44-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free doorbell record writing Add a mthca_write_db_rec() to wrap writing doorbell records. On 64-bit archs, this is just a 64-bit write, while on 32-bit archs it splits the write into two 32-bit writes with a memory barrier to make sure the two halves of the record are written in the correct order. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.39, 2005-03-05 09:21:30-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free doorbell record allocation Mem-free mode requires the driver to allocate additional doorbell pages for each user access region. Add support for this in mthca_memfree.c, and have the driver allocate a table in db_tab for kernel use. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.38, 2005-03-05 09:21:17-08:00, roland@topspin.com [PATCH] IB/mthca: tweak MAP_ICM_page firmware command Have MAP_ICM_page() firmware command map assume pages are always the HCA-native 4K size rather than using the kernel's page size. This will make handling doorbell pages for mem-free mode simpler. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.37, 2005-03-05 09:21:04-08:00, roland@topspin.com [PATCH] IB/mthca: tweak firmware command debug messages Slightly improve debugging output for UNMAP_ICM and MODIFY_QP firmware commands. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.36, 2005-03-05 09:20:51-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free interrupt handling Update interrupt handling code to handle mem-free mode. While we're at it, improve the Tavor interrupt handling to avoid an extra MMIO read of the event cause register. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.35, 2005-03-05 09:20:37-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free EQ initialization Add code to initialize EQ context properly in both Tavor and mem-free mode. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.34, 2005-03-05 09:20:23-08:00, roland@topspin.com [PATCH] IB/mthca: mem-free memory region support Add support for mem-free mode to memory region code. This mostly amounts to properly munging between keys and indices. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.33, 2005-03-05 09:20:10-08:00, roland@topspin.com [PATCH] IB/mthca: dynamic context memory mapping for mem-free mode Add support for mapping more memory into HCA's context to cover context tables when new objects are allocated. Pass the object size into mthca_alloc_icm_table(), reference count the ICM chunks, and add new mthca_table_get() and mthca_table_put() functions to handle mapping memory when allocating or destroying objects. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.32, 2005-03-05 09:19:57-08:00, roland@topspin.com [PATCH] IB/mthca: add UAR allocation Add support for allocating user access regions (UARs). Use this to allocate a region for kernel at driver init instead using hard-coded MTHCA_KAR_PAGE index. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.31, 2005-03-05 09:19:43-08:00, roland@topspin.com [PATCH] IB/mthca: map registers for mem-free mode Move the request/ioremap of regions related to event handling into mthca_eq.c. Map the correct regions depending on whether we're in Tavor or native mem-free mode. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.30, 2005-03-05 09:19:29-08:00, mst@mellanox.co.il [PATCH] IB: remove unsignaled receives Remove support for unsignaled receive requests. This is a non-standard extension to the IB spec that is not used by any known applications or protocols, and is not supported by newer hardware. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.29, 2005-03-05 09:19:15-08:00, roland@topspin.com [PATCH] IB/mthca: CQ cleanups Simplify some of the code for CQ handling slightly. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.28, 2005-03-05 09:19:00-08:00, mst@mellanox.co.il [PATCH] IB/mthca: improve CQ locking part 2 Locking during the poll cq operation can be reduced by locking the cq while qp is being removed from the qp array. This also avoids an extra atomic operation for reference counting. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.27, 2005-03-05 09:18:47-08:00, mst@mellanox.co.il [PATCH] IB/mthca: improve CQ locking part 1 Avoid taking the CQ table lock in the fast path path by using synchronize_irq() after removing a CQ from the table to make sure that no completion events are still in progress. This gets a nice speedup (about 4%) in IP over IB on my hardware. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.26, 2005-03-05 09:18:33-08:00, mst@mellanox.co.il [PATCH] IB/mthca: CQ minor tweaks Clean up CQ code so that we only calculate the address of a CQ entry once when using it. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.25, 2005-03-05 09:18:19-08:00, sean.hefty@intel.com [PATCH] IB: fix ib_find_cached_gid() port numbering Fix ib_find_cached_gid() to return the correct port number relative to the port numbering used by the device. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.24, 2005-03-05 09:18:04-08:00, roland@topspin.com [PATCH] IB/ipoib: fix locking on path deletion Fix up locking for IPoIB path table. Make sure that destruction of address handles, neighbour info and path structs is locked properly to avoid races and deadlocks. (Problem originally diagnosed by Shirley Ma) Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.23, 2005-03-05 09:17:51-08:00, xma@us.ibm.com [PATCH] IB/ipoib: don't call ipoib_put_ah with lock held ipoib_put_ah() may call ipoib_free_ah(), which might take the device's lock. Therefore we need to make sure we don't call ipoib_put_ah() when holding the lock already. Signed-off-by: Shirley Ma Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.22, 2005-03-05 09:17:36-08:00, xma@us.ibm.com [PATCH] IB/ipoib: small fixes IPoIB small fixes: Initialize path->ah to NULL, and fix dereference after free of neigh in error path of neigh_add_path(). Signed-off-by: Shirley Ma Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.21, 2005-03-05 09:17:23-08:00, roland@topspin.com [PATCH] IB/ipoib: rename global symbols Make IPoIB data_debug_level module parameter static to the single file where it is used. Also Rename IPoIB module parameter variable from "debug_level" to "ipoib_debug_level". This avoids possible name clashes if IPoIB is built into the kernel. We use module_param_named so that the user-visible parameter names remain the same. Signed-off-by: Tom Duffy Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.20, 2005-03-05 09:17:09-08:00, xma@us.ibm.com [PATCH] IB/ipoib: use list_for_each_entry_safe when required Change uses of list_for_each_entry() where the loop variable is freed inside the loop to list_for_each_entry_safe(). Signed-off-by: Shirley Ma Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.19, 2005-03-05 09:16:56-08:00, roland@topspin.com [PATCH] IB/ipoib: fix rx memory leak Fix memory leak when posting a receive buffer (pointed out by Shirley Ma). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.18, 2005-03-05 09:16:43-08:00, roland@topspin.com [PATCH] IB/mthca: fix reset value endianness MTHCA_RESET_VALUE must always be swapped, since the HCA expects to see it in big-endian order and we write it with writel. This means on little-endian systems we have to swap it to big-endian order before writing, and on big-endian systems we need to swap it to make up for the additional swap that writel will do. This fixes resetting the HCA on big-endian machines. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.17, 2005-03-05 09:16:29-08:00, roland@topspin.com [PATCH] IB/mthca: add missing break Add missing break statements in switch in mthca_profile.c (pointed out by Michael Tsirkin). Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.16, 2005-03-05 09:16:17-08:00, tduffy@sun.com [PATCH] IB: sparse fixes Fix some sparse warnings by making sure we have appropriate "extern" declarations visible. Signed-off-by: Tom Duffy Signed-off-by: Hal Rosenstock ( Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.15, 2005-03-05 09:16:03-08:00, shaharf@voltaire.com [PATCH] IB: fix vendor MAD deregistration Fix bug when deregistering a vendor class MAD agent. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.14, 2005-03-05 09:15:49-08:00, halr@voltaire.com [PATCH] IB: simplify MAD code Remove unneeded MAD agent registration by using a single agent for both directed-route and LID-routed MADs. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.13, 2005-03-05 09:15:36-08:00, yuasa@hh.iij4u.or.jp [PATCH] audit mips fix CC arch/mips/kernel/ptrace.o arch/mips/kernel/ptrace.c: In function 'do_syscall_trace': arch/mips/kernel/ptrace.c:310: warning: implicit declaration of function 'audit_syscall_entry' arch/mips/kernel/ptrace.c:310: error: 'struct pt_regs' has no member named 'orig_eax' arch/mips/kernel/ptrace.c:314: warning: implicit declaration of function 'audit_syscall_exit' Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.12, 2005-03-05 09:15:23-08:00, rddunlap@osdl.org [PATCH] aoe: fix printk warning u64's are not longlongs on sparc64 and ppc64. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.11, 2005-03-05 09:15:09-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: discard CACHE_HASHED flag, keeping information in refcount instead. This patch should fix a problem that has been experienced on at-least one busy NFS server, but it has not had lots of testing yet. If -mm could provide that ..... The rpc auth cache currently differentiates between a reference due to being in a hash chain (signalled by CACHE_HASHED flag) and any other reference (counted in refcnt). This is an artificial difference due to an historical accident, and it makes cache_put unsafe. This patch removes the distinction so now existance in a hash chain is counted just like any other reference. Thus a race window in cache_put is closed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.10, 2005-03-05 09:14:56-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: change nfsd reply cache to use list.h lists also kmalloc the cache one entry at a time, instead of in one big slab. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.9, 2005-03-05 09:14:42-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: global/static cleanups for nfsd The patch below contains the following cleanups: - make some needlessly global code static Signed-off-by: Adrian Bunk Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.8, 2005-03-05 09:14:29-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: nfsd: remove pg_authenticate field The pg_authenticate (now pg_authenticate_obsolete) callback was only being used by the nfs4 client callback code to circumvent the svcauth_unix code's insistence on checking all requests against the export table. With that problem solved, we no longer need it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.7, 2005-03-05 09:14:15-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: lockd: don't try to match callback requests against export table On lockd callbacks, we're a client, and the source address is that of a server, so we shouldn't be trying to match the source address of the callback request against our export table. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.6, 2005-03-05 09:14:01-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: nfs4: use new pg_set_client method to simplify nfs4 callback authentication Use new pg_authenticate method to simplify nfs4 callback authentication. This also has the effect of changing the error return from rejectedcred to badcred. I believe the change is correct. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.5, 2005-03-05 09:13:48-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: svcrpc: move export table checks to a per-program pg_add_client method svcauth_null_accept() and svcauth_unix_accept() are currently hard-wired to check the source ip address on an incoming request against the export table, which make sense for nfsd but not necessarily for other rpc-based services. So instead we have the accept() method call a program-specific pg_authenticate() method. We also move the call to this method into svc_process instead of calling it from the flavor-specific accept() routines. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.4, 2005-03-05 09:13:35-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: svcrpc: rename pg_authenticate Later patches remove pg_authenticate and use the name for a different purpose; so rename it to pg_authenticate_obsolete for now. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.3, 2005-03-05 09:13:22-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: svcrpc: add a per-flavor set_client method Add a set_client method to the server rpc auth_ops struct, used to set the client (for the purposes of nfsd export authorization) using flavor-specific information. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.2, 2005-03-05 09:13:08-08:00, neilb@cse.unsw.edu.au [PATCH] nfsd: exportfs: reduce stack usage find_exported_dentry() declares char nbuf[NAME_MAX+1]; in 2 separate places, and gcc allocates space on the stack for both of them. Having just one of them will suffice, if we can put put with its scope. Reduces function stack usage on x86-32 from 0x230 to 0x130. Signed-off-by: Randy Dunlap Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.114.1, 2005-03-05 09:12:54-08:00, neilb@cse.unsw.edu.au [PATCH] SGI 921857: find broken with nohide on NFSv3 This patch makes "find" work when traversing nohide exports on NFSv3. The READDIRPLUS reply needs to not return a file handle for the ".." entry when the directory is a server side mountpoint, which would be the directory itself, otherwise the client remembers the wrong file handle and gets confused. Signed-off-by: Greg Banks Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1982.97.45, 2005-03-05 15:55:50+00:00, rmk@flint.arm.linux.org.uk [ARM] Remove ARM specific set_pmd() set_pmd has specific behaviour on ARM which may be unexpected. Since it is rather too close to macros used by other architectures, open code this functionality. Signed-off-by: Russell King ChangeSet@1.1982.97.44, 2005-03-05 14:29:38+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix sparse warnings for ebsa110 IO implementation Signed-off-by: Russell King ChangeSet@1.1982.97.43, 2005-03-05 14:20:51+00:00, rmk@flint.arm.linux.org.uk [ARM] Add __iomem checking for __raw_{read,write}[bwl] Signed-off-by: Russell King ChangeSet@1.1982.113.5, 2005-03-05 14:22:13+01:00, marcel@holtmann.org [Bluetooth] Update entry for the BPA 100/105 driver This patch adds the missing entry for the BPA 100/105 driver into the MAINTAINERS file. Signed-off-by: Marcel Holtmann ChangeSet@1.1982.113.4, 2005-03-05 14:10:28+01:00, marcel@holtmann.org [Bluetooth] Enhance HCI callback interface This patch adds callback functions for changing the link key and switching the role to the Bluetooth core interface. Signed-off-by: Marcel Holtmann ChangeSet@1.1982.113.3, 2005-03-05 13:45:00+01:00, marcel@holtmann.org [Bluetooth] Convert clock offset value from little endian The clock offset value is stored in little endian and so convert it before showing it in the inquiry cache list. Signed-off-by: Marcel Holtmann ChangeSet@1.1982.113.2, 2005-03-05 13:31:32+01:00, marcel@holtmann.org [Bluetooth] Remove interruptible_sleep_on_timeout() usage Remove deprecated interruptible_sleep_on_timeout() function calls and replace them with direct wait-queue usage. Signed-off-by: Nishanth Aravamudan Signed-off-by: Marcel Holtmann ChangeSet@1.1982.113.1, 2005-03-05 13:29:30+01:00, marcel@holtmann.org [Bluetooth] Don't use ISOC transfers for sniffer devices The sniffer devices present themself as a full H:2 device, but actually they don't need any ISOC transfers and so don't start them. Signed-off-by: Marcel Holtmann ChangeSet@1.1982.99.4, 2005-03-04 20:21:20-08:00, davem@northbeach.davemloft.net.davemloft.net [TIGON3]: Update driver version and reldate. Signed-off-by: David S. Miller ChangeSet@1.1982.99.3, 2005-03-04 20:20:02-08:00, davem@northbeach.davemloft.net.davemloft.net [TIGON3]: Do not touch NIC_SRAM_FIRMWARE_MBOX when TG3_FLG2_SUN_570X. There is no firmware on these chips, so accessing this value is pointless. But, more importantly, touching this area on such chips results in PCI PIO timeouts. Signed-off-by: David S. Miller ChangeSet@1.1982.99.2, 2005-03-04 16:47:05-08:00, davem@northbeach.davemloft.net.davemloft.net [SPARC64]: Tomatillo PCI controller bug fixes. - Error handlers were mis-calculating ICLR register to ACK on Tomatillo. - PCI error handlers should not ACK other IRQ. - Fix Tomatillo version comparison for PCI Timeout Interval setting - Tomatillo PCI control register prefetch enable bits were off. - Tomatillo revs <= 1 need bit 61 set, all others should have it clear. This is in the PCI control register. Signed-off-by: David S. Miller ChangeSet@1.1982.98.40, 2005-03-04 16:12:52-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1982.97.41, 2005-03-04 23:55:22+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix two missed ether1_outw() function calls. Signed-off-by: Russell King ChangeSet@1.1982.97.40, 2005-03-04 23:13:29+00:00, nico@org.rmk.(none) [ARM PATCH] 2514/1: save iWMMXt context to ram before entering sleep mode Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.1982.112.1, 2005-03-04 22:07:11+00:00, rmk@flint.arm.linux.org.uk [MMC] Use bus dev_attrs instead of handling device attrs manually Convert MMC to use bus dev_attrs instead of handling the registration of these attributes itself. Signed-off-by: Russell King ChangeSet@1.1982.111.1, 2005-03-04 21:19:20+00:00, gtj.member@com.rmk.(none) [ARM PATCH] 2472/1: Updates 8250.c to correctly detect XScale UARTs Patch from George Joseph Modifications to autoconfig_16550a to add a testcase to detect XScale UARTS. Signed-off-by: George Joseph Signed-off-by: Russell King ChangeSet@1.1982.97.39, 2005-03-04 18:43:44+00:00, nico@org.rmk.(none) [ARM PATCH] 2513/1: more PXA27x regs to save for sleep mode Patch from Nicolas Pitre ... plus Mainstone bits. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.1982.97.38, 2005-03-04 18:19:21+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2459/1: ARMv6 supersections for static kernel direct mapped memory regions [updated] Patch from George G. Davis Use ARMv6 supersections for 16MiB static kernel direct mapped memory regions when possible. Based on comments received for the first version of this patch, this version has added a comment to clarify that ARMv6 supersections are only valid for the domain == 0 case and moved the supersection address mask and size macros before the hardware page table definitions. Signed-off-by: George G. Davis Signed-off-by: Russell King ChangeSet@1.1982.97.37, 2005-03-04 17:01:00+00:00, andrew@com.rmk.(none) [ARM PATCH] 1941/2: End-of-interrupt (irq_finish) macro on ARM Patch from SAN People On some ARM-based processor's (eg, Atmel's AT91RM9200) it is necessary to signal the end-of-interrupt to the interrupt controller. This is necessary so it can restore its internal priority levels, etc. This patch is equivalent to the version in the current 2.4 kernels. Patch now updated to 2.6.11 Signed-off-by: Andrew Victor Signed-off-by: Russell King ChangeSet@1.1982.97.36, 2005-03-04 16:47:29+00:00, rpurdie@net.rmk.(none) [ARM PATCH] 2510/1: PXA: Disable pxa_gpio_irq_type printks Patch from Richard Purdie The printks inside pxa_gpio_irq_type damage performance and are of little value in a production kernel. They should be disabled. Signed-off-by: Richard PurdieSigned-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.1982.97.35, 2005-03-04 16:24:42+00:00, tglx@de.rmk.(none) [ARM PATCH] 2477/1: Move double defined macro to header file Patch from Thomas Gleixner IRQ_DISPATCH is defined in two c files. Move it to the common header file. Signed-off-by: Thomas Gleixner Signed-off-by: Russell King ChangeSet@1.1982.97.34, 2005-03-03 23:15:05+00:00, nico@org.rmk.(none) [ARM PATCH] 2509/1: fix watchdog timer frequency for PXA27x Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.1982.97.33, 2005-03-03 22:57:33+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2512/1: S3C2410 - remove bast-cpld.h from include/asm-arm/arch-s3c2410/hardware.h Patch from Ben Dooks Remove the include of bast-cpld.h, as it shouldn't be here as it only defines some extra bast-specific registers, and does not affect the configuration of the hardware dependenat items. Ensure that the file is included in the one place it is needed and not included. This should discourage anyone else putting include files in which do not affect the over-all hardware definitions. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.32, 2005-03-03 22:35:54+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2511/1: SMDK2440 - base machine support Patch from Ben Dooks SMDK2440 core board support Signed-off-by: Ben Dooks Signed-off-by: Dimitry Andric Signed-off-by: Russell King ChangeSet@1.1982.97.31, 2005-03-03 22:09:57+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2508/1: S3C2440 - timer and irq device updates Patch from Ben Dooks The patch does a number of updates, which are inter-dependant on each other, for the s3c2440 support and some clean-ups for all s3c24xx architecture in general. 1) Remove the s3c24xx_{fclk,hclk,pclk} variables, and pass these values to the clock core on initialisation. This removes the needless double copy, as only the timer code uses these directly (see point 4). Add an over-all xtal clock to the clock core 2) Add a sysdev driver to the clock code to ensure all the s3c2440 clocks are added if an s3c2440 is present. 3) Add the new IRQs to irq.c, and initialise them if the sysdev for the s3c2440 is present. 4) Change the timer code to request the timer clk and use it to get the frequency. Depends on patch 2467/1 Thanks to Guillaume Gourat for the original patches that prompted this re-write. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.30, 2005-03-03 21:58:16+00:00, buytenh@org.rmk.(none) [ARM PATCH] 2491/1: make ixp2000 use section mappings for on-chip registers Patch from Lennert Buytenhek This patch makes the ixp2000 port use section mappings for on-chip registers. This has two advantages: 1. It saves some TLB entries. 2. It enables us to work around ixp2400 erratum #66, for which the suggested (and only) fix involves mapping all on-chip registers using XCB=101 instead of XCB=000. This patch was derived from an older patch for the same erratum (ARM patch ID 2265/1), made by Deepak Saxena. Note that this patch does not actually constitute a workaround for erratum #66, it merely lays the foundation for such a workaround. Signed-off-by: Lennert BuytenhekSigned-off-by: Deepak Saxena Signed-off-by: Russell King ChangeSet@1.1982.97.29, 2005-03-03 21:35:52+00:00, jelenz@edu.rmk.(none) [ARM PATCH] 2461/1: base support for poodle machine Patch from John Lenz Adds support for the Sharp Zaurus SL-5600 Add the ability to compile any collection of poodle and corgi support under the PXA_SHARPSL option. arch/arm/boot/compressed/head-sharpsl.S already has code to detect the poodle machine. Signed-off-by: John Lenz Signed-off-by: Russell King ChangeSet@1.1982.97.28, 2005-03-03 08:29:59+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2506/1: S3C2410 - dma descriptor slab Patch from Ben Dooks Use slab allocator instead of kmalloc() to allocate the dma buffer descriptors. This should allow the tracking of dma descriptors, and to check if they are being freed correctly. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.27, 2005-03-03 08:13:07+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2503/1: S3C2410 - add brief documentation for HP IPAQ H1940 Patch from Ben Dooks Brief documentation for Documents/arm/Samsung-S3C24XX for the HP IPAQ H1940 Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.26, 2005-03-03 07:53:43+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2502/1: S3C2410 - watchdog during kernel uncompression Patch from Ben Dooks Enable the watchdog at the start of the kernel uncompression stage, so that if any errors occur before the kernel reaches the stage where it can start running processes then the system will be reset. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.110.1, 2005-03-02 23:18:01-08:00, gregkh@suse.de Merge suse.de:/home/greg/linux/BK/bleed-2.6 into suse.de:/home/greg/linux/BK/pci-2.6 ChangeSet@1.1982.109.1, 2005-03-02 21:36:48-08:00, yoshfuji@linux-ipv6.org [TCP]: Put back tcp_timer_bug_msg[] symbol export. It is needed for tcp_reset_xmit_timer(), which is invoked by tcp_prequeue() which is invoked from tcp_ipv6.c Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.1982.104.2, 2005-03-03 00:23:55-05:00, xose@wanadoo.es [PATCH] 2.6 eepro100: replace and delete duplicate ids - replace PCI_DEVICE_ID_INTEL_82557 and PCI_DEVICE_ID_INTEL_82559ER with theirs hex numbers - PCI_DEVICE_ID_INTEL_82801BA_7 is a duplicate of 0x2449. Signed-off-by: Jeff Garzik ChangeSet@1.1982.108.2, 2005-03-03 00:22:23-05:00, akpm@osdl.org [PATCH] drivers/net/wan/z85230.c interrupt handling fix From: tom watson While working on a driver for z85230 based board I noticed what looks like it could be a problem. If the interrupt handler is handling an interrupt on port b and an interrupt comes in for port a, it seems to me that the port b handler would be called instead of the port a handler, and possibly hang the board until reset. Attached is a patch to set the irq methods back to port a before attempting to call them. Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.1982.108.1, 2005-03-03 00:19:59-05:00, khc@pm.waw.pl [PATCH] WAN drivers fix: N2, C101, PCI200SYN - quite fatal The last change to drivers/wan/hd6457x.c was a bit fatal to drivers using it - the attached patch fixes NULL pointer dereference on RX. I've updated URLs in MAINTAINERS and wan/Kconfig as well. Signed-off-by: Krzysztof Halasa Signed-off-by: Jeff Garzik ChangeSet@1.1982.102.2, 2005-03-03 00:18:38-05:00, mporter@kernel.crashing.org [PATCH] emac: fix skb allocation for full-size jumbo frames Sets jumbo frame handling based on MTU and allocates rx buffers large to handle full-size jumbo frames. Signed-off-by: Matt Porter Signed-off-by: Jeff Garzik ChangeSet@1.1982.107.2, 2005-03-03 00:17:59-05:00, rddunlap@osdl.org [PATCH] tulip/de2104x: don't mix __init & __devinit sections tulip/de2104x: fix section usage, don't mix __init & __devinit: Error: ./drivers/net/tulip/de2104x.o .text refers to 000000000000176d R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./drivers/net/tulip/de2104x.o .text refers to 0000000000001798 R_X86_64_PC32 .init.text+0xfffffffffffffffc Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik ChangeSet@1.1982.107.1, 2005-03-03 00:17:18-05:00, rddunlap@osdl.org [PATCH] net/wan/sbni: fix section usage net/wan/sbni data reference can be initdata: Error: ./drivers/net/wan/sbni.o .data refers to 0000000000000000 R_X86_64_64 .init.data+0x0000000000000060 Error: ./drivers/net/wan/sbni.o .data refers to 0000000000000008 R_X86_64_64 .init.data+0x0000000000000140 Error: ./drivers/net/wan/sbni.o .data refers to 0000000000000010 R_X86_64_64 .init.data+0x0000000000000180 Error: ./drivers/net/wan/sbni.o .data refers to 0000000000000018 R_X86_64_64 .init.data+0x0000000000000020 Error: ./drivers/net/wan/sbni.o .data refers to 0000000000000020 R_X86_64_64 .init.data+0x00000000000001c0 Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik ChangeSet@1.1982.95.3, 2005-03-03 00:15:00-05:00, liml@rtr.ca [PATCH] sata_qstor: eh_timeout fix Here is an update to sata_qstor.c to enable full/proper register access during eh_timeout handling. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik ChangeSet@1.1982.106.1, 2005-03-03 00:07:46-05:00, takis@lumumba.luc.ac.be [PATCH] Possible AMD8111e free irq issue It seems to me that if in the amd8111e_open() fuction dev->irq isn't zero and the irq request succeeds it might not get released anymore. Specifically, on failure of the amd8111e_restart() call the function returns -ENOMEM without releasing the irq. The amd8111e_restart() function can fail because of various pci_alloc_consistent() and dev_alloc_skb() calls in amd8111e_init_ring() which is being called by amd8111e_restart. 1374 if(dev->irq ==0 || request_irq(dev->irq, amd8111e_interrupt, SA_SHIRQ, 1375 dev->name, dev)) 1376 return -EAGAIN; Signed-off-by: Jeff Garzik ChangeSet@1.1982.105.1, 2005-03-03 00:04:43-05:00, tvignaud@mandrakesoft.com [PATCH] fix driver name in dl2k as returned by ETHTOOL_GDRVINFO The GDRVINFO command of the ETHTOOL ioctl returns a bogus driver name. this bug confusees various network config tools... see mdk bug #12609 (http://qa.mandrakesoft.com/show_bug.cgi?id=12609) for reference Signed-off-by: Thierry Vignaud Signed-off-by: Jeff Garzik ChangeSet@1.1982.104.1, 2005-03-03 00:02:38-05:00, sfeldma@pobox.com [PATCH] eepro100: remove ID for 82556 82556 support doesn't work with eepro100, so this removes the ID (0x1228) for 82556. See this thread for more info: http://marc.theaimsgroup.com/?l=linux-kernel&m=110726223221165&w=2 Signed-off-by: Scott Feldman Signed-off-by: Jeff Garzik ChangeSet@1.1982.103.1, 2005-03-03 00:01:46-05:00, linville@redhat.com [PATCH] sk98lin: add MODULE_DEVICE_TABLE entry Signed-off-by: Jeff Garzik ChangeSet@1.1982.102.1, 2005-03-02 23:58:29-05:00, mporter@kernel.crashing.org [PATCH] Add PPC440SP support to IBM EMAC driver Configures EMAC thresholds appropriately for the EMAC on the PPC440SP. Signed-off-by: Matt Porter Signed-off-by: Jeff Garzik ChangeSet@1.1982.101.1, 2005-03-02 23:57:27-05:00, sfeldma@pobox.com [PATCH] e100: remove reference to NAPI config option e100 is NAPI all the time, so the Kconfig option is wasting space. Signed-off-by: Scott Feldman Signed-off-by: Jeff Garzik ChangeSet@1.1982.87.4, 2005-03-02 23:55:36-05:00, akpm@osdl.org [PATCH] smc91x: power down PHY on suspend From: Ian Campbell Powering down the PHY saves something like 100mA at 5V on my platform. Currently it is only done when the interface is brought down but it makes sense to do it on suspend as well. Signed-off-by: Ian Campbell Signed-off-by: Nicolas Pitre Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.1982.87.3, 2005-03-02 23:50:42-05:00, akpm@osdl.org [PATCH] Add OMAP support to smc91x Ethernet driver From: Tony Lindgren Following patch adds support for various OMAP boards to smc91x. Signed-off-by: Tony Lindgren Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.1982.80.6, 2005-03-02 23:48:04-05:00, ganesh.venkatesan@intel.com [PATCH] ixgb: Documentation/networking/ixgb.txt Signed-off-by: Jeff Garzik ChangeSet@1.1982.97.25, 2005-03-03 02:32:18+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2500/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-adc.h Patch from Ben Dooks S3C2410 ADC register definitions Patch from Shannon Holland Signed-off-by: Shannon Holland Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.24, 2005-03-03 02:11:30+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2495/1: 21285 - fix build warnings Patch from Ben Dooks 21285 serial driver has a couple of sparse errors from zero initialiser, as well as an unused label. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.23, 2005-03-03 01:52:00+00:00, cbrake@com.rmk.(none) [ARM PATCH] 2488/1: Update Vibren PXA255 IDP support Patch from Cliff Brake Changes to machine specific files and add defconfig so the CONFIG_ARCH_PXA_IDP machine will build and run. Changes are mostly related to the 2.6 driver model. Also removed code that is no longer required -- support for older versions of hardware, etc. Signed-off-by: Cliff Brake Signed-off-by: Russell King ChangeSet@1.1982.97.22, 2005-03-03 01:37:23+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2483/1: S3C2410 - serial sparse error Patch from Ben Dooks Eliminate NULL initiated fields in the port structures which where causing errors from sparse. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.21, 2005-03-03 01:16:06+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2482/1: IXP2000 - header cleanup Patch from Ben Dooks fix the following problems: lib/iomap.c:140: warning: passing arg 1 of `__raw_readsb' makes pointer from integer without a cast lib/iomap.c:156: warning: passing arg 1 of `__raw_writesb' makes pointer from integer without a cast include/asm-arm/arch-ixp2000/io.h modified to have (void __iomem *) in front of the alignment code include/asm/arch/system.h:22: warning: `cli' is deprecated (declared at include/linux/interrupt.h:65) cli() replace by local_irq_disable arch/arm/mach-ixp2000/ixdp2x01.c:116: warning: passing arg 1 of `ixp2000_reg_write' from incompatible pointer type arch/arm/mach-ixp2000/ixdp2x01.c:117: warning: passing arg 1 of `ixp2000_reg_write' from incompatible pointer type fixed definition of the cpld registers IXDP2X01_CPLD_VIRT_REG() Signed-off-by: Ben DooksLooks okay. Test-booted on ENP-2611, no problem. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King ChangeSet@1.1982.100.7, 2005-03-02 16:59:57-08:00, c.lucas@ifrance.com [PATCH] drivers/w1/*: convert to pci_register_driver convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO). Signed-off-by: Christophe Lucas Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.6, 2005-03-02 16:59:41-08:00, johnpol@2ka.mipt.ru [PATCH] w1: get rid of the potential problems with atomic operations. Get rid of the potential problems with atomic operations. According to upcoming atomic_ops.txt by David Miller and Anton Blanchard some archs may reoder atomic operations with nonatomic, since the former are always visible but the latter are not, this can lead to unpredicted behaviour. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.5, 2005-03-02 16:59:25-08:00, johnpol@2ka.mipt.ru [PATCH] w1: replace obsoleted *sleep_on* Remove obsoleded *sleep_on*. Since they are used only to wait for a given flags and awakening only happens on signals, we can just replace them with msleep_interruptible. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.4, 2005-03-02 16:59:08-08:00, greg@kroah.com [PATCH] w1: fix some compiler warnings generated by the last "static" patch. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.3, 2005-03-02 16:58:52-08:00, johnpol@2ka.mipt.ru [PATCH] w1: Core cleanup 1/2 Trivial cleanups, mostly static/non static, removed unneded exports. It fuzzes a bit, sorry, patch is quite old. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.2, 2005-03-02 16:58:36-08:00, johnpol@2ka.mipt.ru [PATCH] w1: dscore cleanups. 2/2 Trivial cleanups, mostly static/non static, removed unneded exports. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.100.1, 2005-03-02 16:58:20-08:00, nacc@us.ibm.com [PATCH] w1/w1_therm: replace schedule_timeout() with msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Changed tm to an int, as it now is in terms of msecs, not jiffies. Signed-off-by: Nishanth Aravamudan Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.20, 2005-03-03 00:55:12+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2470/1: S3C2410 Documentation - add Guillaume Gourat Patch from Ben Dooks Add Guillaume Gourat to list of port contributors Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.19, 2005-03-03 00:37:40+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2469/1: S3C2410 - add S3C2410_TCFG1_MUX4_SHIFT definition Patch from Ben Dooks Add missing S3C2410_TCFG1_MUX4_SHIFT Patch from Guillaume Gourat Signed-off-by: Guillaume GOURAT Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.97.18, 2005-03-03 00:18:41+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2467/1: S3C2440 - camera interface device Patch from Ben Dooks Add s3c2440 camera interface device definition Patch from Guillaume GOURAT Signed-off-by: Guillaume GOURAT Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.98.37, 2005-03-02 16:13:45-08:00, khali@linux-fr.org [PATCH] I2C: Trivial indentation fix in i2c/chips/Kconfig Hi Greg, Quoting myself: > (...) I also think I see an indentation issue on the "tristate" line, > seemingly copied from the SENSORS_DS1621 section which would need to > be fixed as well. Here is the trivial patch fixing that, if you want to apply it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.36, 2005-03-02 16:13:14-08:00, khali@linux-fr.org [PATCH] I2C: Change of i2c co-maintainer Since I am working more actively than Philip (or anyone else, for that matter) on the i2c subsystem these days, it would probably make sense that I am listed as the co-maintainer instead of him. Signed-off-by: Jean Delvare Acked-by: Philip Edelbrock Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.17, 2005-03-03 00:00:59+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2465/1: VR1000 - add power-off hook Patch from Ben Dooks Add PM hook to power board down when requested Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.1982.98.35, 2005-03-02 15:50:42-08:00, gregkh@suse.de [PATCH] I2C: fixed up the i2c-id.h algo ids. Thanks to Jean Delvare for the help with this. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.16, 2005-03-02 23:39:59+00:00, jelenz@edu.rmk.(none) [ARM PATCH] 2460/1: fix up resource usage on locomo Patch from John Lenz Add the list of devices on the locomo chip, and change around how resources and struct resource are used. There is only one struct resource for the entire locomo, but each driver will call request_mem_region on the pieces it is using. Secondly, add a few helper functions to locomo.c to control GPIOs and DAC. Signed-off-by: John Lenz Signed-off-by: Russell King ChangeSet@1.1982.97.15, 2005-03-02 23:20:52+00:00, dsaxena@net.rmk.(none) [ARM PATCH] 2450/1: Add missing REG_OFFSET to ixp4xx platform.h header Patch from Deepak Saxena Patch 2449/1 depends on this since it removes REG_OFFSET from the individual board implementations. Signed-off-by: Deepak Saxena Signed-off-by: Russell King ChangeSet@1.1982.98.34, 2005-03-02 15:03:48-08:00, khali@linux-fr.org [PATCH] I2C: w83627hf needs i2c-isa The w83627hf driver is useless unless i2c-isa is present. All other drivers in this case do select I2C_ISA through Kconfig, so this one should as well do. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.33, 2005-03-02 15:03:32-08:00, akpm@osdl.org [PATCH] I2C: saa7146 build fix include/media/saa7146.h:160: parse error before `*' include/media/saa7146.h:160: warning: function declaration isn't a prototype Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.32, 2005-03-02 15:03:15-08:00, khali@linux-fr.org [PATCH] Add class definition to the elektor bus driver Hi Frank, all, > > Which bus driver are you using? It obviously lacks class declaration, > > so the correct fix is to add the class there. > > The modules that are loading are (in reverse order): > adm1031 > ad5321 > mic184 > pca9540 > i2c_sensor > i2c_elektor > i2c_algo_pcf > i2c_core > > So I believe what you are asking for is the i2c_elektor driver for the > PCF8584 ISA to I2C chip. Correct, I just checked and this one actually lacks its class. Patch follows. This patch adds a class definition to the elektor i2c bus driver. Without this definition, hardware monitoring chips located on such busses cannot possibly be driven. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.31, 2005-03-02 15:03:00-08:00, minyard@acm.org [PATCH] I2C: minor I2C cleanups This is one in a series of patches for adding a non-blocking interface to the I2C driver for supporting the IPMI SMBus driver. This patch is a simply some minor cleanups and is in addition to the patch by Mickey Stein (http://marc.theaimsgroup.com/?l=linux-kernel&m=110919738708916&w=2). Clean up some general I2C things. Fix some grammar and put () around all the #defines that are compound to avoid nasty side-effects. Signed-off-by: Corey Minyard Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.30, 2005-03-02 15:02:43-08:00, ben-linux@fluff.org [PATCH] I2C: S3C2410 missing I2C_CLASS_HWMON None of the standard sensor drivers currently recognise the s3c24xx I2C controller as it does not have I2C_CLASS_HWMON set in the adapter class field. The attached patch initialises the adapter class to I2C_CLASS_HWMON Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.29, 2005-03-02 15:02:27-08:00, yekkim@pacbell.net [PATCH] I2C: Fix some gcc 4.0 compile failures and warnings gcc 4.0.x cvs seems to dislike "include/linux/i2c.h file" and others due to a current gcc 4.0.x change having to do with array declarations. Example error msg: include/linux/i2c.h:{55,194} error: array type has incomplete element type A. Daplas has recently done a workaround for this on another header file. A thread discussing this can be found by following the link below: http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html The patch changes the array(struct i2c_msg) declaration used by *i2c_transfer and *master_xfer from "struct i2c_msg msg[]" format to "struct i2c_msg *msg". After some grepping, I came up with about a dozen files that used the format disliked by gcc4 that're addressed by the attached patch. Tested on gcc 3.x & gcc 4.x by configuring kernel with all i2c switches enabled as module, and saw no errors or warnings in i2c. Signed-off-by: Mickey Stein Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.28, 2005-03-02 15:02:10-08:00, khali@linux-fr.org [PATCH] I2C: Make i2c list terminators explicitely unsigned Shouldn't the i2c list terminators be explicitely declared as unsigned? I'd hope it to help code analysis tools and possibly avoid false positives. Coverity's SWAT pointed my attention to these constants. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.27, 2005-03-02 15:01:52-08:00, khali@linux-fr.org [PATCH] I2C: Remove NULL client checks in rtc8564 driver Several functions in your rtc8564 driver verify the non-NULLity of the i2c client that is passed to them. It doesn't seem to be necessary, as I can't think of any case where these functions could possibly be called with a NULL i2c client. As a matter of fact, I couldn't find any similar driver doing such checks. My attention was brought on this by Coverity's SWAT which correctly noticed that three of these functions contain explicit or hidden dereferences of the i2c client pointer *before* the NULL check. I guess it wasn't a problem because the NULL case cannot happen (unless I miss something), but this still is confusing code. Thus I propose the following changes: Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.14, 2005-03-02 22:57:50+00:00, dsaxena@net.rmk.(none) [ARM PATCH] 2449/1: Make IXP4xx use platform devices for serial ports Patch from Deepak Saxena Signed-off-by: Deepak Saxena Signed-off-by: Russell King ChangeSet@1.1982.97.13, 2005-03-02 22:33:50+00:00, dsaxena@net.rmk.(none) [ARM PATCH] 2448/1: Remove PrPMC1100 platform Patch from Deepak Saxena No longer maintained, not sure one can even buy one of these. Signed-off-by: Deepak Saxena Signed-off-by: Russell King ChangeSet@1.1982.97.12, 2005-03-02 22:21:51+00:00, rmk@flint.arm.linux.org.uk [ARM] Acorn expansion card core update. Add __iomem annotations and use iomem functions where appropriate. Separate out expansion card allocation/initialisation and freeing. Convert device attributes to be handled by driver core. Clean up deprecated function warnings for internal ecard_address usage. Signed-off-by: Russell King ChangeSet@1.1982.99.1, 2005-03-02 14:03:27-08:00, davem@nuts.davemloft.net [SPARC64]: Accept 'm5823' clock chip as seen on SB1500. Signed-off-by: David S. Miller ChangeSet@1.1982.97.11, 2005-03-02 21:28:32+00:00, rmk@flint.arm.linux.org.uk [ARM] Add card type specific data structure. Signed-off-by: Russell King ChangeSet@1.1982.97.10, 2005-03-02 21:09:16+00:00, rmk@flint.arm.linux.org.uk [ARM] Net: Convert ether1 and ether3 to use iomem accesses. Signed-off-by: Russell King ChangeSet@1.1982.97.9, 2005-03-02 20:35:25+00:00, rmk@flint.arm.linux.org.uk [ARM] Use ecard_{request,release}_resources() for resource management Signed-off-by: Russell King ChangeSet@1.1982.98.26, 2005-03-02 12:18:53-08:00, hfvogt@gmx.net [PATCH] I2C i2c-nforce2: add support for nForce4 (patch against 2.6.11-rc4) can you please apply the attached patch (against 2.6.11-rc4, but works as well for 2.6.11-rc3-mm2), that adds support for the two SMBusses of the nForce4 to the i2c-nforce2 i2c bus driver. The patch is reported to work on the standard nForce4 (i.e. non-Ultra, non-SLI), but I expect that it works as well for the other nForce4 chipsets, that seem to have the same PCI-id for the SMBus-device. This patch was proposed by Chuck , thanks to him for the information, testing and his patch. Signed-off-by: Hans-Frieder Vogt Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.25, 2005-03-02 12:18:36-08:00, icampbell@arcom.com [PATCH] I2C: fix typo in drivers/i2c/busses/i2c-ixp4xx.c I was looking at your ixp4xx gpio i2c driver for inspiration (for a similar pxa2xx one) and I just happened to notice a tiny typo. Signed-off-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.24, 2005-03-02 12:18:19-08:00, macro@linux-mips.org [PATCH] I2C: Enable I2C_PIIX4 for 64-bit platforms Is there any specific reason for the PIIX4 SMBus driver to be disabled on 64-bit platforms? If not, then please apply the following change. The MIPS Technologies Malta development board has the 82371EB chip and supports 64-bit configurations. I've verified the driver to work correctly using 64-bit kernels for both endiannesses. Signed-off-by: Maciej W. Rozycki Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.23, 2005-03-02 12:18:03-08:00, icampbell@arcom.com [PATCH] I2C: improve debugging output Rework the pca_xfer() function to always print the number of successfully completed transfers in a series when debugging, even when exiting with an error. Signed-off-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.8, 2005-03-02 20:17:47+00:00, rmk@flint.arm.linux.org.uk [ARM] Net: add macro to access driver specific netdev data. Signed-off-by: Russell King ChangeSet@1.1982.98.22, 2005-03-02 12:17:46-08:00, maartendeprez@scarlet.be [PATCH] I2C: add GL520SM Sensor Chip driver Port of the Genesys Logic 520SM sensor chip driver from linux 2.4 Signed-off-by: Maarten Deprez Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.21, 2005-03-02 12:17:29-08:00, mgreer@mvista.com [PATCH] I2C: add Marvell mv64xxx i2c driver Marvell makes a line of host bridge for PPC and MIPS systems. On those bridges is an i2c controller. This patch adds the driver for that i2c controller. Please apply. Depends on patch submitted by Jean Delvare: http://archives.andrew.net.au/lm-sensors/msg29405.html Signed-off-by: Mark A. Greer Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.20, 2005-03-02 12:17:12-08:00, aurelien@aurel32.net [PATCH] I2C: New chip driver: sis5595 Please find below the new version of the patch against kernel 2.6.11-rc3-mm1 to add the sis5595 driver (sensor part). As you suggested, I have changed the PCI part of the driver, taking the via686a driver as an example. I have also changed the comparison of jiffies by using time_after. Signed-off-by: Aurelien Jarno Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.19, 2005-03-02 12:16:55-08:00, mgreer@mvista.com [PATCH] I2C: add ST M41T00 I2C RTC chip driver This patch adds support for the ST M41T00 I2C RTC chip. This rtc chip has no mechanism to freeze it's registers while being read; however, it will delay updating the external values of the registers for 250ms after a register is read. To ensure that a sane time value is read, the driver verifies that the same registers values were read twice before returning. Also, when setting the rtc from an interrupt handler, a tasklet is used to provide the context required by the i2c core code. Signed-off-by: Mark A. Greer Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.18, 2005-03-02 12:16:37-08:00, adobriyan@mail.ru [PATCH] I2C: use time_after instead of comparing jiffies Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.17, 2005-03-02 12:12:54-08:00, bunk@stusta.de [PATCH] i2c-core.c: make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.16, 2005-03-02 12:10:18-08:00, shawn.starr@rogers.com [PATCH] I2C: lm80 driver improvement Description: Cleanup some cluttered macros, add error checking for fan divisor value set. Signed-off-by: Sytse Wielinga Signed-off-by: Aurelien Jarno Signed-off-by: Shawn Starr Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.15, 2005-03-02 12:10:01-08:00, mhoffman@lightlink.com [PATCH] I2C: unnecessary #includes in asb100.c * Jean Delvare [2005-01-25 10:14:49 +0100]: > Any reson why asb100.c (in linux 2.6.11-rc2) includes linux/ioport.h and > asm/io.h? As an i2c-only chip driver, I don't think it needs these. > > As a side note, I also wonder what the inclusions of linux/config.h, > linux/types.h and asm/errno.h are there for. Because they look pretty? Here's a patch Greg, please apply... Signed-off-by: Mark M. Hoffman Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.14, 2005-03-02 12:09:45-08:00, khali@linux-fr.org [PATCH] I2C: Kill unused includes in i2c-sensor-detect.c Looks to me like i2c-sensor-detect.c includes a handful of headers it doesn't need at all. This patch removes them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.13, 2005-03-02 12:09:28-08:00, khali@linux-fr.org [PATCH] I2C: Enable w83781d and w83627hf temperature channels The chips supported by the w83781d and w83627hf drivers might come up with their temperature channels disabled. Currently, the w83781d driver does so for temp3 but omits temp2, while the w83627hf driver omits both. The following patch fixes that, and prints warning messages when the driver has to enable the channels (normally the BIOS should do it for us). We also skip this initialization step for the AS99127F chips, for which we have no documentation. This should hopefully solve the problem reported here: http://archives.andrew.net.au/lm-sensors/msg29150.html Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.12, 2005-03-02 12:04:28-08:00, aurelien@aurel32.net [PATCH] I2C: lm78 driver improvement The following patch against kernel 2.6.11-rc2-mm1 improves the lm78 driver. I used it as a model to port the sis5595 driver to the 2.6 kernel, and I then applied the changes suggested by Jean Delvare on the sis5595 driver to this one. Signed-off-by: Aurelien Jarno Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.11, 2005-03-02 12:04:12-08:00, mhoffman@lightlink.com [PATCH] I2C: i2c-dev namespace cleanup This patch is namespace cleanup for the i2c-dev module. Please apply. Signed-off-by Mark M. Hoffman Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.58.74, 2005-03-02 15:03:29-05:00, davej@redhat.com [AGPGART] Fix typo. From: Joern Heissler Signed-off-by: Dave Jones ChangeSet@1.1982.98.10, 2005-03-02 11:59:41-08:00, stefan@desire.ch [PATCH] I2C: fix for fscpos voltage values Multiplied the voltage multipliers by 10 in order to comply with the sysfs guidelines. Signed-off-by: Stefan Ott Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.9, 2005-03-02 11:58:47-08:00, greg@kroah.com [PATCH] I2C: just delete the id field, let's not delay it any longer Becides, sparse keeps complaining when it sees this attribute within a structure... Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.8, 2005-03-02 11:58:29-08:00, khali@linux-fr.org [PATCH] I2C: Kill i2c_client.id (5/5) > (5/5) Documentation update. Finally, updates are required to the i2c/writing-client and i2c/porting-client documents. Remove any reference to i2c_client id and invite porters to discard that struct member. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.7, 2005-03-02 11:52:48-08:00, khali@linux-fr.org [PATCH] I2C: Kill i2c_client.id (4/5) > (4/5) Deprecate i2c_client.id. Now that i2c_client.id has no more users in the kernel (none that I could find at least) we could remove that struct member. I however think that it's better to only deprecate it at the moment, in case I missed users or any of the other patches are delayed for some reason. We could then delete the id member definitely in a month or so. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.6, 2005-03-02 11:52:31-08:00, khali@linux-fr.org [PATCH] I2C: Kill i2c_client.id (3/5) (3/5) Stop using i2c_client.id in misc drivers. Affected drivers: * acorn/char/pcf8583 * acorn/char/i2c * i2c/i2c-dev * macintosh/therm_windtunnel * sound/oss/dmasound/dac3550a * sound/ppc/keywest The Acorn pcf8583 driver would give the i2c_client id the same value as the i2c_driver id, and later test that client id (in i2c). I changed it to test the client's driver id instead. The result is the same and the client id is then useless and can be removed. All other drivers here would allocate the client id to some value and then never use it. They are unaffected by the change. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.5, 2005-03-02 11:52:15-08:00, khali@linux-fr.org [PATCH] I2C: Kill i2c_client.id (2/5) (2/5) Stop using i2c_client.id in media/video drivers. Affected drivers: * adv7170 * adv7175 * bt819 * bt856 * bttv * cx88 * ovcamchip * saa5246a * saa5249 * saa7110 * saa7111 * saa7114 * saa7134 * saa7185 * tda7432 * tda9840 * tda9875 * tea6415c * tea6420 * tuner-3036 * vpx3220 Most drivers here would include the id as part of their i2c client name (e.g. adv7170[0]). This looks more like an habit than something really needed, so I replaced the various printf by strlcpy, which should be slightly faster. As said earlier, clients can be differenciated thanks to their bus id and address if needed, so I don't think that including this information in the client name is wise anyway. Other drivers would either set the id to -1 or to a unique value but then never use it. These drivers are unaffected by the changes. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.4, 2005-03-02 11:51:51-08:00, khali@linux-fr.org [PATCH] I2C: Kill i2c_client.id (1/5) (1/5) Stop using i2c_client.id in i2c/chips drivers (mostly hardware monitoring drivers). Drivers affected: * adm1021 * adm1025 * adm1026 * adm1031 * ds1621 * fscher * gl518sm * isp1301_omap * lm75 * lm77 * lm80 * lm83 * lm85 * lm87 * lm90 * max1619 * pcf8574 * pcf8591 * rtc8564 * smsc47m1 * w83l785ts The vast majority of these drivers simply defined the i2c_client id struct member but never used it, so they are not affected at all by the change. Exceptions are: * lm85 and rtc8564, which would at least display the id in a debug message when assigning it. Not really useful though, as the id was then never used. * adm1026, which used the assigned id in all driver messages. However, since dev_* calls will append the bus number and client address to these messages, the id information is redundant and can go away. Also, the driver would allow some GPIO reprogramming on the first client only (id=0) and removing the id doesn't allow that anymore. I would restore a similar functionality if needed, but the ADM1026 chip is found on very few motherboards and none of these has more than one ADM1026 chip AFAIK, so it doesn't seem to be worth the effort. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.3, 2005-03-02 11:51:21-08:00, greg@kroah.com [PATCH] I2C: Fix up some build warnings in the fscpos driver. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.98.2, 2005-03-02 11:50:10-08:00, khali@linux-fr.org [PATCH] I2C: Allow it87 pwm reconfiguration Quoting myself: > As soon as you will have confirmed that everything worked as expected, > Jonas and I will provide a patch adding a pwm polarity reconfiguration > module parameter for you to test. This should give you access to the > PWM features of your it87 chip again, but in a safe way for a change > ;) Here comes this patch. The new "fix_pwm_polarity" module parameter allows one to force the it87 chip reconfiguration. This is only supported in the case the original PWM configuration is suspected to be bogus, and only if we think that reconfiguring the chip is safe. I wish to thank Rudolf Marek and Jonas Munsin again for their testing and review of my code. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.7, 2005-03-02 19:16:04+00:00, rmk@flint.arm.linux.org.uk [ARM] Unuse scsi host->base This eliminates the final usage of deprecated elements in scsi_host by Acorn SCSI drivers. Signed-off-by: Russell King ChangeSet@1.1982.98.1, 2005-03-02 11:04:17-08:00, stefan@desire.ch [PATCH] I2C: add fscpos chip driver This patch against 2.6.11-rc1 contains a driver for fscpos sensors. Signed-off-by: Stefan Ott Signed-off-by: Greg Kroah-Hartman ChangeSet@1.1982.97.6, 2005-03-02 18:50:36+00:00, rmk@flint.arm.linux.org.uk [ARM] SCSI: Move host->dma_channel to info->scsi.dma Signed-off-by: Russell King ChangeSet@1.1982.97.5, 2005-03-02 17:28:15+00:00, rmk@flint.arm.linux.org.uk [ARM] Don't use host->irq Signed-off-by: Russell King ChangeSet@1.1982.97.4, 2005-03-02 16:56:54+00:00, rmk@flint.arm.linux.org.uk [ARM] Acorn SCSI: Ensure iomem pointers are marked as such. Signed-off-by: Russell King ChangeSet@1.1982.97.3, 2005-03-02 16:07:18+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix sparse warnings in ARM IDE drivers. Signed-off-by: Russell King ChangeSet@1.1982.97.2, 2005-03-02 15:32:02+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix set_fiq_regs()/get_fiq_regs() Make these "naked" functions. This allows us to eliminate the clobbers which later gcc versions complain about. Signed-off-by: Russell King ChangeSet@1.1982.97.1, 2005-03-02 15:09:38+00:00, rmk@flint.arm.linux.org.uk [ARM] Update syscall table Add demultiplexed socket and ipc syscalls. Add key syscalls. Leave the new numbers for the demultiplexed socket and ipc syscalls commented out in asm-arm/unistd.h for the time being. Signed-off-by: Russell King ChangeSet@1.1982.96.6, 2005-03-01 23:35:15-08:00, torvalds@ppc970.osdl.org Linux 2.6.11 TAG: v2.6.11