]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit86d4d068df573a8c2105554624796c086d6bec3d
tree5968f43762711e2aa98d92e8775600ffe9b03a4f
parent651022382c7f8da46cb4872a545ee1da6d097d2a
parisc: Revert "Release spinlocks using ordered store"

This reverts commit d27dfa13b9f77ae7e6ed09d70a0426ed26c1a8f9.

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