Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_emulate.h39 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
44 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
84 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr()
89 static inline void vcpu_clear_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfx_traps()
99 static inline void vcpu_set_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfx_traps()
105 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable()
110 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable()
115 static inline unsigned long vcpu_get_vsesr(struct kvm_vcpu *vcpu) in vcpu_get_vsesr()
120 static inline void vcpu_set_vsesr(struct kvm_vcpu *vcpu, u64 vsesr) in vcpu_set_vsesr()
125 static __always_inline unsigned long *vcpu_pc(const struct kvm_vcpu *vcpu) in vcpu_pc()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbooke.c64 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu()
87 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe()
97 static void kvmppc_vcpu_enable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_enable_spe()
107 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
117 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
131 static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_load_guest_fp()
148 static inline void kvmppc_save_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_save_guest_fp()
157 static void kvmppc_vcpu_sync_fpu(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_fpu()
172 static inline void kvmppc_load_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_load_guest_altivec()
191 static inline void kvmppc_save_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_save_guest_altivec()
[all …]
Dbook3s.c74 static inline void kvmppc_update_int_pending(struct kvm_vcpu *vcpu, in kvmppc_update_int_pending()
85 static inline bool kvmppc_critical_section(struct kvm_vcpu *vcpu) in kvmppc_critical_section()
111 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt()
143 void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, in kvmppc_book3s_dequeue_irqprio()
155 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio()
167 void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_machine_check()
174 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_program()
181 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_fpunavail()
187 void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_vec_unavail()
193 void kvmppc_core_queue_vsx_unavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_vsx_unavail()
[all …]
Dbook3s_pr.c66 static bool kvmppc_is_split_real(struct kvm_vcpu *vcpu) in kvmppc_is_split_real()
72 static void kvmppc_fixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_fixup_split_real()
93 static void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_unfixup_split_real()
106 static void kvmppc_inject_interrupt_pr(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags) in kvmppc_inject_interrupt_pr()
131 static void kvmppc_core_vcpu_load_pr(struct kvm_vcpu *vcpu, int cpu) in kvmppc_core_vcpu_load_pr()
157 static void kvmppc_core_vcpu_put_pr(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put_pr()
185 void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_to_svcpu()
224 static void kvmppc_recalc_shadow_msr(struct kvm_vcpu *vcpu) in kvmppc_recalc_shadow_msr()
257 void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_from_svcpu()
336 void kvmppc_save_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_save_tm_sprs()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_cache_regs.h46 static inline bool kvm_register_is_dirty(struct kvm_vcpu *vcpu, in kvm_register_is_dirty()
52 static inline void kvm_register_mark_available(struct kvm_vcpu *vcpu, in kvm_register_mark_available()
58 static inline void kvm_register_mark_dirty(struct kvm_vcpu *vcpu, in kvm_register_mark_dirty()
65 static inline unsigned long kvm_register_read(struct kvm_vcpu *vcpu, int reg) in kvm_register_read()
76 static inline void kvm_register_write(struct kvm_vcpu *vcpu, int reg, in kvm_register_write()
86 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
91 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
96 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read()
101 static inline void kvm_rsp_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rsp_write()
106 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read()
[all …]
Dx86.h50 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
56 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
64 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
69 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
80 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
85 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
94 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
104 static inline bool is_la57_mode(struct kvm_vcpu *vcpu) in is_la57_mode()
123 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested()
128 static inline void kvm_vcpu_flush_tlb_current(struct kvm_vcpu *vcpu) in kvm_vcpu_flush_tlb_current()
[all …]
Dx86.c262 static bool kvm_msr_ignored_check(struct kvm_vcpu *vcpu, u32 msr, in kvm_msr_ignored_check()
293 static inline void kvm_async_pf_hash_reset(struct kvm_vcpu *vcpu) in kvm_async_pf_hash_reset()
398 u64 kvm_get_apic_base(struct kvm_vcpu *vcpu) in kvm_get_apic_base()
404 enum lapic_mode kvm_get_apic_mode(struct kvm_vcpu *vcpu) in kvm_get_apic_mode()
410 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base()
492 void kvm_deliver_exception_payload(struct kvm_vcpu *vcpu) in kvm_deliver_exception_payload()
542 static void kvm_multiple_exception(struct kvm_vcpu *vcpu, in kvm_multiple_exception()
616 void kvm_queue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_queue_exception()
622 void kvm_requeue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_requeue_exception()
628 void kvm_queue_exception_p(struct kvm_vcpu *vcpu, unsigned nr, in kvm_queue_exception_p()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_booke.h26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
36 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr()
41 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr()
46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
51 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
56 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap()
62 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
67 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dsys_regs.c47 static bool read_from_write_only(struct kvm_vcpu *vcpu, in read_from_write_only()
57 static bool write_to_read_only(struct kvm_vcpu *vcpu, in write_to_read_only()
148 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg()
159 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
192 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
217 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
247 static bool access_actlr(struct kvm_vcpu *vcpu, in access_actlr()
272 static bool access_gic_sgi(struct kvm_vcpu *vcpu, in access_gic_sgi()
317 static bool access_gic_sre(struct kvm_vcpu *vcpu, in access_gic_sre()
328 static bool trap_raz_wi(struct kvm_vcpu *vcpu, in trap_raz_wi()
[all …]
Dhandle_exit.c30 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u32 esr) in kvm_handle_guest_serror()
36 static int handle_hvc(struct kvm_vcpu *vcpu) in handle_hvc()
53 static int handle_smc(struct kvm_vcpu *vcpu) in handle_smc()
72 static int handle_no_fpsimd(struct kvm_vcpu *vcpu) in handle_no_fpsimd()
90 static int kvm_handle_wfx(struct kvm_vcpu *vcpu) in kvm_handle_wfx()
119 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu) in kvm_handle_guest_debug()
147 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu) in kvm_handle_unknown_ec()
158 static int handle_sve(struct kvm_vcpu *vcpu) in handle_sve()
170 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu) in kvm_handle_ptrauth()
201 static exit_handle_fn kvm_get_exit_handler(struct kvm_vcpu *vcpu) in kvm_get_exit_handler()
[all …]
Dpmu-emul.c43 static bool kvm_pmu_idx_is_64bit(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_is_64bit()
66 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_pmc_is_chained() local
108 static bool kvm_pmu_idx_has_chain_evtype(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_has_chain_evtype()
128 static u64 kvm_pmu_get_pair_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_pair_counter_value()
163 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_get_counter_value()
186 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val) in kvm_pmu_set_counter_value()
218 static void kvm_pmu_stop_counter(struct kvm_vcpu *vcpu, struct kvm_pmc *pmc) in kvm_pmu_stop_counter()
249 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_init()
263 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_reset()
280 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_destroy()
[all …]
Darch_timer.c56 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_ctl() local
71 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_cval() local
86 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_offset() local
98 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_ctl() local
114 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_cval() local
130 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_offset() local
146 static void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) in get_timer_map()
180 struct kvm_vcpu *vcpu = *(struct kvm_vcpu **)dev_id; in kvm_arch_timer_handler() local
242 static u64 kvm_timer_earliest_exp(struct kvm_vcpu *vcpu) in kvm_timer_earliest_exp()
265 struct kvm_vcpu *vcpu; in kvm_bg_timer_expire() local
[all …]
Dpsci.c34 static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_suspend()
55 static void kvm_psci_vcpu_off(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_off()
66 struct kvm_vcpu *vcpu = NULL; in kvm_psci_vcpu_on() local
116 static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_affinity_info()
156 static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type) in kvm_prepare_system_event()
179 static void kvm_psci_system_off(struct kvm_vcpu *vcpu) in kvm_psci_system_off()
184 static void kvm_psci_system_reset(struct kvm_vcpu *vcpu) in kvm_psci_system_reset()
189 static void kvm_psci_narrow_to_32bit(struct kvm_vcpu *vcpu) in kvm_psci_narrow_to_32bit()
201 static unsigned long kvm_psci_check_allowed_function(struct kvm_vcpu *vcpu, u32 fn) in kvm_psci_check_allowed_function()
216 static int kvm_psci_0_2_call(struct kvm_vcpu *vcpu) in kvm_psci_0_2_call()
[all …]
Dguest.c59 static int core_reg_size_from_offset(const struct kvm_vcpu *vcpu, u64 off) in core_reg_size_from_offset()
104 static void *core_reg_addr(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in core_reg_addr()
169 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
198 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
268 static int get_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_vls()
292 static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_vls()
360 #define vcpu_sve_slices(vcpu) 1 argument
374 struct kvm_vcpu *vcpu, in sve_reg_to_region()
440 static int get_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_reg()
466 static int set_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_reg()
[all …]
/kernel/linux/linux-5.10/include/kvm/
Darm_pmu.h66 static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_counter_value()
71 static inline void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_set_counter_value()
73 static inline u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
77 static inline void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_init()
78 static inline void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_reset()
79 static inline void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_destroy()
80 static inline void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_disable_counter_mask()
81 static inline void kvm_pmu_enable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_enable_counter_mask()
82 static inline void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu) {} in kvm_pmu_flush_hwstate()
83 static inline void kvm_pmu_sync_hwstate(struct kvm_vcpu *vcpu) {} in kvm_pmu_sync_hwstate()
[all …]
/kernel/linux/linux-5.10/arch/mips/kvm/
Dvz.c84 static inline unsigned int kvm_vz_config_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_guest_wrmask()
89 static inline unsigned int kvm_vz_config1_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_guest_wrmask()
94 static inline unsigned int kvm_vz_config2_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_guest_wrmask()
99 static inline unsigned int kvm_vz_config3_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config3_guest_wrmask()
104 static inline unsigned int kvm_vz_config4_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config4_guest_wrmask()
110 static inline unsigned int kvm_vz_config5_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config5_guest_wrmask()
132 static inline unsigned int kvm_vz_config6_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config6_guest_wrmask()
148 static inline unsigned int kvm_vz_config_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_user_wrmask()
153 static inline unsigned int kvm_vz_config1_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_user_wrmask()
164 static inline unsigned int kvm_vz_config2_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_user_wrmask()
[all …]
Demulate.c41 static int kvm_compute_return_epc(struct kvm_vcpu *vcpu, unsigned long instpc, in kvm_compute_return_epc()
244 enum emulation_result update_pc(struct kvm_vcpu *vcpu, u32 cause) in update_pc()
273 int kvm_get_badinstr(u32 *opc, struct kvm_vcpu *vcpu, u32 *out) in kvm_get_badinstr()
294 int kvm_get_badinstrp(u32 *opc, struct kvm_vcpu *vcpu, u32 *out) in kvm_get_badinstrp()
312 int kvm_mips_count_disabled(struct kvm_vcpu *vcpu) in kvm_mips_count_disabled()
327 static u32 kvm_mips_ktime_to_count(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_ktime_to_count()
366 static inline ktime_t kvm_mips_count_time(struct kvm_vcpu *vcpu) in kvm_mips_count_time()
384 static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_read_count_running()
444 u32 kvm_mips_read_count(struct kvm_vcpu *vcpu) in kvm_mips_read_count()
471 ktime_t kvm_mips_freeze_hrtimer(struct kvm_vcpu *vcpu, u32 *count) in kvm_mips_freeze_hrtimer()
[all …]
Dtrap_emul.c44 static int kvm_trap_emul_no_handler(struct kvm_vcpu *vcpu) in kvm_trap_emul_no_handler()
67 static int kvm_trap_emul_handle_cop_unusable(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_cop_unusable()
118 static int kvm_mips_bad_load(u32 cause, u32 *opc, struct kvm_vcpu *vcpu) in kvm_mips_bad_load()
150 static int kvm_mips_bad_store(u32 cause, u32 *opc, struct kvm_vcpu *vcpu) in kvm_mips_bad_store()
177 struct kvm_vcpu *vcpu, bool store) in kvm_mips_bad_access()
185 static int kvm_trap_emul_handle_tlb_mod(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_mod()
245 static int kvm_trap_emul_handle_tlb_miss(struct kvm_vcpu *vcpu, bool store) in kvm_trap_emul_handle_tlb_miss()
307 static int kvm_trap_emul_handle_tlb_st_miss(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_st_miss()
312 static int kvm_trap_emul_handle_tlb_ld_miss(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_tlb_ld_miss()
317 static int kvm_trap_emul_handle_addr_err_st(struct kvm_vcpu *vcpu) in kvm_trap_emul_handle_addr_err_st()
[all …]
/kernel/linux/linux-5.10/arch/s390/kvm/
Dintercept.c25 u8 kvm_s390_get_ilen(struct kvm_vcpu *vcpu) in kvm_s390_get_ilen()
53 static int handle_stop(struct kvm_vcpu *vcpu) in handle_stop()
91 static int handle_validity(struct kvm_vcpu *vcpu) in handle_validity()
106 static int handle_instruction(struct kvm_vcpu *vcpu) in handle_instruction()
143 static int inject_prog_on_prog_intercept(struct kvm_vcpu *vcpu) in inject_prog_on_prog_intercept()
211 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb()
229 #define per_event(vcpu) (vcpu->arch.sie_block->iprcc & PGM_PER) argument
231 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog()
278 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
325 static int handle_mvpg_pei(struct kvm_vcpu *vcpu) in handle_mvpg_pei()
[all …]
Dkvm-s390.h24 #define IS_TE_ENABLED(vcpu) ((vcpu->arch.sie_block->ecb & ECB_TE)) argument
26 #define IS_ITDB_VALID(vcpu) ((*(char *)vcpu->arch.sie_block->itdba == TDB_FORMAT1)) argument
60 static inline void kvm_s390_set_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_set_cpuflags()
65 static inline void kvm_s390_clear_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_clear_cpuflags()
70 static inline bool kvm_s390_test_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_test_cpuflags()
75 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
80 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
97 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
102 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) in kvm_s390_set_prefix()
111 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, u8 *ar) in kvm_s390_get_base_disp_s()
[all …]
Dpriv.c34 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri()
47 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa()
55 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs()
75 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3()
85 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
124 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
162 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
192 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
218 int kvm_s390_skey_check_enable(struct kvm_vcpu *vcpu) in kvm_s390_skey_check_enable()
242 static int try_handle_skey(struct kvm_vcpu *vcpu) in try_handle_skey()
[all …]
Dguestdbg.c59 static void enable_all_hw_bp(struct kvm_vcpu *vcpu) in enable_all_hw_bp()
99 static void enable_all_hw_wp(struct kvm_vcpu *vcpu) in enable_all_hw_wp()
130 void kvm_s390_backup_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_backup_guest_per_regs()
138 void kvm_s390_restore_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_restore_guest_per_regs()
146 void kvm_s390_patch_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_patch_guest_per_regs()
174 static int __import_wp_info(struct kvm_vcpu *vcpu, in __import_wp_info()
203 int kvm_s390_import_bp_data(struct kvm_vcpu *vcpu, in kvm_s390_import_bp_data()
282 void kvm_s390_clear_bp_data(struct kvm_vcpu *vcpu) in kvm_s390_clear_bp_data()
313 static struct kvm_hw_bp_info_arch *find_hw_bp(struct kvm_vcpu *vcpu, in find_hw_bp()
338 static struct kvm_hw_wp_info_arch *any_wp_changed(struct kvm_vcpu *vcpu) in any_wp_changed()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dnested.c155 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
163 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
172 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
187 static int nested_vmx_fail(struct kvm_vcpu *vcpu, u32 vm_instruction_error) in nested_vmx_fail()
201 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
225 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
256 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
279 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
326 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
333 static void nested_ept_inject_page_fault(struct kvm_vcpu *vcpu, in nested_ept_inject_page_fault()
[all …]
Dvmx.c399 static void vmx_update_fb_clear_dis(struct kvm_vcpu *vcpu, struct vcpu_vmx *vmx) in vmx_update_fb_clear_dis()
538 struct kvm_vcpu *vcpu; in check_ept_pointer_match() local
565 struct kvm_vcpu *vcpu, struct kvm_tlb_range *range) in __hv_remote_flush_tlb_with_range()
584 struct kvm_vcpu *vcpu; in hv_remote_flush_tlb_with_range() local
612 static int hv_enable_direct_tlbflush(struct kvm_vcpu *vcpu) in hv_enable_direct_tlbflush()
687 static inline bool cpu_need_virtualize_apic_accesses(struct kvm_vcpu *vcpu) in cpu_need_virtualize_apic_accesses()
870 void update_exception_bitmap(struct kvm_vcpu *vcpu) in update_exception_bitmap()
1181 static inline bool pt_output_base_valid(struct kvm_vcpu *vcpu, u64 base) in pt_output_base_valid()
1273 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu) in vmx_prepare_switch_to_guest()
1403 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu, in vmx_vcpu_load_vmcs()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic.c90 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, in vgic_get_irq()
151 void vgic_flush_pending_lpis(struct kvm_vcpu *vcpu) in vgic_flush_pending_lpis()
298 static void vgic_sort_ap_list(struct kvm_vcpu *vcpu) in vgic_sort_ap_list()
338 struct kvm_vcpu *vcpu; in vgic_queue_irq_unlock() local
441 struct kvm_vcpu *vcpu; in kvm_vgic_inject_irq() local
481 static int kvm_vgic_map_irq(struct kvm_vcpu *vcpu, struct vgic_irq *irq, in kvm_vgic_map_irq()
515 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq, in kvm_vgic_map_phys_irq()
541 void kvm_vgic_reset_mapped_irq(struct kvm_vcpu *vcpu, u32 vintid) in kvm_vgic_reset_mapped_irq()
558 int kvm_vgic_unmap_phys_irq(struct kvm_vcpu *vcpu, unsigned int vintid) in kvm_vgic_unmap_phys_irq()
587 int kvm_vgic_set_owner(struct kvm_vcpu *vcpu, unsigned int intid, void *owner) in kvm_vgic_set_owner()
[all …]

123456789