lkml.org 
[lkml]   [2008]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/3] IOMMU: move page number calculation to generic code
    Date
    This small patch series introduces a generic iommu_num_pages function into the
    IOMMU helper code. This function can be used to calculate the number of pages
    an IOMMU has to map for a specific mapping request.

    The patchset converts the x86 IOMMU implementations for AMD IOMMU and the GART
    to use this function.

    Other IOMMU implementations are not changed because I can't test them.

    diffstat:
    arch/x86/kernel/amd_iommu.c | 13 +++++--------
    arch/x86/kernel/pci-gart_64.c | 11 ++++-------
    include/linux/iommu-helper.h | 1 +
    lib/iommu-helper.c | 8 ++++++++
    4 files changed, 18 insertions(+), 15 deletions(-)




    \
     
     \ /
      Last update: 2008-07-25 15:01    [W:0.117 / U:0.004 seconds]
    ©2003-2014 Jasper Spaans. Advertise on this site