10 Jul, 2007

25 commits


09 Jul, 2007

4 commits

  • Woo-hoo. I'm sure somebody will report a "this doesn't compile, and
    I have a new root exploit" five minutes after release, but it still
    feels good ;)

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
    qd65xx: fix PIO mode selection
    sis5513: adding PCI-ID

    Linus Torvalds
     
  • Commit 1c710c896eb461895d3c399e15bb5f20b39c9073 added the utimensat()
    system call, but didn't handle the case of checking for the writability
    of the target right, when the target was a file descriptor, not a
    filename.

    We cannot use vfs_permission(MAY_WRITE) for that case, and need to
    simply check whether the file descriptor is writable. The oops from
    using the wrong function was noticed and narrowed down by Markus
    Trippelsdorf.

    Cc: Ulrich Drepper
    Cc: Markus Trippelsdorf
    Cc: Andrew Morton
    Acked-by: Al Viro
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Fix a post-2.6.21 regression.

    read_cache_page_async() has two invocations of mark_page_accessed() which will
    launch pages right onto the active list.

    Remove the first one, keeping the latter one. This avoids marking unwanted
    pages active (in the retry loop).

    Signed-off-by: Peter Zijlstra
    Acked-by: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     

08 Jul, 2007

6 commits

  • PIO4 is a maximum PIO mode supported by a driver. Using "255" as a max_mode
    argument to ide_get_best_pio_mode() could result in wrong timings being used
    by a driver (for "pio" equal to 5) or OOPS (for "pio" values > 5 && < 255).

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Acked-by: Sergei Shtylyov
    Reviewed-by: Alan Cox

    Bartlomiej Zolnierkiewicz
     
  • The SiS966 has one additional PCI-ID 1180.

    If the chipset is using this PCI-ID, the primary channel is connected to the
    first PATA-port. The secondary channel is connected to SATA-ports in IDE
    emulation mode. The legacy IO-ports are used.

    The including of the PCI-ID into pata_sis is not sufficient, because the legacy
    driver in drivers/ide is initialized before pata_sis.

    Signed-off-by: Uwe Koziolek
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Uwe Koziolek
     
  • The dependency of DLM on SYSFS got lost in
    commit 6ed7257b46709e87d79ac2b6b819b7e0c9184998 resulting in the
    following compile error with CONFIG_DLM=y, CONFIG_SYSFS=n:

    ...
    LD .tmp_vmlinux1
    fs/built-in.o: In function `dlm_lockspace_init':
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/fs/dlm/lockspace.c:231: undefined reference to `kernel_subsys'
    fs/built-in.o: In function `configfs_init':
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/fs/configfs/mount.c:143: undefined reference to `kernel_subsys'
    make[1]: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • The printk level in this printk is bogus, as the previous printk
    didn't have a terminating \n resulting in ..

    Intel E7520/7320/7525 detected.Disabling irq balancing and affinity

    It also never printed a \n at all in the case where we didn't do
    the quirk.

    Change it to only make noise if it actually does something useful.

    Signed-off-by: Dave Jones
    Signed-off-by: Linus Torvalds

    Dave Jones
     
  • This patch fixes the following 2.6.22 regression with CONFIG_KALLSYMS=n:

    ...
    CC arch/m32r/kernel/traps.o
    In file included from /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/arch/m32r/kernel/traps.c:14:
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_name':
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: 'ERANGE' undeclared (first use in this function)
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: (Each undeclared identifier is reported only once
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:66: error: for each function it appears in.)
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h: In function 'lookup_symbol_attrs':
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/kallsyms.h:71: error: 'ERANGE' undeclared (first use in this function)
    make[2]: *** [arch/m32r/kernel/traps.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • When cleaning up HIDP sessions, we currently close the ACL connection
    before deregistering the input device. Closing the ACL connection
    schedules a workqueue to remove the associated objects from sysfs, but
    the input device still refers to them -- and if the workqueue happens to
    run before the input device removal, the kernel will oops when trying to
    look up PHYSDEVPATH for the removed input device.

    Fix this by deregistering the input device before closing the
    connections.

    Signed-off-by: David Woodhouse
    Acked-by: Marcel Holtmann
    Signed-off-by: Linus Torvalds

    David Woodhouse
     

07 Jul, 2007

5 commits

  • kmem_cache_open is static. EXPORT_SYMBOL was leftover from some earlier
    time period where kmem_cache_open was usable outside of slub.

    (Fixes powerpc build error)

    Signed-off-by: Chrsitoph Lameter
    Cc: Johannes Berg
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • davem kindly moved the list from osdl to vger.

    Signed-of-by: maximilian attems
    Cc: Alexey Dobriyan
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    maximilian attems
     
  • Writing to MSR 0x51400017 forces a hard reset on CS5536-based machines,
    this has the reboot fixup do just that if such a board is detected.

    Acked-by: Jordan Crouse
    Signed-off-by: Andres Salomon
    Cc: Alan Cox
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andres Salomon
     
  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
    [NETPOLL]: Fixups for 'fix soft lockup when removing module'
    [NET]: net/core/netevent.c should #include
    [NETFILTER]: nf_conntrack_h323: add checking of out-of-range on choices' index values
    [NET] skbuff: remove export of static symbol
    SCTP: Add scope_id validation for link-local binds
    SCTP: Check to make sure file is valid before setting timeout
    SCTP: Fix thinko in sctp_copy_laddrs()

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
    [MIPS] Fix scheduling latency issue on 24K, 34K and 74K cores
    [MIPS] Add macros to encode processor revisions.
    [MIPS] RM7000: Enable ICACHE_REFILLS_WORKAROUND_WAR.
    [MIPS] SMTC: Fix cut'n'paste bug in Kconfig.debug
    [MIPS] Change libgcc-style functions from lib-y to obj-y
    [MIPS] Fix timer/performance interrupt detection
    [MIPS] AP/SP: Avoid triggering the 34K E125 performance issue
    [MIPS] 64-bit TO_PHYS_MASK macro for RM9000 processors

    Linus Torvalds