]> xenbits.xensource.com Git - xen.git/commit
AMD/IOMMU: don't leave page table mapped when unmapping ...
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Aug 2021 10:30:35 +0000 (12:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Aug 2021 10:30:35 +0000 (12:30 +0200)
commit3cfec6a6aa7a7bf68f8e19e21f450c2febe9acb4
tree723dde0e01d85b4d8554edea1eff092971c23128
parent5ffd37db2ff6fecfaee5bb2ebdaaff1cfb54b1a2
AMD/IOMMU: don't leave page table mapped when unmapping ...

... an already not mapped page. With all other exit paths doing the
unmap, I have no idea how I managed to miss that aspect at the time.

Fixes: ad591454f069 ("AMD/IOMMU: don't needlessly trigger errors/crashes when unmapping a page")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/drivers/passthrough/amd/iommu_map.c