Re: [PATCH 1/2] KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()

2021-10-17 Thread Michael Ellerman
On Sat, 16 Oct 2021 00:39:28 +1100, Michael Ellerman wrote: > In commit 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in > C") kvm_start_guest() became idle_kvm_start_guest(). The old code > allocated a stack frame on the emergency stack, but didn't use the > frame to store anything, and

[PATCH 1/2] KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()

2021-10-15 Thread Michael Ellerman
In commit 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C") kvm_start_guest() became idle_kvm_start_guest(). The old code allocated a stack frame on the emergency stack, but didn't use the frame to store anything, and also didn't store anything in its caller's frame. idle_kvm_start_g