tlb: mmu_gather: add tlb_flush_*_range APIs

commit 2631ed00b0498810f8d5c2163c6b5270d893687b upstream.

tlb_flush_{pte|pmd|pud|p4d}_range() adjust the tlb->start and
tlb->end, then set corresponding cleared_*.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Zhenyu Ye <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

This change is needed for the next commit.

BUG=b/208511162
TEST=presubmit
RELEASE_NOTE=None

Change-Id: If69113fc030f2e415b004728b2ece1eabc1e5db7
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/25825
Tested-by: Cusky Presubmit Bot <[email protected]>
Reviewed-by: Vaibhav Rustagi <[email protected]>
1 file changed