ChangeSet@1.2455, 2004-11-03 20:13:58-08:00, paulus@samba.org [PATCH] PPC64 mmu_context_init needs to run earlier Using idr_get_new_above in init_new_context lets us get rid of an awkward init function which wasn't running early enough in boot anyway. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.2449.2.1, 2004-11-03 16:04:55-08:00, Andries.Brouwer@cwi.nl [PATCH] avoid semi-infinite loop when mounting bad ext2 The routine ext2_readdir() will, when reading a directory page returns an error, try the next page, without reporting the error to user space. That is bad, and the patch below changes that. In my case the filesystem was damaged, and ext2_readdir wanted to read 60000+ pages and wrote as many error messages to syslog ("attempt to access beyond end"), not what one wants. [no doubt a similar patch is appropriate for ext3] ChangeSet@1.2449.1.16, 2004-11-03 15:55:22-08:00, Matt_Domsch@dell.com [NET]: Zero out SIOCGIFHWADDR buffer if dev->addr_len is zero. This preserves 2.4.x behavior. Signed-off-by: David S. Miller ChangeSet@1.2449.1.15, 2004-11-03 15:42:09-08:00, herbert@gondor.apana.org.au [NET]: Neighbour table entries counter needs to be atomic_t It is updated outside of locks, so... Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2449.1.14, 2004-11-03 15:34:53-08:00, herbert@gondor.apana.org.au [NETLINK]: Hash sockets by pid if not multicast. Collaborative work between David S. Miller and Herbert Xu. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2453, 2004-11-03 14:46:01-08:00, nigel.croxon@hp.com [IA64-HP] Fix for bits_wanted in sba_iommu.c bits_wanted is expanded to bytes using the wrong shift value (when iovp_shift != PAGE_SHIFT), resulting in an explosion of used iommu resources. This potentially results in mistakenly running out of DMA mapping resources when the system is under *heavy* i/o load. Signed-off-by: Nigel Croxon Signed-off by: Alex Williamson Signed-off-by: Tony Luck ChangeSet@1.2449.1.13, 2004-11-03 14:42:14-08:00, davem@nuts.davemloft.net [GNET_STATS]: Export gnet_stats_start_copy_compat to modules. Signed-off-by: David S. Miller ChangeSet@1.2449.1.11, 2004-11-03 14:05:33-08:00, tgraf@suug.ch [PKT_SCHED]: cls_*: use tcf_police_dump_stats to dump via new gnet_stats API Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.10, 2004-11-03 14:04:42-08:00, tgraf@suug.ch [PKT_SCHED]: police: use gnet_stats for old policer stats Transforms old policer to use generic statistic via TCA_STATS2 and maintain backward compatibility via TCA_STATS. Adds a new API for classifiers to invoke the dumping process. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.9, 2004-11-03 14:03:58-08:00, tgraf@suug.ch [PKT_SCHED]: police: use gnet_stats for action policer stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.8, 2004-11-03 14:03:22-08:00, tgraf@suug.ch [PKT_SCHED]: pedit: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.7, 2004-11-03 14:02:45-08:00, tgraf@suug.ch [PKT_SCHED]: mirred: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.6, 2004-11-03 14:02:10-08:00, tgraf@suug.ch [PKT_SCHED]: ipt: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.5, 2004-11-03 14:01:32-08:00, tgraf@suug.ch [PKT_SCHED]: gact: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2449.1.4, 2004-11-03 14:00:45-08:00, tgraf@suug.ch [PKT_SCHED]: tcf_action: copy generic stats via TCA_ACT_STATS Dumps the statistic common to all action modules via the newly introduced TLV type TCA_ACT_STATS in tcf_action_copy_stats but allows the corresponding module to dump its own statistic by implementing the get_stats callback. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2452, 2004-11-03 13:42:30-08:00, tony.luck@intel.com [IA64-SGI] Do not disable interrupts in ia64_sn_plat_specific_err_print ia64_sn_plat_specific_err_print() ends up calling vfree() which requires IPI which can deadlock if interrupts are disabled. Do not disable interrupts in ia64_sn_plat_specific_err_print(). Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2451, 2004-11-03 13:38:37-08:00, tony.luck@intel.com [IA64] implement pcibios_resource_to_bus and pcibios_bus_to_resource Patch from Matthew Wilcox: Since some ia64 platforms have non-identity-mapped PCI busses, we need to implement pcibios_resource_to_bus and pcibios_bus_to_resource. Also clean up some >80 column comments and delete an unnecessary parameter to pcibios_fixup_device_resources(). Signed-off-by: Tony Luck ChangeSet@1.2449.1.3, 2004-11-03 12:38:16-08:00, tommy.christensen@tpack.net [NET]: Move local_bh_enable back in dev_queue_xmit Based upon a patch from Herbert Xu: > Hi Ingo: > > Your recent fix to dev_queue_xmit moved the local_bh_disable to > include stuff like skb_linearize and skb_checksum_help. These > are potentially expensive operations. Since they don't need to > run with preempt off, we could simply move the local_bh_enable > up instead. No, this breaks the normal return path. How about this instead? Signed-off-by: Tommy S. Christensen Signed-off-by: David S. Miller ChangeSet@1.2449.1.2, 2004-11-03 12:20:22-08:00, herbert@gondor.apana.org.au [TCP]: Modular ipv6 support in tcpdiag This patch allows tcpdiag to support ipv6 work as a module when itself is also a module. I was planning for a more extensible method but now I think the effort would be better directed at a new generic socket netlink interface than the TCP-specific tcpdiag. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2449.1.1, 2004-11-03 11:56:25-08:00, yoshfuji@linux-ipv6.org [IPV6]: Do not purge default routes by RA. Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.2449, 2004-11-02 21:19:32-08:00, benh@kernel.crashing.org [PATCH] atyfb: Fix power management The new atyfb has the return value for the Power Management routine wrong. This prevents sleep from working on PowerBooks with mach64 video chips. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2448, 2004-11-02 19:28:23-08:00, benh@kernel.crashing.org [PATCH] fbdev: workaround for broken X servers XFree (and X.org) has both always been broken in their conversion of the DPMS blanking mode when passing to the kernel ioctl FBIOBLANK (in fbdev mode). This patch makes sure that at least the value passed by userland stays in the legal range, which has the side effect that an X DPMS POWERDOWN request will result as an fbdev VESA_POWERDOWN request at the fbdev level now, instead of an out-of-range value. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2447, 2004-11-02 17:36:57-08:00, matthew@wil.cx [PATCH] parisc: checksum improvements Small tweaks to the checksumming routines Fix a corner case in csum_partial Committed-by: Randolph Chung ChangeSet@1.2446, 2004-11-02 17:36:41-08:00, matthew@wil.cx [PATCH] parisc: superio cleanup Superio cleanup Committed-by: Grant Grundler ChangeSet@1.2445, 2004-11-02 17:36:24-08:00, matthew@wil.cx [PATCH] parisc: fix security hole The default interruption handler "handle_interruption" does not properly check to see if the faulting space is the same as the users space. The problem lies in the fact that if a fault happens on the gateway we will not deliver signals to the process, the process will not die, and we may continue handling the same fault in a loop forever. Any malicious user code can crash the kernel by jumping into the gateway page at an inopportune address. The solution is to check if the user has the right privilege and if the spaces match, both faulting and currently active. The best action is to force the process back to it's own space of execution at address zero, and let it take a SIGSEGV. The process can never recover from this because it happens immediately after the return from the interrupt via rfi or rfir. Committed-by: Carlos O'Donell ChangeSet@1.2444, 2004-11-02 17:36:08-08:00, matthew@wil.cx [PATCH] parisc: new syscalls Add new syscalls: tkill, waitid, fadvise64_64, set_tid_address, tgkill, mbind, [sg]et_mempolicy, {,l,f}{set,get,list,remove}xattr, timer_{create,settime,gettime,getoverrun,delete}, clock_{settime,gettime,getres,nanosleep} Committed-by: Matthew Wilcox ChangeSet@1.2443, 2004-11-02 17:35:56-08:00, matthew@wil.cx [PATCH] parisc: fix PTRACE_GETEVENTMSG PTRACE_GETEVENTMSG was not 64-bit clean, fix it Committed-by: Randolph Chung ChangeSet@1.2442, 2004-11-02 17:35:42-08:00, matthew@wil.cx [PATCH] parisc: remove lcopy_*_user remove the now unused lcopy_*_user routines Committed-by: Randolph Chung ChangeSet@1.2441, 2004-11-02 17:35:23-08:00, matthew@wil.cx [PATCH] parisc: Stop exporting the old memcpy symbols Stop exporting the old memcpy symbols Committed-by: Randolph Chung ChangeSet@1.2440, 2004-11-02 17:35:08-08:00, matthew@wil.cx [PATCH] parisc: dump the stack on a BUG() dump the stack on a BUG() Committed-by: Randolph Chung ChangeSet@1.2439, 2004-11-02 17:34:57-08:00, matthew@wil.cx [PATCH] parisc: register cpus with sysfs register cpus with sysfs Committed-by: Randolph Chung ChangeSet@1.2438, 2004-11-02 17:34:40-08:00, matthew@wil.cx [PATCH] parisc: new memcpy routines - new memcpy routine, replaces memcpy, bcopy, copy_{from,to,in}_user implementations - workaround gcc-3.0 limitations for asm() - Pip and Rufus pointed out the flaw in the current misaligned memcopy routines. Randolph now owes lots of Milk bones. - updates to work with testsuite - sparse annotations - Improve copy performance for small and unaligned copies - Enable merge optimization for non-PA20 builds too Committed-by: Randolph Chung Committed-by: James Bottomley ChangeSet@1.2437, 2004-11-02 17:34:21-08:00, matthew@wil.cx [PATCH] parisc: fix CONFIG_DISCONTIGMEM support fix CONFIG_DISCONTIGMEM support Committed-by: Randolph Chung ChangeSet@1.2436, 2004-11-02 17:34:05-08:00, matthew@wil.cx [PATCH] parisc: Fix LBA/SBA bugs - Fix Astro/Elroy LMMIO space reporting in /proc/iomem. - Output in /proc/iomem include PCI bus number and "Extra LMMIO" range. - LBA now reports proper addresses routed down from SBA. - add mercury_cfg_ops. This fixes the tg3 init delay problem. PDC took ~20ms per PCI cfg write. tg3 performs ~1600 writes (~30 seconds per NIC) during init. Alternative is the relocate PDC to host ram. But that would burn ~4MB of RAM. This is cheaper. - add PCI_F_EXTEND to asm/pci.h - replaces private definitions Committed-by: Grant Grundler ChangeSet@1.2435, 2004-11-02 17:33:53-08:00, matthew@wil.cx [PATCH] parisc: Add memory clobber to userspace syscall wrapper Add memory clobber to userspace syscall wrapper provided by kernel, this matches glibc definition. Committed-by: Carlos O'Donell ChangeSet@1.2434, 2004-11-02 17:33:36-08:00, matthew@wil.cx [PATCH] parisc: export global fixup routines export global fixup routines Committed-by: Randolph Chung ChangeSet@1.2433, 2004-11-02 17:33:20-08:00, matthew@wil.cx [PATCH] parisc: use fixups for exception support Revamp exceptions support to use fixup sections Committed-by: Randolph Chung ChangeSet@1.2424.6.55, 2004-11-02 15:14:15-08:00, colin@colino.net [PATCH] therm_adt746x: gradually change fan speed and start both fans on Albooks Here's the patch that supercedes the one I asked you to drop. It changes the fan speed logic so that the fans will go incrementally fast instead of using just two steps. Also, it starts and stops both fans instead of just one on Powerbooks 15" and 17" (functionality asked by most of the Albooks users on Debian's ML, and justified by the fact that fan 1 and fan 2 do not correspond to CPU and GPU, as we previously thought). Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.54, 2004-11-02 15:13:59-08:00, rmk+lkml@arm.linux.org.uk [PATCH] saa7111.c: fix VIDEO_MODE_SECAM VIDEO_MODE_SECAM was incorrectly writing the contents of cached register 14 back to hardware register 8, rather than using cached register 8. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.53, 2004-11-02 15:13:42-08:00, jbarnes@engr.sgi.com [PATCH] document mmiowb and readX_relaxed a bit more in deviceiobook.tmpl This is a small patch to deviceiobook.tmpl to describe the new mmiowb routine a bit more completely. I've also updated it to provide pointers to drivers that do write flushing, use mmiowb, and use the readX_relaxed routines. Acked-by: Grant Grundler Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.52, 2004-11-02 15:13:26-08:00, james4765@gmail.com [PATCH] floppy: Updates to Documentation/floppy.txt Cleanup and update to Documentation/floppy.txt. Fix one incorrect option in listing. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.51, 2004-11-02 15:13:14-08:00, james4765@gmail.com [PATCH] computone: MAINTAINERS update Update status of Computone Intelliport driver in MAINTAINERS. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.50, 2004-11-02 15:12:58-08:00, james4765@gmail.com [PATCH] computone: Documentation/computone.txt update Minor cleanup and status update to Documentation/computone.txt. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.49, 2004-11-02 15:12:40-08:00, james4765@gmail.com [PATCH] digiecpa MAINTAINERS update Update status of digiecpa driver in MAINTAINERS. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.48, 2004-11-02 15:12:24-08:00, james4765@gmail.com [PATCH] Documentation/digiecpa.txt update Update status of digiecpa driver & fix broken links in Documentation/digiecpa.txt. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.47, 2004-11-02 15:12:12-08:00, james4765@gmail.com [PATCH] MAINTAINERS update Fix reference to digiboard maintenance status - the digiecpa driver obsoleted the original driver. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.46, 2004-11-02 15:11:56-08:00, james4765@gmail.com [PATCH] Documentation/00-INDEX.txt update Remove reference to to-be-deleted file in Documentation/00-INDEX. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.45, 2004-11-02 15:11:39-08:00, james4765@gmail.com [PATCH] Documentation/digiboard.txt update Remove obsolete Documentation/digiboard.txt file - driver was obsoleted by the digiecpa driver. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.44, 2004-11-02 15:11:23-08:00, bjorn.helgaas@hp.com [PATCH] HPET init/add fixes Cleanup/bugfix HPET driver: - hpet_init() could return failure with driver still registered with ACPI - driver add() functions were marked __init, but can be called any time until driver is unregistered (not a real problem until HPETs can be hotplugged) - time interpolator registration now done in driver add() path, so we can support removal of HPETs someday - physical MMIO address should be printed, not ioremapped address Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.43, 2004-11-02 15:11:12-08:00, miles@gnu.org [PATCH] v850: signal handling race fix Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.42, 2004-11-02 15:10:56-08:00, miles@gnu.org [PATCH] v850: Fix misnamed variable in ptrace.c Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.41, 2004-11-02 15:10:44-08:00, miles@gnu.org [PATCH] v850: Add __param linker section Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.40, 2004-11-02 15:10:28-08:00, miles@gnu.org [PATCH] v850: Add definitions for memcpy_fromio and memcpy_toio Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.39, 2004-11-02 15:10:10-08:00, miles@gnu.org [PATCH] v850: Work around include-definition-loop problem in Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.38, 2004-11-02 15:09:54-08:00, penberg@cs.helsinki.fi [PATCH] radeonfb: more initializer fixes Use 8-bit palette entries for radeonfb and avoid zero-initialization as suggested by Geert Uytterhoeven. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.37, 2004-11-02 15:09:42-08:00, dhowells@redhat.com [PATCH] key management: fix locking problem and move __key_check() out of line The attached patch fixes a locking problem in key_lookup() and moves __key_check() out of line. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.36, 2004-11-02 15:09:24-08:00, akpm@osdl.org [PATCH] ext3_bread() cleanup - remove unused local - whitespace - put_bh() is faster than brelse() Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.35, 2004-11-02 15:09:08-08:00, aia21@cam.ac.uk [PATCH] fs/buffer.c exports for NTFS I renamed the functions to more descriptive names: create_buffers -> alloc_page_buffers __set_page_buffers -> attach_page_buffers And I added a EXPORT_SYMBOL_GPL for alloc_page_buffers and made attach_page_buffers static inline and moved it to . Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.34, 2004-11-02 15:08:56-08:00, shemminger@osdl.org [PATCH] rd: convert to module_param and add module alias Convert Ramdisk block device to module_param to get rid of warning. Add module alias to cause correct autoloading. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.33, 2004-11-02 15:08:40-08:00, shemminger@osdl.org [PATCH] loop: convert to module_param Convert loopback device to new module_param to get rid of warning. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.32, 2004-11-02 15:08:24-08:00, aherrman@de.ibm.com [PATCH] s390: make zfcp compile again. Make zfcp compile again after the SPI-5 constants and the interface to suspend I/O to scsi devices got added. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.31, 2004-11-02 15:08:07-08:00, takata@linux-m32r.org [PATCH] m32r: remove old ELF relocation types Remove old relocation type definitions from include/asm-m32r/elf.h. These ELF relocations are obsolete and no longer used. * include/asm-m32r/elf.h: - Remove old relocation types. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.30, 2004-11-02 15:07:50-08:00, takata@linux-m32r.org [PATCH] m32r: remove rep_nop() Remove rep_nop() from include/asm-m32r/processor.h, because REP NOP (PAUSE) is a x86 specific instuction. Instead of rep_nop(), barrier() should be used for cpu_relax() as well as other architecuture. * include/asm-m32r/processor.h: - Change not to include "cachectl.h". - Remove rep_nop() and redefine cpu_relax() as barrier(). * arch/m32r/kernel/smpboot.h: - Use cpu_relax() instead of rep_nop(). Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.29, 2004-11-02 15:07:35-08:00, takata@linux-m32r.org [PATCH] m32r: Fix ELF_CORE_COPY_REGS macro to generate a correct "core" file This patch fixes ELF_CORE_COPY_REGS() macro in order to dump register information into "core" files correctly, because both parameters pr_reg and regs are passed as pointers to "elf_gregset_t" and "struct pt_regs", respectively. I've tested it by using a native m32r GNU debugger. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.28, 2004-11-02 15:07:18-08:00, ak@suse.de [PATCH] Add panic blinking to 2.6 This patch readds the panic blinking that was in 2.4 to 2.6. This is useful to see when you're in X that the machine has paniced It addresses previously criticism. It should work now when the keyboard interrupt is off. It doesn't fully emulate the handler, but has a timeout for this case. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.27, 2004-11-02 15:07:02-08:00, ak@suse.de [PATCH] Print real error when initramfs gunzip failed Print the real error when initramfs gunzip failed. gunzip already sets up message correctly. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.26, 2004-11-02 15:06:44-08:00, ak@suse.de [PATCH] x86_64: set -fno-strict-aliasing for early boot code The boot decompressor is miscompiled by recent gcc 4.0s without this patch. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.25, 2004-11-02 15:06:28-08:00, suresh.b.siddha@intel.com [PATCH] x86-64: fix sibling map again Recent x86-64 sibling map fix for clustered mode by James (http://linux.bkbits.net:8080/linux-2.6/cset@414b34a6jkiHQ5AnhA269av76y3ZAw?nav=index.html) is not the recommended way of fixing it. That patch assumes BIOS for non-clustered systems accept the HW assigned value. Why make this assumption when we can fix it in a better fashion(which is also used by x86 kernel's today) Basically use HW assigned apic_id's(returned by cpuid) for non clustered systems and for clustered use BIOS provided apic_id's. Appended patch does this. Note: Similar issue was earlier disussed in context of x86 approx an year back and James then backed out his changes. http://www.ussg.iu.edu/hypermail/linux/kernel/0312.2/0167.html Signed-off-by: Suresh Siddha Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.24, 2004-11-02 15:06:11-08:00, ak@suse.de [PATCH] x86_64: Remove bogus __initdata in wakeup path Found by Randy Dunlap Don't mark use_sysenter __initdata, it is used on suspend Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.23, 2004-11-02 15:05:55-08:00, long.pu@intel.com [PATCH] x86_64: Use compat readdir and aio functions This patch replaced some sys32 syscall functions of X86_64 with the corresponding compat version. Signed-off-by: Pu Long Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.22, 2004-11-02 15:05:36-08:00, ak@suse.de [PATCH] x86_64: Fallback to swiotlb for dma_alloc_coherent From: Suresh B Siddha Coresponding change to IA64 code is in, so this can be merged too. - fallback to swiotlb for consistent DMA mappings - fix a memory leak in dma_alloc_coherent Signed-off-by: Suresh Siddha Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.21, 2004-11-02 15:05:20-08:00, ak@suse.de [PATCH] x86_64: Auto enable HPET on Summit From: James Cleverdon Switch to HPET timer automatically mode on Summit 2 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.20, 2004-11-02 15:05:08-08:00, ak@suse.de [PATCH] x86_64: Fix setup asm constraints Fix some asm constraints in setup. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.19, 2004-11-02 15:04:51-08:00, ak@suse.de [PATCH] x86_64: Add 32bit quota support [untested, but other 64bit ports seem to get away with it] sys_quotactl seems to be 32/64bit clean, enable it for 32bit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.18, 2004-11-02 15:04:35-08:00, ak@suse.de [PATCH] x86_64: Poison initdata Due to popular request Unconditionally poison __init code after bootup. Poison initdata too. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.17, 2004-11-02 15:04:23-08:00, ak@suse.de [PATCH] x86_64: Don't wait on panic Don't wait for a response from other CPUs on panic Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.16, 2004-11-02 15:04:07-08:00, ak@suse.de [PATCH] x86_64: add nmi button support Ported from i386 Support a sysctl to raise an oops with an NMI Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.15, 2004-11-02 15:03:56-08:00, ak@suse.de [PATCH] x86_64: Fix CONFIG_X86_MCE Fix CONFIG_X86_MCE to really enable/disable the MCE code Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.14, 2004-11-02 15:03:40-08:00, ak@suse.de [PATCH] x86_64: Fix make all From: Olaf Hering make all fails while building a helper app: arch/x86_64/boot/tools/build.c:36:22: asm/boot.h: No such file or directory This patch fixes it for me. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.13, 2004-11-02 15:03:23-08:00, ak@suse.de [PATCH] x86_64: Fix some readl/writel warnings Fix lots of readl/writel warnings in arch/x86_64 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.12, 2004-11-02 15:03:07-08:00, ak@suse.de [PATCH] x86_64: flex mmap patch for x86-64 From: Arjan van de Ven Do flex mmap for x86-64. mmaps will grow down in the address space now instead of up. Patch has 2 parts; the generic strategy selection, and code to make a correct TASK_SIZE . the later may be fixed in your tree already in which case it's redundant. Modified by AK to apply to 64bit processes too. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.11, 2004-11-02 15:02:49-08:00, ak@suse.de [PATCH] x86_64: Add early exception handler Add an early exception handler on x86-64 to get better debugging output for crashes before traps_init. Requires earlyconsole. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.10, 2004-11-02 15:02:29-08:00, ak@suse.de [PATCH] x86_64: Fix e820 overflow. Originally from Venkatesh Pallipadi for i386 An e820 map with more than 18 entries would overflow into the EDID area in the zero page. Fix this. This is a x86-64 port of Venka's i386 version. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.9, 2004-11-02 15:02:12-08:00, ak@suse.de [PATCH] x86_64: Defconfig update Update defconfig At the request of willy: add UHCI Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.8, 2004-11-02 15:01:56-08:00, ak@suse.de [PATCH] x86_64: Fix compat_timer_t Fix type of compat_timer_t Pointed out by Matthew Wilcox Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.7, 2004-11-02 15:01:43-08:00, ak@suse.de [PATCH] x86_64: Report SSE3 on AMD CPUs From: Mark Langsdorf Report SSE3 on AMD CPUs in /proc/cpuinfo Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.6, 2004-11-02 15:01:27-08:00, ak@suse.de [PATCH] x86_64: Update cpuid feature tables. Add missing AMD CPUID feature bits. Fix wrong definition for AMD HTVALID flag. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.5, 2004-11-02 15:01:08-08:00, yanmin.zhang@intel.com [PATCH] x86_64: Fix 32bit aio setup Kernel 2.6.9-rc3-mm3 has a bug in function sys32_io_setup in file arch/x86_64/ia32/sys_ia32.c. Local variable ctx64 is not initiated before sys32_io_setup calls sys_io_setup. If ctx64 is not zero, and sys_io_setup will return -EINVAL. Generic function compat_sys_io_setup has not the bug. Here is the patch against 2.6.9-rc3-mm3. Just use compat_sys_io_setup to replace sys32_io_setup. Signed-off-by: Zhang Yanmin Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.4, 2004-11-02 15:00:52-08:00, trini@kernel.crashing.org [PATCH] ppc32: fix early request_irq Here's a patch which backs out the fix Randy Vinson came up with, and makes i8259_init() and openpic_hookup_cascade() use setup_irq (tested on LoPEC). This also converts the rest of the request_irq callers that were expecting the old behavior (psurge SMP, chrp xmon, 85xx, some 82xx). This is more untested, but looks correct. I've left 8xx alone in this as it needs other changes before it would make sense. Signed-off-by: Tom Rini Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.3, 2004-11-02 15:00:40-08:00, mporter@kernel.crashing.org [PATCH] ppc32: 40x and Book E debug: 4xx platform support This patch adds support to the 40x and 44x platform code for initializing debug events and using the in-kernel kgdb stub. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.2, 2004-11-02 15:00:23-08:00, mporter@kernel.crashing.org [PATCH] ppc32: 40x and Book E debug: core support This patch updates the 40x and Book E Debug exception handling paths to handle kernel space debug events. It also fixes up the in-kernel ppc32 kgdb stub to work properly. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2424.6.1, 2004-11-02 15:00:11-08:00, peterc@gelato.unsw.edu.au [PATCH] standalone sys_ni.c for not-implemented syscalls Sticking the not-implemented syscall stuff in sys.c is a pain because the cond_syscall()s explode when certain prototypes are in scope. And we need those prototypes' header files for the C code in sys.c. Fix all that up by moving all the sys_ni_syscall code into its own .c file. Signed-off-by: Peter Chubb Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2344.3.17, 2004-11-02 22:44:07+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Fix PPC64 for recent serial changes - linux/8250.h is replaced by linux/serial_8250.h - we now pass serial port information via a platform device. ChangeSet@1.2430, 2004-11-02 22:23:03+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2190/1: S3C2410 - fix compile for S3C2440 CPUs Patch from Ben Dooks Fixes mis-labelled timer variables, and incldes the clock header to allow the code to compile. This was not caught on previous rounds as all the s3c2440 machine support is pending the finalisation of the new s3c2440 uart driver (arriving soon) Signed-off-by: Ben Dooks ChangeSet@1.2429, 2004-11-02 22:13:54+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2189/1: S3C2410 - select pclk as source for timer if none specified for machine Patch from Ben Dooks Select the PCLK based TIMER4 to provide the system timer tick if there is no machine specific timer setup specified. This should make it easier to add new machines, as well as cut down on the code required in time.c when they are added. Signed-off-by: Ben Dooks ChangeSet@1.2428, 2004-11-02 22:02:27+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2188/1: Add missing MODULE_LICENSE declaration in PXA Lubbock PCMCIA driver Patch from George G. Davis The Lubbock PCMCIA socket driver, drivers/pcmcia/pxa2xx_lubbock.c, lacks a MODULE_LICENSE declaration. This patch merely adds the missing MODULE_LICENSE declaration to eliminate tainted kernel warnings when this driver is built as a module. I have intentionally not used the Dual MPL/GPL license in this case because 1) current linux-2.6.10-rc1 PXA PCMCIA drivers use only the GPL license, 2) the original source files on which the PXA PCMCIA drivers are based, i.e. the SA11xx PCMCIA drivers, state: "If you wish to allow the use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL." Signed-off-by:: George G. Davis ChangeSet@1.2427, 2004-11-02 21:51:28+00:00, nico@org.rmk.(none) [ARM PATCH] 2187/1: fix lacking capability in pxa_gpio_mode() Patch from Nicolas Pitre This allows to set the default state of GPIOs before they're enabled as output, eliminating spurious level transitions. Signed-off-by: Nicolas Pitre ChangeSet@1.2424.1.47, 2004-11-02 13:23:01-08:00, tony.luck@intel.com [IA64] promote configs/generic_defconfig to defconfig arch/ia64/defconfig should be one that is usable by the largest cross-section of the ia64 community. Replace old version with an updated version of generic_defconfig. Change suggested by Jesse Barnes. Signed-off-by: Tony Luck ChangeSet@1.2424.1.46, 2004-11-02 12:53:10-08:00, tony.luck@intel.com [IA64] tiger_defconfig update for 2.6.10-rc1 Enable MCA_RECOVERY, TMPFS_XATTR, and other miscellaneous config options. Signed-off-by: Tony Luck ChangeSet@1.2424.1.45, 2004-11-02 12:43:50-08:00, jbarnes@sgi.com [IA64-SGI] update sn2_defconfig Update sn2_defconfig to reflect some new options: o enable MCA debugging of more than just TLB errors o enable tmpfs xattr support o enable kernel userspace events o defaults for other new options Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2424.1.44, 2004-11-02 12:39:58-08:00, t-kochi@bq.jp.nec.com [IA64] cleanup CPU drift print This patch skips printing drift information of a cpu where ITC drift information is not supported by SAL. Without this, bogus value (-1ppm) is printed on boot. CPU 1: base freq=200.007MHz, ITC ratio=10/2, ITC freq=1000.035MHz+/--1ppm is now CPU 1: base freq=200.007MHz, ITC ratio=10/2, ITC freq=1000.035MHz Signed-off-by: Takayoshi Kochi Signed-off-by: Tony Luck ChangeSet@1.2424.1.43, 2004-11-02 12:33:20-08:00, steiner@sgi.com [IA64-SGI] Delete unused variable (master_node_bedrock_address) Delete master_node_bedrock_address. It is no longer needed. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2424.1.42, 2004-11-02 12:29:59-08:00, jbarnes@sgi.com [IA64-SGI] move nic_t to asm/sn/types.h Somehow nic_t crept into arch.h. Move it to types.h where it belongs (it depends on u64, so pull in linux/types.h too). Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2424.1.41, 2004-11-02 12:27:31-08:00, jbarnes@sgi.com [IA64-SGI] remove redundant macros This patch removes some redundant nasid conversion macros from arch.h and updates callers to use the version they were defined to instead. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2424.1.40, 2004-11-02 12:23:19-08:00, jbarnes@sgi.com [IA64-SGI] remove duplicate INVALID_* defines from arch.h When I did the sparse stuff, I noticed some duplicate INVALID_* defines. This patch removes one set of them and adds the proper include file to sn_sal.h. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2424.1.38, 2004-11-02 07:50:59-05:00, bzolnier@elka.pw.edu.pl [PATCH] libata PIO bugfix Untested but based on working IDE fix. We need to kmap()/kunmap() the current page not the first page of the scatterlist segment. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Jeff Garzik ChangeSet@1.2344.3.16, 2004-11-02 09:41:48+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Remove two warnings. ChangeSet@1.2344.3.15, 2004-11-02 09:28:41+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Add ALPHA_KLUDGE_MCR from include/linux/serialP.h ChangeSet@1.2344.3.14, 2004-11-02 09:14:25+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Add support for Dell PCI Remote Access Card III. ChangeSet@1.2424.2.6, 2004-11-02 01:17:58-02:00, acme@conectiva.com.br [NET] add missing include to iw_handler.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2424.2.5, 2004-11-02 01:12:53-02:00, acme@conectiva.com.br [NET] add missing include to icmp.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2424.2.4, 2004-11-02 01:08:59-02:00, acme@conectiva.com.br [NET] add missing include to inetdevice.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2424.2.3, 2004-11-02 01:08:21-02:00, acme@conectiva.com.br [NET] add missing include to inet.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2424.4.33, 2004-11-01 17:53:52-08:00, chas@relax.cmf.nrl.navy.mil [ATM]: [drivers] add missing pci_tbl exports (pointed out by Adam ChangeSet@1.2424.4.32, 2004-11-01 17:53:01-08:00, chas@relax.cmf.nrl.navy.mil [ATM]: [ambassador] fix type and printk warning (from Randy Dunlap ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller ChangeSet@1.2424.4.30, 2004-11-01 17:41:19-08:00, mingo@elte.hu [NET]: Fix unbalanced local_bh_enable() in dev_queue_xmit() Signed-off-by: Ingo Molnar Signed-off-by: David S. Miller ChangeSet@1.2424.4.29, 2004-11-01 17:31:20-08:00, shemminger@osdl.org [NETFILTER]: Fix build without INET. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2424.4.28, 2004-11-01 17:20:45-08:00, davem@nuts.davemloft.net [TG3]: Bump driver version and reldate. Signed-off-by: David S. Miller ChangeSet@1.2424.4.27, 2004-11-01 17:19:53-08:00, davem@nuts.davemloft.net [TG3]: Use ioremap_nocache(). Noticed by Andi Kleen. Signed-off-by: David S. Miller ChangeSet@1.2424.4.26, 2004-11-01 17:17:25-08:00, Michael.Waychison@Sun.COM [TG3]: Fix fiber hw autoneg bounces We've recently noticed that the autonegotiation cleanup made a while back (between tg3 3.8 and 3.9) has issues which make the link bounce up and down. I've traced it to be caused by the tg3_timer 1 second work noticing that MAC_STATUS_LNKSTATE_CHANGED was set, which driver would see as the link going down. Upon further inspection, it appears that we don't wait long enough between setting SG_DIG_CTRL and reading the SG_DIG_STATUS for the result. The following patch (from a quasi recent bk tree) makes this code path wait up to 200ms for the link to establish. In my testing, I'm seeing it take around 20ms for the negotiation to complete. I haven't had the chance to test how this patch affects the case where the switch doesn't have autoneg enabled, although I suspect fallback should work correctly. Please consider applying, thanks, Signed-off-by: Mike Waychison Signed-off-by: David S. Miller ChangeSet@1.2424.4.25, 2004-11-01 17:16:17-08:00, herbert@gondor.apana.org.au [XFRM]: Fix build failures without CONFIG_INET Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2424.4.24, 2004-11-01 17:13:12-08:00, arjan@infradead.org [TCP]: Unexport sysctl_tcp_tw_recycle Unexport sysctl_tcp_tw_recycle; nothing is using it in modules (it's quite internal to the ipv4 code after all); as a bonus item it gets rid of an ifdef... Signed-off-by: Arjan van de Ven Signed-off-by: David S. Miller ChangeSet@1.2424.1.37, 2004-11-01 17:03:49-08:00, matthew@wil.cx [PATCH] parisc: Remove isr verification Remove isr verification printf. This is not needed, and was never needed, we always have access to the page if we made it past the security check in traps.c Committed-by: Carlos O'Donell ChangeSet@1.2424.1.36, 2004-11-01 17:03:38-08:00, matthew@wil.cx [PATCH] parisc: remove K_STW_PIC and K_LDW_PIC There is no pure assembly inline syscall for userspace to include. Thus remove the definitions of K_STW_PIC and K_LDW_PIC. Committed-by: Carlos O'Donell ChangeSet@1.2424.1.35, 2004-11-01 17:03:25-08:00, matthew@wil.cx [PATCH] parisc: _raw_write_trylock Need a _raw_write_trylock() for the out of line spinlock code to compile ... nothing in the kernel actually uses this, of course ... Committed-by: James Bottomley ChangeSet@1.2424.1.34, 2004-11-01 17:03:12-08:00, matthew@wil.cx [PATCH] parisc: support get/put_unaligned We need to include asm-generic/uaccess.h for the new get/put_unaligned macros Committed-by: James Bottomley ChangeSet@1.2424.1.33, 2004-11-01 17:03:00-08:00, matthew@wil.cx [PATCH] parisc: signal race fixes Signal race fixes Committed-by: Carlos O'Donell Committed-by: James Bottomley ChangeSet@1.2424.1.32, 2004-11-01 17:02:47-08:00, matthew@wil.cx [PATCH] parisc: fix ptrace Make ptrace work again someone (not naming names) forgot that %cr30 is the *thread* register not the task register. Committed-by: James Bottomley ChangeSet@1.2424.1.31, 2004-11-01 17:02:35-08:00, matthew@wil.cx [PATCH] parisc: better stack traces In parisc_terminate(), do the stack trace from the faulting location instead of from the current (i.e. parisc_terminate()) location. Committed-by: Randolph Chung ChangeSet@1.2424.1.30, 2004-11-01 17:02:22-08:00, matthew@wil.cx [PATCH] parisc: add copyright to sba_iommu add copyright for knaresh - he did initial work for pa8800 support on 2.4 Committed-by: Grant Grundler ChangeSet@1.2424.4.23, 2004-11-01 16:54:05-08:00, tgraf@suug.ch [PKT_SCHED]: cls_u32: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.22, 2004-11-01 16:53:32-08:00, tgraf@suug.ch [PKT_SCHED]: cls_tcindex: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.21, 2004-11-01 16:52:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_rsvp*: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.20, 2004-11-01 16:51:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_route: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.19, 2004-11-01 16:50:40-08:00, arjan@infradead.org [NET]: Unexport call_netdevice_notifiers() Signed-off-by: Arjan van de Van Signed-off-by: David S. Miller ChangeSet@1.2424.4.18, 2004-11-01 16:48:47-08:00, herbert@gondor.apana.org.au [TCP]: Modularize tcpdiag This is the first step in fixing the tcpdiag/modular ipv6 issue. We modularise tcpdiag in the obvious way. Next we can move out the IPv6-specific stuff. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2424.4.17, 2004-11-01 16:47:25-08:00, herbert@gondor.apana.org.au [IPSEC]: Make ah4/esp4/ipcomp depend on INET As it is someone could disable INET and still enable ah4/esp4/ipcomp. This patch adds the dependency on INET to prevent this. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2424.4.16, 2004-11-01 16:46:35-08:00, herbert@gondor.apana.org.au [XFRM]: Move xfrm4_rcv export to its site Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2424.4.15, 2004-11-01 16:44:45-08:00, bunk@stusta.de [SCTP]: Remove an unused function in outqueue.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2424.4.14, 2004-11-01 16:43:22-08:00, hadi@cyberus.ca [PKT_SCHED]: Add iptables action. Signed-off-by: jamal Signed-off-by: David S. Miller ChangeSet@1.2424.4.13, 2004-11-01 16:40:25-08:00, hadi@znyx.com [NETFILTER]: ipt mutex locks access Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2424.4.12, 2004-11-01 16:26:07-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: CONFIG_NET_CLS_IND is not dependant on CONFIG_NET_CLS_ACT Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.11, 2004-11-01 16:24:32-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Break is not enough to stop walking break is not enough to escape from the walking loops, since multiple encapsulated loops are used to traverse the hash tables. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.10, 2004-11-01 16:23:43-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Whitespace/ifdef fixes Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.9, 2004-11-01 16:22:59-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Use generic routines to dump action/policer Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.8, 2004-11-01 16:21:47-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Use generic routines to configure action/policer Adds a new function fw_change_attr using the new generic routines which can be used to change attribute but also to initially set them to avoid duplicated code. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.7, 2004-11-01 16:20:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Cleanup fw_classify Cleans up fw_classify by using the generic routines and adds a additional but unneeded continue to document that an action may overrule the filter's match result. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.6, 2004-11-01 16:20:09-08:00, tgraf@suug.ch [PKT_SCHED]: Add generic classifier routines. Adds generic routines used by classifier to: - bind/unbind to classes - configure action/police/indev - dump action/police Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2424.4.5, 2004-11-01 16:18:10-08:00, bunk@stusta.de [NETFILTER]: Remove an unused function in ipt_tcpmss.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2424.4.4, 2004-11-01 16:17:13-08:00, bunk@stusta.de [AX25]: Remove an unused function in ax25_route.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2424.4.3, 2004-11-01 16:16:33-08:00, bunk@stusta.de [IRDA]: Remove an unused function in net/irda/qos.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2424.4.2, 2004-11-01 16:15:55-08:00, bunk@stusta.de [APPLETALK]: Remove an unused function Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2424.1.29, 2004-11-01 14:30:03-08:00, clameter@sgi.com [PATCH] fix IBM cyclone clock and some cleanup - fix broken IBM cyclone time interpolator support - add support for cyclic timers through an addition of a mask in the timer interpolator structure - Allow time_interpolator_update() and time_interpolator_get_offset() to be invoked without an active time interpolator (necessary since the cyclone clock is initialized late in ACPI processing) - remove obsolete function time_interpolator_resolution() - add a mask to all struct time_interpolator setups in the kernel - Make time interpolators work on 32bit platforms Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds ChangeSet@1.2424.1.28, 2004-11-01 13:06:49-08:00, kay.sievers@vrfy.org [PATCH] take me home, hotplug_path[] Move hotplug_path[] out of kmod.[ch] to kobject_uevent.[ch] where it belongs now. At some time in the future we should fix the remaining bad hotplug calls (no SEQNUM, no netlink uevent): ./drivers/input/input.c (no DEVPATH on some hotplug events!) ./drivers/pnp/pnpbios/core.c ./drivers/s390/crypto/z90main.c Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.27, 2004-11-01 13:06:31-08:00, dtor_core@ameritech.net [PATCH] Driver core: add driver symlink to device Driver core: when binding device to a driver create "driver" symlink in device's directory. Rename serio's "driver" attribute to "drvctl" (write-only) Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.26, 2004-11-01 13:06:02-08:00, kay.sievers@vrfy.org [PATCH] kobject: fix hotplug bug with seqnum On Sat, Oct 30, 2004 at 04:54:29AM +0200, Kay Sievers wrote: > On Sat, Oct 30, 2004 at 02:25:23AM +0200, Kay Sievers wrote: > > On Sat, Oct 30, 2004 at 02:00:45AM +0200, Kay Sievers wrote: > > > On Fri, Oct 29, 2004 at 06:13:19PM -0500, Greg KH wrote: > > > > On Fri, Oct 29, 2004 at 11:28:56PM +0200, Kay Sievers wrote: > > > > > > But there might still be a problem. With this change, the sequence > > > > > > number is not sent out the kevent message. Kay, do you think this is an > > > > > > issue? I don't think we can get netlink messages out of order, right? > > > > > > > > > > Right, especially not the events with the same DEVPATH, like "remove" > > > > > beating an "add". But I'm not sure if the number isn't useful. Whatever > > > > > we may do with the hotplug over netlink in the future, we will only have > > > > > /sbin/hotplug for the early boot and it may be nice to know, what events > > > > > we have already handled... > > > > > > > > > > > I'll hold off on applying this patch until we figure this out... > > > > > > > > > > How about just reserving 20 bytes for the number (u64 will never be > > > > > more than that), save the pointer to that field, and fill the number in > > > > > later? > > > > > > > > Ah, something like this instead? I like it, it's even smaller than the > > > > previous patch. Compile tested only... > > > > > > I like that. How about the following. It will keep the buffer clean from > > > random chars, cause the kevent does not have the vector and relies on > > > the '\0' to separate the strings from each other. > > > I've tested it. The netlink-hotplug message looks like this: > > > > > > recv(3, "remove@/class/input/mouse2\0ACTION=remove\0DEVPATH=/class/input/mouse2\0SUBSYSTEM=input\0SEQNUM=961 \0", 1024, 0) = 113 > > > > Hmm, these trailing spaces are just bad, sorry. I'll better pass the > > envp array over to send_uevent() and clean up the keys while copying > > the env values into the skb buffer. This will make the event payload > > more safe too. So your first version looks better. > > How about this? We copy over key by key into the skb buffer and the > netlink message can get the envp array without depending on a single > continuous buffer. > > The netlink message looks nice like this now: > > recv(3, " > add@/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0\0 > HOME=/\0 > PATH=/sbin:/bin:/usr/sbin:/usr/bin\0 > ACTION=add\0 > DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0\0 > SUBSYSTEM=usb\0 > SEQNUM=991\0 > DEVICE=/proc/bus/usb/003/008\0 > PRODUCT=46d/c03e/2000\0 > TYPE=0/0/0\0 > INTERFACE=3/1/2\0 > ", 1024, 0) = 268 Here is an improved version that uses skb_put() to fill the skb buffer, instead of trimming the buffer to the final size after we've copied over all keys. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.25, 2004-11-01 13:05:43-08:00, dtor_core@ameritech.net [PATCH] Driver core: add driver_probe_device Driver core: rename bus_match into driver_probe_device and export it so subsystems can bind an individual device to a specific driver without getting involved with driver core internals. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.24, 2004-11-01 13:05:24-08:00, dtor_core@ameritech.net [PATCH] Driver core: export device_attach Driver core: make device_attach() global and export it and driver_attach() so subsystems can have finer control over binding process. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.23, 2004-11-01 13:05:06-08:00, akpm@osdl.org [PATCH] Fix deadlocks on dpm_sem From: Paul Mackerras Currently the device_pm_foo() functions are rather prone to deadlocks during suspend/resume. This is because the dpm_sem is held for the duration of device_suspend() and device_resume() as well as device_pm_add() and device_pm_remove(). If for any reason you get a device addition or removal triggered by a device's suspend or resume code, you get a deadlock. (The classic example is a USB host adaptor resuming and discovering that the mouse you used to have plugged in has gone away.) This patch fixes the problem by using a separate semaphore, called dpm_list_sem, to cover the places where we need the device pm lists to be stable, and by being careful about how we traverse the lists on suspend and resume. I have analysed the various cases that can occur and I am confident that I have handled them all correctly. I posted this patch together with a detailed analysis 10 days ago. Signed-off-by Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.22, 2004-11-01 13:04:46-08:00, akpm@osdl.org [PATCH] Possible race in sysfs_read_file() and sysfs_write_file() From: Simon Derr Add a `needs_read_fill' field in sysfs_buffer so that reading after a write in a sysfs file returns valid data. (instead of the data that have been written, that may be invalid or at the wrong offset) Signed-off-by: Simon Derr Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.21, 2004-11-01 13:04:30-08:00, akpm@osdl.org [PATCH] Fix race in sysfs_read_file() and sysfs_write_file() From: Simon Derr - fixes the race between threads by adding a semaphore in sysfs_buffer - allocates the buffer upon call to pread(). We still call again fill_read_buffer() if the file is "rewinded" to offset zero. - fixes the comparison in flush_read_buffer(). Signed-off-by: Simon Derr Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.20, 2004-11-01 13:04:09-08:00, akpm@osdl.org [PATCH] sysfs backing store: stop pinning dentries/inodes for leaf entries From: Maneesh Soni o This patch stops the pinning of non-directory or leaf dentries and inodes. The leaf dentries and inodes are created during lookup based on the entries on sysfs_dirent tree. These leaves are removed from the dcache through the VFS dentry ageing process during shrink dcache operations. Thus reducing about 80% of sysfs lowmem needs. o This implments the ->lookup() for sysfs directory inodes and allocates dentry and inode if the lookup is successful and avoids the need of allocating and pinning of dentry and inodes during the creation of corresponding sysfs leaf entry. As of now the implementation has not required negative dentry creation on failed lookup. As sysfs is still a RAM based filesystem, negative dentries are not of any use IMO. o The leaf dentry allocated after successful lookup is connected to the existing corresponding sysfs_dirent through the d_fsdata field. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.19, 2004-11-01 13:03:53-08:00, akpm@osdl.org [PATCH] sysfs backing store: use sysfs_dirent based tree in dir file operations From: Maneesh Soni o This patch implements the sysfs_dir_operations file_operations strucutre for sysfs directories. It uses the sysfs_dirent based tree for ->readdir() and ->lseek() methods instead of simple_dir_operations which use dentry based tree. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.18, 2004-11-01 13:03:33-08:00, akpm@osdl.org [PATCH] sysfs backing store: use sysfs_dirent based tree in file removal From: Maneesh Soni o This patch uses the sysfs_dirent based tree while removing sysfs files and directories. This avoids holding dcache_lock by not using dentry based vfs tree. Thus simplyfying the removal logic in sysfs. o It uses two helper routines sysfs_get_name(), to get the name for sysfs element and sysfs_drop_dentry() to delete the dentry given a sysfs_dirent. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.17, 2004-11-01 13:03:13-08:00, akpm@osdl.org [PATCH] sysfs backing store - add sysfs_direct structure From: Maneesh Soni o This patch introduces the new sysfs_dirent data structure. The sysfs_dirent is added to the dentry corresponding to each of the element which can be represented in sysfs like, kobject (directory), text or binary attributes (files), attribute groups (directory) and symlinks. o It uses dentry's d_fsdata field to attach the corresponding sysfs_dirent. o The sysfs_dirents are maintained in a tree of all the sysfs entries using the s_children and s_sibling list pointers. o This patch also changes how we access attributes and kobjects in file_operations from a given dentry, basically introducing one more level of indirection. o The sysfs_dirents are freed and the sysfs_dirent tree is updated accordingly upon the deletion of corresponding dentry. The sysfs dirents are kept alive as long as there is corresponding dentry around. The are freed when the dentry is finally out of dcache using the ->d_iput() method. o This also fixes the dentry leaks in case of error paths after sysfs has got a newly alocated (and hashed) dentry from sysfs_get_dentry() by d_drop()'ing the dentry. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.16, 2004-11-01 13:02:55-08:00, akpm@osdl.org [PATCH] fix oops with firmware loading From: Maneesh Soni My fault, a bad typo in fs/sysfs/bin.c. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.15, 2004-11-01 13:02:34-08:00, akpm@osdl.org [PATCH] sysfs backing store - prepare sysfs_file_operations helpers From: Maneesh Soni o The following patch provides dumb helpers to access the corresponding kobject, attribute or binary attribute given a dentry and prepare the sysfs_file_operation methods for using sysfs_dirents. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2424.1.14, 2004-11-01 10:45:41-08:00, matthew@wil.cx [PATCH] parisc: Light-weight syscall support Add light-weight-syscall support to parisc. The first LWS is atomic CAS. Committed-by: Carlos O'Donell ChangeSet@1.2424.1.13, 2004-11-01 10:45:29-08:00, matthew@wil.cx [PATCH] parisc: Add user_space macro Add user_space macro, to determine if we are in a user versus kernel space. Committed-by: Carlos O'Donell ChangeSet@1.2424.1.12, 2004-11-01 10:45:16-08:00, matthew@wil.cx [PATCH] parisc: Initialise restart_block Calling sys_restart_syscall without having taking a signal across a syscall leaves the restart_block uninitialized, allowing malicious user code to crash the kernel. FIX: Define INIT_THREAD_INFO such that restart_block.fn is set to the default do_not_restart_syscall. Committed-by: Carlos O'Donell ChangeSet@1.2424.1.11, 2004-11-01 10:45:04-08:00, matthew@wil.cx [PATCH] parisc: update a500_defconfig Enable SMP on A500 by default Committed-by: Paul Bame ChangeSet@1.2424.1.10, 2004-11-01 10:44:51-08:00, matthew@wil.cx [PATCH] parisc: Fix N-class SMP Fix N class SMP The main fixes are: - memory barriers to our space and control register moves - fix for the N class merced bus problem which can't have more than one PxTLB broadcast outstanding at once - make smp_call_function() wait until the function completes This now boots and runs on a 32MB N4000 in Fort Collins with 2 cpus and discontig mem support. Committed-by: James Bottomley Committed-by: Randolph Chung ChangeSet@1.2424.1.9, 2004-11-01 10:44:39-08:00, matthew@wil.cx [PATCH] parisc: make install Add a make install target Committed-by: Matthew Wilcox ChangeSet@1.2424.1.8, 2004-11-01 10:44:26-08:00, matthew@wil.cx [PATCH] parisc: Kconfig debugging options PA-RISC does have spinlock debugging and doesn't have the frame pointer option. USERMODE had been added twice to spinlock debugging, so remove that. Committed-by: Randolph Chung Committed-by: Matthew Wilcox ChangeSet@1.2424.1.7, 2004-11-01 10:44:13-08:00, matthew@wil.cx [PATCH] parisc: Fix 64-bit linking add some more BL macros and b,l in appropriate places in entry.S to expand the range of our jumps and work around the 64 bit binutils problem where it will allow the jump ranges to go beyond their permitted limits without complaining. Committed-by: James Bottomley ChangeSet@1.2424.1.6, 2004-11-01 10:44:01-08:00, matthew@wil.cx [PATCH] parisc: add HP copyright to perf counters add HP copyright Committed-by: Grant Grundler ChangeSet@1.2424.1.5, 2004-11-01 10:43:48-08:00, matthew@wil.cx [PATCH] parisc: small debug cleanup in power.c small debug cleanup Committed-by: Randolph Chung ChangeSet@1.2424.1.4, 2004-11-01 10:43:36-08:00, matthew@wil.cx [PATCH] parisc: Merge head64.S and head.S Merge head64.S and head.S Cleanup 64-bit sp manipulations Committed-by: Kyle McMartin Committed-by: Randolph Chung ChangeSet@1.2424.3.4, 2004-11-01 18:30:59+01:00, bzolnier@trik.(none) [ide] obsolete "enable DMA by default" config options CONFIG_IDEDMA_PCI_AUTO and CONFIG_IDEDMA_ICS_AUTO Host drivers should deal with broken hardware themselves. Warn if DMA support is enabled but "enable DMA by default" is not. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2424.3.3, 2004-11-01 18:19:16+01:00, bzolnier@trik.(none) [ide] obsolete some command line parameters "hdx=autotune", "hdx=noautotune": * should be handled by host drivers needing them "idex=autotune", "idex=noautotune": * should die "idex=ata66": * should be handled by host drivers needing it "idex=dma": * works only for: cs5220.c, generic.c, hpt366.c, triflex.c * DMA should be used by default "idex=reset", "idex=serialize": * host drivers should set these settings when needed "idex=base[,ctl[,irq]]": * host drivers should auto-detect correct settings * ordering should be controlled by user-space "ide0=four": * should be handled by ide-generic driver Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2424.3.2, 2004-11-01 18:18:35+01:00, bzolnier@trik.(none) [ide] obsolete /proc/ide/hd?/settings Majority of these settings is also available through ioctls. We will deal with the rest during deprecation period. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2424.3.1, 2004-11-01 18:07:10+01:00, bzolnier@trik.(none) [ide] remove more dead ide exports From: Christoph Hellwig Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2424.2.2, 2004-11-01 13:37:28-03:00, acme@conectiva.com.br [NET] add missing include to divert.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2016.1.10, 2004-11-01 17:33:48+01:00, marcel@holtmann.org [Bluetooth] Fix connection hash bug When calling hci_conn_hash_del() the acl_num value is incremented, but it must be decremented. Signed-off-by: Marcel Holtmann ChangeSet@1.2424.2.1, 2004-11-01 12:59:25-03:00, acme@conectiva.com.br [NET] add missing includes and forward decls to filter.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2424.1.2, 2004-11-01 07:41:27-08:00, teanropo@cc.jyu.fi [PATCH] Don't initialize /dev/pg0 to be always busy Without this patch my HP CD-Writer doesn't work. With this applied everything is fine. Signed-off-by: Tero Roponen Signed-off-by: Linus Torvalds ChangeSet@1.2426, 2004-11-01 13:59:40+00:00, matthias@net.rmk.(none) [ARM PATCH] 2183/1: GPIO84:81 for PXA26x defines Patch from Matthias Burghardt Adds bit definitions for PXA26x\'s GPIO lines 81 to 84 and their alternate functions ChangeSet@1.2425, 2004-11-01 13:52:50+00:00, rmk@flint.arm.linux.org.uk [ARM] mtd: update mapping drivers. This updates dc21285.c, integrator-flash.c and sa1100-flash.c map drivers. ChangeSet@1.2344.3.13, 2004-11-01 12:43:22+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_gsc: Convert to use serial8250_{un,}register_port. ChangeSet@1.2344.3.12, 2004-11-01 12:32:48+00:00, janitor@at.rmk.(none) [SERIAL] replace schedule_timeout() with msleep/msleep_interruptible() Use msleep()/msleep_interruptible() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Russell King ChangeSet@1.2344.3.11, 2004-11-01 11:04:38+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Return interrupt handler status. Thomas Koeller points out that we're always returning IRQ_HANDLED from our interrupt handler, even if we find no interrupt work to be done. ChangeSet@1.2424, 2004-10-31 22:13:24-08:00, gerg@snapgear.com [PATCH] m68knommu: checksum.h needs linux/in6.h Need to include linux/in6.h in m68knommu checksum.h to get a clean compile. All other architectures to this too. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2423, 2004-10-31 22:13:12-08:00, gerg@snapgear.com [PATCH] m68knommu: makefile support for new CPU and board types Add build support for new CPU families and boards. Specifically for the 527x ColdFire family, and the generic 528x CPU family. Also made the switch to -O1, gives smaller code on m68k and ColdFire platforms. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2422, 2004-10-31 22:12:59-08:00, gerg@snapgear.com [PATCH] m68knommu: fix do_signal() to properly use get_signal_to_deliver() Completely rework m68knommu do_signal() signal handling code. Changed to use get_signal_to_deliver() properly, and remove un-neccessary local signal type checks. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2421, 2004-10-31 22:12:47-08:00, gerg@snapgear.com [PATCH] m68knommu: clock definitions for 527x ColdFire CPU's Add clock rate definitions for newly support ColdFire 527x family of CPU's. And switch to the generic 528x define for the 5280 and 5282 CPU's. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2420, 2004-10-31 22:12:35-08:00, gerg@snapgear.com [PATCH] m68knommu: fix calculation overflow in udelay() on fast CPU's Re-work the udelay() function. On fast ColdFire CPU's we are overflowing in the calculation and getting totally bogus results. On old 68k and ColdFire CPU's we have no 32*32->64 multiply instruction. So we resort to a mul/shift calculation similar to what ARM uses. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2419, 2004-10-31 22:12:22-08:00, gerg@snapgear.com [PATCH] m68knommu: update syscall definitions to match new syscall table Update the m68knommu system call definitions to match the modified syscall table. This will bring it into line with other architectures. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2418, 2004-10-31 22:12:10-08:00, gerg@snapgear.com [PATCH] m68knommu: new CPU and board options for configuration A few updates to the m68knommu configuration: . Made the Morotola 5280 and 5282 support be a common 528x family . Add support for selecting the 527x ColdFire family (5270/5271/5274/5275) . Add support for selecting Freescale M5271EVB board . Add support for selecting Freescale M5275EVB board . Add support for selecting Sneha CPU16B board . Add support for selecting Feith SCALES and CANCAM boards . Fix some gramatical errors in help lines Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2417, 2004-10-31 22:11:57-08:00, gerg@snapgear.com [PATCH] m68knommu: create real lib udelay() function Create a real non-inlined function for m68knommu udelay(). We can save a little code space this way (and on most uClinux patforms this is a problem). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2416, 2004-10-31 22:11:45-08:00, gerg@snapgear.com [PATCH] m68knommu: new board support nad missing sections for linker script Couple of updates for ther m68knommu linker script. . Add support for the Freescale M5271EVB and M5275EVB boards . Add support for the Sneha CPU16B board . Changes to use the generic 528x define to 5280 and 5282 base boards . Add the missing param section . Align the ramfs section on a 4k (pseudo page size) boundary Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2415, 2004-10-31 22:11:32-08:00, gerg@snapgear.com [PATCH] m68knommu: build real lib udelay() function Build the new m68knommu lib function udelay(). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2414, 2004-10-31 22:11:20-08:00, gerg@snapgear.com [PATCH] m68knommu: update syscall table to be inline with other architectures Update the m68knommu system call table to be in line with all other architectures. There is really no reason this needs to be different from any other architecture. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2413, 2004-10-31 22:11:07-08:00, gerg@snapgear.com [PATCH] m68knommu: new CPU support strings in setup Change 5280 and 5282 CPU support to be generic 528x family. Also add support for the new 527x ColdFire family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2412, 2004-10-31 22:10:54-08:00, gerg@snapgear.com [PATCH] m68knommu: add hardware defines for the ColdFire 527x CPU family Add SIM hardware module definitions for the ColdFire 527x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2411, 2004-10-31 21:50:14-08:00, matthew@wil.cx [PATCH] Use optimised byteswap again Looks like Al's patch to sparsify the byteorder code prevented use of the assembler-optimised code. Not that I can blame him -- three underscores are C-coded and two underscores are assembly-optimised. ChangeSet@1.2352.1.9, 2004-10-31 18:27:44-08:00, davem@nuts.davemloft.net [SPARC64]: Add dummy pci_get_legacy_ide_irq() routine. Signed-off-by: David S. Miller ChangeSet@1.2410, 2004-10-31 16:18:37-08:00, hirofumi@mail.parknet.co.jp [PATCH] FAT: fix VFAT_IOCTL_READDIR_BOTH ioctl If "utf8" option was specified and app uses VFAT_IOCTL_READDIR_BOTH ioctl, utf8_wcstombs() is used. utf8_wcstombs() doesn't add the nul terminate. Then fat_ioctl_filldir() uses a wrong length of name by strlen(). This patch passes the correct length to fat_ioctl_filldir(), and doesn't use nul terminate anymore. Many helps by Alex Villacís Lasso. Thanks. Signed-off-by: OGAWA Hirofumi Signed-off-by: Linus Torvalds ChangeSet@1.2409, 2004-10-31 16:18:23-08:00, hirofumi@mail.parknet.co.jp [PATCH] FAT: remove incorrect BUG_ON() This is valid state if file was accessed by multiple processes at the same time. Signed-off-by: OGAWA Hirofumi Signed-off-by: Linus Torvalds ChangeSet@1.2408, 2004-10-31 16:13:39-08:00, torvalds@ppc970.osdl.org Undo totally broken m68k patch. Note to self: any m68k patch that touches a SMP file is likely not worth it. Cset exclude: geert@linux-m68k.org[torvalds]|ChangeSet|20041101000206|42067 ChangeSet@1.2407, 2004-10-31 16:06:11-08:00, geert@linux-m68k.org [PATCH] m68k: Remove duplicate includes M68k: Remove duplicate includes (from Adrian Bunk) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2406, 2004-10-31 16:05:55-08:00, geert@linux-m68k.org [PATCH] m68k: Sun 3: Fix modular XFS by exporting vmalloc_end Sun 3: Fix modular XFS by exporting vmalloc_end Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2405, 2004-10-31 16:05:41-08:00, geert@linux-m68k.org [PATCH] m68k: Reiserfs: Add missing #include Reiserfs: Add missing #include Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2404, 2004-10-31 16:05:26-08:00, geert@linux-m68k.org [PATCH] m68k: Disable SERIO_I8042 M68k: Disable SERIO_I8042 Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2403, 2004-10-31 16:05:11-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Sun 3x M68k: Add defconfig for Sun 3x (derived from the Debian config for Sun 3) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2402, 2004-10-31 16:04:56-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Sun 3 M68k: Add defconfig for Sun 3 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2401, 2004-10-31 16:04:41-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Q40 and Q60 M68k: Add defconfig for Q40 and Q60 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2400, 2004-10-31 16:04:24-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for MVME162, MVME166, and MVME167 M68k: Add defconfig for MVME162, MVME166, and MVME167 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2399, 2004-10-31 16:04:12-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for MVME147 M68k: Add defconfig for MVME147 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2398, 2004-10-31 16:03:56-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Macintosh M68k: Add defconfig for Macintosh (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2397, 2004-10-31 16:03:40-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for HP9000/300 and HP9000/400 M68k: Add defconfig for HP9000/300 and HP9000/400 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2396, 2004-10-31 16:03:26-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for BVME4000 and BVME6000 M68k: Add defconfig for BVME4000 and BVME6000 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2395, 2004-10-31 16:03:09-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Atari M68k: Add defconfig for Atari (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2394, 2004-10-31 16:02:54-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Apollo M68k: Add defconfig for Apollo (derived from the Debian config for HP9000/300) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2393, 2004-10-31 16:02:36-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Amiga M68k: Add defconfig for Amiga (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2392, 2004-10-31 16:02:22-08:00, geert@linux-m68k.org [PATCH] m68k: Update defconfig for 2.6.9 M68k: Update defconfig for 2.6.9 Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2391, 2004-10-31 16:02:06-08:00, geert@linux-m68k.org [PATCH] m68k: smp_lock.h: Avoid recursive include smp_lock.h: Avoid recursive include Signed-off-by: Roman Zippel Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2390, 2004-10-31 16:01:52-08:00, geert@linux-m68k.org [PATCH] m68k: Add 43 missing syscalls M68k: Add 43 missing syscalls (up to 2.6.9) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2389, 2004-10-31 16:01:36-08:00, geert@linux-m68k.org [PATCH] m68k: MVME167 serial: Replace bottom half handler with task queue handler MVME167 serial: Fix compilation by replacing the bottom half handler with a task queue handler, based on the Cyclades driver (from Kars de Jong) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2388, 2004-10-31 16:01:24-08:00, geert@linux-m68k.org [PATCH] m68k: Sun-3 Makefile: join short multi-line Sun-3 Makefile: join short multi-line Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2387, 2004-10-31 16:01:09-08:00, geert@linux-m68k.org [PATCH] m68k: missing/superfluous config.h M68k: Add missing and remove superfluous #include Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2386, 2004-10-31 16:00:54-08:00, geert@linux-m68k.org [PATCH] m68k: fix incorrect config comment in check_bugs() M68k: Fix incorrect config comment in check_bugs() Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2385, 2004-10-31 16:00:42-08:00, geert@linux-m68k.org [PATCH] m68k: HP300: Convert DIO bus and its drivers to the new driver model HP300: Convert DIO bus and its drivers to the new driver model (from Jochen Friedrich). Signed-off-by: Jochen Friedrich Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2384, 2004-10-31 16:00:29-08:00, geert@linux-m68k.org [PATCH] m68k: hades-pci.c: replace pci_find_device() with pci_get_device() As pci_find_device() is going away I have replaced this call with pci_get_device(). Signed-off-by: Hanna Linder Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2383, 2004-10-31 16:00:13-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 SCSI chip is 98265A HP300: Fix typos in the DIO output. The SCSI chip is a 98265A, not a 98625A. NetBSD has this already fixed. Signed-off-by: Jochen Friedrich Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2382, 2004-10-31 16:00:01-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 config HP300 configuration updates from Kars de Jong: - Updated help for CONFIG_HP300 - DIO support defaults to y - HP DCA support depends on SERIAL_8250 - Added HP APCI option - Removed HP DCA from SERIAL_CONSOLE dependencies Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2381, 2004-10-31 15:59:49-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 8250 serial for DCA and APCI ports Created HP300 8250 driver which supports DCA and APCI ports. Support for APCI is still experimental and unfinished (no support for interrupts). Console support should be okay though (from Kars de Jong) Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2380, 2004-10-31 15:59:36-08:00, geert@linux-m68k.org [PATCH] m68k: M68k I/O for generic 8250 on HP300 M68k I/O updates from Kars de Jong and Jochen Friedrich: - To be able to use the generic 8250 driver on the HP300, added dummy implementations of inb(), inb_p(), outb() and outb_p() - Added implementations of readb(), writeb(), readl(), and writel() for the 8250 driver Signed-off-by: Kars de Jong Signed-Off-By: Jochen Friedrich Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2379, 2004-10-31 15:59:22-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 fb HP300 frame buffer device updates from Kars de Jong: - Updated to use the new DIO semantics - Added support for DIO-II boards - Added support for 8 bit Catseye boards - Fixed colour map support - Added fb_blank() implementation - Added fb_fillrect() implementation - Added fb_sync() implementation Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2378, 2004-10-31 15:59:06-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 LANCE HP300 LANCE updates from Kars de Jong: - Updated HP LANCE driver to use the new DIO semantics - If only HP LANCE or MVME147 LANCE is selected, enable compile-time choice of LANCE register access. If both are defined, go through the function pointer - Added support for CONFIG_NET_POLL_CONTROLLER - Fixed problem with disabling board interrupts in hplance_close() which caused the driver to lock up Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2377, 2004-10-31 15:58:52-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 DIO HP300 DIO bus updates from Kars de Jong: - Removed kludges for internal HPIB, no need to handle it as a DIO device - Removed dio_scodetoviraddr() and introduced dio_scodetophysaddr() instead, to be able to support DIO-II - Removed trailing white space - Changed error return code of dio_find() from 0 to -1, since select code 0 is a valid select code - Added support for DIO-II - Fixed problem with DIO_ENCODE_ID() Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2376, 2004-10-31 15:58:36-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 core updates Update of HP300 core support to use bootinfo etc. (from Kars de Jong) Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2375, 2004-10-31 15:43:56-08:00, matthew@wil.cx [PATCH] parisc: assembly fixes and comments Add comments and references for relied-upon translations Add some extra comment to space_check Add support for prober and probew in our non-access TLB fault emulation path Force sr2 to 0 in syscall_restore Committed-by: Carlos O'Donell ChangeSet@1.2374, 2004-10-31 15:43:42-08:00, matthew@wil.cx [PATCH] parisc: fix HPUX compile problem Fix compile error when HPUX support is enabled Committed-by: Randolph Chung ChangeSet@1.2373, 2004-10-31 15:43:27-08:00, matthew@wil.cx [PATCH] parisc: make __kernel_clock_t long fix __kernel_clock_t definition so that e.g. proper process times are returned to userspace Committed-by: Randolph Chung ChangeSet@1.2372, 2004-10-31 15:43:14-08:00, matthew@wil.cx [PATCH] parisc: make atomic_t 32-bit Make atomic_t an int instead of a long to match the other architectures Committed-by: Matthew Wilcox ChangeSet@1.2371, 2004-10-31 15:43:00-08:00, matthew@wil.cx [PATCH] parisc: remove unused header file Remove unused asm/som.h (Olaf Hering) Committed-by: Matthew Wilcox ChangeSet@1.2370, 2004-10-31 15:42:45-08:00, matthew@wil.cx [PATCH] parisc: register usage documentation update Register usage documentation update Committed-by: Randolph Chung ChangeSet@1.2369, 2004-10-31 15:42:34-08:00, matthew@wil.cx [PATCH] parisc: fix 64-bit gcc 3.3 compiles Remove gcc alias directive to fix gcc-3.3.4 64-bit kernels Committed-by: Carlos O'Donell ChangeSet@1.2368, 2004-10-31 15:42:21-08:00, matthew@wil.cx [PATCH] parisc: debuglock fixes - pdc_printf from Randolph Chung - implement memory barriers in debuglocks Committed-by: Thibaut Varene ChangeSet@1.2367, 2004-10-31 15:42:07-08:00, matthew@wil.cx [PATCH] parisc: spinlock fixes - Fix SMP f_list corruption problem. This was rather subtle. It turns out that gcc was doing a small amount of reordering around the file_lock because it doesn't see our spinlock implementation as being a barrier. To fix this I - Added the appropriate barriers to all the spinlocks. - Removed the atomic opencoded spinlock and redid it as a proper one. SMP now seems stable on a 2xA500 and has survived a 10 hour 35 loop make -j 4 kernel compile without showing any problems (previously, it usually fell over in the first loop). - Since we have one or two users who don't want SMP, make the code base compile for UP again ... - missing parenthesis for pointer dereferencing Committed-by: James Bottomley Committed-by: Thibaut Varene ChangeSet@1.2366, 2004-10-31 15:41:52-08:00, matthew@wil.cx [PATCH] parisc: unwind fixes - fix unwind table search so it works reliably - add special case handling for ret_from_kernel_thread and _switch_to_ret - tidy up the code a bit - Fix sp falling in an unmapped kernel page - Sparse annotations Committed-by: Randolph Chung ChangeSet@1.2365, 2004-10-31 15:41:37-08:00, matthew@wil.cx [PATCH] parisc: arch/parisc/kernel/perf_asm.S Indentation and comment cleanup Committed-by: Grant Grundler ChangeSet@1.2363, 2004-10-31 22:23:36+00:00, rmk@flint.arm.linux.org.uk [ARM] Remove duplicate includes from ARM files. This set of changes came from a larger patch by Adrian Bunk. ChangeSet@1.2362, 2004-10-31 21:44:45+00:00, Liam.Girdwood@com.rmk.(none) [ARM PATCH] 2084/1: PXA SSP, I2S and other misc register defs Patch from Liam Girdwood Adds some PXA register and bit definitions:- o SSP ports o I2S o AC97_SYSCLK (Mainstone) o I2C Alternate function and direction o ASSP and NSSP Clock enables Signed-off-by: Liam Girdwood ChangeSet@1.2361, 2004-10-31 21:36:48+00:00, Liam.Girdwood@com.rmk.(none) [ARM PATCH] 2085/1: PXA SSP driver Patch from Liam Girdwood This patch adds support the PXA250, 255, 26x and 27x SSP ports. It provides a generic core for simple IO-based SSP applications and allows easy port setup for DMA access. Depends on register definitions in patch 2084/1 Signed-off-by: Liam Girdwood ChangeSet@1.2352.1.8, 2004-10-31 13:34:11-08:00, davem@nuts.davemloft.net [SPARC64]: Fix IRQ setting in sunsu serial driver. up->irq was just duplicating up->port.irq so delete the former and only use the latter. We were not initializing up->port.irq so this would cause port shutdown crashes when synchronize_irq() was called. Based upon a bug report and patch from RChan Signed-off-by: David S. Miller ChangeSet@1.2352.1.7, 2004-10-31 13:24:57-08:00, davem@nuts.davemloft.net [SPARC64]: Add __must_check to user copy routines. Signed-off-by: David S. Miller ChangeSet@1.2352.1.6, 2004-10-31 13:20:58-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.2352.1.5, 2004-10-31 13:20:32-08:00, davem@nuts.davemloft.net [SPARC64]: Do free_initmem() poisioning. Just like on x86 Signed-off-by: David S. Miller ChangeSet@1.2360, 2004-10-31 21:01:40+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2181/1: Fix gcc-4.0 static declaration of '__clz_tab' follows non-static declaration build error Patch from George G. Davis Building kernels with recent gcc-4.0-20041024 snapshot results in "static declaration of '__clz_tab' follows non-static declaration" build error. Since the "extern const UQItype __clz_tab[]" definition is not required, this patch removes it to fix the build. Signed-off-by: George G. Davis ChangeSet@1.2352.1.4, 2004-10-31 12:58:51-08:00, torvalds@ppc970.osdl.org Make sparse pick up the gcc internal include directory automatically. m68k used to do this by hand, but it really ends up being needed for any environment that does cross-builds, so just do it unconditionally. This should mean that you never need to cross-build sparse or have any other hacks for checking a cross-built environment. ChangeSet@1.2359, 2004-10-31 20:51:49+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2179/1: gcc-4.0 static declaration of 'meminfo' follows non- static declaration build error Patch from George G. Davis Building kernels with recent gcc-4.0-20041024 snapshot results in "static declaration of 'meminfo' follows non-static declaration" build error. Since the "extern struct meminfo meminfo" definition is not required, this patch removes it to fix the build. Signed-off-by: George G. Davis ChangeSet@1.2358, 2004-10-31 20:42:21+00:00, buytenh@org.rmk.(none) [ARM PATCH] 2178/1: mnfd (move negated) emulation is busted on big- endian Patch from Lennert Buytenhek When you issue the mnfd opcode to negate a double, nwfpe is supposed to flip the most significant bit of your double, which is the sign bit. However, on big endian systems, it ended up flipping the most significant bit of the least significant sub-u32, which is one of the mantissa bits. On my system this was manifesting itself as sed regression tests failing, and ntpd/ntpdate consistently adjusting the system clock into the wrong direction. In pretty much all of NWFPE, doubles are stored in u64s and manipulations on those doubles are done by using u64 bitops. But for negation and fabs() it was poking into one of the sub-u32s directly instead of XORing the u64 with 0x8000000000000000 resp. ANDing with 0x7fffffffffffffff. Since on big-endian, 'native u64 order' means that the most significant byte (containing bits 63-56) is kept at the lowest byte address, the sign bit is the MSB of the first sub-u32, instead of the MSB of the second one as is the case on little endian. Signed-off-by: Lennert Buytenhek ChangeSet@1.2357, 2004-10-31 20:33:52+00:00, guido.barzini@com.rmk.(none) [ARM PATCH] 2177/1: Trivial: contents of mach-h720x/Kconfig should be conditional on ARCH_H720X Patch from G N Barzini Currently under "System Type" you are always offered "h720x Implementations" regardless of the system type selected. The fix for this in the other Kconfig files seems to be enclose their contents conditional in 'if ARCH_FOO'/'endif'. This patch does that. ChangeSet@1.2356, 2004-10-31 20:24:01+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2176/1: S3C2410 - fixes for reset and idle Patch from Ben Dooks This patch fixes the following problems: - panic() in reset should be warning print, so that the system can then be soft-reset if this ever happens - arch_idle() can now be over-ridden for purposes of implementing dyanmic voltage scaling (DVS) or any other form of idling Signed-off-by: Ben Dooks ChangeSet@1.2355, 2004-10-31 20:11:22+00:00, nico@org.rmk.(none) [ARM PATCH] 2175/1: add reference for problem worked around by patch #1824/1 Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre ChangeSet@1.2344.3.10, 2004-10-31 17:28:05+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Fix deadlock on removal of 8250 module. We must unregister all serial ports before driver_unregister() can complete. This means that we must unregister all ports in serial8250_remove, including our legacy ISA ports. We flag this special cleanup operation by setting serial8250_isa_devs to NULL and not handling our own platform device any differently from any others. ChangeSet@1.2344.3.9, 2004-10-31 17:17:41+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Don't detect console availability using port->ops. Use !iobase && !membase rather than !ops for console port availability. ChangeSet@1.2352.1.3, 2004-10-31 09:03:41-08:00, torvalds@evo.osdl.org Annotate UP spinlock stubs with lock annotations. This way you can do a checking run on UP too - even if the locks don't actually _matter_, they should still be right, I'd hope. ChangeSet@1.2352.1.2, 2004-10-31 08:51:14-08:00, torvalds@ppc970.osdl.org Lock-annotate some kernel functions as an example of how it works. In particular, a function that is called with a lock held, and releases it only to re-acquire it needs to be annotated as such, since otherwise sparse will complain about an unexpected unlock, even though "globally" the lock is constant over the call. ChangeSet@1.2352.1.1, 2004-10-31 08:38:50-08:00, torvalds@ppc970.osdl.org Annotate scheduler locking behaviour. This annotates the scheduler routines for locking, telling what locks a function releases or acquires, allowing sparse to check the lock usage (and documenting it at the same time). ChangeSet@1.2344.3.8, 2004-10-31 15:57:40+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_acpi: Convert to use serial8250_{un,}register_port. ChangeSet@1.2344.3.7, 2004-10-31 15:44:45+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Don't use UPF_AUTOPROBE, fix two build problems. The curse of the missing __devexit_p() returns, and asm-*/ obviously marks the end of the comment. ChangeSet@1.2344.3.6, 2004-10-31 15:33:58+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_pnp: Convert to use serial8250_{un,}register_port. ChangeSet@1.2344.3.5, 2004-10-31 14:48:44+00:00, rmk@flint.arm.linux.org.uk [SERIAL] serial_cs: Convert to use serial8250_{un,}register_port. ChangeSet@1.2344.3.4, 2004-10-31 11:50:55+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Warn when ports with zero base_baud are registered. ChangeSet@1.2354, 2004-10-31 10:50:57+00:00, rmk@flint.arm.linux.org.uk [ARM] riscpc: add iomd, keyboard and acornfb platform devices. - Add iomd, keyboard and acornfb platform devices. - Convert rpckbd to use centrally registered platform device. - Convert acornfb to use a platform device. ChangeSet@1.2353, 2004-10-31 10:35:03+00:00, rmk@flint.arm.linux.org.uk [ARM] No need for rpc_map_io to be public. ChangeSet@1.2344.3.3, 2004-10-31 10:05:54+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_acorn: Convert to use serial8250_{un,}register_port. ChangeSet@1.2352, 2004-10-30 20:02:00-07:00, torvalds@ppc970.osdl.org Add sparse checker rules for conditional lock functions: trylock and atomic_dec_and_lock. This means that we now have all of the spinlock context counting infrastructure in place, and you can check-compile the kernel with sparse -Wcontext. ChangeSet@1.2351, 2004-10-30 19:33:45-07:00, torvalds@ppc970.osdl.org Make "atomic_dec_and_lock()" a macro. We rename the actual architecture-specific low-level implementation to have a prepended underscore: "_atomic_dec_and_lock()". This extra macro indirection is so that we can make the macro do the lock context counting. That will be the next patch. ChangeSet@1.2349, 2004-10-30 20:14:40-04:00, jgarzik@pobox.com [libata ahci] bump version to 1.00 ChangeSet@1.2348, 2004-10-30 20:13:57-04:00, mmelchior@xs4all.nl [libata ahci] fix rather serious (and/or embarassing) bugs - Add definition for SActive register - Add most interrupt sources to default interrupt mask - Write low 32 bits of FIS address to PxFB, where they belong - Set command active bit in PxSACT before setting command issue bit in PxCI - Announce Sub Class Code in driver info message [IDE, SATA or RAID] and additionally, from me [jgarzik]: - ignore ports-implemented bitmap for now; it's a write-only register that silly BIOSen initialize incorreclty Signed-off-by: Matthijs Melchior Signed-off-by: Jeff Garzik ChangeSet@1.2346.1.4, 2004-10-30 15:29:58-07:00, torvalds@ppc970.osdl.org amd8111e network driver: fix silly typo That's "cpu", not "cpy". ChangeSet@1.2344.3.2, 2004-10-30 23:13:48+01:00, rmk@flint.arm.linux.org.uk Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-undo into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-serial ChangeSet@1.2344.3.1, 2004-10-30 22:49:55+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Undo "get_legacy_serial_ports" patch for PPC. This patch conflicts with work to properly integrate the device model into the serial layer, and provide architectures with a *clean* way to tell 8250.c about their serial ports at run time. ChangeSet@1.2346.1.3, 2004-10-30 14:39:31-07:00, matthew@wil.cx [PATCH] kernel-parameters update for PA-RISC - Add the PARISC tag (Thibaut Varene) - Mark some existing PA-RISC specific entries with it (Thibaut Varene) - Document pdcchassis (Thibaut Varene) ChangeSet@1.2346.1.2, 2004-10-30 14:39:19-07:00, matthew@wil.cx [PATCH] stifb bugfixes - Fix "sti= parameter ignored by stifb" bug (Stuart Brady) - Fix the STI crash with HCRX-24 in 32bpp mode (Helge Deller) ChangeSet@1.2026.4.8, 2004-10-30 21:38:06+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: prevent ports with zero clocks being registered. ChangeSet@1.2026.4.7, 2004-10-30 21:27:49+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: add probe and remove device driver methods. This change allows platform devices named "serial8250" to provide lists of serial ports to the 8250 driver at runtime, in addition to the hard coded table in include/asm-*/serial.h. The next step is to deprecate the tables in serial.h. ChangeSet@1.2026.4.6, 2004-10-30 21:12:33+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Add platform device for ISA 8250-compatible devices. Add a platform device for ISA 8250-compatible serial devices listed in the table in include/asm-*/serial.h. Arrange for unregistered serial devices to be owned by this device. This enables power management for ISA 8250 devices, and starts to opens the way for architectures to dynamically provide their own lists of 8250 devices via platform device(s). ChangeSet@1.2026.4.5, 2004-10-30 20:53:14+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Re-order 8250 serial driver initialisation/finalisation. Only register the 8250 serial driver with the device model after registering and setting up our internal uart ports. Do the reverse on module finalisation. ChangeSet@1.2026.4.4, 2004-10-30 20:42:48+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: move basic initialisation of 8250 ports. This moves the basic initialisation of 8250 ports from serial8250_register_ports() into serial8250_isa_init_ports() ChangeSet@1.2026.4.3, 2004-10-30 20:30:13+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Fix resource handling. serial8250_request_std_resource() is now responsible for claiming the standard resources, _and_ calling ioremap if necessary. serial8250_release_std_resource() performs the complementary function in its entirety. serial8250_*_rsa_resource() perform the similar operations for RSA ports, with the exception that RSA ports can only be mapped into IO space. ChangeSet@1.2026.4.2, 2004-10-30 20:19:31+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Clean up serial_core.c write functions. Since the tty layer now takes care of user space writes, __uart_user_write() and associated temporary buffer and temporary buffer semaphore have all become unnecessary. There's also little point in having __uart_kern_write() separate from uart_write(), so combine the two together. Adrian Bunk kindly provided the patch to remove __uart_user_write(). The rest of the work is rmk's. Signed-off-by: Adrian Bunk Signed-off-by: Russell King ChangeSet@1.2347, 2004-10-30 11:34:30-04:00, tobias.lorenz@gmx.net [libata sata_promise] s/sata/ata/ 100% cosmetic: rename various symbols with 'sata' in them to 'ata', in preparation for addition of support for a PATA controller. Signed-off-by: Tobias Lorenz Signed-off-by: Jeff Garzik ChangeSet@1.2016.1.9, 2004-10-30 16:47:12+02:00, marcel@holtmann.org [Bluetooth] Add security callback to the core To give higher layers like RFCOMM the possibility to use the Bluetooth security mechanisms, they need a way to get feedback from the HCI core layer when they succeeded or failed. This patch introduces a callback structure that can be used for this kind of notification. Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.8, 2004-10-30 16:34:29+02:00, marcel@holtmann.org [Bluetooth] Send HCI_Reset for new Microsoft dongle The new Microsoft Wireless Transceiver for Bluetooth 2.0 is based on a Broadcom chip with the HID proxy support. To initialize these kind of devices correctly it is necessary to send HCI_Reset as the first command. Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.7, 2004-10-30 16:16:55+02:00, marcel@holtmann.org [Bluetooth] Fix deprecated MODULE_PARM for PCCARD drivers The MODULE_PARM is deprecated now and for the Bluetooth PCCARD drivers it should be replaced by module_param() and module_param_array(). Signed-off-by: Marcel Holtmann ChangeSet@1.2344.1.6, 2004-10-30 15:12:10+01:00, rmk@flint.arm.linux.org.uk [ARM] Add __iomem annotations to ARM amba drivers. ChangeSet@1.2344.1.5, 2004-10-30 15:06:53+01:00, rmk@flint.arm.linux.org.uk [ARM] s3c2410: DMA uses __iomem pointers. ChangeSet@1.2344.1.4, 2004-10-30 14:53:00+01:00, rmk@flint.arm.linux.org.uk [ARM] Add initial __iomem annotations to ARM io.h headers. ChangeSet@1.2344.2.6, 2004-10-30 09:00:43-04:00, rddunlap@osdl.org [PATCH] via-rhine: references __init code during resume Fix __init section usage: rhine_resume calls enable_mmio, so latter cannot be __devinit; Error: ./drivers/net/via-rhine.o .text refers to 0000000000000925 R_X86_64_PC32 .init.text+0xfffffffffffffffc Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik ChangeSet@1.2346, 2004-10-30 08:46:14-04:00, nacc@us.ibm.com [PATCH] scsi/ahci: replace schedule_timeout() with msleep()/ssleep() Description: Uses msleep() / ssleep() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Garzik ChangeSet@1.2344.1.3, 2004-10-30 13:41:58+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: add __iomem annotations. ChangeSet@1.2344.2.5, 2004-10-30 08:40:28-04:00, benh@kernel.crashing.org [PATCH] amd8111e: Add support for ppc64 eval board This patch adds a few memory barriers, cleans up a little bit the use of the "status" field in the rx & tx routines, and adds probing for the external PHY to the driver. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik ChangeSet@1.2344.2.4, 2004-10-30 08:40:18-04:00, benh@kernel.crashing.org [PATCH] amd8111e: Fix identation of amd8111e_rx_poll() This patch does an indentation fix to amd8111e_rx_poll() which was incorrectly shifting left in the middle of a while() loop, thus rendering the function difficult to read. There is no actual code change. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik ChangeSet@1.2344.2.3, 2004-10-30 08:30:59-04:00, sfeldma@pobox.com [PATCH] e100: update maintainer My intel.com address will bounce. Signed-off-by: Scott Feldman Signed-off-by: Jeff Garzik ChangeSet@1.2344.2.2, 2004-10-30 08:18:20-04:00, nico@cam.org [PATCH] fix smc91x compilation error It looks like this bit got mismerged (pci.h removed but DMA arguments convertion missing). Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik ChangeSet@1.2344.2.1, 2004-10-30 07:59:58-04:00, rmk+lkml@arm.linux.org.uk [PATCH] 8390.c: Use mdelay(10) rather than udelay(10*1000) ARM udelay can't cope with >2ms delays. Signed-off-by: Russell King Signed-off-by: Jeff Garzik ChangeSet@1.2344.1.2, 2004-10-30 12:53:44+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: report errors when trying to parse MAC address. ChangeSet@1.2344.1.1, 2004-10-30 12:45:34+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: add ethtool support. ChangeSet@1.2337.1.42, 2004-10-29 14:53:12-07:00, chrisw@osdl.org [PATCH] uninline __sigqueue_alloc Christoph suggests letting the compiler choose. No real compelling reason to inline anyhow. I had some vmlinux size numbers suggesting inline was better, but re-running them on newer kernel is giving different results, favoring uninline. Best let compiler choose. Un-inline __sigqueue_alloc. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.40, 2004-10-29 13:50:26-07:00, torvalds@ppc970.osdl.org Make x86 semaphore routines use register calling convention. This avoids a bug where the compiler would overwrite the stackframe that the caller also considered to be a register save area. It also shrinks the code segment by a tiny amount by moving the failure case argument setup into the slow path. This not only makes the fast path smaller, but it makes it easier on gcc (gcc is not very good at generating code that uses fixed register names). ChangeSet@1.2337.1.39, 2004-10-29 13:28:35-07:00, james4765@gmail.com [PATCH] Documentation/mkdev.ida removal This file is no longer reqired - the MAKEDEV program makes the ida/ nodes automatically. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.38, 2004-10-29 13:28:22-07:00, james4765@gmail.com [PATCH] Documentation/cpqarray.txt update General cleanup of Documentation/cpqarray.txt. Removal of old and obsolete references, removed references to an external patch. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.37, 2004-10-29 13:28:10-07:00, marcel@holtmann.org [PATCH] Fix deprecated MODULE_PARM for CAPI subsystem The MODULE_PARM is deprecated now and should be replaced by module_param() or module_param_named(). Signed-off-by: Marcel Holtmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.36, 2004-10-29 13:27:57-07:00, akpm@osdl.org [PATCH] convert pipefs to fs_initcall() Normal initcalls which call out to userspace may need to create pipes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.35, 2004-10-29 13:27:45-07:00, rml@novell.com [PATCH] make dnotify a configure-time option make dnotify configurable, via CONFIG_DNOTIFY. CONFIG_EMBEDDED is required for disabling dnotify. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.34, 2004-10-29 13:27:32-07:00, dan@debian.org [PATCH] Unwind information fix for the vsyscall DSO When working on GDB support I found a typo. I assume the comment is correct. If you step to this particular instruction and backtrace, GDB gets lost. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.33, 2004-10-29 13:27:20-07:00, dtor_core@ameritech.net [PATCH] ik8.c: export power_status parameter through sysfs I8K: Switch to using module_param, allow switching 'power_status' through sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.32, 2004-10-29 13:27:07-07:00, adaplas@hotpop.com [PATCH] fbdev: Maintainership Accepted Geert's offer to maintain the framebuffer layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.31, 2004-10-29 13:26:54-07:00, adaplas@hotpop.com [PATCH] fbdev: Check if cursor image has changed in intelfb Check if cursor image has changed in intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.30, 2004-10-29 13:26:42-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to vfb Add __iomem annotations to vfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.29, 2004-10-29 13:26:29-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to cirrusfb Add __iomem annotations to cirrusfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.28, 2004-10-29 13:26:17-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to hgafb Add __iomem annotations to hgafb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.27, 2004-10-29 13:26:05-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to pm2fb Add __iomem annotations to pm2fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.26, 2004-10-29 13:25:52-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to cyber2000fb Add __iomem annotations to cyber2000fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.25, 2004-10-29 13:25:40-07:00, adaplas@hotpop.com [PATCH] fbdev: Do not memset the framebuffer memory in asiliantfb Do not memset the framebuffer memory in asiliantfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.24, 2004-10-29 13:25:28-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to tdfxfb Add __iomem annotations to tdfxfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.23, 2004-10-29 13:25:15-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to sstfb Add __iomem annotations to sstfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.22, 2004-10-29 13:25:03-07:00, adaplas@hotpop.com [PATCH] fbdev: Fix io access in neofb - Fix IO access in neofb - Use readl/writel - add __iomem annotations Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.21, 2004-10-29 13:24:51-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in neofb Convert MODULE_PARM to module_param in neofb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.20, 2004-10-29 13:24:38-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in intelfb fbdev: Convert MODULE_PARM to module_param in intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.19, 2004-10-29 13:24:26-07:00, adaplas@hotpop.com [PATCH] fbdev: Remove module parameter 'disabled' from savagefb Remove module parameter 'disabled' from savagefb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.18, 2004-10-29 13:24:13-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in i810fb Convert MODULE_PARM to module_param in i810fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.17, 2004-10-29 13:24:01-07:00, sct@redhat.com [PATCH] ext3: online resizing The patch below adds online resize capability to ext3 based on Andreas patch for 2.4 and fixed up by Stephen. The patch also removes s_debts: s_debts is currently not used by ext3 (it is created, destroyed and checked but never set). Remove it for now. Resurrecting this will require adding it back in changed form. In existing form it's already unsafe wrt. byte-tearing as it performs unlocked byte increment/decrement on words which may be being accessed simultaneously on other CPUs. It is also the only in-memory dynamic table which needs to be extended by online-resize, so locking it will require care. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.16, 2004-10-29 13:23:48-07:00, akpm@osdl.org [PATCH] ext3 reservation: default to on Enable the reservation code by default. So reservations default to "on". They can be disabled by mounting with the "noreservation" mount option. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.15, 2004-10-29 13:23:35-07:00, cmm@us.ibm.com [PATCH] ext3 block reservations rbtree implementation and other changes From: Stephen Tweedie contributions From: Badari Pulavarty and probably me. This is the ext3 block reservation patch. It improves the layout of ext3 files by establishing, for each inode, reserved areas of the disk in which only that file can allocate blocks. Those reserved areas are managed in an rbtree, via the in-core inode. It's a bit like ext2 preallocation only stronger in that it can span already-allocated blocks, including the per-blockgroup inode tables and bitmaps. The patch fixes ext3's worst performance problem: disastrous layout when multiple files are being concurrently grown. It increases the size of the inode by rather a lot. A todo item is to dynamically allocate the `struct reserve_window_node', so we don't need to carry this storage for inodes which aren't opened for writing. The feature is enabled by mounting with the "reservation" mount option. Reservations default to "off". Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.14, 2004-10-29 13:23:23-07:00, cmm@us.ibm.com [PATCH] ext3 block reservation patch set -- ext3 preallocation cleanup Cleans up the old ext3 preallocation code carried from ext2 but turned off. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.13, 2004-10-29 13:23:10-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix mainline lazyness about TTY layer patch While changing the TTY layer, an API parameter was removed, so it was removed by almost all calls, changing their prototype. But one use of one such function was not updated, breaking UML compilation. This is the fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.12, 2004-10-29 13:22:58-07:00, takata@linux-m32r.org [PATCH] m32r: fix a typo of delay.c This patch fixes a typo of arch/m32r/lib/delay.c. It is required to fix a compile error for non-CONFIG_ISA_DUAL_ISSUE configuration. NOTE: The m32r has a kind of ISA (instruction set architecture) like a 2-way VLIW. Originally the m32r has two types of 16-bit/32-bit instructions. Only 16-bit instruction pair can be executed in parallel on a m32r chip with dual issuing support (e.g. M32700). According to the insturction dual issuing of the m32r, a programmer/compiler can explicitly put two 16-bit instructions into an instruction word, which are to be executed in parallel. ex. Assembly coding style of two 16-bit instruncions; insn A and B: 1) insn A insn B ; sequential execution (implicit) 2) insn A -> insn B ; sequential execution (explicit) 3) insn A || insn B ; parallel execution Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.11, 2004-10-29 13:22:45-07:00, ak@muc.de [PATCH] x86_64: Fix warning in genapic Straightforward patch to remove a warning in genapic about a unused function. Independently done by Chris Wright too. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.10, 2004-10-29 13:22:31-07:00, ak@muc.de [PATCH] x86_64: Fix safe_smp_processor_id after genapic genapic broke early safe_smp_processor_id(), especially when you got a WARN_ON or oops early it would loops forever in show_trace. The reason was that the x86_cpu_to_apicid array wasn't correctly initialized. This patch fixes this by just testing for this case. Orginally from James Cleverdon Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.9, 2004-10-29 13:22:19-07:00, benh@kernel.crashing.org [PATCH] ppc64: Enable maple IDE fixup Now that pci_get_legacy_ide_irq() support has been merged, it's time to enable use of it by the Maple platform code. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.8, 2004-10-29 13:22:06-07:00, olof@austin.ibm.com [PATCH] ppc64: setup cpu_sibling_map on iSeries Nathan Lynch pointed this out: The CPU sibling map is never initialized on iSeries. This makes the scheduler very unhappy if CONFIG_SCHED_SMT is enabled, causing an oops in find_busiest_group during boot. Below patch adds the expected init. Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.7, 2004-10-29 13:21:54-07:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries: fix for generic irq changes The generic irq patches broke pci irqs on ppc64 iSeries. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.6, 2004-10-29 13:21:40-07:00, benh@kernel.crashing.org [PATCH] ppc32: Fix boot on PowerMac Tom's recent irq patch broke PowerMac (and possibly others). I think he forgot that PReP, CHRP and PowerMac are all built together in a single kernel image, thus all of those arch_initcall's will end up beeing called, even on the wrong machine... Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.5, 2004-10-29 13:21:27-07:00, mporter@kernel.crashing.org [PATCH] ppc32: fix ppc4xx_progress warnings The patch fixes these warnings by doing two things: 1) Add the argument to the printk. 2) Rearrange the ifdef to eliminate the unused variable and function warnings. Signed-off-by: Scott Anderson Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.4, 2004-10-29 13:21:14-07:00, akpm@osdl.org [PATCH] swapper_space warning suppression Suppress page allocation warnings arising from radix_tree_node_alloc() allocations on behalf of swapper_space: these are expected under heavy load. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.3, 2004-10-29 13:21:00-07:00, akpm@osdl.org [PATCH] key_init ordering fix The data structures which are set up by key_init() are used by exec(). And we're using exec() super-early via the hotplug events from do_basic_setup():driver_init(). So call key_init() directly, prior to driver_init(). Cc: David S. Miller Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.2, 2004-10-29 13:20:47-07:00, pavel@ucw.cz [PATCH] Add typechecking to suspend types and powerdown types This adds typechecking to suspend types and powerdown types. This should solve at least part of suspend type confusion. There should be no code changes generated by this one. Acked-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2337.1.1, 2004-10-29 13:20:35-07:00, iwamoto@valinux.co.jp [PATCH] direct IO write memory leak fix It seems that O_DIRECT write sometimes leaks memory. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2343, 2004-10-29 20:59:55+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix wrong variable name in icside.c ChangeSet@1.2342, 2004-10-29 20:47:54+01:00, rmk@flint.arm.linux.org.uk [ARM] include/asm-arm/arch-integrator/time.h is unused, remove it. ChangeSet@1.2341, 2004-10-29 20:13:08+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove extraneous spaces. ChangeSet@1.2340, 2004-10-29 19:49:16+01:00, rmk@flint.arm.linux.org.uk [ARM] Add disable_irq_nosync() and CPU number headings ChangeSet@1.2332.1.9, 2004-10-29 18:35:40+02:00, bzolnier@trik.(none) [ide] ide-disk: enable stroke by default From: Jens Axboe Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.8, 2004-10-29 18:21:50+02:00, bzolnier@trik.(none) [ide] make destroy_proc_ide_interfaces static destroy_proc_ide_interfaces is only used inside ide-proc.c; so lets make it static. Signed-off-by: Arjan van de Ven Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2339, 2004-10-29 16:34:00+01:00, rmk@flint.arm.linux.org.uk [ARM] Use cpu_vm_mask to determine whether to flush TLB/caches. Since bit 0 is only set when the MM is mapped onto the CPU, we can use this rather than comparing the MM pointer with current->active_mm. This simplifies the inline cache flushing and tlb code. ChangeSet@1.2332.1.7, 2004-10-29 17:07:55+02:00, bzolnier@trik.(none) [ide] kill IDEPCI_FLAG_FORCE_MASTER cs5530 overrides hwif->autodma anyway. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2338, 2004-10-29 16:05:26+01:00, rmk@flint.arm.linux.org.uk [ARM] Use cpu_vm_mask to indicate whether the MM is mapped. ChangeSet@1.2332.1.6, 2004-10-29 17:03:09+02:00, bzolnier@trik.(none) [ide] setup-pci: simplify autodma logic Do not set hwif->autodma in ide_pci_setup_ports(). All DMA capable PCI host drivers override it. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.5, 2004-10-29 17:00:16+02:00, bzolnier@trik.(none) [ide] setup-pci: small ide_get_or_set_dma_base() cleanup * hwif->dma_base is set in ->init_iops() for MMIO * if !dma_base then dma_base is really equal to zero * remove dead code from simplex check Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.4, 2004-10-29 16:52:32+02:00, bzolnier@trik.(none) [ide] pmac: kill CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO DMA is always used by default (->autodma is never checked). Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.3, 2004-10-29 16:49:20+02:00, bzolnier@trik.(none) [ide] hpt34x: kill hpt34x.h Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.2, 2004-10-29 16:45:17+02:00, bzolnier@trik.(none) [ide] remove hwif from /proc/ide/ as part of ide_unregister_hwif() Original patch from Mark Lord . Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2332.1.1, 2004-10-29 16:24:59+02:00, bzolnier@trik.(none) [ide] PIO bugfix We need to k[un]map_atomic() the current page not the first page of the scatterlist segment. Fixes OOPS when using HIGHMEM. Big thanks to Randy Dunlap for a lot of debugging/testing. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2331.1.11, 2004-10-28 16:36:02-07:00, akpm@osdl.org [NETFILTER]: Avoid warning on CONNTRACK_STAT_INC in destroy_conntrack() From: Rusty Russell ip_conntrack_put can be called in any context in theory: in particular, MASQUERADE will can call it (via ip_ct_selective_cleanup) when an interface comes up with a different address. Move the CONNTRACK_STAT_INC inside the lock: it needs preemption disabled. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.10, 2004-10-28 16:34:53-07:00, akpm@osdl.org [X25]: Dont log unknown frame type when receiving clear confirm From: Andrew Hendry There is no need to log unknown ChangeSet@1.2331.1.9, 2004-10-28 16:33:54-07:00, akpm@osdl.org [X25]: Stop /proc/net/x25/route infinitely reading From: Andrew Hendry route add --x25 0/0 eth0 cat /proc/net/x25/route reads the single routing entry forever. This patch makes x25_get_route_idx behave the same as x25_get_socket_idx which works correctly. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.8, 2004-10-28 16:33:01-07:00, akpm@osdl.org [ETHERTAP]: Add missing newline to debug printk From: Andrew Hendry Very trivial, ethertap debug missing a newline. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.7, 2004-10-28 16:31:53-07:00, akpm@osdl.org [X25]: Stop x25_destroy_socket timer looping From: Andrew Hendry The sk_timer.data for the x.25 destroy_socket timer went missing at some stage, causing a timer loop where x25_destroy_socket would keep setting up timers to call itself. This patch puts the sk_timer.data back. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.6, 2004-10-28 16:31:02-07:00, davem@nuts.davemloft.net [TG3]: Bump driver version and reldate Signed-off-by: David S. Miller ChangeSet@1.2331.1.5, 2004-10-28 16:29:43-07:00, akpm@osdl.org [TG3]: Use mmiowb in tg3_poll From: Returning from tg3_poll() without flushing the PIO write which reenables interrupts can result in lower cpu utilization and higher throughput. So use a memory barrier, mmiowb(), instead of flushing the write with a PIO read. Signed-off-by: Arthur Kepner Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.4, 2004-10-28 16:28:59-07:00, akpm@osdl.org [TG3]: Use mmiowb in tg3.c From: Jesse Barnes This patch originally from Greg Banks. Some parts of the tg3 driver depend on PIO writes arriving in order. This patch ensures that in two key places using the new mmiowb macro. This not only prevents bugs (the queues can be corrupted), but is much faster than ensuring ordering using PIO reads (which involve a few round trips to the target bus on some platforms). Arthur has another patch that uses mmiowb in tg3 that he posted earlier as well. Signed-off-by: Greg Banks Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2331.1.3, 2004-10-28 16:24:01-07:00, davem@nuts.davemloft.net [VLAN]: Revert vlan_dev_hard_start_xmit part of Ben Greear's changes They are questionable at best. Based upon commentary by Tommy Christensen. Signed-off-by: David S. Miller ChangeSet@1.2337, 2004-10-28 16:20:35-07:00, ak@muc.de [PATCH] Fix x86-64 genapic build The x86-64 genapic patch that was recently merged missed some definitions and doesn't compile at all. This fixes it by adding the missing defines for genapic Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.2336, 2004-10-28 16:20:25-07:00, trini@kernel.crashing.org [PATCH] Fix ppc32 compile D'oh. Something got cut-off there on Randy's end. Obviously correct fix follows. Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds ChangeSet@1.2335, 2004-10-28 12:58:55-07:00, olh@suse.de [PATCH] rmmod ohci1394 hangs this sequence of commands will hang the final rmmod. init=/bin/bash --login mount proc modprove -v ohci1394 rmmod ohci1394 modprobe -v ohci1394 rmmod ohci1394 -> hangs knodemgrd_0 exits on the first rmmod, but leaves nodemgr_serialize in down state. This fixes it for me. Signed-off-by: Olaf Hering Acked-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2331.1.1, 2004-10-28 12:12:11-07:00, wensong@linux-vs.org [IPVS]: Update version to 1.2.1 Signed-off-by: David S. Miller ChangeSet@1.2334, 2004-10-28 12:11:00-07:00, torvalds@ppc970.osdl.org Merge http://lia64.bkbits.net/linux-ia64-release-2.6.10 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2323.1.2, 2004-10-28 14:53:23-03:00, acme@conectiva.com.br [SKBUFF] introduce x25_type_trans Signed-off-by: Arnaldo Carvalho de Melo Signet-off-by: David S. Miller ChangeSet@1.2323.1.1, 2004-10-28 14:50:55-03:00, acme@conectiva.com.br [SKBUFF] remove skb->mac.raw setting after hdlc_type_trans Arnaldo Carvalho de Melo : [dscc4.c sets skb->mac.raw after hdlc_type_trans] >> Francois, is this really what is intended? I left it as In the pre-eth_type_trans area, yes :o/ I did not test dscc4 in a bridged setup. Please fix the driver in your patch. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Francois Romieu Signed-off-by: David S. Miller ChangeSet@1.2333, 2004-10-28 10:07:59-07:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries pci cleanups This merges two files (iSeries_IoMmTable.[ch]) into iSeries_pci.c. This allowed quite a few more things to become declared static. It then does some fairly mechanical cleanups in iSeries_pci.c (replacing studly caps, removing the last of the PCIFR() macros and removing a couple of empty or unused routines). There are no semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds ChangeSet@1.2332, 2004-10-28 09:31:02-07:00, martin.wilck@fujitsu-siemens.com [PATCH] skip sync_arb_IDs on P4/Xeon The "Synchronize Arbitration IDs with APIC IDs" IPI does not make sense on Pentium 4 and Xeon because they don't have an APIC bus where arbitration IDs would be needed. The Intel Developers manual (Vol. 3, Ch. 8.6.1) says this IPI is unsupported on P4/Xeon. Using it may, according to Intel, lead to unpredictable results. Signed-off-by: Martin Wilck Signed-off-by: Linus Torvalds ChangeSet@1.2331, 2004-10-28 09:14:32-07:00, stelian@popies.net [PATCH] sonypi: bump up the version number Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2330, 2004-10-28 09:14:19-07:00, stelian@popies.net [PATCH] sonypi: whitespace and coding style fixes Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2329, 2004-10-28 09:14:07-07:00, stelian@popies.net [PATCH] sonypi: don't suppose the bluetooth subsystem is initialy off Leave the choice to the user. Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2328, 2004-10-28 09:13:54-07:00, stelian@popies.net [PATCH] sonypi: make CONFIG_SONYPI depend on CONFIG_INPUT Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2327, 2004-10-28 09:13:42-07:00, stelian@popies.net [PATCH] sonypi: rework input support * feed most of special keys through the input subsystem * initialize two separate input devices: a mouse like one for the jogdial and a keyboard like one for the special keys * add support for SONYPI_EVENT_FNKEY_RELEASED Many people participated in a way or another to this patch, including Daniel K. , Bastien Nocera , Dmitry Torokhov and Vojtech Pavlik . Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2326, 2004-10-28 09:13:29-07:00, stelian@popies.net [PATCH] sonypi: power management related fixes * switch from a sysdev to a platform device * drop old style PM code * use pci_get_device()/pci_dev_put() instead of pci_find_device() Patch originaly from Dmitry Torokhov . Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2325, 2004-10-28 09:13:17-07:00, stelian@popies.net [PATCH] sonypi: replace homebrew queue with kfifo Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2324, 2004-10-28 09:13:05-07:00, stelian@popies.net [PATCH] sonypi: module related fixes * use module_param() instead of MODULE_PARM() and __setup() * use MODULE_VERSION() Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2323, 2004-10-28 08:35:45-07:00, chrisw@osdl.org [PATCH] error out on execve with no binfmts Early calls to userspace can invoke an execve() before any binfmt handlers are registered. Properly return an error in this case rather than 0. On at least one arch (x86_64) without this patch, the system will double fault on early attempts to call_usermodehelper. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2322, 2004-10-28 08:35:33-07:00, cw@f00f.org [PATCH] Remove build warning from drivers/char/random.c on 32-bit platforms Remove build warning from drivers/char/random.c on 32-bit platforms. Signed-off-by: Chris Wedgwood Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2321, 2004-10-28 08:35:20-07:00, olh@suse.de [PATCH] remove double newline from sysrq action_msg __handle_sysrq already prints a newline, so the action_msg string doesnt need yet another newline. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2320, 2004-10-28 08:35:08-07:00, kraxel@bytesex.org [PATCH] bttv subdev fix - Make bttv check the device_register return value. - Yet another unchecked return value fixed. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2319, 2004-10-28 08:34:55-07:00, axboe@suse.de [PATCH] issues with online scheduler switching There are two issues with online io scheduler switching that this patch addresses. The first is pretty simple - it concerns racing with scheduler removal on switch. elevator_find() does not grab a reference to the io scheduler, so before elevator_attach() is run it could go away. Add elevator_get() to solve that. Second issue is the flushing out of requests that is needed before switching can be problematic with requests that aren't allocated in the block layer (such as requests on the stack of a process). The problem is that we don't know when they will have finished, and most io schedulers need to access the elevator structures on io completion. This can be fixed by adding an intermedia step that switches to noop, since it doesn't need to touch anything but the request_queue. The queue drain can then safely be split into two operations - one that waits for file system requests, and one that waits for the queue to completely empty. Requests arriving after the first drain will get stuck in a seperate queue list. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2318, 2004-10-28 08:34:43-07:00, manfred@colorfullife.com [PATCH] handle posix message queues with /proc/sys disabled register_sysctl_table() fails if sysctl support is not compiled into the kernel. The POSIX message queue subsystem aborted it's initialization if register_sysctl_table() fails, and that causes an oops in sys_mq_open(). The patch fixes that by ignoring failures from register_sysctl_table(). Signed-off-by; Manfred Spraul Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2317, 2004-10-28 08:34:31-07:00, axboe@suse.de [PATCH] cfq v2 switch bug Fix online switching issue with cfq v2. It does deferred clearing of e->elevator_data, which screws up the current io scheduler. It does not have to, so just remove it. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2316, 2004-10-28 08:34:18-07:00, wli@holomorphy.com [PATCH] remove itimer_ticks and itimer_next These two variables are long, long dead. This patch removes them. Signed-off-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2315, 2004-10-28 08:34:06-07:00, colin@colino.net [PATCH] fix via-pmu.c compilation without CONFIG_PMAC_PBOOK This patch fixes via-pmu.c compilation when CONFIG_PMAC_PBOOK is not set. Looks like the #endif was one line too late. Signed-off-by: Colin Leroy Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2314, 2004-10-28 08:33:53-07:00, hch@lst.de [PATCH] remove mousedrivers.sgml It's been totally obsoleted by the input layer Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2313, 2004-10-28 08:33:43-07:00, hch@lst.de [PATCH] remove invoke_softirq This was used by the early irqstacks implementation on s390 and has been replaced by __ARCH_HAS_DO_SOFTIRQ now. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2312, 2004-10-28 08:33:30-07:00, hch@lst.de [PATCH] fix show_refcnt return value type module_attribute.show is defined to return ssize_t Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2311, 2004-10-28 08:33:18-07:00, tglx@linutronix.de [PATCH] Lock initializer unifying (Network drivers) To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2310, 2004-10-28 08:33:04-07:00, tglx@linutronix.de [PATCH] Lock initializer unifying (Core) To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2309, 2004-10-28 08:32:52-07:00, pluto@ds14.agh.edu.pl [PATCH] signal.c: gcc-3.4 fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2308, 2004-10-28 08:32:40-07:00, james4765@gmail.com [PATCH] ftape documentation fixes Description: Cleanup and update to Documentation/ftape.txt Signed-off by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2307, 2004-10-28 08:32:27-07:00, james4765@gmail.com [PATCH] ftape has no maintainer After tracking down the original author of the ftape sources, I found out that he no longer had interest in maintaining it. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2306, 2004-10-28 08:32:15-07:00, werner@almesberger.net [PATCH] make buffer head argument of buffer_##name "const" Allow the buffer_foo() predicates to take a (const struct buffer_head *). I've checked that the argument of test_bit is indeed "const" on all architectures. Signed-off-by: Werner Almesberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2305, 2004-10-28 08:32:02-07:00, juhl-lkml@dif.dk [PATCH] add a bunch of missing files to Documentation/00-INDEX Add a bunch of entries to Documentation/00-INDEX that are currently missing (and removes the entry for one file that no longer exist). Patch has already been OK'ed by Paul G. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2304, 2004-10-28 08:31:50-07:00, petero2@telia.com [PATCH] Fix incorrect Mt Rainier detection cdrom_is_mrw() can incorrectly think that a drive is Mt Rainier capable, because if forgets to check if the "GET CONFIGURATION" command returns the MRW feature number. According to the MMC spec, the drive shall return all feature numbers >= the starting feature number, so even if the drive doesn't support Mt Rainier, it can return some data that makes cdrom_is_mrw() incorrectly think the drive is MRW capable. This problem stops me from mounting DVD+RW discs in R/W mode on my laptop, because it makes cdrom_open_write() call cdrom_mrw_open_write() which fails because the drive isn't really MRW capable. The fix is to make sure the returned feature number is the correct one for Mt Rainier. Signed-off-by: Peter Osterlund Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2303, 2004-10-28 08:31:38-07:00, arjan@infradead.org [PATCH] unexport add_timer_on() add_timer_on() isn't used by modules (in fact it's only used ONCE, in workqueue.c) and it's not even a good api for drivers, in fact, the comment for it says * This is not very scalable on SMP. Double adds are not possible. Signed-off-by: Arjan van de Ven Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2302, 2004-10-28 08:31:26-07:00, axboe@suse.de [PATCH] kill excessive cdrom prints Don't know where this came from, but dumping this on every open gets boring really quickly. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2301, 2004-10-28 08:31:13-07:00, dhowells@redhat.com [PATCH] Unexport some RxRPC symbols Remove some of the exports on RxRPC symbols that aren't currently used (and most probably won't be) by external modules. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2300, 2004-10-28 08:31:00-07:00, james4765@gmail.com [PATCH] ramdisk.txt update General cleanup and updating of ramdisk.txt. Signed-off by: Jim Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2299, 2004-10-28 08:30:48-07:00, hch@lst.de [PATCH] unexport firmware_class it's marked static already, and there's no point in exporting it Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2298, 2004-10-28 08:30:36-07:00, hch@lst.de [PATCH] unexport set_selection and paste_selection Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2297, 2004-10-28 08:30:25-07:00, hch@lst.de [PATCH] mark pi_unclaim static Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2296, 2004-10-28 08:30:15-07:00, hch@lst.de [PATCH] unexport vc_cons_allocated Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2295, 2004-10-28 08:30:02-07:00, hch@lst.de [PATCH] parport: kill dead code and exports There's lots of exports in parport that aren't used by any drivers. Behind many of them there's actually dead code. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2294, 2004-10-28 08:29:50-07:00, hch@lst.de [PATCH] remove ext2 xatts exports I think Andreas exported them to allow modular xattr handlers, but with James rework these aren't possible anymore, and we never had them anyway. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2293, 2004-10-28 08:29:39-07:00, hch@lst.de [PATCH] unexport sys_lseek Fortunately dvb stopped using it in their firmware loader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2292, 2004-10-28 08:29:27-07:00, hch@lst.de [PATCH] remove page_follow_link All filesystems have been switched to page_follow_link_light Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2291, 2004-10-28 08:29:14-07:00, hch@lst.de [PATCH] unexport kick_process This isn't exactly the kind of interface modules should use. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2290, 2004-10-28 08:29:01-07:00, hch@lst.de [PATCH] unexport getnstimeofday This recently added function is only used by the posix timers code, no need to be exported. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2289, 2004-10-28 08:28:49-07:00, hch@lst.de [PATCH] remove dead exports in sounds/oss Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2288, 2004-10-28 08:28:37-07:00, paulmck@us.ibm.com [PATCH] RCU: eliminating explicit memory barriers from SysV IPC This patch uses the rcu_assign_pointer() API to eliminate a number of explicit memory barriers from the SysV IPC code that uses RCU. It also restructures the ipc_ids structure so that the array size is stored in the same memory block as the array itself (see the new struct ipc_id_ary). This prevents the race that the earlier code was subject to, where a reader could see a mismatch between the size and the actual array. With the size stored with the array, the possibility of mismatch is eliminated -- with out the need for careful ordering and explicit memory barriers. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2287, 2004-10-28 08:28:24-07:00, paulmck@us.ibm.com [PATCH] RCU: use rcu_assign_pointer() This patch uses the rcu_assign_pointer() API to eliminate a number of explicit memory barriers from code using RCU. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2286, 2004-10-28 08:28:13-07:00, paulmck@us.ibm.com [PATCH] RCU: rcu_assign_pointer() removal of memory barriers This patch adds the rcu_assign_pointer() API that helps reduce the need for explicit memory barriers in code that uses RCU. This API buries the required memory barriers in a macro that also does the assignment. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2285, 2004-10-28 08:28:00-07:00, kraxel@bytesex.org [PATCH] v4l: config cleanups Cleanup the video4linux driver configuration by using "select" instead of "default if ...". Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2284, 2004-10-28 08:27:48-07:00, kraxel@bytesex.org [PATCH] v4l: videodev whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2283, 2004-10-28 08:27:36-07:00, kraxel@bytesex.org [PATCH] v4l: videobuf whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2282, 2004-10-28 08:27:23-07:00, kraxel@bytesex.org [PATCH] v4l: tuner update This is an update for the v4l tuner modules (tuner.o + tda9887.o). Changes: * fix two tuner config entries. * switch insmod options to new 2.6-ish style. * add suspend/resume functions. The patch also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2281, 2004-10-28 08:27:11-07:00, kraxel@bytesex.org [PATCH] v4l: msp3400 update This is a update for the msp3400 module. Changes: * switch over to 2.6-ish insmod options. * use kthread for thread management. * add support for v4l2 audio ioctls. * merge a number of changes from the ivtv project. * add suspend/resume functions. The patch also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2280, 2004-10-28 08:26:59-07:00, kraxel@bytesex.org [PATCH] v4l: IR whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2279, 2004-10-28 08:26:46-07:00, kraxel@bytesex.org [PATCH] v4l: i2c whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2278, 2004-10-28 08:26:34-07:00, kraxel@bytesex.org [PATCH] v4l: bttv whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2277, 2004-10-28 08:26:21-07:00, kraxel@bytesex.org [PATCH] v4l: bttv IR input update This is a update for the IR input modules for the bttv driver. It adds IR support to more TV cards and has some some minor cleanups. It also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2276, 2004-10-28 08:26:09-07:00, arjanv@infradead.org [PATCH] make filemap_fdatawrite_range() static The patch below marks filemap_fdatawrite_range static, it's not used outside mm/filemap.c. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2275, 2004-10-28 08:25:56-07:00, arjanv@infradead.org [PATCH] remove unused code: dump_extended_fpu dump_extended_fpu() is used nowhere in the kernel; save a few bytes... Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2274, 2004-10-28 08:25:43-07:00, arjanv@infradead.org [PATCH] vmalloc_to_page helper After William did the remap_pfn_range change, a very common pattern became: page = page_to_pfn(vmalloc_to_page((void *)pos)); if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { the patch below adds a very simple helper, vmalloc_to_pfn() to simplify this a bit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2273, 2004-10-28 08:25:30-07:00, arjanv@infradead.org [PATCH] unexport raise_softirq The patch below unexports raise_softirq(). raise_softirq() is not the right api for drivers to use, instead raise_softirq_irqoff() is, and thankfully all in-kernel code is using that variant already. To avoid future "accidents", unexport. Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2272, 2004-10-28 08:25:18-07:00, penberg@cs.helsinki.fi [PATCH] fbcon: Replace logo_shown magic numbers with constants This patch replaces logo_shown magic numbers with constants in drivers/video/console/fbcon.c. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2271, 2004-10-28 08:25:05-07:00, penberg@cs.helsinki.fi [PATCH] fbcon: Remove spurious casts This patch removes unnecessary casts from drivers/video/console/fbcon.c. Assignment from a void pointer does not require a cast and char type is promoted to int automatically. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2270, 2004-10-28 08:24:53-07:00, adaplas@hotpop.com [PATCH] fbcon: Fix endian bug in fbcon_putc (console mouse problem) The typecast (const unsigned short *) &c in fbcon_putc is not correct for big-endian machines. This problem manifests as a black cursor that can be used to erase the console screen contents. The correct fix is to use scr_writew instead. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2269, 2004-10-28 08:24:40-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to intelfb - Add __iomem annotations to intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2268, 2004-10-28 08:24:28-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations for savagefb Add __iomem annotations for savagefb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2267, 2004-10-28 08:24:15-07:00, agx@sigxcpu.org [PATCH] fbdev: Fix rivafb crashes on PPC - fixes crashes when changing video modes/switching away from X on ppc - fixes random crashes when scrolling in e.g. vi - improves on the NV30 support - reintroduces noaccel (not perfect but helps a lot for debugging) - converts MODULE_PARM to module_param - cleans up some printks, FB_ACCELF_TEXT cruft Most of this is taken from either XFree86 4.3 or BenH's 2.4 ppc tree. From: Antonino Daplas - adjust pixmap->scan_align to 1 and use cfb_* drawing functions if FBINFO_HWACCEL_DISABLED is set Signed-off-by: Guido Guenter Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2266, 2004-10-28 08:24:03-07:00, bjorn.helgaas@hp.com [PATCH] radeonfb: If no video memory, exit with error Nothing good will happen if we try to ioremap and use a zero-sized frame buffer. I observed this problem on an ia64 sx1000 box, where the BIOS doesn't run the option ROM. If we try to continue, radeonfb just gets hopelessly confused because the card isn't initialized correctly. Signed-off-by: Bjorn Helgaas Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2265, 2004-10-28 08:23:51-07:00, penberg@cs.helsinki.fi [PATCH] radeonfb: screeninfo initialization cleanup This patch changes the initialization of radeonfb_default_var to use named initializers and avoids explicitly setting fields that are automatically zeroed. Signed-off-by: Pekka Enberg Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2264, 2004-10-28 08:23:38-07:00, adaplas@hotpop.com [PATCH] savagefb export fixes Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2263, 2004-10-28 08:23:26-07:00, nickpiggin@yahoo.com.au [PATCH] vmscan: pages_scanned fix kswapd is still sometimes going into loops. The problem seemed to be happening on systems with zero inactive pages in ZONE_DMA, so pages_scanned could never be increased, all_unreclaimable would never be set, and kswapd would never break. So change pages_scanned to be a count of the number of _active_ list pages scanned rather than inactive. This has been reported to solve the problems. This is not subject to the reverse problem where one might have zero active list pages, because inactive pages are either be reclaimed, or put onto the active list. I think it is reasonable to have all_unreclaimed trigger based on the amount of active list scanning rather than inactive. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2262, 2004-10-28 08:23:13-07:00, paulmck@us.ibm.com [PATCH] scheduler: remove redundant #ifdef Removes a redundant #ifdef CONFIG_SMP that is nested within an enclosing #ifdef CONFIG_SMP. Signed-off-by: Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2261, 2004-10-28 08:23:01-07:00, schwidefsky@de.ibm.com [PATCH] s390: tty_write fix Make the s/390 console drivers compile without warnings again after the recent tty layer change that moved the copy_from_user out of the drivers. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2260, 2004-10-28 08:22:48-07:00, cw@f00f.org [PATCH] uml: resolve symbols in back-traces Resolve symbols in back-traces. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2259, 2004-10-28 08:22:36-07:00, cw@f00f.org [PATCH] uml: mconsole_proc rewrite This is an update/resync of kraxel's mconsole_proc rewrite from about two months ago and IMO it should be merged as-is (yes, it means /proc has to be mounted but the current code crashes so this is better IMO). Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2258, 2004-10-28 08:22:24-07:00, cw@f00f.org [PATCH] uml: minor warning removal Include some files to remove missing prototype warnings. Signed-off-by: Chris Wedgwood Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2257, 2004-10-28 08:22:11-07:00, cw@f00f.org [PATCH] uml: Kconfig.debug update Update Kconfig.debug so we get SYSRQ back and also the spinlock debugging options. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2256, 2004-10-28 08:21:59-07:00, cw@f00f.org [PATCH] uml: Build fix for TT w/o SKAS This is required to get UML to build with only TT mode. Signed-of-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2255, 2004-10-28 08:21:46-07:00, cw@f00f.org [PATCH] uml: use generic IRQ code Convert UML to use the generic IRQ code. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2254, 2004-10-28 08:21:34-07:00, yi.zhu@intel.com [PATCH] swsusp: print error message when swapping is disabled This patch gives some clues to the user when swapping is not enabled during swsusp. Please apply. Signed-off-by: Zhu Yi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2253, 2004-10-28 08:21:21-07:00, pavel@ucw.cz [PATCH] Kill useless pm_access from vt.c pm_access does nothing these days, and looks ugly. This removes it from vt.c. That actually looks like last user in the tree; it should be possible to kill pm_access completely after 2.6.10. Ouch and add warning to obsolete pm.txt file. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2252, 2004-10-28 08:21:08-07:00, bjorn.helgaas@hp.com [PATCH] ia64 iomap implementation This preserves the ioreadX() == inX() semantics (same as i386), since it's not clear that the speedup of omitting the mf.a for port operations is worth the risk of breaking drivers. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2251, 2004-10-28 08:20:56-07:00, jamesclv@us.ibm.com [PATCH] x86-64 clustered APIC support Forthcoming IBM boxes will be using Nocona and/or Opteron chips in clustered mode to get beyond 8 CPUs. In fact, there are plans to try for 128 CPUs when the Tulsa chip comes out. Thus, there are a fair number of signed vs. unsigned changes in the patch. Thanks to the HPET timer and some HW changes, I've been able to remove the MPS/ACPI string comparisons from the detection code. Instead, it scans bios_cpu_apicid and uses simple heuristics to select the correct IRQ delivery mode. No need for a config option. Hurrah! Likewise, I've been able to avoid the preprocessor tricks that the i386 sub-arch needed to build with one or more sub-arches. Reluctantly-Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2250, 2004-10-28 08:20:42-07:00, venkatesh.pallipadi@intel.com [PATCH] HPET reenabling after suspend-resume hpet hardware seems to need a little prodding during resume for it to start sending the timer interupts again. Attached patch does it for both i386 and x86_64. Makefile change below: Right now suspend-resume ordering of system devices depends on their order of linking. It is ugly. But, thats the way it works currently. And we want timer device to resume before PIC. Signed-off-by: "Venkatesh Pallipadi" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2249, 2004-10-28 08:20:30-07:00, paul.mundt@nokia.com [PATCH] sh: syscall updates This adds the new syscalls (waitid/add_key/request_key/keyctl). Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2248, 2004-10-28 08:20:17-07:00, paul.mundt@nokia.com [PATCH] sh: compile fixes A few random build failures/warnings popped up in 2.6.9, this fixes them. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2247, 2004-10-28 08:20:04-07:00, paul.mundt@nokia.com [PATCH] sh: do_signal() update for generic changes A while back get_signal_to_deliver() changed to take a struct k_sigaction *. This updates do_signal() and handle_signal() to follow the generic API change. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2246, 2004-10-28 08:19:52-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: rework hugepage code Rework the ppc64 hugepage code. Instead of using specially marked pmd entries in the normal pagetables to represent hugepages, use normal pte_t entries, in a special set of pagetables used for hugepages only. Using pte_t instead of a special hugepte_t makes the code more similar to that for other architecturess, allowing more possibilities for consolidating the hugepage code. Using independent pagetables for the hugepages is also a prerequisite for moving the hugepages into their own region well outside the normal user address space. The restrictions imposed by the powerpc mmu's segment design mean we probably want to do that in the fairly near future. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2245, 2004-10-28 08:19:39-07:00, paulus@samba.org [PATCH] PPC/PPC64: Fix FP state corruption on UP Unfortunately the patch Ben sent last week to fix a bug in the saving and restoring of floating-point and altivec context across signal handlers introduced another bug, which tends to corrupt the FP and altivec contexts of other tasks. This patch fixes the problem for both ppc32 and ppc64. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2244, 2004-10-28 08:19:27-07:00, mporter@kernel.crashing.org [PATCH] ppc32: disable broken L2 cache on all 440GX revs Always disable L2 cache on PPC440GX. All revs/speeds of silicon have parity error problems despite errata claims to the contrary. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2243, 2004-10-28 08:19:14-07:00, paulus@samba.org [PATCH] ppc64: cpu hotplug notifier for numa This patch is from Nathan Lynch . The NUMA properties of all "possible" cpus are not necessarily available at boot time on ppc64 LPAR. Only the properties for present cpus are known. This patch modifies the ppc64 numa code to map a cpu to its node right before it is brought up -- this means that secondary cpus are now mapped to their nodes during smp_init(). Cpus are removed from their nodes after they have gone offline. Also some minor cleanups: - Stash the "minimum common depth" in a global at boot time, so we don't have to rediscover it every time something changes. - Remove unnecessary variable from of_get_associativity() which is accessed while possibly uninitialized. - Remove the cpu portion from dump_numa_topology() since it will show only the boot cpu now. We could display this information from smp_cpus_done() if necessary. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2242, 2004-10-28 08:19:02-07:00, sfr@canb.auug.org.au [PATCH] ppc64: iSeries console: cleanup after tty_write user copies removal This patch just removes more of the infrastructure in the PPC64 iSeries console driver that is no longer needed since we no longer need to do copies from user mode in the tty drivers. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2241, 2004-10-28 08:18:50-07:00, jmorris@redhat.com [PATCH] SELinux: fix sidtab locking bug This patch by Kaigai Kohei fixes a bug in the SELinux sidtab code, where we do a spin_unlock_irq() while nested under another irq lock, which enables interrupts and allows a deadlock to happen: sidtab_set() is called between POLICY_WRLOCK and POLICY_WRUNLOCK in services.c:1092. sidtab_set() uses SIDTAB_LOCK()/SIDTAB_UNLOCK(), but SIDTAB_UNLOCK() enables any interruptions because it's defined as spin_unlock_irq(). If an interruption occurs between SIDTAB_UNLOCK() and POLICY_WRUNLOCK, and interruption context try to hold the POLICY_RDLOCK, then a deadlock happen in the result. The solution is to save & restore flags on the inner lock, per the patch below. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Kaigai Kohei Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2240, 2004-10-28 08:18:38-07:00, jmorris@redhat.com [PATCH] SELinux: fix netif bugs and simplify. This patch fixes and simplifies locking in the SELiunux netif cache. An old problem (which I forgot about) is fixed where a netif lookup can be followed by a preemption, causing a race against sel_netif_put(). Kaigai Kohei discovered a problem where netif lookups were also not protected against races with sel_netif_flush(). The code has now been reworked to fix these problems, eliminate the refcounting and remove atomic operations entirely from the read path (generally making better use of RCU). The avc entry ref has been removed as part of this simplification in anticipation of an RCU scalability patch which removes them in general. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2239, 2004-10-28 08:18:25-07:00, jgarzik@pobox.com [PATCH] add nth_page() Provide a function to get the pageframe number of the nth page at scatterlist.page. We cannot just index off scatterlist.page because the physically-contiguous pages may not be contiguous in mem_map[]. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2238, 2004-10-28 08:18:13-07:00, hugh@veritas.com [PATCH] anon cris align address_space CRIS does not demand alignment, so PageAnon's PAGE_MAPPING_ANON bit got mixed up with the low bit of the struct address_space *mapping pointer. Patch based on that from Mikael Starvik, but moved the alignment to the declaration of struct address_space itself, and align to sizeof(long) so it's well-aligned on all architectures. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2237, 2004-10-28 08:18:00-07:00, hugh@veritas.com [PATCH] tmpfs truncate latency High latency observed when deleting a large video file from tmpfs. shmem_truncate held info->lock (easily dropped) and nested atomic kmaps (more awkward to handle, since it's structured to keep them) while scanning the many pages of its swap vector. Now be prepared to cond_resched every 64 ops (but scan an empty page in one go). shmem_free_pages to free a linked list of empty swap vector pages at the end (cond_resched every 64): could still free them one by one in the main loop, but this foreshadows scalability changes - which will want to use RCU on them, only freeing the pages after a grace period. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2236, 2004-10-28 08:17:47-07:00, hugh@veritas.com [PATCH] omit CommitAvail CommitLimit was a good addition to /proc/meminfo, but we don't usually show both what's used and what's free: don't waste lines of screenspace, omit CommitAvail, let the user do the arithmetic as with all the others. And in updating that Documentation, removed the long-gone ReverseMaps. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2235, 2004-10-28 08:17:35-07:00, hugh@veritas.com [PATCH] statm: fix negative data The sixth "data" field of /proc/$pid/statm was sometimes negative: text is a subset of shared_vm, and so was subtracted twice from total_vm. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2234, 2004-10-28 08:17:23-07:00, hugh@veritas.com [PATCH] statm: shared = rss - anon_rss The third "shared" field of /proc/$pid/statm in 2.4 was a count of pages in the mm whose page_count is more than 1 (oddly, including pages shared just with swapcache). That's too costly to calculate each time, so 2.6 changed it to the total file-backed extent. But Andrea knows apps and users surprised when (rss - shared) goes negative: we need to provide an rss-like statistic, close to the 2.4 interpretation. Something that's quick and easy to maintain accurately is mm->anon_rss, the count of anonymous pages in the mm. Then shared = rss - anon_rss gives a pretty good and meaningful approximation to 2.4's intention: wli confirms that this will be useful to Oracle too. Where to show it? I think it's best to treat this as a bugfix and show it in the third field of /proc/$pid/statm, after resident, as before - there's no evidence that the total file-backed extent was found useful. Albert would like other fields to revert to page counts, but that's a lot harder: if mprotect can change the category of a page, then it can't be accounted as simply as this. Only go that route if real need shown. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2233, 2004-10-28 08:17:10-07:00, hugh@veritas.com [PATCH] statm: __vm_stat_accounting The procfs shared_vm accounting in do_mmap_pgoff didn't balance with munmap in the case of shared anonymous: because file comes in NULL, whereas vm_file gets set at the end by shmem_zero_setup. Update file; and update vm_flags (a driver is likely to add VM_IO or VM_RESERVED, modifying reserved_vm); and update pgoff (doesn't affect procfs accounting, but could affect vma_merge - though at present all drivers which modify vm_pgoff set a VM_SPECIAL which prevents merging). And do that __vm_stat_account before advancing to make_pages_present. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2232, 2004-10-28 08:16:58-07:00, hugh@veritas.com [PATCH] shmem NUMA policy spinlock The NUMA policy for shared memory or tmpfs page allocation was protected by a semaphore. It helps to improve scalability if we change that to a spinlock (and there's only one place that needs to drop and reacquire). Oh, and don't even bother to get the spinlock while the tree is empty. Acked-by: Andi Kleen Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2231, 2004-10-28 08:16:45-07:00, dhowells@redhat.com [PATCH] move key_init to security_initcall During system boot many probes, etc. will generate upcalls to userspace via call_usermodehelper(). This has the effect of calling execve() before the key subsystem has been initialized, and thus Oopsing on a NULL key_jar during key_alloc(). Move key_init to security_initcall so that it's called along with other security initialization routines which have similar requirements. Signed-off-by: Chris Wright Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2203.1.6, 2004-10-27 21:34:02-07:00, herbert@gondor.apana.org.au [ETHTOOL]: Enforce SG requires TX csum rule. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2203.1.5, 2004-10-27 21:32:34-07:00, herbert@gondor.apana.org.au [XFRM]: Don't panic in xfrm_user_init Since xfrm_user can be built as a module it's best not to panic when something goes wrong in xfrm_user_init. Call me a wimp for not fixing netlink_kernel_init's return value :) Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2203.1.4, 2004-10-27 21:31:44-07:00, herbert@gondor.apana.org.au [NETLINK]: Check netlink_insert in kernel_create This patch checks the return value of netlink_insert() in netlink_kernel_create(). It could fail if someone loads the same module twice for instance. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2229, 2004-10-27 21:14:44-07:00, gerg@snapgear.com [PATCH] update total_vm on non-MMU configurations This patch fixes 3 problems with the nommu.c support code: 1. export mem_map and vmtruncate (to make them the same as MMU version) 2. update the total_vm usage in mmap routines Without this the OOM killer has no "badness" points to rate processes on... This patch was originally submitted by Giovanni Casoli for a 2.4.26 kernel. I applied it to the 2.6.9 code. 3. provide stub for arch_get_unmapped_area Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2228, 2004-10-27 21:14:32-07:00, gerg@snapgear.com [PATCH] support all relocation types for m68knommu modules Add code to support the apply_relocate_add() function, needed to support all relocation types of the m68k and Coldfire families. This code is straight out of the m68k support for this. Patch was originally from Christian Magnusson Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2227, 2004-10-27 21:14:20-07:00, gerg@snapgear.com [PATCH] remove other unused shglcores.h include Remove remaining unused shglcores.h include. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2226, 2004-10-27 21:14:07-07:00, gerg@snapgear.com [PATCH] remove unused shglcore.h include Remove unused shglcore.h include. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2225, 2004-10-27 21:13:57-07:00, gerg@snapgear.com [PATCH] clean up HZ definition Clean up the definition of HZ on m68knommu systems. There is really only a couple of cases to handle, most boards use the traditional 100Hz still. Only special case out those that don't. The current code is just spaghetti. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2224, 2004-10-27 21:13:44-07:00, gerg@snapgear.com [PATCH] remove unused shglcore support Remove unused SHGLCORE support. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2223, 2004-10-27 21:13:32-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5307/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2222, 2004-10-27 21:13:20-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5249/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2221, 2004-10-27 21:13:07-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5206e/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2220, 2004-10-27 21:12:55-07:00, gerg@snapgear.com [PATCH] remove unused include in m68knommu mm/memory.c Remove unused shglcore.h include from m68knommu/mm/memory.c That file will be removed in an upcoming patch. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2219, 2004-10-27 21:12:43-07:00, gerg@snapgear.com [PATCH] remove unused include in m68knommu mm/init.c Remove unused shglcore.h include from m68knommu/mm/init.c That file will be removed in an upcoming patch. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2214.1.1, 2004-10-27 22:59:13-04:00, jgarzik@pobox.com [libata] cosmetic libata.h changes to make merging with 2.4 easier ChangeSet@1.2218, 2004-10-27 18:50:42-07:00, torvalds@ppc970.osdl.org Fix kbuild problem with O= Kbuild can't fix up "-I $(src)/.." to the right directory due to the particular magic transformations it does on -I arguments. Remove the space, use "-I$(src)/.." and it works. Hopefully Sam will fix this build issue. I think somebody should dress up as scripts/Makefile.lib for Halloween. Now _that_ would be scary. ChangeSet@1.2217, 2004-10-27 18:25:29-07:00, torvalds@ppc970.osdl.org Fix atyfb modular build on ppc. Noted by Al Viro, superhacker and endlessly patient person. Sign up today! You too can become a superhacker by setting up a cross-compile environment for all architectures and building "allmodconfig" trees all day long to find places where others have screwed up. ChangeSet@1.2216, 2004-10-27 18:16:37-07:00, randolph@tausq.org [PATCH] Fix cc-option call for xcompiles If an arch Makefile overrides CROSS_COMPILE (e.g. parisc, mips, ...) then the cc-option call in the main Makefile uses the wrong compiler to check for options. Signed-off-by: Randolph Chung Signed-off-by: Linus Torvalds ChangeSet@1.2215, 2004-10-27 18:16:25-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] FB_INTEL Kconfig breakage FB_INTEL selects AGP_INTEL (i.e. intel-agp.c), which is i386-only. AGP_INTEL itself depends on X86 && !X86_64 and for a good reason - it doesn't build elsewhere. Added dependency to FB_INTEL itself; as it is allmodconfig had been broken on everything outside i386. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds ChangeSet@1.2203.1.3, 2004-10-27 16:33:17-07:00, greearb@candelatech.com [VLAN]: Sync code and feature set with 2.4.x Signed-off-by: David S. Miller ChangeSet@1.2189.5.4, 2004-10-27 15:56:14-07:00, trini@kernel.crashing.org ppc32: Remove sandpoint_early_serial_map() This was causing problems and isn't needed. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2026.3.29, 2004-10-27 23:23:24+01:00, nico@org.rmk.(none) [ARM PATCH] 2080/1: clean up io-{read|write}sl Patch from Nicolas Pitre - eliminate difference between ARMv3 and ARMv4 versions of io-readsl - unified little/big endian support - misc optimisations Signed-off-by: Nicolas Pitre ChangeSet@1.2189.5.3, 2004-10-27 15:07:39-07:00, trini@kernel.crashing.org ppc32: Fix warning in gen550 code. In gen550_dbg.c, cast addr in our direct_inb/oub routines to __iomem. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2189.5.2, 2004-10-27 15:05:27-07:00, trini@kernel.crashing.org ppc32: Move request_irq() calls to arch_initcall() functions request_irq() needs to be called a bit later than we were doing before, causing crashes. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2016.1.6, 2004-10-27 23:58:00+02:00, marcel@holtmann.org [Bluetooth] Allow vendor specific packet types The vendor packet type 0xff is not handled at the moment. This patch corrects this behaviour and also adapts the security filter for this packet type. Signed-off-by: Marcel Holtmann ChangeSet@1.2189.4.5, 2004-10-27 22:56:28+01:00, rmk@flint.arm.linux.org.uk [MMC] Deprecate "req" member of mmc_data structure. Host drivers should now use the scatterlist rather than accessing the request directly. This marks the request pointer as being deprecated so that host driver authors get a chance to fix their drivers up before we remove this member. ChangeSet@1.2016.1.5, 2004-10-27 23:48:28+02:00, marcel@holtmann.org [Bluetooth] Fix another disconnect race When the selecting of the alternate setting for the SCO audio support fails, the hci_usb_disconnect() will dereference a NULL pointer. To avoid this, the isoc_iface variable must be set before releasing the interface and unset afterwards. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.3.28, 2004-10-27 22:44:54+01:00, tony@com.rmk.(none) [ARM PATCH] 2173/1: OMAP update 7/8, take 3: Add PM support Patch from Tony Lindgren This patch by Dirk Behme, Todd Poynor et al adds power management support for OMAP. Suspend works on at least 1510 and 16xx. Signed-off-by: Tony Lindgren ChangeSet@1.2189.4.4, 2004-10-27 22:39:45+01:00, rmk@flint.arm.linux.org.uk [MMC] Switch PXAMCI to use supplied scatterlist. This converts the PXA MCI driver to use the supplied scatter list rather than accessing the struct request directly, thereby making this host driver independent of the block layer. We also clean up the driver to use a consistent driver name for resources. ChangeSet@1.2016.1.4, 2004-10-27 23:35:49+02:00, marcel@holtmann.org [Bluetooth] Ignore the BPA 100/105 devices The BPA 100/105 devices from Digianswer identify themself with the USB class code for H:2 devices, but they are using quite a different host transport protocol and so ignore them. Signed-off-by: Marcel Holtmann ChangeSet@1.2189.1.21, 2004-10-27 14:35:28-07:00, chas@relax.cmf.nrl.navy.mil [ATM]: don't leak skb on as_indicate failure; don't wakeup twice on as_close Signed-off-by: Chas Williams Signed-off-by: David S. Miller ChangeSet@1.2209, 2004-10-27 14:35:24-07:00, torvalds@ppc970.osdl.org Fix up "compat_sys_keyctl()" system call. Fix name, and make sure that it's listed as a conditional system call so that we stub it out to ENOSYS if the kernel isn't compiled with key management support. ChangeSet@1.2189.1.20, 2004-10-27 14:30:35-07:00, davem@nuts.davemloft.net Merge bk://kernel.bkbits.net/acme/sk_buff-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2189.1.19, 2004-10-27 14:27:50-07:00, laforge@netfilter.org [NET]: Fix NLM_F_MULTI in tcp_diag and xfrm_user Signed-off-by: Harald Welte Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2189.1.18, 2004-10-27 14:24:02-07:00, tgraf@suug.ch [PKT_SCHED]: Remove bogus lock and make cls_set_class return unsigned long. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.4.3, 2004-10-27 21:47:06+01:00, rmk@flint.arm.linux.org.uk [MMC] Remove block knowledge from MMCI driver. Convert MMCI driver to use the scatter list provided by the upper MMC layers. This removes all knowledge of struct request from the MMCI driver. ChangeSet@1.2189.4.2, 2004-10-27 21:38:11+01:00, rmk@flint.arm.linux.org.uk [MMC] Add support for passing scatterlists to MMC host drivers. This is intended to remove block layer knowledge from MMC host drivers. Host drivers are expected to use the scatter list for data transfers rather than accessing the struct request. ChangeSet@1.2208, 2004-10-27 13:36:23-07:00, hollisb@us.ibm.com [PATCH] HVSI reset support This patch adds support for when the service processor (the other end of the console) resets due to a critical error; we can resume the connection when it comes back. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2207, 2004-10-27 13:36:10-07:00, hollisb@us.ibm.com [PATCH] HVSI early boot console This patch adds support for the udbg early console interfaces when using an HVSI console. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2206, 2004-10-27 13:35:58-07:00, hollisb@us.ibm.com [PATCH] HVSI hangup oops Testing revealed that the HVSI driver could oops if carrier detect dropped mid-data transfer. This fixes it by properly locking the hangup. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2205, 2004-10-27 13:34:52-07:00, dhowells@redhat.com [PATCH] ppc/ppc64: hook up key management syscalls The attached patch permits my key management stuff to be used on PPC, PPC64 and PPC on PPC64. Syscall numbers were allocated by Paul Mackerras. I've updated my keyctl utility to work on PPC/PPC64 too: http://people.redhat.com/~dhowells/keys/keyctl.c Signed-Off-By: David Howells Signed-off-by: Linus Torvalds ChangeSet@1.2204, 2004-10-27 13:16:54-07:00, torvalds@ppc970.osdl.org Don't ask the user for esoteric compiler tweaks by default. You can get all the kernel tweaking if you say yes to EMBEDDED, which exposes questions that make sense only for experts. ChangeSet@1.2189.4.1, 2004-10-27 21:09:49+01:00, rmk@flint.arm.linux.org.uk [MMC] Fix incorrectly balanced spin_lock_irq() ChangeSet@1.2026.3.27, 2004-10-27 21:02:08+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2172/1: S3C2410 - clock updates Patch from Ben Dooks This patch does the following: - move the clock initialisation to just after the cpu init - add the two clocks for the s3c2440 - add dclk0/1 and clkout0/1 definitions - add list of clocks to the board specific struct - fix initialisation of the clock control - update handling of parent clocks for >1 parent this fixes the following problems: - serial console with no clock sources - clocks specific to various boards - hang if LCD controller enabled at start time Signed-off-by: Ben Dooks ChangeSet@1.2026.3.26, 2004-10-27 20:57:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2139/1: BAST - Power management initialisation Patch from Ben Dooks Allow power managemnet support for the Simtec EB2410ITX (BAST) Signed-off-by: Ben Dooks ChangeSet@1.2026.3.25, 2004-10-27 20:46:58+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2161/1: S3C2410 - uncompressor low level uart configuration Patch from Ben Dooks Allow the uncompressing messages to be sent to the UART specified in the kernel configuration, instead of just UART 0. This includes the Kconfig update to make this option available all the time, and to rename it's description text. This patch also fixes s3c2440 support for the uncompressor Signed-off-by: Ben Dooks ChangeSet@1.2026.3.24, 2004-10-27 20:42:02+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2159/1: BAST - include/asm-arm/arch-s3c2410/bast-pmu.h Patch from Ben Dooks Header file for BAST Power Management unit register definitions Signed-off-by: Ben Dooks ChangeSet@1.2026.3.23, 2004-10-27 20:37:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2158/1: S3C2410 - clean warnings from arch/arm/mach-s3c2410/pm.c Patch from Ben Dooks Clean warnings about unsigned long / unsigned int printk args and update comment on debugging Depends on patch 2134/3 Signed-off-by: Ben Dooks ChangeSet@1.2026.3.22, 2004-10-27 20:32:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2157/2: S3C2410 - default configuration update Patch from Ben Dooks Updated default configurations for s3c2410 and bast Signed-off-by: Ben Dooks ChangeSet@1.2026.3.21, 2004-10-27 20:27:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2156/1: S3C2410 - Documentation updates Patch from Ben Dooks Update the following in Documentation/arm/Samsing-S3C24XX/ - mtd merge update - list of contributors - change history Signed-off-by: Ben Dooks ChangeSet@1.2026.3.20, 2004-10-27 20:22:06+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2155/1: S3C2410 - fix definition of S3C2410_UDC_MAXP_REG Patch from Ben Dooks Attached is the fix for the S3C2410_UDC_MAXP_REG definition. Signed-off-by: Ben Dooks Signed-off-by: Arnaud Patard ChangeSet@1.2026.3.19, 2004-10-27 20:16:54+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2152/1: S3C2410 - lcd controller register fixes Patch from Ben Dooks Fix the mis-definition of the following registers / bits in the s3c2410 LCD controller register header: - S3C2410_LCDCON1_MMODE - S3C2410_LCDCON1_ENVID - S3C2410_LCDCON3_HBPD - S3C2410_LCDCON3_WDLY and adds the following missing register definitoons - S3C2410_LCDBANK - S3C2410_LCDBASEU - S3C2410_OFFSIZE - S3C2410_PAGEWIDTH thanks to Arnaud Patard for finding these problems Signed-off-by: Ben Dooks Signed-off-by: Arnaud Patard ChangeSet@1.2026.3.18, 2004-10-27 20:11:45+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2151/1: S3C2410 - fix guard on include/asm-arm/arch-s3c2410/regs-iic.h Patch from Ben Dooks fix guard define so it does not clash with another header file. Signed-off-by: Ben Dooks ChangeSet@1.2026.3.17, 2004-10-27 20:06:52+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2149/1: S3C2410 - usb-simtec.c fixes and cleanup Patch from Ben Dooks This patch does the following - removes the setup code to change device/host behaviour, which does not belong here - tidies up the debug output - fixes the call to free_irq() to pass the right info - ensures the usb code is notified when the over-current condition is removed Signed-off-by: Ben Dooks ChangeSet@1.2026.3.16, 2004-10-27 20:01:54+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2148/1: S3C2410 - I2C platfrom data Patch from Ben Dooks Attached is the include file for the i2c platform data for the s3c2410/s3c2440 I2C controller Signed-off-by: Ben Dooks ChangeSet@1.2026.3.15, 2004-10-27 19:56:42+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2147/1: S3C2410 - reorganise board support Patch from Ben Dooks this patch makes the following changes: - renames struct s3c2410_board to s3c24xx_board - moves board registration into cpu.c Signed-off-by: Ben Dooks ChangeSet@1.2026.3.14, 2004-10-27 19:51:45+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2146/1: S3C2410 - serial fixes and s3c2440 updates Patch from Ben Dooks fixes the following: - no debug output in the head code for either s3c2410 or s3c2440 - fifo size calculation in the low-level debugging code - serial constants for s3c2440 serial fifo sizes - added s3c2440 support for uncompress.h Signed-off-by: Ben Dooks ChangeSet@1.2026.3.13, 2004-10-27 19:46:36+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2138/1: S3C2410 - Power Management documentation (4/4) Patch from Ben Dooks Documentation for the suspend and resume code in Documentation/arm/Samsung-S3C24XX/Suspend.txt Signed-off-by: Ben Dooks ChangeSet@1.2026.3.12, 2004-10-27 19:41:32+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2136/1: S3C2410 - Power Management IRQ wakeup (3/4) Patch from Ben Dooks Allow all wake-up capable IRQs to be configured as such Signed-off-by: Ben Dooks ChangeSet@1.2189.3.4, 2004-10-27 11:36:56-07:00, tony.luck@intel.com [IA64] fix(?) unwind data for ia64_monarch_init_handler Roland> I can see the ERROR: comes from unwcheck.pl but I have no Roland> idea what it is checking (something to do with unwind info?) Roland> let alone how to fix the problem. Roland> Is this benign or is there something to be fixed? David> Both: it needs to be fixed, but it's (mostly) benign since the only David> time we're executing that code is when the unwinder can't run anyhow, David> since we're in the middle of delivering an MCA. That may (and David> probably will) change in the future, so it's something that should be David> fixed. David> I was hoping someone who knows and could test the MCA code better David> would fix it but that hasn't happened yet, so it's time for plan B. David> Tony, below is a patch that fixes the unwind info enough that the David> warning/error goes away. The unwind-info may not be 100% correct David> though. Someone who can test/exercise this code may want to check on David> that. Signed-off-by: Tony Luck ChangeSet@1.2026.3.11, 2004-10-27 19:36:30+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2135/3: S3C2410 - Power Management timer resume (2/4) Patch from Ben Dooks Support for restarting the system timer after a suspend-resume cycle. Also fixes the following - missed partial setup for BAST and VR1000 - added IPAQ RX3715 timer setup Signed-off-by: Ben Dooks ChangeSet@1.2026.3.10, 2004-10-27 19:31:31+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2134/3: S3C2410 - Power Management core (1/4) Patch from Ben Dooks Core support for S3C2410 suspend to SDRAM Signed-off-by: Ben Dooks ChangeSet@1.2026.3.9, 2004-10-27 19:15:23+01:00, tony@com.rmk.(none) [ARM PATCH] 2170/1: OMAP update 2/8, take 2: Arch files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Collapse OMAP 1610, 6912 and 1710 into one processor group 16xx - USB updates by David Brownell - Pin multiplexing updates by David Brownell - Board specific low level serial port init Signed-off-by: Tony Lindgren ChangeSet@1.2203, 2004-10-27 10:38:53-07:00, hunold@linuxtv.org [PATCH] DVB: misc. updates to frontend drivers - [DVB] add legacy DishNetwork support to dvb core and stv0299, thanks to Jeremy Hall - [DVB] mt352: major cleanup, support DVICO FusionHDTV DVB-T, thanks to Christopher Pascoe Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2202, 2004-10-27 10:38:38-07:00, hunold@linuxtv.org [PATCH] DVB: revamp dibusb driver - [DVB] dibusb: update documentation for the dibusb DVB driver - [DVB] dibusb: major overhaul of the driver, including adding new vendor and product ids from clones Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2201, 2004-10-27 10:38:21-07:00, hunold@linuxtv.org [PATCH] DVB: add new driver - [DVB] add new driver for the Terratec CinergyT2/qanu USB2 DVB-T receiver, thanks to Daniel Mack and Holger Waechtler Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2200, 2004-10-27 10:38:00-07:00, hunold@linuxtv.org [PATCH] DVB: misc. updates to the dvb-core - [DVB] ttusb_dec: add new 2000T type model number - [DVB] dvb_ca_en50221: properly zero out private pointer - [DVB] dvb-bt8xx: properly use a mutex when starting/stopping the dma engine, remove card list, it's not need anymore - [DVB] bt878: fix hex <=> dec typo (missing 0x prefix), mark remove bt878_remove() function __devexit_p - [DVB] dvb-core: add dvb_net_debug module parameter, remove some dead code Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2199, 2004-10-27 10:37:48-07:00, hunold@linuxtv.org [PATCH] DVB: rework debugging in av7110 - [DVB] av7110: switch from stupid DEB_xx() debug macros to saner dprintk() style debugging - [DVB] av7110: fix dvb-ttpci ca write() polling - [DVB] budget: switch from stupid DEB_xx() debug macros to saner dprintk() style debugging Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2189.3.3, 2004-10-27 17:07:16+00:00, steiner@sgi.com [IA64-SGI] Update asm-ia64/sn/sn_cpuid.h macros (I missed a file in the cleanup code that I sent yesterday.) SGI SN code currently makes assumptions about the bits in the LID register. These assumptions do not conform to the bit specifications from Intel. For example, SN currently assumes that bits [28:16] of the LID contain the physical node ID of a node. This patch eliminates these assumptions. A SAL call is now used to translate LID values to the NASID/subnode/slice values that are needed for SN platforms. The results of the SAL call are saved in the SN nodepda. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2189.3.2, 2004-10-27 16:21:44+00:00, jbarnes@sgi.com [IA64] fix machine vectors for mmiowb I left out some of the necessary machine vector magic in the mmiowb patch which caused the generic build to break. This patch fixes it up by properly #defining it and #undefing it and adding a routine to lib/io.c. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2026.3.8, 2004-10-27 14:29:04+01:00, rmk@flint.arm.linux.org.uk [ARM] Group linux/* includes together in mcbsp.c ChangeSet@1.2026.3.7, 2004-10-27 14:19:43+01:00, tony@com.rmk.(none) [ARM PATCH] 2169/1: OMAP update 8/8: McBSP update Patch from Tony Lindgren Patch by Samuel Ortiz to update OMAP McBSP support Signed-off-by: Tony Lindgren ChangeSet@1.2026.3.6, 2004-10-27 14:11:54+01:00, tony@com.rmk.(none) [ARM PATCH] 2167/1: OMAP update 6/8: Add graphics acceleration support to DMA Patch from Tony Lindgren This patch by Imre Deak adds support for graphics acceleration features on the OMAP DMA controller. Signed-off-by: Tony Lindgren ChangeSet@1.2026.3.5, 2004-10-27 13:59:24+01:00, tony@com.rmk.(none) [ARM PATCH] 2166/1: OMAP update 5/8: Change OMAP to use generic clock framework Patch from Tony Lindgren This patch by Tuukka Tikkanen changes OMAP to use ARM generic clock framework instead of older OMAP specific clock framework. Patch replaces old clocks.c with new clock.[ch]. Signed-off-by: Tony Lindgren ChangeSet@1.2026.3.4, 2004-10-27 13:50:45+01:00, tony@com.rmk.(none) [ARM PATCH] 2165/1: OMAP update 4/X: Replace 1610 and 5912 header files with 16xx Patch from Tony Lindgren This patch replaces old OMAP headers for 1610 and 5912. These headers are replaced with a common omap16xx.h header file. Signed-off-by: Tony Lindgren ChangeSet@1.2026.3.3, 2004-10-27 13:41:41+01:00, tony@com.rmk.(none) [ARM PATCH] 2164/1: OMAP update 3/8: Include files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Collapse OMAP 1610, 6912 and 1710 into one processor group 16xx - USB updates by David Brownell - Pin multiplexing updates by David Brownell - Board specific low level serial port init Signed-off-by: Tony Lindgren ChangeSet@1.2026.3.2, 2004-10-27 13:07:27+01:00, tony@com.rmk.(none) [ARM PATCH] 2162/1: OMAP update 1/8: Improved cpu detection and serial init Patch from Tony Lindgren This patch improves the OMAP cpu detection during the boot, and adds board-specific init for the serial ports. Signed-off-by: Tony Lindgren ChangeSet@1.2189.1.17, 2004-10-26 21:50:42-07:00, herbert@gondor.apana.org.au [NETLINK]: Remove netlink_sock_nr This patch removes netlink_sock_nr which is only used by a printk statement in af_netlink.c. Even that's only there if NETLINK_REFCNT_DEBUG is defined. If we were really looking for netlink refcnt bugs there are probably better places to do that anyway. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2185.1.12, 2004-10-26 23:50:29+00:00, tony.luck@intel.com [IA64] Need for GRANULEROUNDDOWN Alex's change for mem=/max_addr= now needs to include meminit.h Signed-off-by: Tony Luck ChangeSet@1.2185.1.11, 2004-10-26 23:50:13+00:00, pfg@sgi.com [IA64-SGI] only allocate irq if the device can interrupt Signed-off-by: Patrick Gefre Acked-by: Mike Habeck Signed-off-by: Tony Luck ChangeSet@1.2185.1.10, 2004-10-26 23:49:56+00:00, steiner@sgi.com [IA64-SGI] Delete simulator support from SN idle loop Delete hack for supporting simulator for SN platforms. This capability has been moved into the simulator environment & is no longer required in the kernel. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2185.1.9, 2004-10-26 23:49:38+00:00, steiner@sgi.com [IA64-SGI] Update asm-ia64/sn/sn_cpuid.h macros SGI SN code currently makes assumptions about the bits in the LID register. These assumptions do not conform to the bit specifications from Intel. For example, SN currently assumes that bits [28:16] of the LID contain the physical node ID of a node. This patch eliminates these assumptions. A SAL call is now used to translate LID values to the NASID/subnode/slice values that are needed for SN platforms. The results of the SAL call are saved in the SN nodepda. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2189.1.16, 2004-10-26 16:41:27-07:00, davem@nuts.davemloft.net [PKT_SCHED]: Make net/tc_act/tc_pedit.h include net/act_api.h Signed-off-by: David S. Miller ChangeSet@1.2067.4.2, 2004-10-26 19:39:53-04:00, jgarzik@pobox.com [libata] use kunmap_atomic() correctly ChangeSet@1.2189.1.15, 2004-10-26 16:31:24-07:00, hadi@cyberus.ca [PKT_SCHED]: Add generic packet editor. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller ChangeSet@1.2189.2.1, 2004-10-26 16:18:39-07:00, zach@vmware.com [PATCH] faster signal handling on x86 Optimize away the unconditional write to debug registers on signal delivery path. This is already done on x86_64. We only need to write to dr7 if there is a breakpoint to re-enable, and MOVDR is a serializing instruction, which is expensive. Getting rid of it gets a 33% faster signal delivery path (at least on Xeon - I didn't test other CPUs, so your gain may vary). [ Editors note: it's likely only that slow on Netburst. Serializing is not that expensive, but it is likely that writing to %db7 invalidates the trace cache, which explains why it's so slow on Xeon - it's not just the op itself, it has to re-populate the cache all the time. --- Linus ] Measured delta TSC for three paths on a 2.4GHz Xeon. 1) With unconditional write to dr7 : 800-1000 cycles 2) With conditional write to dr7 : 84-112 cycles 3) With unlikely write to dr7 : 84 cycles Performance test using divzero microbenchmark (3 million divide by zeros): With unconditional write: 7.445 real / 6.136 system 7.529 real / 6.482 system 7.541 real / 5.974 system 7.546 real / 6.217 system 7.445 real / 6.167 system With unlikely write: 5.779 real / 4.518 system 5.783 real / 4.591 system 5.552 real / 4.569 system 5.790 real / 4.528 system 5.554 real / 4.382 system That's about a 33% speedup - more than I expected; apparently getting rid of the serializing instruction makes the do_signal path much faster. Zachary Amsden (zach@vmware.com) ChangeSet@1.2189.1.14, 2004-10-26 16:07:39-07:00, tgraf@suug.ch [PKT_SCHED]: Use new header architecture Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.13, 2004-10-26 16:06:57-07:00, tgraf@suug.ch [PKT_SCHED]: Inline psched_tod_diff Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.12, 2004-10-26 16:06:11-07:00, tgraf@suug.ch [PKT_SCHED]: Cleanup cls_set_class Clean up a really messy cross reference where a macro cls_set_class in pkt_sched.h would point to a function tcf_set_class in cls_api.c that uses a inlined function __cls_set_class in pkt_sched.h again. Make tcf_set_class be cls_set_class since it was never used and inline it as well. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.11, 2004-10-26 16:05:14-07:00, tgraf@suug.ch [PKT_SCHED]: psched_*_per_* can be static Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.10, 2004-10-26 16:04:32-07:00, tgraf@suug.ch [PKT_SCHED]: Move tc_classify from pkt_cls.h to sch_api.c tc_classiy has grown too big to be inlined, move it to sch_api.c and export it. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.9, 2004-10-26 16:03:13-07:00, tgraf@suug.ch [PKT_SCHED]: Transform pkt_sched.h prototypes to be extern Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.8, 2004-10-26 16:02:21-07:00, tgraf@suug.ch [PKT_SCHED]: Remove obsolete definitions in pkt_sched.h Removes all obsolete definitions in pkt_sched.h now in sch_generic.h or act_api.h. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.7, 2004-10-26 16:00:53-07:00, tgraf@suug.ch [PKT_SCHED]: Add net/act_api.h with public action/policer bits Adds net/act_api.h containing all public action/policer bits used by schedulers and classifiers Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.6, 2004-10-26 15:58:53-07:00, tgraf@suug.ch [PKT_SCHED]: Remove obsolete definitions in pkt_cls.h Removes all obsolete definitions in pkt_cls.h now in sch_generic.h and includes them via sch_generic.h. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.5, 2004-10-26 15:57:39-07:00, tgraf@suug.ch [PKT_SCHED]: Add net/sch_generic.h with generic sched definitions. Adds net/sch_generic.h containing all bits directly referenced by schedulers and classifiers. Map of users: Group 1) struct qdisc_rate_table sch_*, tcf_police -> cls_* Could theoretically be moved to pkt_sched.h with Patch 4 but the long term goal it so make net/act_api.h to being dependent on net/pkt_sched.h Group 2) struct Qdisc sch_*, tcf_proto -> cls_* struct Qdisc_ops sch_*, tcf_proto -> cls_* struct Qdisc_class_ops sch_*, tcf_proto -> cls_* struct tcf_proto_ops sch_*, cls_* struct tcf_proto sch_*, cls_* Obviously used by schedulers but also by classifiers to bind classes (tcf_proto -> Qdisc -> Qdisc_ops -> Qdisc_class_ops). tcf_proto OTOH is used by schedulers, (neat cross usage). Group 3) struct tcf_result sch_*, cls_* Used to communicate between scheduler and classifer to report classify result. Group 4) sch_tree_(un)lock sch_*, cls_* tcf_tree_(un)lock sch_*, cls_* qdisc(un)lock_tree sch_*, cls_* Randomly used in schedulers and classifiers. Group 5) tcf_destroy sch_*, cls_api.c Coud theoretically be moved to pkt_sched.h if we include pkt_sched.h in cls_api.c but this is really generic and it seemd cleaner to have it here. This would be the only classifier related action in pkt_sched.h The following types are referenced in sch_generic.h but defined in either pkt_cls.h or pkt_sched.h because they will never be used by the other side: - qdisc_walker (pkt_sched.h) - tcf_walker (pkt_cls.h) Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2189.1.4, 2004-10-26 15:55:51-07:00, tgraf@suug.ch [PKT_SCHED]: pkt_cls.h needs pkt_sched.h Signed-off-by: David S. Miller ChangeSet@1.2185.2.5, 2004-10-27 00:36:12+02:00, rmk+lkml@arm.linux.org.uk arm: Fix ARM kernel build with permitted binutils versions All ARM binutils versions post 2.11.90 contains an extra "feature" which interferes with the kernel in various ways - extra "mapping symbols" in the ELF symbol table '$a', '$t' and '$d'. This causes two problems: 1. Since '$a' symbols have the same value as function names, this causes anything which uses the kallsyms infrastructure to report wrong values. 2. programs which parse System.map do not expect symbols to start with '$'. Signed-off-by: Russell King Signed-off-by: Sam Ravnborg ===== kernel/module.c 1.120 vs edited ===== ChangeSet@1.2185.2.4, 2004-10-27 00:29:10+02:00, juhl-lkml@dif.dk kconfig: Small spelling fix for MODULE_SRCVERSION_ALL Kconfig Here's a trivial patch fixing a small spelling error in init/Kconfig in the description of MODULE_SRCVERSION_ALL Signed-off-by: Jesper Juhl Signed-off-by: Sam Ravnborg ChangeSet@1.2185.2.3, 2004-10-27 00:27:31+02:00, trini@kernel.crashing.org kbuild: warning fixes on Solaris 9 The following set of patches is based loosely on the patches that Jean-Christophe Dubois came up with for 2.6.7. Where as the original patches added a number of casts to unsigned char, I went the route of making the chars be explicitly signed. I honestly don't know which route is better to go down. Doing this is the bulk of the patch. Out of the rest of the odds 'n ends is that on Solaris, Elf32_Word is a ulong, which means all of the printf's are unhappy (uint format, ulong arg) for most of the typedefs. Signed-off-by: Tom Rini Signed-off-by: Sam Ravnborg ChangeSet@1.2185.2.2, 2004-10-27 00:07:03+02:00, sam@mars.ravnborg.org kbuild/usr: initramfs list fixed and simplified Moving logic to scripts/gen_initramfs_list.sh make a nice cleanup in usr/Makefile. A new initramfs image will be generated if the initramfs_list file changes. This patch also fixes the bug with make O=.. Signed-off-by: Sam Ravnborg ChangeSet@1.2196, 2004-10-26 22:53:13+02:00, bzolnier@trik.(none) [ide] remove needless exports from ide-taskfile.c Also remove unused MAX_DMA define. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2185.1.8, 2004-10-26 20:37:32+00:00, steiner@sgi.com [IA64] Delete obsolete code from SGI console driver Delete obsolete code that supports the SGI simulator. This support code has been moved into the fakeprom and is no longer required in the kernel. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2185.1.7, 2004-10-26 20:33:21+00:00, jasonuhl@sgi.com [IA64] fix pgtable.h comments Remove some statements from comments in whose correctness is page size dependent ... and based on using an 8k page size, which almost nobody actually uses. Signed-off-by: Jason Uhlenkott Signed-off-by: Tony Luck ChangeSet@1.2195, 2004-10-26 22:19:18+02:00, bzolnier@trik.(none) [ide] add ide_use_dma() Should prevent bugs like the recent piix one in the future. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2194, 2004-10-26 21:55:02+02:00, bzolnier@trik.(none) [ide] add pci_get_legacy_ide_irq() This patch adds pci_get_legacy_ide_irq() to the PCI layer for dealing with PCI IDE chipsets that use the "legacy mode" IRQ routing, thus violating the normal PCI routing. The generic implementation provides IRQ numbers 14 and 15, and it adds a ppc64 specific one with platform callbacks so that a plaform can provide different IRQ numbers for "legacy" IDE. I only fixed the amd7xxx.c driver for now, I expect people using this interface will slowly fix their drivers (I will fix via soon as I'll need it too, and maybe a few others). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2193, 2004-10-26 21:53:59+02:00, bzolnier@trik.(none) [ide] remove unused internal exports from ide core From: Arjan van de Ven ide-iops.c exports a few functions that either have no users or have no users AND shouldn't be used by drivers; the patch below unexports them. -EXPORT_SYMBOL(SELECT_INTERRUPT); -EXPORT_SYMBOL(SELECT_MASK); -EXPORT_SYMBOL(QUIRK_LIST); -EXPORT_SYMBOL(ata_vlb_sync); only used in the core ide code -EXPORT_SYMBOL(ata_input_data); -EXPORT_SYMBOL(ata_output_data); drivers should (and do) use the hwif-> function pointer variant of these, these functions are internal and used for setting the default hwif-> function pointers only. No need to export, in fact exporting is only asking for accidents Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2185.2.1, 2004-10-26 21:50:54+02:00, sam@mars.ravnborg.org Merge bk://linux-sam.bkbits.net/kbuild into mars.ravnborg.org:/home/sam/bk/to-linus ChangeSet@1.2189.1.3, 2004-10-26 12:32:47-07:00, juhl-lkml@dif.dk [NET]: Fix spelling error for IPComp help in Kconfig. Signed-off-by: Jasper Juhl Signed-off-by: David S. Miller ChangeSet@1.2189.1.2, 2004-10-26 12:28:02-07:00, herbert@gondor.apana.org.au [TCP]: Move tcp_get_info() into tcp.c In my recent foray into tcp_diag I discovered some ugly looking ifdef's on CONFIG_IPV6 that'll break when IPv6 is built as a module. In order to fix it, we need to allow tcp_diag to be built as a module. So here is a start. This patch move tcp_get_info from tcp_diag.c into the site of the other caller, tcp.c. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2192, 2004-10-26 21:27:14+02:00, bzolnier@trik.(none) [ide] pdc202xx_old: PDC20267 needs the same LBA48 fixup as PDC20265 From: Krzysztof Chmielewski Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2185.1.6, 2004-10-26 19:24:59+00:00, kaos@sgi.com [IA64] Correct references from text/data to init.text/data. These errors were found by 'make buildcheck'. Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2191, 2004-10-26 21:19:43+02:00, bzolnier@trik.(none) [ide] ide-probe: undecoded slave fixup Undecoded slave fixup is a oneliner patch to ide-probe to recognize both of my Maxtor drives that appear to have the same serial number, D3000000. Signed-off-by: tabris@tabris.net Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2185.1.5, 2004-10-26 19:14:39+00:00, markgw@sgi.com [IA64] sn_hwperf correctly handle bricks with multiple slabs The procfs handler for /proc/sgi_sn/sn_topology did not correctly handle multiple slabs in the same brick, e.g. a brick containing a compute node and an ionode. Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck ChangeSet@1.2190, 2004-10-26 21:07:19+02:00, bzolnier@trik.(none) [ide] ide-disk: fix /proc/ide/hd?/smart_thresholds Add missing ->data_phase assignment. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2185.1.4, 2004-10-26 19:03:51+00:00, kaos@sgi.com [IA64] Correct bit test for salinfo oem decode The valid.oem_data bit is in different positions in each section. Make the test for valid oem data a section specific test. Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2185.1.3, 2004-10-26 18:41:39+00:00, eranian@hpl.hp.com [IA64] misc small patches for perfmon change-log: - update comment for pfm_do_fasync() - fix return value for pfm_smpl_buffer_alloc(). Now return ENOMEM instead of EAGAIN when buffer too big for RLIMIT_MEMLOCK. - added missing vm_pgoff initialization in pfm_smpl_buffer_alloc() - added flags tro debug print in pfm_write_pmcs - added seed and mask to debug print in pfm_write_pmds - shorten some of the debug prints - remove bogus sanity check from pfm_save_regs() in SMP. this could cause invalid PMU state restore signed-off-by: eranian@hpl.hp.com Signed-off-by: Tony Luck ChangeSet@1.2185.1.2, 2004-10-26 18:36:52+00:00, alex.williamson@hp.com [IA64] efi.c: fix mem= & max_addr= With this change, there's some extra fuzz introduced that a max_addr specification will get rounded down to a granule boundary and memory quantity, when using mem=, will be within a granule size of the requested amount. Let me know if anyone finds more problems with it. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck ChangeSet@1.2000.10.2, 2004-10-26 18:23:18+00:00, akpm@osdl.org [IA64] Need for KERNEL_DS & set_fs() definitions. Signed-off-by: Andrew Morton Signed-off-by: Tony Luck ChangeSet@1.2188, 2004-10-26 09:09:37-07: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.2187, 2004-10-26 08:22:01-07:00, akpm@osdl.org [PATCH] revert- sys_setaltroot We decided to do this a different way. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2185, 2004-10-26 08:02:35-07:00, roland@redhat.com [PATCH] Wake up signalled tasks when exiting ptrace In general it is not safe to do any non-ptrace wakeup of a thread in TASK_TRACED, because the waking thread could race with a ptrace call that could be doing things like mucking directly with its kernel stack. AFAIK noone has established that whatever clobberation ptrace can do to a running thread is safe even if it will never return to user mode, so we can't allow this even for SIGKILL. What we _can_ safely do is make a thread switching out of TASK_TRACED resume rather than sitting in TASK_STOPPED if it has a pending SIGKILL or SIGCONT. The following patch does this. This should be sufficient for the shutdown case. When killing all processes, if the tracer gets killed first, the tracee goes into TASK_STOPPED and will be woken and killed by the SIGKILL (same as before). If the tracee gets killed first, it gets a pending SIGKILL and doesn't wake up immediately--but, now, when the tracer gets killed, the tracee will then wake up to die. This will also fix the (same) situations that can arise now where you have used gdb (or whatever ptrace caller), killed -9 the gdb and the process being debugged, but still have to kill -CONT the process before it goes away (now it should just go away either the first time or when you kill gdb). Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds ChangeSet@1.2184, 2004-10-26 08:02:20-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some sparse fixes This is a batch of sparse fixes for things in arch/ppc64/* and include/asm-ppc64/* More to come of course... Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2183, 2004-10-26 08:02:03-07:00, benh@kernel.crashing.org [PATCH] 8250: Fix empty port registration My latest 8250 patch prevented registration of "empty" ports (ports that have a 0 iobase in the static table). Unfortunately, some archs seem to rely on this, and so broke. This patch reverts that part of the patch. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2182, 2004-10-26 07:53:34-07:00, benh@kernel.crashing.org [PATCH] ppc64: Add new "Maple" platform support This adds support for the Maple 970FX Eval Board. It adds the basic arch support. For the Maple to be fully functional, it needs a couple more patches to be applied for IDE and Ethernet that are currently pending with the respective maintainers of those subsystems. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2181, 2004-10-26 07:31:50-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix g5-only build The iommu_free_table() patch broke g5 only build by adding back some incestuous relationship between generic code and pSeries code. This wraps this in #ifdef as a quick fix until the original author of the patch comes up with a better solution. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2180, 2004-10-26 07:31:36-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix new mpic driver on some POWER3 On machines using the "ISU" mecanism for the MPIC, the new driver didn't properly calculate the new interrupt count when an ISU was added. That would cause later on failure to request interrupts in the offending range. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2179, 2004-10-26 07:31:24-07:00, benh@kernel.crashing.org [PATCH] ppc64: PCI ignores empty phb regions The ppc64 PCI code, when parsing the OF tree, may end up getting empty regions in addition to the "normal" ones for the PHB (some pSeries OF device-tree contains weird "ranges" properties). These are harmless but do trigger some annoying warnings during boot, so let's ignore them. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2067.4.1, 2004-10-26 03:42:24-04:00, jgarzik@pobox.com [libata] return ENOTTY rather than EOPNOTSUPP for unknown-ioctl ChangeSet@1.2067.2.5, 2004-10-26 01:20:52-04:00, arjan@infradead.org [PATCH] remove NET_HW_FLOWCONTROL CONFIG_NET_HW_FLOWCONTROL is entirely unused now, and superceded by NAPI in practice, so remove the dead code Signed-off-by: Arjan van de Ven Signed-off-by: Jeff Garzik ChangeSet@1.2175.1.6, 2004-10-25 21:28:00-07:00, davem@nuts.davemloft.net Merge bk://bk.skbuff.net:20610/linux-2.6-inet6-20041026/ into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2175.1.5, 2004-10-26 13:11:47+09:00, yoshfuji@linux-ipv6.org [IPV6] kill a warning when building without CONFIG_SYSCTL. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2178, 2004-10-25 21:11:03-07:00, benh@kernel.crashing.org [PATCH] ppc64: don't include This patch fixes a couple of places where the ppc64 iSeries code would #include . The only "system" include I consider acceptable is provided by gcc. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2177, 2004-10-25 21:10:51-07:00, benh@kernel.crashing.org [PATCH] Remove bogus definition of local chrp_int_ack_special in pSeries_setup.c. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2067.1.27, 2004-10-25 20:57:45-07:00, herbert@gondor.apana.org.au [TCP]: Handle real partial-ACKs of TSO frames correctly. Actually, I think we've caught your crash now. If that code path is triggering at all, then it'll trigger with TSO packets too. If we get a truly partial ack on a TSO packet, then tcp_tso_acked will not trim it off. So we will fall through to this last-ditch trim call, which doesn't update packets_out. There are two solutions to this problem. I've taken the simpler approach for now. We simply trim off the partial bits in tcp_tso_acked and live with the fact that the packet counters may differ from what's on the netwrok by one. Later on we can 'fix' this by remembering where the original TSO packet started from, perhaps in skb->h or somewhere. Dave, is this worth it? Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2175.1.4, 2004-10-26 12:55:56+09:00, yoshfuji@linux-ipv6.org [IPV6] NDISC: update neighbor cache entry by RS. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2175.1.3, 2004-10-26 12:54:58+09:00, yoshfuji@linux-ipv6.org [IPV6] simplify functions related to RTF_ALLONLINK. Simplify ipv6_get_saddr(), ipv6_dev_get_saddr() and rt6_purge_dflt_routers(). Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2175.1.2, 2004-10-26 12:54:41+09:00, yoshfuji@linux-ipv6.org [IPV6] Remove codes related to RTF_ALLONLINK. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2175.1.1, 2004-10-26 12:51:07+09:00, Brian.Haley@hp.com [IPV6] Lookup appropriate destination when sending TCPv6 with routing header. Signed-off-by: Brian Haley Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2067.1.26, 2004-10-25 20:49:06-07:00, akpm@osdl.org [CRYPTO]: aes-586-asm: small optimizations From: Denis Vlasenko - recode back-to-back fwd_rnd() pairs to avoid two register moves. - ditto for inv_rnd(). - optimize out lea 0(%ebp),%ebp - remove two stray insns # size aes-i586-asm.o.org aes-i586-asm.o text data bss dec hex filename 5971 0 0 5971 1753 aes-i586-asm.o.org 5905 0 0 5905 1711 aes-i586-asm.o Overall, patch does not add and does not modify any insns, only removes a handful of them. However, speed difference is way below noise level. Run-tested with tcrypt module. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2067.1.25, 2004-10-25 20:48:25-07:00, akpm@osdl.org [CRYPTO]: aes-586-asm: formatting changes From: Denis Vlasenko - Macro parameters renamed for clarity. - Inaccurate comments fixed. - ebp register usage de-obfuscated (this is needed for next patch). No real code changes. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2067.1.24, 2004-10-25 20:47:38-07:00, akpm@osdl.org [CRYPTO]: reduce sha512_transform() stack usage, speedup Patch moves large temporary u64 W[80] from stack to ctx struct: * reduces stack usage by 640 bytes * saves one 640-byte memset() per sha512_transform() (we still do it after *all* iterations are done) * quite unexpectedly saves 1.6k of code on i386 because stack offsets now fit into 8bits and many stack addressing insns got 3 bytes smaller: # size sha512.o.org sha512.o text data bss dec hex filename 8281 372 0 8653 21cd sha512.o.org 6649 372 0 7021 1b6d sha512.o # objdump -d sha512.o.org | cut -b9- >sha512.d.org # objdump -d sha512.o | cut -b9- >sha512.d # diff -u sha512.d.org sha512.d [snip] Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2067.1.23, 2004-10-25 20:46:17-07:00, akpm@osdl.org [CRYPTO]: small sha512 cleanup Looks like open-coded be_to_cpu. GCC produces rather poor code for this. be_to_cpu produces asm()s which are ~4 times shorter. Compile-tested only. I am not sure whether input can be 64bit-unaligned. If it indeed can be, replace: ((u64*)(input))[I] -> get_unaligned( ((u64*)(input))+I ) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2067.1.22, 2004-10-25 20:45:35-07:00, akpm@osdl.org [CRYPTO]: small sha256 cleanup Looks like open-coded be_to_cpu. GCC produces rather poor code for this. be_to_cpu produces asm()s which are ~4 times shorter. Compile-tested only. I am not sure whether input can be 32bit-unaligned. If it indeed can be, replace: ((u32*)(input))[I] -> get_unaligned( ((u32*)(input))+I ) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2067.2.4, 2004-10-25 23:42:58-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/janitor into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2067.2.3, 2004-10-25 23:41:18-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/misc into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2067.1.21, 2004-10-25 20:31:50-07:00, davem@nuts.davemloft.net Merge bk://212.42.230.204/nf-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2067.1.20, 2004-10-25 20:29:14-07:00, hch@lst.de [NET]: Remove dead socket layer exports. Signed-off-by: David S. Miller ChangeSet@1.2067.1.19, 2004-10-25 20:26:28-07:00, hch@lst.de [TCP]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2067.1.18, 2004-10-25 20:25:51-07:00, hch@lst.de [IPV6]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2176, 2004-10-25 20:24:58-07:00, torvalds@ppc970.osdl.org Fix UP non-preempt build for kernel lock changes. Duh. I had tested every "interesting" combination of SMP and PREEMPT, but the _trivial_ one was broken ;) ChangeSet@1.2067.1.17, 2004-10-25 20:24:06-07:00, hch@lst.de [XFRM]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2067.1.16, 2004-10-25 20:22:11-07:00, hch@lst.de [ATM]: Mark vcc_remove_socket static Signed-off-by: David S. Miller ChangeSet@1.2067.1.15, 2004-10-25 20:20:56-07:00, pcaulfie@redhat.com [DECNET]: Connect hang bugfix This patch fixes a bug in the DECnet connect that seems to have been in 2.6 for a while now. If a connection is rejected by a remote host (eg invalid access control, no such object etc) the Linux end hangs in connect() because it is only waiting for the socket to go into RUN state. This patch sets the ECONNREFUSED error state on the socket when the connection is rejected to that the connect() exits it's wait loop and returns the error to the user. Signed-off-by: David S. Miller ChangeSet@1.2067.1.14, 2004-10-25 20:10:46-07:00, tgraf@suug.ch [PKT_SCHED]: Rename TCQ_F_INGRES to TCQ_F_INGRESS. This typo annoyned me several times by not showing up in greps. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2067.1.13, 2004-10-25 20:09:20-07:00, ehrhardt@mathematik.uni-ulm.de [IPV4]: Do not try to unhash null-netdev nexthops. Signed-off-by: Christian Ehrhardt Signed-off-by: David S. Miller ChangeSet@1.2067.1.12, 2004-10-25 20:07:30-07:00, chas@cmf.nrl.navy.mil [ATM]: [horizon] eliminate pci_find_device() Signed-off-by: David S. Miller ChangeSet@1.2067.1.11, 2004-10-25 20:06:33-07:00, linville@tuxdriver.com [VLAN]: Add MODULE_VERSION Signed-off-by: John W. Linville Signed-off-by: David S. Miller ChangeSet@1.2067.1.10, 2004-10-25 20:05:55-07:00, linville@tuxdriver.com [BONDING]: Add MODULE_VERSION Signed-off-by: John W. Linville Signed-off-by: David S. Miller ChangeSet@1.2067.1.9, 2004-10-25 20:04:33-07:00, arnouten@bzzt.net [TCP]: Add /proc/net/tcp{,6} layout documentation. Signed-off-by: David S. Miller ChangeSet@1.2067.1.8, 2004-10-25 19:47:47-07:00, suresh.krishnan@ericsson.ca [NET]: Address family not supported for sendmsg() Signed-off-by: David S. Miller ChangeSet@1.2175, 2004-10-25 18:42:30-07:00, benh@kernel.crashing.org [PATCH] ppc64: Cleanup console detection This removes some leftover code that was in #if 0 in the console autodetect code. It also adds passing of the default serial speed as console options when it is available from Open Firmware. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2174, 2004-10-25 18:42:17-07:00, benh@kernel.crashing.org [PATCH] ppc64: Improve PCI config accessors This improves the config space access routines on G5, by adding a generic helper function to locate the pci_controller structure (to be used by an upcoming new platform too) and cleaning up the pmac routines. It includes the fix to skip devices that aren't present in the OF tree that is necessary for newer G5 desktop models. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2173, 2004-10-25 18:40:55-07:00, benh@kernel.crashing.org [PATCH] ppc64: annotate remaining IO accessors This patch adds proper __iomem annotations to the remaning IO macros on ppc64, and removes now useless casts from eeh.h. This fixes the sparse warnings in mpic.c among others. I need to do an equivalent things for ppc32 (though I think viro did some of it already) and fix users. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2172, 2004-10-25 18:28:03-07:00, akpm@osdl.org [PATCH] ide_pio_sector() kmap fix kunmap_atomic() takes a kernel-virtual address, not a pageframe address. For the hundredth time. We really should get typechecking happening there.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2171, 2004-10-25 18:25:55-07:00, bfg-kernel@blenning.no [PATCH] firmware spelling errors Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2170, 2004-10-25 18:25:43-07:00, petero2@telia.com [PATCH] Fix incorrect kunmap_atomic in pktcdvd The pktcdvd driver uses kunmap_atomic() incorrectly. The function is supposed to take an address as the first parameter, but the pktcdvd driver passed a page pointer. Thanks to Douglas Gilbert and Jens Axboe for discovering this. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2169, 2004-10-25 18:25:31-07:00, jack@suse.cz [PATCH] Quota warnings somewhat broken Fix end of lines in quota messages. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2168, 2004-10-25 18:25:18-07:00, edwardsg@sgi.com [PATCH] increase max LOG_BUF_SHIFT value We've run into problems at 512p with the kernel log buffer wrapping and overwriting some of the early boot output. This is with a CONFIG_LOG_BUF_SHIFT value of 20 (1MB). The patch below just bumps the max possible setting to 21 (2MB). Signed-off-by: Greg Edwards Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2167, 2004-10-25 18:25:06-07:00, colin@colino.net [PATCH] clean up therm_adt746x This patch cleans therm_adt746x a bit: lines at maximum 80 chars width, dispatches the big function in three little ones. Functionality not changed. Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2166, 2004-10-25 18:24:54-07:00, bjorn.helgaas@hp.com [PATCH] PCDP: call acpi_register_gsi() with arguments in correct order PCDP: call acpi_register_gsi() with arguments in correct order Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2165, 2004-10-25 18:24:41-07:00, bunk@stusta.de [PATCH] ISDN hisax_fcpcipnp.c: kill unused variable drivers/isdn/hisax/hisax_fcpcipnp.c: In function `hisax_fcpcipnp_init': drivers/isdn/hisax/hisax_fcpcipnp.c:999: warning: unused variable `pci_nr_found' Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2164, 2004-10-25 18:24:29-07:00, bunk@stusta.de [PATCH] CREDITS update Adrian sent me a check for $100. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2163, 2004-10-25 18:24:17-07:00, margitsw@t-online.de [PATCH] Add prism54 to MAINTAINERS Add prism54 to MAINTAINERS Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2162, 2004-10-25 18:24:02-07:00, yanmin.zhang@intel.com [PATCH] hugetlb_get_unmapped_area fix hugetlb_get_unmapped_area() fails to find an unmapped area while unmapped area is huge. That's because hugetlb_get_unmapped_area just searches forward from mm->free_area_cache. If reaching TASK_SIZE, it does not go back to TASK_UNMAPPED_BASE, just returns -ENOMEM. 1) Add a specific hugetlb_get_unmapped_area on i386. 2) Generic hugetlb_get_unmapped_area is also fixed. Signed-off-by: Zhang Yanmin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2161, 2004-10-25 18:23:50-07:00, jbarnes@engr.sgi.com [PATCH] I/O space write barrier On some platforms (e.g. SGI Challenge, Origin, and Altix machines), writes to I/O space aren't ordered coming from different CPUs. For the most part, this isn't a problem since drivers generally spinlock around code that does writeX calls, but if the last operation a driver does before it releases a lock is a write and some other CPU takes the lock and immediately does a write, it's possible the second CPU's write could arrive before the first's. This patch adds a mmiowb() call to deal with this sort of situation, and adds some documentation describing I/O ordering issues to deviceiobook.tmpl. The idea is to mirror the regular, cacheable memory barrier operation, wmb. Example of the problem this new macro solves: CPU A: spin_lock_irqsave(&dev_lock, flags) CPU A: ... CPU A: writel(newval, ring_ptr); CPU A: spin_unlock_irqrestore(&dev_lock, flags) ... CPU B: spin_lock_irqsave(&dev_lock, flags) CPU B: writel(newval2, ring_ptr); CPU B: ... CPU B: spin_unlock_irqrestore(&dev_lock, flags) In this case, newval2 could be written to ring_ptr before newval. Fixing it is easy though: CPU A: spin_lock_irqsave(&dev_lock, flags) CPU A: ... CPU A: writel(newval, ring_ptr); CPU A: mmiowb(); /* ensure no other writes beat us to the device */ CPU A: spin_unlock_irqrestore(&dev_lock, flags) ... CPU B: spin_lock_irqsave(&dev_lock, flags) CPU B: writel(newval2, ring_ptr); CPU B: ... CPU B: mmiowb(); CPU B: spin_unlock_irqrestore(&dev_lock, flags) Note that this doesn't address a related case where the driver may want to actually make a given write get to the device before proceeding. This should be dealt with by immediately reading a register from the card that has no side effects. According to the PCI spec, that will guarantee that all writes have arrived before being sent to the target bus. If no such register is available (in the case of card resets perhaps), reading from config space is sufficient (though it may return all ones if the card isn't responding to read cycles). I've tried to describe how mmiowb() differs from PCI posted write flushing in the patch to deviceiobook.tmpl. Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2160, 2004-10-25 18:23:36-07:00, paulkf@microgate.com [PATCH] serial send_break duration fix Fix tty_io.c send_break() to assert break for proper duration. If driver break_ctl() changes task state, then break may end prematurely. USB serial driver break_ctl() sends a URB, changing task state to TASK_RUNNING. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2159, 2004-10-25 18:23:23-07:00, jim.houston@ccur.com [PATCH] idr_remove safety checking idr_remove() should fail gracefully and warn if the id being removed is not valid. The attached patch should do the job without additional overhead. With the existing code, removing an id which was not allocated could remove a valid id which shares the same lowest layer of the radix tree. I ran a kernel with this patch but have not done any tests to force a failure. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2158, 2004-10-25 18:23:11-07:00, hch@lst.de [PATCH] use generic_file_open in udf Let's try to reduce the number of hand-crafted LFS checks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2157, 2004-10-25 18:22:59-07:00, nickpiggin@yahoo.com.au [PATCH] vm: unreclaimable pages debugginf Add zone->all_unreclaiable to the sysrq-M and omm-killing diagnostic output. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2156, 2004-10-25 18:22:46-07:00, clameter@sgi.com [PATCH] Posix layer <-> clock driver API fix This is needed for an mmtimer driver update that we are currently working on. The mmtimer driver provides CLOCK_SGI_CYCLE via clock_gettime and clock_settime. With this api fix one will be able to use timer_create, timer_settime and friends from userspace to schedule and receive signals via timer interrupts of mmtimer. Changelog * Clean up timer api for drivers that use register_posix_clock. Drivers will then be able to use posix timers to schedule interrupts. * Change API for posix_clocks[].timer_create to only pass one pointer to a k_itimer structure that is now allocated and managed by the posix layer in the same way as for the other posix timer functions. * Isolate a posix_timer_event(timr) function in posix-timers.c that may be called by the interrupt routine of a timer to signal that the scheduled event has taken place. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2155, 2004-10-25 18:22:34-07:00, zippel@linux-m68k.org [PATCH] hfs: export type/creator via xattr This exports the hfs type/creator info via xattr. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2154, 2004-10-25 18:22:21-07:00, zippel@linux-m68k.org [PATCH] hfs: write back resource info directly Write back the information for a dirty resource inode directly and not via the main inode, as at the time the latter is written the former might already be gone. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2153, 2004-10-25 18:22:09-07:00, zippel@linux-m68k.org [PATCH] hfs: read correct dir time Fix a small typo and read the correct time for a dir. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2152, 2004-10-25 18:21:55-07:00, zippel@linux-m68k.org [PATCH] hfs: manage correct block count Manage the fs block count with a separate variable and keep a correct i_blocks for e.g. correct du output. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2151, 2004-10-25 18:21:43-07:00, zippel@linux-m68k.org [PATCH] hfs: relax dirty check hfs has two dirty bits, but currently OS X uses only one of them, so match its behaviour, so that a uncleanly unmounted disk can be mounted r/w again, after it has been checked. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2150, 2004-10-25 18:21:31-07:00, zippel@linux-m68k.org [PATCH] hfs: update key after rename After a file has been renamed, the cached search key must be updated. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2149, 2004-10-25 18:21:18-07:00, jbarnes@engr.sgi.com [PATCH] mmtimer sparse fixes Small patch to add __iomem annotations to mmtimer.c. Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2148, 2004-10-25 18:21:06-07:00, suresh.b.siddha@intel.com [PATCH] intel irqbalance quirk cleanup - Remove the call to quirk_intel_irqbalance() from quirk_pciehp_msi(). - Move the x86(/x86_64)-specific quirk_intel_irqbalance() into x86 quirks.c due to its dependency on - Mark it __init rather than __devinit, since it calls __init functions. Signed-off-by: Suresh Siddha Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2147, 2004-10-25 18:20:53-07:00, sds@epoch.ncsc.mil [PATCH] Add DAC check for setxattr(security.selinux) This patch against 2.6.9 adds a DAC ownership check to the existing MAC permission checks when setting the security.selinux attribute via setxattr. In the past, the MAC permission checks were viewed as sufficient for controlling relabeling operations, but experience in the Fedora SELinux integration has shown that a DAC check is also appropriate here, particularly under targeted policy. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2067.3.2, 2004-10-25 21:20:44-04:00, akpm@osdl.org [PATCH] e1000 module_param build fix Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.2146, 2004-10-25 18:20:41-07:00, rddunlap@osdl.org [PATCH] __init dependencies: ignore __param Ignore __param section references; they aren't discarded. Error: ./drivers/mtd/devices/phram.o __param refers to 0000000000000010 R_X86_64_64 .init.text+0x0000000000000013 Error: ./drivers/scsi/dc395x.o __param refers to 0000000000000020 R_X86_64_64 .init.data+0x0000000000000064 Error: ./drivers/usb/gadget/ether.o __param refers to 0000000000000048 R_X86_64_64 .init.data+0x0000000000000020 Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2145, 2004-10-25 18:20:28-07:00, axboe@suse.de [PATCH] fix bad segment coalescing in blk_recalc_rq_segments() blk_recalc_rq_segments forgots to take ->max_segment_size into account and gladly merges segments bigger than we can support, thus underestimating the number of segments needed to fill it. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2144, 2004-10-25 18:20:16-07:00, rusty@rustcorp.com.au [PATCH] Eliminate init_module and cleanup_module from Documentation In 2.2, you used to just be able to call functions "init_module" and "cleanup_module" and they'd be magically called. These days you should use module_init(myinit)/module_exit(myexit) and avoid #ifdef MODULE. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2143, 2004-10-25 18:20:03-07:00, rusty@rustcorp.com.au [PATCH] boot parameters: quoting of environment variables revisited As noticed by Joey Hess (and thanks for Christoph for forwarding it). Also requirements from Werner Almesberger. If someone passes 'foo="some value"' the param engine removes the quotes and hands 'foo' and 'some value'. The __setup() parameters expect a single string, and so we try to regenerate it from the two parts. Finally, we try to place it as an environment variable. Werner wants quotes stripped out of the environment variable. It makes sense to do that for __setup, too (so it sees 'foo=some value'), since __setup functions don't usually handle quotes. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2142, 2004-10-25 18:19:51-07:00, rusty@rustcorp.com.au [PATCH] Builtin Module Parameters in sysfs too Currently, only module parameters in loaded modules are exported in /sys/modules/, while those of "modules" built into the kernel can be set by the kernel command line, but not read or set via sysfs. - move module parameters from /sys/modules/$(module_name)/$(parameter_name) to /sys/modules/$(module_name)/parameters/$(parameter_name) - remove dummy kernel_param for exporting refcnt, add "struct module *"-based attribute instead - also export module paramters for "modules" which are built into the kernel, so parameters are always accessible at /sys/modules/$(KBUILD_MODNAME)/$(parameter_name) Signed-off-by: Rusty Russell (modified) Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2141, 2004-10-25 18:19:39-07:00, rusty@rustcorp.com.au [PATCH] Fix for MODULE_PARM obsolete There is no __attribute_unused__: use __attribute__((__unused__)). Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2140, 2004-10-25 18:19:27-07:00, rusty@rustcorp.com.au [PATCH] Remove MODULE_PARM from arch/i386 This patch removes MODULE_PARM for everything under arch/i386. Currently only APM. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2139, 2004-10-25 18:19:14-07:00, rusty@rustcorp.com.au [PATCH] Remove MODULE_PARM from i386 defconfig. This cleans up defconfig for i386. Not much work. This patch removes MODULE_PARM for everything made by "defconfig" on x86. There are only a few left. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2138, 2004-10-25 18:19:02-07:00, rusty@rustcorp.com.au [PATCH] MODULE_PARM must die: make it warn first. This patch adds a warning whenever MODULE_PARM is used. Successive patches change them over to module_param. Help appreciated! Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2137, 2004-10-25 18:18:49-07:00, roland@redhat.com [PATCH] session leader tty disassociation fix The session leader should disassociate from its controlling terminal and send SIGHUP signals only when the whole session leader process dies. Currently, this gets done when any thread in that process dies, which is wrong. This patch fixes it. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2136, 2004-10-25 18:18:37-07:00, roland@redhat.com [PATCH] acct: report single record for multithreaded process This patch changes process accounting to write just one record for a process with many NPTL threads, rather than one record for each thread. No record is written until the last thread exits. The process's record shows the cumulative time of all the threads that ever lived in that process (thread group). This seems like the clearly right thing and I assume it is what anyone using process accounting really would like to see. There is a race condition between multiple threads exiting at the same time to decide which one should write the accounting record. I couldn't think of anything clever using existing bookkeeping that would get this right, so I added another counter for this. (There may be some potential to clean up existing places that figure out how many non-zombie threads are in the group, now that this count is available.) Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2135, 2004-10-25 18:18:25-07:00, jim.hague@acm.org [PATCH] pm2fb: Colour palette fixes - Hardware CLUT only needs setting on pseudocolor. - Pseudo palette values need to be 32bit wide for cfb_*(). Signed-off-by: Jim Hague Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2134, 2004-10-25 18:18:13-07:00, jim.hague@acm.org [PATCH] pm2fb: Blanking fixes - Current blanking code forces +ve (h|v)sync. Correct, match 2.4 behaviour, and introduce VESA constants for clarity. Signed-off-by: Jim Hague Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2133, 2004-10-25 18:18:00-07:00, adaplas@hotpop.com [PATCH] fbdev: S3 Savage Framebuffer Driver S3 Savage Frambuffer Driver for the following chipsets: Savage 3D Savage MX Savage 4 Savage 2000 ProSavage SuperSavage This is based from the driver written by: Denis Oliver Kropp Sven Neumann Initial Porting to 2.6 done by: Mika Pruikkonen Added the following: - Console acceleration support (imageblit, fillrect, copyarea) - Configurable - DDC2/I2C support for (ProSavage DDR-K, Savage 4 and Prosavage PM only - Configurable - 8, 16, 32 bits per pixel Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2132, 2004-10-25 18:17:47-07:00, adaplas@hotpop.com [PATCH] fbdev: Intel 830M/845G/852GM/855GM/865G framebuffer driver port Linux framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G integrated graphics chips. Port from kernel 2.4 + some modifications and cleanup : - Fix HW accel on 845G - Use of agpgart for fb memory reservation - Add mtrr support Signed-off-by: Sylvain Meyer Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2131, 2004-10-25 18:17:34-07:00, adaplas@hotpop.com [PATCH] fbdev: Cleanup rivafb cursor implementation remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2130, 2004-10-25 18:17:22-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up i810fb cursor implementation remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2129, 2004-10-25 18:17:10-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up softcursor implementation - use struct fb_pixmap pixmap instead of struct fb_pixmap sprite. The softcursor uses fb_imageblit which also uses pixmap. - remove/change all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2128, 2004-10-25 18:16:57-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up of fbcon/fbdev cursor interface The current cursor interface is confusing. Some fields are taken from the cursor structure in struct fb_info (enable, mask, rop fields) and the rest are taken from the passed cursor structure. These lead to a lot of confusion, making it hard for developers to write their own implementation. Also, the cursor code has several 'short-circuits', occassionally leading to undefined cursor behavior. These are the changes brought about by the patch: - Removed struct fb_cursor and related fields from struct fb_info, and instead, placed them in a struct not visible to fbdev. - The struct fb_cursor passed to fb_cursor() will _always_ contain valid data with various bitflags indicating which fields have changed - The struct fb_pixmap sprite in struct fb_info is used only by drivers with hardware cursor implementation. Initializing and allocating memory for this structure is not needed. Remove initialization and memory allocation. - The FBIO_CURSOR ioctl is broken (because fb_cursor() is broken). For now, remove fb_cursor code and make the FBIO_CURSOR ioctl always return -ENODEV. - The flag FB_CUR_SETCUR is changed to FB_CUR_SETIMAGE, indicating that the cursor sprite has changed. The image change is now checked by fbcon so drivers will not unnecessarily load the sprite image everytime. This causes hardware cursors to flicker, especially in rivafb. - Remove fb_load_cursor_image(). This is unused, and should not be implemented generically. - Documented the usage of the cursor interface in skeletonfb.c Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2127, 2004-10-25 18:16:44-07:00, adaplas@hotpop.com [PATCH] fbdev: Various mach64 changes Alexander Kern [PATCH] port Daniel Mantione 2.4 driver to 2.6 [PATCH] add more pci_id number [PATCH] add accelerated imgblit [PATCH] revert SDRAM_MAGIC_PLL to old behaviour [PATCH] do a "from BIOS" initialisation only by __i386__ Arnaud FONTAINE [PATCH atyfb] correction for 3D Rage Mobility L Geert Uytterhoeven [PATCH atyfb] Atari Atyfb fixes [PATCH atyfb] Atyfb on Mach64 GX or Atari [PATCH 468] m68k sparse floating point James Simmons [PATCH add] port to framebuffer_alloc api Nicolas Souchu [PATCH] I do not found a copy, but it was incorporated too Ville Syrjälä [PATCH] fix pan with doublescan [PATCH] another double scan fix [PATCH] disable linear aperture register access [PATCH] Memory type correction [PATCH] atyfb (2.6): Fix mmio_start [PATCH] atyfb (2.6): Fix mem_refresh_rate for Mobility [PATCH] atyfb (2.6): Add RGB565 support [PATCH] atyfb: Blank LCD by turning off backlight voltage [PATCH] atyfb: Rage LT LCD register access [PATCH] atyfb: vblank irq support [PATCH] atyfb: MTRR support Antonino Daplas remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2126, 2004-10-25 18:16:32-07:00, adaplas@hotpop.com [PATCH] fbdev: Remove inter_module_get/put from i810fb The function inter_module_get/put is to be deprecated. Remove. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2125, 2004-10-25 18:16:19-07:00, adaplas@hotpop.com [PATCH] fbdev: Reduce pixmap memory allocation size - Reduce pixmap size allocated by fbmem, i810fb and rivafb from 16-64K to 8K. This size is sufficient that a single putcs call can be accomodated by a single imageblit - Replace NR_FB_DRIVERS with FB_MAX - Trivial code, Kconfig and Documentation cleanup Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2124, 2004-10-25 18:16:06-07:00, werner@almesberger.net [PATCH] update CREDITS entry of Werner Almesberger This patch updates my entry. (Long overdue ...) Signed-off-by: Werner Almesberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2123, 2004-10-25 18:15:53-07:00, agk@redhat.com [PATCH] device-mapper trivial: duplicate kfree in error path Remove duplicate kfree in dm_register_target error path. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2122, 2004-10-25 18:15:41-07:00, agk@redhat.com [PATCH] device-mapper trivial: stray semi-colon Remove stray semicolon. Signed-Off-By: Alasdair G Kergon From: Lars Marowsky-Bree Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2121, 2004-10-25 18:15:29-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt: new IV mode ESSIV This patch adds a new IV mode ''encrypted sector|salt IV'' described in http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/472 To use ESSIV, set the ivmode (using the new syntax) to "essiv:". "hash" should be a valid cryptoapi hash. This, for example, is a valid dm-target line: 0 200 crypt aes-cbc-essiv:sha256 00000000000000000000000000000000 0 /dev/loop/5 0 Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-Off-By: Fruhwirth Clemens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2120, 2004-10-25 18:15:17-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt generator extension Create crypt_iv_operations structure with generator method and move the plain iv generator into this structure. Optionally accept an extended syntax: -- This also makes it ready to support chaining modes other than CBC mode, such as CMC (not implemented in cryptoapi yet), The problems outlined by Adam J. Richter in http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/454 would be fixed by switching to CMC chaining mode. Example of a valid target line: 0 200 crypt aes-cbc-plain 00000000000000000000000000000000 0 /dev/loop/5 0 Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2119, 2004-10-25 18:15:05-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt tidy-ups Small dm-crypt tidy-ups: - Use unsigned consistently - Simplify crypt_iv_plain memset - Use DMEMIT macro Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2118, 2004-10-25 18:14:52-07:00, alex.kiernan@gmail.com [PATCH] UFS: solaris compatibility fix Fix handling of device inodes on Solaris x86 filesystems, add support for large dev_t against Solaris UFS filesystems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2117, 2004-10-25 18:14:40-07:00, marcelo.tosatti@cyclades.com [PATCH] Change pagevec counters back to unsigned long and cacheline align Change pagevec "nr" and "cold" back to "unsigned long", because <4 byte accesses can be slow on architectures < Pentium III (additional "data16" operand on instruction). This still honours the cacheline alignment, making the size of "pagevec" structure a power of two (either 64 or 128 bytes). Haven't been able to see any significant change on performance on my limited testing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2116, 2004-10-25 18:14:27-07:00, Peter_Pregler@email.com [PATCH] cpia.c rmmod deadlock fix Newer versions of module-init-tools do some locking now which leads to a dead-lock if cpia.c does a request_module("cpia_usb/pp"). The attached patch against 2.6.8 removes the request_module. The problem is actually the same as is documented in debian bug #259056 which was caused by alsa autoloading some oss-modules. So I guess there might be more places in the kernel where this new locking in the module-init-tools might lead to dead-locks. Signed-off-by: Peter Pregler Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2115, 2004-10-25 18:14:15-07:00, vandrove@vc.cvut.cz [PATCH] Weak symbols in modules and versioned symbols Weak symbol may be unavailable in kernel, but if it is available, its signature should be same as was at the build time. If we do not attach signatures to weak symbols, kernel is tainted when such module is loaded. vmmon: no version for "sys_ioctl" found: kernel tainted. I also believe that it is safer to add & check signatures here - module wants either sys_ioctl with right signature, or no sys_ioctl at all, not sys_ioctl with different signature (which signals that there is some misbuild occuring). Signed-off-by: Petr Vandrovec Signed-off-by: Rusty Russell (forwarded) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2114, 2004-10-25 18:14:02-07:00, jmorris@redhat.com [PATCH] Add d_alloc_name() to libfs This patch consolidates several occurrences of duplicated code into a new libfs function d_alloc_name(). Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2067.3.1, 2004-10-25 21:14:01-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/linux-2.6 into pobox.com:/garz/repo/netdev-2.6/e1000-2 ChangeSet@1.2113, 2004-10-25 18:13:49-07:00, cmm@us.ibm.com [PATCH] ext2: discard preallocation in last iput Currently the ext2 preallocation is discarded on every iput() (via ext2_put_inode()). We should only discard the preallocation on the last iput() (via ext2_clear_inode()). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2112, 2004-10-25 18:13:38-07:00, neilb@cse.unsw.edu.au [PATCH] md: fixes to make version-1 superblocks work in md driver Add some missing data_offset additions and some le_to_cpu convertions and fix a few other little mistakes. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2111, 2004-10-25 18:13:26-07:00, neilb@cse.unsw.edu.au [PATCH] md: fix typos in md and raid10 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2110, 2004-10-25 18:13:13-07:00, neilb@cse.unsw.edu.au [PATCH] md: don't hold lock on md devices while waiting for them to finish resync. If one md array is waiting for another to finish resyncing, then it holds a reference to the array, so the array cannot be stopped. With this patch, we drop the reference before waiting. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2109, 2004-10-25 18:13:01-07:00, neilb@cse.unsw.edu.au [PATCH] md: discard calc_sb_csum_common in favour of csum_fold csum_fold should always have been used on the result of csum_partial. calc_sb_csum_common therefore isn't needed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2108, 2004-10-25 18:12:49-07:00, neilb@cse.unsw.edu.au [PATCH] md: make read retry use a new bio in raid1 and raid10 When retrying a read request, we need to "Reset" the bio. It is easiest to get this right if we discard the bio we have and re-clone it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2107, 2004-10-25 18:12:36-07:00, neilb@cse.unsw.edu.au [PATCH] md: modify locking when accessing subdevices in md Each md personality keeps a list of devices that are currently active in the array (mdk_rdev_t). As these can potentially be removed at any time, some locking is needed when accessing entries in the list. Currently this involves a spinlock, but all the spinlocking this imposed in unplug_slaves bothered me. So, I have changed it to use rcu locking. This is more appropriate as objects are removed only very rarely, and there is no cost in waiting a little while for a remove to succeed. Also, all changes to the list of devices are performed by the per-array thread (calling md_check_recovery) and so are completely single threaded, so no locking between writers is needed at all. Finally, devices are never added or removed while resync is happening, so resync doesn't need to worry about locking at all. So with this patch, the spinlocking is replaced with rcu read locking and synchronize_kernel. The rcu_read_lock is held while dereferencing a possible device, and the nr_pending count is atomically incremented if the device is to be held outside of the rcu_read_lock. When removing a device, if the nr_pending count appears to be zero, we set the list entry to NULL and call synchronize_kernel(). If the count is still zero after this, we have a safe removal. If it is non-zero, then someone has just started using it so we put the pointer back and fail the removal. When the new user finally drops it's reference, that will cause the per-array thread to wake up again and retry the removal. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2106, 2004-10-25 18:12:24-07:00, neilb@cse.unsw.edu.au [PATCH] md: fix two little bugs in raid10 These can cause resync to spin when there is a faulty drive. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2105, 2004-10-25 18:12:11-07:00, neilb@cse.unsw.edu.au [PATCH] md: make sure md always uses rdev_dec_pending properly The ->nr_pending counted should always be decremented with rdev_dec_pending, as this need to do things when the count hits zero. There were a few places where it was being decremented directly. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2104, 2004-10-25 18:11:59-07:00, neilb@cse.unsw.edu.au [PATCH] md: rationalise unplug functions in md There are currently subtle differences in the different personalities concerning when subdevices are unplugged (faulty? nr_pending?). This patch makes them sll uniform. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2103, 2004-10-25 18:11:47-07:00, neilb@cse.unsw.edu.au [PATCH] md: rationalise issue_flush function in md personalities The functions are all subtly different. This patch makes them all much the same. In particular, EOPNOTSUPP gets returned by all is appropriate. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2102, 2004-10-25 18:11:34-07:00, neilb@cse.unsw.edu.au [PATCH] md: make retry_list non-global in raid1 and multipath Both raid1 and multipath have a "retry_list" which is global, so all raid1 arrays (for example) us the same list. This is rather ugly, and it is simple enough to make it per-array, so this patch does that. It also changes to multipath code to use list.h lists instead of roll-your-own. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2101, 2004-10-25 18:11:22-07:00, neilb@cse.unsw.edu.au [PATCH] md: remove md_flush_all Following are 7 patches for md They all grew out of a desire to redo the locking in unplug_slave. Getting and dropping a spinlock so often for very little gain (it would be nearly impossible to lose the relevant race) really bothered me. I finally figured that I could reply it with rcu locking which is very light wait, and quite up to the task. One the way I found an number of inconsistencies that needed cleaning up and even a few bugs to fix. The first 6 patches deal with these inconsistencies and bugs. The last redoes the locking for adding/removing/accessing devices within md personalities. This patch: md_flush_all() isn't needed as each personality defines its own issue_flush_fn. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2100, 2004-10-25 18:11:09-07:00, dvhltc@us.ibm.com [PATCH] sched: active_load_balance fixes The following patch against the latest mm fixes several problems with active_load_balance(). Rather than starting with the highest allowable domain (SD_LOAD_BALANCE is still set) and depending on the order of the cpu groups, we start at the lowest domain and work up until we find a suitable CPU or run out of options (SD_LOAD_BALANCE is no longer set). This is a more robust approach as it is more explicit and not subject to the construction order of the cpu groups. We move the test for busiest_rq->nr_running <=1 into the domain loop so we don't continue to try and move tasks when there are none left to move. This new logic (testing for nr_running in the domain loop) should make the busiest_rq==target_rq condition really impossible, so we have replaced the graceful continue on fail with a BUG_ON. (Bjorn Helgaas, please confirm) We eliminate the exclusion of the busiest_cpu's group from the pool of available groups to push to as it is the ideal group to push to, even if not very likely to be available. Note that by removing the test for group==busy_group and allowing it to also be tested for suitability, the running time is nearly the same. We no longer force the destination CPU to be in a group of completely idle CPUs, nor to be the last in that group. Signed-off-by: Darren Hart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2099, 2004-10-25 18:10:57-07:00, amgta@yacht.ocn.ne.jp [PATCH] schedstat: fix schedule() statistics The number of times schedule() left the processor idle in the /proc/schedstat (runqueue.sched_goidle) seems to be wrong. The schedule() statistics should satisfy the equation: sched_cnt == sched_noswitch + sched_switch + sched_goidle (http://eaglet.rain.com/rick/linux/schedstat/v10/format-10.html) The below patch fix this, and I have confirmed to be fixed with: # grep ^cpu /proc/schedstat | awk '{print $6+$7+$9, $8}' Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2098, 2004-10-25 18:10:44-07:00, hawkes@oss.sgi.com [PATCH] sched: improved load_balance() tolerance for pinned tasks A large number of processes that are pinned to a single CPU results in every other CPU's load_balance() seeing this overloaded CPU as "busiest", yet move_tasks() never finds a task to pull-migrate. This condition occurs during module unload, but can also occur as a denial-of-service using sys_sched_setaffinity(). Several hundred CPUs performing this fruitless load_balance() will livelock on the busiest CPU's runqueue lock. A smaller number of CPUs will livelock if the pinned task count gets high. This simple patch remedies the more common first problem: after a move_tasks() failure to migrate anything, the balance_interval increments. Using a simple increment, vs. the more dramatic doubling of the balance_interval, is conservative and yet also effective. Signed-off-by: John Hawkes Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2097, 2004-10-25 18:10:32-07:00, jbarnes@engr.sgi.com [PATCH] sched: small load balance fix Small bug fix for domains that don't load balance (like those that only balance on exec for example). Signed-off-by: John Hawkes Signed-off-by: Jesse Barnes Acked-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2096, 2004-10-25 18:10:20-07:00, schwidefsky@de.ibm.com [PATCH] s390: network driver From: Frank Pavlic From: Thomas Spatzier s390 network driver changes: - ctc/iucv: Use DECLARE_PER_CPU instead of extern DEFINE_PER_CPU. - lcs: Always set channel state to CH_STATE_INIT when stopping channels. - qeth: vlan fixes. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2095, 2004-10-25 18:10:07-07:00, schwidefsky@de.ibm.com [PATCH] s390: qdio changes From: Utz Bacher qdio changes: - Rename iqdio_is_inbound_q_done to tiqdio_is_inbound_q_done to keep function naming consistent. - Allocate qdio structures below 2GB. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2094, 2004-10-25 18:09:55-07:00, schwidefsky@de.ibm.com [PATCH] s390: debug feature system control From: Christian Borntraeger Debug feature changes: - Add system control to stop the debug feature. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2093, 2004-10-25 18:09:42-07:00, schwidefsky@de.ibm.com [PATCH] s390: dcss segments cleanup From: Carsten Otte From: Gerald Schaefer Cleanup segment load/unload infrastructure. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2067.2.2, 2004-10-25 21:09:39-04:00, akpm@osdl.org [PATCH] ne2k-pci pci build fix Fix for updated pci_{save,restore}_state() Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.2092, 2004-10-25 18:09:30-07:00, schwidefsky@de.ibm.com [PATCH] s390: core changes s390 core changes: - Load pid to cr4 on context switch. - Correct and check buffer length of cpcmd. Fix cpcmd inline assembly. - Add missing cc clobber to do_softirq insline assembly. - Regenerate default configuration. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2091, 2004-10-25 18:09:17-07:00, schwidefsky@de.ibm.com [PATCH] s390: sacf local root exploit (CAN-2004-0887) s390 core changes: - Force user process back to home space mode in space switch event exception handler. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2090, 2004-10-25 18:09:05-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: add conf INITRAMFS_SOURCE Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2089, 2004-10-25 18:08:53-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: unused label Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2088, 2004-10-25 18:08:41-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: resync LDS script for SMP changes Add a couple entries to the linker script which are needed for SMP to link. (From Yan Burman) Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2087, 2004-10-25 18:08:28-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: Kconfig and defconfig updates. - Make CONFIG_SMP depend on TT mode. Since SMP does not work in SKAS mode (it's still a TODO), add the dependency in the Kconfig. Also mark CONFIG_SMP as experimental. - Workaround kconfig warning: just for now (we wait for a "CONFIG_VIRTUAL_OS" to exclude physical hardware) create the CONFIG_INPUT option (fixed to N), to avoid complaints from make *config ARCH=um about it being undefined. - Mark HPPFS as broken and needing updates. - Update defconfig, both for new kernel options and for changes in the actual config. For instance, enable module support by default. - Update help text for some items and add a help to some other ones. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2086, 2004-10-25 18:08:16-07:00, bunk@stusta.de [PATCH] small SOFTWARE_SUSPEND help text fixes Some small fixes for the SOFTWARE_SUSPEND help text. Signed-off-by: Adrian Bunk Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2085, 2004-10-25 18:08:03-07:00, pavel@ucw.cz [PATCH] power/disk.c: small fixups power_down may never ever fail, so it does not really need to return anything. Kill obsolete code and fixup old comments. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2084, 2004-10-25 18:07:51-07:00, paulus@samba.org [PATCH] ppc64: __ioremap_explicit() criterion change This patch is from John Rose . The function __ioremap_explicit() misses a possible (obscure) case when reserving the imalloc area for the new region. This can result in the unexpected DLPAR-add failure for an I/O slot. The failure will be characterized by a kernel message resembling "could not obtain imalloc area for ea 0x..." Here's an explanation: At boot time, imalloc regions are created for the ranges of all PHBs. Upon removal of a child slot for one of these PHBs, the imalloc region is split so that the region for the child slot can be removed. A GFW testcase revealed the following scenario. A PHB is remapped at boot for virtual address range A through C. At boot, the partition owns a slot that spans from A to B. This slot is DLPAR-removed, leaving an imalloc region from B to C. At this point, the user DLPAR adds an EADS slot that was not present at boot, but is a child of the PHB. The new slot happens to have a range that directly matches the leftover PHB range, from B to C. The existing code does not expect this, so the operation fails. Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2083, 2004-10-25 18:07:39-07:00, paulus@samba.org [PATCH] ppc64: create iommu_free_table() This patch is from John Rose . The patch below creates iommu_free_table(). Iommu tables are not currently freed in PPC64. This could cause a memory leak for DLPAR of an EADS slot. The function verifies that there are no outstanding TCE entries for the range of the table before freeing it. I added a call to iommu_free_table() to the code that dynamically removes a device node. This should be fairly symmetrical with the table allocation, which happens during dynamic addition of a device node. Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2082, 2004-10-25 18:07:26-07:00, paulus@samba.org [PATCH] ppc64: crash during firmware flash update This patch is from Linas Vepstas . Race conditions during system shutdown after a firmware flash can sometimes lead to an invalid pointer deref (deref to freed memory). This patch fixes this. In addition, it makes sure that the proc entries created by the firmware flash module are removed when the module is unloaded. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2081, 2004-10-25 18:07:14-07:00, paulus@samba.org [PATCH] ppc64: provide notifier list for EEH slot isolations When the EEH (enhanced i/o error handling) hardware on pSeries detects various kinds of PCI errors, it immediately freezes and isolates the slot of the offending PCI card. We get to know about that by noticing that reads from the device return all-1s, and then we have to do a firmware call to find out whether the all-1s value was due to a slot isolation. This patch adds a notifier so that other parts of the system (e.g. the RPA PCI hotplug driver) can know that a slot isolation event has occurred and take whatever recovery action is appropriate. The notifier is called in a workqueue function, although the read from the device that noticed the all-1s value may have been at interrupt level. As a precaution, if we keep trying to read from the device at interrupt level, and do 1000 reads without the workqueue getting a chance to run, we panic, on the grounds that we presumably have a badly-written driver which will spin forever in its interrupt routine, e.g. waiting for a bit in a device register to go to 0. This patch is based on an earlier patch by Linas Vepstas . Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2080, 2004-10-25 18:07:02-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: xmon sparse cleanups This patch removes many sparse warnings from the xmon code. Mostly K&R function declarations and 0-instead-of-NULLs. There are still a whole bunch of warnings in xmon/ppc-opc.c, which is a copy of a file from binutils. Signed-off-by: David Gibson Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2079, 2004-10-25 18:06:50-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: trivial sparse cleanups This patch squashes a handful of assorted sparse warnings in the ppc64 code. Should be pretty much trivial and self explanatory. Signed-off-by: David Gibson Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2078, 2004-10-25 18:06:37-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: don't build virtual IO drivers for PowerMac Only compile vio.c on iSeries and pSeries, since other PPC64 platforms (PowerMac) don't use virtual IO. The resulting #ifdefs in dma.c are kind of ugly, but at least contained, and I can't see a nicer way of doing it for the time being. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2077, 2004-10-25 18:06:25-07:00, trini@kernel.crashing.org [PATCH] ppc32: Fix building for Motorola Sandpoint with O= Since we directly -include $(clear_L2_L3) when needed, we need to point to the full path of it. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2076, 2004-10-25 18:06:13-07:00, chrisw@osdl.org [PATCH] lsm: remove net related includes from security.h With this we're back to the times when changing skbuff.h only triggers rebuild of _net_ related stuff 8) This uncovered a bug in rmap.h, that was not including mm.h to get the definition of struct vm_area_struct, working by luck. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2075, 2004-10-25 18:06:00-07:00, chrisw@osdl.org [PATCH] lsm: fix send_sigurg mediation Stephen Smalley notes that send_sigurg isn't mediated by LSM in the same manner as send_sigio. Patch below is a slight modification of Stephen's original patch. It moves the security_file_send_sigiotask() hook into the sigio_perm(). The hook's fd and reason arguments are replaced with the signum. sigio_perm() and it's callers are updated to pass the signum through to the hook. In send_sigio case, the signum is simply fown->signum or SIGIO when signum is 0, however in send_sigurg the kernel doesn't use fown->signum, it always sends SIGURG. From: Stephen Smalley Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2074, 2004-10-25 18:05:47-07:00, rddunlap@osdl.org [PATCH] checkstack: add x86_64 arch. support Add support for x86_64 arch. to 'make checkstack' (checkstack.pl). Signed-off-by: Randy Dunlap Acked-by: Jrn Engel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2073, 2004-10-25 18:05:35-07:00, nickpiggin@yahoo.com.au [PATCH] mm: help zone padding Uses the zero length array which seems to be quite abundant throughout the tree to reduce the size of the zone padding to zero. 1536 before, 1152 afterwards for me. Also try to be a bit smarter about getting commonly accessed fields together, which surely can't be worse than before. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2072, 2004-10-25 18:05:23-07:00, akpm@osdl.org [PATCH] msnd.c build fix sound/oss/msnd.c: In function `msnd_enable_irq': sound/oss/msnd.c:278: warning: implicit declaration of function `enable_irq' sound/oss/msnd.c: In function `msnd_disable_irq': sound/oss/msnd.c:307: warning: implicit declaration of function `disable_irq' sound/oss/msnd.c:323: `msnd_get_num_devs' undeclared here (not in a function) sound/oss/msnd.c:323: initializer element is not constant Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2071, 2004-10-25 18:05:11-07:00, dhowells@redhat.com [PATCH] Shift key-related error codes up and insert ECANCELED This patch shifts the key-related error codes up by one and inserts an ECANCELED error code where not already defined. It seems that has been defined in glibc without passing it back to the kernel:-/ Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2070, 2004-10-25 18:04:58-07:00, juhl-lkml@dif.dk [PATCH] ds_ioctl.c usercopy check Patch adds a check of the return value and returns -EFAULT if __copy_to_user fails. Signed-off-by: Jesper Juhl Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2069, 2004-10-25 18:04:46-07:00, akpm@osdl.org [PATCH] revert "ppc: fix build with o=output_dir" This was the wrong fix - back it out and try again later. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2067.2.1, 2004-10-25 21:04:34-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/linux-2.6 into pobox.com:/garz/repo/netdev-2.6/misc ChangeSet@1.2067.1.6, 2004-10-25 16:21:14-07:00, andrea@novell.com [NET]: Accept should return ENFILE not EMFILE. Signed-off-by: David S. Miller ChangeSet@1.2067.1.5, 2004-10-25 16:10:45-07:00, herbert@gondor.apana.org.au [NET]: Give skb_checksum_help() an skb_buff * again Since skb_checksum_help has been using pskb_expand_head for a while now without any ill effects, I thought it would be a good idea to remove the double pointers from it and its callers. This is what the following patch does. The only 'rider' bit is the removal of an unnecessary BUG_ON in ip6_pkt_discard_out. The preceding assignment was only added because the following function oopsed so there is no point in doing BUG_ON. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2067.1.4, 2004-10-25 16:05:16-07:00, laforge@netfilter.org [NETFILTER]: fix ipt_ULOG bogus error messages Please apply the fix below, it addresses some bogus error messages ('error during NLMSG_PUT') that were printed because of a wrong calculation of the 'len' parameter to NLMSG_PUT(). Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2067.1.3, 2004-10-25 15:48:28-07:00, davem@nuts.davemloft.net [NETFILTER]: ip_ct_attach decl got removed by accident. Signed-off-by: David S. Miller ChangeSet@1.2067.1.2, 2004-10-25 15:43:30-07:00, hch@lst.de [NETFILTER]: Make *_find_target_lock routines static. Signed-off-by: David S. Miller ChangeSet@1.2067.1.1, 2004-10-25 15:38:06-07:00, bdschuym@pandora.be [EBTABLES]: Add wildcard support for interface matching. Due to an old braindead decision, ebtables doesn't yet support the wildcard '+' for matching interface names. The following patch removes this nuissance and is backwards compatible. Signed-off-by: David S. Miller ChangeSet@1.2068, 2004-10-25 15:21:01-07:00, torvalds@ppc970.osdl.org Allow BKL re-acquire to fail, causing us to re-schedule. This allows for low-latency BKL contention even with preemption. Previously, since preemption is disabled over context switches, re-acquiring the kernel lock when resuming a process would be non-preemtible. ChangeSet@1.2067, 2004-10-25 10:24:04-07:00, hannal@us.ibm.com [PATCH] add 'for_each_pci_dev()' helper macro Jeff already mistakenly sent in a user of this macro, so we should probably add the macro itself too. Signed-off-by: Hanna Linder Signed-off-by: Linus Torvalds ChangeSet@1.2066, 2004-10-25 09:20:09-07:00, torvalds@ppc970.osdl.org ppc64: make G5 setup compile again The stop_self thing is accessed unconditionally from pSeries_setup.c ChangeSet@1.2065, 2004-10-25 08:24:40-07:00, mingo@redhat.com [PATCH] Avoid small irq preemption recursion window This will get rid of the stack recursion possibility that can occur if an IRQ happens to hit the IRQ return path right after we've reset preempt_count() to 0 and are about to disable interrupts again. Trivially fixed by just moving the preempt count update to inside the interrupt disable. This makes the current PREEMPT_ACTIVE method fully work for IRQ recursions. ChangeSet@1.2064, 2004-10-25 08:10:39-07:00, linux@dominikbrodowski.de [PATCH] Fix PCMCIA duplicate pc_debug names Avoid naming confusion concerning "pc_debug" which is widely used by drivers be renaming the PCMCIA "driver services" variant to ds_pc_debug. The module parameter stays the same, thanks to module_param_named(). Signed-off-by: Dominik Brodowski Signed-off-by: Linus Torvalds ChangeSet@1.2057.3.1, 2004-10-25 08:03:24-07: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.2057.2.1, 2004-10-25 03:49:28-04:00, jgarzik@pobox.com Merge ChangeSet@1.1988.92.41, 2004-10-25 03:37:14-04:00, jgarzik@pobox.com Cset exclude: elf@buici.com|ChangeSet|20040920183610|08290 Revert smc91x driver changeset, since this is already covered by other smc91x updates already upstream. Signed-off-by: Jeff Garzik ChangeSet@1.2061, 2004-10-25 03:34:39-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/set-config into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2060, 2004-10-25 03:33:45-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/defxx into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2059, 2004-10-25 03:30:48-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/acenic into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2058, 2004-10-25 03:27:44-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/e100 into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2057, 2004-10-24 21:44:39-07:00, geert@linux-m68k.org [PATCH] Atyfb: kill assignment warnings on Atari due to __iomem Signed-off-by: Linus Torvalds ChangeSet@1.2056, 2004-10-24 21:44:26-07:00, geert@linux-m68k.org [PATCH] SCx200_ACB depends on PCI SCx200_ACB is a PCI driver and thus should depend on PCI Signed-off-by: Linus Torvalds ChangeSet@1.2055, 2004-10-24 21:44:14-07:00, geert@linux-m68k.org [PATCH] Cyclades assignment warning Remove unneeded cast that causes a warning (cy_isa_addresses is an array of unsigned ints). Signed-off-by: Linus Torvalds ChangeSet@1.2054, 2004-10-24 21:44:02-07:00, geert@linux-m68k.org [PATCH] NTFS: missing #include fs/ntfs/compress.c calls v{malloc,free}() without including Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2053, 2004-10-24 21:43:49-07:00, bgerst@quark.didntduck.org [PATCH] mem leak in tty_io.c The recent patch to clean up user accesses introduced a memory leak. If write_buf is reallocated, the old buffer isn't freed. Also, since kfree can take nulls, I removed the if from the other kfree. Signed-off-by: Linus Torvalds ChangeSet@1.2052, 2004-10-24 21:09:41-07:00, benh@kernel.crashing.org [PATCH] ppc64: remove unused cruft from prom.h This patch removes some bogus struct definitions from prom.h that aren't used anymore after the other pending ppc64 patches have been applied. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2051, 2004-10-24 21:09:28-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some cleanups of prom_init.c This patch does a few cleanups of arch/ppc64/kernel/prom_init.c, making the RTAS instanciation code more readable & more robust, fixing a bug in the code bringing in additional CPUs (would work with IBM firmware, but not with another firmware of an upcoming platform), plus remove some old commented out cruft left-over from the big cleanup. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2050, 2004-10-24 21:09:16-07:00, benh@kernel.crashing.org [PATCH] ppc64: cleanup/split SMP code Splits arch/ppc64/kernel/smp.c into 3 different files, smp.c, pSeries_smp.c and iSeries_smp.c, thus removing most of the #define mess in those files and making it easier to add a new platform. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2049, 2004-10-24 21:09:03-07:00, benh@kernel.crashing.org [PATCH] ppc64: Rework PCI <-> OF node matching This patch reworks the code that deals with matching PCI devices with Open Firmware device nodes. This code made several incorrect assumptions and can be simplified significantly. The main functional difference now is that PHBs are no longer special cased, but that shouldn't cause any specific problem. It also fixes a problem where u3_iommu.c wouldn't work for PCI devices that lacked a matching OF device node. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2048, 2004-10-24 21:08:51-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some small pci fixes This patch fixes a few issues in the ppc64 pci code, notably some incorrect parsing of Open Firmware "ranges" when setting up host bridge resources that would cause a problem with some future platforms, a default mapping of the ISA IOs if the OF "isa" node lacks a "ranges" property, and a safeguard in pci_scan_all_fns() in case a pci<->OF node mapping cannot be established. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2047, 2004-10-24 21:08:39-07:00, benh@kernel.crashing.org [PATCH] ppc64: cleanups of ppc64 pci.c This patch applies on top of previously posted "ppc64: Move PCI IO mapping from pSeries_pci.c to pci.c". It does cosmetic cleanups & add some debug macros to pci.c without actually changing any functionality. Further patches against ppc64 pci.c that I'll post will be against a file already patched with this one. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2046, 2004-10-24 21:08:24-07:00, benh@kernel.crashing.org [PATCH] ppc64: clean up existence-check of legacy ISAdevices My previous patch exposed the internals of the ppc_md. data structure to drivers, which wasn't nice, this new patch cleans that up. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2045, 2004-10-24 21:08:12-07:00, benh@kernel.crashing.org [PATCH] ppc64: properly build list of legacy serial ports from OF This patch adds a ppc64 implementation of the routine providing the list of default 8250 serial ports. It provides a empty list by default unless the platform code fills it, and it provides a generic function for user by Open Firmware based machines which fills the list based on serial ports found in the OF device-tree. It depends on the previous patch adding the generic support for this to the 8250 driver. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2044, 2004-10-24 21:08:00-07:00, benh@kernel.crashing.org [PATCH] 8250: Let arch provide the list of leagacy ports This patch adds an optional callback for the 8250 driver to request the list of legacy port via a function call instead of relying on a #define of an array. This finally allows to fix the problem of platforms like ppc and ppc64 for which the same kernel can boot machines with and without a 8250, and is necessary to properly deal with a new platform coming to ppc64 which has a 8250 but with different irq numbers. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2043, 2004-10-24 21:03:45-07:00, benh@kernel.crashing.org [PATCH] ppc64: Rewrite the openpic driver This patch replaces the open_pic IRQ controller driver with a new version rewritten from scratch, called "mpic" (this is the name of IBM's open_pic implementation and also the only one actually used on any platform). It is smaller, hopefully more readable, supports the various variants of the cell in a single driver (open_pic_u3.c is gone), and adds optional support for the workaround of U3 mpic beeing used along with IO-APICs on HyperTransport (the eval board will uses that, among others). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2042, 2004-10-24 21:03:26-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix pSeries secondary CPU setup This patch fixes the setup of the secondary CPU(s) on pSeries, on non-LPAR platforms, especially with 970 CPUs, we need to copy some of the HID registers from CPU0 to the other ones as soon as they reach the early asm code. The PowerMac SMP entry did it already, but not the pSeries one. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2037.1.3, 2004-10-24 23:42:57-04:00, ambx1@neo.rr.com [PNPBIOS] acpi compile fix Allow PNPBIOS to compile if ACPI support is not enabled. Signed-off-by: Adam Belay ChangeSet@1.2037.1.2, 2004-10-24 23:27:24-04:00, nacc@us.ibm.com [PNPBIOS] use msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Adam Belay ChangeSet@1.2037.1.1, 2004-10-24 23:07:32-04:00, ambx1@neo.rr.com [PNPBIOS] disable if ACPI is active As further ACPI pnp functionaility is implemented it is no longer safe to run ACPI and PNPBIOS concurrently. We therefore take the following approach: - attempt to enable ACPI support - if ACPI fails (blacklist etc.) enable pnpbios support - if ACPI support is not compiled in the kernel enable pnpbios support Signed-off-by: Adam Belay ChangeSet@1.2041, 2004-10-24 17:40:16-07:00, benh@kernel.crashing.org [PATCH] ppc64: Move PCI IO mapping from pSeries_pci.c to pci.c This patch moves some of the routines responsible for dealing with the mapping of PCI host bridges IO space from pSeries to the generic ppc64 pci code. PowerMac doesn't use it currently, but a new platform will soon. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2040, 2004-10-24 17:36:12-07:00, benh@kernel.crashing.org [PATCH] Fix msleep to sleep _at_least_ the requested amount Makes sure msleep() sleeps at least the amount provided, since schedule_timeout() doesn't guarantee a full jiffy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2039, 2004-10-24 16:44:07-07:00, torvalds@evo.osdl.org Fix broken intel8x0.c ALSA "merge" The file didn't compile, and the ALSA CVS tree had dropped the bitfield signedness fixes. ChangeSet@1.2038, 2004-10-24 16:24:27-07:00, torvalds@ppc970.osdl.org Un-inline the big kernel lock. Now that spinlocks are uninlined, it is silly to keep the BKL inlined. And this should make it a lot easier for people to play around with variations on the locking (ie Ingo's semaphores etc). ChangeSet@1.2015.1.12, 2004-10-25 01:11:17+02:00, pablo@eurodev.net [NETFILTER]: fix stats in __ip_conntrack_confirm net_rx_softirq can preempt the calling process while incrementing the stats. I think that we can fix this moving both CONNTRACK_STAT_INC to the locked section. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.11, 2004-10-25 00:46:55+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Introduce skb_header_pointer() to hbh match Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.10, 2004-10-25 00:45:22+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Introduce skb_header_pointer() to dst match Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.9, 2004-10-25 00:43:08+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Fix multiple bugs in hbh match This patch fixes the following bugs in ip6t_hbh.c. - The cast of the pointer to the next IPv6 extension header is wrong. - hdrlen may underflow. - (u16)*optdesc causes to alignment problem. - The calculation of the offset to next option is wrong. In the case that the type isn't 0, it should be "Opt Data Len" field + 2 (see RFC2460). Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.8, 2004-10-25 00:39:13+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Fix multiple bugs in dst match This patch fixes the following bugs in ip6t_dst.c. - ".me = THIS_MODULE" is missing - The cast of the pointer to the next IPv6 extension header is wrong. - hdrlen may underflow. - (u16)*optdesc causes to alignment problem. - The calculation of the offset to next option is wrong. In the case that the type isn't 0, it should be "Opt Data Len" field + 2 (see RFC2460). Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2037, 2004-10-24 15:20:06-07:00, adaplas@hotpop.com [PATCH] fbdev: Fix software blanking code The code in fbmem.c:fb_blank() is broken. For drivers without an fb_blank hook, an FBIO_BLANK ioctl will produce wrong colors or will segfault. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds ChangeSet@1.2036, 2004-10-24 13:34:51-07:00, torvalds@ppc970.osdl.org Annotate the trivial unconditional lock/unlock functions on SMP. This does _not_ handle the conditional ones (lock_kernel and the trylock variants), so there will be a fair number of context error warnings with this. However, the warnings are disabled by default in sparse - you have to use "-Wcontext" to see them. ChangeSet@1.2035, 2004-10-24 13:33:07-07:00, torvalds@ppc970.osdl.org Start supporting lock context annotations. This just sets up the portability defines. ChangeSet@1.2034, 2004-10-24 12:21:08-07:00, rth@twiddle.net [PATCH] Add __ioremap I hadn't realized this was supposed to be an official interface. Or maybe it's not, but the fb drivers all use it. Anyway... ChangeSet@1.2033, 2004-10-24 12:20:55-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: bootp fixes - redefine "printk" as "srm_printk" for bootstrappers; - fix stack corruption problem with bootp/bootpz loaders and older SRM consoles. ChangeSet@1.2032, 2004-10-24 12:20:41-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: fix CIA IO The high order bits of the input address should be cleared only after IO type and base are determined. ChangeSet@1.2031, 2004-10-24 12:20:28-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: fix sparse warnings - add missing "__user" annotations in csum_partial_copy.c; - make io_remap_page_range more readable and fix a warning. ChangeSet@1.2026.4.1, 2004-10-24 15:34:10+01:00, arjan@nl.rmk.(none) [SERIAL] Remove dead code. serial8250_get_irq_map is no longer used anywhere in the kernel (it used to be used by the isapnp code but isn't anymore) so it's dead code, below is a patch to remove this. ChangeSet@1.2015.1.7, 2004-10-24 16:16:40+02:00, tgraf@suug.ch [NETFILTER]: Fix warning in CONNMARK Signed-off-by: Thomas Graf Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.6, 2004-10-24 16:11:28+02:00, kaber@coreworks.de Merge coreworks.de:/home/kaber/src/bk-repos/net-2.6 into coreworks.de:/home/kaber/src/nf/nf-2.6 ChangeSet@1.2026.3.1, 2004-10-24 00:43:42+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix missing parens for __FD_* operations. fork.c highlighted that we were missing some parens. Add them. ChangeSet@1.2026.2.11, 2004-10-23 23:19:19+02:00, bzolnier@trik.(none) [ide] slc90e66: kill /proc/ide/slc90e66 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.10, 2004-10-23 23:16:57+02:00, bzolnier@trik.(none) [ide] serverworks: kill /proc/ide/svwks Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.9, 2004-10-23 23:13:46+02:00, bzolnier@trik.(none) [ide] sc1200: kill /proc/ide/sc1200 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.8, 2004-10-23 23:08:13+02:00, bzolnier@trik.(none) [ide] piix: kill /proc/ide/piix Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.7, 2004-10-23 23:05:06+02:00, bzolnier@trik.(none) [ide] pdc202xx_old: kill /proc/ide/pdc202xx Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.6, 2004-10-23 22:56:34+02:00, bzolnier@trik.(none) [ide] pdc202xx_new: kill /proc/ide/pdcnew Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.5, 2004-10-23 22:54:07+02:00, bzolnier@trik.(none) [ide] hpt366: kill /proc/ide/hpt366 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.4, 2004-10-23 22:51:31+02:00, bzolnier@trik.(none) [ide] cs5530: kill /proc/ide/cs5530 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.3, 2004-10-23 22:49:23+02:00, bzolnier@trik.(none) [ide] cs5520: kill /proc/ide/cs5520 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.2, 2004-10-23 22:46:33+02:00, bzolnier@trik.(none) [ide] atiixp: kill /proc/ide/atiixp Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.2.1, 2004-10-23 22:43:33+02:00, bzolnier@trik.(none) [ide] aec62xx: kill /proc/ide/aec62xx Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.1.5, 2004-10-23 10:07:23-07:00, roland@redhat.com [PATCH] fix core-dump return code While looking at the signal.c coredumping BUG_ON race, I noticed a bug (not directly related) in do_coredump. It was setting the "core dumped" flag even when the format dumping hook failed (e.g. for memory allocation failures). Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.4, 2004-10-23 10:07:11-07:00, roland@redhat.com [PATCH] Fix ptrace problem This is indeed a new bug, and it is not architecture-specific. In my recent changes to close some race conditions, I overlooked the case of a process using PTRACE_ATTACH on its own children. The new PT_ATTACHED flag does not really mean "PTRACE_ATTACH was used", it means "PTRACE_ATTACH is changing the ->parent link". This fixes the problem that Stephane Eranian program demonstrates. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.3, 2004-10-23 10:06:59-07:00, roland@redhat.com [PATCH] Invalid BUG_ONs in signal.c Oh, duh. The race is obvious. Sorry for the confusion there. The BUG_ON's were useful for debugging, since they trigger on a lot of errors, but they _also_ trigger on some unlikely (but valid) races. So just remove them - just fall through to the regular exit code after core-dumping (which does everything right). Signed-off-by: Linus Torvalds ChangeSet@1.2028, 2004-10-23 19:01:21+02:00, perex@suse.cz [ALSA] boot_devs removal - module_param_array() accepts NULL now Intel8x0 driver,RME96 driver,ICE1724 driver,NM256 driver Signed-off-by: Jaroslav Kysela ChangeSet@1.2026.1.1, 2004-10-23 09:49:57-07:00, chrisw@osdl.org [PATCH] delay rq_lock acquisition in setscheduler Doing access control checks with rq_lock held can cause deadlock when audit messages are created (via printk or audit infrastructure) which trigger a wakeup and deadlock, as noted by both SELinux and SubDomain folks. This patch will let the security checks happen w/out lock held, then re-sample the p->policy in case it was raced. Originally from John Johansen , reworked by me. AFAIK, this version drew no objections from Ingo or Andrea. From: John Johansen Acked-by: Ingo Molnar Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2027, 2004-10-23 10:31:03+02:00, perex@suse.cz Merge ChangeSet@1.2026, 2004-10-22 18:04:49-07:00, david-b@pacbell.net [PATCH] Missed usb devices on boot This marks sets change_bits to all ones when bringing up a hub, since not all hubs seem to send change events for devices that were plugged in when the hub was reset. David Miller confirms this fixes his boot-time lost keyboard/mouse problem ChangeSet@1.2015.1.5, 2004-10-22 16:07:33-07:00, davem@nuts.davemloft.net [ATY]: Fix build on sparc after viro sparse changes. Signed-off-by: David S. Miller ChangeSet@1.2016.3.1, 2004-10-22 16:07:19-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.6 into kroah.com:/home/greg/linux/BK/usb-2.6 ChangeSet@1.2000.15.18, 2004-10-22 15:54:52-07:00, david-b@pacbell.net [PATCH] USB ehci: minor debug cleanups This updates debug messages, declaring that labels can be constant strings and changing some old-school dbg() calls to driver model dev_dbg(). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2000.15.17, 2004-10-22 15:54:23-07:00, david-b@pacbell.net [PATCH] USB ehci: handle earlier endpoint_disable() The recent patch to scrub out ep0 state earlier (to get rid of some of the enumeration problems that started with about 2.6.6) requires EHCI to handle endpoint_disable() calls in a slightly different context. This makes those calls work when an endpoint's QH may still be on the async schedule, rather than already unlinked. (The QH stays on the async schedule for a few milliseconds after it's empty, since it's routine to issue another request almost immediately.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2000.15.16, 2004-10-22 15:53:58-07:00, david-b@pacbell.net [PATCH] USB ehci: minor pci tweaks This has minor PCI tweaks for the EHCI driver: - If the (nonfunctional) AMD 8111 controller shows up, ignore it. (Patch from Matt Dharm, with minor coding style tweaks). - Delete some code that interprets an EHCI capability code; it should be a PCI capability instead. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2023, 2004-10-22 15:43:17-07:00, greg@kroah.com hotplug: prevent skips in sequence number from happening Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2015.1.4, 2004-10-22 15:25:42-07:00, davem@nuts.davemloft.net [NETFILTER]: Fix ipt_hashlimit build with NETFILTER_DEBUG enabled. Signed-off-by: David S. Miller ChangeSet@1.2015.1.3, 2004-10-22 15:01:24-07:00, tgraf@suug.ch [PKT_SCHED]: u32: Remove unused hgenerator field in tc_u_hnode. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2015.1.2, 2004-10-22 14:59:07-07:00, shemminger@osdl.org [PKT_SCHED]: netem: use timer to handle packets not rescheduling Change the behaviour of netem's delayed packets queue to make it work better with TBF and other rate control disciplines. Now, packets are put in the delayed queue and held there until the next timer interval, then moved to the underlying qdisc. qlen is set to match the available packets in the underlying discipline (and not count those waiting). Previously, netem would perturb the rate control disciplines because of rescheduling and moving packets in the dequeue handler. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2015.1.1, 2004-10-22 14:56:35-07:00, herbert@gondor.apana.org.au [TCP]: Only re-set TSO size for packet which was TSO to begin with. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2016.1.2, 2004-10-22 14:30:50-07:00, torvalds@ppc970.osdl.org Linux 2.6.10-rc1 New and Improved! "Woozy Numbat!" Pick up the phone in the next two minutes and phone in your order, and we'll throw in a second copy of Woozy Numbat, ABSOLUTELY FREE! You too could start a Numbat farm! TAG: v2.6.10-rc1