Commits on Aug 28, 2007
  1. Linux 2.6.23-rc4

    Linus Torvalds committed Aug 27, 2007
Commits on Aug 27, 2007
  1. @avasquez01

    dm-mpath-rdac: don't stomp on a requests transfer bit

    Without this, we get qla2xxx complaining about "ISP System Error".
    
    What's happening here is the firmware is detecting a Xfer-ready from the
    storage when in fact the data-direction for a mode-select should be a
    write (DATA_OUT).
    
    The following patch fixes the problem (typo). Verified by Brian, as
    well.
    
    Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
    Verified-by: Brian De Wolf <bldewolf@csupomona.edu>
    Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    avasquez01 committed with Linus Torvalds Aug 27, 2007
  2. Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/…

    …davem/sparc-2.6
    
    * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
      [SPARC32]: Make flush_tlb_kernel_range() an inline function.
      [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c
      [SPARC32]: Kill unused vars and macros from prom/console.c
      [SPARC32]: Add __cmpdi2() libcall implementation ala. MIPS.
      [VIDEO]: Do not prom_halt() in cg3 and bw2 device probe.
      [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.
    Linus Torvalds committed Aug 27, 2007
  3. Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/…

    …davem/net-2.6
    
    * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
      [NET]: Mark Paul Moore as maintainer of labelled networking.
      [VLAN/BRIDGE]: Fix "skb_pull_rcsum - Fatal exception in interrupt"
      [ISDN]: Get rid of some pointless allocation casts in common and bsd comp.
      [NET]: Avoid pointless allocation casts in BSD compression module
      [IRDA]: Do not do pointless kmalloc return value cast in KingSun driver
      [NET]: Fix crash in dev_mc_sync()/dev_mc_unsync()
      [PPPOL2TP]: Fix endianness annotations.
      [IOAT]: ioatdma needs to to play nice in a multi-dma-client world
      [SLIP]: trivial sparse warning fix
      [EQL]: sparse warning fix
      [NET]: is_power_of_2 in net/core/neighbour.c
      [TCP]: Describe tcp_init_cwnd() thoroughly in a comment.
      [NET]: Fix IP_ADD/DROP_MEMBERSHIP to handle only connectionless
      [KBUILD]: Sanitize tc_ematch headers.
      [IPSEC] AH4: Update IPv4 options handling to conform to RFC 4302.
    Linus Torvalds committed Aug 27, 2007
  4. fix bogus hotplug cpu warning

    Fix bogus DEBUG_PREEMPT warning on x86_64, when cpu brought online after
    bootup: current_is_keventd is right to note its use of smp_processor_id
    is preempt-safe, but should use raw_smp_processor_id to avoid the warning.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins committed with Linus Torvalds Aug 27, 2007
  5. reverse CONFIG_ACPI_PROC_EVENT default

    Sigh.  Again an ACPI assault on the Thinkpad's Fn+F4 to suspend to RAM.
    The default and text for CONFIG_THINKPAD_ACPI_INPUT_ENABLED were fixed
    in -rc3, but now commit 14e04fb ("ACPI:
    Schedule /proc/acpi/event for removal") introduces the ACPI_PROC_EVENT
    config entry, and defaults it to 'n' to disable it again.
    
    Change default to y, and add comment to make it clearer that n is for
    future distros.
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Len Brown <len.brown@intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins committed with Linus Torvalds Aug 27, 2007
  6. fix maxcpus=N parsing

    Commit 61ec756 ('ACPI: boot correctly
    with "nosmp" or "maxcpus=0"') broke 'maxcpus=' handling on x86[-64].
    
    maxcpus=N is now having no effect on x86_64, and freezing bootup on i386
    (because of inconsistency with the separate maxcpus parsing down in
    arch/i386, I guess).  That's because early_param parsing is a little
    different from __setup parsing, and needs the "=" omitted: then it seems
    to work as the original commit intended (no mention of IO-APIC in
    /proc/interrupts when maxcpus=0).
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Len Brown <len.brown@intel.com>
    Cc: Andi Kleen <ak@suse.de>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins committed with Linus Torvalds Aug 27, 2007
  7. Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-…

    …linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (60 commits)
      [MIPS] Fulong doesn't need ISA DMA.
      [MIPS] IP27: intr_sconnect_level: don't disable interrupts.
      [MIPS] IP27: startup_bridge_irq: connect interrupt.
      [MIPS] IP27: shutdown_bridge_irq: don't free irq.
      [MIPS] Sort out handling of ISA-less PCI systems.
      [MIPS] Add __cmpdi2
      [MIPS] HOTPLUG: Make register_pci_controller __devinit.
      [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
      [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
      [MIPS] Delete duplicate inclusion of <linux/delay.h>.
      [MIPS] Polish <asm/edac.h>.
      [MIPS] IP22: Export sgi_gfxaddr for use by the Newport console driver.
      [MIPS] Maintain si_code field properly for FP exceptions
      [MIPS] SMTC: Fix duplicate status dumps on NMI
      [MIPS] Unconditionally writeback and invalidate caches on kexec.
      [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
      [MIPS] Fix gcc 3.3 warning.
      [MIPS] Fix invalid semicolon after if statement
      [MIPS] Update Cobalt defconfig
      [MIPS] Update workpad_defconfig
      ...
    Linus Torvalds committed Aug 27, 2007
  8. Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/paulus/powerpc
    
    * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
      [POWERPC] Fix SLB initialization at boot time
      [POWERPC] Fix undefined reference to device_power_up/resume
      [POWERPC] cell: Update cell_defconfig for 2.6.23
      [POWERPC] axonram: Do not delete gendisks queue in error path
      [POWERPC] axonram: Module modification for latest firmware API changes
      [POWERPC] cell: Support pinhole-reset on IBM cell blades
      [POWERPC] spu_manage: Use newer physical-id attribute
      [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE
    Linus Torvalds committed Aug 27, 2007
  9. Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/kyle/parisc-2.6
    
    * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
      [PARISC] Add NOTES section
      [PARISC] Use compat_sys_getdents
      [PARISC] Do not allow STI_CONSOLE to be modular
      [PARISC] Clean up sti_flush
      [PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
      [PARISC] Add empty <asm-parisc/vga.h>
    Linus Torvalds committed Aug 27, 2007
  10. [PARISC] Add NOTES section

    Bisected bizarre kernel-space nullptr dereference in udev to commit
    1899119, adding the NOTES section fixes
    it.
    
    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Aug 26, 2007
  11. [PARISC] Use compat_sys_getdents

    Switch to using the generic compat_sys_getdents instead of a
    homebrew one.
    
    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Jun 29, 2007
  12. [PARISC] Do not allow STI_CONSOLE to be modular

    It doesn't really make much sense, anyways, and would need a pile of
    symbols exported.
    
    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Jun 29, 2007
  13. [PARISC] Clean up sti_flush

    sti_flush is supposed to flush the caches so we can execute the STI rom
    we copied to memory. Anything more than flush_icache_range is overkill.
    
    Fixes a missing symbol when built as a module.
    
    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Jun 29, 2007
  14. [PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines

    Less painful than fixing up the Kconfig for a pile of drivers to only build
    on X86 && ARM && MIPS...
    
    Just make them BUG(), as defining them to be 1:1 with physical memory will
    likely HPMC the box anyways.
    
    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Jun 29, 2007
  15. [PARISC] Add empty <asm-parisc/vga.h>

    Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
    Kyle McMartin committed with Kyle McMartin Jun 28, 2007
  16. [SPARC32]: Make flush_tlb_kernel_range() an inline function.

    This avoids unused variable warnings in places like mm/vmalloc.c:
    
    mm/vmalloc.c: In function ‘unmap_kernel_range’:
    mm/vmalloc.c:75: warning: unused variable ‘start’
    
    caused by it previously being a macro.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 25, 2007
  17. [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c

    resource_size_t can be either a u64 or a u32, and we can't
    really know for sure, so when printing such a value out
    always use long-long printf formatting and cast the argument
    to that type.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 25, 2007
  18. [SPARC32]: Kill unused vars and macros from prom/console.c

    This should have been removed during the of_console_device
    changes.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 25, 2007
  19. [SPARC32]: Add __cmpdi2() libcall implementation ala. MIPS.

    Device mapper generates calls to this with recent versions
    of gcc.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 25, 2007
  20. [VIDEO]: Do not prom_halt() in cg3 and bw2 device probe.

    Just give a normal kernel log message of the problem and
    return failure.
    
    Based upon a patch from Mark Fortescue.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 24, 2007
  21. [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.

    While debugging issues with the VDS server I made the
    driver use partition 2 to get at the whole disk since
    this is the "whole disk" partition in the Sun disk
    label.
    
    We really should use slice 0xff which really means
    the whole physical disk in the VIO disk protocol.
    Otherwise things won't work well on a disk image
    that doesn't have a proper disk label on it.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 24, 2007
  22. [NET]: Mark Paul Moore as maintainer of labelled networking.

    Signed-off-by: James Morris <jmorris@namei.org>
    Acked-by: Paul Moore <paul.moore@hp.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    James Morris committed with David S. Miller Aug 25, 2007
  23. [VLAN/BRIDGE]: Fix "skb_pull_rcsum - Fatal exception in interrupt"

    I tried to preserve bridging code as it was before, but logic is quite
    strange - I think we should free skb on error, since it is already
    unshared and thus will just leak.
    
    Herbert Xu states:
    
    > +	if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL)
    > +		goto out;
    
    If this happens it'll be a double-free on skb since we'll
    return NF_DROP which makes the caller free it too.
    
    We could return NF_STOLEN to prevent that but I'm not sure
    whether that's correct netfilter semantics.  Patrick, could
    you please make a call on this?
    
    Patrick McHardy states:
    
    NF_STOLEN should work fine here.
    
    Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Evgeniy Polyakov committed with David S. Miller Aug 24, 2007
  24. [ISDN]: Get rid of some pointless allocation casts in common and bsd …

    …comp.
    
    vmalloc() returns a void pointer - no need to cast the return value.
    
    Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jesper Juhl committed with David S. Miller Aug 24, 2007
  25. [NET]: Avoid pointless allocation casts in BSD compression module

    The general kernel memory allocation functions return void pointers
    and there is no need to cast their return values.
    
    Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jesper Juhl committed with David S. Miller Aug 24, 2007
  26. [IRDA]: Do not do pointless kmalloc return value cast in KingSun driver

    kmalloc() returns a void pointer, so there is no need to cast it in
     drivers/net/irda/kingsun-sir.c::kingsun_probe().
    
    Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jesper Juhl committed with David S. Miller Aug 24, 2007
  27. @bthery

    [NET]: Fix crash in dev_mc_sync()/dev_mc_unsync()

    This patch fixes a crash that may occur when the routine dev_mc_sync()
    deletes an address from the list it is currently going through. It
    saves the pointer to the next element before deleting the current one.
    The problem may also exist in dev_mc_unsync().
    
    Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
    Acked-by: Patrick McHardy <kaber@trash.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    bthery committed with David S. Miller Aug 24, 2007
  28. [PPPOL2TP]: Fix endianness annotations.

    {s,d}_{session,tunnel} in pppol2tp_addr are actually host-endian
    everywhere.  We might switch them to net-endian, of course, but
    that structure is exposed to userland via getname...
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Al Viro committed with David S. Miller Aug 24, 2007
  29. [IOAT]: ioatdma needs to to play nice in a multi-dma-client world

    Now that the DMA engine has a multi-client interface, fix the ioatdma
    driver to play along.  At the same time, remove a couple of unnecessary
    reads and writes.
    
    Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Shannon Nelson committed with David S. Miller Aug 24, 2007
  30. [SLIP]: trivial sparse warning fix

    Function declared static in forward declaration, but not in actual code.
    
    Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Stephen Hemminger committed with David S. Miller Aug 24, 2007
  31. [EQL]: sparse warning fix

    More noodlin on long flights, patch bin. Sparse warning fix for eql.
    
    Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Stephen Hemminger committed with David S. Miller Aug 24, 2007
  32. [NET]: is_power_of_2 in net/core/neighbour.c

    Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)
    
    Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vignesh babu committed with David S. Miller Aug 24, 2007
  33. [TCP]: Describe tcp_init_cwnd() thoroughly in a comment.

    People often get tripped up by this function and think that
    it does not implemented the prescribed algorithms from
    RFC2414 and RFC3390, even though it does.
    
    So add a comment to head off such misunderstandings in the
    future.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David S. Miller committed Aug 24, 2007
  34. @fleitner

    [NET]: Fix IP_ADD/DROP_MEMBERSHIP to handle only connectionless

    Fix IP[V6]_ADD_MEMBERSHIP and IP[V6]_DROP_MEMBERSHIP to
    return -EPROTO for connection oriented sockets.
    
    Signed-off-by: Flavio Leitner <fleitner@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    fleitner committed with David S. Miller Aug 24, 2007