Lines Matching refs:arch
137 return &vcpu->arch.ctxt.regs.regs[off]; in core_reg_addr()
140 return &vcpu->arch.ctxt.regs.sp; in core_reg_addr()
143 return &vcpu->arch.ctxt.regs.pc; in core_reg_addr()
146 return &vcpu->arch.ctxt.regs.pstate; in core_reg_addr()
149 return __ctxt_sys_reg(&vcpu->arch.ctxt, SP_EL1); in core_reg_addr()
152 return __ctxt_sys_reg(&vcpu->arch.ctxt, ELR_EL1); in core_reg_addr()
155 return __ctxt_sys_reg(&vcpu->arch.ctxt, SPSR_EL1); in core_reg_addr()
158 return &vcpu->arch.ctxt.spsr_abt; in core_reg_addr()
161 return &vcpu->arch.ctxt.spsr_und; in core_reg_addr()
164 return &vcpu->arch.ctxt.spsr_irq; in core_reg_addr()
167 return &vcpu->arch.ctxt.spsr_fiq; in core_reg_addr()
173 return &vcpu->arch.ctxt.fp_regs.vregs[off]; in core_reg_addr()
176 return &vcpu->arch.ctxt.fp_regs.fpsr; in core_reg_addr()
179 return &vcpu->arch.ctxt.fp_regs.fpcr; in core_reg_addr()
321 if (WARN_ON(!sve_vl_valid(vcpu->arch.sve_max_vl))) in get_sve_vls()
348 if (WARN_ON(vcpu->arch.sve_state)) in set_sve_vls()
378 vcpu->arch.sve_max_vl = sve_vl_from_vq(max_vq); in set_sve_vls()
503 if (copy_to_user(uptr, vcpu->arch.sve_state + region.koffset, in get_sve_reg()
529 if (copy_from_user(vcpu->arch.sve_state + region.koffset, uptr, in set_sve_reg()
818 events->exception.serror_pending = !!(vcpu->arch.hcr_el2 & HCR_VSE); in __kvm_arm_vcpu_get_events()
931 vcpu->arch.external_debug_state = dbg->arch; in kvm_arch_vcpu_ioctl_set_guest_debug()
951 mutex_lock(&vcpu->kvm->arch.config_lock); in kvm_arm_vcpu_arch_set_attr()
953 mutex_unlock(&vcpu->kvm->arch.config_lock); in kvm_arm_vcpu_arch_set_attr()