Loading
arm64: mm: Push __TLBI_VADDR() into __tlbi_level()
The __TLBI_VADDR() macro takes an ASID and an address and converts them into a single argument formatted correctly for a TLB invalidation instruction. Rather than have callers worry about this (especially in the case where the ASID is zero), push the macro down into __tlbi_level() via a new __tlbi_level_asid() helper. Signed-off-by:Will Deacon <will@kernel.org> Reviewed-by:
Linu Cherian <linu.cherian@arm.com> Reviewed-by:
Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by:
Ryan Roberts <ryan.roberts@arm.com> Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com>