xen/arm: mm: Rework xen_pt_update_entry to avoid use xenmap_operation
authorJulien Grall <julien.grall@arm.com>
Sat, 23 Mar 2019 11:44:44 +0000 (11:44 +0000)
committerJulien Grall <julien.grall@arm.com>
Sun, 16 Jun 2019 20:24:45 +0000 (21:24 +0100)
commit77c165fda6bc91eb9e1526e8315adb2d087b68cb
tree660892122a4e78b7d22e96e2604d1b0517155c45
parent9cc0618eb09816b166993a62e0d77c4edde6a355
xen/arm: mm: Rework xen_pt_update_entry to avoid use xenmap_operation

With the newly introduced flags, it is now possible to know how the page
will be updated through the flags.

All the use of xenmap_operation are now replaced with the flags. At the
same time, validity check are now removed as they are gathered in
xen_pt_check_entry().

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