powerpc/hash64: Restrict page table lookup using init_mm with __flush_hash_table_range
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 5 May 2020 07:17:11 +0000 (12:47 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 May 2020 11:20:14 +0000 (21:20 +1000)
commit7900757ce1b4affda1591aa3fd073e27d202f406
treee204cd38b160313c5792109a299ebeec462a08a0
parentec4abf1e70cf6a3fe6e571d640260005c997c6e1
powerpc/hash64: Restrict page table lookup using init_mm with __flush_hash_table_range

This is only used with init_mm currently. Walking init_mm is much simpler
because we don't need to handle concurrent page table like other mm_context

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200505071729.54912-5-aneesh.kumar@linux.ibm.com
arch/powerpc/include/asm/book3s/64/tlbflush-hash.h
arch/powerpc/kernel/pci_64.c
arch/powerpc/mm/book3s64/hash_tlb.c