1. 27 2月, 2006 1 次提交
    • J
      [PATCH] x86_64: no_iommu removal in pci-gart.c · 60b08c67
      Jon Mason 提交于
      In previous versions of pci-gart.c, no_iommu was used to determine if IOMMU was
      disabled in the GART DMA mapping functions.  This changed in 2.6.16 and now
      gart_xxx() functions are only called if gart is enabled.  Therefore, uses of
      no_iommu in the GART code are no longer necessary and can be removed.
      
      Also, it removes double deceleration of no_iommu and force_iommu in pci.h and
      proto.h, by removing the deceleration in pci.h.
      
      Lastly, end_pfn off by one error.
      
      Tested (along with patch 1/2) on dual opteron with gart enabled, iommu=soft,
      and iommu=off.
      Signed-off-by: NJon Mason <jdmason@us.ibm.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      60b08c67
  2. 13 2月, 2006 1 次提交
  3. 05 2月, 2006 2 次提交
    • J
      [PATCH] x86_64: IOMMU printk cleanup · 5b7b644c
      Jon Mason 提交于
      This patch contains a printk reorder to remove the current problem of
      displaying "PCI-DMA: Disabling IOMMU." and then "PCI-DMA: using GART
      IOMMU" 20 lines later in dmesg.
      
      It also constains a printk reorder in swiotlb to state swiotlb
      enablement prior to describing the location of the bounce buffers, and a
      printk reorder to state gart enablement prior to describing the
      aperature.
      
      Also constains a whitespace cleanup in arch/x86_64/kernel/setup.c
      
      Tested (along with patch 2/2) on dual opteron with gart enabled,
      iommu=soft, and iommu=off.
      Signed-off-by: NJon Mason <jdmason@us.ibm.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5b7b644c
    • K
      [PATCH] x86_64: When allocation of merged SG lists fails in the IOMMU don't merge · a1002a48
      Kevin VanMaren 提交于
      [ AK: I redid Kevin's fix to be simpler, but the idea and original
        analysis of the problem is from Kevin]
      
      This avoid allocation failures on some SATA systems like Nvidia CK8
      when the IOMMU gets fragmented. Modern SATA devices have quite large queues
      (128 entries) and the FS with ext2/3 is good enough now that it often
      passes whole 128 page sg lists down to the driver. These require
      512K of continuous free space in the IOMMU aperture to map when merged.
      When the IOMMU is fragmented this could lead to spurious IO errors
      due to failing mappings.
      
      Short term fix is to just try to map the SG list again unmerged
      page by page - this way fragmentation doesn't matter anymore.
      The code for that was already there, but it just wasn't enabled for the
      merge case.
      
      According to Kevin at least the Nvidia device doesn't seem to benefit
      from merging much anyways, so the only slowdown is from trying
      to do an unnecessary merge attempt.
      
      Kevin plans to implement better fragmentation avoidance in the future,
      but that wouldn't be 2.6.16 material.
      
      TBD: should add some statistic counters to count how often that really
      happens.
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a1002a48
  4. 12 1月, 2006 3 次提交
  5. 15 11月, 2005 1 次提交
  6. 28 10月, 2005 1 次提交
  7. 13 9月, 2005 1 次提交
  8. 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