hv: Add suspend/resume callback for vtd

To handle S3 enter/exit for vtd.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yin Fengwei
2018-06-04 15:04:25 +08:00
committed by lijinxia
parent d2ea4546c3
commit 8eaf4d2ab6
3 changed files with 89 additions and 0 deletions

View File

@@ -229,6 +229,12 @@ void enable_iommu(void);
/* Disable translation of iommu*/
void disable_iommu(void);
/* suspend iomu */
void suspend_iommu(void);
/* resume iomu */
void resume_iommu(void);
/* iommu initialization */
int init_iommu(void);
#endif