Re: [PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-19 Thread Eric Auger
Hi Peter, On 10/18/22 23:56, Peter Xu wrote: > On Tue, Oct 18, 2022 at 05:08:19PM +0200, Eric Auger wrote: >> Hi Peter, >> >> On 10/18/22 16:25, Peter Xu wrote: >>> Hi, Eric, >>> >>> On Tue, Oct 18, 2022 at 02:28:52PM +0200, Eric Auger wrote: Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DE

Re: [PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-18 Thread Jason Wang
在 2022/10/19 05:56, Peter Xu 写道: On Tue, Oct 18, 2022 at 05:08:19PM +0200, Eric Auger wrote: Hi Peter, On 10/18/22 16:25, Peter Xu wrote: Hi, Eric, On Tue, Oct 18, 2022 at 02:28:52PM +0200, Eric Auger wrote: Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP IOMMUTLBNotificatio

Re: [PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-18 Thread Peter Xu
On Tue, Oct 18, 2022 at 05:08:19PM +0200, Eric Auger wrote: > Hi Peter, > > On 10/18/22 16:25, Peter Xu wrote: > > Hi, Eric, > > > > On Tue, Oct 18, 2022 at 02:28:52PM +0200, Eric Auger wrote: > >> Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP > >> IOMMUTLBNotificationType"), vhos

Re: [PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-18 Thread Eric Auger
Hi Peter, On 10/18/22 16:25, Peter Xu wrote: > Hi, Eric, > > On Tue, Oct 18, 2022 at 02:28:52PM +0200, Eric Auger wrote: >> Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP >> IOMMUTLBNotificationType"), vhost attempts to register DEVIOTLB_UNMAP >> notifier. This latter is supported

Re: [PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-18 Thread Peter Xu
Hi, Eric, On Tue, Oct 18, 2022 at 02:28:52PM +0200, Eric Auger wrote: > Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP > IOMMUTLBNotificationType"), vhost attempts to register DEVIOTLB_UNMAP > notifier. This latter is supported by the intel-iommu which supports > device-iotlb if th

[PATCH] vhost: Warn if DEVIOTLB_UNMAP is not supported and ats is set

2022-10-18 Thread Eric Auger
Since b68ba1ca5767 ("memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP IOMMUTLBNotificationType"), vhost attempts to register DEVIOTLB_UNMAP notifier. This latter is supported by the intel-iommu which supports device-iotlb if the corresponding option is set. Then 958ec334bca3 ("vhost: Unbreak SMMU and virt