mirror of https://gitee.com/openkylin/linux.git
x86: Move pci_iommu_init to rootfs_initcall()
We want this to happen after the PCI quirks, which are now running at the very end of the fs_initcalls. This works around the BIOS problems which were originally addressed by commitdb8be50c43
('USB: Work around BIOS bugs by quiescing USB controllers earlier'), which was reverted in commitd93a8f829f
. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
cf6f3bf7e5
commit
9a821b2316
|
@ -311,7 +311,7 @@ void pci_iommu_shutdown(void)
|
|||
amd_iommu_shutdown();
|
||||
}
|
||||
/* Must execute after PCI subsystem */
|
||||
fs_initcall(pci_iommu_init);
|
||||
rootfs_initcall(pci_iommu_init);
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
/* Many VIA bridges seem to corrupt data for DAC. Disable it here */
|
||||
|
|
Loading…
Reference in New Issue