| /linux/drivers/iommu/intel/ |
| H A D | pasid.c | 129 static struct pasid_entry *intel_pasid_get_entry(struct device *dev, u32 pasid) in intel_pasid_get_entry() 181 intel_pasid_clear_entry(struct device *dev, u32 pasid, bool fault_ignore) in intel_pasid_clear_entry() 197 u16 did, u32 pasid) in pasid_cache_invalidation_with_pasid() 212 struct device *dev, u32 pasid) in devtlb_invalidation_with_pasid() 241 u32 pasid, bool fault_ignore) in intel_pasid_tear_down_entry() 299 u32 pasid, u16 did) in pasid_flush_caches() 322 u32 pasid, u16 did, in intel_pasid_flush_present() 377 phys_addr_t fsptptr, u32 pasid, u16 did, in intel_pasid_setup_first_level() 417 u32 pasid, u16 did, u16 old_did, in intel_pasid_replace_first_level() 487 struct device *dev, u32 pasid) in intel_pasid_setup_second_level() [all …]
|
| H A D | cache.c | 25 ioasid_t pasid, enum cache_tag_type type) in cache_tage_match() 44 ioasid_t pasid, enum cache_tag_type type) in cache_tag_assign() 94 struct device *dev, ioasid_t pasid, in cache_tag_unassign() 136 struct device *dev, ioasid_t pasid) in __cache_tag_assign_domain() 157 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_domain() 168 struct device *dev, ioasid_t pasid) in __cache_tag_assign_parent_domain() 189 struct device *dev, ioasid_t pasid) in __cache_tag_unassign_parent_domain() 223 struct device *dev, ioasid_t pasid) in cache_tag_assign_domain() 247 struct device *dev, ioasid_t pasid) in cache_tag_unassign_domain() 333 static void qi_batch_add_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, in qi_batch_add_piotlb() [all …]
|
| H A D | nested.c | 136 struct device *dev, ioasid_t pasid, in domain_setup_nested() 147 struct device *dev, ioasid_t pasid, in intel_nested_set_dev_pasid()
|
| H A D | iommu.c | 579 unsigned long long addr, u32 pasid) in dmar_fault_dump_ptes() 1250 ioasid_t pasid, u16 did, phys_addr_t fsptptr, in __domain_setup_first_level() 1263 struct device *dev, ioasid_t pasid, in domain_setup_second_level() 1275 struct device *dev, ioasid_t pasid, in domain_setup_passthrough() 1288 u32 pasid, struct iommu_domain *old) in domain_setup_first_level() 3524 struct device *dev, ioasid_t pasid) in domain_remove_dev_pasid() 3559 struct device *dev, ioasid_t pasid, in blocking_domain_set_dev_pasid() 3573 struct device *dev, ioasid_t pasid) in domain_add_dev_pasid() 3609 struct device *dev, ioasid_t pasid, in intel_iommu_set_dev_pasid() 3857 struct device *dev, ioasid_t pasid, in identity_domain_set_dev_pasid() [all …]
|
| H A D | dmar.c | 1555 void qi_flush_piotlb(struct intel_iommu *iommu, u16 did, u32 pasid, u64 addr, in qi_flush_piotlb() 1576 u32 pasid, u16 qdep, u64 addr, unsigned int size_order) in qi_flush_dev_iotlb_pasid() 1596 u64 granu, u32 pasid) in qi_flush_pasid_cache() 1900 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one() 1963 u32 pasid; in dmar_fault() local
|
| H A D | svm.c | 149 struct device *dev, ioasid_t pasid, in intel_svm_set_dev_pasid()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | device.c | 353 ioasid_t pasid) in iommufd_group_device_num() 406 iommufd_group_first_attach(struct iommufd_group *igroup, ioasid_t pasid) in iommufd_group_first_attach() 441 ioasid_t pasid) in iommufd_device_is_attached() 451 ioasid_t pasid) in iommufd_hwpt_pasid_compat() 499 ioasid_t pasid) in iommufd_hwpt_attach_device() 533 iommufd_device_get_attach_handle(struct iommufd_device *idev, ioasid_t pasid) in iommufd_device_get_attach_handle() 547 ioasid_t pasid) in iommufd_hwpt_detach_device() 562 ioasid_t pasid, in iommufd_hwpt_replace_device() 603 struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_attach() 687 iommufd_hw_pagetable_detach(struct iommufd_device *idev, ioasid_t pasid) in iommufd_hw_pagetable_detach() [all …]
|
| H A D | iommufd_test.h | 158 __u32 pasid; member 171 __u32 pasid; member 176 __u32 pasid; member 181 __u32 pasid; member 185 __u32 pasid; member
|
| /linux/drivers/iommu/amd/ |
| H A D | pasid.c | 24 ioasid_t pasid) in is_pasid_valid() 43 struct device *dev, ioasid_t pasid) in remove_pdom_dev_pasid() 103 struct device *dev, ioasid_t pasid, in iommu_sva_set_dev_pasid() 148 void amd_iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in amd_iommu_remove_dev_pasid()
|
| H A D | iommu.c | 893 u32 pasid; in iommu_print_event() local 1291 ioasid_t pasid, bool gn) in build_inv_iommu_pages() 1311 ioasid_t pasid, bool gn) in build_inv_iotlb_pages() 1331 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr() 1573 size_t size, ioasid_t pasid, bool gn) in device_flush_iotlb() 1685 ioasid_t pasid = IOMMU_NO_PASID; in __domain_flush_pages() local 1768 ioasid_t pasid, u64 address, size_t size) in amd_iommu_dev_flush_pasid_pages() 1784 ioasid_t pasid) in dev_flush_pasid_all() 1790 int amd_iommu_complete_ppr(struct device *dev, u32 pasid, int status, int tag) in amd_iommu_complete_ppr() 1920 ioasid_t pasid, bool alloc) in __get_gcr3_pte() [all …]
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | cik_event_interrupt.c | 38 uint16_t pasid; in cik_event_interrupt_isr() local 94 u32 pasid = (ihre->ring_id & 0xffff0000) >> 16; in cik_event_interrupt_wq() local
|
| H A D | kfd_pm4_headers.h | 59 uint32_t pasid:16; member 108 uint32_t pasid:16; member
|
| /linux/drivers/vfio/ |
| H A D | iommufd.c | 133 int pasid; in vfio_iommufd_physical_unbind() local 186 u32 pasid, u32 *pt_id) in vfio_iommufd_physical_pasid_attach_ioas() 212 u32 pasid) in vfio_iommufd_physical_pasid_detach_ioas()
|
| /linux/arch/csky/mm/ |
| H A D | asid.c | 79 static u64 new_context(struct asid_info *info, atomic64_t *pasid, in new_context() 137 void asid_new_context(struct asid_info *info, atomic64_t *pasid, in asid_new_context()
|
| /linux/drivers/dma/idxd/ |
| H A D | cdev.c | 44 unsigned int pasid; member 201 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment() 226 unsigned int pasid; in idxd_cdev_open() local 328 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid) in idxd_cdev_evl_drain_pasid() 731 int idxd_copy_cr(struct idxd_wq *wq, ioasid_t pasid, unsigned long addr, in idxd_copy_cr()
|
| H A D | device.c | 319 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid) in __idxd_wq_set_pasid_locked() 335 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid) in idxd_wq_set_pasid() 600 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid) in idxd_device_drain_pasid() 1445 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0; in idxd_drv_enable_wq() local
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_utils.h | 927 static int _test_cmd_trigger_iopf(int fd, __u32 device_id, __u32 pasid, in _test_cmd_trigger_iopf() 967 #define test_cmd_trigger_iopf_pasid(device_id, pasid, fault_fd) \ argument 1174 static int _test_cmd_pasid_attach(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_attach() 1191 #define test_cmd_pasid_attach(pasid, hwpt_id) \ argument 1195 #define test_err_pasid_attach(_errno, pasid, hwpt_id) \ argument 1200 static int _test_cmd_pasid_replace(int fd, __u32 stdev_id, __u32 pasid, in _test_cmd_pasid_replace() 1217 #define test_cmd_pasid_replace(pasid, hwpt_id) \ argument 1221 #define test_err_pasid_replace(_errno, pasid, hwpt_id) \ argument 1226 static int _test_cmd_pasid_detach(int fd, __u32 stdev_id, __u32 pasid) in _test_cmd_pasid_detach() 1241 #define test_cmd_pasid_detach(pasid) \ argument [all …]
|
| /linux/drivers/crypto/hisilicon/ |
| H A D | qm_common.h | 34 __le16 pasid; member 49 __le16 pasid; member
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gmc.c | 399 static inline uint64_t amdgpu_gmc_fault_key(uint64_t addr, uint16_t pasid) in amdgpu_gmc_fault_key() 419 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() 488 uint16_t pasid) in amdgpu_gmc_filter_faults_remove() 717 int amdgpu_gmc_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, in amdgpu_gmc_flush_gpu_tlb_pasid()
|
| H A D | gmc_v7_0.c | 435 uint16_t pasid, uint32_t flush_type, in gmc_v7_0_flush_gpu_tlb_pasid() 495 unsigned int pasid) in gmc_v7_0_emit_pasid_mapping() 770 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v7_0_vm_decode_fault()
|
| H A D | gmc_v8_0.c | 626 uint16_t pasid, uint32_t flush_type, in gmc_v8_0_flush_gpu_tlb_pasid() 686 unsigned int pasid) in gmc_v8_0_emit_pasid_mapping() 1004 u32 addr, u32 mc_client, unsigned int pasid) in gmc_v8_0_vm_decode_fault()
|
| /linux/drivers/iommu/ |
| H A D | iommu.c | 3396 static void iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid, in iommu_remove_dev_pasid() 3407 struct iommu_group *group, ioasid_t pasid, in __iommu_set_group_pasid() 3446 ioasid_t pasid, in __iommu_remove_group_pasid() 3470 struct device *dev, ioasid_t pasid, in iommu_attach_device_pasid() 3557 struct device *dev, ioasid_t pasid, in iommu_replace_device_pasid() 3640 ioasid_t pasid) in iommu_detach_device_pasid() 3670 void iommu_free_global_pasid(ioasid_t pasid) in iommu_free_global_pasid() 3694 iommu_attach_handle_get(struct iommu_group *group, ioasid_t pasid, unsigned int type) in iommu_attach_handle_get()
|
| /linux/drivers/misc/ocxl/ |
| H A D | link.c | 538 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe() 631 int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid) in ocxl_link_update_pe() 667 int ocxl_link_remove_pe(void *link_handle, int pasid) in ocxl_link_remove_pe()
|
| H A D | ocxl_internal.h | 72 int pasid; member 87 __be32 pasid; member
|
| /linux/arch/csky/include/asm/ |
| H A D | asid.h | 43 atomic64_t *pasid, unsigned int cpu, in asid_check_context()
|