Skip to content
Commits on Aug 7, 2005
  1. Linux 2.6.13-rc6

    Linus Torvalds committed Aug 7, 2005
    Last (?) -rc, partly brought on by the aic7xxx performance fixes (ie get
    them tested in an -rc release before the real 2.6.13).
  2. [PATCH] crc32.c typo fix

    Dominik Hackl committed with Linus Torvalds Aug 7, 2005
    This patch fixes a typo in lib/crc32.c which results in incorrect debug
    output.
    
    Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] Move the fix to align node_end_pfns to a proper location

    Ravikiran G Thirumalai committed with Linus Torvalds Aug 7, 2005
    Move the fix to align node_end_pfns to a proper location.  The earlier fix
    made the node_remap_start_vaddr to get misaligned causing remap_numa_kva to
    barf again :-/
    
    Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
    Signed-off-by: Shai Fultheim <shai@scalex86.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. [PATCH] ppc32: 8xx commproc avoid direct pte manipulation, use dma co…

    Marcelo Tosatti committed with Linus Torvalds Aug 7, 2005
    …herent API instead
    
    Touching the pte directly causes the 8Mbyte TLB entry to be invalidated.
    
    This has been fixed in v2.4 for ages.
    
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. [PATCH] ppc32: 8xx kill unused variable in commproc

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    8xx: commproc.c: kill unused variable
    
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. [PATCH] ppc32: 8xx restrict ENET_BIG_BUFFERS option

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    8xx: restrict ENET_BIG_BUFFERS option to drivers which actually use it
    
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  7. [PATCH] ppc32: 8xx fix CPM ethernet description

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    8xx: fix CPM Ethernet description
    
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  8. [PATCH] ppc32: 8xx: fec: fix interrupt handler prototypes

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    8xx: fec: fix interrupt handler prototypes
    
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@conectiva.com.br>
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Cc: Jeff Garzik <jgarzik@pobox.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  9. [PATCH] ppc32: 8xx: using dma_alloc_coherent() instead consistent_all…

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    …oc()
    
    8xx: using dma_alloc_coherent() instead consistent_alloc()
    
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@conectiva.com.br>
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Cc: Jeff Garzik <jgarzik@pobox.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  10. [PATCH] ppc32: 8xx: convert fec driver to use work_struct

    Aristeu Sergio Rozanski Filho committed with Linus Torvalds Aug 7, 2005
    8xx: convert fec driver to use work_struct
    
    Signed-off-by: Aristeu Sergio Rozanski Filho <aris@conectiva.com.br>
    Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
    Cc: Jeff Garzik <jgarzik@pobox.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  11. [PATCH] namespace.c: fix bind mount from foreign namespace

    Miklos Szeredi committed with Linus Torvalds Aug 7, 2005
    I'm resending this patch, because I still believe it's the correct fix.
    
    Tested before/after applying the patch with a test application
    available from:
    
      http://www.inf.bme.hu/~mszeredi/nstest.c
    
    Bind mount from a foreign namespace results in an un-removable mount.
    The reason is that mnt->mnt_namespace is copied from the old mount in
    clone_mnt().  Because of this check_mnt() in sys_umount() will fail.
    
    The solution is to set mnt->mnt_namespace to current->namespace in
    clone_mnt().  clone_mnt() is either called from do_loopback() or
    copy_tree().  copy_tree() is called from do_loopback() or
    copy_namespace().
    
    When called (directly or indirectly) from do_loopback(), always
    current->namspace is being modified: check_mnt(nd->mnt).  So setting
    mnt->mnt_namespace to current->namspace is the right thing to do.
    
    When called from copy_namespace(), the setting of mnt_namespace is
    irrelevant, since mnt_namespace is reset later in that function for
    all copied mounts.
    
    Jamie said:
    
      This patch is correct.  The old code was buggy for more fundamental and
      serious reason: it broke the invariant that a tree of vfsmnts all have the
      same value of mnt_namespace (and the same for the mnt_list list).
    
    Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
    Acked-by: Jamie Lokier <jamie@shareable.org>
    Cc: <viro@parcelfarce.linux.theplanet.co.uk>
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  12. @olafhering

    [PATCH] remove linux/pagemap.h from linux/swap.h

    olafhering committed with Linus Torvalds Aug 7, 2005
    sparc can not include linux/pagemap.h because of the following circular
    dependency:
    
    asm-sparc/pgtable include linux/swap.h
    linux/swap.h include now linux/pagemap.h
    linux/pagemap.h include linux/mm.h
    linux/mm.h include asm/pgtable.h
    
    It needs to have the swp_entry_t type fully visible in pgtable.h,
    we can't work around this using macros.
    
    Signed-off-by: Olaf Hering <olh@suse.de>
    Cc: William Lee Irwin III <wli@holomorphy.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  13. [PATCH] visws: linkage fix

    Tom Duffy committed with Linus Torvalds Aug 7, 2005
    This patch add stubs to allow the visws subarch to link again.
    
    Signed-off-by: Tom Duffy <thomas.duffy.99@alumni.brown.edu>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  14. [PATCH] Make visws compile again

    Tom Duffy committed with Linus Torvalds Aug 7, 2005
    In file included from linux-2.6.13-rc5/arch/i386/kernel/timers/timer_pit.c:20:
    linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h: In function `do_timer_overflow':
    linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: `i8259A_lock' undeclared (first use in this function)
    linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: (Each undeclared identifier is reported only once
    linux-2.6.13-rc5/include/asm-i386/mach-visws/do_timer.h:32: error: for each function it appears in.)
    make[3]: *** [arch/i386/kernel/timers/timer_pit.o] Error 1
    make[2]: *** [arch/i386/kernel/timers] Error 2
    make[1]: *** [arch/i386/kernel] Error 2
    make: *** [_all] Error 2
    
    Signed-off-by: Tom Duffy <thomas.duffy.99@alumni.brown.edu>
    Cc: Andrey Panin <pazke@orbita1.ru>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  15. [PATCH] __bio_clone() dead comment

    Andrew Morton committed with Linus Torvalds Aug 7, 2005
    Remove a very wrong comment.
    
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  16. [PATCH] x86_64: ignore machine checks from boot time

    Andi Kleen committed with Linus Torvalds Aug 7, 2005
    Don't log machine check events left over from boot.  Too many BIOSes leave
    bogus events in there.
    
    This unfortunately also makes it impossible to log events that caused a
    reboot.  For people with non broken BIOS there is mce=bootlog
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  17. [PATCH] Fix restore of 64-bit PCI BAR's

    Ivan Kokshaysky committed with Linus Torvalds Aug 7, 2005
    For 64-bit BAR[i] only pci_dev->resource[i] is valid, ->resource[i+1]
    slot is unused and contains zeroes in all fields.
    
    So when we update a PCI BAR, all we need is just to check that we're
    going to update a _valid_ resource.
    
    Also make sure to write high bits - use "x >> 16 >> 16" (rather than the
    simpler ">> 32") to avoid warnings on 32-bit architectures where we're
    not going to have any high bits.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on Aug 6, 2005
  1. @ebiederm

    [PATCH] x86_64 bootmem: sparse_mem/kexec merge bug.

    ebiederm committed with Linus Torvalds Aug 6, 2005
    When the sparse mem changes and the kexec changes
    were merged into setup.c they came in, in the wrong order.
    This patch changes the order so we don't run sparse_init
    which uses the bootmem allocator until we all of the
    reserve_bootmem calls has been made.
    
    Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. @ebiederm

    [PATCH] i386 visws: Add machine_shutdown and emergency_restart

    ebiederm committed with Linus Torvalds Aug 6, 2005
    Another x86 subarchitecture bit I missed.  This adds both
    machine_emergency_restart missed in my reboot fixes and
    machine_shutdown needed for kexec support.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. @ebiederm

    [PATCH] i386 voyager: Add machine_shutdown

    ebiederm committed with Linus Torvalds Aug 6, 2005
    Here is one more bit of breakage my x86 sub-architecture
    confusion caused.
    
    Add machine_shutdown to voyager so it will compile with CONFIG_KEXEC.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. ppc: Export __handle_mm_fault for MOL

    Linus Torvalds committed Aug 6, 2005
    When we did the handle_mm_fault cleanup and get_user_page() race fixes,
    handle_mm_fault turned into an inline function that called the real
    __handle_mm_fault() code.  The export needed for MOL on ppc wasn't
    updated to match the new world order, though.
    
    Turn it into a GPL export while at it, since this is all about internal
    interfaces and MOL is GPL'd anwyay.
  5. Check input buffer size in zisofs

    Linus Torvalds committed Aug 6, 2005
    This uses the new deflateBound() thing to sanity-check the input to the
    zlib decompressor before we even bother to start reading in the blocks.
    
    Problem noted by Tim Yamin <plasmaroo@gentoo.org>
  6. Add fakey 'deflateBound()' function to the in-kernel zlib routines

    Linus Torvalds committed Aug 6, 2005
    It's not the real deflateBound() in newer zlib libraries, partly because
    the upcoming usage of it won't have the "stream" available, so we can't
    have the same interfaces anyway.
  7. [PATCH] ppc32: ppc440 pagetable attributes (comments updates)

    Matt Porter committed with Linus Torvalds Aug 6, 2005
    Here's an incremental patch with comment updates and some additional
    grammar cleanups.
    
    Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  8. @holtmann

    [Bluetooth] Add direction and timestamp to stack internal events

    holtmann committed Aug 6, 2005
    This patch changes the direction to incoming and adds the timestamp
    to all stack internal events.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  9. @holtmann

    [Bluetooth] Remove unused functions and cleanup symbol exports

    holtmann committed Aug 6, 2005
    This patch removes the unused bt_dump() function and it also removes
    its BT_DMP macro. It also unexports the hci_dev_get(), hci_send_cmd()
    and hci_si_event() functions.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  10. @holtmann

    [Bluetooth] Kill redundant NULL checks before kfree()

    holtmann committed Aug 6, 2005
    There's no need to check for NULL before calling kfree() on a pointer.
    
    Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  11. @holtmann

    [Bluetooth] Revert session reference counting fix

    holtmann committed Aug 6, 2005
    The fix for the reference counting problem of the signal DLC introduced
    a race condition which leads to an oops. The reason for it is not fully
    understood by now and so revert this fix, because the reference counting
    problem is not crashing the RFCOMM layer and its appearance it rare.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  12. @holtmann

    [Bluetooth] Send HCI_Reset for Kensington dongle

    holtmann committed Aug 6, 2005
    The Kensington Bluetooth USB adapter 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 <marcel@holtmann.org>
