Re: [PATCH V2 0/5] Fix UNMAP notifier for intel-iommu

2023-02-23 Thread Jason Wang
On Thu, Feb 23, 2023 at 11:47 PM Peter Xu wrote: > > On Thu, Feb 23, 2023 at 02:59:19PM +0800, Jason Wang wrote: > > Hi All: > > > > According to ATS, device should work if ATS is disabled. This is not > > correctly implemented in the current intel-iommu since it doesn't > > handle the UNMAP notif

Re: [PATCH V2 0/5] Fix UNMAP notifier for intel-iommu

2023-02-23 Thread Peter Xu
On Thu, Feb 23, 2023 at 02:59:19PM +0800, Jason Wang wrote: > Hi All: > > According to ATS, device should work if ATS is disabled. This is not > correctly implemented in the current intel-iommu since it doesn't > handle the UNMAP notifier correctly. This breaks the vhost-net + > vIOMMU without dt.

[PATCH V2 0/5] Fix UNMAP notifier for intel-iommu

2023-02-22 Thread Jason Wang
Hi All: According to ATS, device should work if ATS is disabled. This is not correctly implemented in the current intel-iommu since it doesn't handle the UNMAP notifier correctly. This breaks the vhost-net + vIOMMU without dt. The root casue is that the when there's a device IOTLB miss (note that