Message ID | 20220817012024.3251276-1-baolu.lu@linux.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | iommu: SVA and IOPF refactoring | expand |
On 2022/8/17 上午9:20, Lu Baolu wrote: > Hi folks, > > The former part of this series introduces the IOMMU interfaces to attach > or detach an iommu domain to/from a pasid of a device, and refactors the > exsiting IOMMU SVA implementation by assigning an SVA type of iommu > domain to a shared virtual address and replacing sva_bind/unbind iommu > ops with a set_dev_pasid domain ops. > > The latter part changes the existing I/O page fault handling framework > from only serving SVA to a generic one. Any driver or component could > handle the I/O page faults for its domain in its own way by installing > an I/O page fault handler. > > This series has been functionally tested on an x86 machine and compile > tested for all architectures. > > This series is also available on github: > [2] https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v11 > > Please review and suggest. Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org> On arm64 (Kunpeng920) with uacce. Thanks
On 2022/8/22 12:49, Zhangfei Gao wrote: > On 2022/8/17 上午9:20, Lu Baolu wrote: >> Hi folks, >> >> The former part of this series introduces the IOMMU interfaces to attach >> or detach an iommu domain to/from a pasid of a device, and refactors the >> exsiting IOMMU SVA implementation by assigning an SVA type of iommu >> domain to a shared virtual address and replacing sva_bind/unbind iommu >> ops with a set_dev_pasid domain ops. >> >> The latter part changes the existing I/O page fault handling framework >> from only serving SVA to a generic one. Any driver or component could >> handle the I/O page faults for its domain in its own way by installing >> an I/O page fault handler. >> >> This series has been functionally tested on an x86 machine and compile >> tested for all architectures. >> >> This series is also available on github: >> [2] >> https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v11 >> >> Please review and suggest. > Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org> > On arm64 (Kunpeng920) with uacce. Thank you very much! Best regards, baolu
On 2022/8/17 9:20, Lu Baolu wrote: > Hi folks, > > The former part of this series introduces the IOMMU interfaces to attach > or detach an iommu domain to/from a pasid of a device, and refactors the > exsiting IOMMU SVA implementation by assigning an SVA type of iommu > domain to a shared virtual address and replacing sva_bind/unbind iommu > ops with a set_dev_pasid domain ops. > > The latter part changes the existing I/O page fault handling framework > from only serving SVA to a generic one. Any driver or component could > handle the I/O page faults for its domain in its own way by installing > an I/O page fault handler. > > This series has been functionally tested on an x86 machine and compile > tested for all architectures. > > This series is also available on github: > [2]https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v11 > > Please review and suggest. Thank you all for review and test. I have updated this series and uploaded a new version at https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v12 Zhangfei and Tony have tested it on real Intel and arm64 hardware. I will soon post it for further review. Best regards, baolu