Re: [PATCH RFC 3/7] ARM64: KVM: Reset ID registers when creating the VCPUs

2017-01-28 Thread Andrew Jones
On Mon, Jan 16, 2017 at 05:33:30PM +0800, Shannon Zhao wrote: > From: Shannon Zhao > > Reset ID registers when creating the VCPUs and store the values per > VCPU. Also modify the get_invariant_sys_reg and set_invariant_sys_reg > to get/set the ID register from vcpu context. The patch does more t

[PATCH RFC 3/7] ARM64: KVM: Reset ID registers when creating the VCPUs

2017-01-16 Thread Shannon Zhao
From: Shannon Zhao Reset ID registers when creating the VCPUs and store the values per VCPU. Also modify the get_invariant_sys_reg and set_invariant_sys_reg to get/set the ID register from vcpu context. Signed-off-by: Shannon Zhao --- arch/arm64/include/asm/kvm_coproc.h | 1 + arch/arm64/kvm/