1. 26 1月, 2010 10 次提交
    • L
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · c799d153
      Linus Torvalds 提交于
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        hwmon: (fschmd) Fix a memleak on multiple opens of /dev/watchdog
        hwmon: (asus_atk0110) Do not fail if MBIF is missing
        hwmon: (amc6821) Double unlock bug
        hwmon: (smsc47m1) Fix section mismatch
      c799d153
    • L
      Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · abefedd5
      Linus Torvalds 提交于
      * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (95 commits)
        drm/radeon/kms: preface warning printk with driver name
        drm/radeon/kms: drop unnecessary printks.
        drm: fix regression in fb blank handling
        drm/radeon/kms: make hibernate work on IGPs
        drm/vmwgfx: Optimize memory footprint for DMA buffers.
        drm/ttm: Allow system memory as a busy placement.
        drm/ttm: Fix race condition in ttm_bo_delayed_delete (v3, final)
        drm/nv50: prevent switching off SOR when in use for DVI-over-DP
        drm/nv50: fail auxch transaction if reply count not what we expect
        drm/nouveau: fix failure path if userspace specifies no valid memtypes
        drm/nouveau: report LVDS as disconnected if lid closed
        drm/radeon/kms: fix legacy get_engine/memory clock
        drm/radeon/kms/atom: atom parser fixes
        drm/radeon/kms: clean up atombios pll code
        drm/radeon/kms: clean up pll struct
        drm/radeon/kms/atom: fix crtc lock ordering
        drm/radeon: r6xx/r7xx possible security issue, system ram access
        drm/radeon/kms: r600/r700 don't test ib if ib initialization fails
        drm/radeon/kms: Forbid creation of framebuffer with no valid GEM object
        drm/radeon/kms: r600 handle irq vector ring overflow
        ...
      abefedd5
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 840f51ff
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc64: Fix IRQ ->set_affinity() methods.
        sparc: cpumask_of_node() should handle -1 as a node
        sparc64: Update defconfig.
        sparc: Add missing SW perf fault events.
        sparc64: Fully support both performance counters.
        sparc64: Add perf callchain support.
        sparc: convert to arch_gettimeoffset()
        sparc: leds_resource.end assigned to itself in clock_board_probe()
        sparc32: Fix page_to_phys().
        sparc: Simplify param.h by simply including <asm-generic/param.h>
        sparc32: Update defconfig.
        SPARC: use helpers for rlimits
        sparc: copy_from_user() should not return -EFAULT
      840f51ff
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · e2197787
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits)
        virtio_net: Make delayed refill more reliable
        sfc: Use fixed-size buffers for MCDI NVRAM requests
        sfc: Add workspace for GMAC bug workaround to MCDI MAC_STATS buffer
        tcp_probe: avoid modulus operation and wrap fix
        qlge: Only free resources if they were allocated
        netns xfrm: deal with dst entries in netns
        sky2: revert config space change
        vlan: fix vlan_skb_recv()
        netns xfrm: fix "ip xfrm state|policy count" misreport
        sky2: Enable/disable WOL per hardware device
        net: Fix IPv6 GSO type checks in Intel ethernet drivers
        igb/igbvf: cleanup exception handling in tx_map_adv
        MAINTAINERS: Add Intel igbvf maintainer
        e1000/e1000e: don't use small hardware rx buffers
        fmvj18x_cs: add new id (Panasonic lan & modem card)
        be2net: swap only first 2 fields of mcc_wrb
        Please add support for Microsoft MN-120 PCMCIA network card
        be2net: fix bug in rx page posting
        wimax/i2400m: Add support for more i6x50 SKUs
        e1000e: enhance frame fragment detection
        ...
      e2197787
    • L
      Merge branch 'omap-fixes-for-linus' of... · 4f4e65d2
      Linus Torvalds 提交于
      Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (25 commits)
        OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer
        PM debug: Fix warning when no CONFIG_DEBUG_FS
        OMAP3: PM: DSS PM_WKEN to refill DMA
        OMAP: timekeeping: time should not stop during suspend
        OMAP3: PM: Force write last pad config register into save area
        OMAP: omap3_pm_get_suspend_state() error ignored in pwrdm_suspend_get()
        OMAP3: PM: Enable wake-up from McBSP2, 3 and 4 modules
        OMAP3: PM debug: fix build error when !CONFIG_DEBUG_FS
        OMAP3: PM: Removing redundant and potentially dangerous PRCM configration
        OMAP3: Fixed ARM aux ctrl register save/restore
        OMAP3: CPUidle: Fixed timer resolution
        OMAP3: PM: Remove duplicate code blocks
        OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI
        OMAP3: PM: Enable system control module autoidle
        OMAP3: PM: Ack pending interrupts before entering suspend
        omap: Enable GPMC clock in gpmc_init
        OMAP1 clock: fix for "BUG: spinlock lockup on CPU#0"
        OMAP4: clocks: Fix the clksel_rate struct DPLL divs
        OMAP4: PRCM: Fix the base address for CHIRONSS reg defines
        OMAP: dma_chan[lch_head].flag & OMAP_DMA_ACTIVE tested twice in omap_dma_unlink_lch()
        ...
      4f4e65d2
    • H
      virtio_net: Make delayed refill more reliable · 39d32157
      Herbert Xu 提交于
      I have seen RX stalls on a machine that experienced a suspected
      OOM.  After the stall, the RX buffer is empty on the guest side
      and there are exactly 16 entries available on the host side.  As
      the number of entries is less than that required by a maximal
      skb, the host cannot proceed.
      
      The guest did not have a refill job scheduled.
      
      My diagnosis is that an OOM had occured, with the delayed refill
      job scheduled.  The job was able to allocate at least one skb, but
      not enough to overcome the minimum required by the host to proceed.
      
      As the refill job would only reschedule itself if it failed completely
      to allocate any skbs, this would lead to an RX stall.
      
      The following patch removes this stall possibility by always
      rescheduling the refill job until the ring is totally refilled.
      
      Testing has shown that the RX stall no longer occurs whereas
      previously it would occur within a day.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Acked-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      39d32157
    • B
      sfc: Use fixed-size buffers for MCDI NVRAM requests · 5a27e86b
      Ben Hutchings 提交于
      The low-level MCDI code always uses 32-bit MMIO operations, and
      callers must pad input and output buffers to multiples of 4 bytes.
      The MCDI NVRAM functions are not doing this.  Also, their buffers are
      declared as variable-length arrays with no explicit maximum length.
      
      Switch to a fixed buffer size based on the chunk size used by the
      MTD driver (which is a multiple of 4).
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5a27e86b
    • G
      sfc: Add workspace for GMAC bug workaround to MCDI MAC_STATS buffer · 8704a2c8
      Guido Barzini 提交于
      Due to a hardware bug in the SFC9000 family, the firmware must
      transfer raw GMAC statistics to host memory before aggregating them
      into the cooked (speed-independent) MAC statistics.  Extend the stats
      buffer to support this.
      
      The length of the buffer is explicit in the MAC_STATS command, so this
      change is backward-compatible on both sides.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8704a2c8
    • S
      tcp_probe: avoid modulus operation and wrap fix · f81074f8
      Stephen Hemminger 提交于
      By rounding up the buffer size to power of 2, several expensive
      modulus operations can be avoided.  This patch also solves a bug where
      the gap need when ring gets full was not being accounted for.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f81074f8
    • B
      qlge: Only free resources if they were allocated · 4f9a91c8
      Breno Leitao 提交于
      Currently qlge tries to release regions even if they were not allocated.
      This causes messages like the following in the kernel log
      
      Trying to free nonexistent resource <00000000006af400-00000000006af4ff>
      Trying to free nonexistent resource <00003c04ff9f4000-00003c04ff9f7fff>
      Trying to free nonexistent resource <00003c04ffc00000-00003c04ffcfffff>
      
      This patch fixes the goto logic in order to not release the resources
      if they were not allocated.
      Signed-off-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4f9a91c8
  2. 25 1月, 2010 23 次提交
  3. 24 1月, 2010 7 次提交