AMD/IOMMU: don't leave page table mapped when unmapping ...
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:11:37 +0000 (15:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:11:37 +0000 (15:11 +0200)
commit301ea7a89d1a31fd1732d22b5eb3f78058fdd5dc
treeb2ea9f41f3fd5be53ed68a01b9dc982bf592cbed
parentda7254738899da02049dce79bde5af8c27df2481
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>
master commit: 3cfec6a6aa7a7bf68f8e19e21f450c2febe9acb4
master date: 2021-08-20 12:30:35 +0200
xen/drivers/passthrough/amd/iommu_map.c