diff options
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index 0c878caaa0a2..3a6a3259e1eb 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h | |||
@@ -198,7 +198,7 @@ extern bool amd_iommu_dump; | |||
198 | #define DUMP_printk(format, arg...) \ | 198 | #define DUMP_printk(format, arg...) \ |
199 | do { \ | 199 | do { \ |
200 | if (amd_iommu_dump) \ | 200 | if (amd_iommu_dump) \ |
201 | printk(KERN_INFO "AMD IOMMU: " format, ## arg); \ | 201 | printk(KERN_INFO "AMD-Vi: " format, ## arg); \ |
202 | } while(0); | 202 | } while(0); |
203 | 203 | ||
204 | /* | 204 | /* |
@@ -337,6 +337,9 @@ struct amd_iommu { | |||
337 | /* if one, we need to send a completion wait command */ | 337 | /* if one, we need to send a completion wait command */ |
338 | bool need_sync; | 338 | bool need_sync; |
339 | 339 | ||
340 | /* becomes true if a command buffer reset is running */ | ||
341 | bool reset_in_progress; | ||
342 | |||
340 | /* default dma_ops domain for that IOMMU */ | 343 | /* default dma_ops domain for that IOMMU */ |
341 | struct dma_ops_domain *default_dom; | 344 | struct dma_ops_domain *default_dom; |
342 | }; | 345 | }; |
@@ -457,4 +460,7 @@ static inline void amd_iommu_stats_init(void) { } | |||
457 | 460 | ||
458 | #endif /* CONFIG_AMD_IOMMU_STATS */ | 461 | #endif /* CONFIG_AMD_IOMMU_STATS */ |
459 | 462 | ||
463 | /* some function prototypes */ | ||
464 | extern void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu); | ||
465 | |||
460 | #endif /* _ASM_X86_AMD_IOMMU_TYPES_H */ | 466 | #endif /* _ASM_X86_AMD_IOMMU_TYPES_H */ |