summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-09-02 18:29:28 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2019-09-05 07:22:40 +0300
commitfd13daea5f72605a0a7386ebedbb5ff2b2a48da4 (patch)
treee836591d82fdc331bc4bddbf11d1faba604d3aa7 /arch/powerpc/kvm
parent99161de3a283af59f2813da6cbdccc1d2784c7de (diff)
downloadlinux-fd13daea5f72605a0a7386ebedbb5ff2b2a48da4.tar.xz
powerpc/64s: make mmu_partition_table_set_entry TLB flush optional
No functional change. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190902152931.17840-4-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/book3s_hv_nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv_nested.c b/arch/powerpc/kvm/book3s_hv_nested.c
index b3316da2f13e..fff90f2c3de2 100644
--- a/arch/powerpc/kvm/book3s_hv_nested.c
+++ b/arch/powerpc/kvm/book3s_hv_nested.c
@@ -411,7 +411,7 @@ static void kvmhv_flush_lpid(unsigned int lpid)
void kvmhv_set_ptbl_entry(unsigned int lpid, u64 dw0, u64 dw1)
{
if (!kvmhv_on_pseries()) {
- mmu_partition_table_set_entry(lpid, dw0, dw1);
+ mmu_partition_table_set_entry(lpid, dw0, dw1, true);
return;
}