linux/arch/mips/lantiq
Hauke Mehrtens 98e58b01e1 MIPS: Lantiq: Lock DMA register accesses for SMP
The DMA controller channel and port configuration is changed by
selecting the port or channel in one register and then update the
configuration in other registers. This has to be done in an atomic
operation. Previously only the local interrupts were deactivated which
works for single CPU systems. If the system supports SMP a better
locking is needed, use spinlocks instead.
On more recent SoCs (at least xrx200 and later) there are two memory
regions to change the configuration, there we could use one area for
each CPU and do not have to synchronize between the CPUs and more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: john@phrozen.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14912/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-25 02:51:12 +01:00
..
falcon MIPS: Lantiq: Fix mask of GPE frequency 2016-12-11 11:20:25 +01:00
xway MIPS: Lantiq: Lock DMA register accesses for SMP 2017-01-25 02:51:12 +01:00
clk.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
clk.h MIPS: Change my email address 2016-05-13 14:02:18 +02:00
early_printk.c MIPS: Change my email address 2016-05-13 14:02:18 +02:00
irq.c Merge branch '4.7-fixes' into mips-for-linux-next 2016-08-03 12:55:49 +02:00
Kconfig MIPS: Lantiq: Make it possible to build in no device tree 2016-05-13 14:01:44 +02:00
Makefile MIPS: Change my email address 2016-05-13 14:02:18 +02:00
Platform MIPS: lantiq: implement support for FALCON soc 2012-05-21 14:31:55 +01:00
prom.c MIPS: store the appended dtb address in a variable 2016-08-02 14:00:16 +02:00
prom.h MIPS: Change my email address 2016-05-13 14:02:18 +02:00