aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorLiu Yi L <yi.l.liu@intel.com>2021-08-18 21:48:52 +0800
committerJoerg Roedel <jroedel@suse.de>2021-08-19 10:41:08 +0200
commit423d39d8518c1bba12e0889a92beeddbb1502392 (patch)
treeef54fe6af710ec6ff82fc2f5da02c12e59b5c350 /drivers/iommu/iommu.c
parentiommu/vt-d: Use pasid_pte_is_present() helper function (diff)
downloadlinux-dev-423d39d8518c1bba12e0889a92beeddbb1502392.tar.xz
linux-dev-423d39d8518c1bba12e0889a92beeddbb1502392.zip
iommu/vt-d: Add present bit check in pasid entry setup helpers
The helper functions should not modify the pasid entries which are still in use. Add a check against present bit. Signed-off-by: Liu Yi L <yi.l.liu@intel.com> Link: https://lore.kernel.org/r/20210817042425.1784279-1-yi.l.liu@intel.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20210818134852.1847070-10-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions