1. 28 6月, 2006 1 次提交
  2. 22 6月, 2006 1 次提交
    • K
      [PATCH] PCI: don't move ioapics below PCI bridge · c0da3ba0
      Kimball Murray 提交于
      A recent Stratus x86_64 platform uses a system ioapic that is a PCI device
      located below a PCI bridge.  Other platforms like this may exist.
      
      This patch fixes a problem wherein the kernel's PCI setup code moves
      the ioapic to an address other than that assigned by the BIOS.  It simply
      adds another exclusion (which already includes classless devices and host
      bridges) to the function pbus_assign_resources_sorted so that it will not
      move the ioapic.
      
      If the ioapic is moved, the fixmap mapping to it is broken, so the OS should
      leave it alone.
      
      From: Kimball Murray <kimball.murray@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c0da3ba0
  3. 24 10月, 2005 1 次提交
    • L
      cardbus: limit IO windows to 256 bytes · 4196c3af
      Linus Torvalds 提交于
      That's what we've always historically done, and bigger windows seem to
      confuse some cardbus bridges. Or something.
      
      Alan reports that this makes the ThinkPad 600x series work properly
      again: the 4kB IO window for some reason made IDE DMA not work, which
      makes IDE painfully slow even if it works after DMA timeouts.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4196c3af
  4. 10 9月, 2005 1 次提交
  5. 31 8月, 2005 1 次提交
    • I
      [PATCH] x86: pci_assign_unassigned_resources() update · 81d4af13
      Ivan Kokshaysky 提交于
      I had some time to think about PCI assign issues in 2.6.13-rc series.
      
      The major problem here is that we call pci_assign_unassigned_resources()
      way too early - at subsys_initcall level. Therefore we give no chances
      to ACPI and PnP routines (called at fs_initcall level) to reserve their
      respective resources properly, as the comments in drivers/pnp/system.c
      and drivers/acpi/motherboard.c suggest:
      
       /**
        * Reserve motherboard resources after PCI claim BARs,
        * but before PCI assign resources for uninitialized PCI devices
        */
      
      So I moved the pci_assign_unassigned_resources() call to
      pcibios_assign_resources() (fs_initcall), which should hopefully fix a
      lot of problems and make PCIBIOS_MIN_IO tweaks unnecessary.
      
      Other changes:
      - remove resource assignment code from pcibios_assign_resources(), since
        it duplicates pci_assign_unassigned_resources() functionality and
        actually does nothing in 2.6.13;
      - modify ROM assignment code as per Ben's suggestion: try to use firmware
        settings by default (if PCI_ASSIGN_ROMS is not set);
      - set CARDBUS_IO_SIZE back to 4K as it's a wonderful stress test for
        various setups.
      
      Confirmed by Tero Roponen <teanropo@cc.jyu.fi> (who had problems with
      the 4kB CardBus IO size previously).
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      81d4af13
  6. 27 8月, 2005 1 次提交
  7. 30 7月, 2005 1 次提交
  8. 07 7月, 2005 1 次提交
    • I
      [PATCH] yet another fix for setup-bus.c/x86 merge · 960b8466
      Ivan Kokshaysky 提交于
      There is a slight disagreement between setup-bus.c code and traditional
      x86 PCI setup wrt which recourses are invalid vs resources that are free
      for further allocations.
      
      In particular, in the setup-bus.c, if we failed to allocate some resource,
      we nullify "start" and "flags" fields, but *not* the "end" one.
      
      But x86 pcibios_enable_resources() does the following check:
      
      	if (!r->start && r->end) {
      		printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev));
      		return -EINVAL;
      
      which means that the device owning the offending resource cannot be
      enabled.
      
      In particular, this breaks cardbus behind the normal decode p2p bridge -
      the cardbus code from setup-bus.c requests rather large IO and MEM
      windows, and if it fails, the socket is completely unavailable.  Which
      is wrong, as the yenta code is capable to allocate smaller windows.
      Signed-off-by: NIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      960b8466
  9. 02 7月, 2005 1 次提交
    • I
      [PATCH] PCI: pci_assign_unassigned_resources() on x86 · 299de034
      Ivan Kokshaysky 提交于
      - Add sanity check for io[port,mem]_resource in setup-bus.c. These
        resources look like "free" as they have no parents, but obviously
        we must not touch them.
      - In i386.c:pci_allocate_bus_resources(), if a bridge resource cannot be
        allocated for some reason, then clear its flags. This prevents any child
        allocations in this range, so the setup-bus code will work with a clean
        resource sub-tree.
      - i386.c:pcibios_enable_resources() doesn't enable bridges, as it checks
        only resources 0-5, which looks like a clear bug to me. I suspect it
        might break hotplug as well in some cases.
      
      From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      299de034
  10. 28 6月, 2005 1 次提交
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4