[PATCH] x86_64: Calgary IOMMU - move valid_dma_direction into the callers