mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
iommu/vt-d: Tylersburg isoch identity map check is done too late.
am: 31dac0e870
Change-Id: I0e8dacd983deed5a478e50a4ce4c48622668e563
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user