/openbmc/linux/drivers/iommu/intel/ |
H A 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()
|
H A 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()
|
H A 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; 628 struct intel_iommu *iommu; 653 struct intel_iommu { struct 719 struct intel_iommu *iommu; /* IOMMU used by this device */ argument 731 struct intel_iommu *iommu, void *addr, int size) in __iommu_flush_cache() 745 domain_id_iommu(struct dmar_domain *domain, struct intel_iommu *iommu) in domain_id_iommu() 810 int dmar_enable_qi(struct intel_iommu *iommu); 811 void dmar_disable_qi(struct intel_iommu *iommu); [all …]
|
H A 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,
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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 …]
|
H A 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() 450 void intel_pasid_tear_down_entry(struct intel_iommu *iommu, struct device *dev, in intel_pasid_tear_down_entry() 487 static void pasid_flush_caches(struct intel_iommu *iommu, in pasid_flush_caches() 506 int intel_pasid_setup_first_level(struct intel_iommu *iommu, in intel_pasid_setup_first_level() 567 struct intel_iommu *iommu, in iommu_skip_agaw() 584 int intel_pasid_setup_second_level(struct intel_iommu *iommu, in intel_pasid_setup_second_level() 645 int intel_pasid_setup_pass_through(struct intel_iommu *iommu, in intel_pasid_setup_pass_through() [all …]
|
H A 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() 1237 static void qi_dump_fault(struct intel_iommu *iommu, u32 fault) in qi_dump_fault() 1268 static int qi_check_fault(struct intel_iommu *iommu, int index, int wait_index) in qi_check_fault() 1344 int qi_submit_sync(struct intel_iommu *iommu, struct qi_desc *desc, in qi_submit_sync() 1475 void qi_global_iec(struct intel_iommu *iommu) in qi_global_iec() 1488 void qi_flush_context(struct intel_iommu *iommu, u16 did, u16 sid, u8 fm, in qi_flush_context() [all …]
|
H A 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 …]
|
H A 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() 318 static int intel_svm_bind_mm(struct intel_iommu *iommu, struct device *dev, in intel_svm_bind_mm() 395 struct intel_iommu *iommu; in intel_svm_remove_dev_pasid() 483 struct intel_iommu *iommu; in intel_drain_pasid_prq() 569 static int intel_svm_prq_report(struct intel_iommu *iommu, struct device *dev, in intel_svm_prq_report() 613 static void handle_bad_prq_event(struct intel_iommu *iommu, in handle_bad_prq_event() 654 struct intel_iommu *iommu = d; in prq_event_thread() 754 struct intel_iommu *iommu; in intel_svm_page_response() [all …]
|
H A 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,
|
H A 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
|
H A D | cap_audit.h | 131 int intel_cap_audit(enum cap_audit_type type, struct intel_iommu *iommu);
|
/openbmc/linux/include/linux/ |
H A 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);
|
/openbmc/qemu/hw/i386/ |
H A D | meson.build | 22 i386_ss.add(when: 'CONFIG_VTD', if_true: files('intel_iommu.c'))
|
H A D | pc.c | 1744 IntelIOMMUState *intel_iommu; in pc_hotplug_allowed() local 1749 intel_iommu = INTEL_IOMMU_DEVICE(iommu); in pc_hotplug_allowed() 1750 if (!intel_iommu->caching_mode) { in pc_hotplug_allowed()
|
H A D | trace-events | 6 # intel_iommu.c
|
H A D | acpi-build.c | 2061 IntelIOMMUState *intel_iommu = INTEL_IOMMU_DEVICE(iommu); in build_dmar_q35() local 2082 build_append_int_noprefix(table_data, intel_iommu->aw_bits - 1, 1); in build_dmar_q35()
|
/openbmc/linux/Documentation/arch/x86/ |
H A 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
|
H A D | iommu.rst | 68 option intel_iommu=igfx_off to turn off the integrated graphics engine.
|
/openbmc/qemu/docs/devel/migration/ |
H A D | qpl-compression.rst | 139 - Add ``"intel_iommu=on,sm_on"`` parameter to kernel command line
|
/openbmc/qemu/ |
H A D | MAINTAINERS | 3674 F: hw/i386/intel_iommu.c 3676 F: include/hw/i386/intel_iommu.h
|