2010-07-29 10:47:56

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -mm 0/2] Documentation: DMA API updates

The first patch adds the description of how to support multiple types
of IOMMUs (i.e. include/asm-generic/dma-mapping-common.h).

The second patch adds PCI DMA unamp state API to
feature-removal-schedule.txt. It was replaced with the DMA unamp state
API (which can be used for any bus). There is no users of PCI DMA
unamp state API in linux-next. August 2012 is long enough, I suppose.

=
Documentation/DMA-API-HOWTO.txt | 10 ++++++++++
Documentation/feature-removal-schedule.txt | 9 +++++++++
2 files changed, 19 insertions(+), 0 deletions(-)


2010-07-29 10:48:01

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -mm 2/2] PCI: add PCI DMA unamp state API to feature-removal-schedule.txt

It was replaced with the DMA unamp state API (which can be used for
any bus).

Signed-off-by: FUJITA Tomonori <[email protected]>
---
Documentation/feature-removal-schedule.txt | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 887c668..23a8f8d 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -532,3 +532,12 @@ Why: superseded by acpi_sleep=nonvs
Who: Rafael J. Wysocki <[email protected]>

----------------------------
+
+What: PCI DMA unmap state API
+When: August 2012
+Why: PCI DMA unmap state API (include/linux/pci-dma.h) was replaced
+ with DMA unmap state API (DMA unmap state API can be used for
+ any bus).
+Who: FUJITA Tomonori <[email protected]>
+
+----------------------------
--
1.6.5

2010-07-29 10:47:54

by FUJITA Tomonori

[permalink] [raw]
Subject: [PATCH -mm 1/2] Documentation: DMA-API-HOWTO.txt: add multiple types of IOMMUs support

Signed-off-by: FUJITA Tomonori <[email protected]>
---
Documentation/DMA-API-HOWTO.txt | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt
index 98ce517..3c4e071 100644
--- a/Documentation/DMA-API-HOWTO.txt
+++ b/Documentation/DMA-API-HOWTO.txt
@@ -753,6 +753,16 @@ to "Closing".
alignment constraints (e.g. the alignment constraints about 64-bit
objects).

+3) Supporting multiple types of IOMMUs
+
+ If your architecture needs to support multiple types of IOMMUs, you
+ can use include/linux/asm-generic/dma-mapping-common.h. It's a
+ library to support the DMA API with multiple types of IOMMUs. Lots
+ of architectures (x86, powerpc, sh, alpha, ia64, microblaze and
+ sparc) use it. Choose one to see how it can be used. If you need to
+ support multiple types of IOMMUs in a single system, the example of
+ x86 or powerpc helps.
+
Closing

This document, and the API itself, would not be in its current
--
1.6.5