Home
last modified time | relevance | path

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

12345678910

/linux-5.19.10/arch/arm64/include/asm/
Dkvm_emulate.h48 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
53 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
64 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
99 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr()
104 static inline void vcpu_clear_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfx_traps()
114 static inline void vcpu_set_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfx_traps()
120 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable()
125 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable()
130 static inline unsigned long vcpu_get_vsesr(struct kvm_vcpu *vcpu) in vcpu_get_vsesr()
135 static inline void vcpu_set_vsesr(struct kvm_vcpu *vcpu, u64 vsesr) in vcpu_set_vsesr()
[all …]
/linux-5.19.10/arch/powerpc/kvm/
Dbooke.c90 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu()
113 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe()
123 static void kvmppc_vcpu_enable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_enable_spe()
133 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
143 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
157 static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_load_guest_fp()
174 static inline void kvmppc_save_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_save_guest_fp()
183 static void kvmppc_vcpu_sync_fpu(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_fpu()
198 static inline void kvmppc_load_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_load_guest_altivec()
217 static inline void kvmppc_save_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_save_guest_altivec()
[all …]
Dbook3s.c98 static inline void kvmppc_update_int_pending(struct kvm_vcpu *vcpu, in kvmppc_update_int_pending()
109 static inline bool kvmppc_critical_section(struct kvm_vcpu *vcpu) in kvmppc_critical_section()
135 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt()
167 void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, in kvmppc_book3s_dequeue_irqprio()
179 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio()
191 void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_machine_check()
198 void kvmppc_core_queue_syscall(struct kvm_vcpu *vcpu) in kvmppc_core_queue_syscall()
204 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_program()
211 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_fpunavail()
217 void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_vec_unavail()
[all …]
Dbook3s_pr.c67 static bool kvmppc_is_split_real(struct kvm_vcpu *vcpu) in kvmppc_is_split_real()
73 static void kvmppc_fixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_fixup_split_real()
94 static void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_unfixup_split_real()
107 static void kvmppc_inject_interrupt_pr(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags) in kvmppc_inject_interrupt_pr()
132 static void kvmppc_core_vcpu_load_pr(struct kvm_vcpu *vcpu, int cpu) in kvmppc_core_vcpu_load_pr()
161 static void kvmppc_core_vcpu_put_pr(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put_pr()
192 void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_to_svcpu()
231 static void kvmppc_recalc_shadow_msr(struct kvm_vcpu *vcpu) in kvmppc_recalc_shadow_msr()
264 void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_from_svcpu()
343 void kvmppc_save_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_save_tm_sprs()
[all …]
/linux-5.19.10/arch/riscv/kvm/
Dvcpu.c52 static void kvm_riscv_reset_vcpu(struct kvm_vcpu *vcpu) in kvm_riscv_reset_vcpu()
98 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
133 void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_postcreate()
144 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
153 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_cpu_has_pending_timer()
158 void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_blocking()
162 void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_unblocking()
166 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
172 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
177 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
[all …]
/linux-5.19.10/arch/x86/kvm/
Dkvm_cache_regs.h59 static inline bool kvm_register_is_dirty(struct kvm_vcpu *vcpu, in kvm_register_is_dirty()
65 static inline void kvm_register_mark_available(struct kvm_vcpu *vcpu, in kvm_register_mark_available()
71 static inline void kvm_register_mark_dirty(struct kvm_vcpu *vcpu, in kvm_register_mark_dirty()
83 static inline unsigned long kvm_register_read_raw(struct kvm_vcpu *vcpu, int reg) in kvm_register_read_raw()
94 static inline void kvm_register_write_raw(struct kvm_vcpu *vcpu, int reg, in kvm_register_write_raw()
104 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
109 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
114 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read()
119 static inline void kvm_rsp_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rsp_write()
124 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read()
[all …]
Dx86.h64 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
70 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
78 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
83 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
94 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
99 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
108 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
120 static inline bool is_64_bit_hypercall(struct kvm_vcpu *vcpu) in is_64_bit_hypercall()
139 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested()
144 static inline int is_pae(struct kvm_vcpu *vcpu) in is_pae()
[all …]
Dcpuid.h38 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr()
43 static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_legal_gpa()
48 static inline bool kvm_vcpu_is_illegal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_illegal_gpa()
53 static inline bool kvm_vcpu_is_legal_aligned_gpa(struct kvm_vcpu *vcpu, in kvm_vcpu_is_legal_aligned_gpa()
59 static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) in page_address_valid()
73 static __always_inline u32 *guest_cpuid_get_register(struct kvm_vcpu *vcpu, in guest_cpuid_get_register()
86 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, in guest_cpuid_has()
98 static __always_inline void guest_cpuid_clear(struct kvm_vcpu *vcpu, in guest_cpuid_clear()
108 static inline bool guest_cpuid_is_amd_or_hygon(struct kvm_vcpu *vcpu) in guest_cpuid_is_amd_or_hygon()
118 static inline bool guest_cpuid_is_intel(struct kvm_vcpu *vcpu) in guest_cpuid_is_intel()
[all …]
Dx86.c353 static inline void kvm_async_pf_hash_reset(struct kvm_vcpu *vcpu) in kvm_async_pf_hash_reset()
472 u64 kvm_get_apic_base(struct kvm_vcpu *vcpu) in kvm_get_apic_base()
478 enum lapic_mode kvm_get_apic_mode(struct kvm_vcpu *vcpu) in kvm_get_apic_mode()
484 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base()
566 void kvm_deliver_exception_payload(struct kvm_vcpu *vcpu) in kvm_deliver_exception_payload()
621 static void kvm_multiple_exception(struct kvm_vcpu *vcpu, in kvm_multiple_exception()
695 void kvm_queue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_queue_exception()
701 void kvm_requeue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_requeue_exception()
707 void kvm_queue_exception_p(struct kvm_vcpu *vcpu, unsigned nr, in kvm_queue_exception_p()
714 static void kvm_queue_exception_e_p(struct kvm_vcpu *vcpu, unsigned nr, in kvm_queue_exception_e_p()
[all …]
/linux-5.19.10/arch/x86/kvm/svm/
Dsvm.c266 int svm_set_efer(struct kvm_vcpu *vcpu, u64 efer) in svm_set_efer()
324 static u32 svm_get_interrupt_shadow(struct kvm_vcpu *vcpu) in svm_get_interrupt_shadow()
334 static void svm_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask) in svm_set_interrupt_shadow()
345 static int svm_skip_emulated_instruction(struct kvm_vcpu *vcpu) in svm_skip_emulated_instruction()
374 static void svm_queue_exception(struct kvm_vcpu *vcpu) in svm_queue_exception()
434 static void svm_init_osvw(struct kvm_vcpu *vcpu) in svm_init_osvw()
628 static void set_shadow_msr_intercept(struct kvm_vcpu *vcpu, u32 msr, int read, in set_shadow_msr_intercept()
654 static bool msr_write_intercepted(struct kvm_vcpu *vcpu, u32 msr) in msr_write_intercepted()
673 static void set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, in set_msr_interception_bitmap()
710 void set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, in set_msr_interception()
[all …]
/linux-5.19.10/include/kvm/
Darm_pmu.h80 #define kvm_vcpu_has_pmu(vcpu) \ argument
88 #define kvm_pmu_update_vcpu_events(vcpu) \ argument
104 static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_counter_value()
109 static inline void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_set_counter_value()
111 static inline u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
115 static inline void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_init()
116 static inline void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_reset()
117 static inline void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_destroy()
118 static inline void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_disable_counter_mask()
119 static inline void kvm_pmu_enable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_enable_counter_mask()
[all …]
/linux-5.19.10/arch/arm64/kvm/
Dsys_regs.c51 static bool read_from_write_only(struct kvm_vcpu *vcpu, in read_from_write_only()
61 static bool write_to_read_only(struct kvm_vcpu *vcpu, in write_to_read_only()
71 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg()
82 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
115 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
158 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
183 static bool access_actlr(struct kvm_vcpu *vcpu, in access_actlr()
204 static bool access_gic_sgi(struct kvm_vcpu *vcpu, in access_gic_sgi()
249 static bool access_gic_sre(struct kvm_vcpu *vcpu, in access_gic_sre()
260 static bool trap_raz_wi(struct kvm_vcpu *vcpu, in trap_raz_wi()
[all …]
Dpmu-emul.c54 static bool kvm_pmu_idx_is_64bit(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_is_64bit()
77 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_pmc_is_chained() local
119 static bool kvm_pmu_idx_has_chain_evtype(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_idx_has_chain_evtype()
139 static u64 kvm_pmu_get_pair_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_pair_counter_value()
174 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_get_counter_value()
200 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val) in kvm_pmu_set_counter_value()
235 static void kvm_pmu_stop_counter(struct kvm_vcpu *vcpu, struct kvm_pmc *pmc) in kvm_pmu_stop_counter()
266 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_init()
280 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_reset()
297 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_destroy()
[all …]
Darch_timer.c57 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_ctl() local
72 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_cval() local
87 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_offset() local
99 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_ctl() local
115 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_cval() local
131 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_offset() local
147 static void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) in get_timer_map()
181 struct kvm_vcpu *vcpu = *(struct kvm_vcpu **)dev_id; in kvm_arch_timer_handler() local
242 static bool vcpu_has_wfit_active(struct kvm_vcpu *vcpu) in vcpu_has_wfit_active()
248 static u64 wfit_delay_ns(struct kvm_vcpu *vcpu) in wfit_delay_ns()
[all …]
Dguest.c75 static int core_reg_size_from_offset(const struct kvm_vcpu *vcpu, u64 off) in core_reg_size_from_offset()
120 static void *core_reg_addr(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in core_reg_addr()
185 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
214 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
306 static int get_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_vls()
330 static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_vls()
398 #define vcpu_sve_slices(vcpu) 1 argument
412 struct kvm_vcpu *vcpu, in sve_reg_to_region()
478 static int get_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_reg()
504 static int set_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_reg()
[all …]
/linux-5.19.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 …]
/linux-5.19.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.c40 static int kvm_compute_return_epc(struct kvm_vcpu *vcpu, unsigned long instpc, in kvm_compute_return_epc()
243 enum emulation_result update_pc(struct kvm_vcpu *vcpu, u32 cause) in update_pc()
272 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()
313 int kvm_mips_count_disabled(struct kvm_vcpu *vcpu) in kvm_mips_count_disabled()
328 static u32 kvm_mips_ktime_to_count(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_ktime_to_count()
367 static inline ktime_t kvm_mips_count_time(struct kvm_vcpu *vcpu) in kvm_mips_count_time()
385 static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_read_count_running()
445 u32 kvm_mips_read_count(struct kvm_vcpu *vcpu) in kvm_mips_read_count()
472 ktime_t kvm_mips_freeze_hrtimer(struct kvm_vcpu *vcpu, u32 *count) in kvm_mips_freeze_hrtimer()
[all …]
/linux-5.19.10/arch/arm64/kvm/hyp/nvhe/
Dsys_regs.c34 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64()
87 static u64 get_pvm_id_aa64pfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr0()
105 static u64 get_pvm_id_aa64pfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr1()
116 static u64 get_pvm_id_aa64zfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64zfr0()
126 static u64 get_pvm_id_aa64dfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr0()
136 static u64 get_pvm_id_aa64dfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr1()
146 static u64 get_pvm_id_aa64afr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr0()
156 static u64 get_pvm_id_aa64afr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr1()
166 static u64 get_pvm_id_aa64isar0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar0()
171 static u64 get_pvm_id_aa64isar1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar1()
[all …]
/linux-5.19.10/arch/x86/kvm/vmx/
Dvmx.c402 static void vmx_update_fb_clear_dis(struct kvm_vcpu *vcpu, struct vcpu_vmx *vmx) in vmx_update_fb_clear_dis()
521 static int hv_enable_direct_tlbflush(struct kvm_vcpu *vcpu) in hv_enable_direct_tlbflush()
596 static inline bool cpu_need_virtualize_apic_accesses(struct kvm_vcpu *vcpu) in cpu_need_virtualize_apic_accesses()
771 void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu) in vmx_update_exception_bitmap()
1083 static inline bool pt_output_base_valid(struct kvm_vcpu *vcpu, u64 base) in pt_output_base_valid()
1179 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu) in vmx_prepare_switch_to_guest()
1312 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu, in vmx_vcpu_load_vmcs()
1381 static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in vmx_vcpu_load()
1392 static void vmx_vcpu_put(struct kvm_vcpu *vcpu) in vmx_vcpu_put()
1399 bool vmx_emulation_required(struct kvm_vcpu *vcpu) in vmx_emulation_required()
[all …]
Dnested.c151 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
159 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
168 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()
202 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
226 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
257 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
286 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
334 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
349 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr()
[all …]
/linux-5.19.10/arch/arm64/kvm/hyp/include/hyp/
Dswitch.h41 static inline bool update_fp_enabled(struct kvm_vcpu *vcpu) in update_fp_enabled()
59 static inline void __fpsimd_save_fpexc32(struct kvm_vcpu *vcpu) in __fpsimd_save_fpexc32()
67 static inline void __activate_traps_fpsimd32(struct kvm_vcpu *vcpu) in __activate_traps_fpsimd32()
84 static inline void __activate_traps_common(struct kvm_vcpu *vcpu) in __activate_traps_common()
104 static inline void __deactivate_traps_common(struct kvm_vcpu *vcpu) in __deactivate_traps_common()
113 static inline void ___activate_traps(struct kvm_vcpu *vcpu) in ___activate_traps()
126 static inline void ___deactivate_traps(struct kvm_vcpu *vcpu) in ___deactivate_traps()
140 static inline bool __populate_fault_info(struct kvm_vcpu *vcpu) in __populate_fault_info()
145 static inline void __hyp_sve_restore_guest(struct kvm_vcpu *vcpu) in __hyp_sve_restore_guest()
159 static bool kvm_hyp_handle_fpsimd(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_fpsimd()
[all …]
/linux-5.19.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()
279 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
327 static int handle_mvpg_pei(struct kvm_vcpu *vcpu) in handle_mvpg_pei()
[all …]
Dpriv.c33 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri()
46 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa()
54 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs()
74 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3()
84 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
123 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
161 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
191 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
217 int kvm_s390_skey_check_enable(struct kvm_vcpu *vcpu) in kvm_s390_skey_check_enable()
241 static int try_handle_skey(struct kvm_vcpu *vcpu) in try_handle_skey()
[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 …]

12345678910