xen/arm: mm: Re-implement setup_frame_table_mappings() with map_pages_to_xen()
authorJulien Grall <julien.grall@arm.com>
Sat, 11 Jun 2022 11:27:41 +0000 (12:27 +0100)
committerJulien Grall <julien@xen.org>
Sat, 11 Jun 2022 11:29:06 +0000 (12:29 +0100)
commitc9a707df83aad17a6fcf2e8330ab3b5bead6fb8b
tree794af1165d1acc8fe8066499b93eca1a4fe86863
parent26a470875b7e6f52a2c172a26c1f9ee432ad8893
xen/arm: mm: Re-implement setup_frame_table_mappings() with map_pages_to_xen()

Now that map_pages_to_xen() has been extended to support 2MB mappings,
we can replace the create_mappings() call by map_pages_to_xen() call.

This has the advantage to remove the differences between 32-bit and
64-bit code.

Lastly remove create_mappings() as there is no more callers.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
Tested-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c