Re: [PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-07-01 Thread Jacob Pan
On Wed, 1 Jul 2020 09:45:40 +0800 Lu Baolu wrote: > Hi Jacob, > > On 7/1/20 1:34 AM, Jacob Pan wrote: > > On Thu, 25 Jun 2020 18:10:43 +0800 > > Lu Baolu wrote: > > > >> Hi, > >> > >> On 2020/6/23 23:43, Jacob Pan wrote: > >>> For guest requested IOTLB invalidation, address and mask are >

Re: [PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-06-30 Thread Lu Baolu
Hi Jacob, On 7/1/20 1:34 AM, Jacob Pan wrote: On Thu, 25 Jun 2020 18:10:43 +0800 Lu Baolu wrote: Hi, On 2020/6/23 23:43, Jacob Pan wrote: For guest requested IOTLB invalidation, address and mask are provided as part of the invalidation data. VT-d HW silently ignores any address bits below t

Re: [PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-06-30 Thread Jacob Pan
On Thu, 25 Jun 2020 18:10:43 +0800 Lu Baolu wrote: > Hi, > > On 2020/6/23 23:43, Jacob Pan wrote: > > For guest requested IOTLB invalidation, address and mask are > > provided as part of the invalidation data. VT-d HW silently ignores > > any address bits below the mask. SW shall also allow such

Re: [PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-06-25 Thread Lu Baolu
Hi, On 2020/6/23 23:43, Jacob Pan wrote: For guest requested IOTLB invalidation, address and mask are provided as part of the invalidation data. VT-d HW silently ignores any address bits below the mask. SW shall also allow such case but give warning if address does not align with the mask. This

[PATCH 6/7] iommu/vt-d: Warn on out-of-range invalidation address

2020-06-23 Thread Jacob Pan
For guest requested IOTLB invalidation, address and mask are provided as part of the invalidation data. VT-d HW silently ignores any address bits below the mask. SW shall also allow such case but give warning if address does not align with the mask. This patch relax the fault handling from error to