FUJITA Tomonori 8fd524b355 x86: Kill bad_dma_address variable
This kills bad_dma_address variable, the old mechanism to enable
IOMMU drivers to make dma_mapping_error() work in IOMMU's
specific way.

bad_dma_address variable was introduced to enable IOMMU drivers
to make dma_mapping_error() work in IOMMU's specific way.
However, it can't handle systems that use both swiotlb and HW
IOMMU. SO we introduced dma_map_ops->mapping_error to solve that
case.

Intel VT-d, GART, and swiotlb already use
dma_map_ops->mapping_error. Calgary, AMD IOMMU, and nommu use
zero for an error dma address. This adds DMA_ERROR_CODE and
converts them to use it (as SPARC and POWER does).

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: muli@il.ibm.com
Cc: joerg.roedel@amd.com
LKML-Reference: <1258287594-8777-3-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-17 07:53:21 +01:00
..
2009-11-17 07:53:21 +01:00
2009-03-15 07:03:15 +01:00
2009-07-19 18:27:51 +02:00
2009-03-13 11:57:22 +01:00
2009-06-20 17:53:13 +02:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-07-11 10:17:08 +02:00
2009-08-31 11:09:40 +02:00
2009-08-31 11:09:40 +02:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2009-03-21 16:57:04 +05:30
2009-08-09 22:28:34 +02:00
2009-02-09 12:16:05 +01:00
2009-10-15 08:07:30 +02:00
2009-03-21 16:55:45 +05:30
2009-09-24 09:34:52 +09:30
2009-09-19 00:11:26 -04:00
2009-02-23 00:08:11 +01:00
2009-08-31 11:09:40 +02:00
2009-11-17 07:53:21 +01:00
2009-11-17 07:53:21 +01:00
2009-07-14 16:25:05 +02:00
2009-09-15 15:08:40 -04:00
2009-07-19 18:27:51 +02:00
2009-03-21 16:55:24 +05:30
2009-09-20 20:25:03 +02:00
2009-02-17 17:52:44 +01:00