xen/arm: p2m: Rename p2m_flush_tlb and p2m_flush_tlb_sync
authorJulien Grall <julien.grall@linaro.org>
Tue, 12 Dec 2017 19:02:07 +0000 (19:02 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 12 Dec 2017 20:11:42 +0000 (12:11 -0800)
commita817299749c47a5247d9099b14fb829a65fb9dd9
treedbd9b707b0a3ad044544545e9b5be98385f2e547
parent92920865647bd344287f42705d13e01a29192ec1
xen/arm: p2m: Rename p2m_flush_tlb and p2m_flush_tlb_sync

Rename p2m_flush_tlb and p2m_flush_tlb_sync to respectively
p2m_tlb_flush and p2m_force_tlb_flush_sync.

At first glance, inverting 'flush' and 'tlb'  might seem pointless but
would be helpful in the future in order to get more easily some code ported
from x86 P2M or even to shared with.

For p2m_flush_tlb_sync, the 'force' was added because the TLBs are
flush unconditionally. A follow-up patch will add an helper to flush
TLBs only in certain cases.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c