]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Handle migration with POWER9 disabled DAWR
authorMichael Neuling <mikey@neuling.org>
Tue, 27 Mar 2018 04:37:22 +0000 (15:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Mar 2018 12:55:33 +0000 (23:55 +1100)
commit808399f95ef84a9e21f5d898b52826723fa49b09
tree7d1606464bfd82be58b5ba3ca74b06640aae94a3
parent880d35acaa5bbe5e4f52db8c7157eef3e389194c
KVM: PPC: Book3S HV: Handle migration with POWER9 disabled DAWR

POWER9 with the DAWR disabled causes problems for partition
migration. Either we have to fail the migration (since we lose the
DAWR) or we silently drop the DAWR and allow the migration to pass.

This patch does the latter and allows the migration to pass (at the
cost of silently losing the DAWR). This is not ideal but hopefully the
best overall solution. This approach has been acked by Paulus.

With this patch kvmppc_set_one_reg() will store the DAWR in the vcpu
but won't actually set it on POWER9 hardware.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_hv_rmhandlers.S