/kernel/linux/linux-5.10/drivers/misc/ocxl/ |
H A D | config.c | 721 dev_dbg(&dev->dev, " pasid supported (log) = %u\n", in ocxl_config_read_afu() 898 int ocxl_config_terminate_pasid(struct pci_dev *dev, int afu_control, int pasid) in ocxl_config_terminate_pasid() argument 908 pasid); in ocxl_config_terminate_pasid() 913 val |= pasid & OCXL_DVSEC_PASID_MASK; in ocxl_config_terminate_pasid() 926 pasid); in ocxl_config_terminate_pasid()
|
/kernel/linux/linux-6.6/drivers/misc/ocxl/ |
H A D | config.c | 710 dev_dbg(&dev->dev, " pasid supported (log) = %u\n", in ocxl_config_read_afu() 887 int ocxl_config_terminate_pasid(struct pci_dev *dev, int afu_control, int pasid) in ocxl_config_terminate_pasid() argument 897 pasid); in ocxl_config_terminate_pasid() 902 val |= pasid & OCXL_DVSEC_PASID_MASK; in ocxl_config_terminate_pasid() 915 pasid); in ocxl_config_terminate_pasid()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v10.c | 95 static int kgd_set_pasid_vmid_mapping(struct amdgpu_device *adev, u32 pasid, in kgd_set_pasid_vmid_mapping() argument 105 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() 108 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping() 128 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
|
H A D | amdgpu_fdinfo.c | 89 drm_printf(p, "pasid:\t%u\n", fpriv->vm.pasid); in amdgpu_show_fdinfo()
|
H A D | amdgpu_irq.h | 55 unsigned pasid; member
|
H A D | amdgpu_amdkfd_gfx_v10_3.c | 96 static int set_pasid_vmid_mapping_v10_3(struct amdgpu_device *adev, unsigned int pasid, in set_pasid_vmid_mapping_v10_3() argument 99 uint32_t value = pasid << IH_VMID_0_LUT__PASID__SHIFT; in set_pasid_vmid_mapping_v10_3() 101 /* Mapping vmid to pasid also for IH block */ in set_pasid_vmid_mapping_v10_3() 102 pr_debug("mapping vmid %d -> pasid %d in IH block for GFX client\n", in set_pasid_vmid_mapping_v10_3() 103 vmid, pasid); in set_pasid_vmid_mapping_v10_3()
|
H A D | gmc_v8_0.c | 605 * gmc_v8_0_flush_gpu_tlb_pasid - tlb flush via pasid 608 * @pasid: pasid to be flush 613 * Flush the TLB for the requested pasid. 616 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid() 629 (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { in gmc_v8_0_flush_gpu_tlb_pasid() 682 unsigned int pasid) in gmc_v8_0_emit_pasid_mapping() 684 amdgpu_ring_emit_wreg(ring, mmIH_VMID_0_LUT + vmid, pasid); in gmc_v8_0_emit_pasid_mapping() 990 * @pasid: debug logging only - no functional use 995 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v8_0_vm_decode_fault() 615 gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, uint32_t flush_type, bool all_hub, uint32_t inst) gmc_v8_0_flush_gpu_tlb_pasid() argument 681 gmc_v8_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned int vmid, unsigned int pasid) gmc_v8_0_emit_pasid_mapping() argument 994 gmc_v8_0_vm_decode_fault(struct amdgpu_device *adev, u32 status, u32 addr, u32 mc_client, unsigned int pasid) gmc_v8_0_vm_decode_fault() argument [all...] |
H A D | amdgpu_amdkfd_gfx_v9.c | 101 int kgd_gfx_v9_set_pasid_vmid_mapping(struct amdgpu_device *adev, u32 pasid, in kgd_gfx_v9_set_pasid_vmid_mapping() argument 111 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_set_pasid_vmid_mapping() 133 /* Mapping vmid to pasid also for IH block */ in kgd_gfx_v9_set_pasid_vmid_mapping() 150 /* Mapping vmid to pasid also for IH block */ in kgd_gfx_v9_set_pasid_vmid_mapping() 982 * process whose pasid is provided as a parameter. The process could have ZERO 986 * @pasid: Identifies the process for which this query call is invoked 988 * belong to process with given pasid 1019 * Determine if VMID from above step maps to pasid provided as parameter. If 1020 * it matches agrregate the wave count. That the VMID will not match pasid i 1026 kgd_gfx_v9_get_cu_occupancy(struct amdgpu_device *adev, int pasid, int *pasid_wave_cnt, int *max_waves_per_cu, uint32_t inst) kgd_gfx_v9_get_cu_occupancy() argument [all...] |
H A D | amdgpu_amdkfd.h | 168 uint16_t pasid, enum TLB_FLUSH_TYPE flush_type, 285 struct amdgpu_vm *avm, u32 pasid);
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | traps.c | 569 u32 pasid; in try_fixup_enqcmd_gp() local 594 pasid = current->mm->pasid; in try_fixup_enqcmd_gp() 603 wrmsrl(MSR_IA32_PASID, pasid | MSR_IA32_PASID_VALID); in try_fixup_enqcmd_gp()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_pm4_headers_diq.h | 70 unsigned int pasid:10; member
|
H A D | kfd_dbgmgr.h | 278 u32 pasid; member
|
H A D | kfd_chardev.c | 133 "process %d unreferenced", process->pasid); in kfd_open() 142 process->pasid, process->is_32bit_user_mode); in kfd_open() 309 p->pasid, in kfd_ioctl_create_queue() 356 pr_debug("Destroying queue id %d for pasid 0x%x\n", in kfd_ioctl_destroy_queue() 358 p->pasid); in kfd_ioctl_destroy_queue() 402 pr_debug("Updating queue id %d for pasid 0x%x\n", in kfd_ioctl_update_queue() 403 args->queue_id, p->pasid); in kfd_ioctl_update_queue() 879 dev_dbg(kfd_device, "get apertures for PASID 0x%x", p->pasid); in kfd_ioctl_get_process_apertures() 937 dev_dbg(kfd_device, "get apertures for PASID 0x%x", p->pasid); in kfd_ioctl_get_process_apertures_new() 1979 pr_debug("pasid in kfd_mmio_mmap() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_debug.h | 36 unsigned int pasid,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v7.c | 142 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, u32 pasid, in kgd_set_pasid_vmid_mapping() argument 153 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() 162 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
|
H A D | amdgpu_amdkfd_gfx_v8.c | 99 static int kgd_set_pasid_vmid_mapping(struct kgd_dev *kgd, u32 pasid, in kgd_set_pasid_vmid_mapping() argument 111 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() 120 /* Mapping vmid to pasid also for IH block */ in kgd_set_pasid_vmid_mapping()
|
H A D | gmc_v8_0.c | 631 * gmc_v8_0_flush_gpu_tlb_pasid - tlb flush via pasid 634 * @pasid: pasid to be flush 636 * Flush the TLB for the requested pasid. 639 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid() 652 (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { in gmc_v8_0_flush_gpu_tlb_pasid() 703 unsigned pasid) in gmc_v8_0_emit_pasid_mapping() 705 amdgpu_ring_emit_wreg(ring, mmIH_VMID_0_LUT + vmid, pasid); in gmc_v8_0_emit_pasid_mapping() 1020 u32 addr, u32 mc_client, unsigned pasid) in gmc_v8_0_vm_decode_fault() 1032 dev_err(adev->dev, "VM fault (0x%02x, vmid %d, pasid in gmc_v8_0_vm_decode_fault() 638 gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, uint32_t flush_type, bool all_hub) gmc_v8_0_flush_gpu_tlb_pasid() argument 702 gmc_v8_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned vmid, unsigned pasid) gmc_v8_0_emit_pasid_mapping() argument 1019 gmc_v8_0_vm_decode_fault(struct amdgpu_device *adev, u32 status, u32 addr, u32 mc_client, unsigned pasid) gmc_v8_0_vm_decode_fault() argument [all...] |
H A D | amdgpu_gmc.c | 262 * @pasid: PASID of the process causing the fault 270 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 274 uint64_t stamp, key = addr << 4 | pasid; in amdgpu_gmc_filter_faults() 269 amdgpu_gmc_filter_faults(struct amdgpu_device *adev, uint64_t addr, uint16_t pasid, uint64_t timestamp) amdgpu_gmc_filter_faults() argument
|
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | debugfs.c | 18 #include "pasid.h" 24 u32 pasid; member 180 tbl_wlk->pasid, tbl_wlk->pasid_tbl_entry->val[2], in print_tbl_walk() 194 tbl_wlk->pasid = (dir_idx << PASID_PDE_SHIFT) + tbl_idx; in pasid_tbl_walk()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/ |
H A D | types.h | 265 u64 pasid; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | idxd.h | 87 uint32_t pasid:20; member
|
/kernel/linux/linux-6.6/drivers/dma/idxd/ |
H A D | debugfs.c | 35 "wq idx %u op %#x pasid %u batch idx %u\n" in dump_event_entry() 40 entry->e.pasid, entry->e.batch_idx, entry->e.fault_addr); in dump_event_entry()
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | idxd.h | 90 uint32_t pasid : 20; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | idxd.h | 90 uint32_t pasid : 20; member
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
H A D | qm.c | 211 #define INIT_QC_COMMON(qc, base, pasid) do { \ 219 (qc)->pasid = cpu_to_le16(pasid); \ 261 __le16 pasid; member 276 __le16 pasid; member 1736 static int qm_qp_ctx_cfg(struct hisi_qp *qp, int qp_id, u32 pasid) in qm_qp_ctx_cfg() argument 1759 INIT_QC_COMMON(sqc, qp->sqe_dma, pasid); in qm_qp_ctx_cfg() 1786 INIT_QC_COMMON(cqc, qp->cqe_dma, pasid); in qm_qp_ctx_cfg() 1808 u32 pasid = arg; in qm_start_qp_nolock() local 1814 ret = qm_qp_ctx_cfg(qp, qp_id, pasid); in qm_start_qp_nolock() [all...] |