Re: [PATCH v3 07/15] KVM: arm64: Track value of cptr_el2 in struct kvm_vcpu_arch

2021-08-12 Thread Will Deacon
On Mon, Jul 19, 2021 at 05:03:38PM +0100, Fuad Tabba wrote: > Track the baseline guest value for cptr_el2 in struct > kvm_vcpu_arch, similar to the other registers that control traps. > Use this value when setting cptr_el2 for the guest. > > Currently this value is unchanged (CPTR_EL2_DEFAULT),

[PATCH v3 07/15] KVM: arm64: Track value of cptr_el2 in struct kvm_vcpu_arch

2021-07-19 Thread Fuad Tabba
Track the baseline guest value for cptr_el2 in struct kvm_vcpu_arch, similar to the other registers that control traps. Use this value when setting cptr_el2 for the guest. Currently this value is unchanged (CPTR_EL2_DEFAULT), but future patches will set trapping bits based on features supported