Skip to content
  1. Mar 02, 2012
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · 1f033c1a
      Linus Torvalds authored
      Watchdog updates from Wim Van Sebroeck:
      
      * git://www.linux-watchdog.org/linux-watchdog:
        watchdog: fix GETTIMEOUT ioctl in booke_wdt
        watchdog: update maintainers git entry
        watchdog: Fix typo in pnx4008_wdt.c
        watchdog: Fix typo in Kconfig
        watchdog: fix error in probe() of s3c2410_wdt (reset at booting)
        watchdog: hpwdt: clean up set_memory_x call for 32 bit
      1f033c1a
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 13fb2d10
      Linus Torvalds authored
      Pull from Mark Brown:
       "A simple, driver specific fix.  This device isn't widely used outside
        of Marvell reference boards most of which are probably used with their
        BSPs rather than with mainline so low risk."
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: fix the ldo configure according to 88pm860x spec
      13fb2d10
    • Linus Torvalds's avatar
      Merge branch 'i2c-embedded/for-3.3' of git://git.pengutronix.de/git/wsa/linux-2.6 · a223c522
      Linus Torvalds authored
      i2c bugfix from Wolfram Sang:
        "This patch fixes a wrong assumption in the mxs-i2c-driver about a
         command queue being done.  Without it, we have seen races when the
         bus was under load."
      
      * 'i2c-embedded/for-3.3' of git://git.pengutronix.de/git/wsa/linux-2.6:
        i2c: mxs: only flag completion when queue is completely done
      a223c522
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · cfa5555c
      Linus Torvalds authored
      DRM fixes from Dave Airlie:
        intel: fixes for output regression on 965GM, an oops and a machine
        hang
      
        radeon: uninitialised var (that gcc didn't warn about for some reason)
        + a couple of correctness fixes.
      
        exynos: fixes for various things, drop some chunks of unused code.
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv()
        drm/radeon: fix uninitialized variable
        drm/radeon/kms: fix radeon_dp_get_modes for LVDS bridges (v2)
        drm/i915: Remove use of the autoreported ringbuffer HEAD position
        drm/i915: Prevent a machine hang by checking crtc->active before loading lut
        drm/i915: fix operator precedence when enabling RC6p
        drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0
        drm/i915: fix mode set on load pipe. (v2)
        drm/exynos: exynos_drm.h header file fixes
        drm/exynos: added panel physical size.
        drm/exynos: added postclose to release resource.
        drm/exynos: removed exynos_drm_fbdev_recreate function.
        drm/exynos: fixed page flip issue.
        drm/exynos: added possible_clones setup function.
        drm/exynos: removed pageflip_event_list init code when closed.
        drm/exynos: changed priority of mixer layers.
        drm/exynos: Fix typo in exynos_mixer.c
      cfa5555c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 6bba07c6
      Linus Torvalds authored
      Pull s390 fixes from Martin Schwidefsky
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        [S390] memory hotplug: prevent memory zone interleave
        [S390] crash_dump: remove duplicate include
        [S390] KEYS: Enable the compat keyctl wrapper on s390x
      6bba07c6
  2. Mar 01, 2012
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://github.com/rustyrussell/linux · d7e53922
      Linus Torvalds authored
      Merge virtio pull request from Rusty Russell.
      
      * tag 'for-linus' of git://github.com/rustyrussell/linux:
        virtio: balloon: leak / fill balloon across S4
      d7e53922
    • Amit Shah's avatar
      virtio: balloon: leak / fill balloon across S4 · 4eb05d56
      Amit Shah authored
      commit e562966d
      
       added support for S4 to
      the balloon driver.  The freeze function did nothing to free the pages,
      since reclaiming the pages from the host to immediately give them back
      (if S4 was successful) seemed wasteful.  Also, if S4 wasn't successful,
      the guest would have to re-fill the balloon.  On restore, the pages were
      supposed to be marked freed and the free page counters were incremented
      to reflect the balloon was totally deflated.
      
      However, this wasn't done right.  The pages that were earlier taken away
      from the guest during a balloon inflation operation were just shown as
      used pages after a successful restore from S4.  Just a fancy way of
      leaking lots of memory.
      
      Instead of trying that, just leak the balloon on freeze and fill it on
      restore/thaw paths.  This works properly now.  The optimisation to not
      leak can be added later on after a bit of refactoring of the code.
      
      Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      4eb05d56
    • Linus Torvalds's avatar
      Merge tag 'fixes-3.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · c5f2ac92
      Linus Torvalds authored
      Arnd Bergmann says:
       "Another set of arm-soc bug fixes on top of v3.3-rc5.  The few larger
        bits are all for devices that still need to get set up in board code.
      
        Only three platforms are in this set of fixes: omap2+, pxa and lpc32xx."
      
      * tag 'fixes-3.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
        ARM: LPC32xx: serial.c: Fixed loop limit
        ARM: LPC32xx: serial.c: HW bug workaround
        ARM: LPC32xx: irq.c: Clear latched event
        ARM: LPC32xx: Fix interrupt controller init
        ARM: LPC32xx: Fix irq on GPI_28
        ARM: OMAP2: fix mailbox init code
        ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators
        ARM: OMAP1: Fix out-of-bounds array access for Innovator
        OMAP3 EVM: remove out-of-bounds array access of gpio_leds
        ARM: OMAP: Fix build error when mmc_omap is built as module
        ARM: OMAP: Fix kernel panic with HSMMC when twl4030_gpio is a module
        pxa/hx4700: add platform device and I2C info for AK4641 codec
        arch/arm/mach-pxa/: included linux/gpio.h twice
        arch/arm/mach-mmp/: some files include some headers twice
        ARM: pxa: fix error handling in pxa2xx_drv_pcmcia_probe
        ARM: pxa: fix including linux/gpio.h twice
        ARM: pxa: fix mixed declarations and code in sharpsl_pm
        ARM: pxa: fix wrong parsing gpio event on spitz
        ARM: OMAP2+: usb-host: fix compile warning
        ARM: OMAP4: Move the barrier memboclk_steal() as part of reserve callback
        ...
      c5f2ac92
    • Linus Torvalds's avatar
      Merge tag 'for-3.3' of git://openrisc.net/jonas/linux · 88ebdda6
      Linus Torvalds authored
      Build fixes for 3.3 from Jonas Bonn
      
      * tag 'for-3.3' of git://openrisc.net/jonas/linux:
        openrisc: Fix up audit_syscall_[entry|exit]() usage
        openrisc: include export.h for EXPORT_SYMBOL
      88ebdda6
    • Sebastian Biemueller's avatar
      drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv() · 108b0d34
      Sebastian Biemueller authored
      
      
      The bo is removed from the list at the top of
      radeon_vm_bo_rmv(), but then the list is used
      in radeon_vm_bo_update_pte() to look up the vm.
      remove the bo_list entry at the end of the
      function instead.
      
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: default avatarJerome Glisse <j.glisse@gmail.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      108b0d34
  3. Feb 29, 2012
  4. Feb 28, 2012
    • Steven Whitehouse's avatar
      GFS2: Read resource groups on mount · a365fbf3
      Steven Whitehouse authored
      
      
      This makes mount take slightly longer, but at the same time, the first
      write to the filesystem will be faster too. It also means that if there
      is a problem in the resource index, then we can refuse to mount rather
      than having to try and report that when the first write occurs.
      
      In addition, to avoid recursive locking, we hvae to take account of
      instances when the rindex glock may already be held when we are
      trying to update the rbtree of resource groups.
      
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      a365fbf3
    • Bob Peterson's avatar
      GFS2: Ensure rindex is uptodate for fallocate · 9e73f571
      Bob Peterson authored
      
      
      This patch fixes a problem whereby gfs2_grow was failing and causing GFS2
      to assert. The problem was that when GFS2's fallocate operation tried to
      acquire an "allocation" it made sure the rindex was up to date, and if not,
      it called gfs2_rindex_update. However, if the file being fallocated was
      the rindex itself, it was already locked at that point. By calling
      gfs2_rindex_update at an earlier point in time, we bring rindex up to date
      and thereby avoid trying to lock it when the "allocation" is acquired.
      
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      9e73f571
    • Bob Peterson's avatar
      GFS2: Read in rindex if necessary during unlink · 718b97bd
      Bob Peterson authored
      
      
      This patch fixes a problem whereby you were unable to delete
      files until other file system operations were done (such as
      statfs, touch, writes, etc.) that caused the rindex to be
      read in.
      
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      718b97bd
    • Steven Whitehouse's avatar
      GFS2: Fix race between lru_list and glock ref count · 4043b886
      Steven Whitehouse authored
      
      
      This patch fixes a narrow race window between the glock ref count
      hitting zero and glocks being removed from the lru_list.
      
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      4043b886
    • Dave Airlie's avatar
      Merge branch 'drm-intel-fixes' of... · e2bc96ae
      Dave Airlie authored
      Merge branch 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/drm-intel into HEAD
      
      * 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/drm-intel:
        drm/i915: Remove use of the autoreported ringbuffer HEAD position
        drm/i915: Prevent a machine hang by checking crtc->active before loading lut
        drm/i915: fix operator precedence when enabling RC6p
        drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0
        drm/i915: fix mode set on load pipe. (v2)
      e2bc96ae
    • Linus Torvalds's avatar
      Merge tag 'ktest-fix-make-min-failed-build-for-real' of... · 586c6e70
      Linus Torvalds authored
      Merge tag 'ktest-fix-make-min-failed-build-for-real' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest
      
      While demoing ktest at ELC in 2012, it was embarrassing that the
      make_min_config test failed to work because the snowball board I was
      testing it against had a config that would not build.  But the
      make_min_config only tested the testing part and ignored build failures.
      The end result was a config file that would not boot.
      
      This time, for real.
      
      * tag 'ktest-fix-make-min-failed-build-for-real' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest:
        ktest: Fix make_min_config test when build fails
      586c6e70
    • Steven Rostedt's avatar
      ktest: Fix make_min_config test when build fails · bf1c95ab
      Steven Rostedt authored
      
      
      The make_min_config does not take into account when the build fails,
      resulting in a invalid MIN_CONFIG .config file. When the build fails,
      it is ignored and the boot test is executed, using the previous built
      kernel. The configs that should be tested are not tested and they may
      be added or removed depending on the result of the last kernel that
      succeeded to be built.
      
      If the build fails, mark the current config as a failure and the
      configs that were disabled may still be needed.
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      bf1c95ab
    • Arnd Bergmann's avatar
      Merge branch 'lpc32xx/fixes' of git://git.antcom.de/linux-2.6 into fixes · f2273ecd
      Arnd Bergmann authored
      
      
      * 'lpc32xx/fixes' of git://git.antcom.de/linux-2.6: (5 commits)
        ARM: LPC32xx: serial.c: Fixed loop limit
        ARM: LPC32xx: serial.c: HW bug workaround
        ARM: LPC32xx: irq.c: Clear latched event
        ARM: LPC32xx: Fix interrupt controller init
        ARM: LPC32xx: Fix irq on GPI_28
      
      Update to Linux 3.3-rc5
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      f2273ecd
    • Chris Wilson's avatar
      drm/i915: Remove use of the autoreported ringbuffer HEAD position · 5d031e5b
      Chris Wilson authored
      This is a revert of 6aa56062
      
      .
      
      This was originally introduced to workaround reads of the ringbuffer
      registers returning 0 on SandyBridge causing hangs due to ringbuffer
      overflow. The root cause here was reads through the GT powerwell require
      the forcewake dance, something we only learnt of later. Now it appears
      that reading the reported head position from the HWS is returning
      garbage, leading once again to hangs.
      
      For example, on q35 the autoreported head reports:
        [  217.975608] head now 00010000, actual 00010000
        [  436.725613] head now 00200000, actual 00200000
        [  462.956033] head now 00210000, actual 00210010
        [  485.501409] head now 00400000, actual 00400020
        [  508.064280] head now 00410000, actual 00410000
        [  530.576078] head now 00600000, actual 00600020
        [  553.273489] head now 00610000, actual 00610018
      which appears reasonably sane. In contrast, if we look at snb:
        [  141.970680] head now 00e10000, actual 00008238
        [  141.974062] head now 02734000, actual 000083c8
        [  141.974425] head now 00e10000, actual 00008488
        [  141.980374] head now 032b5000, actual 000088b8
        [  141.980885] head now 03271000, actual 00008950
        [  142.040628] head now 02101000, actual 00008b40
        [  142.180173] head now 02734000, actual 00009050
        [  142.181090] head now 00000000, actual 00000ae0
        [  142.183737] head now 02734000, actual 00009050
      
      In addition, the automatic reporting of the head position is scheduled
      to be defeatured in the future. It has no more utility, remove it.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45492
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Tested-by: default avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      5d031e5b
    • Roland Stigge's avatar
      ARM: LPC32xx: serial.c: Fixed loop limit · ff424aa4
      Roland Stigge authored
      
      
      This patch fixes a wrong loop limit on UART init.
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Cc: stable@vger.kernel.org
      ff424aa4
    • Roland Stigge's avatar
      ARM: LPC32xx: serial.c: HW bug workaround · 2707208e
      Roland Stigge authored
      
      
      This patch fixes a HW bug by flushing RX FIFOs of the UARTs on init. It was
      ported from NXP's git.lpclinux.com tree.
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Cc: stable@vger.kernel.org
      2707208e
    • Roland Stigge's avatar
      ARM: LPC32xx: irq.c: Clear latched event · 94ed7830
      Roland Stigge authored
      
      
      This patch fixes the wakeup disable function by clearing latched events.
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Cc: stable@vger.kernel.org
      94ed7830
    • Roland Stigge's avatar
      ARM: LPC32xx: Fix interrupt controller init · 35dd0a75
      Roland Stigge authored
      
      
      This patch fixes the initialization of the interrupt controller of the LPC32xx
      by correctly setting up SIC1 and SIC2 instead of (wrongly) using the same value
      as for the Main Interrupt Controller (MIC).
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Cc: stable@vger.kernel.org
      35dd0a75
    • Roland Stigge's avatar
      ARM: LPC32xx: Fix irq on GPI_28 · f6737055
      Roland Stigge authored
      
      
      The GPI_28 IRQ was not registered properly. The registration of
      IRQ_LPC32XX_GPI_28 was added and the (wrong) IRQ_LPC32XX_GPI_11 at
      LPC32XX_SIC1_IRQ(4) was replaced by IRQ_LPC32XX_GPI_28 (see manual of
      LPC32xx / interrupt controller).
      
      Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
      Cc: stable@vger.kernel.org
      f6737055
  5. Feb 27, 2012