[PATCH 08/10] iommu/amd: Do not update the information of domain to devtables before device driver init

2015-09-24 Thread Baoquan He
update_domain() is the only place where domain->pt_root will be got and set into dev entry. So before the device driver initialization we do nothing if it's in previously enabled translation status. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 08/10] iommu/amd: Do not update the information of domain to devtables before device driver init

2015-09-24 Thread Baoquan He
update_domain() is the only place where domain->pt_root will be got and set into dev entry. So before the device driver initialization we do nothing if it's in previously enabled translation status. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 2 +- 1 file changed,