1. 05 7月, 2009 1 次提交
  2. 04 7月, 2009 6 次提交
  3. 03 7月, 2009 3 次提交
    • L
      Merge git://git.infradead.org/iommu-2.6 · 405d7ca5
      Linus Torvalds 提交于
      * git://git.infradead.org/iommu-2.6: (38 commits)
        intel-iommu: Don't keep freeing page zero in dma_pte_free_pagetable()
        intel-iommu: Introduce first_pte_in_page() to simplify PTE-setting loops
        intel-iommu: Use cmpxchg64_local() for setting PTEs
        intel-iommu: Warn about unmatched unmap requests
        intel-iommu: Kill superfluous mapping_lock
        intel-iommu: Ensure that PTE writes are 64-bit atomic, even on i386
        intel-iommu: Make iommu=pt work on i386 too
        intel-iommu: Performance improvement for dma_pte_free_pagetable()
        intel-iommu: Don't free too much in dma_pte_free_pagetable()
        intel-iommu: dump mappings but don't die on pte already set
        intel-iommu: Combine domain_pfn_mapping() and domain_sg_mapping()
        intel-iommu: Introduce domain_sg_mapping() to speed up intel_map_sg()
        intel-iommu: Simplify __intel_alloc_iova()
        intel-iommu: Performance improvement for domain_pfn_mapping()
        intel-iommu: Performance improvement for dma_pte_clear_range()
        intel-iommu: Clean up iommu_domain_identity_map()
        intel-iommu: Remove last use of PHYSICAL_PAGE_MASK, for reserving PCI BARs
        intel-iommu: Make iommu_flush_iotlb_psi() take pfn as argument
        intel-iommu: Change aligned_size() to aligned_nrpages()
        intel-iommu: Clean up intel_map_sg(), remove domain_page_mapping()
        ...
      405d7ca5
    • Y
      x86: add boundary check for 32bit res before expand e820 resource to alignment · 7c5371c4
      Yinghai Lu 提交于
      fix hang with HIGHMEM_64G and 32bit resource.  According to hpa and
      Linus, use (resource_size_t)-1 to fend off big ranges.
      
      Analyzed by hpa
      Reported-and-tested-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7c5371c4
    • L
      x86: fix power-of-2 round_up/round_down macros · 43644679
      Linus Torvalds 提交于
      These macros had two bugs:
       - the type of the mask was not correctly expanded to the full size of
         the argument being expanded, resulting in possible loss of high bits
         when mixing types.
       - the alignment argument was evaluated twice, despite the macro looking
         like a fancy function (but it really does need to be a macro, since
         it works on arbitrary integer types)
      
      Noticed by Peter Anvin, and with a fix that is a modification of his
      suggestion (bug noticed by Yinghai Lu).
      
      Cc: Peter Anvin <hpa@zytor.com>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      43644679
  4. 02 7月, 2009 22 次提交
  5. 01 7月, 2009 8 次提交