Re: [RFC 08/11] powerpc: kvm: add a flag in vcore to sync primary with secondry hwthread

2014-10-26 Thread Preeti U Murthy
On 10/17/2014 12:59 AM, kernelf...@gmail.com wrote: > The secondary thread can only jump back to host until primary has set > up the env. Add host_ready field in kvm_vcore to sync this action. Do we need to do this? We already synchronize among the sibling threads when there is a need to enter the

[RFC 08/11] powerpc: kvm: add a flag in vcore to sync primary with secondry hwthread

2014-10-16 Thread kernelfans
The secondary thread can only jump back to host until primary has set up the env. Add host_ready field in kvm_vcore to sync this action. Signed-off-by: Liu Ping Fan --- arch/powerpc/include/asm/kvm_host.h | 3 +++ arch/powerpc/kernel/asm-offsets.c | 3 +++ arch/powerpc/kvm/book3s_hv_