Skip to content
  • Linus Torvalds's avatar
    Merge tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6 · c207f3a4
    Linus Torvalds authored
    Pull irq_domain support for all architectures from Grant Likely:
     "Generialize powerpc's irq_host as irq_domain
    
      This branch takes the PowerPC irq_host infrastructure (reverse mapping
      from Linux IRQ numbers to hardware irq numbering), generalizes it,
      renames it to irq_domain, and makes it available to all architectures.
    
      Originally the plan has been to create an all-new irq_domain
      implementation which addresses some of the powerpc shortcomings such
      as not handling 1:1 mappings well, but doing that proved to be far
      more difficult and invasive than generalizing the working code and
      refactoring it in-place.  So, this branch rips out the 'new'
      irq_domain and replaces it with the modified powerpc version (in a
      fully bisectable way of course).  It converts all users over to the
      new API and makes irq_domain selectable on any architecture.
    
      No architecture is forced to enable irq_domain, but the infrastructure
      is required for doing OpenFirmware style irq translations.  It will
      even work on SPARC even though SPARC has it's own mechanism for
      translating irqs at boot time.  MIPS, microblaze, embedded x86 and c6x
      are converted too.
    
      The resulting irq_domain code is probably still too verbose and can be
      optimized more, but that can be done incrementally and is a task for
      follow-on patches."
    
    * tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6: (31 commits)
      dt: fix twl4030 for non-dt compile on x86
      mfd: twl-core: Add IRQ_DOMAIN dependency
      devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)
      irq_domain: Centralize definition of irq_dispose_mapping()
      irq_domain/mips: Allow irq_domain on MIPS
      irq_domain/x86: Convert x86 (embedded) to use common irq_domain
      ppc-6xx: fix build failure in flipper-pic.c and hlwd-pic.c
      irq_domain/microblaze: Convert microblaze to use irq_domains
      irq_domain/powerpc: Replace custom xlate functions with library functions
      irq_domain/powerpc: constify irq_domain_ops
      irq_domain/c6x: Use library of xlate functions
      irq_domain/c6x: constify irq_domain structures
      irq_domain/c6x: Convert c6x to use generic irq_domain support.
      irq_domain: constify irq_domain_ops
      irq_domain: Create common xlate functions that device drivers can use
      irq_domain: Remove irq_domain_add_simple()
      irq_domain: Remove 'new' irq_domain in favour of the ppc one
      mfd: twl-core.c: Fix the number of interrupts managed by twl4030
      of/address: add empty static inlines for !CONFIG_OF
      irq_domain: Add support for base irq and hwirq in legacy mappings
      ...
    c207f3a4