1. 26 3月, 2010 2 次提交
  2. 25 3月, 2010 1 次提交
  3. 26 2月, 2010 3 次提交
  4. 25 2月, 2010 1 次提交
  5. 24 2月, 2010 3 次提交
    • J
      x86/PCI: Moorestown PCI support · a712ffbc
      Jesse Barnes 提交于
      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: NJesse Barnes <jbarnes@virtuousgeek.org>
      LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D08@orsmsx508.amr.corp.intel.com>
      Signed-off-by: NJacob Pan <jacob.jun.pan@intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      a712ffbc
    • B
      x86/PCI: use host bridge _CRS info by default on 2008 and newer machines · 7bc5e3f2
      Bjorn Helgaas 提交于
      The main benefit of using ACPI host bridge window information is that
      we can do better resource allocation in systems with multiple host bridges,
      e.g., http://bugzilla.kernel.org/show_bug.cgi?id=14183
      
      Sometimes we need _CRS information even if we only have one host bridge,
      e.g., https://bugs.launchpad.net/ubuntu/+source/linux/+bug/341681
      
      Most of these systems are relatively new, so this patch turns on
      "pci=use_crs" only on machines with a BIOS date of 2008 or newer.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      7bc5e3f2
    • B
      PCI: augment bus resource table with a list · 2fe2abf8
      Bjorn Helgaas 提交于
      Previously we used a table of size PCI_BUS_NUM_RESOURCES (16) for resources
      forwarded to a bus by its upstream bridge.  We've increased this size
      several times when the table overflowed.
      
      But there's no good limit on the number of resources because host bridges
      and subtractive decode bridges can forward any number of ranges to their
      secondary buses.
      
      This patch reduces the table to only PCI_BRIDGE_RESOURCE_NUM (4) entries,
      which corresponds to the number of windows a PCI-to-PCI (3) or CardBus (4)
      bridge can positively decode.  Any additional resources, e.g., PCI host
      bridge windows or subtractively-decoded regions, are kept in a list.
      
      I'd prefer a single list rather than this split table/list approach, but
      that requires simultaneous changes to every architecture.  This approach
      only requires immediate changes where we set up (a) host bridges with more
      than four windows and (b) subtractive-decode P2P bridges, and we can
      incrementally change other architectures to use the list.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      2fe2abf8
  6. 23 2月, 2010 3 次提交
  7. 20 2月, 2010 3 次提交
  8. 11 2月, 2010 7 次提交
  9. 06 2月, 2010 1 次提交
  10. 29 1月, 2010 1 次提交
  11. 05 1月, 2010 1 次提交
  12. 17 12月, 2009 1 次提交
    • J
      PCI: fix section mismatch on update_res() · 57148688
      Jiri Slaby 提交于
      Remark update_res from __init to __devinit as it is called also
      from __devinit functions.
      
      This patch removes the following warning message:
      
        WARNING: vmlinux.o(.devinit.text+0x774a): Section mismatch
        in reference from the function pci_root_bus_res() to the
        function .init.text:update_res()
        The function __devinit pci_root_bus_res() references
        a function __init update_res().
        If update_res is only used by pci_root_bus_res then
        annotate update_res with a matching annotation.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: Aristeu Sergio <arozansk@redhat.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: linux-pci@vger.kernel.org
      Cc: x86@kernel.org
      Signed-off-by: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      57148688
  13. 05 12月, 2009 1 次提交
  14. 25 11月, 2009 12 次提交