1. 28 May, 2014 3 commits
  2. 27 May, 2014 1 commit
  3. 23 May, 2014 7 commits
  4. 22 May, 2014 4 commits
    • Xiubo Li's avatar
      of: fix race between search and remove in of_update_property() · 947fdaad
      Xiubo Li authored
      The of_update_property() is intented to update a property in a node
      and if the property does not exist, will add it.
      
      The second search of the property is possibly won't be found, that
      maybe removed by other thread just before the second search begain.
      
      Using the __of_find_property() and __of_add_property() instead and
      move them into lock operations.
      Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
      [grant.likely: conflict with another change in same function]
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      947fdaad
    • Thierry Reding's avatar
      of: Use NULL for pointers · d2d3d7cd
      Thierry Reding authored
      Commit 44856819 (of/fdt: Clean up casting in unflattening path)
      modified unflatten_dt_node() to take a void * for the mem parameter
      instead of an unsigned long. One of the call sites wasn't updated.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      
      Conflicts:
      	drivers/of/fdt.c
      d2d3d7cd
    • Grant Likely's avatar
      of: Stop naming platform_device using dcr address · ba52464a
      Grant Likely authored
      There is now a way to ensure all platform devices get a unique name when
      populated from the device tree, and the DCR_NATIVE code path is broken
      anyway. PowerPC Cell (PS3) is the only platform that actually uses this
      path.  Most likely nobody will notice if it is killed. Remove the code
      and associated ugly #ifdef.
      
      The user-visible impact of this patch is that any DCR device on Cell
      will get a new name in the /sys/devices hierarchy.
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      ba52464a
    • Grant Likely's avatar
      of: Ensure unique names without sacrificing determinism · 07e461cd
      Grant Likely authored
      The way the driver core is implemented, every device using the same bus
      type is required to have a unique name because a symlink to each device
      is created in the appropriate /sys/bus/*/devices directory, and two
      identical names causes a collision.
      
      The current code handles the requirement by using an globally
      incremented counter that is appended to the device name. It works, but
      it means any change to device registration will change the assigned
      numbers. Instead, if we build up the name by using information from the
      parent nodes, then it can be guaranteed to be unique without adding a
      random number to the end of it.
      Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
      Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
      Cc: Rob Herring <robh@kernel.org>
      07e461cd
  5. 13 May, 2014 5 commits
  6. 09 May, 2014 6 commits
  7. 08 May, 2014 9 commits
  8. 07 May, 2014 5 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20140507' of git://git.infradead.org/linux-mtd · 9f1eb57d
      Linus Torvalds authored
      Pull MTD fix from Brian Norris:
       "A single update for Keystone SoC's, whose NAND controller does not
        support subpage programming"
      
      * tag 'for-linus-20140507' of git://git.infradead.org/linux-mtd:
        mtd: davinci-nand: disable subpage write for keystone-nand
      9f1eb57d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 7ceeff44
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
      
       - fix a small bug in computation of report size, which might cause some
         devices (Atmel touchpad found on the Samsung Ativ 9) to reject
         reports with otherwise valid contents
      
       - a few device-ID specific quirks/additions piggy-backing on top of it
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: sensor-hub: Add in quirk for sensor hub in Lenovo Ideapad Yogas
        HID: add NO_INIT_REPORTS quirk for Synaptics Touch Pad V 103S
        HID: core: fix computation of the report size
        HID: multitouch: add support of EliteGroup 05D8 panels
      7ceeff44
    • Linus Torvalds's avatar
      Merge branch 'drm-radeon-mullins' of git://people.freedesktop.org/~airlied/linux · f56cfe0c
      Linus Torvalds authored
      Pull radeon mullins support from Dave Airlie:
       "This is support for the new AMD mullins APU, it pretty much just adds
        support to the driver in the all the right places, and is pretty low
        risk wrt other GPUs"
      
      Oh well.  I guess it ends up fitting under "support new hardware" for
      merging late.
      
      * 'drm-radeon-mullins' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: add pci ids for Mullins
        drm/radeon: add Mullins VCE support
        drm/radeon: modesetting updates for Mullins.
        drm/radeon: dpm updates for KV/KB
        drm/radeon: add Mullins dpm support.
        drm/radeon: add Mullins UVD support.
        drm/radeon: update cik init for Mullins.
        drm/radeon: add Mullins chip family
      f56cfe0c
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 8a207d3e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "radeon, i915 and nouveau fixes, all fixes for regressions or black
        screens, or possible oopses"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: lower the ref * post PLL maximum
        drm/radeon: check that we have a clock before PLL setup
        drm/radeon: drm/radeon: add missing radeon_semaphore_free to error path
        drm/radeon: Fix num_banks calculation for SI
        agp: info leak in agpioc_info_wrap()
        drm/gm107/gr: bump attrib cb size quite a bit
        drm/nouveau: fix another lock unbalance in nouveau_crtc_page_flip
        drm/nouveau/bios: fix shadowing from PROM on big-endian systems
        drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi
        drm/radeon/dp: check for errors in dpcd reads
        drm/radeon: avoid high jitter with small frac divs
        drm/radeon: check buffer relocation offset
        drm/radeon: use pflip irq on R600+ v2
        drm/radeon/uvd: use lower clocks on old UVD to boot v2
        drm/i915: don't try DP_LINK_BW_5_4 on HSW ULX
        drm/i915: Sanitize the enable_ppgtt module option once
        drm/i915: Break encoder->crtc link separately in intel_sanitize_crtc()
      8a207d3e
    • George Spelvin's avatar
      x86-64, build: Fix stack protector Makefile breakage with 32-bit userland · 14262d67
      George Spelvin authored
      If you are using a 64-bit kernel with 32-bit userland, then
      scripts/gcc-x86_64-has-stack-protector.sh invokes 32-bit gcc
      with -mcmodel=kernel, which produces:
      
      <stdin>:1:0: error: code model 'kernel' not supported in the 32 bit mode
      
      and trips the "broken compiler" test at arch/x86/Makefile:120.
      
      There are several places a fix is possible, but the following seems
      cleanest.  (But it's minimal; it would also be possible to factor
      out a bunch of stuff from the two branches of the if.)
      Signed-off-by: default avatarGeorge Spelvin <linux@horizon.com>
      Link: http://lkml.kernel.org/r/20140507210552.7581.qmail@ns.horizon.com
      Cc: <stable@vger.kernel.org> # v3.14
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      14262d67