1. 08 Jul, 2005 29 commits
  2. 07 Jul, 2005 5 commits
  3. 06 Jul, 2005 6 commits
    • Ivan Kokshaysky's avatar
      [PATCH] yet another fix for setup-bus.c/x86 merge · 960b8466
      Ivan Kokshaysky authored
      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: default avatarIvan Kokshaysky <ink@jurassic.park.msu.ru>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      960b8466
    • bob.picco's avatar
      [IA64] memory-less-nodes repost · 564601a5
      bob.picco authored
      I reworked how nodes with only CPUs are treated.  The patch below seems
      simpler to me and has eliminated the complicated routine
      reassign_cpu_only_nodes.  There isn't any longer the requirement
      to modify ACPI NUMA information which was in large part the
      complexity introduced in reassign_cpu_only_nodes. 
      
      This patch will produce a different number of nodes. For example,
      reassign_cpu_only_nodes would reduce two CPUonly nodes and one memory node
      configuration to one memory+CPUs node configuration.  This patch
      doesn't change the number of nodes which means the user will see three.  Two
      nodes without memory and one node with all the memory.
      
      While doing this patch, I noticed that early_nr_phys_cpus_node isn't serving
      any useful purpose.  It is called once in find_pernode_space but the value
      isn't used to computer pernode space.  
      Signed-off-by: default avatarbob.picco <bob.picco@hp.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      564601a5
    • 's avatar
      [IA64] Make ia64 die() preempt safe · af25e94d
      authored
      Signed-off-by: default avatarKeith Owens <kaos@sgi.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      af25e94d
    • Eddie C. Dost's avatar
      [SPARC64]: Fix enable_dma() in asm-sparc64/parport.h · e3e01d60
      Eddie C. Dost authored
      Call ebus_dma_enable() before calling ebus_dma_request(), otherwise
      ebus_dma_request() returns -EINVAL and enable_dma() calls BUG()...
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e3e01d60
    • Eddie C. Dost's avatar
      9d749533
    • Eddie C. Dost's avatar
      [SPARC64]: Fix set_intr_affinity() · 12cf649f
      Eddie C. Dost authored
      Do not cat bucket->irq_info to struct irqaction * directly,
      but go through struct irq_desc *.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      12cf649f