]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Use pasid_pte_is_present() helper function
authorLiu Yi L <yi.l.liu@intel.com>
Wed, 18 Aug 2021 13:48:51 +0000 (21:48 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 19 Aug 2021 08:41:08 +0000 (10:41 +0200)
commitda59709f726d0e566d60af6240990e3b37728868
treed5fe6762fcf2ac9e806b3269270d2c61c3d8d4b8
parent36c0c28ab5e3ec9f42d6ca9f9b0a8dd525806f97
iommu/vt-d: Use pasid_pte_is_present() helper function

Use the pasid_pte_is_present() helper for present bit check in the
intel_pasid_tear_down_entry().

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-9-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/pasid.c