linux-stable/arch/riscv
Guo Ren 4420658a4a
riscv: atomic: Add custom conditional atomic operation implementation
Add conditional atomic operations' custom implementation (similar
to dec_if_positive), here is the list:
 - arch_atomic_inc_unless_negative
 - arch_atomic_dec_unless_positive
 - arch_atomic64_inc_unless_negative
 - arch_atomic64_dec_unless_positive

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20220505035526.2974382-4-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-05-21 10:31:47 -07:00
..
boot riscv: dts: rename the node name of dma 2022-04-20 17:37:43 -07:00
configs RISC-V: K210 defconfigs: Drop redundant MEMBARRIER=n 2022-03-31 17:19:27 -07:00
errata riscv: add memory-type errata for T-Head 2022-05-11 21:36:33 -07:00
include riscv: atomic: Add custom conditional atomic operation implementation 2022-05-21 10:31:47 -07:00
kernel riscv: kexec: add kexec_file_load() support 2022-05-19 16:26:50 -07:00
kvm RISC-V: KVM: Implement SBI HSM suspend call 2022-03-11 19:02:39 +05:30
lib riscv: Fixed misaligned memory access. Fixed pointer comparison. 2022-03-10 10:24:04 -08:00
mm riscv: support for Svpbmt and D1 memory types 2022-05-12 09:12:09 -07:00
net riscv: bpf: Fix eBPF's exception tables 2022-01-19 10:50:02 -08:00
purgatory RISC-V: Add purgatory 2022-05-19 12:18:59 -07:00
Kbuild RISC-V: Add purgatory 2022-05-19 12:18:59 -07:00
Kconfig asm-generic: New generic ticket-based spinlock 2022-05-20 10:14:08 -07:00
Kconfig.debug
Kconfig.erratas riscv: add memory-type errata for T-Head 2022-05-11 21:36:33 -07:00
Kconfig.socs riscv: integrate alternatives better into the main architecture 2022-05-11 21:36:31 -07:00
Makefile RISC-V: Add support for rv32 userspace via COMPAT 2022-05-19 09:51:59 -07:00