Commits on Aug 5, 2005
  1. [PATCH] ppc32: fix ppc440 pagetable attributes

    Matt Porter committed with Linus Torvalds Aug 5, 2005
    This patch fixes a bug in the PPC440 pagetable attributes that breaks swap
    support.  It also adds some notes on the PPC440 attribute fields.
    
    Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> for CELF
    Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. [PATCH] Update in-kernel zlib routines

    Tim Yamin committed with Linus Torvalds Jul 25, 2005
    These bugs have been fixed in the standard zlib for a while.
    
    See for example
    
     a) http://sources.redhat.com/ml/bug-gnu-utils/1999-06/msg00183.html
     b) http://bugs.gentoo.org/show_bug.cgi?id=94584
    
    Signed-off-by: Tim Yamin <plasmaroo@gentoo.org>
    Signed-off-by: Tavis Ormandy <taviso@gentoo.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] Fix semundo lock leakage

    Ingo Molnar committed with Linus Torvalds Aug 5, 2005
    semundo->lock can leak if semundo->refcount goes from 2 to 1 while
    another thread has it locked.  This causes major problems for PREEMPT
    kernels.
    
    The simplest fix for now is to undo the single-thread optimization.
    
    This bug was found via relentless testing by Dominik Karall.
    
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. @htejun

    [PATCH] blk: fix tag shrinking (revive real_max_size)

    htejun committed with Linus Torvalds Aug 5, 2005
    My patch in commit fa72b90 incorrectly
    removed blk_queue_tag->real_max_depth.
    
    The original resize implementation was incorrect in the following
    points.
    
     * actual allocation size of tag_index was shorter than real_max_size,
       but assumed to be of the same size, possibly causing memory access
       beyond the allocated area.
     * bits in tag_map between max_deptn and real_max_depth were
       initialized to 1's, making the tags permanently reserved.
    
    In an attempt to fix above two bugs, I had removed allocation optimization
    in init_tag_map and real_max_size.  Tag map/index were allocated and freed
    immediately during resize.
    
    Unfortunately, I wasn't considering that tag map/index can be resized
    dynamically with tags beyond new_depth active.  This led to accessing
    freed area after shrinking tags and led to the following bug reporting
    thread on linux-scsi.
    
       http://marc.theaimsgroup.com/?l=linux-scsi&m=112319898111885&w=2
    
    To fix the problem, I've revived real_max_depth without allocation
    optimization in init_tag_map, and Andrew Vasquez confirmed that the
    problem was fixed.  As Jens is not going to be available for a week, he
    asked me to make sure that this patch reaches you.
    
       http://marc.theaimsgroup.com/?l=linux-scsi&m=112325778530886&w=2
    
    Also, a comment was added to make sure that real_max_size is needed for
    dynamic shrinking.
    
    Signed-off-by: Tejun Heo <htejun@gmail.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. @dgibson

    [PATCH] Fix hugepage crash on failing mmap()

    dgibson committed with Linus Torvalds Aug 5, 2005
    This patch fixes a crash in the hugepage code.  unmap_hugepage_area() was
    assuming that (due to prefault) PTEs must exist for all the area in
    question.  However, this may not be the case, if mmap() encounters an error
    before the prefault and calls unmap_region() to clean up any partial
    mapping.
    
    Depending on the hugepage configuration, this crash can be triggered by an
    unpriveleged user.
    
    Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
    Cc: William Lee Irwin III <wli@holomorphy.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Something went wrong with that request. Please try again.