iommu/vt-d: Tylersburg isoch identity map check is done too late.
am: 31dac0e870
Change-Id: I0e8dacd983deed5a478e50a4ce4c48622668e563
This commit is contained in:
commit
6082e028f3
1 changed files with 2 additions and 1 deletions
|
@ -3238,13 +3238,14 @@ static int __init init_dmars(void)
|
|||
iommu_identity_mapping |= IDENTMAP_GFX;
|
||||
#endif
|
||||
|
||||
check_tylersburg_isoch();
|
||||
|
||||
if (iommu_identity_mapping) {
|
||||
ret = si_domain_init(hw_pass_through);
|
||||
if (ret)
|
||||
goto free_iommu;
|
||||
}
|
||||
|
||||
check_tylersburg_isoch();
|
||||
|
||||
/*
|
||||
* If we copied translations from a previous kernel in the kdump
|
||||
|
|
Loading…
Add table
Reference in a new issue