]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: CM: make use of mips_cm_{lock,unlock}_other
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 18:12:17 +0000 (11:12 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:51 +0000 (09:49 +0100)
commit946932907c387ea32ec7eef674fa9c4182efc04c
tree7aaa897c5ac0fdb7d04fb43a80d3cb3caff6ec36
parent3e76da1169f87d95cf16df688e0ec3c817b45b9b
MIPS: CM: make use of mips_cm_{lock,unlock}_other

Document that CPC core-other accesses must take place within the bounds
of the CM lock, and begin using the CM lock functions where we access
the GCRs of other cores. This is required because with CM3 the CPC began
using GCR_CL_OTHER instead of CPC_CL_OTHER.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-kernel@vger.kernel.org
Cc: Niklas Cassel <niklas.cassel@axis.com>
Cc: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/11208/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cpc.h
arch/mips/kernel/smp-cps.c
arch/mips/kernel/smp-gic.c