On 2021/1/8 下午10:52, Jean-Philippe Brucker wrote:
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. Signed-off-by: Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx> --- Cc: Arnd Bergmann <arnd@xxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx> Cc: Zhou Wang <wangzhou1@xxxxxxxxxxxxx>
Thanks Jean Acked-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>