AMD/IOMMU: don't increase perms when splitting superpage
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Aug 2021 10:31:08 +0000 (12:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Aug 2021 10:31:08 +0000 (12:31 +0200)
commitb8238afd076189c1e1b459752f78e8639b5c2a3a
tree2e03c584bd763abb1c3b035ff7d3c1102a8487dc
parent3cfec6a6aa7a7bf68f8e19e21f450c2febe9acb4
AMD/IOMMU: don't increase perms when splitting superpage

The old (super)page's permissions ought to be propagated, rather than
blindly allowing both reads and writes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/drivers/passthrough/amd/iommu_map.c