Commit c31e74c4c34fa863393c28b95409aee934b4f8e1
Committed by
Linus Torvalds
1 parent
3b9c6c11f5
Exists in
master
and in
7 other branches
Documentation: DMA-API-HOWTO.txt: add multiple types of IOMMUs support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff
Documentation/DMA-API-HOWTO.txt
... | ... | @@ -753,6 +753,16 @@ |
753 | 753 | alignment constraints (e.g. the alignment constraints about 64-bit |
754 | 754 | objects). |
755 | 755 | |
756 | +3) Supporting multiple types of IOMMUs | |
757 | + | |
758 | + If your architecture needs to support multiple types of IOMMUs, you | |
759 | + can use include/linux/asm-generic/dma-mapping-common.h. It's a | |
760 | + library to support the DMA API with multiple types of IOMMUs. Lots | |
761 | + of architectures (x86, powerpc, sh, alpha, ia64, microblaze and | |
762 | + sparc) use it. Choose one to see how it can be used. If you need to | |
763 | + support multiple types of IOMMUs in a single system, the example of | |
764 | + x86 or powerpc helps. | |
765 | + | |
756 | 766 | Closing |
757 | 767 | |
758 | 768 | This document, and the API itself, would not be in its current |