When -p2p is enabled, exerciser tests 901 and 902 are run additionally. Running test 902 causes 905 test to fail.
smmu_unmap was called outside of the function that enabed smmu_map. This was leading to the mappings to not be cleared and leading to consecutive tests depended on smmu to fail.
Moved smmu_unmap and smmu_map within the same function. This frees the mappings and and page tables created.