xen/arm: page: Clarify the Xen TLBs helpers name
authorJulien Grall <julien.grall@arm.com>
Thu, 4 Apr 2019 17:26:51 +0000 (18:26 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 12 Jun 2019 15:13:36 +0000 (16:13 +0100)
commit0b6118ded4973add24858e6296b3f30cc64ee6a7
treee83119509823a68a1c043629f835374118015e0f
parent65948881d02fd593fa0fc07447919cf378d08390
xen/arm: page: Clarify the Xen TLBs helpers name

Now that we dropped flush_xen_text_tlb_local(), we have only one set of
helpers acting on Xen TLBs. There naming are quite confusing because the
TLB instructions used will act on both Data and Instruction TLBs.

Take the opportunity to rework the documentation which can be confusing
to read as they don't match the implementation. Note the mention about
the instruction cache maintenance has been removed because modifying
mapping does not require instruction cache maintenance.

Lastly, switch from unsigned long to vaddr_t as the function technically
deal with virtual address.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c
xen/include/asm-arm/arm32/page.h
xen/include/asm-arm/arm64/page.h
xen/include/asm-arm/page.h