| /Linux-v6.6/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 | perfmon.h | 39 int alloc_iommu_pmu(struct intel_iommu *iommu); 40 void free_iommu_pmu(struct intel_iommu *iommu); 41 void iommu_pmu_register(struct intel_iommu *iommu); 42 void iommu_pmu_unregister(struct intel_iommu *iommu); 45 alloc_iommu_pmu(struct intel_iommu *iommu) in alloc_iommu_pmu() 51 free_iommu_pmu(struct intel_iommu *iommu) in free_iommu_pmu() 56 iommu_pmu_register(struct intel_iommu *iommu) in iommu_pmu_register() 61 iommu_pmu_unregister(struct intel_iommu *iommu) in iommu_pmu_unregister()
|
| D | iommu.h | 521 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid, 523 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr, 575 struct intel_iommu *iommu; 625 struct intel_iommu *iommu; 650 struct intel_iommu { struct 716 struct intel_iommu *iommu; /* IOMMU used by this device */ argument 728 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache() 742 domain_id_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_id_iommu() 807 int dmar_enable_qi(struct intel_iommu *iommu); 808 void dmar_disable_qi(struct intel_iommu *iommu); [all …]
|
| D | pasid.h | 103 int intel_pasid_setup_first_level(struct intel_iommu *iommu, 106 int intel_pasid_setup_second_level(struct intel_iommu *iommu, 109 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, 112 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, 115 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid); 116 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid); 117 void intel_pasid_setup_page_snoop_control(struct intel_iommu *iommu,
|
| 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); 87 static bool ir_pre_enabled(struct intel_iommu *iommu) in ir_pre_enabled() 92 static void clear_ir_pre_enabled(struct intel_iommu *iommu) in clear_ir_pre_enabled() 97 static void init_ir_status(struct intel_iommu *iommu) in init_ir_status() 106 static int alloc_irte(struct intel_iommu *iommu, in alloc_irte() 146 static int qi_flush_iec(struct intel_iommu *iommu, int index, int mask) in qi_flush_iec() 162 struct intel_iommu *iommu; in modify_irte() [all …]
|
| D | iommu.c | 223 static inline bool context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in context_copied() 232 set_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in set_context_copied() 238 clear_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in clear_context_copied() 273 struct intel_iommu *iommu; /* the corresponding iommu */ 304 static bool translation_pre_enabled(struct intel_iommu *iommu) in translation_pre_enabled() 309 static void clear_translation_pre_enabled(struct intel_iommu *iommu) in clear_translation_pre_enabled() 314 static void init_translation_status(struct intel_iommu *iommu) in init_translation_status() 404 static unsigned long __iommu_calculate_sagaw(struct intel_iommu *iommu) in __iommu_calculate_sagaw() 422 static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) in __iommu_calculate_agaw() 439 int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw() [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() 74 static int cap_audit_hotplug(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_hotplug() 141 static int cap_audit_static(struct intel_iommu *iommu, enum cap_audit_type type) in cap_audit_static() 144 struct intel_iommu *i; in cap_audit_static() 178 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() 286 struct intel_iommu *iommu; in dmar_translation_struct_show() 397 struct intel_iommu *iommu) in invalidation_queue_entry_show() 426 struct intel_iommu *iommu; in invalidation_queue_show() 458 struct intel_iommu *iommu) in ir_tbl_remap_entry_show() 482 struct intel_iommu *iommu) in ir_tbl_posted_entry_show() 514 struct intel_iommu *iommu; in ir_translation_struct_show() 562 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() 406 pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, in pasid_cache_invalidation_with_pasid() 421 devtlb_invalidation_with_pasid(struct intel_iommu *iommu, in devtlb_invalidation_with_pasid() 447 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, struct device *dev, in intel_pasid_tear_down_entry() 484 static void pasid_flush_caches(struct intel_iommu *iommu, in pasid_flush_caches() 503 int intel_pasid_setup_first_level(struct intel_iommu *iommu, in intel_pasid_setup_first_level() 564 struct intel_iommu *iommu, in iommu_skip_agaw() 581 int intel_pasid_setup_second_level(struct intel_iommu *iommu, in intel_pasid_setup_second_level() 642 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, in intel_pasid_setup_pass_through() [all …]
|
| D | perfmon.c | 346 struct intel_iommu *iommu = iommu_pmu->iommu; in iommu_pmu_start() 383 struct intel_iommu *iommu = iommu_pmu->iommu; in iommu_pmu_stop() 495 struct intel_iommu *iommu = iommu_pmu->iommu; in iommu_pmu_enable() 503 struct intel_iommu *iommu = iommu_pmu->iommu; in iommu_pmu_disable() 538 struct intel_iommu *iommu = dev_id; in iommu_pmu_irq_handler() 551 static int __iommu_pmu_register(struct intel_iommu *iommu) in __iommu_pmu_register() 574 get_perf_reg_address(struct intel_iommu *iommu, u32 offset) in get_perf_reg_address() 581 int alloc_iommu_pmu(struct intel_iommu *iommu) in alloc_iommu_pmu() 725 void free_iommu_pmu(struct intel_iommu *iommu) in free_iommu_pmu() 744 static int iommu_pmu_set_interrupt(struct intel_iommu *iommu) in iommu_pmu_set_interrupt() [all …]
|
| D | dmar.c | 67 static void free_iommu(struct intel_iommu *iommu); 952 static void unmap_iommu(struct intel_iommu *iommu) in unmap_iommu() 966 static int map_iommu(struct intel_iommu *iommu, struct dmar_drhd_unit *drhd) in map_iommu() 1040 struct intel_iommu *iommu; in alloc_iommu() 1166 static void free_iommu(struct intel_iommu *iommu) in free_iommu() 1239 static void qi_dump_fault(struct intel_iommu *iommu, u32 fault) in qi_dump_fault() 1270 static int qi_check_fault(struct intel_iommu *iommu, int index, int wait_index) in qi_check_fault() 1346 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc, in qi_submit_sync() 1469 void qi_global_iec(struct intel_iommu *iommu) in qi_global_iec() 1482 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() [all …]
|
| D | trace.h | 10 #define TRACE_SYSTEM intel_iommu 22 TP_PROTO(struct intel_iommu *iommu, u64 qw0, u64 qw1, u64 qw2, u64 qw3), 59 TP_PROTO(struct intel_iommu *iommu, struct device *dev,
|
| D | svm.c | 64 int intel_svm_enable_prq(struct intel_iommu *iommu) in intel_svm_enable_prq() 127 int intel_svm_finish_prq(struct intel_iommu *iommu) in intel_svm_finish_prq() 150 void intel_svm_check(struct intel_iommu *iommu) in intel_svm_check() 292 static int intel_svm_bind_mm(struct intel_iommu *iommu, struct device *dev, in intel_svm_bind_mm() 369 struct intel_iommu *iommu; in intel_svm_remove_dev_pasid() 457 struct intel_iommu *iommu; in intel_drain_pasid_prq() 543 static int intel_svm_prq_report(struct intel_iommu *iommu, struct device *dev, in intel_svm_prq_report() 587 static void handle_bad_prq_event(struct intel_iommu *iommu, in handle_bad_prq_event() 628 struct intel_iommu *iommu = d; in prq_event_thread() 728 struct intel_iommu *iommu; in intel_svm_page_response() [all …]
|
| D | Kconfig | 64 be enabled by passing intel_iommu=on to the kernel. 95 passing intel_iommu=sm_on to the kernel. If not sure, please use
|
| D | cap_audit.h | 131 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu);
|
| /Linux-v6.6/include/linux/ |
| D | dmar.h | 28 struct intel_iommu; 49 struct intel_iommu *iommu; 130 void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, 133 static inline void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, in dmar_fault_dump_ptes() 297 extern int dmar_set_interrupt(struct intel_iommu *iommu);
|
| /Linux-v6.6/Documentation/arch/x86/ |
| D | iommu.rst | 68 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-v6.6/Documentation/admin-guide/ |
| D | kernel-parameters.txt | 2107 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
|