diff options
| author | Lennert Buytenhek <[email protected]> | 2007-03-31 11:03:20 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2007-04-01 21:38:36 +0000 |
| commit | 398e692fd5cecdd25d311b47bbae69f7bac3a3cb (patch) | |
| tree | f1852c28d9f9c47c4763607630ac3db1c91930d6 /arch/powerpc/sysdev/qe_lib/qe.c | |
| parent | [ARM] 4295/2: Fix error-handling in pxaficp_ir.c (version 2) (diff) | |
| download | kernel-398e692fd5cecdd25d311b47bbae69f7bac3a3cb.tar.gz kernel-398e692fd5cecdd25d311b47bbae69f7bac3a3cb.zip | |
[ARM] 4298/1: fix memory barriers for DMA coherent and SMP platforms
This patch:
- Switches mb/rmb/wmb back to being full-blown DMBs on ARM SMP systems,
since mb/rmb/wmb are required to order Normal memory accesses as well.
- Enables the use of DMB and ISB on XSC3 (which is an ARMv5TE ISA core
but conforms to the ARMv6 memory ordering model and supports the
various ARMv6 barriers.)
- Makes DMA coherent platforms (only ixp23xx at the moment) map
mb/rmb/wmb to dmb(), as on DMA coherent platforms, DMA consistent
mappings are done as Normal mappings, which are weakly ordered.
Signed-off-by: Lennert Buytenhek <[email protected]>
Acked-by: David Howells <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Dan Williams <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib/qe.c')
0 files changed, 0 insertions, 0 deletions
