Lines Matching refs:arch
6 * Derived from arch/arm/kvm/reset.c
81 vcpu->arch.sve_max_vl = kvm_sve_max_vl;
95 * vcpu->arch.sve_state as necessary.
104 vl = vcpu->arch.sve_max_vl;
126 vcpu->arch.sve_state = buf;
157 void *sve_state = vcpu->arch.sve_state;
164 kfree(vcpu->arch.ccsidr);
170 memset(vcpu->arch.sve_state, 0, vcpu_sve_state_size(vcpu));
180 if (!test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) ||
181 !test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features) ||
214 spin_lock(&vcpu->arch.mp_state_lock);
215 reset_state = vcpu->arch.reset_state;
216 vcpu->arch.reset_state.reset = false;
217 spin_unlock(&vcpu->arch.mp_state_lock);
234 if (test_bit(KVM_ARM_VCPU_SVE, vcpu->arch.features)) {
243 if (test_bit(KVM_ARM_VCPU_PTRAUTH_ADDRESS, vcpu->arch.features) ||
244 test_bit(KVM_ARM_VCPU_PTRAUTH_GENERIC, vcpu->arch.features)) {
265 memset(&vcpu->arch.ctxt.fp_regs, 0, sizeof(vcpu->arch.ctxt.fp_regs));
266 vcpu->arch.ctxt.spsr_abt = 0;
267 vcpu->arch.ctxt.spsr_und = 0;
268 vcpu->arch.ctxt.spsr_irq = 0;
269 vcpu->arch.ctxt.spsr_fiq = 0;