1. 28 May, 2014 4 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. 20 May, 2014 17 commits
  6. 13 May, 2014 5 commits
  7. 09 May, 2014 2 commits
    • Linus Torvalds's avatar
      Linux 3.15-rc5 · d6d211db
      Linus Torvalds authored
      d6d211db
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 181da3c3
      Linus Torvalds authored
      Pull x86 fixes from Peter Anvin:
       "A somewhat unpleasantly large collection of small fixes.  The big ones
        are the __visible tree sweep and a fix for 'earlyprintk=efi,keep'.  It
        was using __init functions with predictably suboptimal results.
      
        Another key fix is a build fix which would produce output that simply
        would not decompress correctly in some configuration, due to the
        existing Makefiles picking up an unfortunate local label and mistaking
        it for the global symbol _end.
      
        Additional fixes include the handling of 64-bit numbers when setting
        the vdso data page (a latent bug which became manifest when i386
        started exporting a vdso with time functions), a fix to the new MSR
        manipulation accessors which would cause features to not get properly
        unblocked, a build fix for 32-bit userland, and a few new platform
        quirks"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, vdso, time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()
        x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro
        x86: Fix typo preventing msr_set/clear_bit from having an effect
        x86/intel: Add quirk to disable HPET for the Baytrail platform
        x86/hpet: Make boot_hpet_disable extern
        x86-64, build: Fix stack protector Makefile breakage with 32-bit userland
        x86/reboot: Add reboot quirk for Certec BPC600
        asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*
        asmlinkage, x86: Add explicit __visible to arch/x86/*
        asmlinkage: Revert "lto: Make asmlinkage __visible"
        x86, build: Don't get confused by local symbols
        x86/efi: earlyprintk=efi,keep fix
      181da3c3