Home
last modified time | relevance | path

Searched defs:vcpu (Results 1 – 25 of 127) sorted by relevance

123456

/arch/arm64/include/asm/
Dkvm_emulate.h45 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
54 static inline unsigned long vcpu_get_hcr(struct kvm_vcpu *vcpu) in vcpu_get_hcr()
59 static inline void vcpu_set_hcr(struct kvm_vcpu *vcpu, unsigned long hcr) in vcpu_set_hcr()
64 static inline unsigned long *vcpu_pc(const struct kvm_vcpu *vcpu) in vcpu_pc()
69 static inline unsigned long *vcpu_elr_el1(const struct kvm_vcpu *vcpu) in vcpu_elr_el1()
74 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr()
79 static inline bool vcpu_mode_is_32bit(const struct kvm_vcpu *vcpu) in vcpu_mode_is_32bit()
84 static inline bool kvm_condition_valid(const struct kvm_vcpu *vcpu) in kvm_condition_valid()
92 static inline void kvm_skip_instr(struct kvm_vcpu *vcpu, bool is_wide_instr) in kvm_skip_instr()
100 static inline void vcpu_set_thumb(struct kvm_vcpu *vcpu) in vcpu_set_thumb()
[all …]
/arch/arm/include/asm/
Dkvm_emulate.h31 static inline unsigned long vcpu_get_reg(struct kvm_vcpu *vcpu, in vcpu_get_reg()
37 static inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg()
50 static inline bool kvm_condition_valid(const struct kvm_vcpu *vcpu) in kvm_condition_valid()
55 static inline void kvm_skip_instr(struct kvm_vcpu *vcpu, bool is_wide_instr) in kvm_skip_instr()
60 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
65 static inline unsigned long vcpu_get_hcr(const struct kvm_vcpu *vcpu) in vcpu_get_hcr()
70 static inline void vcpu_set_hcr(struct kvm_vcpu *vcpu, unsigned long hcr) in vcpu_set_hcr()
75 static inline bool vcpu_mode_is_32bit(const struct kvm_vcpu *vcpu) in vcpu_mode_is_32bit()
80 static inline unsigned long *vcpu_pc(struct kvm_vcpu *vcpu) in vcpu_pc()
85 static inline unsigned long *vcpu_cpsr(const struct kvm_vcpu *vcpu) in vcpu_cpsr()
[all …]
/arch/x86/kvm/
Dcpuid.h27 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr()
32 static inline bool guest_cpuid_has_xsave(struct kvm_vcpu *vcpu) in guest_cpuid_has_xsave()
43 static inline bool guest_cpuid_has_mtrr(struct kvm_vcpu *vcpu) in guest_cpuid_has_mtrr()
51 static inline bool guest_cpuid_has_tsc_adjust(struct kvm_vcpu *vcpu) in guest_cpuid_has_tsc_adjust()
59 static inline bool guest_cpuid_has_smep(struct kvm_vcpu *vcpu) in guest_cpuid_has_smep()
67 static inline bool guest_cpuid_has_smap(struct kvm_vcpu *vcpu) in guest_cpuid_has_smap()
75 static inline bool guest_cpuid_has_fsgsbase(struct kvm_vcpu *vcpu) in guest_cpuid_has_fsgsbase()
83 static inline bool guest_cpuid_has_pku(struct kvm_vcpu *vcpu) in guest_cpuid_has_pku()
91 static inline bool guest_cpuid_has_longmode(struct kvm_vcpu *vcpu) in guest_cpuid_has_longmode()
99 static inline bool guest_cpuid_has_osvw(struct kvm_vcpu *vcpu) in guest_cpuid_has_osvw()
[all …]
Dkvm_cache_regs.h9 static inline unsigned long kvm_register_read(struct kvm_vcpu *vcpu, in kvm_register_read()
18 static inline void kvm_register_write(struct kvm_vcpu *vcpu, in kvm_register_write()
27 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
32 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
37 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read()
48 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
56 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
61 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
69 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
76 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4()
[all …]
Dx86.h10 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
15 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
23 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
28 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
39 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
44 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
53 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
63 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested()
68 static inline int is_pae(struct kvm_vcpu *vcpu) in is_pae()
73 static inline int is_pse(struct kvm_vcpu *vcpu) in is_pse()
[all …]
/arch/powerpc/include/asm/
Dkvm_booke.h37 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
42 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
47 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr()
52 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr()
57 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
62 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
67 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap()
73 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
78 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
83 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
[all …]
/arch/powerpc/kvm/
Dbooke.c76 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu()
97 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe()
107 static void kvmppc_vcpu_enable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_enable_spe()
117 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
127 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
141 static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_load_guest_fp()
158 static inline void kvmppc_save_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_save_guest_fp()
167 static void kvmppc_vcpu_sync_fpu(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_fpu()
182 static inline void kvmppc_load_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_load_guest_altivec()
201 static inline void kvmppc_save_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_save_guest_altivec()
[all …]
Dtiming.h32 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type()
39 static inline void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_init_timing_stats()
40 static inline void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_update_timing_stats()
41 static inline void kvmppc_create_vcpu_debugfs(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs()
43 static inline void kvmppc_remove_vcpu_debugfs(struct kvm_vcpu *vcpu) {} in kvmppc_remove_vcpu_debugfs()
44 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type()
48 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit_stat()
103 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit()
Dbook3s.c77 void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_unfixup_split_real()
88 static inline unsigned long kvmppc_interrupt_offset(struct kvm_vcpu *vcpu) in kvmppc_interrupt_offset()
95 static inline void kvmppc_update_int_pending(struct kvm_vcpu *vcpu, in kvmppc_update_int_pending()
106 static inline bool kvmppc_critical_section(struct kvm_vcpu *vcpu) in kvmppc_critical_section()
132 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt()
169 void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, in kvmppc_book3s_dequeue_irqprio()
181 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio()
193 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_program()
200 void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_queue_dec()
206 int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu) in kvmppc_core_pending_dec()
[all …]
/arch/s390/kvm/
Dintercept.c42 u8 kvm_s390_get_ilen(struct kvm_vcpu *vcpu) in kvm_s390_get_ilen()
70 static int handle_noop(struct kvm_vcpu *vcpu) in handle_noop()
82 static int handle_stop(struct kvm_vcpu *vcpu) in handle_stop()
116 static int handle_validity(struct kvm_vcpu *vcpu) in handle_validity()
131 static int handle_instruction(struct kvm_vcpu *vcpu) in handle_instruction()
145 static int inject_prog_on_prog_intercept(struct kvm_vcpu *vcpu) in inject_prog_on_prog_intercept()
213 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb()
231 #define per_event(vcpu) (vcpu->arch.sie_block->iprcc & PGM_PER) argument
233 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog()
271 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
[all …]
Dguestdbg.c62 static void enable_all_hw_bp(struct kvm_vcpu *vcpu) in enable_all_hw_bp()
102 static void enable_all_hw_wp(struct kvm_vcpu *vcpu) in enable_all_hw_wp()
133 void kvm_s390_backup_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_backup_guest_per_regs()
141 void kvm_s390_restore_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_restore_guest_per_regs()
149 void kvm_s390_patch_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_patch_guest_per_regs()
177 static int __import_wp_info(struct kvm_vcpu *vcpu, in __import_wp_info()
206 int kvm_s390_import_bp_data(struct kvm_vcpu *vcpu, in kvm_s390_import_bp_data()
285 void kvm_s390_clear_bp_data(struct kvm_vcpu *vcpu) in kvm_s390_clear_bp_data()
316 static struct kvm_hw_bp_info_arch *find_hw_bp(struct kvm_vcpu *vcpu, in find_hw_bp()
341 static struct kvm_hw_wp_info_arch *any_wp_changed(struct kvm_vcpu *vcpu) in any_wp_changed()
[all …]
Dkvm-s390.h28 #define IS_TE_ENABLED(vcpu) ((vcpu->arch.sie_block->ecb & 0x10)) argument
30 #define IS_ITDB_VALID(vcpu) ((*(char *)vcpu->arch.sie_block->itdba == TDB_FORMAT1)) argument
53 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
58 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
75 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
80 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) in kvm_s390_set_prefix()
91 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_s()
102 static inline void kvm_s390_get_base_disp_sse(struct kvm_vcpu *vcpu, in kvm_s390_get_base_disp_sse()
120 static inline void kvm_s390_get_regs_rre(struct kvm_vcpu *vcpu, int *r1, int *r2) in kvm_s390_get_regs_rre()
128 static inline u64 kvm_s390_get_base_disp_rsy(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_rsy()
[all …]
Dpriv.c35 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri()
45 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa()
54 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
77 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
115 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
145 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
171 static int __skey_check_enable(struct kvm_vcpu *vcpu) in __skey_check_enable()
186 static int try_handle_skey(struct kvm_vcpu *vcpu) in try_handle_skey()
203 static int handle_iske(struct kvm_vcpu *vcpu) in handle_iske()
236 static int handle_rrbe(struct kvm_vcpu *vcpu) in handle_rrbe()
[all …]
Dkvm-s390.c172 struct kvm_vcpu *vcpu; in kvm_clock_sync() local
482 struct kvm_vcpu *vcpu; in icpt_operexc_on_all_vcpus() local
659 struct kvm_vcpu *vcpu; in kvm_s390_vm_set_crypto() local
1514 int kvm_arch_create_vcpu_debugfs(struct kvm_vcpu *vcpu) in kvm_arch_create_vcpu_debugfs()
1519 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
1542 struct kvm_vcpu *vcpu; in kvm_free_vcpus() local
1570 static int __kvm_ucontrol_vcpu_init(struct kvm_vcpu *vcpu) in __kvm_ucontrol_vcpu_init()
1580 static void sca_del_vcpu(struct kvm_vcpu *vcpu) in sca_del_vcpu()
1599 static void sca_add_vcpu(struct kvm_vcpu *vcpu) in sca_add_vcpu()
1651 struct kvm_vcpu *vcpu; in sca_switch_to_extended() local
[all …]
Dsigp.c23 static int __sigp_sense(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_sense()
51 static int __inject_sigp_emergency(struct kvm_vcpu *vcpu, in __inject_sigp_emergency()
68 static int __sigp_emergency(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_emergency()
73 static int __sigp_conditional_emergency(struct kvm_vcpu *vcpu, in __sigp_conditional_emergency()
100 static int __sigp_external_call(struct kvm_vcpu *vcpu, in __sigp_external_call()
122 static int __sigp_stop(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_stop()
139 static int __sigp_stop_and_store_status(struct kvm_vcpu *vcpu, in __sigp_stop_and_store_status()
158 static int __sigp_set_arch(struct kvm_vcpu *vcpu, u32 parameter) in __sigp_set_arch()
183 static int __sigp_set_prefix(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_set_prefix()
213 static int __sigp_store_status_at_addr(struct kvm_vcpu *vcpu, in __sigp_store_status_at_addr()
[all …]
Dgaccess.h30 static inline unsigned long kvm_s390_real_to_abs(struct kvm_vcpu *vcpu, in kvm_s390_real_to_abs()
55 static inline unsigned long kvm_s390_logical_to_effective(struct kvm_vcpu *vcpu, in kvm_s390_logical_to_effective()
95 #define put_guest_lc(vcpu, x, gra) \ argument
124 int write_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in write_guest_lc()
150 int read_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in read_guest_lc()
221 int write_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in write_guest()
241 int read_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in read_guest()
261 int read_guest_instr(struct kvm_vcpu *vcpu, void *data, unsigned long len) in read_guest_instr()
284 int write_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data, in write_guest_abs()
307 int read_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data, in read_guest_abs()
[all …]
/arch/arm/kvm/
Dpsci.c36 static u32 smccc_get_function(struct kvm_vcpu *vcpu) in smccc_get_function()
41 static unsigned long smccc_get_arg1(struct kvm_vcpu *vcpu) in smccc_get_arg1()
46 static unsigned long smccc_get_arg2(struct kvm_vcpu *vcpu) in smccc_get_arg2()
51 static unsigned long smccc_get_arg3(struct kvm_vcpu *vcpu) in smccc_get_arg3()
56 static void smccc_set_retval(struct kvm_vcpu *vcpu, in smccc_set_retval()
76 static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_suspend()
96 static void kvm_psci_vcpu_off(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_off()
104 struct kvm_vcpu *vcpu = NULL; in kvm_psci_vcpu_on() local
159 static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_affinity_info()
199 static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type) in kvm_prepare_system_event()
[all …]
Dguest.c44 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_setup()
54 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
71 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
107 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
112 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
130 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices()
144 static int set_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_timer_reg()
157 static int get_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_timer_reg()
176 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu) in kvm_arm_num_regs()
187 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices()
[all …]
/arch/mips/kvm/
Dinterrupt.c24 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_queue_irq()
29 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_dequeue_irq()
34 void kvm_mips_queue_timer_int_cb(struct kvm_vcpu *vcpu) in kvm_mips_queue_timer_int_cb()
48 void kvm_mips_dequeue_timer_int_cb(struct kvm_vcpu *vcpu) in kvm_mips_dequeue_timer_int_cb()
54 void kvm_mips_queue_io_int_cb(struct kvm_vcpu *vcpu, in kvm_mips_queue_io_int_cb()
87 void kvm_mips_dequeue_io_int_cb(struct kvm_vcpu *vcpu, in kvm_mips_dequeue_io_int_cb()
115 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_deliver_cb()
197 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_clear_cb()
203 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause) in kvm_mips_deliver_interrupts()
238 int kvm_mips_pending_timer(struct kvm_vcpu *vcpu) in kvm_mips_pending_timer()
Dtrap_emul.c38 static int kvm_trap_emul_handle_cop_unusable(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_cop_unusable()
86 static int kvm_trap_emul_handle_tlb_mod(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_mod()
130 static int kvm_trap_emul_handle_tlb_miss(struct kvm_vcpu *vcpu, bool store) in kvm_trap_emul_handle_tlb_miss()
206 static int kvm_trap_emul_handle_tlb_st_miss(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_st_miss()
211 static int kvm_trap_emul_handle_tlb_ld_miss(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_ld_miss()
216 static int kvm_trap_emul_handle_addr_err_st(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_addr_err_st()
246 static int kvm_trap_emul_handle_addr_err_ld(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_addr_err_ld()
276 static int kvm_trap_emul_handle_syscall(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_syscall()
294 static int kvm_trap_emul_handle_res_inst(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_res_inst()
312 static int kvm_trap_emul_handle_break(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_break()
[all …]
Dmips.c66 static int kvm_mips_reset_vcpu(struct kvm_vcpu *vcpu) in kvm_mips_reset_vcpu()
82 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
87 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
149 int kvm_arch_create_vcpu_debugfs(struct kvm_vcpu *vcpu) in kvm_arch_create_vcpu_debugfs()
157 struct kvm_vcpu *vcpu; in kvm_mips_free_vcpus() local
282 struct kvm_vcpu *vcpu = kzalloc(sizeof(struct kvm_vcpu), GFP_KERNEL); in kvm_arch_vcpu_create() local
401 void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_free()
414 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
419 int kvm_arch_vcpu_ioctl_set_guest_debug(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_set_guest_debug()
426 static void kvm_mips_check_asids(struct kvm_vcpu *vcpu) in kvm_mips_check_asids()
[all …]
/arch/arm64/kvm/
Dguest.c49 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_setup()
59 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
84 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
132 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
137 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
164 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices()
178 static int set_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_timer_reg()
191 static int get_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_timer_reg()
205 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu) in kvm_arm_num_regs()
216 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices()
[all …]
Dsys_regs.c82 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
98 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
124 static bool access_gic_sgi(struct kvm_vcpu *vcpu, in access_gic_sgi()
136 static bool access_gic_sre(struct kvm_vcpu *vcpu, in access_gic_sre()
147 static bool trap_raz_wi(struct kvm_vcpu *vcpu, in trap_raz_wi()
157 static bool trap_oslsr_el1(struct kvm_vcpu *vcpu, in trap_oslsr_el1()
169 static bool trap_dbgauthstatus_el1(struct kvm_vcpu *vcpu, in trap_dbgauthstatus_el1()
208 static bool trap_debug_regs(struct kvm_vcpu *vcpu, in trap_debug_regs()
233 static void reg_to_dbg(struct kvm_vcpu *vcpu, in reg_to_dbg()
248 static void dbg_to_reg(struct kvm_vcpu *vcpu, in dbg_to_reg()
[all …]
Ddebug.c47 static void save_guest_debug_regs(struct kvm_vcpu *vcpu) in save_guest_debug_regs()
55 static void restore_guest_debug_regs(struct kvm_vcpu *vcpu) in restore_guest_debug_regs()
82 void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) in kvm_arm_reset_debug_ptr()
107 void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) in kvm_arm_setup_debug()
194 void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) in kvm_arm_clear_debug()
/arch/arm/kvm/hyp/
Dswitch.c28 static void __hyp_text __activate_traps(struct kvm_vcpu *vcpu, u32 *fpexc_host) in __activate_traps()
56 static void __hyp_text __deactivate_traps(struct kvm_vcpu *vcpu) in __deactivate_traps()
76 static void __hyp_text __activate_vm(struct kvm_vcpu *vcpu) in __activate_vm()
83 static void __hyp_text __deactivate_vm(struct kvm_vcpu *vcpu) in __deactivate_vm()
90 static void __hyp_text __vgic_save_state(struct kvm_vcpu *vcpu) in __vgic_save_state()
98 static void __hyp_text __vgic_restore_state(struct kvm_vcpu *vcpu) in __vgic_restore_state()
106 static bool __hyp_text __populate_fault_info(struct kvm_vcpu *vcpu) in __populate_fault_info()
156 int __hyp_text __kvm_vcpu_run(struct kvm_vcpu *vcpu) in __kvm_vcpu_run()
235 struct kvm_vcpu *vcpu; in __hyp_panic() local

123456