iommu: Add is_attach_deferred call-back to iommu-ops
authorBaoquan He <bhe@redhat.com>
Wed, 9 Aug 2017 08:33:40 +0000 (16:33 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 15 Aug 2017 16:14:39 +0000 (18:14 +0200)
commite01d1913b0d0817191418381a6fcebaa01abde2a
tree462e79ba6c2b8b9c590e392b8f4fbb508f52dc4b
parent53019a9e88cc14bae2780ba807faba87a5829891
iommu: Add is_attach_deferred call-back to iommu-ops

This new call-back will be used to check if the domain attach need be
deferred for now. If yes, the domain attach/detach will return directly.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h