diff options
author | Paul Burton <paul.burton@imgtec.com> | 2015-09-22 11:12:16 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-11-11 08:35:14 +0100 |
commit | 23d5de8efb9aed48074a72bf3d43841e1556ca42 (patch) | |
tree | f7f9b6fa12c31bd197fc2151c06ccd7cc39c8a6a /arch/arm64/crypto | |
parent | 252d6aa605fa05b559347d3ed0a4f11bbdf6d3d0 (diff) |
MIPS: CM: Introduce core-other locking functions
Introduce mips_cm_lock_other & mips_cm_unlock_other, mirroring the
existing CPC equivalents, in order to lock access from the current core
to another via the core-other GCR region. This hasn't been required in
the past but with CM3 the CPC starts using GCR_CL_OTHER rather than
CPC_CL_OTHER and this will be required for safety.
[ralf@linux-mips.org: Fix merge conflict.]
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/11207/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/arm64/crypto')
0 files changed, 0 insertions, 0 deletions