xen/arm: mm: Flush the TLBs even if a mapping failed in create_xen_entries
authorJulien Grall <julien.grall@arm.com>
Mon, 18 Mar 2019 18:01:31 +0000 (18:01 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 29 Oct 2019 18:39:20 +0000 (11:39 -0700)
commitaebe0554e9ac4e5addb0d3cf25bd51af7dd61821
treea5c1bbce50ac8e226249e4af377f986b3b9a0245
parentd6d52bc5ab9e3b31ad54f6f215d55d338d35dec5
xen/arm: mm: Flush the TLBs even if a mapping failed in create_xen_entries

At the moment, create_xen_entries will only flush the TLBs if the full
range has successfully been updated. This may lead to leave unwanted
entries in the TLBs if we fail to update some entries.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit a189ef027dbb7a3c0dfe566137f05c06d6685fb9)
xen/arch/arm/mm.c