| /kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
| D | nested.c | 35 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_inject_npf_exit() local 56 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_page_fault_nested() local 73 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_pdptr() local 87 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_cr3() local 94 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_init_mmu_context() local 115 void recalc_intercepts(struct vcpu_svm *svm) in recalc_intercepts() 186 static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm) in nested_svm_vmrun_msrpm() 221 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_nested_state_pages() local 252 static bool nested_vmcb_check_save(struct vcpu_svm *svm, struct vmcb *vmcb12) in nested_vmcb_check_save() 287 static void load_nested_vmcb_control(struct vcpu_svm *svm, in load_nested_vmcb_control() [all …]
|
| D | svm.c | 268 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_efer() local 310 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow() local 320 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow() local 331 struct vcpu_svm *svm = to_svm(vcpu); in skip_emulated_instruction() local 351 struct vcpu_svm *svm = to_svm(vcpu); in svm_queue_exception() local 589 struct vcpu_svm *svm = to_svm(vcpu); in set_shadow_msr_intercept() local 704 struct vcpu_svm *svm = to_svm(vcpu); in svm_msr_filter_changed() local 766 struct vcpu_svm *svm = to_svm(vcpu); in svm_enable_lbrv() local 777 struct vcpu_svm *svm = to_svm(vcpu); in svm_disable_lbrv() local 786 void disable_nmi_singlestep(struct vcpu_svm *svm) in disable_nmi_singlestep() [all …]
|
| D | avic.c | 194 void avic_init_vmcb(struct vcpu_svm *svm) in avic_init_vmcb() 265 struct vcpu_svm *svm = to_svm(vcpu); in avic_init_backing_page() local 298 int avic_incomplete_ipi_interception(struct vcpu_svm *svm) in avic_incomplete_ipi_interception() 408 struct vcpu_svm *svm = to_svm(vcpu); in avic_invalidate_logical_id_entry() local 419 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_ldr_update() local 440 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_apic_id_update() local 468 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_dfr_update() local 478 static int avic_unaccel_trap_write(struct vcpu_svm *svm) in avic_unaccel_trap_write() 534 int avic_unaccelerated_access_interception(struct vcpu_svm *svm) in avic_unaccelerated_access_interception() 559 int avic_init_vcpu(struct vcpu_svm *svm) in avic_init_vcpu() [all …]
|
| D | svm.h | 217 static inline struct vmcb *get_host_vmcb(struct vcpu_svm *svm) in get_host_vmcb() 243 static inline void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts() 267 static inline void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts() 276 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept() 286 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept() 296 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept() 305 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept() 314 static inline bool svm_is_intercept(struct vcpu_svm *svm, int bit) in svm_is_intercept() 319 static inline bool vgif_enabled(struct vcpu_svm *svm) in vgif_enabled() 324 static inline void enable_gif(struct vcpu_svm *svm) in enable_gif() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kvm/svm/ |
| D | nested.c | 39 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_inject_npf_exit() local 61 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_pdptr() local 79 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_cr3() local 86 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_init_mmu_context() local 112 static bool nested_vmcb_needs_vls_intercept(struct vcpu_svm *svm) in nested_vmcb_needs_vls_intercept() 126 void recalc_intercepts(struct vcpu_svm *svm) in recalc_intercepts() 192 static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm) in nested_svm_vmrun_msrpm() 319 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_save() local 327 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_controls() local 378 void nested_copy_vmcb_control_to_cache(struct vcpu_svm *svm, in nested_copy_vmcb_control_to_cache() [all …]
|
| D | svm.c | 299 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_efer() local 351 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow() local 361 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow() local 375 struct vcpu_svm *svm = to_svm(vcpu); in __svm_skip_emulated_instruction() local 426 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_soft_interrupt_rip() local 471 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_exception() local 743 static void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts() 767 static void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts() 790 struct vcpu_svm *svm = to_svm(vcpu); in set_shadow_msr_intercept() local 844 struct vcpu_svm *svm = to_svm(vcpu); in set_msr_interception_bitmap() local [all …]
|
| D | avic.c | 85 static void avic_activate_vmcb(struct vcpu_svm *svm) in avic_activate_vmcb() 120 static void avic_deactivate_vmcb(struct vcpu_svm *svm) in avic_deactivate_vmcb() 244 void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb) in avic_init_vmcb() 281 struct vcpu_svm *svm = to_svm(vcpu); in avic_init_backing_page() local 492 struct vcpu_svm *svm = to_svm(vcpu); in avic_incomplete_ipi_interception() local 597 struct vcpu_svm *svm = to_svm(vcpu); in avic_invalidate_logical_id_entry() local 612 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_ldr_update() local 631 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_dfr_update() local 695 struct vcpu_svm *svm = to_svm(vcpu); in avic_unaccelerated_access_interception() local 719 int avic_init_vcpu(struct vcpu_svm *svm) in avic_init_vcpu() [all …]
|
| D | svm.h | 402 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept() 412 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept() 422 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept() 431 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept() 440 static inline bool svm_is_intercept(struct vcpu_svm *svm, int bit) in svm_is_intercept() 445 static inline bool nested_vgif_enabled(struct vcpu_svm *svm) in nested_vgif_enabled() 451 static inline struct vmcb *get_vgif_vmcb(struct vcpu_svm *svm) in get_vgif_vmcb() 462 static inline void enable_gif(struct vcpu_svm *svm) in enable_gif() 472 static inline void disable_gif(struct vcpu_svm *svm) in disable_gif() 482 static inline bool gif_set(struct vcpu_svm *svm) in gif_set() [all …]
|
| D | sev.c | 579 static int sev_es_sync_vmsa(struct vcpu_svm *svm) in sev_es_sync_vmsa() 638 struct vcpu_svm *svm = to_svm(vcpu); in __sev_launch_update_vmsa() local 2386 struct vcpu_svm *svm; in sev_free_vcpu() local 2402 static void dump_ghcb(struct vcpu_svm *svm) in dump_ghcb() 2427 static void sev_es_sync_to_ghcb(struct vcpu_svm *svm) in sev_es_sync_to_ghcb() 2446 static void sev_es_sync_from_ghcb(struct vcpu_svm *svm) in sev_es_sync_from_ghcb() 2500 static int sev_es_validate_vmgexit(struct vcpu_svm *svm) in sev_es_validate_vmgexit() 2625 void sev_es_unmap_ghcb(struct vcpu_svm *svm) in sev_es_unmap_ghcb() 2657 void pre_sev_run(struct vcpu_svm *svm, int cpu) in pre_sev_run() 2681 static int setup_vmgexit_scratch(struct vcpu_svm *svm, bool sync, u64 len) in setup_vmgexit_scratch() [all …]
|
| D | hyperv.h | 16 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_hv_update_vm_vp_ids() local 30 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_l2_tlb_flush_enabled() local
|
| /kernel/linux/linux-5.10/drivers/iommu/intel/ |
| D | svm.c | 121 static void __flush_svm_range_dev(struct intel_svm *svm, in __flush_svm_range_dev() 138 static void intel_flush_svm_range_dev(struct intel_svm *svm, in intel_flush_svm_range_dev() 154 static void intel_flush_svm_range(struct intel_svm *svm, unsigned long address, in intel_flush_svm_range() 170 struct intel_svm *svm = container_of(mn, struct intel_svm, notifier); in intel_invalidate_range() local 178 struct intel_svm *svm = container_of(mn, struct intel_svm, notifier); in intel_mm_release() local 209 #define for_each_svm_dev(sdev, svm, d) \ argument 218 struct intel_svm *svm; in pasid_to_svm_sdev() local 264 struct intel_svm *svm = NULL; in intel_svm_bind_gpasid() local 403 struct intel_svm *svm; in intel_svm_unbind_gpasid() local 471 struct intel_svm *svm = NULL; in intel_svm_bind_mm() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_svm.c | 86 nouveau_ivmm_find(struct nouveau_svm *svm, u64 inst) in nouveau_ivmm_find() 379 nouveau_svm_fault_replay(struct nouveau_svm *svm) in nouveau_svm_fault_replay() 394 nouveau_svm_fault_cancel(struct nouveau_svm *svm, in nouveau_svm_fault_cancel() 409 nouveau_svm_fault_cancel_fault(struct nouveau_svm *svm, in nouveau_svm_fault_cancel_fault() 434 nouveau_svm_fault_cache(struct nouveau_svm *svm, in nouveau_svm_fault_cache() 621 struct nouveau_svm *svm = in nouveau_svm_fault() local 834 nouveau_svm_fault_buffer_fini(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_fini() 841 nouveau_svm_fault_buffer_init(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_init() 852 nouveau_svm_fault_buffer_dtor(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_dtor() 870 nouveau_svm_fault_buffer_ctor(struct nouveau_svm *svm, s32 oclass, int id) in nouveau_svm_fault_buffer_ctor() [all …]
|
| /kernel/linux/linux-6.6/drivers/iommu/intel/ |
| D | svm.c | 48 svm_lookup_device_by_dev(struct intel_svm *svm, struct device *dev) in svm_lookup_device_by_dev() 172 static void __flush_svm_range_dev(struct intel_svm *svm, in __flush_svm_range_dev() 192 static void intel_flush_svm_range_dev(struct intel_svm *svm, in intel_flush_svm_range_dev() 208 static void intel_flush_svm_range(struct intel_svm *svm, unsigned long address, in intel_flush_svm_range() 219 static void intel_flush_svm_all(struct intel_svm *svm) in intel_flush_svm_all() 245 struct intel_svm *svm = container_of(mn, struct intel_svm, notifier); in intel_arch_invalidate_secondary_tlbs() local 258 struct intel_svm *svm = container_of(mn, struct intel_svm, notifier); in intel_mm_release() local 291 struct intel_svm *svm; in pasid_to_svm_sdev() local 323 struct intel_svm *svm; in intel_svm_bind_mm() local 396 struct intel_svm *svm; in intel_svm_remove_dev_pasid() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| D | nouveau_svm.c | 94 nouveau_ivmm_find(struct nouveau_svm *svm, u64 inst) in nouveau_ivmm_find() 384 nouveau_svm_fault_replay(struct nouveau_svm *svm) in nouveau_svm_fault_replay() 399 nouveau_svm_fault_cancel(struct nouveau_svm *svm, in nouveau_svm_fault_cancel() 414 nouveau_svm_fault_cancel_fault(struct nouveau_svm *svm, in nouveau_svm_fault_cancel_fault() 456 nouveau_svm_fault_cache(struct nouveau_svm *svm, in nouveau_svm_fault_cache() 724 struct nouveau_svm *svm = container_of(buffer, typeof(*svm), buffer[buffer->id]); in nouveau_svm_fault() local 948 nouveau_svm_fault_buffer_fini(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_fini() 957 nouveau_svm_fault_buffer_init(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_init() 970 nouveau_svm_fault_buffer_dtor(struct nouveau_svm *svm, int id) in nouveau_svm_fault_buffer_dtor() 991 nouveau_svm_fault_buffer_ctor(struct nouveau_svm *svm, s32 oclass, int id) in nouveau_svm_fault_buffer_ctor() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
| D | svm_vmcall_test.c | 15 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() 20 static void l1_guest_code(struct svm_test_data *svm) in l1_guest_code()
|
| D | svm_nested_shutdown_test.c | 15 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() 20 static void l1_guest_code(struct svm_test_data *svm, struct idt_entry *idt) in l1_guest_code()
|
| D | svm_int_ctl_test.c | 33 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() 58 static void l1_guest_code(struct svm_test_data *svm) in l1_guest_code()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
| D | svm_vmcall_test.c | 19 static void l2_guest_code(struct svm_test_data *svm) in l2_guest_code() 24 static void l1_guest_code(struct svm_test_data *svm) in l1_guest_code()
|
| /kernel/linux/linux-5.10/arch/arm/mm/ |
| D | ioremap.c | 51 struct static_vm *svm; in find_static_vm_paddr() local 73 struct static_vm *svm; in find_static_vm_vaddr() local 90 void __init add_static_vm_early(struct static_vm *svm) in add_static_vm_early() 274 struct static_vm *svm; in __arm_ioremap_pfn_caller() local 414 struct static_vm *svm; in __iounmap() local
|
| /kernel/linux/linux-6.6/arch/arm/mm/ |
| D | ioremap.c | 53 struct static_vm *svm; in find_static_vm_paddr() local 75 struct static_vm *svm; in find_static_vm_vaddr() local 92 void __init add_static_vm_early(struct static_vm *svm) in add_static_vm_early() 304 struct static_vm *svm; in __arm_ioremap_pfn_caller() local 449 struct static_vm *svm; in iounmap() local
|
| /kernel/linux/linux-5.10/tools/testing/vsock/ |
| D | vsock_test.c | 26 struct sockaddr_vm svm; in test_stream_connection_reset() member 62 struct sockaddr_vm svm; in test_stream_bind_only_client() member 104 struct sockaddr_vm svm; in test_stream_bind_only_server() member
|
| D | util.c | 91 struct sockaddr_vm svm; in vsock_stream_connect() member 131 struct sockaddr_vm svm; in vsock_stream_accept() member 141 struct sockaddr_vm svm; in vsock_stream_accept() member
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/x86_64/ |
| D | svm.c | 35 struct svm_test_data *svm = addr_gva2hva(vm, svm_gva); in vcpu_alloc_svm() local 63 void generic_svm_setup(struct svm_test_data *svm, void *guest_rip, void *guest_rsp) in generic_svm_setup()
|
| /kernel/linux/linux-6.6/tools/testing/vsock/ |
| D | vsock_perf.c | 100 struct sockaddr_vm svm; in vsock_connect() member 143 struct sockaddr_vm svm; in run_receiver() member 153 struct sockaddr_vm svm; in run_receiver() member
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
| D | svm.c | 35 struct svm_test_data *svm = addr_gva2hva(vm, svm_gva); in vcpu_alloc_svm() local 72 void generic_svm_setup(struct svm_test_data *svm, void *guest_rip, void *guest_rsp) in generic_svm_setup()
|