Lines Matching refs:kvm_vcpu
80 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
96 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
122 static bool access_gic_sgi(struct kvm_vcpu *vcpu, in access_gic_sgi()
134 static bool trap_raz_wi(struct kvm_vcpu *vcpu, in trap_raz_wi()
144 static bool trap_oslsr_el1(struct kvm_vcpu *vcpu, in trap_oslsr_el1()
156 static bool trap_dbgauthstatus_el1(struct kvm_vcpu *vcpu, in trap_dbgauthstatus_el1()
197 static bool trap_debug_regs(struct kvm_vcpu *vcpu, in trap_debug_regs()
222 static inline void reg_to_dbg(struct kvm_vcpu *vcpu, in reg_to_dbg()
237 static inline void dbg_to_reg(struct kvm_vcpu *vcpu, in dbg_to_reg()
246 static inline bool trap_bvr(struct kvm_vcpu *vcpu, in trap_bvr()
262 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr()
272 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr()
282 static inline void reset_bvr(struct kvm_vcpu *vcpu, in reset_bvr()
288 static inline bool trap_bcr(struct kvm_vcpu *vcpu, in trap_bcr()
304 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr()
315 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr()
325 static inline void reset_bcr(struct kvm_vcpu *vcpu, in reset_bcr()
331 static inline bool trap_wvr(struct kvm_vcpu *vcpu, in trap_wvr()
348 static int set_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wvr()
358 static int get_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wvr()
368 static inline void reset_wvr(struct kvm_vcpu *vcpu, in reset_wvr()
374 static inline bool trap_wcr(struct kvm_vcpu *vcpu, in trap_wcr()
390 static int set_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wcr()
400 static int get_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wcr()
410 static inline void reset_wcr(struct kvm_vcpu *vcpu, in reset_wcr()
416 static void reset_amair_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_amair_el1()
424 static void reset_mpidr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_mpidr()
681 static bool trap_dbgidr(struct kvm_vcpu *vcpu, in trap_dbgidr()
700 static bool trap_debug32(struct kvm_vcpu *vcpu, in trap_debug32()
725 static inline bool trap_xvr(struct kvm_vcpu *vcpu, in trap_xvr()
969 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_cp14_load_store()
985 static int emulate_cp(struct kvm_vcpu *vcpu, in emulate_cp()
1019 static void unhandled_cp_access(struct kvm_vcpu *vcpu, in unhandled_cp_access()
1049 static int kvm_handle_cp_64(struct kvm_vcpu *vcpu, in kvm_handle_cp_64()
1101 static int kvm_handle_cp_32(struct kvm_vcpu *vcpu, in kvm_handle_cp_32()
1132 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_cp15_64()
1143 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_cp15_32()
1154 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_cp14_64()
1161 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_cp14_32()
1168 static int emulate_sys_reg(struct kvm_vcpu *vcpu, in emulate_sys_reg()
1205 static void reset_sys_reg_descs(struct kvm_vcpu *vcpu, in reset_sys_reg_descs()
1220 int kvm_handle_sys_reg(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_sys_reg()
1280 static const struct sys_reg_desc *index_to_sys_reg_desc(struct kvm_vcpu *vcpu, in index_to_sys_reg_desc()
1315 static void get_##reg(struct kvm_vcpu *v, \
1522 int kvm_arm_sys_reg_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in kvm_arm_sys_reg_get_reg()
1543 int kvm_arm_sys_reg_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in kvm_arm_sys_reg_set_reg()
1615 static int walk_sys_regs(struct kvm_vcpu *vcpu, u64 __user *uind) in walk_sys_regs()
1657 unsigned long kvm_arm_num_sys_reg_descs(struct kvm_vcpu *vcpu) in kvm_arm_num_sys_reg_descs()
1664 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_sys_reg_indices()
1741 void kvm_reset_sys_regs(struct kvm_vcpu *vcpu) in kvm_reset_sys_regs()