Messages in this thread | | | Date | Thu, 28 Jan 2021 11:34:31 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 1/1] iommu/vt-d: Preset Access/Dirty bits for IOVA over FL |
| |
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.raj@intel.com> > Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> > --- > drivers/iommu/intel/iommu.c | 14 ++++++++++++-- > include/linux/intel-iommu.h | 2 ++ > 2 files changed, 14 insertions(+), 2 deletions(-)
Applied, thanks.
| |