[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/5] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute
    On Mon, Jan 30, 2012 at 06:27:30AM +0000, Sethi Varun-B16395 wrote:

    > Can you please explain how would IOMMU remapping be used, based on the
    > force_aperture flag.

    If force_aperture is flase the dma-api code needs to check if remapping
    is required at all. It performs the following checks:

    * Does the physical address of the buffer not overlap with the
    * Fits the buffer into the device's dma address mask?

    If both questions are answered with yes no remapping is required and
    dma-api just returns the physical address. Otherwise it calls into the
    dma-api to create a mapping.


    AMD Operating System Research Center

    Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
    General Managers: Alberto Bozzo
    Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

     \ /
      Last update: 2012-01-30 15:33    [W:0.022 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site