Loading
iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking
mainline inclusion from mainline-v6.8-rc6 commit 1f0198fce68340e0da2d438f4ea9fc20d2c958da category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I938E2 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f0198fce68340e0da2d438f4ea9fc20d2c958da -------------------------------- Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the pasid entry when attaching a device to a nested domain if its parent has already enabled dirty tracking. Fixes: 111bf85c68f6 ("iommu/vt-d: Add helper to setup pasid nested translation") Signed-off-by:Yi Liu <yi.l.liu@intel.com> Reviewed-by:
Joao Martins <joao.m.martins@oracle.com> Link: https://lore.kernel.org/r/20240208091414.28133-1-yi.l.liu@intel.com Signed-off-by:
Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Joerg Roedel <jroedel@suse.de> Signed-off-by:
Jason Zeng <jason.zeng@intel.com>