Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-04-09 Thread Andrew Murray
On Thu, Mar 28, 2019 at 03:28:37PM +, Suzuki K Poulose wrote: > On 03/28/2019 10:37 AM, Andrew Murray wrote: > > The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is > > a typedef to kvm_cpu_context and is used to store host cpu context. The > > kvm_cpu_context structure i

Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-04-04 Thread Andrew Murray
On Thu, Apr 04, 2019 at 05:14:16PM +0100, Will Deacon wrote: > On Thu, Apr 04, 2019 at 05:09:58PM +0100, Will Deacon wrote: > > On Thu, Mar 28, 2019 at 10:37:25AM +, Andrew Murray wrote: > > > The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is > > > a typedef to kvm_cpu_

Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-04-04 Thread Will Deacon
On Thu, Apr 04, 2019 at 05:09:58PM +0100, Will Deacon wrote: > On Thu, Mar 28, 2019 at 10:37:25AM +, Andrew Murray wrote: > > The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is > > a typedef to kvm_cpu_context and is used to store host cpu context. The > > kvm_cpu_contex

Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-04-04 Thread Will Deacon
On Thu, Mar 28, 2019 at 10:37:25AM +, Andrew Murray wrote: > The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is > a typedef to kvm_cpu_context and is used to store host cpu context. The > kvm_cpu_context structure is also used elsewhere to hold vcpu context. > In order t

Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-03-28 Thread Suzuki K Poulose
On 03/28/2019 10:37 AM, Andrew Murray wrote: The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is a typedef to kvm_cpu_context and is used to store host cpu context. The kvm_cpu_context structure is also used elsewhere to hold vcpu context. In order to use the percpu to hold

[PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2019-03-28 Thread Andrew Murray
The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is a typedef to kvm_cpu_context and is used to store host cpu context. The kvm_cpu_context structure is also used elsewhere to hold vcpu context. In order to use the percpu to hold additional future host information we encapsul