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)
committerJulien Grall <julien.grall@arm.com>
Wed, 12 Jun 2019 15:13:36 +0000 (16:13 +0100)
commita189ef027dbb7a3c0dfe566137f05c06d6685fb9
tree1e396d212c9e3d4c8ea1be3b89d8c0d7ced05667
parent721aa1ed1bad8feb572ed2701f89b7b6d7484f89
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>
xen/arch/arm/mm.c