diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-02-01 16:09:44 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-02-13 22:37:47 +1100 |
commit | 62e984ddfd6b056d399e24113f5e6a7145e579d8 (patch) | |
tree | 96b59e03b4875886bff664533fc3cc32897b291c /arch/powerpc/include/asm/book3s | |
parent | b00b62898631b756c3e123542bbb0487aa343dd9 (diff) | |
download | op-kernel-dev-62e984ddfd6b056d399e24113f5e6a7145e579d8.zip op-kernel-dev-62e984ddfd6b056d399e24113f5e6a7145e579d8.tar.gz |
powerpc/mm: Flush radix process translations when setting MMU type
Radix guests do normally invalidate process-scoped translations when a
new pid is allocated but migrated guests do not invalidate these so
migrated guests crash sometime, especially easy to reproduce with
migration happening within first 10 seconds after the guest boot start
on the same machine.
This adds the "Invalidate process-scoped translations" flush to fix
radix guests migration.
Fixes: 2ee13be34b13 ("KVM: PPC: Book3S HV: Update kvmppc_set_arch_compat() for ISA v3.00")
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/book3s')
0 files changed, 0 insertions, 0 deletions