Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v2.6.12-rc5
Commits on May 25, 2005
  1. Linux 2.6.12-rc5

    Linus Torvalds authored
  2. [PATCH] aic7xxx_osm build fix

    Andrew Morton authored Linus Torvalds committed
    Fix a c99ism.
    
    Cc: James Bottomley <James.Bottomley@steeleye.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] saa6752hs build fix

    Andrew Morton authored Linus Torvalds committed
    For older gcc's.
    
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. [PATCH] try_to_unmap_cluster() passes out-of-bounds pte to pte_unmap()

    William Lee Irwin III authored Linus Torvalds committed
    try_to_unmap_cluster() does:
            for (pte = pte_offset_map(pmd, address);
                            address < end; pte++, address += PAGE_SIZE) {
    		...
    	}
    
    	pte_unmap(pte);
    
    It may take a little staring to notice, but pte can actually fall off the
    end of the pte page in this iteration, which makes life difficult for
    kmap_atomic() and the users not expecting it to BUG().  Of course, we're
    somewhat lucky in that arithmetic elsewhere in the function guarantees that
    at least one iteration is made, lest this force larger rearrangements to be
    made.  This issue and patch also apply to non-mm mainline and with trivial
    adjustments, at least two related kernels.
    
    Discovered during internal testing at Oracle.
    
    Signed-off-by: William Irwin <wli@holomorphy.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. [PATCH] sigkill priority fix

    Kirill Korotaev authored Linus Torvalds committed
    If SIGKILL does not have priority, we cannot instantly kill task before it
    makes some unexpected job.  It can be critical, but we were unable to
    reproduce this easily until Heiko Carstens <Heiko.Carstens@de.ibm.com>
    reported this problem on LKML.
    
    Signed-Off-By: Kirill Korotaev <dev@sw.ru>
    Signed-Off-By: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. [PATCH] voyager_smp.c static inline fix

    Dominik Hackl authored Linus Torvalds committed
    This patch fixes a compile bug by moving a static inline function to the
    right place.  The body of a static inline function has to be declared
    before the use of this function.
    
    Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org>
    Cc: James Bottomley <James.Bottomley@steeleye.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  7. [PATCH] Cleanup DEFINE_WAIT

    blaisorblade@yahoo.it authored Linus Torvalds committed
    Use LIST_HEAD_INIT rather than doing it by hand in DEFINE_WAIT.
    
    Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on May 23, 2005
  1. @kaysievers

    [PATCH] driver core: restore event order for device_add()

    kaysievers authored Linus Torvalds committed
    As a result of the split of the kobject-registration and the
    corresponding hotplug event, the order of events for device_add() has
    changed. This restores the old order, cause it confused some userspace
    applications.
    
    Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-…

    Linus Torvalds authored
    …2.6.git/
  3. @davem330

    [TG3]: Update driver version.

    davem330 authored
    Signed-off-by: David S. Miller <davem@davemloft.net>
  4. @davem330

    [TG3]: Increase TEST_BUFFER_SIZE to 8K.

    davem330 authored
    This makes the DMA bug workaround test more likely
    to find the problem on some systems.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  5. @davem330

    [TG3]: Update driver version and reldate.

    davem330 authored
    Signed-off-by: David S. Miller <davem@davemloft.net>
  6. @herbertx @davem330

    [IPV6]: Fix xfrm tunnel oops with large packets

    herbertx authored davem330 committed
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
    Acked-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  7. @davem330

    [NET]: netdevice.h: be'ify packet_type

    Alexey Dobriyan authored davem330 committed
    Everybody does
    
    	struct packet_type foo_packet_type = {
    		.type = __constant_htons(ETH_P_FOO);
    	};
    
    5 introduced warnings will be properly fixed later.
    
    Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  8. @xosevp @davem330

    [TG3]: Add 5752M device ID.

    xosevp authored davem330 committed
    Add 0x1601 as 5752M, it's a 5752 but for mobile PCs.
    Stolen from Broadcom bcm5700-8.1.55 driver.
    
    Someone forgot to add it to tg3 ;-)
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  9. @davem330

    [NET]: include/linux/if_tr.h clean-up

    Jon Mason authored davem330 committed
    I removed the ethernet definitions (which were commented out) and
    cleaned up the tabs.
    
    Signed-off-by: Jon Mason <jdmason@us.ibm.com>
  10. @davem330

    [NET]: Kill stray reference to sock->passcred.

    davem330 authored
    That struct member was deleted, but a comment
    was not updated to reflect this.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  11. @herbertx @davem330

    [CRYPTO]: Only reschedule if !in_atomic()

    herbertx authored davem330 committed
    The netlink gfp_any() problem made me double-check the uses of in_softirq()
    in crypto/*.  It seems to me that we should be checking in_atomic() instead
    of in_softirq() in crypto_yield.  Otherwise people calling the crypto ops
    with spin locks held or preemption disabled will get burnt, right?
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  12. @davem330

    [TCP]: Fix stretch ACK performance killer when doing ucopy.

    davem330 authored
    When we are doing ucopy, we try to defer the ACK generation to
    cleanup_rbuf().  This works most of the time very well, but if the
    ucopy prequeue is large, this ACKing behavior kills performance.
    
    With TSO, it is possible to fill the prequeue so large that by the
    time the ACK is sent and gets back to the sender, most of the window
    has emptied of data and performance suffers significantly.
    
    This behavior does help in some cases, so we should think about
    re-enabling this trick in the future, using some kind of limit in
    order to avoid the bug case.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
  13. @ozbenh

    [PATCH] ppc64: Fix g5 hw timebase sync

    ozbenh authored Linus Torvalds committed
    The hardware sync of the timebase on SMP G5s uses a black magic
    incantation to the i2c clock chip that was inspired from what Darwin
    does.
    
    However, this was an earlier version of Darwin that was ...  buggy !
    heh.  This causes the latest models to break though when starting SMP,
    so it's worth fixing.
    
    Here's a new version of the incantation based on careful transcription
    of the said incantations as found in the latest version of apple's
    temple.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  14. [PATCH] ppc32: Fix an off-by-one error in ipic_init

    Kumar Gala authored Linus Torvalds committed
    There is an off-by-one error in the IPIC code that configures the
    external interrupts (Edge or Level Sensitive).
    
    Signed-off-by: Randy Vinson <rvinson@mvista.com>
    Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  15. @ozbenh

    [PATCH] ppc64: Fix booting on latest G5 models

    ozbenh authored Linus Torvalds committed
    The latest speedbumped Apple G5 models have a "bug" in the Open Firmware
    device tree that lacks the proper interrupt routing information for the
    northbridge i2c controller.  Apple's driver silently falls back into a
    sub-optimal "polled" mode (heh, maybe they didn't even notice the bug
    because of that :), our driver didn't properly check and crashes :(
    
    This patch fixes our driver to not crash, and adds code to the
    prom_init() OF trampoline code that detects the "bug" and adds the
    missing information back for this chipset revision.  This fixes booting
    and thermal control on these models.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on May 21, 2005
  1. [PATCH] fix for __generic_file_aio_read() to return 0 on EOF

    Suparna Bhattacharya authored Linus Torvalds committed
    I came across the following problem while running ltp-aiodio testcases from
    ltp-full-20050405 on linux-2.6.12-rc3-mm3.  I tried running the tests with
    EXT3 as well as JFS filesystems.
    
    One or two fsx-linux testcases were hung after some time.  These testcases
    were hanging at wait_for_all_aios().
    
    Debugging shows that there were some iocbs which were not getting completed
    eventhough the last retry for those returned -EIOCBQUEUED.  Also all such
    pending iocbs represented READ operation.
    
    Further debugging revealed that all such iocbs hit EOF in the DIO layer.
    To be more precise, the "pos" from which they were trying to read was
    greater than the "size" of the file.  So the generic_file_direct_IO
    returned 0.
    
    This happens rarely as there is already a check in
    __generic_file_aio_read(), for whether "pos" < "size" before calling direct
    IO routine.
    
    >size = i_size_read(inode);
    >if (pos < size) {
    >	  retval = generic_file_direct_IO(READ, iocb,
    >                               iov, pos, nr_segs);
    
    But for READ, we are taking the inode->i_sem only in the DIO layer.  So it
    is possible that some other process can change the size of the file before
    we take the i_sem.  In such a case ( when "pos" > "size"), the
    __generic_file_aio_read() would return -EIOCBQUEUED even though there were
    no I/O requests submitted by the DIO layer.  This would cause the AIO layer
    to expect aio_complete() for THE iocb, which doesnot happen.  And thus the
    test hangs forever, waiting for an I/O completion, where there are no
    requests submitted at all.
    
    The following patch makes __generic_file_aio_read() return 0 (instead of
    returning -EIOCBQUEUED), on getting 0 from generic_file_direct_IO(), so
    that the AIO layer does the aio_complete().
    
    Testing:
    
    I have tested the patch on a SMP machine(with 2 Pentium 4 (HT)) running
    linux-2.6.12-rc3-mm3.  I ran the ltp-aiodio testcases and none of the
    fsx-linux tests hung.  Also the aio-stress tests ran without any problem.
    
    Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
    Signed-off-by: Suparna Bhattacharya <suparna@in.ibm.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. [PATCH] reiserfs: max_key fix

    Vladimir Saveliev authored Linus Torvalds committed
    This patch fixes a bug introduced by Al Viro's patch: [patch 136/174]
    reiserfs endianness: clone struct reiserfs_key
    
    The problem is MAX_KEY and MAX_IN_CORE_KEY defined in this patch do not
    look equal from reiserfs comp_key's point of view.  This caused reiserfs'
    sanity check to complain.
    
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. Merge of master.kernel.org:/home/rmk/linux-2.6-mmc.git

    Linus Torvalds authored
  4. Merge of master.kernel.org:/home/rmk/linux-2.6-serial.git

    Linus Torvalds authored
  5. @sthibaul

    [PATCH] spin_unlock_bh() and preempt_check_resched()

    sthibaul authored Linus Torvalds committed
    In _spin_unlock_bh(lock):
    	do { \
    		_raw_spin_unlock(lock); \
    		preempt_enable(); \
    		local_bh_enable(); \
    		__release(lock); \
    	} while (0)
    
    there is no reason for using preempt_enable() instead of a simple
    preempt_enable_no_resched()
    
    Since we know bottom halves are disabled, preempt_schedule() will always
    return at once (preempt_count!=0), and hence preempt_check_resched() is
    useless here...
    
    This fixes it by using "preempt_enable_no_resched()" instead of the
    "preempt_enable()", and thus avoids the useless preempt_check_resched()
    just before re-enabling bottom halves.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. When we detect that a 16550 was in fact part of a NatSemi SuperIO chip

    David Woodhouse authored Russell King committed
    with high-speed mode enabled, we switch it to high-speed mode so that
    baud_base becomes 921600. However, we also need to multiply the baud
    divisor by 8 at the same time, in case it's already in use as a console.
    
    Signed-off-by: David Woodhouse
    Acked-by: Tom Rini
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  7. [PATCH] MMC: Proper MMC command classes support

    Pierre Ossman authored Russell King committed
    Defines for the different command classes as defined in the MMC and SD
    specifications.
    
    Removes the check for high command classes and instead checks that the
    command classes needed are present.
    Previous solution killed forward compatibility at no apparent gain.
    
    Signed-of-by: Pierre Ossman
Commits on May 20, 2005
  1. [PATCH] x86_64: i386/x86-64: Export cpu_core_map

    Andi Kleen authored Linus Torvalds committed
    Needed for the powernow k8 driver for dual core support.
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    Cc: <mark.langsdorf@amd.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. [PATCH] x86_64: Add option to disable timer check

    Andi Kleen authored Linus Torvalds committed
    This works around the too fast timer seen on some ATI boards.
    
    I don't feel confident enough about it yet to enable it by default, but give
    users the option.
    
    Patch and debugging from Christopher Allen Wing <wingc@engin.umich.edu>, with
    minor tweaks (renamed the option and documented it)
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] x86_64: Fix 32bit system call restart

    Andi Kleen authored Linus Torvalds committed
    The test case at
    http://cvs.sourceforge.net/viewcvs.py/posixtest/posixtestsuite/conforman
    ce/interfaces/clock_nanosleep/1-5.c fails if it runs as a 32bit process on
    x86_86 machines.
    
    The root cause is the sub 32bit process fails to restart the syscall after it
    is interrupted by a signal.
    
    The syscall number of sys_restart_syscall in table sys_call_table is
    __NR_restart_syscall (219) while it's __NR_ia32_restart_syscall
    (0) in ia32_sys_call_table. When regs->rax==(unsigned
    long)-ERESTART_RESTARTBLOCK, function do_signal doesn't distinguish if
    the process is 64bit or 32bit, and always sets restart syscall number
    as __NR_restart_syscall (219).
    
    Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. [PATCH] i386: Fix race in iounmap

    Andi Kleen authored Linus Torvalds committed
    We need to hold the vmlist_lock while doing change_page_attr, otherwise we
    could reset someone else's mapping.
    
    Requires previous patch to add __remove_vm_area
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. [PATCH] x86_64: Fixed guard page handling again in iounmap

    Andi Kleen authored Linus Torvalds committed
    Caused oopses again.  Also fix potential mismatch in checking if
    change_page_attr was needed.
    
    To do it without races I needed to change mm/vmalloc.c to export a
    __remove_vm_area that does not take vmlist lock.
    
    Noticed by Terence Ripperda and based on a patch of his.
    
    Signed-off-by: Andi Kleen <ak@suse.de>
    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.