Skip to content
  1. Oct 15, 2009
  2. Oct 14, 2009
  3. Oct 13, 2009
  4. Oct 12, 2009
    • David Woodhouse's avatar
      x86: Move pci_iommu_init to rootfs_initcall() · 9a821b23
      David Woodhouse authored
      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
      commit db8be50c ('USB: Work around BIOS
      bugs by quiescing USB controllers earlier'), which was reverted in
      commit d93a8f82
      
      .
      
      Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
      9a821b23
    • David Woodhouse's avatar
      Run pci_apply_final_quirks() sooner. · cf6f3bf7
      David Woodhouse authored
      
      
      Having this as a device_initcall() means that some real device drivers
      can actually initialise _before_ the quirks are run, which is wrong.
      
      We want it to run _before_ device_initcall(), but _after_ fs_initcall(),
      since some arch-specific PCI initialisation like pcibios_assign_resources()
      is done at fs_initcall().
      
      We could use rootfs_initcall() but I actually want to use that for the
      IOMMU initialisation, which has to come after the quirks, but still
      before the real devices. So use fs_initcall_sync() instead -- since this
      is entirely synchronous, it doesn't hurt that it'll escape the
      synchronisation.
      
      Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
      cf6f3bf7