MIPS: CM: make use of mips_cm_{lock,unlock}_other
authorPaul Burton <[email protected]>
Tue, 22 Sep 2015 18:12:17 +0000 (11:12 -0700)
committerRalf Baechle <[email protected]>
Wed, 11 Nov 2015 07:35:17 +0000 (08:35 +0100)
commit4ede31617056b7424eef28dce59dd6dbe81729c3
tree7af053385ec81260b55abb4306231bb4daa0367a
parent23d5de8efb9aed48074a72bf3d43841e1556ca42
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 <[email protected]>
Cc: [email protected]
Cc: Rusty Russell <[email protected]>
Cc: Andrew Bresticker <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Cc: Niklas Cassel <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Cc: Markos Chandras <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/11208/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/include/asm/mips-cpc.h
arch/mips/kernel/smp-cps.c
arch/mips/kernel/smp-gic.c