Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.6.21/arch/arm64/include/asm/
Dkvm_emulate.h58 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
63 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
69 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
106 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr()
111 static inline void vcpu_clear_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfx_traps()
121 static inline void vcpu_set_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfx_traps()
127 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable()
132 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable()
137 static inline unsigned long vcpu_get_vsesr(struct kvm_vcpu *vcpu) in vcpu_get_vsesr()
142 static inline void vcpu_set_vsesr(struct kvm_vcpu *vcpu, u64 vsesr) in vcpu_set_vsesr()
[all …]
/linux-6.6.21/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 srr1_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 srr1_flags) in kvmppc_core_queue_program()
211 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_fpunavail()
217 void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu, ulong srr1_flags) 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-6.6.21/arch/riscv/kvm/
Dvcpu.c45 static void kvm_riscv_reset_vcpu(struct kvm_vcpu *vcpu) in kvm_riscv_reset_vcpu()
97 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
150 void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_postcreate()
161 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
178 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_cpu_has_pending_timer()
183 void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_blocking()
188 void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_unblocking()
193 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
199 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
204 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
[all …]
/linux-6.6.21/arch/arm64/kvm/
Dsys_regs.c48 static bool read_from_write_only(struct kvm_vcpu *vcpu, in read_from_write_only()
58 static bool write_to_read_only(struct kvm_vcpu *vcpu, in write_to_read_only()
68 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg()
79 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
117 static u32 get_ccsidr(struct kvm_vcpu *vcpu, u32 csselr) in get_ccsidr()
152 static int set_ccsidr(struct kvm_vcpu *vcpu, u32 csselr, u32 val) in set_ccsidr()
181 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw()
196 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
216 static bool access_dcgsw(struct kvm_vcpu *vcpu, in access_dcgsw()
252 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
[all …]
Dhandle_exit.c31 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_handle_guest_serror()
37 static int handle_hvc(struct kvm_vcpu *vcpu) in handle_hvc()
56 static int handle_smc(struct kvm_vcpu *vcpu) in handle_smc()
93 static int handle_no_fpsimd(struct kvm_vcpu *vcpu) in handle_no_fpsimd()
114 static int kvm_handle_wfx(struct kvm_vcpu *vcpu) in kvm_handle_wfx()
166 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu) in kvm_handle_guest_debug()
188 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu) in kvm_handle_unknown_ec()
203 static int handle_sve(struct kvm_vcpu *vcpu) in handle_sve()
214 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu) in kvm_handle_ptrauth()
220 static int kvm_handle_eret(struct kvm_vcpu *vcpu) in kvm_handle_eret()
[all …]
Dpmu-emul.c34 static struct kvm_pmc *kvm_vcpu_idx_to_pmc(struct kvm_vcpu *vcpu, int cnt_idx) in kvm_vcpu_idx_to_pmc()
99 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_get_pmc_value() local
124 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_get_counter_value()
134 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_set_pmc_value() local
165 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val) in kvm_pmu_set_counter_value()
194 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_stop_counter() local
214 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_init()
228 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_reset()
242 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_destroy()
251 u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
[all …]
Darch_timer.c58 static int nr_timers(struct kvm_vcpu *vcpu) in nr_timers()
68 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_ctl() local
87 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_cval() local
121 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_ctl() local
143 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_cval() local
178 void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) in get_timer_map()
226 struct kvm_vcpu *vcpu = *(struct kvm_vcpu **)dev_id; in kvm_arch_timer_handler() local
287 static bool vcpu_has_wfit_active(struct kvm_vcpu *vcpu) in vcpu_has_wfit_active()
293 static u64 wfit_delay_ns(struct kvm_vcpu *vcpu) in wfit_delay_ns()
308 static u64 kvm_timer_earliest_exp(struct kvm_vcpu *vcpu) in kvm_timer_earliest_exp()
[all …]
Dvgic-sys-reg-v3.c13 static int set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_ctlr()
59 static int get_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_ctlr()
87 static int set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_pmr()
99 static int get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_pmr()
110 static int set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr0()
122 static int get_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr0()
133 static int set_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr1()
147 static int get_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr1()
162 static int set_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_grpen0()
174 static int get_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_grpen0()
[all …]
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c295 int svm_set_efer(struct kvm_vcpu *vcpu, u64 efer) in svm_set_efer()
347 static u32 svm_get_interrupt_shadow(struct kvm_vcpu *vcpu) in svm_get_interrupt_shadow()
357 static void svm_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask) in svm_set_interrupt_shadow()
370 static int __svm_skip_emulated_instruction(struct kvm_vcpu *vcpu, in __svm_skip_emulated_instruction()
416 static int svm_skip_emulated_instruction(struct kvm_vcpu *vcpu) in svm_skip_emulated_instruction()
421 static int svm_update_soft_interrupt_rip(struct kvm_vcpu *vcpu) in svm_update_soft_interrupt_rip()
466 static void svm_inject_exception(struct kvm_vcpu *vcpu) in svm_inject_exception()
508 static void svm_init_osvw(struct kvm_vcpu *vcpu) in svm_init_osvw()
785 static void set_shadow_msr_intercept(struct kvm_vcpu *vcpu, u32 msr, int read, in set_shadow_msr_intercept()
811 static bool msr_write_intercepted(struct kvm_vcpu *vcpu, u32 msr) in msr_write_intercepted()
[all …]
/linux-6.6.21/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()
84 static __always_inline bool kvm_register_test_and_mark_available(struct kvm_vcpu *vcpu, in kvm_register_test_and_mark_available()
95 static inline unsigned long kvm_register_read_raw(struct kvm_vcpu *vcpu, int reg) in kvm_register_read_raw()
106 static inline void kvm_register_write_raw(struct kvm_vcpu *vcpu, int reg, in kvm_register_write_raw()
116 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
121 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
126 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read()
131 static inline void kvm_rsp_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rsp_write()
[all …]
Dcpuid.h40 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr()
45 static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_legal_gpa()
50 static inline bool kvm_vcpu_is_illegal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_illegal_gpa()
55 static inline bool kvm_vcpu_is_legal_aligned_gpa(struct kvm_vcpu *vcpu, in kvm_vcpu_is_legal_aligned_gpa()
61 static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) in page_address_valid()
75 static __always_inline u32 *guest_cpuid_get_register(struct kvm_vcpu *vcpu, in guest_cpuid_get_register()
88 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, in guest_cpuid_has()
100 static __always_inline void guest_cpuid_clear(struct kvm_vcpu *vcpu, in guest_cpuid_clear()
110 static inline bool guest_cpuid_is_amd_or_hygon(struct kvm_vcpu *vcpu) in guest_cpuid_is_amd_or_hygon()
120 static inline bool guest_cpuid_is_intel(struct kvm_vcpu *vcpu) in guest_cpuid_is_intel()
[all …]
Dx86.c355 static inline void kvm_async_pf_hash_reset(struct kvm_vcpu *vcpu) in kvm_async_pf_hash_reset()
474 u64 kvm_get_apic_base(struct kvm_vcpu *vcpu) in kvm_get_apic_base()
479 enum lapic_mode kvm_get_apic_mode(struct kvm_vcpu *vcpu) in kvm_get_apic_mode()
485 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info) in kvm_set_apic_base()
573 void kvm_deliver_exception_payload(struct kvm_vcpu *vcpu, in kvm_deliver_exception_payload()
625 static void kvm_queue_exception_vmexit(struct kvm_vcpu *vcpu, unsigned int vector, in kvm_queue_exception_vmexit()
641 static void kvm_leave_nested(struct kvm_vcpu *vcpu) in kvm_leave_nested()
646 static void kvm_multiple_exception(struct kvm_vcpu *vcpu, in kvm_multiple_exception()
731 void kvm_queue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_queue_exception()
737 void kvm_requeue_exception(struct kvm_vcpu *vcpu, unsigned nr) in kvm_requeue_exception()
[all …]
Dx86.h95 static inline bool kvm_vcpu_has_run(struct kvm_vcpu *vcpu) in kvm_vcpu_has_run()
100 static inline bool kvm_is_exception_pending(struct kvm_vcpu *vcpu) in kvm_is_exception_pending()
107 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
114 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
122 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
127 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
138 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
143 static inline bool is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
152 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
164 static inline bool is_64_bit_hypercall(struct kvm_vcpu *vcpu) in is_64_bit_hypercall()
[all …]
/linux-6.6.21/include/kvm/
Darm_pmu.h79 #define kvm_vcpu_has_pmu(vcpu) \ argument
87 #define kvm_pmu_update_vcpu_events(vcpu) \ argument
96 #define kvm_pmu_is_3p5(vcpu) ({ \ argument
115 static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_counter_value()
120 static inline void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_set_counter_value()
122 static inline u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
126 static inline void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_init()
127 static inline void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_reset()
128 static inline void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_destroy()
129 static inline void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_disable_counter_mask()
[all …]
/linux-6.6.21/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-6.6.21/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 …]
/linux-6.6.21/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 bool should_handle_per_event(const struct kvm_vcpu *vcpu) in should_handle_per_event()
246 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog()
302 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
[all …]
Dpriv.c32 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()
53 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs()
73 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3()
83 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
122 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
160 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
190 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
216 int kvm_s390_skey_check_enable(struct kvm_vcpu *vcpu) in kvm_s390_skey_check_enable()
240 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) \ argument
61 static inline void kvm_s390_set_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_set_cpuflags()
66 static inline void kvm_s390_clear_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_clear_cpuflags()
71 static inline bool kvm_s390_test_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_test_cpuflags()
76 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
81 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
98 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
103 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) in kvm_s390_set_prefix()
112 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, u8 *ar) in kvm_s390_get_base_disp_s()
[all …]
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dsys_regs.c35 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64()
86 static u64 get_pvm_id_aa64pfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr0()
97 static u64 get_pvm_id_aa64pfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr1()
108 static u64 get_pvm_id_aa64zfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64zfr0()
118 static u64 get_pvm_id_aa64dfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr0()
128 static u64 get_pvm_id_aa64dfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr1()
138 static u64 get_pvm_id_aa64afr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr0()
148 static u64 get_pvm_id_aa64afr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr1()
158 static u64 get_pvm_id_aa64isar0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar0()
163 static u64 get_pvm_id_aa64isar1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar1()
[all …]
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c388 static void vmx_update_fb_clear_dis(struct kvm_vcpu *vcpu, struct vcpu_vmx *vmx) in vmx_update_fb_clear_dis()
532 static int hv_enable_l2_tlb_flush(struct kvm_vcpu *vcpu) in hv_enable_l2_tlb_flush()
672 static inline bool cpu_need_virtualize_apic_accesses(struct kvm_vcpu *vcpu) in cpu_need_virtualize_apic_accesses()
881 void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu) in vmx_update_exception_bitmap()
1193 static inline bool pt_output_base_valid(struct kvm_vcpu *vcpu, u64 base) in pt_output_base_valid()
1289 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu) in vmx_prepare_switch_to_guest()
1422 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu, in vmx_vcpu_load_vmcs()
1493 static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in vmx_vcpu_load()
1504 static void vmx_vcpu_put(struct kvm_vcpu *vcpu) in vmx_vcpu_put()
1511 bool vmx_emulation_required(struct kvm_vcpu *vcpu) in vmx_emulation_required()
[all …]
Dnested.c152 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
160 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
169 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
188 static int nested_vmx_fail(struct kvm_vcpu *vcpu, u32 vm_instruction_error) in nested_vmx_fail()
203 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
227 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
265 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
294 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
343 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
358 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr()
[all …]
/linux-6.6.21/arch/arm64/kvm/hyp/include/hyp/
Dswitch.h42 static inline bool guest_owns_fp_regs(struct kvm_vcpu *vcpu) in guest_owns_fp_regs()
48 static inline void __fpsimd_save_fpexc32(struct kvm_vcpu *vcpu) in __fpsimd_save_fpexc32()
56 static inline void __activate_traps_fpsimd32(struct kvm_vcpu *vcpu) in __activate_traps_fpsimd32()
73 #define compute_clr_set(vcpu, reg, clr, set) \ argument
82 static inline void __activate_traps_hfgxtr(struct kvm_vcpu *vcpu) in __activate_traps_hfgxtr()
157 static inline void __deactivate_traps_hfgxtr(struct kvm_vcpu *vcpu) in __deactivate_traps_hfgxtr()
175 static inline void __activate_traps_common(struct kvm_vcpu *vcpu) in __activate_traps_common()
217 static inline void __deactivate_traps_common(struct kvm_vcpu *vcpu) in __deactivate_traps_common()
236 static inline void ___activate_traps(struct kvm_vcpu *vcpu) in ___activate_traps()
249 static inline void ___deactivate_traps(struct kvm_vcpu *vcpu) in ___deactivate_traps()
[all …]

12345678910>>...15