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), but future > patches will set trapping bits based on features supported for > the guest. > > No functional change intended. > > Signed-off-by: Fuad Tabba <tabba@xxxxxxxxxx> > --- > arch/arm64/include/asm/kvm_host.h | 1 + > arch/arm64/kvm/arm.c | 1 + > arch/arm64/kvm/hyp/nvhe/switch.c | 2 +- > 3 files changed, 3 insertions(+), 1 deletion(-) Acked-by: Will Deacon <will@xxxxxxxxxx> Will