On Fri, Jan 15, 2021 at 08:42:02AM +0800, Lu Baolu wrote: > The Access/Dirty bits in the first level page table entry will be set > whenever a page table entry was used for address translation or write > permission was successfully translated. This is always true when using > the first-level page table for kernel IOVA. Instead of wasting hardware > cycles to update the certain bits, it's better to set them up at the > beginning. > > Suggested-by: Ashok Raj <ashok....@intel.com> > Signed-off-by: Lu Baolu <baolu...@linux.intel.com> > --- > drivers/iommu/intel/iommu.c | 14 ++++++++++++-- > include/linux/intel-iommu.h | 2 ++ > 2 files changed, 14 insertions(+), 2 deletions(-)
Applied, thanks.