]> xenbits.xensource.com Git - xen.git/commit
x86/p2m-pt: tighten conditions of IOMMU mapping updates
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Oct 2015 09:38:44 +0000 (11:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Oct 2015 09:38:44 +0000 (11:38 +0200)
commitdb0f474646878b0e91fd14f53eec6adcacc4b5ba
tree0ff380d661a7d6a7d984d61c93f0b8356248a87a
parent2b58d7b1bd95c8b7d7197f15b271c8bac8c41bca
x86/p2m-pt: tighten conditions of IOMMU mapping updates

Whether the MFN changes does not depend on the new entry being valid
(but solely on the old one), and the need to update or TLB-flush also
depends on permission changes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
master commit: 660fd65d5578a95ec5eac522128bba23325179eb
master date: 2015-10-02 13:40:36 +0200
xen/arch/x86/mm/p2m-pt.c