/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_32_mmu.c | 40 static inline bool check_debug_ip(struct kvm_vcpu *vcpu) in check_debug_ip() 75 static u32 find_sr(struct kvm_vcpu *vcpu, gva_t eaddr) in find_sr() 80 static u64 kvmppc_mmu_book3s_32_ea_to_vp(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_ea_to_vp() 93 static hva_t kvmppc_mmu_book3s_32_get_pteg(struct kvm_vcpu *vcpu, in kvmppc_mmu_book3s_32_get_pteg() 127 static int kvmppc_mmu_book3s_32_xlate_bat(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate_bat() 182 static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate_pte() 290 static int kvmppc_mmu_book3s_32_xlate(struct kvm_vcpu *vcpu, gva_t eaddr, in kvmppc_mmu_book3s_32_xlate() 326 static u32 kvmppc_mmu_book3s_32_mfsrin(struct kvm_vcpu *vcpu, u32 srnum) in kvmppc_mmu_book3s_32_mfsrin() 331 static void kvmppc_mmu_book3s_32_mtsrin(struct kvm_vcpu *vcpu, u32 srnum, in kvmppc_mmu_book3s_32_mtsrin() 391 static bool kvmppc_mmu_book3s_32_is_dcbz32(struct kvm_vcpu *vcpu) in kvmppc_mmu_book3s_32_is_dcbz32() [all …]
|
H A D | book3s_32_mmu_host.c | 49 void kvmppc_mmu_invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in kvmppc_mmu_invalidate_pte() 66 static u16 kvmppc_sid_hash(struct kvm_vcpu *vcpu, u64 gvsid) in kvmppc_sid_hash() 79 static struct kvmppc_sid_map *find_sid_vsid(struct kvm_vcpu *vcpu, u64 gvsid) in find_sid_vsid() 106 static u32 *kvmppc_mmu_get_pteg(struct kvm_vcpu *vcpu, u32 vsid, u32 eaddr, in kvmppc_mmu_get_pteg() 130 int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte, in kvmppc_mmu_map_page() 258 void kvmppc_mmu_unmap_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte) in kvmppc_mmu_unmap_page() 263 static struct kvmppc_sid_map *create_sid_map(struct kvm_vcpu *vcpu, u64 gvsid) in create_sid_map() 302 int kvmppc_mmu_map_segment(struct kvm_vcpu *vcpu, ulong eaddr) in kvmppc_mmu_map_segment() 333 void kvmppc_mmu_flush_segments(struct kvm_vcpu *vcpu) in kvmppc_mmu_flush_segments() 345 void kvmppc_mmu_destroy_pr(struct kvm_vcpu *vcpu) in kvmppc_mmu_destroy_pr() [all …]
|
H A D | e500.h | 58 struct kvm_vcpu vcpu; member 100 static inline struct kvmppc_vcpu_e500 *to_e500(struct kvm_vcpu *vcpu) in to_e500() 208 static inline unsigned int get_cur_pid(struct kvm_vcpu *vcpu) in get_cur_pid() 213 static inline unsigned int get_cur_as(struct kvm_vcpu *vcpu) in get_cur_as() 218 static inline unsigned int get_cur_pr(struct kvm_vcpu *vcpu) in get_cur_pr() 228 static inline unsigned int get_cur_sas(const struct kvm_vcpu *vcpu) in get_cur_sas() 252 static inline int tlbe_is_host_safe(const struct kvm_vcpu *vcpu, in tlbe_is_host_safe() 288 #define get_tlbmiss_tid(vcpu) get_cur_pid(vcpu) argument 305 static inline int get_lpid(struct kvm_vcpu *vcpu) in get_lpid() 313 static inline unsigned int get_tlbmiss_tid(struct kvm_vcpu *vcpu) in get_tlbmiss_tid() [all …]
|
H A D | booke_emulate.c | 24 static void kvmppc_emul_rfi(struct kvm_vcpu *vcpu) in kvmppc_emul_rfi() 30 static void kvmppc_emul_rfdi(struct kvm_vcpu *vcpu) in kvmppc_emul_rfdi() 36 static void kvmppc_emul_rfci(struct kvm_vcpu *vcpu) in kvmppc_emul_rfci() 42 int kvmppc_booke_emulate_op(struct kvm_vcpu *vcpu, in kvmppc_booke_emulate_op() 120 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_booke_emulate_mtspr() 379 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) in kvmppc_booke_emulate_mfspr()
|
H A D | e500_emulate.c | 51 static int kvmppc_e500_emul_msgclr(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgclr() 63 static int kvmppc_e500_emul_msgsnd(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgsnd() 86 static int kvmppc_e500_emul_ehpriv(struct kvm_vcpu *vcpu, in kvmppc_e500_emul_ehpriv() 106 static int kvmppc_e500_emul_dcbtls(struct kvm_vcpu *vcpu) in kvmppc_e500_emul_dcbtls() 115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr() 128 int kvmppc_core_emulate_op_e500(struct kvm_vcpu *vcpu, in kvmppc_core_emulate_op_e500() 204 int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_e500() 321 int kvmppc_core_emulate_mfspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val) in kvmppc_core_emulate_mfspr_e500()
|
H A D | book3s_emulate.c | 70 static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) in spr_allowed() 84 static inline void kvmppc_copyto_vcpu_tm(struct kvm_vcpu *vcpu) in kvmppc_copyto_vcpu_tm() 103 static inline void kvmppc_copyfrom_vcpu_tm(struct kvm_vcpu *vcpu) in kvmppc_copyfrom_vcpu_tm() 122 static void kvmppc_emulate_treclaim(struct kvm_vcpu *vcpu, int ra_val) in kvmppc_emulate_treclaim() 168 static void kvmppc_emulate_trchkpt(struct kvm_vcpu *vcpu) in kvmppc_emulate_trchkpt() 193 void kvmppc_emulate_tabort(struct kvm_vcpu *vcpu, int ra_val) in kvmppc_emulate_tabort() 234 int kvmppc_core_emulate_op_pr(struct kvm_vcpu *vcpu, in kvmppc_core_emulate_op_pr() 633 void kvmppc_set_bat(struct kvm_vcpu *vcpu, struct kvmppc_bat *bat, bool upper, in kvmppc_set_bat() 653 static struct kvmppc_bat *kvmppc_find_bat(struct kvm_vcpu *vcpu, int sprn) in kvmppc_find_bat() 1034 u32 kvmppc_alignment_dsisr(struct kvm_vcpu *vcpu, unsigned int inst) in kvmppc_alignment_dsisr() [all …]
|
H A D | e500.c | 214 unsigned int kvmppc_e500_get_tlb_stid(struct kvm_vcpu *vcpu, in kvmppc_e500_get_tlb_stid() 221 void kvmppc_set_pid(struct kvm_vcpu *vcpu, u32 pid) in kvmppc_set_pid() 293 void kvmppc_mmu_msr_notify(struct kvm_vcpu *vcpu, u32 old_msr) in kvmppc_mmu_msr_notify() 307 static void kvmppc_core_vcpu_put_e500(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put_e500() 346 int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_setup() 361 static int kvmppc_core_get_sregs_e500(struct kvm_vcpu *vcpu, in kvmppc_core_get_sregs_e500() 386 static int kvmppc_core_set_sregs_e500(struct kvm_vcpu *vcpu, in kvmppc_core_set_sregs_e500() 422 static int kvmppc_get_one_reg_e500(struct kvm_vcpu *vcpu, u64 id, in kvmppc_get_one_reg_e500() 429 static int kvmppc_set_one_reg_e500(struct kvm_vcpu *vcpu, u64 id, in kvmppc_set_one_reg_e500() 436 static int kvmppc_core_vcpu_create_e500(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_create_e500() [all …]
|
H A D | timing.c | 22 void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) in kvmppc_init_timing_stats() 44 static void add_exit_timing(struct kvm_vcpu *vcpu, u64 duration, int type) in add_exit_timing() 82 void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) in kvmppc_update_timing_stats() 131 struct kvm_vcpu *vcpu = m->private; in kvmppc_exit_timing_show() local 179 struct kvm_vcpu *vcpu = seqf->private; in kvmppc_exit_timing_write() local 207 int kvmppc_create_vcpu_debugfs_e500(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs_e500()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | hyperv.c | 110 struct kvm_vcpu *vcpu = hv_synic_to_vcpu(synic); in synic_update_vector() local 192 struct kvm_vcpu *vcpu = NULL; in get_vcpu_by_vpidx() local 209 struct kvm_vcpu *vcpu; in synic_get() local 247 struct kvm_vcpu *vcpu = hv_synic_to_vcpu(synic); in synic_exit() local 262 struct kvm_vcpu *vcpu = hv_synic_to_vcpu(synic); in synic_set_msr() local 571 struct kvm_vcpu *vcpu; in get_time_ref_counter() local 896 void kvm_hv_vcpu_uninit(struct kvm_vcpu *vcpu) in kvm_hv_vcpu_uninit() 960 int kvm_hv_vcpu_init(struct kvm_vcpu *vcpu) in kvm_hv_vcpu_init() 1748 struct kvm_vcpu *vcpu; in sparse_set_to_vcpu_mask() local 2153 struct kvm_vcpu *vcpu; in kvm_hv_send_ipi_to_many() local [all …]
|
H A D | cpuid.c | 133 static int kvm_check_cpuid(struct kvm_vcpu *vcpu, in kvm_check_cpuid() 238 void kvm_update_pv_runtime(struct kvm_vcpu *vcpu) in kvm_update_pv_runtime() 309 void kvm_update_cpuid_runtime(struct kvm_vcpu *vcpu) in kvm_update_cpuid_runtime() 324 static void kvm_vcpu_after_set_cpuid(struct kvm_vcpu *vcpu) in kvm_vcpu_after_set_cpuid() 386 int cpuid_query_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_query_maxphyaddr() 405 u64 kvm_vcpu_reserved_gpa_bits_raw(struct kvm_vcpu *vcpu) in kvm_vcpu_reserved_gpa_bits_raw() 459 int kvm_vcpu_ioctl_set_cpuid(struct kvm_vcpu *vcpu, in kvm_vcpu_ioctl_set_cpuid() 504 int kvm_vcpu_ioctl_set_cpuid2(struct kvm_vcpu *vcpu, in kvm_vcpu_ioctl_set_cpuid2() 527 int kvm_vcpu_ioctl_get_cpuid2(struct kvm_vcpu *vcpu, in kvm_vcpu_ioctl_get_cpuid2() 1520 bool kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, in kvm_cpuid() [all …]
|
H A D | xen.c | 116 void kvm_xen_inject_timer_irqs(struct kvm_vcpu *vcpu) in kvm_xen_inject_timer_irqs() 135 struct kvm_vcpu *vcpu = container_of(timer, struct kvm_vcpu, in xen_timer_callback() local 162 static void kvm_xen_stop_timer(struct kvm_vcpu *vcpu) in kvm_xen_stop_timer() 169 static void kvm_xen_init_timer(struct kvm_vcpu *vcpu) in kvm_xen_init_timer() 1041 int kvm_xen_write_hypercall_page(struct kvm_vcpu *vcpu, u64 data) in kvm_xen_write_hypercall_page() 1434 int kvm_xen_hypercall(struct kvm_vcpu *vcpu) in kvm_xen_hypercall() 1555 struct kvm_vcpu *vcpu; in kvm_xen_set_evtchn_fast() local 1738 struct kvm_vcpu *vcpu; in kvm_xen_setup_evtchn() local 2053 void kvm_xen_init_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_init_vcpu() 2070 void kvm_xen_destroy_vcpu(struct kvm_vcpu *vcpu) in kvm_xen_destroy_vcpu() [all …]
|
/openbmc/linux/include/kvm/ |
H A D | arm_hypercalls.h | 11 static inline u32 smccc_get_function(struct kvm_vcpu *vcpu) in smccc_get_function() 16 static inline unsigned long smccc_get_arg1(struct kvm_vcpu *vcpu) in smccc_get_arg1() 21 static inline unsigned long smccc_get_arg2(struct kvm_vcpu *vcpu) in smccc_get_arg2() 26 static inline unsigned long smccc_get_arg3(struct kvm_vcpu *vcpu) in smccc_get_arg3() 31 static inline void smccc_set_retval(struct kvm_vcpu *vcpu, in smccc_set_retval()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 328 static inline int kvmppc_get_last_inst(struct kvm_vcpu *vcpu, in kvmppc_get_last_inst() 621 static inline int kvmppc_xics_enabled(struct kvm_vcpu *vcpu) in kvmppc_xics_enabled() 668 static inline int kvmppc_xics_enabled(struct kvm_vcpu *vcpu) in kvmppc_xics_enabled() 709 static inline int kvmppc_xive_enabled(struct kvm_vcpu *vcpu) in kvmppc_xive_enabled() 732 struct kvm_vcpu *vcpu, u32 cpu) { return -EBUSY; } in kvmppc_xive_connect_vcpu() 747 static inline int kvmppc_xive_enabled(struct kvm_vcpu *vcpu) in kvmppc_xive_enabled() 750 struct kvm_vcpu *vcpu, u32 cpu) { return -EBUSY; } in kvmppc_xive_native_connect_vcpu() 869 static inline void kvmppc_mpic_set_epr(struct kvm_vcpu *vcpu) in kvmppc_mpic_set_epr() 874 struct kvm_vcpu *vcpu, u32 cpu) in kvmppc_mpic_connect_vcpu() 880 struct kvm_vcpu *vcpu) in kvmppc_mpic_disconnect_vcpu() [all …]
|
H A D | kvm_book3s.h | 292 static inline void kvmppc_save_tm_pr(struct kvm_vcpu *vcpu) {} in kvmppc_save_tm_pr() 293 static inline void kvmppc_restore_tm_pr(struct kvm_vcpu *vcpu) {} in kvmppc_restore_tm_pr() 294 static inline void kvmppc_save_tm_sprs(struct kvm_vcpu *vcpu) {} in kvmppc_save_tm_sprs() 345 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr() 350 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr() 360 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer() 370 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr() 380 static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) in kvmppc_get_lr() 390 static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) in kvmppc_get_pc() 396 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap() [all …]
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | aia.c | 69 void kvm_riscv_vcpu_aia_flush_interrupts(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_aia_flush_interrupts() 86 void kvm_riscv_vcpu_aia_sync_interrupts(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_aia_sync_interrupts() 123 void kvm_riscv_vcpu_aia_update_hvip(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_aia_update_hvip() 136 void kvm_riscv_vcpu_aia_load(struct kvm_vcpu *vcpu, int cpu) in kvm_riscv_vcpu_aia_load() 154 void kvm_riscv_vcpu_aia_put(struct kvm_vcpu *vcpu) in kvm_riscv_vcpu_aia_put() 172 int kvm_riscv_vcpu_aia_get_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_aia_get_csr() 188 int kvm_riscv_vcpu_aia_set_csr(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_aia_set_csr() 209 int kvm_riscv_vcpu_aia_rmw_topei(struct kvm_vcpu *vcpu, in kvm_riscv_vcpu_aia_rmw_topei() 243 static u8 aia_get_iprio8(struct kvm_vcpu *vcpu, unsigned int irq) in aia_get_iprio8() 332 static int aia_rmw_iprio(struct kvm_vcpu *vcpu, unsigned int isel, in aia_rmw_iprio() [all …]
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v4.c | 86 struct kvm_vcpu *vcpu = info; in vgic_v4_doorbell_handler() local 115 static void vgic_v4_enable_vsgis(struct kvm_vcpu *vcpu) in vgic_v4_enable_vsgis() 158 static void vgic_v4_disable_vsgis(struct kvm_vcpu *vcpu) in vgic_v4_disable_vsgis() 190 struct kvm_vcpu *vcpu; in vgic_v4_configure_vsgis() local 226 int vgic_v4_request_vpe_irq(struct kvm_vcpu *vcpu, int irq) in vgic_v4_request_vpe_irq() 242 struct kvm_vcpu *vcpu; in vgic_v4_init() local 326 struct kvm_vcpu *vcpu = kvm_get_vcpu(kvm, i); in vgic_v4_teardown() local 339 int vgic_v4_put(struct kvm_vcpu *vcpu) in vgic_v4_put() 349 int vgic_v4_load(struct kvm_vcpu *vcpu) in vgic_v4_load() 385 void vgic_v4_commit(struct kvm_vcpu *vcpu) in vgic_v4_commit()
|
H A D | vgic-v3.c | 22 void vgic_v3_set_underflow(struct kvm_vcpu *vcpu) in vgic_v3_set_underflow() 35 void vgic_v3_fold_lr_state(struct kvm_vcpu *vcpu) in vgic_v3_fold_lr_state() 189 void vgic_v3_clear_lr(struct kvm_vcpu *vcpu, int lr) in vgic_v3_clear_lr() 194 void vgic_v3_set_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) in vgic_v3_set_vmcr() 260 void vgic_v3_enable(struct kvm_vcpu *vcpu) in vgic_v3_enable() 307 struct kvm_vcpu *vcpu; in vgic_v3_lpi_sync_pending_status() local 401 struct kvm_vcpu *vcpu; in vgic_v3_save_pending_tables() local 541 struct kvm_vcpu *vcpu; in vgic_v3_map_resources() local 720 void vgic_v3_load(struct kvm_vcpu *vcpu) in vgic_v3_load() 740 void vgic_v3_vmcr_sync(struct kvm_vcpu *vcpu) in vgic_v3_vmcr_sync() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_event_filter_test.c | 205 static uint64_t run_vcpu_to_sync(struct kvm_vcpu *vcpu) in run_vcpu_to_sync() 238 static bool sanity_check_pmu(struct kvm_vcpu *vcpu) in sanity_check_pmu() 293 static void test_without_filter(struct kvm_vcpu *vcpu) in test_without_filter() 300 static void test_with_filter(struct kvm_vcpu *vcpu, in test_with_filter() 309 static void test_amd_deny_list(struct kvm_vcpu *vcpu) in test_amd_deny_list() 379 struct kvm_vcpu *vcpu; in test_pmu_config_disable() local 730 static void test_masked_events(struct kvm_vcpu *vcpu) in test_masked_events() 743 static int set_pmu_event_filter(struct kvm_vcpu *vcpu, in set_pmu_event_filter() 766 static void test_filter_ioctl(struct kvm_vcpu *vcpu) in test_filter_ioctl() 901 struct kvm_vcpu *vcpu; in test_fixed_counter_bitmap() local [all …]
|
H A D | userspace_msr_exit_test.c | 397 static void check_for_guest_assert(struct kvm_vcpu *vcpu) in check_for_guest_assert() 467 static void process_ucall_done(struct kvm_vcpu *vcpu) in process_ucall_done() 480 static uint64_t process_ucall(struct kvm_vcpu *vcpu) in process_ucall() 504 static void run_guest_then_process_rdmsr(struct kvm_vcpu *vcpu, in run_guest_then_process_rdmsr() 511 static void run_guest_then_process_wrmsr(struct kvm_vcpu *vcpu, in run_guest_then_process_wrmsr() 518 static uint64_t run_guest_then_process_ucall(struct kvm_vcpu *vcpu) in run_guest_then_process_ucall() 532 struct kvm_vcpu *vcpu; in test_msr_filter_allow() local 592 static int handle_ucall(struct kvm_vcpu *vcpu) in handle_ucall() 651 struct kvm_vcpu *vcpu; in test_msr_filter_deny() local 698 struct kvm_vcpu *vcpu; in test_msr_permission_bitmap() local [all …]
|
H A D | vmx_set_nested_state_test.c | 29 void test_nested_state(struct kvm_vcpu *vcpu, struct kvm_nested_state *state) in test_nested_state() 34 void test_nested_state_expect_errno(struct kvm_vcpu *vcpu, in test_nested_state_expect_errno() 47 void test_nested_state_expect_einval(struct kvm_vcpu *vcpu, in test_nested_state_expect_einval() 53 void test_nested_state_expect_efault(struct kvm_vcpu *vcpu, in test_nested_state_expect_efault() 88 void test_vmx_nested_state(struct kvm_vcpu *vcpu) in test_vmx_nested_state() 250 struct kvm_vcpu *vcpu; in main() local
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm_onhyperv.h | 20 static inline bool svm_hv_is_enlightened_tlb_enabled(struct kvm_vcpu *vcpu) in svm_hv_is_enlightened_tlb_enabled() 71 struct kvm_vcpu *vcpu) in svm_hv_vmcb_dirty_nested_enlightenments() 80 static inline void svm_hv_update_vp_id(struct vmcb *vmcb, struct kvm_vcpu *vcpu) in svm_hv_update_vp_id() 92 static inline bool svm_hv_is_enlightened_tlb_enabled(struct kvm_vcpu *vcpu) in svm_hv_is_enlightened_tlb_enabled() 106 struct kvm_vcpu *vcpu) in svm_hv_vmcb_dirty_nested_enlightenments() 111 struct kvm_vcpu *vcpu) in svm_hv_update_vp_id()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | diag.c | 20 static int diag_release_pages(struct kvm_vcpu *vcpu) in diag_release_pages() 58 static int __diag_page_ref_service(struct kvm_vcpu *vcpu) in __diag_page_ref_service() 145 static int __diag_time_slice_end(struct kvm_vcpu *vcpu) in __diag_time_slice_end() 166 static int __diag_time_slice_end_directed(struct kvm_vcpu *vcpu) in __diag_time_slice_end_directed() 212 static int __diag_ipl_functions(struct kvm_vcpu *vcpu) in __diag_ipl_functions() 246 static int __diag_virtio_hypercall(struct kvm_vcpu *vcpu) in __diag_virtio_hypercall() 282 int kvm_s390_handle_diag(struct kvm_vcpu *vcpu) in kvm_s390_handle_diag()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | pvtime.c | 13 void kvm_update_stolen_time(struct kvm_vcpu *vcpu) in kvm_update_stolen_time() 35 long kvm_hypercall_pv_features(struct kvm_vcpu *vcpu) in kvm_hypercall_pv_features() 51 gpa_t kvm_init_stolen_time(struct kvm_vcpu *vcpu) in kvm_init_stolen_time() 75 int kvm_arm_pvtime_set_attr(struct kvm_vcpu *vcpu, in kvm_arm_pvtime_set_attr() 107 int kvm_arm_pvtime_get_attr(struct kvm_vcpu *vcpu, in kvm_arm_pvtime_get_attr() 124 int kvm_arm_pvtime_has_attr(struct kvm_vcpu *vcpu, in kvm_arm_pvtime_has_attr()
|
H A D | hypercalls.c | 19 static void kvm_ptp_get_time(struct kvm_vcpu *vcpu, u64 *val) in kvm_ptp_get_time() 96 static bool kvm_smccc_test_fw_bmap(struct kvm_vcpu *vcpu, u32 func_id) in kvm_smccc_test_fw_bmap() 217 static u8 kvm_smccc_get_action(struct kvm_vcpu *vcpu, u32 func_id) in kvm_smccc_get_action() 234 static void kvm_prepare_hypercall_exit(struct kvm_vcpu *vcpu, u32 func_id) in kvm_prepare_hypercall_exit() 253 int kvm_smccc_call_handler(struct kvm_vcpu *vcpu) in kvm_smccc_call_handler() 398 int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu) in kvm_arm_get_fw_num_regs() 403 int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_fw_reg_indices() 466 int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in kvm_arm_get_fw_reg() 500 static int kvm_arm_set_fw_reg_bmap(struct kvm_vcpu *vcpu, u64 reg_id, u64 val) in kvm_arm_set_fw_reg_bmap() 541 int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in kvm_arm_set_fw_reg()
|
/openbmc/linux/virt/kvm/ |
H A D | async_pf.c | 38 void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu) in kvm_async_pf_vcpu_init() 50 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute() local 113 void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu) in kvm_clear_async_pf_completion_queue() 158 void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu) in kvm_check_async_pf_completion() 184 bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, in kvm_setup_async_pf() 223 int kvm_async_pf_wakeup_all(struct kvm_vcpu *vcpu) in kvm_async_pf_wakeup_all()
|