/openbmc/linux/drivers/virt/acrn/ |
H A D | hypercall.h | 80 static inline long hcall_start_vm(u64 vmid) in hcall_start_vm() 91 static inline long hcall_pause_vm(u64 vmid) in hcall_pause_vm() 102 static inline long hcall_destroy_vm(u64 vmid) in hcall_destroy_vm() 113 static inline long hcall_reset_vm(u64 vmid) in hcall_reset_vm() 137 static inline long hcall_inject_msi(u64 vmid, u64 msi) in hcall_inject_msi() 161 static inline long hcall_set_irqline(u64 vmid, u64 op) in hcall_set_irqline() 208 static inline long hcall_create_vdev(u64 vmid, u64 addr) in hcall_create_vdev() 220 static inline long hcall_destroy_vdev(u64 vmid, u64 addr) in hcall_destroy_vdev() 232 static inline long hcall_assign_mmiodev(u64 vmid, u64 addr) in hcall_assign_mmiodev() 256 static inline long hcall_assign_pcidev(u64 vmid, u64 addr) in hcall_assign_pcidev() [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | vmid.c | 32 #define vmid2idx(vmid) ((vmid) & ~VMID_MASK) argument 42 #define vmid_gen_match(vmid) \ argument 48 u64 vmid; in flush_context() local 72 static bool check_update_reserved_vmid(u64 vmid, u64 newvmid) in check_update_reserved_vmid() 95 u64 vmid = atomic64_read(&kvm_vmid->id); in new_vmid() local 141 u64 vmid, old_active_vmid; in kvm_arm_vmid_update() local
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | tlb.c | 20 void kvm_riscv_local_hfence_gvma_vmid_gpa(unsigned long vmid, in kvm_riscv_local_hfence_gvma_vmid_gpa() 44 void kvm_riscv_local_hfence_gvma_vmid_all(unsigned long vmid) in kvm_riscv_local_hfence_gvma_vmid_all() 77 void kvm_riscv_local_hfence_vvma_asid_gva(unsigned long vmid, in kvm_riscv_local_hfence_vvma_asid_gva() 107 void kvm_riscv_local_hfence_vvma_asid_all(unsigned long vmid, in kvm_riscv_local_hfence_vvma_asid_all() 119 void kvm_riscv_local_hfence_vvma_gva(unsigned long vmid, in kvm_riscv_local_hfence_vvma_gva() 147 void kvm_riscv_local_hfence_vvma_all(unsigned long vmid) in kvm_riscv_local_hfence_vvma_all() 160 unsigned long vmid; in kvm_riscv_local_tlb_sanitize() local 189 struct kvm_vmid *vmid; in kvm_riscv_hfence_gvma_vmid_all_process() local 197 struct kvm_vmid *vmid; in kvm_riscv_hfence_vvma_all_process() local
|
H A D | vmid.c | 57 bool kvm_riscv_gstage_vmid_ver_changed(struct kvm_vmid *vmid) in kvm_riscv_gstage_vmid_ver_changed() 75 struct kvm_vmid *vmid = &vcpu->kvm->arch.vmid; in kvm_riscv_gstage_vmid_update() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_aldebaran.c | 42 uint32_t vmid) in kgd_aldebaran_enable_debug_trap() 56 uint32_t vmid) in kgd_aldebaran_disable_debug_trap() 90 uint32_t vmid, in kgd_aldebaran_set_wave_launch_trap_override() 113 uint32_t vmid) in kgd_aldebaran_set_wave_launch_mode()
|
H A D | amdgpu_amdkfd_gfx_v9.c | 51 uint32_t queue, uint32_t vmid, uint32_t inst) in kgd_gfx_v9_lock_srbm() 102 unsigned int vmid, uint32_t inst) in kgd_gfx_v9_set_pasid_vmid_mapping() 618 uint8_t vmid, uint16_t *p_pasid) in kgd_gfx_v9_get_atc_vmid_pasid_mapping_info() 674 uint32_t vmid, in kgd_gfx_v9_set_wave_launch_stall() 705 uint32_t vmid) in kgd_gfx_v9_enable_debug_trap() 728 uint32_t vmid) in kgd_gfx_v9_disable_debug_trap() 762 uint32_t vmid, in kgd_gfx_v9_set_wave_launch_trap_override() 797 uint32_t vmid) in kgd_gfx_v9_set_wave_launch_mode() 916 uint32_t vmid, uint64_t page_table_base) in kgd_gfx_v9_set_vm_context_page_table_base() 955 int *wave_cnt, int *vmid, uint32_t inst) in get_wave_count() [all …]
|
H A D | amdgpu_amdkfd_gfx_v10.c | 45 uint32_t queue, uint32_t vmid) in lock_srbm() 80 static void kgd_program_sh_mem_settings(struct amdgpu_device *adev, uint32_t vmid, in kgd_program_sh_mem_settings() 96 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 666 uint8_t vmid, uint16_t *p_pasid) in get_atc_vmid_pasid_mapping_info() 702 uint32_t vmid, uint64_t page_table_base) in set_vm_context_page_table_base() 736 static void kgd_gfx_v10_set_wave_launch_stall(struct amdgpu_device *adev, uint32_t vmid, bool stall) in kgd_gfx_v10_set_wave_launch_stall() 755 uint32_t vmid) in kgd_gfx_v10_enable_debug_trap() 792 uint32_t vmid) in kgd_gfx_v10_disable_debug_trap() 826 uint32_t vmid, in kgd_gfx_v10_set_wave_launch_trap_override() 861 uint32_t vmid) in kgd_gfx_v10_set_wave_launch_mode() [all …]
|
H A D | amdgpu_amdkfd_gfx_v11.c | 43 uint32_t queue, uint32_t vmid) in lock_srbm() 78 static void program_sh_mem_settings_v11(struct amdgpu_device *adev, uint32_t vmid, in program_sh_mem_settings_v11() 93 unsigned int vmid, uint32_t inst) in set_pasid_vmid_mapping_v11() 599 uint32_t vmid, uint64_t page_table_base) in set_vm_context_page_table_base_v11() 622 uint32_t vmid) in kgd_gfx_v11_enable_debug_trap() 636 uint32_t vmid) in kgd_gfx_v11_disable_debug_trap() 709 uint32_t vmid, in kgd_gfx_v11_set_wave_launch_trap_override() 731 uint32_t vmid) in kgd_gfx_v11_set_wave_launch_mode()
|
H A D | amdgpu_amdkfd_gfx_v8.c | 43 uint32_t queue, uint32_t vmid) in lock_srbm() 71 static void kgd_program_sh_mem_settings(struct amdgpu_device *adev, uint32_t vmid, in kgd_program_sh_mem_settings() 88 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 532 uint8_t vmid, uint16_t *p_pasid) in get_atc_vmid_pasid_mapping_info() 567 uint64_t va, uint32_t vmid) in set_scratch_backing_va() 575 uint32_t vmid, uint64_t page_table_base) in set_vm_context_page_table_base()
|
H A D | amdgpu_amdkfd_gfx_v7.c | 49 uint32_t queue, uint32_t vmid) in lock_srbm() 77 static void kgd_program_sh_mem_settings(struct amdgpu_device *adev, uint32_t vmid, in kgd_program_sh_mem_settings() 94 unsigned int vmid, uint32_t inst) in kgd_set_pasid_vmid_mapping() 521 uint8_t vmid, uint16_t *p_pasid) in get_atc_vmid_pasid_mapping_info() 532 uint64_t va, uint32_t vmid) in set_scratch_backing_va() 540 uint32_t vmid, uint64_t page_table_base) in set_vm_context_page_table_base()
|
H A D | gmc_v11_0.c | 180 uint8_t vmid, uint16_t *p_pasid) in gmc_v11_0_get_vmid_pasid_mapping_info() 194 static void gmc_v11_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_vm_hub() 285 static void gmc_v11_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v11_0_flush_gpu_tlb() 330 int vmid, i; in gmc_v11_0_flush_gpu_tlb_pasid() local 382 unsigned int vmid, uint64_t pd_addr) in gmc_v11_0_emit_flush_gpu_tlb() 429 static void gmc_v11_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, in gmc_v11_0_emit_pasid_mapping()
|
H A D | amdgpu_amdkfd_gfx_v10_3.c | 45 uint32_t queue, uint32_t vmid) in lock_srbm() 80 static void program_sh_mem_settings_v10_3(struct amdgpu_device *adev, uint32_t vmid, in program_sh_mem_settings_v10_3() 97 unsigned int vmid, uint32_t inst) in set_pasid_vmid_mapping_v10_3() 614 uint8_t vmid, uint16_t *p_pasid) in get_atc_vmid_pasid_mapping_info_v10_3() 626 uint32_t vmid, uint64_t page_table_base) in set_vm_context_page_table_base_v10_3() 633 uint32_t vmid, uint64_t tba_addr, uint64_t tma_addr, in program_trap_handler_settings_v10_3()
|
H A D | vcn_sw_ring.c | 47 uint32_t vmid = AMDGPU_JOB_GET_VMID(job); in vcn_dec_sw_ring_emit_ib() local 66 uint32_t vmid, uint64_t pd_addr) in vcn_dec_sw_ring_emit_vm_flush()
|
H A D | gmc_v10_0.c | 215 uint8_t vmid, uint16_t *p_pasid) in gmc_v10_0_get_atc_vmid_pasid_mapping_info() 233 static void gmc_v10_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, in gmc_v10_0_flush_vm_hub() 324 static void gmc_v10_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v10_0_flush_gpu_tlb() 419 int vmid, i; in gmc_v10_0_flush_gpu_tlb_pasid() local 474 unsigned int vmid, uint64_t pd_addr) in gmc_v10_0_emit_flush_gpu_tlb() 521 static void gmc_v10_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, in gmc_v10_0_emit_pasid_mapping()
|
H A D | gmc_v8_0.c | 619 int vmid; in gmc_v8_0_flush_gpu_tlb_pasid() local 657 static void gmc_v8_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v8_0_flush_gpu_tlb() 665 unsigned int vmid, uint64_t pd_addr) in gmc_v8_0_emit_flush_gpu_tlb() 681 static void gmc_v8_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, in gmc_v8_0_emit_pasid_mapping() 997 u32 vmid = REG_GET_FIELD(status, VM_CONTEXT1_PROTECTION_FAULT_STATUS, VMID); in gmc_v8_0_vm_decode_fault() local 1427 u32 addr, status, mc_client, vmid; in gmc_v8_0_process_interrupt() local
|
H A D | gmc_v7_0.c | 429 int vmid; in gmc_v7_0_flush_gpu_tlb_pasid() local 466 static void gmc_v7_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in gmc_v7_0_flush_gpu_tlb() 474 unsigned int vmid, uint64_t pd_addr) in gmc_v7_0_emit_flush_gpu_tlb() 490 static void gmc_v7_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, in gmc_v7_0_emit_pasid_mapping() 765 u32 vmid = REG_GET_FIELD(status, VM_CONTEXT1_PROTECTION_FAULT_STATUS, VMID); in gmc_v7_0_vm_decode_fault() local 1265 u32 addr, status, mc_client, vmid; in gmc_v7_0_process_interrupt() local
|
H A D | amdgpu_amdkfd_gc_9_4_3.c | 224 u32 pasid, unsigned int vmid, uint32_t xcc_inst) in kgd_gfx_v9_4_3_set_pasid_vmid_mapping() 369 uint32_t vmid) in kgd_gfx_v9_4_3_disable_debug_trap() 442 uint32_t vmid, in kgd_gfx_v9_4_3_set_wave_launch_trap_override()
|
H A D | gfxhub_v3_0.c | 54 static uint32_t gfxhub_v3_0_get_invalidate_req(unsigned int vmid, in gfxhub_v3_0_get_invalidate_req() 119 static void gfxhub_v3_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v3_0_setup_vm_pt_regs()
|
H A D | gfxhub_v2_0.c | 55 static uint32_t gfxhub_v2_0_get_invalidate_req(unsigned int vmid, in gfxhub_v2_0_get_invalidate_req() 120 static void gfxhub_v2_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid, in gfxhub_v2_0_setup_vm_pt_regs()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_vmid.c | 41 static void dcn20_wait_for_vmid_ready(struct dcn20_vmid *vmid) in dcn20_wait_for_vmid_ready() 73 void dcn20_vmid_setup(struct dcn20_vmid *vmid, const struct dcn_vmid_page_table_config *config) in dcn20_vmid_setup()
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/vmid/ |
H A D | vmid.c | 41 static void add_ptb_to_table(struct core_vmid *core_vmid, unsigned int vmid, uint64_t ptb) in add_ptb_to_table() 49 static void clear_entry_from_vmid_table(struct core_vmid *core_vmid, unsigned int vmid) in clear_entry_from_vmid_table() 98 int vmid = 0; in mod_vmid_get_for_ptb() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | cik_event_interrupt.c | 37 unsigned int vmid; in cik_event_interrupt_isr() local 94 unsigned int vmid = (ihre->ring_id & 0x0000ff00) >> 8; in cik_event_interrupt_wq() local
|
H A D | kfd_int_process_v9.c | 218 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local 313 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v9() local 455 uint16_t node_id, vmid; in event_interrupt_isr_v9_4_3() local
|
/openbmc/qemu/hw/arm/ |
H A D | smmu-common.c | 60 SMMUIOTLBKey smmu_get_iotlb_key(int asid, int vmid, uint64_t iova, in smmu_get_iotlb_key() 175 int vmid = *(int *)user_data; in smmu_hash_remove_by_vmid() local 184 int vmid = *(int *)user_data; in smmu_hash_remove_by_vmid_s1() local 228 void smmu_iotlb_inv_iova(SMMUState *s, int asid, int vmid, dma_addr_t iova, in smmu_iotlb_inv_iova() 260 void smmu_iotlb_inv_ipa(SMMUState *s, int vmid, dma_addr_t ipa, uint8_t tg, in smmu_iotlb_inv_ipa() 284 void smmu_iotlb_inv_asid_vmid(SMMUState *s, int asid, int vmid) in smmu_iotlb_inv_asid_vmid() 295 void smmu_iotlb_inv_vmid(SMMUState *s, int vmid) in smmu_iotlb_inv_vmid() 301 inline void smmu_iotlb_inv_vmid_s1(SMMUState *s, int vmid) in smmu_iotlb_inv_vmid_s1()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_vmid.c | 81 int lpfc_vmid_hash_fn(const char *vmid, int len) in lpfc_vmid_hash_fn() 130 struct lpfc_vmid *vmid) in lpfc_vmid_assign_cs_ctl()
|