linux-stable/arch/csky/include/asm
Linus Torvalds bc6cb4d5bc Locking changes for v6.5:
- Introduce cmpxchg128() -- aka. the demise of cmpxchg_double().
 
   The cmpxchg128() family of functions is basically & functionally
   the same as cmpxchg_double(), but with a saner interface: instead
   of a 6-parameter horror that forced u128 - u64/u64-halves layout
   details on the interface and exposed users to complexity,
   fragility & bugs, use a natural 3-parameter interface with u128 types.
 
 - Restructure the generated atomic headers, and add
   kerneldoc comments for all of the generic atomic{,64,_long}_t
   operations. Generated definitions are much cleaner now,
   and come with documentation.
 
 - Implement lock_set_cmp_fn() on lockdep, for defining an ordering
   when taking multiple locks of the same type. This gets rid of
   one use of lockdep_set_novalidate_class() in the bcache code.
 
 - Fix raw_cpu_generic_try_cmpxchg() bug due to an unintended
   variable shadowing generating garbage code on Clang on certain
   ARM builds.
 
 Signed-off-by: Ingo Molnar <mingo@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCgAvFiEEBpT5eoXrXCwVQwEKEnMQ0APhK1gFAmSav3wRHG1pbmdvQGtl
 cm5lbC5vcmcACgkQEnMQ0APhK1gDyxAAjCHQjpolrre7fRpyiTDwqzIKT27H04vQ
 zrQVlVc42WBnn9pe8LthGy43/RvYvqlZvLoLONA4fMkuYriM6nSMsoZjeUmE+6Rs
 QAElQC74P5YvEBOa67VNY3/M7sj22ftDe7ODtVV8OrnPjMk1sQNRvaK025Cs3yig
 8MAI//hHGNmyVAp1dPYZMJNqxGCvluReLZ4SaUJFCMrg7YgUXgCBj/5Gi07TlKxn
 sT8BFCssoEW/B9FXkh59B1t6FBCZoSy4XSZfsZe0uVAUJ4XDEOO+zBgaWFCedNQT
 wP323ryBgMrkzUKA8j2/o5d3QnMA1GcBfHNNlvAl/fOfrxWXzDZnOEY26YcaLMa0
 YIuRF/JNbPZlt6DCUVBUEvMPpfNYi18dFN0rat1a6xL2L4w+tm55y3mFtSsg76Ka
 r7L2nWlRrAGXnuA+VEPqkqbSWRUSWOv5hT2Mcyb5BqqZRsxBETn6G8GVAzIO6j6v
 giyfUdA8Z9wmMZ7NtB6usxe3p1lXtnZ/shCE7ZHXm6xstyZrSXaHgOSgAnB9DcuJ
 7KpGIhhSODQSwC/h/J0KEpb9Pr/5jCWmXAQ2DWnZK6ndt1jUfFi8pfK58wm0AuAM
 o9t8Mx3o8wZjbMdt6up9OIM1HyFiMx2BSaZK+8f/bWemHQ0xwez5g4k5O5AwVOaC
 x9Nt+Tp0Ze4=
 =DsYj
 -----END PGP SIGNATURE-----

Merge tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking updates from Ingo Molnar:

 - Introduce cmpxchg128() -- aka. the demise of cmpxchg_double()

   The cmpxchg128() family of functions is basically & functionally the
   same as cmpxchg_double(), but with a saner interface.

   Instead of a 6-parameter horror that forced u128 - u64/u64-halves
   layout details on the interface and exposed users to complexity,
   fragility & bugs, use a natural 3-parameter interface with u128
   types.

 - Restructure the generated atomic headers, and add kerneldoc comments
   for all of the generic atomic{,64,_long}_t operations.

   The generated definitions are much cleaner now, and come with
   documentation.

 - Implement lock_set_cmp_fn() on lockdep, for defining an ordering when
   taking multiple locks of the same type.

   This gets rid of one use of lockdep_set_novalidate_class() in the
   bcache code.

 - Fix raw_cpu_generic_try_cmpxchg() bug due to an unintended variable
   shadowing generating garbage code on Clang on certain ARM builds.

* tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (43 commits)
  locking/atomic: scripts: fix ${atomic}_dec_if_positive() kerneldoc
  percpu: Fix self-assignment of __old in raw_cpu_generic_try_cmpxchg()
  locking/atomic: treewide: delete arch_atomic_*() kerneldoc
  locking/atomic: docs: Add atomic operations to the driver basic API documentation
  locking/atomic: scripts: generate kerneldoc comments
  docs: scripts: kernel-doc: accept bitwise negation like ~@var
  locking/atomic: scripts: simplify raw_atomic*() definitions
  locking/atomic: scripts: simplify raw_atomic_long*() definitions
  locking/atomic: scripts: split pfx/name/sfx/order
  locking/atomic: scripts: restructure fallback ifdeffery
  locking/atomic: scripts: build raw_atomic_long*() directly
  locking/atomic: treewide: use raw_atomic*_<op>()
  locking/atomic: scripts: add trivial raw_atomic*_<op>()
  locking/atomic: scripts: factor out order template generation
  locking/atomic: scripts: remove leftover "${mult}"
  locking/atomic: scripts: remove bogus order parameter
  locking/atomic: xtensa: add preprocessor symbols
  locking/atomic: x86: add preprocessor symbols
  locking/atomic: sparc: add preprocessor symbols
  locking/atomic: sh: add preprocessor symbols
  ...
2023-06-27 14:14:30 -07:00
..
vdso csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
addrspace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
asid.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
atomic.h locking/atomic: make atomic*_{cmp,}xchg optional 2023-06-05 09:57:14 +02:00
barrier.h csky: atomic: Optimize cmpxchg with acquire & release 2022-04-25 13:51:42 +08:00
bitops.h include: move find.h from asm_generic to linux 2022-01-15 08:47:31 -08:00
bug.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
cache.h csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
cacheflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
checksum.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
clocksource.h csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
cmpxchg.h csky: cmpxchg: Coding convention for BUILD_BUG() 2022-07-31 21:57:30 -04:00
elf.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
fixmap.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
ftrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
futex.h csky: Fixup futex SMP implementation 2021-01-12 09:52:40 +08:00
highmem.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
io.h csky: optimize memcpy_{from,to}io() and memset_io() 2022-04-18 21:23:55 +08:00
irq_work.h csky: Add irq_work support 2020-07-31 01:55:46 +00:00
irqflags.h
jump_label.h csky: Add jump-label implementation 2022-07-30 11:12:03 -04:00
Kbuild csky: Add qspinlock support 2022-07-31 05:24:42 -04:00
kprobes.h kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
memory.h csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
mmu.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
mmu_context.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
page.h mm, arch: add generic implementation of pfn_valid() for FLATMEM 2023-02-09 16:51:41 -08:00
pci.h asm-generic: Add new pci.h and use it 2022-07-22 17:34:57 -05:00
perf_event.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
pgalloc.h csky: drop definition of PGD_ORDER 2022-07-17 17:14:42 -07:00
pgtable.h mm: remove __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:11 -08:00
probes.h csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
processor.h csky: Remove kernel_thread declaration 2023-03-12 10:52:42 +01:00
ptrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
reg_ops.h
seccomp.h csky: Enable seccomp architecture tracking 2020-11-20 11:16:34 -08:00
sections.h csky: Correct position of _stext 2022-07-22 21:36:14 -04:00
shmparam.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
smp.h csky/smp: Switch to hotplug core state synchronization 2023-05-15 13:44:58 +02:00
spinlock.h csky: Add qspinlock support 2022-07-31 05:24:42 -04:00
spinlock_types.h csky: Add qspinlock support 2022-07-31 05:24:42 -04:00
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
string.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
switch_to.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
syscall.h arch: remove unused function syscall_set_arguments() 2021-09-14 16:06:20 +02:00
syscalls.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tcm.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
thread_info.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
tlb.h csky/tlb: Remove tlb_flush() define 2022-07-21 10:50:13 -07:00
tlbflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
traps.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uaccess.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
unistd.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uprobes.h csky: Add uprobes support 2020-04-03 11:37:51 +08:00
vdso.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
vmalloc.h