Re: [PATCH 3/4] iommu/amd: Do not sync on page size changes

2021-06-01 Thread Nadav Amit
> On Jun 1, 2021, at 10:27 AM, Robin Murphy wrote: > > On 2021-06-01 17:39, Nadav Amit wrote: >>> On Jun 1, 2021, at 8:59 AM, Robin Murphy wrote: >>> >>> On 2021-05-02 07:59, Nadav Amit wrote: From: Nadav Amit Some IOMMU architectures perform invalidations regardless of the page

Re: [PATCH 3/4] iommu/amd: Do not sync on page size changes

2021-06-01 Thread Robin Murphy
On 2021-06-01 17:39, Nadav Amit wrote: On Jun 1, 2021, at 8:59 AM, Robin Murphy wrote: On 2021-05-02 07:59, Nadav Amit wrote: From: Nadav Amit Some IOMMU architectures perform invalidations regardless of the page size. In such architectures there is no need to sync when the page size

Re: [PATCH 3/4] iommu/amd: Do not sync on page size changes

2021-06-01 Thread Nadav Amit
> On Jun 1, 2021, at 8:59 AM, Robin Murphy wrote: > > On 2021-05-02 07:59, Nadav Amit wrote: >> From: Nadav Amit >> Some IOMMU architectures perform invalidations regardless of the page >> size. In such architectures there is no need to sync when the page size >> changes or to regard pgsize

Re: [PATCH 3/4] iommu/amd: Do not sync on page size changes

2021-06-01 Thread Robin Murphy
On 2021-05-02 07:59, Nadav Amit wrote: From: Nadav Amit Some IOMMU architectures perform invalidations regardless of the page size. In such architectures there is no need to sync when the page size changes or to regard pgsize when making interim flush in iommu_iotlb_gather_add_page(). Add a