1. 06 5月, 2008 2 次提交
  2. 29 4月, 2008 1 次提交
  3. 27 4月, 2008 2 次提交
    • Y
      x86 pci: remove checking type for mmconfig probe · bb63b421
      Yinghai Lu 提交于
      doesn't need to check if it is type1 or type2, we can use raw_pci_ops
      directly.
      
      also make pci_direct_conf1 static again.
      
      anyway is there system with type 2 and mmconf support?
      Signed-off-by: NYinghai Lu <yinghai.lu@sun.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      bb63b421
    • R
      x86: validate against acpi motherboard resources · 7752d5cf
      Robert Hancock 提交于
      This path adds validation of the MMCONFIG table against the ACPI reserved
      motherboard resources.  If the MMCONFIG table is found to be reserved in
      ACPI, we don't bother checking the E820 table.  The PCI Express firmware
      spec apparently tells BIOS developers that reservation in ACPI is required
      and E820 reservation is optional, so checking against ACPI first makes
      sense.  Many BIOSes don't reserve the MMCONFIG region in E820 even though
      it is perfectly functional, the existing check needlessly disables MMCONFIG
      in these cases.
      
      In order to do this, MMCONFIG setup has been split into two phases.  If PCI
      configuration type 1 is not available then MMCONFIG is enabled early as
      before.  Otherwise, it is enabled later after the ACPI interpreter is
      enabled, since we need to be able to execute control methods in order to
      check the ACPI reserved resources.  Presently this is just triggered off
      the end of ACPI interpreter initialization.
      
      There are a few other behavioral changes here:
      
      - Validate all MMCONFIG configurations provided, not just the first one.
      
      - Validate the entire required length of each configuration according to
        the provided ending bus number is reserved, not just the minimum required
        allocation.
      
      - Validate that the area is reserved even if we read it from the chipset
        directly and not from the MCFG table.  This catches the case where the
        BIOS didn't set the location properly in the chipset and has mapped it
        over other things it shouldn't have.
      
      This also cleans up the MMCONFIG initialization functions so that they
      simply do nothing if MMCONFIG is not compiled in.
      
      Based on an original patch by Rajesh Shah from Intel.
      
      [akpm@linux-foundation.org: many fixes and cleanups]
      Signed-off-by: NRobert Hancock <hancockr@shaw.ca>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Tested-by: NAndi Kleen <ak@suse.de>
      Cc: Rajesh Shah <rajesh.shah@intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      7752d5cf
  4. 11 10月, 2007 1 次提交
  5. 10 5月, 2007 1 次提交
  6. 03 5月, 2007 1 次提交
  7. 06 10月, 2006 1 次提交
  8. 26 9月, 2006 1 次提交
  9. 27 8月, 2006 1 次提交
    • D
      [PATCH] PCI: use PCBIOS as last fallback · 954c0b7c
      Daniel Ritz 提交于
      there was a change in 2.6.17 which affected the order in which the PCI
      access methods are probed.  this gives regressions on some machines with
      broken BIOS.  the problem is that PCBIOS sometimes reports last bus wrong,
      leaving cardbus non-funcational.  previously those system worked fine with
      direct access.
      
      The patch changes the PCI init code to have PCBIOS as last fallback, yet
      the PCBIOS code still has to run first to set pcibios_last_bus to the value
      reported by the BIOS.  this is needed in case legacy PCI probing
      (arch/i386/pci/legacy.c) is used to detect peer busses.  using direct
      access if available fixes the cardbus problems.
      Signed-off-by: NDaniel Ritz <daniel.ritz@gmx.ch>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      954c0b7c
  10. 01 7月, 2006 1 次提交
  11. 24 3月, 2006 1 次提交