]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tlb: Adjust stride and type of TLBI according to mmu_gather
authorWill Deacon <will.deacon@arm.com>
Thu, 23 Aug 2018 20:08:31 +0000 (21:08 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 11 Sep 2018 15:49:12 +0000 (16:49 +0100)
commita3e2d344025f5a5532e6b26adec2a6599f9c700c
treeb7c178fc74a523baebd56b344941cc08b606acb5
parentf6f04a0dfc946b5084e1b4c3c3d40d42435c868a
arm64: tlb: Adjust stride and type of TLBI according to mmu_gather

Now that the core mmu_gather code keeps track of both the levels of page
table cleared and also whether or not these entries correspond to
intermediate entries, we can use this in our tlb_flush() callback to
reduce the number of invalidations we issue as well as their scope.

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/tlb.h