]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Revert "Release spinlocks using ordered store"
authorJohn David Anglin <dave.anglin@bell.net>
Tue, 6 Nov 2018 11:00:01 +0000 (12:00 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 6 Nov 2018 11:03:22 +0000 (12:03 +0100)
commit971cec5181729ab1c0bb762e8374eb556bd172a8
tree5968f43762711e2aa98d92e8775600ffe9b03a4f
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
parisc: Revert "Release spinlocks using ordered store"

This reverts commit fa41108a2b39fd6c3dc6065421467a1cec757c1e.

Unfortunately, this patch needs to be reverted.  We need the full sync
barrier and not the limited barrier provided by using an ordered store.
The sync ensures that all accesses and cache purge instructions that
follow the sync are performed after all such instructions prior the sync
instruction have completed executing.

The patch breaks the rwlock implementation in glibc.  This caused the
test-lock application in the libprelude testsuite to hang.  With the
change reverted, the test runs correctly and the libprelude package
builds successfully.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/spinlock.h
arch/parisc/kernel/syscall.S