android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Filippov d1e2ec2e0b xtensa: add missing exclusive access state management
commit a0fc1436f1f4f84e93144480bf30e0c958d135b6 upstream.

The result of the s32ex opcode is recorded in the ATOMCTL special
register and must be retrieved with the getex opcode. Context switch
between s32ex and getex may trash the ATOMCTL register and result in
duplicate update or missing update of the atomic variable.
Add atomctl8 field to the struct thread_info and use getex to swap
ATOMCTL bit 8 as a part of context switch.
Clear exclusive access monitor on kernel entry.

Cc: [email protected]
Fixes: f7c34874f0 ("xtensa: add exclusive atomics support")
Signed-off-by: Max Filippov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-08-21 13:05:24 +02:00
..
alpha scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
arc
arm ARM: 8992/1: Fix unwind_frame for clang-built kernels 2020-08-19 08:16:27 +02:00
arm64 arm64: perf: Correct the event index in sysfs 2020-08-21 13:05:23 +02:00
c6x
csky
h8300
hexagon
ia64 scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
m68k m68k: mac: Fix IOP status/control register writes 2020-08-19 08:15:56 +02:00
microblaze
mips irqdomain/treewide: Free firmware node after domain removal 2020-08-19 08:16:27 +02:00
nds32
nios2
openrisc
parisc parisc: Implement __smp_store_release and __smp_load_acquire barriers 2020-08-19 08:16:26 +02:00
powerpc powerpc/boot: Fix CONFIG_PPC_MPC52XX references 2020-08-19 08:16:17 +02:00
riscv RISC-V: Set maximum number of mapped pages correctly 2020-08-05 09:59:51 +02:00
s390 s390/gmap: improve THP splitting 2020-08-19 08:16:29 +02:00
sh sh: Fix validation of system call number 2020-08-05 09:59:46 +02:00
sparc scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
um
unicore32
x86 genirq/affinity: Make affinity setting if activated opt-in 2020-08-21 13:05:20 +02:00
xtensa xtensa: add missing exclusive access state management 2020-08-21 13:05:24 +02:00
.gitignore
Kconfig