Files
linux/arch/mips
Paul Burton 68923cdc2e MIPS: CM: Add cluster & block args to mips_cm_lock_other()
With CM >= 3.5 we have the notion of multiple clusters & can access
their CM, CPC & GIC registers via the apporpriate redirect/other
register blocks. In order to allow for this introduce cluster & block
arguments to mips_cm_lock_other() which configures the redirect/other
region to point at the appropriate cluster, core, VP & register block.

Since we now have 4 arguments to mips_cm_lock_other() & a common use is
likely to be to target the cluster, core & VP corresponding to a
particular Linux CPU number we also add a new mips_cm_lock_other_cpu()
helper function which handles that without the caller needing to
manually pull out the cluster, core & VP numbers.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17013/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-08-30 00:57:27 +02:00
..
2016-10-06 17:31:02 +02:00
2017-08-29 15:21:54 +02:00
2017-08-29 15:21:50 +02:00
2016-08-03 08:16:30 +02:00
2017-01-25 02:51:11 +01:00
2017-08-29 15:21:50 +02:00
2017-08-04 11:23:58 -07:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:54 +02:00
2017-08-29 15:21:50 +02:00
2017-03-08 10:38:06 +01:00
2017-08-29 15:21:50 +02:00
2017-04-10 11:56:07 +02:00