/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_emulate.h | 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() 170 static inline void vcpu_set_thumb(struct kvm_vcpu *vcpu) in vcpu_set_thumb() 204 static inline bool vcpu_is_el2(const struct kvm_vcpu *vcpu) in vcpu_is_el2() 244 static inline bool is_hyp_ctxt(const struct kvm_vcpu *vcpu) in is_hyp_ctxt() 471 static inline void kvm_vcpu_set_be(struct kvm_vcpu *vcpu) in kvm_vcpu_set_be() [all …]
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu.c | 45 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() 193 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable() 204 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel() 217 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_async_ioctl() local 238 struct kvm_vcpu *vcpu = filp->private_data; in kvm_arch_vcpu_ioctl() local [all …]
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | booke.c | 90 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() 334 void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_queue_dec() 339 int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu) in kvmppc_core_pending_dec() 344 void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_dequeue_dec() 376 void kvmppc_core_queue_debug(struct kvm_vcpu *vcpu) in kvmppc_core_queue_debug() 760 int kvmppc_vcpu_run(struct kvm_vcpu *vcpu) in kvmppc_vcpu_run() 830 static int emulation_exit(struct kvm_vcpu *vcpu) in emulation_exit() 1509 static void get_sregs_base(struct kvm_vcpu *vcpu, in get_sregs_base() 1528 static int set_sregs_base(struct kvm_vcpu *vcpu, in set_sregs_base() [all …]
|
H A D | book3s.c | 198 void kvmppc_core_queue_syscall(struct kvm_vcpu *vcpu) in kvmppc_core_queue_syscall() 229 void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_queue_dec() 235 int kvmppc_core_pending_dec(struct kvm_vcpu *vcpu) in kvmppc_core_pending_dec() 241 void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu) in kvmppc_core_dequeue_dec() 492 int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, in kvmppc_load_last_inst() 523 int kvmppc_subarch_vcpu_init(struct kvm_vcpu *vcpu) in kvmppc_subarch_vcpu_init() 799 void kvmppc_core_vcpu_put(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put() 804 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 msr) in kvmppc_set_msr() 810 int kvmppc_vcpu_run(struct kvm_vcpu *vcpu) in kvmppc_vcpu_run() 836 int kvmppc_core_vcpu_create(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_create() [all …]
|
H A D | book3s_pr.c | 67 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() 192 void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_to_svcpu() 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() 352 void kvmppc_restore_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_restore_tm_sprs() 383 void kvmppc_save_tm_pr(struct kvm_vcpu *vcpu) in kvmppc_save_tm_pr() 398 void kvmppc_restore_tm_pr(struct kvm_vcpu *vcpu) in kvmppc_restore_tm_pr() 438 struct kvm_vcpu *vcpu; in do_kvm_unmap_gfn() local 1874 struct kvm_vcpu *vcpu; in kvm_vm_ioctl_get_dirty_log_pr() local [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_cache_regs.h | 59 static inline bool kvm_register_is_dirty(struct kvm_vcpu *vcpu, in kvm_register_is_dirty() 71 static inline void kvm_register_mark_dirty(struct kvm_vcpu *vcpu, in kvm_register_mark_dirty() 116 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read() 126 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read() 168 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0() 190 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3() 197 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4() 202 static inline u64 kvm_read_edx_eax(struct kvm_vcpu *vcpu) in kvm_read_edx_eax() 208 static inline void enter_guest_mode(struct kvm_vcpu *vcpu) in enter_guest_mode() 214 static inline void leave_guest_mode(struct kvm_vcpu *vcpu) in leave_guest_mode() [all …]
|
H A D | cpuid.h | 40 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr() 88 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, in guest_cpuid_has() 120 static inline bool guest_cpuid_is_intel(struct kvm_vcpu *vcpu) in guest_cpuid_is_intel() 138 static inline int guest_cpuid_family(struct kvm_vcpu *vcpu) in guest_cpuid_family() 149 static inline int guest_cpuid_model(struct kvm_vcpu *vcpu) in guest_cpuid_model() 165 static inline int guest_cpuid_stepping(struct kvm_vcpu *vcpu) in guest_cpuid_stepping() 176 static inline bool guest_has_spec_ctrl_msr(struct kvm_vcpu *vcpu) in guest_has_spec_ctrl_msr() 184 static inline bool guest_has_pred_cmd_msr(struct kvm_vcpu *vcpu) in guest_has_pred_cmd_msr() 190 static inline bool supports_cpuid_fault(struct kvm_vcpu *vcpu) in supports_cpuid_fault() 195 static inline bool cpuid_fault_enabled(struct kvm_vcpu *vcpu) in cpuid_fault_enabled() [all …]
|
H A D | x86.h | 95 static inline bool kvm_vcpu_has_run(struct kvm_vcpu *vcpu) in kvm_vcpu_has_run() 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() 183 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested() 188 static inline bool is_pae(struct kvm_vcpu *vcpu) in is_pae() 193 static inline bool is_pse(struct kvm_vcpu *vcpu) in is_pse() 198 static inline bool is_paging(struct kvm_vcpu *vcpu) in is_paging() 203 static inline bool is_pae_paging(struct kvm_vcpu *vcpu) in is_pae_paging() [all …]
|
H A D | x86.c | 3008 struct kvm_vcpu *vcpu; in kvm_end_pvclock_update() local 3270 struct kvm_vcpu *vcpu; in kvmclock_update_fn() local 6267 struct kvm_vcpu *vcpu; in kvm_arch_sync_dirty_log() local 6685 struct kvm_vcpu *vcpu; in kvm_arch_suspend_notifier() local 7660 struct kvm_vcpu *vcpu, in emulator_read_write_onepage() 9241 struct kvm_vcpu *vcpu; in __kvmclock_cpufreq_notifier() local 9372 struct kvm_vcpu *vcpu; in pvclock_gtod_update_fn() local 11657 struct kvm_vcpu *vcpu; in kvm_arch_vcpu_guestdbg_update_apicv_inhibit() local 12196 struct kvm_vcpu *vcpu; in kvm_arch_hardware_enable() local 12404 struct kvm_vcpu *vcpu; in kvm_unload_vcpu_mmus() local [all …]
|
/openbmc/linux/include/kvm/ |
H A D | arm_pmu.h | 79 #define kvm_vcpu_has_pmu(vcpu) \ argument 87 #define kvm_pmu_update_vcpu_events(vcpu) \ argument 96 #define kvm_pmu_is_3p5(vcpu) ({ \ argument 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() 137 static inline void kvm_pmu_update_run(struct kvm_vcpu *vcpu) {} in kvm_pmu_update_run() 142 static inline int kvm_arm_pmu_v3_set_attr(struct kvm_vcpu *vcpu, in kvm_arm_pmu_v3_set_attr() 147 static inline int kvm_arm_pmu_v3_get_attr(struct kvm_vcpu *vcpu, in kvm_arm_pmu_v3_get_attr() 157 static inline int kvm_arm_pmu_v3_enable(struct kvm_vcpu *vcpu) in kvm_arm_pmu_v3_enable() 166 #define kvm_vcpu_has_pmu(vcpu) ({ false; }) argument [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | sys_regs.c | 182 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw() 197 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw() 370 static bool trap_undef(struct kvm_vcpu *vcpu, in trap_undef() 534 static bool trap_bvr(struct kvm_vcpu *vcpu, in trap_bvr() 564 static u64 reset_bvr(struct kvm_vcpu *vcpu, in reset_bvr() 571 static bool trap_bcr(struct kvm_vcpu *vcpu, in trap_bcr() 601 static u64 reset_bcr(struct kvm_vcpu *vcpu, in reset_bcr() 608 static bool trap_wvr(struct kvm_vcpu *vcpu, in trap_wvr() 639 static u64 reset_wvr(struct kvm_vcpu *vcpu, in reset_wvr() 646 static bool trap_wcr(struct kvm_vcpu *vcpu, in trap_wcr() [all …]
|
H A D | handle_exit.c | 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() 244 static int handle_svc(struct kvm_vcpu *vcpu) in handle_svc() [all …]
|
H A D | pmu-emul.c | 99 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_get_pmc_value() local 134 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_set_pmc_value() local 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() 372 void kvm_pmu_update_run(struct kvm_vcpu *vcpu) in kvm_pmu_update_run() 413 struct kvm_vcpu *vcpu; in kvm_pmu_perf_overflow_notify_vcpu() local 486 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_perf_overflow() local 571 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_counter_is_enabled() local 582 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_create_perf_event() local [all …]
|
H A D | inject_fault.c | 18 static void pend_sync_exception(struct kvm_vcpu *vcpu) in pend_sync_exception() 52 static bool match_target_el(struct kvm_vcpu *vcpu, unsigned long target) in match_target_el() 95 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64() 119 static void inject_undef32(struct kvm_vcpu *vcpu) in inject_undef32() 128 static void inject_abt32(struct kvm_vcpu *vcpu, bool is_pabt, u32 addr) in inject_abt32() 166 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_dabt() 182 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_pabt() 190 void kvm_inject_size_fault(struct kvm_vcpu *vcpu) in kvm_inject_size_fault() 225 void kvm_inject_undefined(struct kvm_vcpu *vcpu) in kvm_inject_undefined() 233 void kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_set_sei_esr() [all …]
|
H A D | vgic-sys-reg-v3.c | 13 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() 208 static void set_apr_reg(struct kvm_vcpu *vcpu, u64 val, u8 apr, u8 idx) in set_apr_reg() 218 static u64 get_apr_reg(struct kvm_vcpu *vcpu, u8 apr, u8 idx) in get_apr_reg() [all …]
|
H A D | arch_timer.c | 58 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 293 static u64 wfit_delay_ns(struct kvm_vcpu *vcpu) in wfit_delay_ns() 334 struct kvm_vcpu *vcpu; in kvm_bg_timer_expire() local 358 struct kvm_vcpu *vcpu; in kvm_hrtimer_expire() local 658 struct kvm_vcpu *vcpu = ctx->vcpu; in kvm_timer_vcpu_load_gic() local 878 void kvm_timer_vcpu_put(struct kvm_vcpu *vcpu) in kvm_timer_vcpu_put() [all …]
|
H A D | psci.c | 34 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 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() 240 static int kvm_psci_0_2_call(struct kvm_vcpu *vcpu) in kvm_psci_0_2_call() 403 static int kvm_psci_0_1_call(struct kvm_vcpu *vcpu) in kvm_psci_0_1_call() [all …]
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 297 int svm_set_efer(struct kvm_vcpu *vcpu, u64 efer) in svm_set_efer() 510 static void svm_init_osvw(struct kvm_vcpu *vcpu) in svm_init_osvw() 1012 void svm_enable_lbrv(struct kvm_vcpu *vcpu) in svm_enable_lbrv() 1061 void svm_update_lbrv(struct kvm_vcpu *vcpu) in svm_update_lbrv() 1251 static void init_vmcb(struct kvm_vcpu *vcpu) in init_vmcb() 1803 static int svm_get_cpl(struct kvm_vcpu *vcpu) in svm_get_cpl() 2724 static int cr_trap(struct kvm_vcpu *vcpu) in cr_trap() 2816 static int efer_trap(struct kvm_vcpu *vcpu) in efer_trap() 3349 static void dump_vmcb(struct kvm_vcpu *vcpu) in dump_vmcb() 3765 bool svm_nmi_blocked(struct kvm_vcpu *vcpu) in svm_nmi_blocked() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_booke.h | 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() 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() 77 static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) in kvmppc_get_lr() 87 static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) in kvmppc_get_pc() [all …]
|
/openbmc/linux/arch/s390/kvm/ |
H A D | intercept.c | 25 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() 211 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb() 246 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog() 358 static int handle_mvpg_pei(struct kvm_vcpu *vcpu) in handle_mvpg_pei() 405 int handle_sthyi(struct kvm_vcpu *vcpu) in handle_sthyi() 462 static int handle_operexc(struct kvm_vcpu *vcpu) in handle_operexc() 498 static int handle_pv_spx(struct kvm_vcpu *vcpu) in handle_pv_spx() 507 static int handle_pv_sclp(struct kvm_vcpu *vcpu) in handle_pv_sclp() [all …]
|
H A D | priv.c | 32 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() 256 static int handle_iske(struct kvm_vcpu *vcpu) in handle_iske() 304 static int handle_rrbe(struct kvm_vcpu *vcpu) in handle_rrbe() 353 static int handle_sske(struct kvm_vcpu *vcpu) in handle_sske() 480 static int handle_tpi(struct kvm_vcpu *vcpu) in handle_tpi() 546 static int handle_tsch(struct kvm_vcpu *vcpu) in handle_tsch() 623 static int handle_pqap(struct kvm_vcpu *vcpu) in handle_pqap() [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | sys_regs.c | 35 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() 208 u64 pvm_read_id_reg(const struct kvm_vcpu *vcpu, u32 id) in pvm_read_id_reg() 243 static u64 read_id_reg(const struct kvm_vcpu *vcpu, in read_id_reg() 265 static bool pvm_access_id_aarch32(struct kvm_vcpu *vcpu, in pvm_access_id_aarch32() 291 static bool pvm_access_id_aarch64(struct kvm_vcpu *vcpu, in pvm_access_id_aarch64() [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/ |
H A D | switch.h | 42 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() 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() 263 static inline bool __populate_fault_info(struct kvm_vcpu *vcpu) in __populate_fault_info() 343 static inline bool handle_tx2_tvm(struct kvm_vcpu *vcpu) in handle_tx2_tvm() 452 static bool kvm_hyp_handle_cntpct(struct kvm_vcpu *vcpu) in kvm_hyp_handle_cntpct() [all …]
|
/openbmc/linux/arch/mips/kvm/ |
H A D | vz.c | 444 void kvm_vz_acquire_htimer(struct kvm_vcpu *vcpu) in kvm_vz_acquire_htimer() 547 void kvm_vz_lose_htimer(struct kvm_vcpu *vcpu) in kvm_vz_lose_htimer() 877 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_cop0() 1076 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_cache() 1145 struct kvm_vcpu *vcpu) in kvm_vz_gpsi_lwc2() 1213 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_gpsi() 1295 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_gsfc() 1421 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_ghfc() 1433 struct kvm_vcpu *vcpu) in kvm_trap_vz_handle_hc() 1465 struct kvm_vcpu *vcpu) in kvm_trap_vz_no_handler_guest_exit() [all …]
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 3253 void ept_save_pdptrs(struct kvm_vcpu *vcpu) in ept_save_pdptrs() 3549 int vmx_get_cpl(struct kvm_vcpu *vcpu) in vmx_get_cpl() 3750 static bool tr_valid(struct kvm_vcpu *vcpu) in tr_valid() 4284 struct kvm_vcpu *vcpu = apic->vcpu; in vmx_deliver_interrupt() local 4371 struct kvm_vcpu *vcpu = &vmx->vcpu; in set_cr4_guest_host_mask() local 4598 struct kvm_vcpu *vcpu = &vmx->vcpu; in vmx_secondary_exec_control() local 5028 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu) in vmx_nmi_blocked() 5368 static int handle_io(struct kvm_vcpu *vcpu) in handle_io() 5456 static int handle_cr(struct kvm_vcpu *vcpu) in handle_cr() 5536 static int handle_dr(struct kvm_vcpu *vcpu) in handle_dr() [all …]
|