| /Linux-v5.15/drivers/iommu/intel/ |
| D | perf.h | 39 int dmar_latency_enable(struct intel_iommu *iommu, enum latency_type type); 40 void dmar_latency_disable(struct intel_iommu *iommu, enum latency_type type); 41 bool dmar_latency_enabled(struct intel_iommu *iommu, enum latency_type type); 42 void dmar_latency_update(struct intel_iommu *iommu, enum latency_type type, 44 int dmar_latency_snapshot(struct intel_iommu *iommu, char *str, size_t size); 47 dmar_latency_enable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enable() 53 dmar_latency_disable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_disable() 58 dmar_latency_enabled(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enabled() 64 dmar_latency_update(struct intel_iommu *iommu, enum latency_type type, u64 latency) in dmar_latency_update() 69 dmar_latency_snapshot(struct intel_iommu *iommu, char *str, size_t size) in dmar_latency_snapshot()
|
| D | pasid.h | 112 int intel_pasid_setup_first_level(struct intel_iommu *iommu, 115 int intel_pasid_setup_second_level(struct intel_iommu *iommu, 118 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, 121 int intel_pasid_setup_nested(struct intel_iommu *iommu, 125 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, 128 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid); 129 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid);
|
| D | irq_remapping.c | 33 struct intel_iommu *iommu; 40 struct intel_iommu *iommu; 47 struct intel_iommu *iommu; 83 static void iommu_disable_irq_remapping(struct intel_iommu *iommu); 86 static bool ir_pre_enabled(struct intel_iommu *iommu) in ir_pre_enabled() 91 static void clear_ir_pre_enabled(struct intel_iommu *iommu) in clear_ir_pre_enabled() 96 static void init_ir_status(struct intel_iommu *iommu) in init_ir_status() 105 static int alloc_irte(struct intel_iommu *iommu, in alloc_irte() 145 static int qi_flush_iec(struct intel_iommu *iommu, int index, int mask) in qi_flush_iec() 161 struct intel_iommu *iommu; in modify_irte() [all …]
|
| D | iommu.c | 155 static struct intel_iommu **g_iommus; 307 struct intel_iommu *iommu; /* the corresponding iommu */ 392 static bool translation_pre_enabled(struct intel_iommu *iommu) in translation_pre_enabled() 397 static void clear_translation_pre_enabled(struct intel_iommu *iommu) in clear_translation_pre_enabled() 402 static void init_translation_status(struct intel_iommu *iommu) in init_translation_status() 457 static struct dmar_domain* get_iommu_domain(struct intel_iommu *iommu, u16 did) in get_iommu_domain() 469 static void set_iommu_domain(struct intel_iommu *iommu, u16 did, in set_iommu_domain() 541 static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) in __iommu_calculate_agaw() 559 int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw() 569 int iommu_calculate_agaw(struct intel_iommu *iommu) in iommu_calculate_agaw() [all …]
|
| D | cap_audit.c | 19 static inline void check_irq_capabilities(struct intel_iommu *a, in check_irq_capabilities() 20 struct intel_iommu *b) in check_irq_capabilities() 26 static inline void check_dmar_capabilities(struct intel_iommu *a, in check_dmar_capabilities() 27 struct intel_iommu *b) in check_dmar_capabilities() 75 static int cap_audit_hotplug(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_hotplug() 143 static int cap_audit_static(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_static() 146 struct intel_iommu *i; in cap_audit_static() 171 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu) in intel_cap_audit()
|
| D | perf.c | 18 bool dmar_latency_enabled(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enabled() 25 int dmar_latency_enable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_enable() 57 void dmar_latency_disable(struct intel_iommu *iommu, enum latency_type type) in dmar_latency_disable() 70 void dmar_latency_update(struct intel_iommu *iommu, enum latency_type type, u64 latency) in dmar_latency_update() 116 int dmar_latency_snapshot(struct intel_iommu *iommu, char *str, size_t size) in dmar_latency_snapshot()
|
| D | debugfs.c | 117 struct intel_iommu *iommu; in iommu_regset_show() 218 static void ctx_tbl_walk(struct seq_file *m, struct intel_iommu *iommu, u16 bus) in ctx_tbl_walk() 264 static void root_tbl_walk(struct seq_file *m, struct intel_iommu *iommu) in root_tbl_walk() 288 struct intel_iommu *iommu; in dmar_translation_struct_show() 380 struct intel_iommu *iommu) in invalidation_queue_entry_show() 409 struct intel_iommu *iommu; in invalidation_queue_show() 441 struct intel_iommu *iommu) in ir_tbl_remap_entry_show() 465 struct intel_iommu *iommu) in ir_tbl_posted_entry_show() 497 struct intel_iommu *iommu; in ir_translation_struct_show() 545 static void latency_show_one(struct seq_file *m, struct intel_iommu *iommu, in latency_show_one() [all …]
|
| D | pasid.c | 29 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid) in vcmd_alloc_pasid() 60 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid) in vcmd_free_pasid() 469 pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, in pasid_cache_invalidation_with_pasid() 484 devtlb_invalidation_with_pasid(struct intel_iommu *iommu, in devtlb_invalidation_with_pasid() 510 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, struct device *dev, in intel_pasid_tear_down_entry() 547 static void pasid_flush_caches(struct intel_iommu *iommu, in pasid_flush_caches() 582 int intel_pasid_setup_first_level(struct intel_iommu *iommu, in intel_pasid_setup_first_level() 648 struct intel_iommu *iommu, in iommu_skip_agaw() 665 int intel_pasid_setup_second_level(struct intel_iommu *iommu, in intel_pasid_setup_second_level() 731 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, in intel_pasid_setup_pass_through() [all …]
|
| D | dmar.c | 67 static void free_iommu(struct intel_iommu *iommu); 953 static void unmap_iommu(struct intel_iommu *iommu) in unmap_iommu() 967 static int map_iommu(struct intel_iommu *iommu, u64 phys_addr) in map_iommu() 1030 static int dmar_alloc_seq_id(struct intel_iommu *iommu) in dmar_alloc_seq_id() 1044 static void dmar_free_seq_id(struct intel_iommu *iommu) in dmar_free_seq_id() 1054 struct intel_iommu *iommu; in alloc_iommu() 1163 static void free_iommu(struct intel_iommu *iommu) in free_iommu() 1233 static void qi_dump_fault(struct intel_iommu *iommu, u32 fault) in qi_dump_fault() 1264 static int qi_check_fault(struct intel_iommu *iommu, int index, int wait_index) in qi_check_fault() 1340 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc, in qi_submit_sync() [all …]
|
| D | svm.c | 85 int intel_svm_enable_prq(struct intel_iommu *iommu) in intel_svm_enable_prq() 148 int intel_svm_finish_prq(struct intel_iommu *iommu) in intel_svm_finish_prq() 171 static inline bool intel_svm_capable(struct intel_iommu *iommu) in intel_svm_capable() 176 void intel_svm_check(struct intel_iommu *iommu) in intel_svm_check() 324 struct intel_iommu *iommu = device_to_iommu(dev, NULL, NULL); in intel_svm_bind_gpasid() 465 struct intel_iommu *iommu = device_to_iommu(dev, NULL, NULL); in intel_svm_unbind_gpasid() 537 static struct iommu_sva *intel_svm_bind_mm(struct intel_iommu *iommu, in intel_svm_bind_mm() 642 struct intel_iommu *iommu; in intel_svm_unbind_mm() 750 struct intel_iommu *iommu; in intel_svm_drain_prq() 848 static int intel_svm_prq_report(struct intel_iommu *iommu, struct device *dev, in intel_svm_prq_report() [all …]
|
| D | Kconfig | 63 be enabled by passing intel_iommu=on to the kernel. 94 passing intel_iommu=sm_on to the kernel. If not sure, please use
|
| D | cap_audit.h | 130 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu);
|
| /Linux-v5.15/include/linux/ |
| D | intel-iommu.h | 464 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid, 466 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr, 578 struct intel_iommu { struct 654 struct intel_iommu *iommu; /* IOMMU used by this device */ 660 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache() 719 extern int dmar_enable_qi(struct intel_iommu *iommu); 720 extern void dmar_disable_qi(struct intel_iommu *iommu); 721 extern int dmar_reenable_qi(struct intel_iommu *iommu); 722 extern void qi_global_iec(struct intel_iommu *iommu); 724 extern void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, [all …]
|
| D | dmar.h | 32 struct intel_iommu; 52 struct intel_iommu *iommu; 283 extern int dmar_set_interrupt(struct intel_iommu *iommu);
|
| /Linux-v5.15/include/trace/events/ |
| D | intel_iommu.h | 10 #define TRACE_SYSTEM intel_iommu 21 TP_PROTO(struct intel_iommu *iommu, u64 qw0, u64 qw1, u64 qw2, u64 qw3), 58 TP_PROTO(struct intel_iommu *iommu, struct device *dev,
|
| /Linux-v5.15/Documentation/x86/ |
| D | intel-iommu.rst | 59 option intel_iommu=igfx_off to turn off the integrated graphics engine.
|
| D | intel_txt.rst | 141 VT-d PMRs). Thus, the kernel must be booted with 'intel_iommu=on' 205 module /vmlinuz-2.6.29-tip intel_iommu=on ro
|
| /Linux-v5.15/Documentation/admin-guide/ |
| D | kernel-parameters.txt | 1951 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
|