arm64: tlb: Set the TTL field in flush_*_tlb_range
authorZhenyu Ye <yezhenyu2@huawei.com>
Thu, 25 Jun 2020 08:03:14 +0000 (16:03 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 7 Jul 2020 10:23:47 +0000 (11:23 +0100)
commita7ac1cfa4c0510217e74c2ba807ead549f80d82c
tree22599eecdb94e18de89f4903db5f621af4e80ad4
parentc4ab2cbc1d8768eb505708a58c54c277dfe4a93d
arm64: tlb: Set the TTL field in flush_*_tlb_range

This patch implement flush_{pmd|pud}_tlb_range() in arm64 by
calling __flush_tlb_range() with the corresponding stride and
tlb_level values.

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