linux_dsm_epyc7002/drivers/iommu/intel
Lu Baolu 416fa531c8 iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
[ Upstream commit a8ce9ebbecdfda3322bbcece6b3b25888217f8e3 ]

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>
Link: https://lore.kernel.org/r/20210115004202.953965-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:33 +02:00
..
debugfs.c iommu/vt-d: Rename intel-pasid.h to pasid.h 2020-07-24 10:51:21 +02:00
dmar.c iommu/vt-d: Correctly check addr alignment in qi_flush_dev_iotlb_pasid() 2021-02-03 23:28:50 +01:00
iommu.c iommu/vt-d: Preset Access/Dirty bits for IOVA over FL 2021-05-14 09:50:33 +02:00
irq_remapping.c iommu/intel: Fix memleak in intel_irq_remapping_alloc 2021-01-17 14:17:03 +01:00
Kconfig IOMMU Updates for Linux v5.9 2020-08-11 14:13:24 -07:00
Makefile iommu/vt-d: Move Kconfig and Makefile bits down into intel directory 2020-07-29 14:14:55 +02:00
pasid.c iommu/vt-d: Report right snoop capability when using FL for IOVA 2021-05-14 09:50:32 +02:00
pasid.h iommu/vt-d: Report right snoop capability when using FL for IOVA 2021-05-14 09:50:32 +02:00
svm.c iommu/vt-d: Report the right page fault address 2021-05-14 09:50:33 +02:00
trace.c iommu/vt-d: Move Intel IOMMU driver into subdirectory 2020-06-10 17:46:43 +02:00