Home
last modified time | relevance | path

Searched defs:vcpu (Results 26 – 50 of 385) sorted by relevance

12345678910>>...16

/openbmc/linux/arch/mips/kvm/
H A 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 …]
H A Dmips.c113 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
118 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
123 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
263 struct kvm_vcpu *vcpu; in kvm_mips_comparecount_wakeup() local
280 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
389 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
401 int kvm_arch_vcpu_ioctl_set_guest_debug(struct kvm_vcpu *vcpu, in kvm_arch_vcpu_ioctl_set_guest_debug()
414 static int noinstr kvm_mips_vcpu_enter_exit(struct kvm_vcpu *vcpu) in kvm_mips_vcpu_enter_exit()
425 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_ioctl_run()
482 int kvm_vcpu_ioctl_interrupt(struct kvm_vcpu *vcpu, in kvm_vcpu_ioctl_interrupt()
[all …]
/openbmc/linux/arch/arm64/kvm/
H A Dpsci.c34 static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_suspend()
54 static inline bool kvm_psci_valid_affinity(struct kvm_vcpu *vcpu, in kvm_psci_valid_affinity()
64 struct kvm_vcpu *vcpu = NULL; in kvm_psci_vcpu_on() local
121 static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_affinity_info()
164 static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type, u64 flags) in kvm_prepare_system_event()
192 static void kvm_psci_system_off(struct kvm_vcpu *vcpu) in kvm_psci_system_off()
197 static void kvm_psci_system_reset(struct kvm_vcpu *vcpu) in kvm_psci_system_reset()
202 static void kvm_psci_system_reset2(struct kvm_vcpu *vcpu) in kvm_psci_system_reset2()
208 static void kvm_psci_system_suspend(struct kvm_vcpu *vcpu) in kvm_psci_system_suspend()
217 static void kvm_psci_narrow_to_32bit(struct kvm_vcpu *vcpu) in kvm_psci_narrow_to_32bit()
[all …]
H A Dguest.c76 static int core_reg_size_from_offset(const struct kvm_vcpu *vcpu, u64 off) in core_reg_size_from_offset()
121 static void *core_reg_addr(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in core_reg_addr()
186 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
215 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
313 static int get_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_vls()
337 static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_vls()
405 #define vcpu_sve_slices(vcpu) 1 argument
419 struct kvm_vcpu *vcpu, in sve_reg_to_region()
485 static int get_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_reg()
511 static int set_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_reg()
[all …]
H A Ddebug.c40 static void save_guest_debug_regs(struct kvm_vcpu *vcpu) in save_guest_debug_regs()
53 static void restore_guest_debug_regs(struct kvm_vcpu *vcpu) in restore_guest_debug_regs()
96 static void kvm_arm_setup_mdcr_el2(struct kvm_vcpu *vcpu) in kvm_arm_setup_mdcr_el2()
137 void kvm_arm_vcpu_init_debug(struct kvm_vcpu *vcpu) in kvm_arm_vcpu_init_debug()
148 void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) in kvm_arm_reset_debug_ptr()
169 void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) in kvm_arm_setup_debug()
280 void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) in kvm_arm_clear_debug()
317 void kvm_arch_vcpu_load_debug_state_flags(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_load_debug_state_flags()
340 void kvm_arch_vcpu_put_debug_state_flags(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put_debug_state_flags()
H A Darm.c66 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
187 vm_fault_t kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault()
353 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
397 void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_postcreate()
401 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
410 void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_blocking()
415 void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_unblocking()
420 void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in kvm_arch_vcpu_load()
466 void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_put()
481 static void __kvm_arm_vcpu_power_off(struct kvm_vcpu *vcpu) in __kvm_arm_vcpu_power_off()
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c153 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
161 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
170 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
189 static int nested_vmx_fail(struct kvm_vcpu *vcpu, u32 vm_instruction_error) in nested_vmx_fail()
204 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
228 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
266 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
295 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
344 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
359 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr()
[all …]
H A Dnested.h39 static inline struct vmcs12 *get_vmcs12(struct kvm_vcpu *vcpu) in get_vmcs12()
44 static inline struct vmcs12 *get_shadow_vmcs12(struct kvm_vcpu *vcpu) in get_shadow_vmcs12()
54 static inline int vmx_has_valid_vmcs12(struct kvm_vcpu *vcpu) in vmx_has_valid_vmcs12()
63 static inline u16 nested_get_vpid02(struct kvm_vcpu *vcpu) in nested_get_vpid02()
70 static inline unsigned long nested_ept_get_eptp(struct kvm_vcpu *vcpu) in nested_ept_get_eptp()
76 static inline bool nested_ept_ad_enabled(struct kvm_vcpu *vcpu) in nested_ept_ad_enabled()
98 static inline unsigned nested_cpu_vmx_misc_cr3_count(struct kvm_vcpu *vcpu) in nested_cpu_vmx_misc_cr3_count()
108 static inline bool nested_cpu_has_vmwrite_any_field(struct kvm_vcpu *vcpu) in nested_cpu_has_vmwrite_any_field()
114 static inline bool nested_cpu_has_zero_length_injection(struct kvm_vcpu *vcpu) in nested_cpu_has_zero_length_injection()
119 static inline bool nested_cpu_supports_monitor_trap_flag(struct kvm_vcpu *vcpu) in nested_cpu_supports_monitor_trap_flag()
[all …]
H A Dpmu_intel.c128 static bool intel_is_valid_rdpmc_ecx(struct kvm_vcpu *vcpu, unsigned int idx) in intel_is_valid_rdpmc_ecx()
139 static struct kvm_pmc *intel_rdpmc_ecx_to_pmc(struct kvm_vcpu *vcpu, in intel_rdpmc_ecx_to_pmc()
161 static inline u64 vcpu_get_perf_capabilities(struct kvm_vcpu *vcpu) in vcpu_get_perf_capabilities()
169 static inline bool fw_writes_is_enabled(struct kvm_vcpu *vcpu) in fw_writes_is_enabled()
182 static bool intel_pmu_is_valid_lbr_msr(struct kvm_vcpu *vcpu, u32 index) in intel_pmu_is_valid_lbr_msr()
200 static bool intel_is_valid_msr(struct kvm_vcpu *vcpu, u32 msr) in intel_is_valid_msr()
231 static struct kvm_pmc *intel_msr_idx_to_pmc(struct kvm_vcpu *vcpu, u32 msr) in intel_msr_idx_to_pmc()
243 static inline void intel_pmu_release_guest_lbr_event(struct kvm_vcpu *vcpu) in intel_pmu_release_guest_lbr_event()
254 int intel_pmu_create_guest_lbr_event(struct kvm_vcpu *vcpu) in intel_pmu_create_guest_lbr_event()
311 static bool intel_pmu_handle_lbr_msrs_access(struct kvm_vcpu *vcpu, in intel_pmu_handle_lbr_msrs_access()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dhyperv.h62 static inline struct kvm_vcpu_hv *to_hv_vcpu(struct kvm_vcpu *vcpu) in to_hv_vcpu()
67 static inline struct kvm_vcpu_hv_synic *to_hv_synic(struct kvm_vcpu *vcpu) in to_hv_synic()
81 static inline struct kvm_hv_syndbg *to_hv_syndbg(struct kvm_vcpu *vcpu) in to_hv_syndbg()
86 static inline u32 kvm_hv_get_vpindex(struct kvm_vcpu *vcpu) in kvm_hv_get_vpindex()
96 static inline bool kvm_hv_hypercall_enabled(struct kvm_vcpu *vcpu) in kvm_hv_hypercall_enabled()
113 static inline struct kvm_vcpu_hv_stimer *to_hv_stimer(struct kvm_vcpu *vcpu, in to_hv_stimer()
128 static inline bool kvm_hv_has_stimer_pending(struct kvm_vcpu *vcpu) in kvm_hv_has_stimer_pending()
143 static inline bool kvm_hv_invtsc_suppressed(struct kvm_vcpu *vcpu) in kvm_hv_invtsc_suppressed()
181 static inline struct kvm_vcpu_hv_tlb_flush_fifo *kvm_hv_get_tlb_flush_fifo(struct kvm_vcpu *vcpu, in kvm_hv_get_tlb_flush_fifo()
191 static inline void kvm_hv_vcpu_purge_flush_tlb(struct kvm_vcpu *vcpu) in kvm_hv_vcpu_purge_flush_tlb()
[all …]
H A Dxen.h40 static inline void kvm_xen_sw_enable_lapic(struct kvm_vcpu *vcpu) in kvm_xen_sw_enable_lapic()
66 static inline int kvm_xen_has_interrupt(struct kvm_vcpu *vcpu) in kvm_xen_has_interrupt()
76 static inline bool kvm_xen_has_pending_events(struct kvm_vcpu *vcpu) in kvm_xen_has_pending_events()
82 static inline bool kvm_xen_timer_enabled(struct kvm_vcpu *vcpu) in kvm_xen_timer_enabled()
87 static inline int kvm_xen_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_xen_has_pending_timer()
97 static inline int kvm_xen_write_hypercall_page(struct kvm_vcpu *vcpu, u64 data) in kvm_xen_write_hypercall_page()
110 static inline void kvm_xen_init_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_init_vcpu()
114 static inline void kvm_xen_destroy_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_destroy_vcpu()
118 static inline void kvm_xen_sw_enable_lapic(struct kvm_vcpu *vcpu) in kvm_xen_sw_enable_lapic()
132 static inline int kvm_xen_has_interrupt(struct kvm_vcpu *vcpu) in kvm_xen_has_interrupt()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c39 static void __activate_cptr_traps(struct kvm_vcpu *vcpu) in __activate_cptr_traps()
75 static void __deactivate_cptr_traps(struct kvm_vcpu *vcpu) in __deactivate_cptr_traps()
98 static void __activate_traps(struct kvm_vcpu *vcpu) in __activate_traps()
121 static void __deactivate_traps(struct kvm_vcpu *vcpu) in __deactivate_traps()
153 static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu) in __hyp_vgic_save_state()
162 static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu) in __hyp_vgic_restore_state()
174 static bool __pmu_switch_to_guest(struct kvm_vcpu *vcpu) in __pmu_switch_to_guest()
190 static void __pmu_switch_to_host(struct kvm_vcpu *vcpu) in __pmu_switch_to_host()
211 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64()
245 static const exit_handler_fn *kvm_get_exit_handler_array(struct kvm_vcpu *vcpu) in kvm_get_exit_handler_array()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c46 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer); in kvm_riscv_vcpu_hrtimer_expired() local
72 static int kvm_riscv_vcpu_update_vstimecmp(struct kvm_vcpu *vcpu, u64 ncycles) in kvm_riscv_vcpu_update_vstimecmp()
83 static int kvm_riscv_vcpu_update_hrtimer(struct kvm_vcpu *vcpu, u64 ncycles) in kvm_riscv_vcpu_update_hrtimer()
102 int kvm_riscv_vcpu_timer_next_event(struct kvm_vcpu *vcpu, u64 ncycles) in kvm_riscv_vcpu_timer_next_event()
113 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer); in kvm_riscv_vcpu_vstimer_expired() local
128 bool kvm_riscv_vcpu_timer_pending(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_pending()
140 static void kvm_riscv_vcpu_timer_blocking(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_blocking()
154 static void kvm_riscv_vcpu_timer_unblocking(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_timer_unblocking()
159 int kvm_riscv_vcpu_get_reg_timer(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_timer()
199 int kvm_riscv_vcpu_set_reg_timer(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_timer()
[all …]
H A Dvcpu_onereg.c107 void kvm_riscv_vcpu_setup_isa(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_setup_isa()
119 static int kvm_riscv_vcpu_get_reg_config(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_config()
168 static int kvm_riscv_vcpu_set_reg_config(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_config()
272 static int kvm_riscv_vcpu_get_reg_core(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_core()
305 static int kvm_riscv_vcpu_set_reg_core(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_core()
340 static int kvm_riscv_vcpu_general_get_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_general_get_csr()
359 static int kvm_riscv_vcpu_general_set_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_general_set_csr()
381 static int kvm_riscv_vcpu_get_reg_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_get_reg_csr()
417 static int kvm_riscv_vcpu_set_reg_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_set_reg_csr()
453 static int riscv_vcpu_get_isa_ext_single(struct kvm_vcpu *vcpu, in riscv_vcpu_get_isa_ext_single()
[all …]
/openbmc/linux/arch/s390/kvm/
H A Dsigp.c20 static int __sigp_sense(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_sense()
44 static int __inject_sigp_emergency(struct kvm_vcpu *vcpu, in __inject_sigp_emergency()
61 static int __sigp_emergency(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_emergency()
66 static int __sigp_conditional_emergency(struct kvm_vcpu *vcpu, in __sigp_conditional_emergency()
93 static int __sigp_external_call(struct kvm_vcpu *vcpu, in __sigp_external_call()
115 static int __sigp_stop(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_stop()
132 static int __sigp_stop_and_store_status(struct kvm_vcpu *vcpu, in __sigp_stop_and_store_status()
151 static int __sigp_set_arch(struct kvm_vcpu *vcpu, u32 parameter, in __sigp_set_arch()
161 static int __sigp_set_prefix(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_set_prefix()
191 static int __sigp_store_status_at_addr(struct kvm_vcpu *vcpu, in __sigp_store_status_at_addr()
[all …]
H A 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 …]
H A Dinterrupt.c44 static int sca_ext_call_pending(struct kvm_vcpu *vcpu, int *src_id) in sca_ext_call_pending()
76 static int sca_inject_ext_call(struct kvm_vcpu *vcpu, int src_id) in sca_inject_ext_call()
119 static void sca_clear_ext_call(struct kvm_vcpu *vcpu) in sca_clear_ext_call()
150 int psw_extint_disabled(struct kvm_vcpu *vcpu) in psw_extint_disabled()
155 static int psw_ioint_disabled(struct kvm_vcpu *vcpu) in psw_ioint_disabled()
160 static int psw_mchk_disabled(struct kvm_vcpu *vcpu) in psw_mchk_disabled()
165 static int psw_interrupts_disabled(struct kvm_vcpu *vcpu) in psw_interrupts_disabled()
172 static int ckc_interrupts_enabled(struct kvm_vcpu *vcpu) in ckc_interrupts_enabled()
183 static int ckc_irq_pending(struct kvm_vcpu *vcpu) in ckc_irq_pending()
197 static int cpu_timer_interrupts_enabled(struct kvm_vcpu *vcpu) in cpu_timer_interrupts_enabled()
[all …]
H A Dkvm-s390.c304 struct kvm_vcpu *vcpu; in kvm_clock_sync() local
742 struct kvm_vcpu *vcpu; in icpt_operexc_on_all_vcpus() local
1008 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_crypto_reset_all() local
1092 static void kvm_s390_vcpu_pci_setup(struct kvm_vcpu *vcpu) in kvm_s390_vcpu_pci_setup()
1104 struct kvm_vcpu *vcpu; in kvm_s390_vcpu_pci_enable_interp() local
1131 struct kvm_vcpu *vcpu; in kvm_s390_sync_request_broadcast() local
2440 struct kvm_vcpu *vcpu; in kvm_s390_cpus_from_pv() local
2485 struct kvm_vcpu *vcpu; in kvm_s390_cpus_to_pv() local
3432 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
3488 static int __kvm_ucontrol_vcpu_init(struct kvm_vcpu *vcpu) in __kvm_ucontrol_vcpu_init()
[all …]
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic.c92 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, in vgic_get_irq()
152 void vgic_flush_pending_lpis(struct kvm_vcpu *vcpu) in vgic_flush_pending_lpis()
299 static void vgic_sort_ap_list(struct kvm_vcpu *vcpu) in vgic_sort_ap_list()
339 struct kvm_vcpu *vcpu; in vgic_queue_irq_unlock() local
442 struct kvm_vcpu *vcpu; in kvm_vgic_inject_irq() local
482 static int kvm_vgic_map_irq(struct kvm_vcpu *vcpu, struct vgic_irq *irq, in kvm_vgic_map_irq()
516 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq, in kvm_vgic_map_phys_irq()
542 void kvm_vgic_reset_mapped_irq(struct kvm_vcpu *vcpu, u32 vintid) in kvm_vgic_reset_mapped_irq()
559 int kvm_vgic_unmap_phys_irq(struct kvm_vcpu *vcpu, unsigned int vintid) in kvm_vgic_unmap_phys_irq()
578 int kvm_vgic_get_map(struct kvm_vcpu *vcpu, unsigned int vintid) in kvm_vgic_get_map()
[all …]
H A Dvgic-mmio.c19 unsigned long vgic_mmio_read_raz(struct kvm_vcpu *vcpu, in vgic_mmio_read_raz()
25 unsigned long vgic_mmio_read_rao(struct kvm_vcpu *vcpu, in vgic_mmio_read_rao()
31 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_wi()
37 int vgic_mmio_uaccess_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_uaccess_write_wi()
44 unsigned long vgic_mmio_read_group(struct kvm_vcpu *vcpu, in vgic_mmio_read_group()
69 void vgic_mmio_write_group(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_group()
96 unsigned long vgic_mmio_read_enable(struct kvm_vcpu *vcpu, in vgic_mmio_read_enable()
116 void vgic_mmio_write_senable(struct kvm_vcpu *vcpu, in vgic_mmio_write_senable()
165 void vgic_mmio_write_cenable(struct kvm_vcpu *vcpu, in vgic_mmio_write_cenable()
187 int vgic_uaccess_write_senable(struct kvm_vcpu *vcpu, in vgic_uaccess_write_senable()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dpowerpc.c55 bool kvm_arch_dy_runnable(struct kvm_vcpu *vcpu) in kvm_arch_dy_runnable()
60 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
65 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
79 int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu) in kvmppc_prepare_to_enter()
142 static void kvmppc_swab_shared(struct kvm_vcpu *vcpu) in kvmppc_swab_shared()
162 int kvmppc_kvm_pv(struct kvm_vcpu *vcpu) in kvmppc_kvm_pv()
253 int kvmppc_sanity_check(struct kvm_vcpu *vcpu) in kvmppc_sanity_check()
282 int kvmppc_emulate_mmio(struct kvm_vcpu *vcpu) in kvmppc_emulate_mmio()
348 int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, in kvmppc_st()
391 int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, in kvmppc_ld()
[all …]
H A Dtiming.h20 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type()
27 static inline void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_init_timing_stats()
28 static inline void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_update_timing_stats()
29 static inline int kvmppc_create_vcpu_debugfs_e500(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs_e500()
34 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type()
38 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit_stat()
93 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit()
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c36 static void nested_svm_inject_npf_exit(struct kvm_vcpu *vcpu, in nested_svm_inject_npf_exit()
59 static u64 nested_svm_get_tdp_pdptr(struct kvm_vcpu *vcpu, int index) in nested_svm_get_tdp_pdptr()
77 static unsigned long nested_svm_get_tdp_cr3(struct kvm_vcpu *vcpu) in nested_svm_get_tdp_cr3()
84 static void nested_svm_init_mmu_context(struct kvm_vcpu *vcpu) in nested_svm_init_mmu_context()
106 static void nested_svm_uninit_mmu_context(struct kvm_vcpu *vcpu) in nested_svm_uninit_mmu_context()
246 static bool nested_svm_check_bitmap_pa(struct kvm_vcpu *vcpu, u64 pa, u32 size) in nested_svm_check_bitmap_pa()
254 static bool __nested_vmcb_check_controls(struct kvm_vcpu *vcpu, in __nested_vmcb_check_controls()
282 static bool __nested_vmcb_check_save(struct kvm_vcpu *vcpu, in __nested_vmcb_check_save()
317 static bool nested_vmcb_check_save(struct kvm_vcpu *vcpu) in nested_vmcb_check_save()
325 static bool nested_vmcb_check_controls(struct kvm_vcpu *vcpu) in nested_vmcb_check_controls()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/
H A Dexception.c23 static inline u64 __vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in __vcpu_read_sys_reg()
35 static inline void __vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in __vcpu_write_sys_reg()
43 static void __vcpu_write_spsr(struct kvm_vcpu *vcpu, unsigned long target_mode, in __vcpu_write_spsr()
58 static void __vcpu_write_spsr_abt(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_abt()
66 static void __vcpu_write_spsr_und(struct kvm_vcpu *vcpu, u64 val) in __vcpu_write_spsr_und()
91 static void enter_exception64(struct kvm_vcpu *vcpu, unsigned long target_mode, in enter_exception64()
192 static unsigned long get_except32_cpsr(struct kvm_vcpu *vcpu, u32 mode) in get_except32_cpsr()
286 static void enter_exception32(struct kvm_vcpu *vcpu, u32 mode, u32 vect_offset) in enter_exception32()
319 static void kvm_inject_exception(struct kvm_vcpu *vcpu) in kvm_inject_exception()
365 void __kvm_adjust_pc(struct kvm_vcpu *vcpu) in __kvm_adjust_pc()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dresets.c60 static void test_one_reg(struct kvm_vcpu *vcpu, uint64_t id, uint64_t value) in test_one_reg()
68 static void assert_noirq(struct kvm_vcpu *vcpu) in assert_noirq()
85 static void assert_clear(struct kvm_vcpu *vcpu) in assert_clear()
112 static void assert_initial_noclear(struct kvm_vcpu *vcpu) in assert_initial_noclear()
129 static void assert_initial(struct kvm_vcpu *vcpu) in assert_initial()
172 static void assert_normal_noclear(struct kvm_vcpu *vcpu) in assert_normal_noclear()
182 static void assert_normal(struct kvm_vcpu *vcpu) in assert_normal()
190 static void inject_irq(struct kvm_vcpu *vcpu) in inject_irq()
205 static struct kvm_vm *create_vm(struct kvm_vcpu **vcpu) in create_vm()
218 struct kvm_vcpu *vcpu; in test_normal() local
[all …]

12345678910>>...16