Skip to content
Commits on Jul 11, 2012
  1. @broonie

    irq_domain: Standardise legacy/linear domain selection

    broonie committed with Grant Likely Jul 5, 2012
    A large proportion of interrupt controllers that support legacy mappings
    do so because non-DT systems need to use fixed IRQ numbers when registering
    devices via buses but can otherwise use a linear mapping. The interrupt
    controller itself typically is not affected by the mapping used and best
    practice is to use a linear mapping where possible so drivers frequently
    select at runtime depending on if a legacy range has been allocated to
    them.
    
    Standardise this behaviour by providing irq_domain_register_simple() which
    will allocate a linear mapping unless a positive first_irq is provided in
    which case it will fall back to a legacy mapping. This helps make best
    practice for irq_domain adoption clearer.
    
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Commits on Feb 14, 2012
  1. irq_domain: add documentation and MAINTAINERS entry.

    Grant Likely committed Feb 14, 2012
    Documentation for irq_domain library which will be created in subsequent
    patches.
    
    v4: editorial changes
    
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
    Reviewed-by: Randy Dunlap <rdunlap@xenotime.net>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Milton Miller <miltonm@bga.com>
    Tested-by: Olof Johansson <olof@lixom.net>
Something went wrong with that request. Please try again.