kvm/ppc: Call trace_hardirqs_on before entry
Currently this is only being done on 64-bit. Rather than just move it out of the 64-bit ifdef, move it to kvm_lazy_ee_enable() so that it is consistent with lazy ee state, and so that we don't track more host code as interrupts-enabled than necessary. Rename kvm_lazy_ee_enable() to kvm_fix_ee_before_entry() to reflect that this function now has a role on 32-bit as well. Signed-off-by:Scott Wood <scottwood@freescale.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
Showing
- arch/powerpc/include/asm/kvm_ppc.h 8 additions, 3 deletionsarch/powerpc/include/asm/kvm_ppc.h
- arch/powerpc/kvm/book3s_pr.c 2 additions, 2 deletionsarch/powerpc/kvm/book3s_pr.c
- arch/powerpc/kvm/booke.c 2 additions, 2 deletionsarch/powerpc/kvm/booke.c
- arch/powerpc/kvm/powerpc.c 0 additions, 2 deletionsarch/powerpc/kvm/powerpc.c
Loading
Please register or sign in to comment