UPSTREAM: asm-generic/tlb: Track freeing of page-table directories in struct mmu_gather
Some architectures require different TLB invalidation instructions depending on whether it is only the last-level of page table being changed, or whether there are also changes to the intermediate (directory) entries higher up the tree. Add a new bit to the flags bitfield in struct mmu_gather so that the architecture code can operate accordingly if it's the intermediate levels being invalidated. Acked-by:Nicholas Piggin <npiggin@gmail.com> Change-Id: I9a19a09e1ddff1e2386a29fe1392b0cb0de9cfe7 Signed-off-by:
Peter Zijlstra <peterz@infradead.org> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Cyber Knight <cyberknight755@gmail.com>
Loading
Please register or sign in to comment