lkml.org 
[lkml]   [2012]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] Device isolation group infrastructure (v3)
    On Thu, Feb 09, 2012 at 08:39:28AM +1100, Benjamin Herrenschmidt wrote:
    > On Wed, 2012-02-08 at 16:27 +0100, Joerg Roedel wrote:
    > > Again, device grouping is done by the IOMMU drivers, so this all
    > > belongs
    > > into the generic iommu-code rather than the driver core.
    >
    > Except that there isn't really a "generic iommu code"... discovery,
    > initialization & matching of iommu vs. devices etc... that's all
    > implemented in the arch specific iommu code.

    The whole point of moving the iommu drivers to drivers/iommu was to
    factor out common code. We are not where we want to be yet but the goal
    is to move more code to the generic part.

    For the group-code this means that the generic code should iterate over
    all devices on a bus and build up group structures based on isolation
    information provided by the arch specific code.


    Joerg

    --
    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-02-09 12:31    [W:0.026 / U:0.568 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site