Home
last modified time | relevance | path

Searched refs:intel_iommu (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/iommu/intel/
Dperf.h39 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()
Diommu.h465 void (*flush_context)(struct intel_iommu *iommu, u16 did, u16 sid,
467 void (*flush_iotlb)(struct intel_iommu *iommu, u16 did, u64 addr,
529 struct intel_iommu *iommu;
564 struct intel_iommu { struct
629 struct intel_iommu *iommu; /* IOMMU used by this device */ argument
635 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache()
649 domain_id_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_id_iommu()
714 extern int dmar_enable_qi(struct intel_iommu *iommu);
715 extern void dmar_disable_qi(struct intel_iommu *iommu);
716 extern int dmar_reenable_qi(struct intel_iommu *iommu);
[all …]
Dpasid.h112 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 void intel_pasid_tear_down_entry(struct intel_iommu *iommu,
124 int vcmd_alloc_pasid(struct intel_iommu *iommu, u32 *pasid);
125 void vcmd_free_pasid(struct intel_iommu *iommu, u32 pasid);
126 void intel_pasid_setup_page_snoop_control(struct intel_iommu *iommu,
Dirq_remapping.c33 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 …]
Diommu.c218 static inline bool context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in context_copied()
227 set_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in set_context_copied()
233 clear_context_copied(struct intel_iommu *iommu, u8 bus, u8 devfn) in clear_context_copied()
268 struct intel_iommu *iommu; /* the corresponding iommu */
298 static bool translation_pre_enabled(struct intel_iommu *iommu) in translation_pre_enabled()
303 static void clear_translation_pre_enabled(struct intel_iommu *iommu) in clear_translation_pre_enabled()
308 static void init_translation_status(struct intel_iommu *iommu) in init_translation_status()
403 static unsigned long __iommu_calculate_sagaw(struct intel_iommu *iommu) in __iommu_calculate_sagaw()
421 static int __iommu_calculate_agaw(struct intel_iommu *iommu, int max_gaw) in __iommu_calculate_agaw()
438 int iommu_calculate_max_sagaw(struct intel_iommu *iommu) in iommu_calculate_max_sagaw()
[all …]
Dcap_audit.c19 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()
180 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu) in intel_cap_audit()
Dperf.c18 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()
Ddebugfs.c117 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 …]
Dpasid.c29 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()
396 pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, in pasid_cache_invalidation_with_pasid()
411 devtlb_invalidation_with_pasid(struct intel_iommu *iommu, in devtlb_invalidation_with_pasid()
437 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, struct device *dev, in intel_pasid_tear_down_entry()
474 static void pasid_flush_caches(struct intel_iommu *iommu, in pasid_flush_caches()
493 int intel_pasid_setup_first_level(struct intel_iommu *iommu, in intel_pasid_setup_first_level()
574 struct intel_iommu *iommu, in iommu_skip_agaw()
591 int intel_pasid_setup_second_level(struct intel_iommu *iommu, in intel_pasid_setup_second_level()
658 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, in intel_pasid_setup_pass_through()
[all …]
Ddmar.c66 static void free_iommu(struct intel_iommu *iommu);
950 static void unmap_iommu(struct intel_iommu *iommu) in unmap_iommu()
964 static int map_iommu(struct intel_iommu *iommu, u64 phys_addr) in map_iommu()
1029 struct intel_iommu *iommu; in alloc_iommu()
1141 static void free_iommu(struct intel_iommu *iommu) in free_iommu()
1211 static void qi_dump_fault(struct intel_iommu *iommu, u32 fault) in qi_dump_fault()
1242 static int qi_check_fault(struct intel_iommu *iommu, int index, int wait_index) in qi_check_fault()
1318 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc, in qi_submit_sync()
1441 void qi_global_iec(struct intel_iommu *iommu) in qi_global_iec()
1454 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context()
[all …]
Dtrace.h10 #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,
Dsvm.c68 int intel_svm_enable_prq(struct intel_iommu *iommu) in intel_svm_enable_prq()
131 int intel_svm_finish_prq(struct intel_iommu *iommu) in intel_svm_finish_prq()
154 void intel_svm_check(struct intel_iommu *iommu) in intel_svm_check()
311 static struct iommu_sva *intel_svm_bind_mm(struct intel_iommu *iommu, in intel_svm_bind_mm()
409 struct intel_iommu *iommu; in intel_svm_unbind_mm()
512 struct intel_iommu *iommu; in intel_svm_drain_prq()
610 static int intel_svm_prq_report(struct intel_iommu *iommu, struct device *dev, in intel_svm_prq_report()
654 static void handle_bad_prq_event(struct intel_iommu *iommu, in handle_bad_prq_event()
695 struct intel_iommu *iommu = d; in prq_event_thread()
792 struct intel_iommu *iommu = device_to_iommu(dev, NULL, NULL); in intel_svm_bind()
[all …]
DKconfig65 be enabled by passing intel_iommu=on to the kernel.
96 passing intel_iommu=sm_on to the kernel. If not sure, please use
Dcap_audit.h131 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu);
/linux-6.1.9/include/linux/
Ddmar.h28 struct intel_iommu;
48 struct intel_iommu *iommu;
131 void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id,
134 static inline void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, in dmar_fault_dump_ptes()
291 extern int dmar_set_interrupt(struct intel_iommu *iommu);
/linux-6.1.9/Documentation/x86/
Diommu.rst68 option intel_iommu=igfx_off to turn off the integrated graphics engine.
Dintel_txt.rst141 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-6.1.9/Documentation/admin-guide/
Dkernel-parameters.txt2051 intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option