Home
last modified time | relevance | path

Searched refs:pasid (Results 126 - 150 of 228) sorted by relevance

12345678910

/kernel/linux/patches/linux-6.6/prebuilts/usr/include/misc/
H A Docxl.h48 __u32 pasid; member
/kernel/linux/linux-6.6/mm/
H A Dinit-mm.c48 .pasid = IOMMU_PASID_INVALID,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/misc/
H A Docxl.h36 __u32 pasid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/misc/
H A Docxl.h48 __u32 pasid; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c43 u32 pasid, unsigned int vmid);
249 dqm->vmid_pasid[allocated_vmid] = q->process->pasid; in allocate_vmid()
251 set_pasid_vmid_mapping(dqm, q->process->pasid, allocated_vmid); in allocate_vmid()
264 /* invalidate the VM context after pasid and vmid mapping is set up */ in allocate_vmid()
662 pdd->process->pasid); in evict_process_queues_nocpsch()
709 pdd->process->pasid); in evict_process_queues_cpsch()
757 pdd->process->pasid); in restore_process_queues_nocpsch()
836 pdd->process->pasid); in restore_process_queues_cpsch()
935 set_pasid_vmid_mapping(struct device_queue_manager *dqm, u32 pasid, in set_pasid_vmid_mapping() argument
939 dqm->dev->kgd, pasid, vmi in set_pasid_vmid_mapping()
1984 kfd_process_vm_fault(struct device_queue_manager *dqm, u32 pasid) kfd_process_vm_fault() argument
[all...]
H A Dkfd_process_queue_manager.c56 pr_info("Cannot open more queues for process with pasid 0x%x\n", in find_available_queue_slot()
57 pqm->process->pasid); in find_available_queue_slot()
298 pqm->process->pasid, type, retval); in pqm_create_queue()
385 pqm->process->pasid, in pqm_destroy_queue()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c46 u32 pasid, unsigned int vmid);
201 queue_input.process_id = qpd->pqm->process->pasid; in add_queue_mes()
464 dqm->vmid_pasid[allocated_vmid] = q->process->pasid; in allocate_vmid()
466 set_pasid_vmid_mapping(dqm, q->process->pasid, allocated_vmid); in allocate_vmid()
482 /* invalidate the VM context after pasid and vmid mapping is set up */ in allocate_vmid()
712 pr_err("no vmid pasid mapping supported \n"); in dbgdev_wave_reset_wavefronts()
725 if (status && queried_pasid == p->pasid) { in dbgdev_wave_reset_wavefronts()
726 pr_debug("Killing wave fronts of vmid %d and pasid 0x%x\n", in dbgdev_wave_reset_wavefronts()
727 vmid, p->pasid); in dbgdev_wave_reset_wavefronts()
733 pr_err("Didn't find vmid for pasid in dbgdev_wave_reset_wavefronts()
1361 set_pasid_vmid_mapping(struct device_queue_manager *dqm, u32 pasid, unsigned int vmid) set_pasid_vmid_mapping() argument
2000 reset_queues_cpsch(struct device_queue_manager *dqm, uint16_t pasid) reset_queues_cpsch() argument
2624 kfd_dqm_evict_pasid(struct device_queue_manager *dqm, u32 pasid) kfd_dqm_evict_pasid() argument
[all...]
H A Dkfd_debug.c198 unsigned int pasid, in kfd_set_dbg_ev_from_interrupt()
207 p = kfd_lookup_process_by_pasid(pasid); in kfd_set_dbg_ev_from_interrupt()
239 kfd_dqm_evict_pasid(dev->dqm, p->pasid); in kfd_set_dbg_ev_from_interrupt()
240 kfd_signal_vm_fault_event(dev, p->pasid, NULL, in kfd_set_dbg_ev_from_interrupt()
277 kfd_dqm_evict_pasid(pdd->dev->dqm, p->pasid); in kfd_dbg_send_exception_to_runtime()
278 kfd_signal_vm_fault_event(pdd->dev, p->pasid, NULL, data); in kfd_dbg_send_exception_to_runtime()
197 kfd_set_dbg_ev_from_interrupt(struct kfd_node *dev, unsigned int pasid, uint32_t doorbell_id, uint64_t trap_mask, void *exception_data, size_t exception_data_size) kfd_set_dbg_ev_from_interrupt() argument
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Diommu.c31 #include "pasid.h"
834 unsigned long long addr, u32 pasid) in dmar_fault_dump_ptes()
877 /* get the pointer to pasid directory entry */ in dmar_fault_dump_ptes()
880 pr_info("pasid directory entry is not present\n"); in dmar_fault_dump_ptes()
883 /* For request-without-pasid, get the pasid from context entry */ in dmar_fault_dump_ptes()
884 if (intel_iommu_sm && pasid == IOMMU_PASID_INVALID) in dmar_fault_dump_ptes()
885 pasid = IOMMU_NO_PASID; in dmar_fault_dump_ptes()
887 dir_index = pasid >> PASID_PDE_SHIFT; in dmar_fault_dump_ptes()
889 pr_info("pasid di in dmar_fault_dump_ptes()
833 dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, unsigned long long addr, u32 pasid) dmar_fault_dump_ptes() argument
1900 context_set_sm_rid2pasid(struct context_entry *context, unsigned long pasid) context_set_sm_rid2pasid() argument
2331 domain_setup_first_level(struct intel_iommu *iommu, struct dmar_domain *domain, struct device *dev, u32 pasid) domain_setup_first_level() argument
4682 intel_iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid) intel_iommu_remove_dev_pasid() argument
4723 intel_iommu_set_dev_pasid(struct iommu_domain *domain, struct device *dev, ioasid_t pasid) intel_iommu_set_dev_pasid() argument
5041 quirk_extra_dev_tlb_flush(struct device_domain_info *info, unsigned long address, unsigned long mask, u32 pasid, u16 qdep) quirk_extra_dev_tlb_flush() argument
[all...]
H A Dcap_audit.c60 CHECK_FEATURE_MISMATCH(a, b, ecap, pasid, ECAP_PASID_MASK); in check_dmar_capabilities()
106 CHECK_FEATURE_MISMATCH_HOTPLUG(iommu, ecap, pasid, ECAP_PASID_MASK); in cap_audit_hotplug()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v10.c107 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, u32 pasid, in kgd_set_pasid_vmid_mapping() argument
119 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping()
122 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
142 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
H A Dgmc_v7_0.c423 * gmc_v7_0_flush_gpu_tlb_pasid - tlb flush via pasid
426 * @pasid: pasid to be flush
428 * Flush the TLB for the requested pasid.
431 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid()
444 (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { in gmc_v7_0_flush_gpu_tlb_pasid()
494 unsigned pasid) in gmc_v7_0_emit_pasid_mapping()
496 amdgpu_ring_emit_wreg(ring, mmIH_VMID_0_LUT + vmid, pasid); in gmc_v7_0_emit_pasid_mapping()
770 u32 addr, u32 mc_client, unsigned pasid) in gmc_v7_0_vm_decode_fault()
782 dev_err(adev->dev, "VM fault (0x%02x, vmid %d, pasid in gmc_v7_0_vm_decode_fault()
430 gmc_v7_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, uint32_t flush_type, bool all_hub) gmc_v7_0_flush_gpu_tlb_pasid() argument
493 gmc_v7_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned vmid, unsigned pasid) gmc_v7_0_emit_pasid_mapping() argument
769 gmc_v7_0_vm_decode_fault(struct amdgpu_device *adev, u32 status, u32 addr, u32 mc_client, unsigned pasid) gmc_v7_0_vm_decode_fault() argument
[all...]
H A Damdgpu_amdkfd_gfx_v9.c111 int kgd_gfx_v9_set_pasid_vmid_mapping(struct kgd_dev *kgd, u32 pasid, in kgd_gfx_v9_set_pasid_vmid_mapping() argument
123 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_set_pasid_vmid_mapping()
145 /* Mapping vmid to pasid also for IH block */ in kgd_gfx_v9_set_pasid_vmid_mapping()
162 /* Mapping vmid to pasid also for IH block */ in kgd_gfx_v9_set_pasid_vmid_mapping()
759 * process whose pasid is provided as a parameter. The process could have ZERO
763 * @pasid: Identifies the process for which this query call is invoked
765 * belong to process with given pasid
795 * Determine if VMID from above step maps to pasid provided as parameter. If
796 * it matches agrregate the wave count. That the VMID will not match pasid i
802 kgd_gfx_v9_get_cu_occupancy(struct kgd_dev *kgd, int pasid, int *pasid_wave_cnt, int *max_waves_per_cu) kgd_gfx_v9_get_cu_occupancy() argument
[all...]
H A Damdgpu_irq.h54 unsigned pasid; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v7_0.c415 * gmc_v7_0_flush_gpu_tlb_pasid - tlb flush via pasid
418 * @pasid: pasid to be flush
423 * Flush the TLB for the requested pasid.
426 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid()
439 (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { in gmc_v7_0_flush_gpu_tlb_pasid()
491 unsigned int pasid) in gmc_v7_0_emit_pasid_mapping()
493 amdgpu_ring_emit_wreg(ring, mmIH_VMID_0_LUT + vmid, pasid); in gmc_v7_0_emit_pasid_mapping()
758 * @pasid: debug logging only - no functional use
763 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v7_0_vm_decode_fault()
425 gmc_v7_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, uint32_t flush_type, bool all_hub, uint32_t inst) gmc_v7_0_flush_gpu_tlb_pasid() argument
490 gmc_v7_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, unsigned int pasid) gmc_v7_0_emit_pasid_mapping() argument
762 gmc_v7_0_vm_decode_fault(struct amdgpu_device *adev, u32 status, u32 addr, u32 mc_client, unsigned int pasid) gmc_v7_0_vm_decode_fault() argument
[all...]
H A Damdgpu_job.h60 unsigned pasid; member
H A Dgfx_v11_0_3.c84 /* Workaround: when vmid and pasid are both zero, trigger gpu reset in KGD. */ in gfx_v11_0_3_poison_consumption_handler()
87 !entry->vmid && !entry->pasid) { in gfx_v11_0_3_poison_consumption_handler()
H A Damdgpu_amdkfd_gfx_v8.c87 static int kgd_set_pasid_vmid_mapping(struct amdgpu_device *adev, u32 pasid, in kgd_set_pasid_vmid_mapping() argument
97 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping()
106 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
H A Damdgpu_amdkfd_gc_9_4_3.c224 u32 pasid, unsigned int vmid, uint32_t xcc_inst) in kgd_gfx_v9_4_3_set_pasid_vmid_mapping()
239 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_4_3_set_pasid_vmid_mapping()
223 kgd_gfx_v9_4_3_set_pasid_vmid_mapping(struct amdgpu_device *adev, u32 pasid, unsigned int vmid, uint32_t xcc_inst) kgd_gfx_v9_4_3_set_pasid_vmid_mapping() argument
H A Damdgpu_amdkfd_gfx_v7.c93 static int kgd_set_pasid_vmid_mapping(struct amdgpu_device *adev, u32 pasid, in kgd_set_pasid_vmid_mapping() argument
102 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping()
111 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
/kernel/linux/linux-5.10/include/linux/
H A Duacce.h75 * @pasid: pasid associated to the mm
86 u32 pasid; member
/kernel/linux/linux-6.6/include/linux/
H A Duacce.h87 * @pasid: pasid associated to the mm
99 u32 pasid; member
/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Ddebugfs.c18 #include "pasid.h"
23 u32 pasid; member
176 tbl_wlk->pasid, tbl_wlk->pasid_tbl_entry->val[2], in print_tbl_walk()
190 tbl_wlk->pasid = (dir_idx << PASID_PDE_SHIFT) + tbl_idx; in pasid_tbl_walk()
350 seq_printf(m, "Device %s with pasid %d @0x%llx\n", in show_device_domain_translation()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Didxd.h178 uint32_t pasid:20; member
281 uint32_t pasid:20; member
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.c31 u32 pasid) in zap_shader_load_mdt()
141 ret = qcom_mdt_load(dev, fw, fwname, pasid, in zap_shader_load_mdt()
148 ret = qcom_mdt_load(dev, fw, newname, pasid, in zap_shader_load_mdt()
156 ret = qcom_scm_pas_auth_and_reset(pasid); in zap_shader_load_mdt()
176 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid) in adreno_zap_shader_load() argument
191 return zap_shader_load_mdt(gpu, adreno_gpu->info->zapfw, pasid); in adreno_zap_shader_load()
30 zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname, u32 pasid) zap_shader_load_mdt() argument

Completed in 24 milliseconds

12345678910