OSDN Git Service

iommu/iommu-debug: Add functional test for ARM DMA IOMMU mapper
authorMitchel Humpherys <mitchelh@codeaurora.org>
Wed, 16 Dec 2015 02:45:57 +0000 (18:45 -0800)
committerJeevan Shriram <jshriram@codeaurora.org>
Sat, 21 May 2016 02:24:02 +0000 (19:24 -0700)
commit6d871ad17d4738291d03e19ed4896ea4f4807bc7
treeb099fc7333a427a0ee44d8efc269512e3f3fcac7
parent2f53f9331b5e5e3576a664853956ada2eabc9f04
iommu/iommu-debug: Add functional test for ARM DMA IOMMU mapper

The vanilla ARM DMA IOMMU mapper is used by many clients in our system,
but we have no functional test coverage of it.  Add some functional
testing for it by leveraging the tests that were recently added for the
Fast DMA mapper.  Since the Fast mapper and the ARM mapper are both DMA
API implementations we can share most of the code.

CRs-Fixed: 997751
Change-Id: I58734a82f4dc3e4658ab7995b6682205097da991
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/iommu-debug.c