12 Jul, 2008

7 commits


05 Jun, 2008

13 commits

  • Some of the storage devices (that can be accessed through multiple paths),
    do need some special handling for
    1. Activating the passive path of the storage access.
    2. Decode and handle the special sense codes returned by the devices.
    3. Handle the I/Os being sent to the passive path, especially
    during the device probe time.
    when accessed through multiple paths.

    As of today this special device handling is done at the dm-multipath
    layer using dm-handlers. That works well for (1); for (2) to be handled
    at dm layer, scsi sense information need to be exported from SCSI to dm-layer,
    which is not very attractive; (3) cannot be done at all at the dm layer.

    Device handler has been moved to SCSI mainly to handle (2) and (3) properly.

    Signed-off-by: Chandra Seetharaman
    Signed-off-by: Mike Anderson
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Chandra Seetharaman
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (56 commits)
    l2tp: Fix possible oops if transmitting or receiving when tunnel goes down
    tcp: Fix for race due to temporary drop of the socket lock in skb_splice_bits.
    tcp: Increment OUTRSTS in tcp_send_active_reset()
    raw: Raw socket leak.
    lt2p: Fix possible WARN_ON from socket code when UDP socket is closed
    USB ID for Philips CPWUA054/00 Wireless USB Adapter 11g
    ssb: Fix context assertion in ssb_pcicore_dev_irqvecs_enable
    libertas: fix command size for CMD_802_11_SUBSCRIBE_EVENT
    ipw2200: expire and use oldest BSS on adhoc create
    airo warning fix
    b43legacy: Fix controller restart crash
    sctp: Fix ECN markings for IPv6
    sctp: Flush the queue only once during fast retransmit.
    sctp: Start T3-RTX timer when fast retransmitting lowest TSN
    sctp: Correctly implement Fast Recovery cwnd manipulations.
    sctp: Move sctp_v4_dst_saddr out of loop
    sctp: retran_path update bug fix
    tcp: fix skb vs fack_count out-of-sync condition
    sunhme: Cleanup use of deprecated calls to save_and_cli and restore_flags.
    xfrm: xfrm_algo: correct usage of RIPEMD-160
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc: switch /proc/led to seq_file
    sparc64: IO accessors fix

    Linus Torvalds
     
  • Commit e9df2e8fd8fbc95c57dbd1d33dada66c4627b44c ("[IPV6]: Use
    appropriate sock tclass setting for routing lookup.") also changed the
    way that ECN capable transports mark this capability in IPv6. As a
    result, SCTP was not marking ECN capablity because the traffic class
    was never set. This patch brings back the markings for IPv6 traffic.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • When we are trying to fast retransmit the lowest outstanding TSN, we
    need to restart the T3-RTX timer, so that subsequent timeouts will
    correctly tag all the packets necessary for retransmissions.

    Signed-off-by: Vlad Yasevich
    Tested-by: Wei Yongjun
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • Correctly keep track of Fast Recovery state and do not reduce
    congestion window multiple times during sucht state.

    Signed-off-by: Vlad Yasevich
    Tested-by: Wei Yongjun
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • David S. Miller
     
  • IPv6 UDP sockets wth IPv4 mapped address use udp_sendmsg to send the data
    actually. In this case ip_flush_pending_frames should be called instead
    of ip6_flush_pending_frames.

    Signed-off-by: Denis V. Lunev
    Signed-off-by: YOSHIFUJI Hideaki

    Denis V. Lunev
     
  • Signed-off-by: YOSHIFUJI Hideaki

    YOSHIFUJI Hideaki
     
  • - Allow longer lifetimes (>= 0x7fffffff/HZ) on 64bit archs
    by using unsigned long.
    - Shadow this arithmetic overflow workaround by introducing
    helper functions: addrconf_timeout_fixup() and
    addrconf_finite_timeout().

    Signed-off-by: YOSHIFUJI Hideaki

    YOSHIFUJI Hideaki
     
  • Commit 7cbca67c073263c179f605bdbbdc565ab29d801d ("[IPV6]: Support
    Source Address Selection API (RFC5014)") introduced NULL dereference
    of asoc to sctp_v6_get_saddr in net/sctp/ipv6.c.
    Pointed out by Johann Felix Soden .

    Signed-off-by: YOSHIFUJI Hideaki

    YOSHIFUJI Hideaki
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    [ALSA] hda - COMPAL IFL90/JFL-92 laptop quirk
    [ALSA] hda - Fix resume of auto-config mode with Realtek codecs
    [ALSA] hda - Fix model for LG LS75 laptop
    [ALSA] hda - Fix mic input on HP2133
    [ALSA] ac97 - Fix ASUS A9T laptop output

    Linus Torvalds
     
  • …git/x86/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip:
    x86, fpu: fix CONFIG_PREEMPT=y corruption of application's FPU stack
    suspend-vs-iommu: prevent suspend if we could not resume
    x86: section mismatch fix
    x86: fix Xorg crash with xf86MapVidMem error
    x86: fix pointer type warning in arch/x86/mm/init_64.c:early_memtest
    x86: fix bad pmd ffff810000207xxx(9090909090909090)
    x86: ioremap fix failing nesting check
    x86: fix broken math-emu with lazy allocation of fpu area
    x86: enable preemption in delay
    x86: disable preemption in native_smp_prepare_cpus
    x86: fix APIC warning on 32bit v2

    Linus Torvalds
     

04 Jun, 2008

9 commits

  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    libata-sff: Fix oops reported in kerneloops.org for pnp devices with no ctl
    libata: kill unused constants
    sata_mv: PHY_MODE4 cleanups
    [libata] ata_piix: more acer short cable quirks
    [libata] ACPI: Properly handle bay devices in dock stations

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.26:
    sh: Add defconfig for RSK7203.
    sh: Update SE7206 defconfig.
    sh: Disable 4KSTACKS on nommu.
    sh: fix miscompilation of ip_fast_csum with gcc >= 4.3
    sh: module.c use kernel unaligned helpers
    sh/kernel/cpu/irq/intc-sh5.c build fix

    Linus Torvalds
     
  • Fix the math emulation that got broken with the recent lazy allocation of FPU
    area. init_fpu() need to be added for the math-emulation path aswell
    for the FPU area allocation.

    math emulation enabled kernel booted fine with this, in the presence
    of "no387 nofxsr" boot param.

    Signed-off-by: Suresh Siddha
    Cc: hpa@zytor.com
    Cc: mingo@elte.hu
    Signed-off-by: Thomas Gleixner

    Suresh Siddha
     
  • - Make ata_sff_altstatus private so nobody uses it by mistake
    - Drop the 400nS delay from it

    Add

    ata_sff_irq_status - encapsulates the IRQ check logic

    This function keeps the existing behaviour for altstatus using devices. I
    actually suspect the logic was wrong before the changes but -rc isn't the
    time to play with that

    ata_sff_sync - ensure writes hit the device

    Really we want an io* operation for 'is posted' eg ioisposted(ioaddr) so
    that we can fix the nasty delay this causes on most systems.

    - ata_sff_pause - 400nS delay

    Ensure the command hit the device and delay 400nS

    - ata_sff_dma_pause

    Ensure the I/O hit the device and enforce an HDMA1:0 transition delay.
    Requires altstatus register exists, BUG if not so we don't risk
    corruption in MWDMA modes. (UDMA the checksum will save your backside in
    theory)

    The only other complication then is devices with their own handlers.
    rb532 can use dma_pause but scc needs to access its own altstatus
    register for internal errata workarounds so directly call the drivers own
    altstatus function.

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     
  • Kill a few unused constants.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • The field was supposed to allow the creation of an anycast route by
    assigning an anycast address to an address prefix. It was never
    implemented so this field is unused and serves no purpose. Remove it.

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     
  • Make nlmsg_trim(), nlmsg_cancel(), genlmsg_cancel(), and
    nla_nest_cancel() void functions.

    Return -EMSGSIZE instead of -1 if the provided message buffer is not
    big enough.

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     
  • Also removes an unused policy entry for an attribute which is
    only used in kernel->user direction.

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     
  • Also removes an obsolete check for the unused flag RTCF_MASQ.

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     

03 Jun, 2008

4 commits

  • The tty layer provides a callback that is used when the line discipline
    is changed. Some hardware uses this to configure hardware specific
    features such as IrDA mode on serial ports. Unfortunately the serial
    layer does not provide this feature or pass it down to drivers.

    Blackfin used to hack around this by rewriting the tty ops, but those are
    now properly shared and const so the hack fails. Instead provide the
    proper operations.

    This change plus a follow up from the Blackfin guys is needed to avoid
    blackfin losing features in this release.

    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Since mmc_spi.h uses irqreturn_t type, it should include appropriate
    header, otherwise build will break if users didn't include it (some of
    them do not use interrupts).

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Pierre Ossman
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
    8250 Serial Driver: revert extra IRQ flag definition patch
    Blackfin arch: update anomaly headers from toolchain trunk
    Blackfin arch: Remove bad and usless code
    Blackfin arch: Fix bug - set corret SSEL and IRQ to enable AD7877 on BF527
    Blackfin arch: Fix typo. it should be _outsw_8
    Blackfin arch: Cleanup no functional changes

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Fix DMA nodes in the MPC8610 HPCD device tree
    [POWERPC] Export empty_zero_page and copy_page in arch/ppc
    [POWERPC] Add "memory" clobber to MMIO accessors
    [POWERPC] pasemi: update pasemi_defconfig, enable electra_cf
    electra_cf: Add MODULE_DEVICE_TABLE()

    Linus Torvalds
     

02 Jun, 2008

1 commit

  • As noted by Matthew Wilcox:

    Kyle McMartin just tracked down a bug on parisc to a missing
    "memory" clobber in the inline assembly implementation of
    ip_fast_csum. The FRV, SH and Xtensa ports are also missing a
    memory clobber, so I thought it would be polite to let you know.

    The bug manifests as dropped network packets (obviously they have
    the wrong checksum). It started appearing for parisc with GCC 4.3.

    The GCC manual says:

    If your assembler instructions access memory in an unpredictable
    fashion, add `memory' to the list of clobbered registers. This
    will cause GCC to not keep memory values cached in registers
    across the assembler instruction and not optimize stores or loads
    to that memory.

    I see that FRV has a 400 byte memory output which may prevent this
    problem from appearing, but SH and Xtensa have nothing to prevent
    this bug. Hope this saves you a few days of debugging.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

31 May, 2008

5 commits


30 May, 2008

1 commit

  • The SW_RADIO code for EV_SW events has a name that is not descriptive
    enough of its intended function, and could induce someone to think
    KEY_RADIO is its EV_KEY counterpart, which is false.

    Rename it to SW_RFKILL_ALL, and document what this event is for. Keep
    the old name around, to avoid userspace ABI breaks.

    The SW_RFKILL_ALL event is meant to be used by rfkill master switches. It
    is not bound to a particular radio switch type, and usually applies to all
    types. It is semantically tied to master rfkill switches that enable or
    disable every radio in a system.

    Signed-off-by: Henrique de Moraes Holschuh
    Signed-off-by: Dmitry Torokhov

    Henrique de Moraes Holschuh