arm64: tlb: Set the TTL field in flush_tlb_range
authorZhenyu Ye <yezhenyu2@huawei.com>
Thu, 25 Jun 2020 08:03:13 +0000 (16:03 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 7 Jul 2020 10:23:47 +0000 (11:23 +0100)
commitc4ab2cbc1d8768eb505708a58c54c277dfe4a93d
tree53e9dd2439479f75e0dc7c03c75048cd165d8803
parent2631ed00b0498810f8d5c2163c6b5270d893687b
arm64: tlb: Set the TTL field in flush_tlb_range

This patch uses the cleared_* in struct mmu_gather to set the
TTL field in flush_tlb_range().

Signed-off-by: Zhenyu Ye <yezhenyu2@huawei.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200625080314.230-6-yezhenyu2@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/tlb.h
arch/arm64/include/asm/tlbflush.h