diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2021-01-15 03:42:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-19 11:13:17 +0300 |
commit | 0160f627929c8b8b5efcd513e12ca014a5a99e35 (patch) | |
tree | e46e4e08382625e7094986f002488a6288f8f726 /drivers/hsi/Makefile | |
parent | a282b76166b13496967c70bd61ea8f03609d8a76 (diff) | |
download | linux-0160f627929c8b8b5efcd513e12ca014a5a99e35.tar.xz |
iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
commit a8ce9ebbecdfda3322bbcece6b3b25888217f8e3 upstream.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hsi/Makefile')
0 files changed, 0 insertions, 0 deletions