lkml.org 
[lkml]   [2012]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] irq_domain: Standardise legacy/linear domain selection
    On Sat, May 19, 2012 at 2:54 PM, Mark Brown
    <broonie@opensource.wolfsonmicro.com> wrote:
    > On Sat, May 19, 2012 at 02:22:58PM -0600, Grant Likely wrote:
    >
    >> I'm looking at killing the legacy mapping entirely which will push
    >> changing all the users anyway.  I'm going to hold off on applying this
    >> one for a day or so until I'm sure of what it will look like.
    >
    > I take it you're going to replace the legacy mapping with an equivalent
    > thing, though, so the interface is preserved for boards?  In which case
    > it'd be more like replacing the linear mapping with a new mapping type
    > that can also be used by legacy users I guess?

    It will actually be like all legacy users switched to creating an
    linear mapping, and then either associating already allocated
    irq_descs with that domain or telling the domain to pre-map a specific
    range of irq_descs (and manage allocations). Those two use cases will
    be separate APIs. I don't think they should be combined (at least
    from my current thinking) because it depends on whether or not the
    irq_descs are already allocated.

    g.



    --
    Grant Likely, B.Sc., P.Eng.
    Secret Lab Technologies Ltd.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-05-19 23:41    [W:0.027 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site