1. 14 May, 2010 1 commit
  2. 24 Feb, 2010 2 commits
    • Jacob Pan's avatar
      x86, pci: Add sanity check for PCI fixed bar probing · c5411382
      Jacob Pan authored
      While probing for the PCI fixed BAR capability in the extended PCI
      configuration space we need to make sure raw_pci_ext_ops is
      actually initialized.
      Signed-off-by: default avatarJacob Pan <jacob.jun.pan@intel.com>
      LKML-Reference: <43F901BD926A4E43B106BF17856F0755A321E8F7@orsmsx508.amr.corp.intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    • Jesse Barnes's avatar
      x86/PCI: Moorestown PCI support · a712ffbc
      Jesse Barnes authored
      The Moorestown platform only has a few devices that actually support
      PCI config cycles.  The rest of the devices use an in-RAM MCFG space
      for the purposes of device enumeration and initialization.
      There are a few uglies in the fake support, like BAR sizes that aren't
      a power of two, sizing detection, and writes to the real devices, but
      other than that it's pretty straightforward.
      Another way to think of this is not really as PCI at all, but just a
      table in RAM describing which devices are present, their capabilities
      and their offsets in MMIO space.  This could have been done with a
      special new firmware table on this platform, but given that we do have
      some real PCI devices too, simply describing things in an MCFG type
      space was pretty simple.
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D08@orsmsx508.amr.corp.intel.com>
      Signed-off-by: default avatarJacob Pan <jacob.jun.pan@intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>