1. 08 12月, 2006 1 次提交
  2. 03 12月, 2006 1 次提交
  3. 04 8月, 2006 1 次提交
  4. 01 7月, 2006 1 次提交
  5. 06 5月, 2006 1 次提交
  6. 27 3月, 2006 1 次提交
  7. 28 10月, 2005 1 次提交
  8. 20 10月, 2005 1 次提交
    • Y
      [PATCH] swiotlb: make sure initial DMA allocations really are in DMA memory · 281dd25c
      Yasunori Goto 提交于
      This introduces a limit parameter to the core bootmem allocator; The new
      parameter indicates that physical memory allocated by the bootmem
      allocator should be within the requested limit.
      
      We also introduce alloc_bootmem_low_pages_limit, alloc_bootmem_node_limit,
      alloc_bootmem_low_pages_node_limit apis, but alloc_bootmem_low_pages_limit
      is the only api used for swiotlb.
      
      The existing alloc_bootmem_low_pages() api could instead have been
      changed and made to pass right limit to the core allocator.  But that
      would make the patch more intrusive for 2.6.14, as other arches use
      alloc_bootmem_low_pages().  We may be done that post 2.6.14 as a
      cleanup.
      
      With this, swiotlb gets memory within 4G for both x86_64 and ia64
      arches.
      Signed-off-by: NYasunori Goto <y-goto@jp.fujitsu.com>
      Cc: Ravikiran G Thirumalai <kiran@scalex86.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      281dd25c
  9. 30 9月, 2005 1 次提交
  10. 15 9月, 2005 2 次提交
    • D
      [LIB]: Consolidate _atomic_dec_and_lock() · 4db2ce01
      David S. Miller 提交于
      Several implementations were essentialy a common piece of C code using
      the cmpxchg() macro.  Put the implementation in one spot that everyone
      can share, and convert sparc64 over to using this.
      
      Alpha is the lone arch-specific implementation, which codes up a
      special fast path for the common case in order to avoid GP reloading
      which a pure C version would require.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4db2ce01
    • A
      [IA64] more robust zx1/sx1000 machvec support · 0b9afede
      Alex Williamson 提交于
      Machine vector selection has always been a bit of a hack given how
      early in system boot it needs to be done.  Services like ACPI namespace
      are not available and there are non-trivial problems to moving them to
      early boot.  However, there's no reason we can't change to a different
      machvec later in boot when the services we need are available.  By
      adding a entry point for later initialization of the swiotlb, we can add
      an error path for the hpzx1 machevec initialization and fall back to the
      DIG machine vector if IOMMU hardware isn't found in the system.  Since
      ia64 uses 4GB for zone DMA (no ISA support), it's trivial to allocate a
      contiguous range from the slab for bounce buffer usage.
      Signed-off-by: NAlex Williamson <alex.williamson@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      0b9afede
  11. 08 9月, 2005 1 次提交
  12. 07 9月, 2005 1 次提交
    • C
      [IA64] make exception handler in copy_user more robust · 295bd892
      Chen, Kenneth W 提交于
      The exception handler in copy user always expects fault occurs only on
      user space address and the fall back recovery code is written with that
      very assumption in mind.  Recent source code inspection revealed that
      while it worked splendid and to the expectation under normal circumstances,
      It broke down under unexpected condition where some address calculation
      might go outside the legal address range the original copy_user was
      called for.  This patch is to make copy_user exception handler more robust
      and to prevent potential memory corruption.
      Signed-off-by: NKen Chen <kenneth.w.chen@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      295bd892
  13. 27 8月, 2005 1 次提交
  14. 19 8月, 2005 1 次提交
    • A
      [IA64, X86_64] fix swiotlb sizing · e8579e72
      Alex Williamson 提交于
         Fix swiotlb sizing to match what the comments and the kernel
      parameters documentation indicate.  Given a default 16k page size kernel
      (ia64) and a 2k swiotlb page size, we're off by a multiple of 8 trying
      to size the swiotlb.  When specified on the boot line, the swiotlb is
      made 8x bigger than requested.  When left to the default value, it's 8x
      smaller than the comments indicate.  For x86_64 the multiplier would be
      2x.  The patch below fixes this.  Now, what's a good default swiotlb
      size?  Apparently we don't really need 64MB.
      Signed-off-by: NAlex Williamson <alex.williamson@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      e8579e72
  15. 13 7月, 2005 1 次提交
  16. 04 5月, 2005 3 次提交
  17. 26 4月, 2005 1 次提交
  18. 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