RE: [PATCH v9 5/8] remove remaining uses of iommu_legacy_map/unmap

2020-09-17 Thread Tian, Kevin
> From: Paul Durrant > Sent: Tuesday, September 15, 2020 4:30 PM > > From: Paul Durrant > > The 'legacy' functions do implicit flushing so amend the callers to do the > appropriate flushing. > > Unfortunately, because of the structure of the P2M code, we cannot remove > the per-CPU 'iommu_dont

Re: [PATCH v9 5/8] remove remaining uses of iommu_legacy_map/unmap

2020-09-16 Thread Julien Grall
Hi Paul, On 15/09/2020 09:29, Paul Durrant wrote: From: Paul Durrant The 'legacy' functions do implicit flushing so amend the callers to do the appropriate flushing. Unfortunately, because of the structure of the P2M code, we cannot remove the per-CPU 'iommu_dont_flush_iotlb' global and the o