diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2021-04-01 17:47:14 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-04-07 10:54:29 +0200 |
commit | 0860788df74085a5e14c1702610b2977fd9aac5e (patch) | |
tree | 887c447099af5333f7febe4f73e5ce0756ddcfc9 /drivers/iommu/io-pgfault.c | |
parent | iommu/vt-d: Support IOMMU_DEV_FEAT_IOPF (diff) | |
download | linux-0860788df74085a5e14c1702610b2977fd9aac5e.tar.xz linux-0860788df74085a5e14c1702610b2977fd9aac5e.zip |
uacce: Enable IOMMU_DEV_FEAT_IOPF
The IOPF (I/O Page Fault) feature is now enabled independently from the
SVA feature, because some IOPF implementations are device-specific and
do not require IOMMU support for PCIe PRI or Arm SMMU stall.
Enable IOPF unconditionally when enabling SVA for now. In the future, if
a device driver implementing a uacce interface doesn't need IOPF
support, it will need to tell the uacce module, for example with a new
flag.
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20210401154718.307519-6-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/io-pgfault.c')
0 files changed, 0 insertions, 0 deletions