]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/radix: Add tlbflush routines
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:26:05 +0000 (23:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 May 2016 08:33:09 +0000 (18:33 +1000)
commitc843caf99663c9e4ec35dee09a447ab9dba5572a
tree3cab56eaa3a25ff717b38f4a712d430b48a78fb3
parent9a34479b90eabf9092b5bf9b193c5f67c4065279
powerpc/mm/radix: Add tlbflush routines

Core kernel doesn't track the page size of the VA range that we are
invalidating. Hence we end up flushing TLB for the entire mm here. Later
patches will improve this.

We also don't flush page walk cache separetly instead use RIC=2 when
flushing TLB, because we do a MMU gather flush after freeing page table.

MMU_NO_CONTEXT is updated for hash.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/include/asm/book3s/64/tlbflush-hash.h
arch/powerpc/include/asm/book3s/64/tlbflush-radix.h [new file with mode: 0644]
arch/powerpc/include/asm/book3s/64/tlbflush.h
arch/powerpc/include/asm/tlbflush.h
arch/powerpc/kernel/mce_power.c
arch/powerpc/mm/Makefile
arch/powerpc/mm/tlb-radix.c [new file with mode: 0644]