xen/arm: mm: Remove set_pte_flags_on_range()
authorJulien Grall <julien.grall@arm.com>
Fri, 15 Mar 2019 21:19:43 +0000 (21:19 +0000)
committerJulien Grall <julien.grall@arm.com>
Sun, 16 Jun 2019 20:24:45 +0000 (21:24 +0100)
commit5911076a3e57aee5c84447882416246202818cd4
tree7efc4dc2aa496120756403d7177dea2f301a24b7
parent022387ee1ad34b6ac441ee805604ce9fec782517
xen/arm: mm: Remove set_pte_flags_on_range()

set_pte_flags_on_range() is yet another function that will open-code
update to a specific range in the Xen page-tables. It can be completely
dropped by using either modify_xen_mappings() or destroy_xen_mappings().

Note that modify_xen_mappings() will keep the field 'pxn' cleared for
the all the cases. This is because the field is RES0 for the stage-1
hypervisor as only a single VA range is supported (see D5.4.5 in
DDI0487D.b).

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