android_kernel_xiaomi_sm8350/arch/powerpc/kvm
Hollis Blanchard b8fd68ac8d KVM: ppc: fix set regs to take care of msr change
When changing some msr bits e.g. problem state we need to take special
care of that. We call the function in our mtmsr emulation (not needed for
wrtee[i]), but we don't call kvmppc_set_msr if we change msr via set_regs
ioctl.
It's a corner case we never hit so far, but I assume it should be
kvmppc_set_msr in our arch set regs function (I found it because it is also
a corner case when using pv support which would miss the update otherwise).

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-12-31 16:52:23 +02:00
..
44x_emulate.c KVM: ppc: refactor instruction emulation into generic and core-specific pieces 2008-12-31 16:52:21 +02:00
44x_tlb.c KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessor 2008-12-31 16:52:22 +02:00
44x_tlb.h KVM: ppc: refactor instruction emulation into generic and core-specific pieces 2008-12-31 16:52:21 +02:00
44x.c KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessor 2008-12-31 16:52:22 +02:00
booke_interrupts.S KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessor 2008-12-31 16:52:22 +02:00
booke.c KVM: ppc: fix set regs to take care of msr change 2008-12-31 16:52:23 +02:00
booke.h KVM: ppc: refactor instruction emulation into generic and core-specific pieces 2008-12-31 16:52:21 +02:00
emulate.c KVM: ppc: adjust vcpu types to support 64-bit cores 2008-12-31 16:52:22 +02:00
Kconfig KVM: ppc: Refactor powerpc.c to relocate 440-specific code 2008-12-31 16:52:21 +02:00
Makefile KVM: ppc: refactor instruction emulation into generic and core-specific pieces 2008-12-31 16:52:21 +02:00
powerpc.c KVM: ppc: adjust vcpu types to support 64-bit cores 2008-12-31 16:52:22 +02:00