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

2023-01-28 Thread Jason Wang
On Fri, Jan 27, 2023 at 9:17 PM Michael S. Tsirkin wrote: > > On Mon, Jan 16, 2023 at 03:06:44PM +0800, Jason Wang wrote: > > On Mon, Jan 16, 2023 at 7:30 AM Viktor Prutyanov wrote: > > > > > > On Tue, Nov 29, 2022 at 11:10 AM Jason Wang wrote: > > > > > > > > Hi All: > > > > > > > > According

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

2023-01-27 Thread Michael S. Tsirkin
On Mon, Jan 16, 2023 at 03:06:44PM +0800, Jason Wang wrote: > On Mon, Jan 16, 2023 at 7:30 AM Viktor Prutyanov wrote: > > > > On Tue, Nov 29, 2022 at 11:10 AM Jason Wang wrote: > > > > > > Hi All: > > > > > > According to ATS, device should work if ATS is disabled. This is not > > > correctly

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

2023-01-15 Thread Jason Wang
On Mon, Jan 16, 2023 at 7:30 AM Viktor Prutyanov wrote: > > On Tue, Nov 29, 2022 at 11:10 AM 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

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

2023-01-15 Thread Viktor Prutyanov
On Tue, Nov 29, 2022 at 11:10 AM 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. > >

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

2022-12-20 Thread Jason Wang
On Tue, Dec 20, 2022 at 9:53 PM Michael S. Tsirkin wrote: > > On Tue, Nov 29, 2022 at 04:10:34PM +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

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

2022-12-20 Thread Michael S. Tsirkin
On Tue, Nov 29, 2022 at 04:10:34PM +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

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

2022-12-01 Thread Jason Wang
On Thu, Dec 1, 2022 at 12:38 AM Michael S. Tsirkin wrote: > > On Tue, Nov 29, 2022 at 04:10:34PM +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

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

2022-11-30 Thread Michael S. Tsirkin
On Tue, Nov 29, 2022 at 04:10:34PM +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

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

2022-11-29 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