powerpc/mm/radix: implement LPID based TLB flushes to be used by KVM
authorNicholas Piggin <npiggin@gmail.com>
Wed, 9 May 2018 02:20:18 +0000 (12:20 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 May 2018 01:13:29 +0000 (11:13 +1000)
commit0078778a86b14f85bf50e96d9ddeb3b70b55805d
treeb94da9bda126c106241918d4056cb9579bf1c119
parent21828c99ee91bec94c3d2c32b3d5562ffdea980a
powerpc/mm/radix: implement LPID based TLB flushes to be used by KVM

Implement a local TLB flush for invalidating an LPID with variants for
process or partition scope. And a global TLB flush for invalidating
a partition scoped page of an LPID.

These will be used by KVM in subsequent patches.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
arch/powerpc/mm/tlb-radix.c