01 Jun, 2007

6 commits


31 May, 2007

11 commits

  • Deregister ccw device when device failure is detected during offline-
    processing (e.g. when no last-path-gone indication was presented by
    the hardware) to prevent the device from entering a non-recoverable
    not-operational state.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Martin Schwidefsky

    Peter Oberparleiter
     
  • We can't deregister disconnected and orphaned devices directly from
    the online attribute's store method, but must take a detour.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • Signed-off-by: Christoph Hellwig
    Signed-off-by: Martin Schwidefsky

    Christoph Hellwig
     
  • Signed-off-by: Christoph Hellwig
    Signed-off-by: Martin Schwidefsky

    Christoph Hellwig
     
  • Commit c0affe9db42bf85f4a606b3262c35ec59a5d3788 doesn't work because
    the host controller is being quirked not a PCI bridge. This patch
    reverts the commit, rename quirk_svw_msi() to quirk_disable_all_msi()
    and use it instead.

    Signed-off-by: Tejun Heo
    Cc: Matias Alejandro Torres
    Cc: Greg K-H
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tejun Heo
     
  • Fix enable_irq_wake and disable_irq_wake symmetry in at91 pcmcia driver

    disable_irq_wake call must be symmetric with enable_irq_wake. This patch
    fix that problem for the at91_pcmia driver. It seems that this patch was
    forgotten when we've fixed irq_wake symmetry in all at91 related drivers.
    It was discussed in the "at91 drivers and [enable/disable]_irq_wake
    (wrong?) usage" thread on the linux-arm-kernel mailing list.

    Signed-off-by: Marc Pignat
    Cc: David Brownell
    Cc: Russell King
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: Andrew Victor
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marc Pignat
     
  • The pseudo_palette has room for 16 entries only, but in truecolor mode, it
    attempts to write 256.

    Signed-off-by: Antonino Daplas
    Acked-by: Tero Roponen
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • drivers/sbus/char/flash.c does use macros VM_READ and such, needs to include
    linux/mm.h.

    Signed-off-by: Horst H. von Brand
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Horst H. von Brand
     
  • Signed-off-by: David S. Miller

    David S. Miller
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] Fix some section mismatch warnings
    [ARM] 4417/1: Serial: Fix AMBA drivers locking
    [ARM] 4394/1: ARMv7: Add the TLB range operations
    [ARM] 4410/1: Remove extern declarations in coyote/ixdpg425-pci.c
    [ARM] 4416/1: NWFPE: fix undeclared symbols
    [ARM] 4415/1: AML5900: fix sparse warnings from map_io
    [ARM] 4414/1: S3C2443: sparse fix for clock.c
    [ARM] 4412/1: S3C2412: reset errata fix
    [ARM] 4411/1: KS8695: Another serial driver fix
    [ARM] oprofile: avoid lockdep warnings on mpcore oprofile init
    [ARM] Fix stacktrace FP range checking
    [ARM] use __used attribute
    [ARM] enable arbitary speed tty ioctls and split input/output speed
    [ARM] remove unused header file: arch/arm/mach-s3c2410/bast.h
    [ARM] 4406/1: Trivial NSLU2 / NAS-100D header & setup code cleanup
    [ARM] 4405/1: NSLU2, DSM-G600 frequency fixup code
    [ARM] 4404/1: Trivial IXP42x Kconfig cleanup
    [ARM] 4403/1: Make the PXA-I2C driver work with lockdep validator
    [ARM] 4402/1: S3C2443: Add physical address of HSMMC controller
    [ARM] 4401/1: S3C2443: Add definitions for port GPIOJ

    Linus Torvalds
     
  • The following patch fixes these section mismatch warnings:

    WARNING: arch/arm/mach-at91/built-in.o(.text+0xdf4): Section mismatch: reference to .init.data:dk_nand_partition (between 'nand_partitions' and 'at91_leds_event')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (between 'nand_partitions' and 'ads7843_pendown_state')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-at91/built-in.o(.text+0xc28): Section mismatch: reference to .init.data:kb9202_nand_partition (after 'nand_partitions')
    WARNING: arch/arm/mach-footbridge/built-in.o(.text+0xaa4): Section mismatch: reference to .init.data:cats_pci (between 'cats_pci_init' and 'ebsa285_leds_event')WARNING: arch/arm/mach-ixp2000/built-in.o(.text+0xb54): Section mismatch: reference to .init.text:ixp2000_init_irq (between 'ixdp2x00_init_irq' and 'ixdp2x00_irq_handler')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x670): Section mismatch: reference to .init.text:ixp23xx_pci_common_init (between 'ixp23xx_pci_slave_init' and 'ixp23xx_pci_scan_bus')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x890): Section mismatch: reference to .init.text:ixp23xx_init_irq (between 'ixdp2351_init_irq' and 'roadrunner_pci_preinit')
    WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x9a8): Section mismatch: reference to .init.text:ixp23xx_pci_preinit (after 'roadrunner_pci_preinit')
    WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x80): Section mismatch: reference to .init.text:imx_set_mmc_info (between '__ksymtab_imx_set_mmc_info' and '__ksymtab_set_imx_fb_info')
    WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x88): Section mismatch: reference to .init.text:set_imx_fb_info (after '__ksymtab_set_imx_fb_info')
    WARNING: arch/arm/mach-sa1100/built-in.o(.text+0x1930): Section mismatch: reference to .init.data:neponset_port_fns (between 'neponset_probe' and 'assabet_leds_event')
    WARNING: drivers/built-in.o(.text+0x3f100): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x3f1c8): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x4f988): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
    WARNING: drivers/built-in.o(.text+0x4fa50): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')

    Signed-off-by: Sam Ravnborg
    Acked-by: Lennert Buytenhek
    Signed-off-by: Russell King

    Russell King
     

