1. 29 4月, 2008 2 次提交
  2. 25 4月, 2008 1 次提交
    • I
      intel-iommu.c: dma ops fix · 6865f0d1
      Ingo Molnar 提交于
      Stephen Rothwell noticed that:
      
      Commit 2be62149 ("x86: dma-ops on highmem
      fix") in Linus' tree introduced a new warning (noticed in the x86_64
      allmodconfig build of linux-next):
      
      drivers/pci/intel-iommu.c:2240: warning: initialization from incompatible pointer type
      
      Which points at an instance of map_single that needs updating.
      
      Fix it to the new prototype.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      6865f0d1
  3. 23 4月, 2008 1 次提交
    • L
      Fix cardbus resource allocation · 934b7024
      Linus Torvalds 提交于
      Commit 88452565 ("PCI: clean up resource
      alignment management") didn't set the alignment information for the
      cardbus window resources, causing their subsequent allocations to fail
      miserably with a message like
      
        yenta_cardbus 0000:15:00.0: device not available because of BAR 7 [100:1ff] collisions
        yenta_cardbus: probe of 0000:15:00.0 failed with error -16
      
      or similar.
      
      This fixes it and clarifies the code a bit too (we used to have to use
      the insane PCI bridge alignment logic that put the alignment in the
      "start" field, this makes it use the slightly easier-to-understand
      size-based alignment, and allows us to set the resource start to zero
      until it gets allocated).
      Reported-and-tested-by: NJeff Chua <jeff.chua.linux@gmail.com>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      934b7024
  4. 21 4月, 2008 29 次提交
  5. 20 4月, 2008 2 次提交
  6. 29 3月, 2008 1 次提交
  7. 27 3月, 2008 1 次提交
  8. 25 3月, 2008 2 次提交
  9. 18 3月, 2008 1 次提交
    • M
      pciehp: don't enable slot unless forced · 9e585824
      Mark Lord 提交于
      This fixes a 2.6.25 regression reported by Alex Chiang.
      
      Invoke pciehp_enable_slot() at startup only when pciehp_force=1.
      Some HP equipment apparently cannot cope with it otherwise.
      
      This restores the (previously working) 2.6.24 behaviour here,
      while allowing machines that need a kick to use pciehp_force=1.
      
      This was the original design back in October 2007,
      but Kristen suggested we try without it first:
      
         Kristen Carlson Accardi wrote:
         >I think it would be ok to try allowing the slot to be enabled when not
         >using pciehp_force mode.  We can wrap it later if it proves to break things
      
      This ended up breaking one of Alex's setups,
      so it's time to put the wrapper back in now.
      Signed-off-by: NMark Lord <mlord@pobox.com>
      Acked-by: NAlex Chiang <achiang@hp.com>
      Acked-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9e585824