iommu/vt-d: Allocate/register iopf queue for sva devices
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 10 Jun 2021 02:01:02 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jun 2021 07:06:13 +0000 (09:06 +0200)
commit4c82b88696ac57810ab923b3c5b0734646b9b69f
treea747b071c556bf3fead917c0661cdae44cdef532
parentae7f09b14b4ff18f65790a906d7c2fe2561568b5
iommu/vt-d: Allocate/register iopf queue for sva devices

This allocates and registers the iopf queue infrastructure for devices
which want to support IO page fault for SVA.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210520031531.712333-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20210610020115.1637656-11-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c
drivers/iommu/intel/svm.c
include/linux/intel-iommu.h