Skip to content
  1. Jun 28, 2012
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mturquette/linux · e04fb020
      Linus Torvalds authored
      Pull clk common framework fixes from Mike Turquette:
       "This contains three NULL pointer fixes and two device regression
        fixups.
      
        Two NULL pointer dereferences were in the common clk core due to lack
        of sanity checking and the third NPD was in the mxs-specific clock
        code due to incorrect use of __initdata.
      
        The device regressions were the result of improper data: a wrong
        string name for matching DT data broke the SPEAr ethernet controller
        and another string matching problem in the mxs clock data resulted in
        a broken MMC controller."
      
      * tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mturquette/linux:
        clk: mxs: fix clock lookup after freeing init memory
        clk: mxs: fix ref_io clock definition
        clk: Check parent for NULL in clk_change_rate
        clk: Allow late cache allocation for clk->parents
        clk: SPEAr600: Fix ethernet clock name for DT based probing
      e04fb020
    • Dave Jones's avatar
      chmod +x scripts/gfp-translate · 6b44695e
      Dave Jones authored
      
      
      This script lacks an executable bit.
      
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6b44695e
  2. Jun 27, 2012
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · d1346a6c
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just two changes: one udl endian fix, one nouveau memory corruption on
        some GPUs."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/nouveau/fbcon: using nv_two_heads is not a good idea
        drm/udl: Make sure to get correct endian keys from vendor descriptor
      d1346a6c
    • Linus Torvalds's avatar
      Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 60d2c252
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
       "The most important one is a purification of Kconfig for CONFIG_HID;
        the inclusion of HID groups and autoloading didn't leave the Kconfig
        in a really consistent state.  Henrik's patch fixes that.  In addition
        to that, there are two small fixes for logitech and magicmouse
        drivers."
      
      * 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: Fix the generic Kconfig options
        HID: magicmouse: Correct report range of major / minor axes
        HID: logitech: don't use stack based dj_report structures
      60d2c252
  3. Jun 26, 2012
    • Ben Skeggs's avatar
      drm/nouveau/fbcon: using nv_two_heads is not a good idea · 9bd0c15f
      Ben Skeggs authored
      
      
      nv_two_heads() was never meant to be used outside of pre-nv50 code.  The
      code checks for >= NV_10 for 2 CRTCs, then downgrades a few specific
      chipsets to 1 CRTC based on (pci_device & 0x0ff0).
      
      The breakage example seen is on GTX 560Ti, with a pciid of 0x1200, which
      gets detected as an NV20 (0x020x) with 1 CRTC by nv_two_heads(), causing
      memory corruption because there's actually 2 CRTCs..
      
      This switches fbcon to use the CRTC count directly from the mode_config
      structure, which will also fix the same issue on Kepler boards which have
      4 CRTCs.
      
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      9bd0c15f
    • Marc Kleine-Budde's avatar
      clk: mxs: fix clock lookup after freeing init memory · d03ac61d
      Marc Kleine-Budde authored
      
      
      The struct clk_lookup are marked as __initdata, resulting in being
      removed from memory after the kernel finished booting. However this
      leads to a NULL pointer de-ref if loading a module which uses clk_get.
      
      This patch removes the __initdata from the struct clk_lookup.
      
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
      d03ac61d
    • Shawn Guo's avatar
      clk: mxs: fix ref_io clock definition · d6dc55c1
      Shawn Guo authored
      
      
      The definition of clocks ref_io0 and ref_io1 were inverted.  It causes
      a mmc regression on some boards right away.  Fix the regression by
      correcting the ref_io clock definition.
      
      Reported-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
      d6dc55c1
    • Pawel Moll's avatar
      clk: Check parent for NULL in clk_change_rate · bf47b4fd
      Pawel Moll authored
      
      
      clk_change_rate() is accessing parent's rate without checking
      if the parent exists at all. In case of root clocks this will
      cause NULL pointer dereference.
      
      This patch follows what clk_calc_new_rates() does in such
      situation.
      
      Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
      Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
      Cc: stable@kernel.org
      bf47b4fd
    • Rajendra Nayak's avatar
      clk: Allow late cache allocation for clk->parents · 7975059d
      Rajendra Nayak authored
      
      
      Parent clocks for muxes are cached in clk->parents to
      avoid frequent lookups, however the cache allocation happens
      only during clock registeration and later clk_set_parent()
      assumes a cache space available and allocated.
      
      This is not entirely true for platforms which do early clock
      registerations wherein the cache allocation using kzalloc
      could fail during clock registeration.
      
      Allow cache allocation to happen later as part of clk_set_parent()
      to help such cases and avoid crashes assuming a cache being
      available.
      
      While here also replace existing kmalloc() with kzalloc()
      in the file.
      
      Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
      Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
      Cc: stable@kernel.org
      7975059d
    • Stefan Roese's avatar
      clk: SPEAr600: Fix ethernet clock name for DT based probing · 3a35fc3a
      Stefan Roese authored
      
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Viresh Kumar <viresh.kumar@st.com>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
      3a35fc3a
    • Linus Torvalds's avatar
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · aace99e5
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab.
      
      Trivial conflict due to new USB HID ID's being added next to each other
      (Baanto vs Axentia).
      
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (44 commits)
        [media] smia: Fix compile failures
        [media]  Fix VIDIOC_DQEVENT docbook entry
        [media] s5p-fimc: Fix control creation function
        [media] s5p-mfc: Fix checkpatch error in s5p_mfc_shm.h file
        [media] s5p-mfc: Fix setting controls
        [media] v4l/s5p-mfc: added image size align in VIDIOC_TRY_FMT
        [media] v4l/s5p-mfc: corrected encoder v4l control definitions
        [media] v4l: mem2mem_testdev: Fix race conditions in driver
        [media] s5p-mfc: Bug fix of timestamp/timecode copy mechanism
        [media] cxd2820r: Fix an incorrect modulation type bitmask
        [media] em28xx: Show a warning if the board does not support remote controls
        [media] em28xx: Add remote control support for Terratec's Cinergy HTC Stick HD
        [media] USB: Staging: media: lirc: initialize spinlocks before usage
        [media] Revert "[media] media: mx2_camera: Fix mbus format handling"
        [media] bw-qcam: driver and pixfmt documentation fixes
        [media] cx88: fix firmware load on big-endian systems
        [media] cx18: support big-endian systems
        [media] ivtv: fix support for big-endian systems
        [media] tuner-core: return the frequency range of the correct tuner
        [media] v4l2-dev.c: fix g_parm regression in determine_valid_ioctls()
        ...
      aace99e5
    • Linus Torvalds's avatar
      Merge tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · bbcaf411
      Linus Torvalds authored
      Pull regulator fixes from Mark Brown:
       "A few small, driver specific bug fixes, nothing exciting here but all
        needed if you happen to be using the affected hardware."
      
      * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: palmas: fix regmap offsets for enable/disable
        regulator: tps6524x: Fix get_voltage_sel for fixed voltage
        regulator: tps65023: Fix mask for LDOs output voltage select control
      bbcaf411
    • Linus Torvalds's avatar
      Merge branch 'fixes-for-linus' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping · 5c0a981f
      Linus Torvalds authored
      Git pull DMA-mapping fix from Marek Szyprowski:
       "Another minor fixup for ARM dma-mapping redesign and extensions merged
        in this merge window"
      
      * 'fixes-for-linus' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
        ARM: dma-mapping: fix buffer chunk allocation order
      5c0a981f
    • Paul Mundt's avatar
      bug.h: Fix up CONFIG_BUG=n implicit function declarations. · 09682c1d
      Paul Mundt authored
      Commit 2603efa3
      
       ("bug.h: Fix up powerpc build regression") corrected
      the powerpc build case and extended the __ASSEMBLY__ guards, but it also
      got caught in pre-processor hell accidentally matching the else case of
      CONFIG_BUG resulting in the BUG disabled case tripping up on
      -Werror=implicit-function-declaration.
      
      It's not possible to __ASSEMBLY__ guard the entire file as architecture
      code needs to get at the BUGFLAG_WARNING definition in the GENERIC_BUG
      case, but the rest of the CONFIG_BUG=y/n case needs to be guarded.
      
      Rather than littering endless __ASSEMBLY__ checks in each of the if/else
      cases we just move the BUGFLAG definitions up under their own
      GENERIC_BUG test and then shove everything else under one big
      __ASSEMBLY__ guard.
      
      Build tested on all of x86 CONFIG_BUG=y, CONFIG_BUG=n, powerpc (due to
      it's dependence on BUGFLAG definitions in assembly code), and sh (due to
      not bringing in linux/kernel.h to satisfy the taint flag definitions used
      by the generic bug code).
      
      Hopefully that's the end of the corner cases and I can abstain from ever
      having to touch this infernal header ever again.
      
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Tested-by: default avatarFengguang Wu <wfg@linux.intel.com>
      Acked-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      09682c1d
  4. Jun 25, 2012
    • Henrik Rydberg's avatar
      HID: Fix the generic Kconfig options · 1f41a6a9
      Henrik Rydberg authored
      
      
      The generic HID driver is obviously not a special driver, so move it
      outside of the special drivers menu. Explain the usage and make the
      default follow the HID setting. This should simplify migration from
      older kernels. While at it, remove the redundant HID_SUPPORT option
      and modify the HID and USB_HID entries to better explain the bus
      structure.
      
      Reported-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      1f41a6a9
    • Yufeng Shen's avatar
      HID: magicmouse: Correct report range of major / minor axes · e75561b3
      Yufeng Shen authored
      
      
      In patch "HID: magicmouse: Adjust major / minor axes to scale",
      touch_major and touch_minor axes are scaled by a factor of
      four when reported but the max touch_major/minor is not scaled
      accordingly. This patch scales the max touch_major/minor to
      be consistent with the reported value.
      
      Signed-off-by: default avatarYufeng Shen <miletus@chromium.org>
      Acked-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      e75561b3
    • Marek Szyprowski's avatar
      ARM: dma-mapping: fix buffer chunk allocation order · 593f4735
      Marek Szyprowski authored
      
      
      IOMMU-aware dma_alloc_attrs() implementation allocates buffers in
      power-of-two chunks to improve performance and take advantage of large
      page mappings provided by some IOMMU hardware. However current code, due
      to a subtle bug, allocated those chunks in the smallest-to-largest
      order, what completely killed all the advantages of using larger than
      page chunks. If a 4KiB chunk has been mapped as a first chunk, the
      consecutive chunks are not aligned correctly to the power-of-two which
      match their size and IOMMU drivers were not able to use internal
      mappings of size other than the 4KiB (largest common denominator of
      alignment and chunk size).
      
      This patch fixes this issue by changing to the correct largest-to-smallest
      chunk size allocation sequence.
      
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      593f4735
    • Dave Airlie's avatar
      drm/udl: Make sure to get correct endian keys from vendor descriptor · d42f0349
      Dave Airlie authored
      This is a port of
      commit b49f184b
      
      
      Author: Ben Collins <bcollins@ubuntu.com>
      from udlfb to udl kms driver.
      
      The driver was not using le16_to_cpu when reading keys from the vendor
      descriptor, causing incorrect parsing. Mainly, sku_pixel_limit was not
      being parsed on big-endian systems. This would result in a blank screen
      on big-endian CPUs where the DL chips's max mode was smaller than the
      monitor's native mode.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      d42f0349
    • Linus Torvalds's avatar
      Linux 3.5-rc4 · 6b16351a
      Linus Torvalds authored
      v3.5-rc4
      6b16351a
    • Anatol Pomozov's avatar
      Fix typo in printed messages · 02b7d834
      Anatol Pomozov authored
      
      
      Coult -> Could
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      02b7d834
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/virt/kvm/kvm · 104452f0
      Linus Torvalds authored
      Pull KVM fixes from Avi Kivity:
       "Fixing a scheduling-while-atomic bug in the ppc code, and a bug which
        allowed pci bridges to be assigned to guests."
      
      * git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: PPC: Book3S HV: Drop locks around call to kvmppc_pin_guest_page
        KVM: Fix PCI header check on device assignment
      104452f0
    • Linus Torvalds's avatar
      Merge tag 'rdma-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 08d49c46
      Linus Torvalds authored
      Pull InfiniBand/RDMA fixes from Roland Dreier:
       - Fixes to new ocrdma driver
       - Typo in test in CMA
      
      * tag 'rdma-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        RDMA/cma: QP type check on received REQs should be AND not OR
        RDMA/ocrdma: Fix off by one in ocrdma_query_gid()
        RDMA/ocrdma: Fixed RQ error CQE polling
        RDMA/ocrdma: Correct queue SGE calculation
        RDMA/ocrdma: Correct reported max queue sizes
        RDMA/ocrdma: Fixed GID table for vlan and events
      08d49c46
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a4a20fd9
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "Nothing very controversial in here.  Most of the fixes are for OMAP
        this time around, with some orion/kirkwood and a tegra patch mixed in."
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: Orion: Fix Virtual/Physical mixup with watchdog
        ARM: Kirkwood: clk_register_gate_fn: add fn assignment
        ARM: Orion5x - Restore parts of io.h, with rework
        ARM: OMAP4: hwmod data: Force HDMI in no-idle while enabled
        ARM: OMAP2+: mux: fix sparse warning
        ARM: OMAP2+: CM: increase the module disable timeout
        ARM: OMAP4: clock data: add clockdomains for clocks used as main clocks
        ARM: OMAP4: hwmod data: fix 32k sync timer idle modes
        ARM: OMAP4+: hwmod: fix issue causing IPs not going back to Smart-Standby
        ARM: OMAP: Fix Beagleboard DVI reset gpio
        arm/dts: OMAP2: Fix interrupt controller binding
        ARM: OMAP2: Fix tusb6010 GPIO interrupt for n8x0
        ARM: OMAP2+: Fix MUSB ifdefs for platform init code
        ARM: tegra: make tegra_cpu_reset_handler_enable() __init
        ARM: OMAP: PM: Lock clocks list while generating summary
        ARM: iconnect: Remove include of removed linux/spi/orion_spi.h
      a4a20fd9
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 2ecedc47
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Nothing major in here, one radeon SI fix for tiling, and one uninit
        var fix, two minor header file fixes."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm: drop comment about this header being autogenerated.
        drm/edid: don't return stack garbage from supports_rb
        vga_switcheroo: Add include guard
        drm/radeon: SI tiling fixes for display
      2ecedc47
  5. Jun 24, 2012
    • Roland Dreier's avatar
      2e51fd3c
    • Andrew Lunn's avatar
      ARM: Orion: Fix Virtual/Physical mixup with watchdog · 0fa1f060
      Andrew Lunn authored
      
      
      The orion watchdog is expecting to be passed the physcial address of
      the hardware, and will ioremap() it to give a virtual address it will
      use as the base address for the hardware. However, when creating the
      platform resource record, a virtual address was being used.
      
      Add the necassary #define's so we can pass the physical address as
      expected.
      
      Tested on Kirkwood and Orion5x.
      
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      0fa1f060
    • Marc Kleine-Budde's avatar
      ARM: Kirkwood: clk_register_gate_fn: add fn assignment · 5fb2ce11
      Marc Kleine-Budde authored
      In commit:
          98d9986c
      
       ARM: Kirkwood: Replace clock gating
      the kirkwood clock gating has been reworked. A custom variant of
      clock gating, that calls a custom function before gating the clock
      off, has been introduced. However in clk_register_gate_fn() this
      custom function "fn" is never assigned.
      
      This patch adds the missing fn assignment.
      
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@blackshift.org>
      Tested-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5fb2ce11
    • Andrew Lunn's avatar
      ARM: Orion5x - Restore parts of io.h, with rework · b5e12229
      Andrew Lunn authored
      Commit 4d5fc58d
      
       (ARM: remove bunch of
      now unused mach/io.h files) removed the orion5x io.h. Unfortunately,
      this is still needed for the definition of IO_SPACE_LIMIT which
      overrides the default 64K. All Orion based systems have 1Mbyte of IO
      space per PCI[e] bus, and try to request_resource() this size. Orion5x
      has two such PCI buses.
      
      It is likely that the original, removed version, was broken. This
      version might be less broken. However, it has not been tested on
      hardware with a PCI card, let alone hardware with a PCI card with IO
      capabilities.
      
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      b5e12229
    • Olof Johansson's avatar
      Merge tag 'omap-fixes-a-for-3.5rc' of... · a34a3b72
      Olof Johansson authored
      Merge tag 'omap-fixes-a-for-3.5rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into fixes
      
      From Paul Walmsley (as per Tony Lindgren's request):
       "Some uncontroversial OMAP clock, hwmod, and compiler warning fixes for 3.5-rc"
      
      * tag 'omap-fixes-a-for-3.5rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending:
        ARM: OMAP4: hwmod data: Force HDMI in no-idle while enabled
        ARM: OMAP2+: mux: fix sparse warning
        ARM: OMAP2+: CM: increase the module disable timeout
        ARM: OMAP4: clock data: add clockdomains for clocks used as main clocks
        ARM: OMAP4: hwmod data: fix 32k sync timer idle modes
        ARM: OMAP4+: hwmod: fix issue causing IPs not going back to Smart-Standby
        ARM: OMAP: PM: Lock clocks list while generating summary
      a34a3b72
    • Olof Johansson's avatar
      Merge tag 'omap-fixes-for-v3.5-rc3' of... · e23d7096
      Olof Johansson authored
      Merge tag 'omap-fixes-for-v3.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      From Tony Lindgren:
      "Here are a few fixes with the biggest one being fix for Beagle DVI
       reset. All of them are regression fixes, except for the missing omap2
       interrupt controller binding that somehow got missed earlier."
      
      * tag 'omap-fixes-for-v3.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP: Fix Beagleboard DVI reset gpio
        arm/dts: OMAP2: Fix interrupt controller binding
        ARM: OMAP2: Fix tusb6010 GPIO interrupt for n8x0
        ARM: OMAP2+: Fix MUSB ifdefs for platform init code
      e23d7096
  6. Jun 23, 2012
    • Graeme Gregory's avatar
      regulator: palmas: fix regmap offsets for enable/disable · a68de074
      Graeme Gregory authored
      
      
      I forgot to apply the offsets for the regmap helper functions for
      enable/disable on SMPS10 and the LDO regulators. This means regulators
      will not enable/disable correctly.
      
      Signed-off-by: default avatarGraeme Gregory <gg@slimlogic.co.uk>
      Tested-by: default avatarSebastien Guiriec <s-guiriec@ti.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      a68de074
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 002b758b
      Linus Torvalds authored
      Pull Ceph fixes from Sage Weil:
       "There are a couple of fixes from Yan for bad pointer dereferences in
        the messenger code and when fiddling with page->private after page
        migration, a fix from Alex for a use-after-free in the osd client
        code, and a couple fixes for the message refcounting and shutdown
        ordering."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
        libceph: flush msgr queue during mon_client shutdown
        rbd: Clear ceph_msg->bio_iter for retransmitted message
        libceph: use con get/put ops from osd_client
        libceph: osd_client: don't drop reply reference too early
        ceph: check PG_Private flag before accessing page->private
      002b758b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-Jun-21-2012' of git://oss.sgi.com/xfs/xfs · 369c4f54
      Linus Torvalds authored
      Pull XFS fixes from Ben Myers:
       - Fix stale data exposure with unwritten extents
       - Fix a warning in xfs_alloc_vextent with ODEBUG
       - Fix overallocation and alignment of pages for xfs_bufs
       - Fix a cursor leak
       - Fix a log hang
       - Fix a crash related to xfs_sync_worker
       - Rename xfs log structure from struct log to struct xlog so we can use
         crash dumps effectively
      
      * tag 'for-linus-Jun-21-2012' of git://oss.sgi.com/xfs/xfs:
        xfs: rename log structure to xlog
        xfs: shutdown xfs_sync_worker before the log
        xfs: Fix overallocation in xfs_buf_allocate_memory()
        xfs: fix allocbt cursor leak in xfs_alloc_ag_vextent_near
        xfs: check for stale inode before acquiring iflock on push
        xfs: fix debug_object WARN at xfs_alloc_vextent()
        xfs: xfs_vm_writepage clear iomap_valid when !buffer_uptodate (REV2)
      369c4f54
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a1163719
      Linus Torvalds authored
      Pull perf updates from Ingo Molnar.
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        ftrace: Make all inline tags also include notrace
        perf: Use css_tryget() to avoid propping up css refcount
        perf tools: Fix synthesizing tracepoint names from the perf.data headers
        perf stat: Fix default output file
        perf tools: Fix endianity swapping for adds_features bitmask
      a1163719
  7. Jun 22, 2012
    • Dave Airlie's avatar
      drm: drop comment about this header being autogenerated. · 59bbe27b
      Dave Airlie authored
      
      
      This comment is well out of date.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      59bbe27b
    • Ricardo Neri's avatar
      ARM: OMAP4: hwmod data: Force HDMI in no-idle while enabled · dc57aef5
      Ricardo Neri authored
      
      
      As per the OMAP4 documentation, audio over HDMI must be transmitted in
      no-idle mode. This patch adds the HWMOD_SWSUP_SIDLE so that omap_hwmod uses
      no-idle/force-idle settings instead of smart-idle mode.
      
      This is required as the DSS interface clock is used as functional clock
      for the HDMI wrapper audio FIFO. If no-idle mode is not used, audio could
      be choppy, have bad quality or not be audible at all.
      
      Signed-off-by: default avatarRicardo Neri <ricardo.neri@ti.com>
      [b-cousson@ti.com: Update the subject and align the .flags
      location with the script template]
      Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      dc57aef5
    • Paul Walmsley's avatar
      ARM: OMAP2+: mux: fix sparse warning · 65e25976
      Paul Walmsley authored
      Commit bbd707ac
      
       ("ARM: omap2: use
      machine specific hook for late init") resulted in the addition of this
      sparse warning:
      
      arch/arm/mach-omap2/mux.c:791:12: warning: symbol 'omap_mux_late_init' was not declared. Should it be static?
      
      Fix by including the header file containing the prototype.
      
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: Tony Lindgren <tony@atomide.com>
      65e25976
    • Paul Walmsley's avatar
      ARM: OMAP2+: CM: increase the module disable timeout · b8f15b7e
      Paul Walmsley authored
      
      
      Increase the timeout for disabling an IP block to five milliseconds.
      This is to handle the usb_host_fs idle latency, which takes almost
      four milliseconds after a host controller reset.
      
      This is the second of two patches needed to resolve the following
      boot warning:
      
      omap_hwmod: usb_host_fs: _wait_target_disable failed
      
      Thanks to Sergei Shtylyov <sshtylyov@mvista.com> for finding
      an unrelated hunk in a previous version of this patch.
      
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Sergei Shtylyov <sshtylyov@mvista.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      b8f15b7e
    • Paul Walmsley's avatar
      ARM: OMAP4: clock data: add clockdomains for clocks used as main clocks · 9a47d32d
      Paul Walmsley authored
      
      
      Until the OMAP4 code is converted to disable the use of the clock
      framework-based clockdomain enable/disable sequence, any clock used as
      a hwmod main_clk must have a clockdomain associated with it.  This
      patch populates some clock structure clockdomain names to resolve the
      following warnings during kernel init:
      
      omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
      omap_hwmod: trace_clk_div_ck: missing clockdomain for trace_clk_div_ck.
      omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
      omap_hwmod: ddrphy_ck: missing clockdomain for ddrphy_ck.
      
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      9a47d32d
    • Paul Walmsley's avatar
      ARM: OMAP4: hwmod data: fix 32k sync timer idle modes · 252a4c54
      Paul Walmsley authored
      
      
      The 32k sync timer IP block target idle modes in the hwmod data are
      incorrect.  The IP block does not support any smart-idle modes.
      Update the data to reflect the correct modes.
      
      This problem was initially identified and a diff fragment posted to
      the lists by Benoît Cousson <b-cousson@ti.com>.  A patch description
      bug in the first version was also identified by Benoît.
      
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Benoît Cousson <b-cousson@ti.com>
      Cc: Tero Kristo <t-kristo@ti.com>
      252a4c54