OpenCloudOS-Kernel/arch/blackfin/mach-common
Linus Torvalds ca520cab25 Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking and atomic updates from Ingo Molnar:
 "Main changes in this cycle are:

   - Extend atomic primitives with coherent logic op primitives
     (atomic_{or,and,xor}()) and deprecate the old partial APIs
     (atomic_{set,clear}_mask())

     The old ops were incoherent with incompatible signatures across
     architectures and with incomplete support.  Now every architecture
     supports the primitives consistently (by Peter Zijlstra)

   - Generic support for 'relaxed atomics':

       - _acquire/release/relaxed() flavours of xchg(), cmpxchg() and {add,sub}_return()
       - atomic_read_acquire()
       - atomic_set_release()

     This came out of porting qwrlock code to arm64 (by Will Deacon)

   - Clean up the fragile static_key APIs that were causing repeat bugs,
     by introducing a new one:

       DEFINE_STATIC_KEY_TRUE(name);
       DEFINE_STATIC_KEY_FALSE(name);

     which define a key of different types with an initial true/false
     value.

     Then allow:

       static_branch_likely()
       static_branch_unlikely()

     to take a key of either type and emit the right instruction for the
     case.  To be able to know the 'type' of the static key we encode it
     in the jump entry (by Peter Zijlstra)

   - Static key self-tests (by Jason Baron)

   - qrwlock optimizations (by Waiman Long)

   - small futex enhancements (by Davidlohr Bueso)

   - ... and misc other changes"

* 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (63 commits)
  jump_label/x86: Work around asm build bug on older/backported GCCs
  locking, ARM, atomics: Define our SMP atomics in terms of _relaxed() operations
  locking, include/llist: Use linux/atomic.h instead of asm/cmpxchg.h
  locking/qrwlock: Make use of _{acquire|release|relaxed}() atomics
  locking/qrwlock: Implement queue_write_unlock() using smp_store_release()
  locking/lockref: Remove homebrew cmpxchg64_relaxed() macro definition
  locking, asm-generic: Add _{relaxed|acquire|release}() variants for 'atomic_long_t'
  locking, asm-generic: Rework atomic-long.h to avoid bulk code duplication
  locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic operations
  locking, compiler.h: Cast away attributes in the WRITE_ONCE() magic
  locking/static_keys: Make verify_keys() static
  jump label, locking/static_keys: Update docs
  locking/static_keys: Provide a selftest
  jump_label: Provide a self-test
  s390/uaccess, locking/static_keys: employ static_branch_likely()
  x86, tsc, locking/static_keys: Employ static_branch_likely()
  locking/static_keys: Add selftest
  locking/static_keys: Add a new static_key interface
  locking/static_keys: Rework update logic
  locking/static_keys: Add static_key_{en,dis}able() helpers
  ...
2015-09-03 15:46:07 -07:00
..
Makefile blackfin: scb: Add system crossbar init code. 2013-09-13 10:42:27 +08:00
arch_checks.c Blackfin: split optimization settings more 2011-03-18 04:01:03 -04:00
cache-c.c blackfin: Support L1 SRAM parity checking feature on bf60x 2014-01-29 15:12:20 +08:00
cache.S Blackfin: SMP: work around anomaly 05000491 2011-03-18 04:01:04 -04:00
clock.h blackfin: bf60x: add clock support 2012-05-21 14:54:13 +08:00
clocks-init.c blackfin: delete non-required instances of <linux/init.h> 2014-01-29 15:11:42 +08:00
dpmc.c ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
dpmc_modes.S blackfin: bf60x: pm: Add a debug option to calculate kernel wakeup time. 2012-05-21 14:54:52 +08:00
entry.S blackfin: Wire up missing syscalls 2015-04-24 11:00:35 +08:00
head.S blackfin: add bf60x to current framework 2012-05-21 14:54:12 +08:00
interrupt.S Blackfin/ipipe: fix deferred pipeline sync for the root stage 2011-03-18 04:01:11 -04:00
ints-priority.c blackfin: Prepare irq handlers for irq argument removal 2015-07-31 22:20:05 +02:00
pm.c pm: sometimes wake up from suspend to RAM would fail 2015-04-23 21:34:32 +08:00
scb-init.c blackfin: delete non-required instances of <linux/init.h> 2014-01-29 15:11:42 +08:00
smp.c atomic: Replace atomic_{set,clear}_mask() usage 2015-07-27 14:06:24 +02:00