Re: [PATCH v2] KVM/x86: Move definition of __ex to x86.h

2020-12-21 Thread Sean Christopherson
On Mon, Dec 21, 2020, Uros Bizjak wrote: > On Mon, Dec 21, 2020 at 7:19 PM Sean Christopherson wrote: > > > > On Sun, Dec 20, 2020, Uros Bizjak wrote: > > > Merge __kvm_handle_fault_on_reboot with its sole user > > > > There's also a comment in vmx.c above kvm_cpu_vmxoff() that should be > > upda

Re: [PATCH v2] KVM/x86: Move definition of __ex to x86.h

2020-12-21 Thread Uros Bizjak
On Mon, Dec 21, 2020 at 7:57 PM Uros Bizjak wrote: > > On Mon, Dec 21, 2020 at 7:19 PM Sean Christopherson wrote: > > > > On Sun, Dec 20, 2020, Uros Bizjak wrote: > > > Merge __kvm_handle_fault_on_reboot with its sole user > > > > There's also a comment in vmx.c above kvm_cpu_vmxoff() that should

Re: [PATCH v2] KVM/x86: Move definition of __ex to x86.h

2020-12-21 Thread Uros Bizjak
On Mon, Dec 21, 2020 at 7:19 PM Sean Christopherson wrote: > > On Sun, Dec 20, 2020, Uros Bizjak wrote: > > Merge __kvm_handle_fault_on_reboot with its sole user > > There's also a comment in vmx.c above kvm_cpu_vmxoff() that should be updated. > Alternatively, and probably preferably for me, what

Re: [PATCH v2] KVM/x86: Move definition of __ex to x86.h

2020-12-21 Thread Sean Christopherson
On Sun, Dec 20, 2020, Uros Bizjak wrote: > Merge __kvm_handle_fault_on_reboot with its sole user There's also a comment in vmx.c above kvm_cpu_vmxoff() that should be updated. Alternatively, and probably preferably for me, what about keeping the long __kvm_handle_fault_on_reboot() name for the mac

[PATCH v2] KVM/x86: Move definition of __ex to x86.h

2020-12-20 Thread Uros Bizjak
Merge __kvm_handle_fault_on_reboot with its sole user and move the definition of __ex to a common include to be shared between VMX and SVM. v2: Rebase to latest kvm/queue. Cc: Paolo Bonzini Cc: Sean Christopherson Signed-off-by: Uros Bizjak Reviewed-by: Krish Sadhukhan --- arch/x86/include/a