/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() 338 static void kvmppc_mmu_book3s_32_tlbie(struct kvm_vcpu *vcpu, ulong ea, bool large) in kvmppc_mmu_book3s_32_tlbie() [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() 223 static inline unsigned int get_cur_spid(const struct kvm_vcpu *vcpu) in get_cur_spid() 228 static inline unsigned int get_cur_sas(const struct kvm_vcpu *vcpu) in get_cur_sas() 233 static inline unsigned int get_tlb_tlbsel(const struct kvm_vcpu *vcpu) in get_tlb_tlbsel() 242 static inline unsigned int get_tlb_nv_bit(const struct kvm_vcpu *vcpu) in get_tlb_nv_bit() 247 static inline unsigned int get_tlb_esel_bit(const struct kvm_vcpu *vcpu) in get_tlb_esel_bit() [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() 678 int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val) in kvmppc_core_emulate_mtspr_pr() [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() 299 static void kvmppc_core_vcpu_load_e500(struct kvm_vcpu *vcpu, int cpu) in kvmppc_core_vcpu_load_e500() 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() [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 219 static void kvm_hv_notify_acked_sint(struct kvm_vcpu *vcpu, u32 sint) in kvm_hv_notify_acked_sint() 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 328 static bool kvm_hv_is_syndbg_enabled(struct kvm_vcpu *vcpu) in kvm_hv_is_syndbg_enabled() 336 static int kvm_hv_syndbg_complete_userspace(struct kvm_vcpu *vcpu) in kvm_hv_syndbg_complete_userspace() 346 static void syndbg_exit(struct kvm_vcpu *vcpu, u32 msr) in syndbg_exit() 363 static int syndbg_set_msr(struct kvm_vcpu *vcpu, u32 msr, u64 data, bool host) in syndbg_set_msr() [all …]
|
H A D | cpuid.c | 154 static int kvm_check_cpuid(struct kvm_vcpu *vcpu, in kvm_check_cpuid() 191 static int kvm_cpuid_check_equal(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *e2, in kvm_cpuid_check_equal() 213 static struct kvm_hypervisor_cpuid kvm_get_hypervisor_cpuid(struct kvm_vcpu *vcpu, in kvm_get_hypervisor_cpuid() 241 static struct kvm_cpuid_entry2 *__kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu, in __kvm_find_kvm_cpuid_features() 253 static struct kvm_cpuid_entry2 *kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu) in kvm_find_kvm_cpuid_features() 259 void kvm_update_pv_runtime(struct kvm_vcpu *vcpu) in kvm_update_pv_runtime() 286 static void __kvm_update_cpuid_runtime(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *entries, in __kvm_update_cpuid_runtime() 330 void kvm_update_cpuid_runtime(struct kvm_vcpu *vcpu) in kvm_update_cpuid_runtime() 345 static void kvm_vcpu_after_set_cpuid(struct kvm_vcpu *vcpu) in kvm_vcpu_after_set_cpuid() 407 int cpuid_query_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_query_maxphyaddr() [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 147 static void kvm_xen_start_timer(struct kvm_vcpu *vcpu, u64 guest_abs, s64 delta_ns) in kvm_xen_start_timer() 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() 714 int kvm_xen_vcpu_set_attr(struct kvm_vcpu *vcpu, struct kvm_xen_vcpu_attr *data) in kvm_xen_vcpu_set_attr() 950 int kvm_xen_vcpu_get_attr(struct kvm_vcpu *vcpu, struct kvm_xen_vcpu_attr *data) in kvm_xen_vcpu_get_attr() 1041 int kvm_xen_write_hypercall_page(struct kvm_vcpu *vcpu, u64 data) in kvm_xen_write_hypercall_page() 1143 static int kvm_xen_hypercall_set_result(struct kvm_vcpu *vcpu, u64 result) in kvm_xen_hypercall_set_result() 1149 static int kvm_xen_hypercall_complete_userspace(struct kvm_vcpu *vcpu) in kvm_xen_hypercall_complete_userspace() [all …]
|
/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() 565 static inline void kvmppc_fast_vcpu_kick(struct kvm_vcpu *vcpu) in kvmppc_fast_vcpu_kick() 599 static inline void kvmppc_fast_vcpu_kick(struct kvm_vcpu *vcpu) in kvmppc_fast_vcpu_kick() 621 static inline int kvmppc_xics_enabled(struct kvm_vcpu *vcpu) in kvmppc_xics_enabled() 666 static inline int kvmppc_xics_rm_complete(struct kvm_vcpu *vcpu, u32 hcall) in kvmppc_xics_rm_complete() 668 static inline int kvmppc_xics_enabled(struct kvm_vcpu *vcpu) in kvmppc_xics_enabled() 670 static inline void kvmppc_xics_free_icp(struct kvm_vcpu *vcpu) { } in kvmppc_xics_free_icp() 671 static inline int kvmppc_xics_hcall(struct kvm_vcpu *vcpu, u32 cmd) in kvmppc_xics_hcall() 673 static inline int kvmppc_xive_xics_hcall(struct kvm_vcpu *vcpu, u32 req) in kvmppc_xive_xics_hcall() 709 static inline int kvmppc_xive_enabled(struct kvm_vcpu *vcpu) in kvmppc_xive_enabled() [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() 295 static inline void kvmppc_restore_tm_sprs(struct kvm_vcpu *vcpu) {} in kvmppc_restore_tm_sprs() 321 static inline struct kvmppc_vcpu_book3s *to_book3s(struct kvm_vcpu *vcpu) in to_book3s() 335 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr() 340 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() 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() 355 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer() [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/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() 95 bool kvm_riscv_vcpu_aia_has_interrupts(struct kvm_vcpu *vcpu, u64 mask) in kvm_riscv_vcpu_aia_has_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() [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() 217 static void run_vcpu_and_sync_pmc_results(struct kvm_vcpu *vcpu) in run_vcpu_and_sync_pmc_results() 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() 324 static void test_member_deny_list(struct kvm_vcpu *vcpu) in test_member_deny_list() 334 static void test_member_allow_list(struct kvm_vcpu *vcpu) in test_member_allow_list() 344 static void test_not_member_deny_list(struct kvm_vcpu *vcpu) in test_not_member_deny_list() 358 static void test_not_member_allow_list(struct kvm_vcpu *vcpu) in test_not_member_allow_list() [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() 407 static void process_rdmsr(struct kvm_vcpu *vcpu, uint32_t msr_index) in process_rdmsr() 439 static void process_wrmsr(struct kvm_vcpu *vcpu, uint32_t msr_index) in process_wrmsr() 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() 524 static void run_guest_then_process_ucall_done(struct kvm_vcpu *vcpu) in run_guest_then_process_ucall_done() 532 struct kvm_vcpu *vcpu; in test_msr_filter_allow() 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/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() 107 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v3_populate_lr() 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() 224 void vgic_v3_get_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) in vgic_v3_get_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 [all …]
|
/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/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()
|
/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()
|