linux/arch
Paul Burton 28cf752ffc UPSTREAM: MIPS: CM: Avoid per-core locking with CM3 & higher
CM3 provides a GCR_CL_OTHER register per VP, rather than only per core.
This means that we don't need to prevent other VPs within a core from
racing with code that makes use of the core-other register region.

Reduce locking overhead by demoting the per-core spinlock providing
protection for CM2.5 & lower to a per-CPU/per-VP spinlock for CM3 &
higher.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16193/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit 516db1c61f)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-03-05 21:56:13 +05:30
..
alpha BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
arc BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
arm BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
arm64 BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
avr32 BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
blackfin BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
c6x BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
cris BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
frv BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
h8300 BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
hexagon BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
ia64 BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
m32r BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
m68k BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
metag BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
microblaze BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
mips UPSTREAM: MIPS: CM: Avoid per-core locking with CM3 & higher 2018-03-05 21:56:13 +05:30
mn10300 BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
nios2 BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
openrisc BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
parisc BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
powerpc BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
s390 BACKPORT: s390: get rid of exit_thread() 2018-03-05 21:56:13 +05:30
score BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
sh BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
sparc BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
tile BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
um BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
unicore32 BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30
x86 BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
xtensa BACKPORT: exit_thread: accept a task parameter to be exited 2018-03-05 21:56:13 +05:30
.gitignore
Kconfig BACKPORT: exit_thread: remove empty bodies 2018-03-05 21:56:13 +05:30