30 May, 2007

22 commits

  • Must access the respective queue's dummy netdev instead of the port's netdev.

    Signed-off-by: Thomas Klein
    Signed-off-by: Jeff Garzik

    Thomas Klein
     
  • Don't want IRQ on FIFO error because there is nothing useful to do with it.
    But do want IRQ on duplex change.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • This restores the previously removed netif_poll_enable call in e1000_open.
    It's needed on all but the first call to e1000_open for a NIC as
    e1000_close always calls netif_poll_disable.

    netif_poll_enable can only be called safely if no polls have been
    scheduled. This should be the case as long as we don't enter our IRQ
    handler.

    In order to guarantee this we explicitly disable IRQs as early as possible
    when we're probing the NIC.

    Signed-off-by: Herbert Xu
    Cc: "Kok, Auke"
    Cc: Jeff Garzik
    Cc: Andrew Morton
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Herbert Xu
     
  • If ioremap_nocache() is unfortunate enough to fail, the error code is not
    set correctly leading to a false success from dfx_register(). This change
    fixes the problem.

    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Jeff Garzik

    Maciej W. Rozycki
     
  • Driver was reading value from one register, setting bit and then
    writing the wrong register.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • Driver was not correctly setting up transmit descriptor when doing
    VLAN tag insertion with checksum offload.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • This code inherited from the sk98lin driver is incorrect on the Yukon2.
    The GPHY_CTRL register values are specific to the internal PHY of the chip
    and the values used were leftovers.
    Driver was setting bit 13 which is now the INT polarity for the PHY!

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • …inville/wireless-2.6 into upstream-fixes

    Jeff Garzik
     
  • The -rt patch triggered a lockdep warning in the amba serial drivers, which never
    shows up on UP kernels. On SMP systems this would trigger as well.

    Release the port lock before calling tty_flip_buffer_push() and reacquire it after
    the call. This matches the code in the 8250 serial driver.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Russell King

    Thomas Gleixner
     
  • Fix a error reported by newer versions of GCC.
    error: static declaration of 'ks8695_reg' follows non-static declaration

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     
  • Add data from zero-entropy random_writes directly to output pools to
    avoid accounting difficulties on machines without entropy sources.

    Tested on lguest with all entropy sources disabled.

    Signed-off-by: Matt Mackall
    Acked-by: "Theodore Ts'o"
    Signed-off-by: Linus Torvalds

    Matt Mackall
     
  • Fix cast error in entropy extraction.
    Add comments explaining the magic 16.
    Remove extra confusing loop variable.

    Signed-off-by: Matt Mackall
    Acked-by: "Theodore Ts'o"
    Signed-off-by: Linus Torvalds

    Matt Mackall
     
  • Set last allocated object to the object after the one just allocated
    before ORing in the extra top bits. Also handle the case where this
    wraps around.

    Signed-off-by: Roland Dreier

    Roland Dreier
     
  • The ib_cm can incorrectly detect a stale connection (a new connection
    request for a QPN that is already connected) as a duplicate connection
    request. Separate the handling of potential duplicate REQs from stale
    connections.

    Signed-off-by: Sean Hefty
    Signed-off-by: Roland Dreier

    Sean Hefty
     
  • commit 518b1646 ("IPoIB/cm: Fix SRQ WR leak") introduced a severe
    performance regression on Mellanox cards, because keeping a QP in the
    error state for extended periods of time moves hardware to the slow
    path (until the QP is destroyed). For example, MPI latency goes from
    ~3 usecs to ~7 usecs.

    Fix this by posting a send WR on one of the QPs that are being
    flushed, instead of using a separate drain QP that is kept in the
    error state.

    This fixes bug ,
    reported and bisected by Scott Weitzenkamp at Cisco and debugged by
    Sasha Mikheev at Voltaire.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • mthca_free_err_wqe() currently treats both send and receive CQEs
    identically if a QP is using an SRQ. But for Tavor hardware, send
    CQEs with error can be chained together even if the RQ is part of SRQ,
    so we may miss some CQEs.

    Fix by following the WQE chain for all send CQEs even for non-SRQ QPs.

    This fixes crashes in IPoIB CM:

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SPARC64]: Fill holes in hypervisor APIs and fix KTSB registry.
    [SPARC64]: Fix two bugs wrt. kernel 4MB TSB.
    [SPARC]: Mark as emulating cmpxchg, add appropriate depends for DRM.
    [SPARC]: Emulate cmpxchg like parisc
    [SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.
    [SPARC]: Linux always started with 9600 8N1
    [SPARC64]: arch/sparc64/time.c doesn't compile on Ultra 1 (no PCI)
    [SPARC64]: Eliminate NR_CPUS limitations.
    [SPARC64]: Use machine description and OBP properly for cpu probing.
    [SPARC64]: Negotiate hypervisor API for PCI services.
    [SPARC64]: Report proper system soft state to the hypervisor.
    [SPARC64]: Fix typo in sun4v_hvapi_register error handling.
    [SCSI] ESP: Kill SCSI_ESP_CORE and link directly just like jazz_esp
    [SCSI] jazz_esp: Converted to use esp_core.
    [SPARC64]: PCI device scan is way too verbose by default.
    [SERIAL] sunzilog: section mismatch fix
    [SPARC32]: Removes mismatch section warnigs in sparc time.c file
    [SPARC64]: Don't be picky about virtual-dma values on sun4v.
    [SPARC64]: Kill unused DIE_PAGE_FAULT enum value.
    [SCSI] pluto: Use wait_for_completion_timeout.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire: fix return code
    firewire: prefix modules with firewire- instead of fw-
    firewire: Add missing byteswapping for receive DMA programs.
    ieee1394: raw1394: Fix async send
    ieee1394: eth1394: bring back a parent device
    ieee1394: eth1394: handle tlabel exhaustion
    ieee1394: eth1394: remove bogus netif_wake_queue
    ieee1394: sbp2: include workqueue.h

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    hwmon/applesmc: Handle name file creation error and deletion
    hwmon/applesmc: Simplify dependencies
    hwmon-vid: Don't spam the logs when VRM version is missing
    hwmon/w83627hf: Be quiet when no chip is found
    hwmon/coretemp: Add more safety checks
    hwmon/ds1621: Fix swapped temperature limits

    Linus Torvalds
     
  • * 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc:
    [POWERPC] Fix Kconfig warning
    [PPC] Fix modpost warning
    [POWERPC] Fix modpost warning
    [POWERPC] Fix Section mismatch warnings
    [POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST
    [POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic)
    [PPC] Remove duplicate export of __div64_32.
    [PPC] Fix COMMON symbol warnings

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] megaraid_sas: intercept cmd timeout and throttle io
    [SCSI] fusion: Fix |/|| confusion
    [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete
    [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
    [SCSI] aacraid: apply commit config for reset_devices flag
    [SCSI] sd: fix refcounting regression in suspend/resume routines
    [SCSI] aacraid: fix panic on short Inquiry
    [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1)
    [SCSI] NCR53C9x: correct spelling mistake in deprecation notice
    [SCSI] tgt: fix a rdma indirect transfer error bug
    [SCSI] MegaRAID: Update MAINTAINERS email-id
    [SCSI] stex: minor cleanup and version update
    [SCSI] stex: fix reset recovery for console device
    [SCSI] stex: extend hard reset wait time
    [SCSI] stex: fix id mapping issue
    [SCSI] ipr: Proper return codes for eh_dev_reset for SATA devices
    [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices
    [SCSI] zfcp: avoid clutter in erp_dbf

    Linus Torvalds
     
  • This patch (as912) replaces a couple of calls to flush_workqueue()
    with cancel_sync_work() and cancel_rearming_delayed_work(). Using a
    more directed approach allows us to avoid some nasty deadlocks. The
    prime example occurs when a first-level device (the parent is a root
    hub) is removed while at the same time the root hub gets a remote
    wakeup request. khubd would try to flush the autosuspend workqueue
    while holding the root-hub's lock, and the remote-wakeup workqueue
    routine would be waiting to lock the root hub.

    The patch also reorganizes the power management portion of
    usb_disconnect(), separating it out into its own routine. The
    autosuspend workqueue entry is cancelled immediately instead of
    waiting for the device's release routine. In addition,
    synchronization with the autosuspend thread is carried out even for
    root hubs (an oversight in the original code).

    Signed-off-by: Alan Stern
    Cc: Andrew Morton
    Cc: Greg KH
    Cc: Mark Lord
    Signed-off-by: Linus Torvalds

    Alan Stern
     

29 May, 2007

1 commit

  • When hostap_tx_encrypt() tries to allocate enough headroom and
    tailroom for ieee80211 encryption, it only makes enough room for the
    "mpdu" phase of the operation, but forgets about the "msdu" phase.
    (For TKIP, these two phases require, respectively, 4 and 8 bytes of
    tailroom, per the "ieee80211_crypt_tkip" structure at the bottom of
    net/ieee80211/ieee80211_crypt_tkip.c.)

    Signed-off-by: Brandon Craig Rhodes
    Signed-off-by: Jouni Malinen
    Signed-off-by: John W. Linville

    Brandon Craig Rhodes