1. 26 Jan, 2010 11 commits
    • Thomas Gleixner's avatar
      clocksource: Prevent potential kgdb dead lock · 7b7422a5
      Thomas Gleixner authored
      commit 0f8e8ef7 (clocksource: Simplify clocksource watchdog resume
      logic) introduced a potential kgdb dead lock. When the kernel is
      stopped by kgdb inside code which holds watchdog_lock then kgdb dead
      locks in clocksource_resume_watchdog().
      
      clocksource_resume_watchdog() is called from kbdg via
      clocksource_touch_watchdog() to avoid that the clock source watchdog
      marks TSC unstable after the kernel has been stopped.
      
      Solve this by replacing spin_lock with a spin_trylock and just return
      in case the lock is held. Not resetting the watchdog might result in
      TSC becoming marked unstable, but that's an acceptable penalty for
      using kgdb.
      
      The timekeeping is anyway easily screwed up by kgdb when the system
      uses either jiffies or a clock source which wraps in short intervals
      (e.g. pm_timer wraps about every 4.6s), so we really do not have to
      worry about that occasional TSC marked unstable side effect.
      
      The second caller of clocksource_resume_watchdog() is
      clocksource_resume(). The trylock is safe here as well because the
      system is UP at this point, interrupts are disabled and nothing else
      can hold watchdog_lock().
      Reported-by: default avatarJason Wessel <jason.wessel@windriver.com>
      LKML-Reference: <1264480000-6997-4-git-send-email-jason.wessel@windriver.com>
      Cc: kgdb-bugreport@lists.sourceforge.net
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      7b7422a5
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 9a3cbe32
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: Drop EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE flag
        ext4: Fix quota accounting error with fallocate
        ext4: Handle -EDQUOT error on write
      9a3cbe32
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog · 01974ea6
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
        [WATCHDOG] sbc_fitpc2_wdt: fix I/O space access technique.
        [WATCHDOG] ixp2000: Fix build failure caused by missing include
      01974ea6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 7c1c05af
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ASoC: fix a memory-leak in wm8903
        ALSA: hda - add possibility to choose speakers configuration for 4930g
        ALSA: hda - Fix HP T5735 automute
        ALSA: hda - Turn on EAPD only if available for Realtek codecs
        ALSA: hda - Fix parsing pin node 0x21 on ALC259
      7c1c05af
    • Linus Torvalds's avatar
      Merge branch 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 486d35e2
      Linus Torvalds authored
      * 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Fix leak of free lapic date in kvm_arch_vcpu_init()
        KVM: x86: Fix probable memory leak of vcpu->arch.mce_banks
        KVM: S390: fix potential array overrun in intercept handling
        KVM: fix spurious interrupt with irqfd
        eventfd - allow atomic read and waitqueue remove
        KVM: MMU: bail out pagewalk on kvm_read_guest error
        KVM: properly check max PIC pin in irq route setup
        KVM: only allow one gsi per fd
        KVM: x86: Fix host_mapping_level()
        KVM: powerpc: Show timing option only on embedded
        KVM: Fix race between APIC TMR and IRR
      486d35e2
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6 · a8d0b666
      Linus Torvalds authored
      * 'linux-next' of git://git.infradead.org/ubi-2.6:
        UBI: fix memory leak in update path
        UBI: add more checks to chdev open
        UBI: initialise update marker
      a8d0b666
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · c799d153
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · abefedd5
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 840f51ff
      Linus Torvalds authored
      * 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
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · e2197787
      Linus Torvalds authored
      * 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
    • Linus Torvalds's avatar
      Merge branch 'omap-fixes-for-linus' of... · 4f4e65d2
      Linus Torvalds authored
      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
  2. 25 Jan, 2010 29 commits