commit | 423d39d8518c1bba12e0889a92beeddbb1502392 | [log] [tgz] |
---|---|---|
author | Liu Yi L <yi.l.liu@intel.com> | Wed Aug 18 21:48:52 2021 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Aug 19 10:41:08 2021 +0200 |
tree | ef54fe6af710ec6ff82fc2f5da02c12e59b5c350 | |
parent | 8123b0b86855185357e4b12f29e327ba773fc58d [diff] |
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>