2021-07-14 00:44:10 +02:00
|
|
|
#ifndef __ASM_E2K_IOMMU_H
|
|
|
|
#define __ASM_E2K_IOMMU_H
|
|
|
|
|
2022-04-04 13:23:50 +02:00
|
|
|
#ifdef CONFIG_EPIC
|
|
|
|
extern void e2k_iommu_error_interrupt(void);
|
|
|
|
#else
|
|
|
|
static inline void e2k_iommu_error_interrupt(void) {}
|
|
|
|
#endif
|
2021-07-14 00:44:10 +02:00
|
|
|
|
|
|
|
extern int iommu_panic_off;
|
|
|
|
extern void e2k_iommu_error_interrupt(void);
|
|
|
|
extern void e2k_iommu_guest_write_ctrl(u32 reg_value);
|
|
|
|
extern void e2k_iommu_setup_guest_2d_dte(struct kvm *kvm, u64 g_page_table);
|
|
|
|
extern void e2k_iommu_flush_guest(struct kvm *kvm, u64 command);
|
|
|
|
|
|
|
|
#endif /* __ASM_E2K_IOMMU_H */
|