c207f3a431
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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPZ1yiAAoJEEFnBt12D9kB4yIQAJvCfTPL65sCYVD6i9RnVHtR ahwddtd0AtT+UYLU8Xg2fZgVi6cmupDGnqkBixzZD3xxSTERqm7Snqa0ugklfeAi B6Zqf/K17H5hJNaoQ3fkNauow8m7ZYOeEH2vVUvkb3woWS9Wm7OGd+BvcIBgYSGe Aaoumhu7kDxFkii0qz3x/+kvsb6DRp2HtSPWj+APL/kNjdiO4JBOihtcc/lX6d47 bsZLiEMzHUFV4ApJNwqmfDnf54oMrHmrRJxgQHIMjeJC5or9I3Do8wDGe/aTF5xO 5GVpxCQsTlJMjTBWlAFtpTwCJB6y76EHQrHc7WzLlq8OJSsxApOke8M0BzXFrfMy CU7UUpTvNZTLpZibLCEQKemv1+oNOkfFylsHxfek2MCqx0W6W4FHEGV3qE/GtgV9 +vurA9hNNp7VM0FGRGigcUr3woYdHLdEVQrlnL7Z9AgBu1W44MZLaai7iRVZOeCT ZQ9++v2PJJ8vHT8kdkgTdiRpnEhmv84MX/GBT7ilWFEMIVeT5zhGkIBojzNgyzGc 7cvermmM0P8h+unkDgmzmSbDxo0PboqVKeoO71AOBhA6MmR9iom7XkuNdHhoOwy2 4A5xT1srbhJDbuv15BBREBV24TywpZ4a1+4nwQT4L1fXe+HfCxeEWexGcKQMRcIt dAelOHTQ+ZGkOKvXeW05 =ruGA -----END PGP SIGNATURE----- Merge tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6 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 ... |
||
---|---|---|
.. | ||
include/mach | ||
board-2430sdp.c | ||
board-3430sdp.c | ||
board-3630sdp.c | ||
board-4430sdp.c | ||
board-am3517crane.c | ||
board-am3517evm.c | ||
board-apollon.c | ||
board-cm-t35.c | ||
board-cm-t3517.c | ||
board-devkit8000.c | ||
board-flash.c | ||
board-flash.h | ||
board-generic.c | ||
board-h4.c | ||
board-igep0020.c | ||
board-ldp.c | ||
board-n8x0.c | ||
board-omap3beagle.c | ||
board-omap3evm.c | ||
board-omap3logic.c | ||
board-omap3pandora.c | ||
board-omap3stalker.c | ||
board-omap3touchbook.c | ||
board-omap4panda.c | ||
board-overo.c | ||
board-rm680.c | ||
board-rx51-peripherals.c | ||
board-rx51-video.c | ||
board-rx51.c | ||
board-ti8168evm.c | ||
board-zoom-debugboard.c | ||
board-zoom-display.c | ||
board-zoom-peripherals.c | ||
board-zoom.c | ||
clkt2xxx_apll.c | ||
clkt2xxx_dpll.c | ||
clkt2xxx_dpllcore.c | ||
clkt2xxx_osc.c | ||
clkt2xxx_sys.c | ||
clkt2xxx_virt_prcm_set.c | ||
clkt34xx_dpll3m2.c | ||
clkt_clksel.c | ||
clkt_dpll.c | ||
clkt_iclk.c | ||
clock2xxx.c | ||
clock2xxx.h | ||
clock3xxx_data.c | ||
clock3xxx.c | ||
clock3xxx.h | ||
clock34xx.c | ||
clock34xx.h | ||
clock36xx.c | ||
clock36xx.h | ||
clock44xx_data.c | ||
clock44xx.h | ||
clock2420_data.c | ||
clock2430_data.c | ||
clock2430.c | ||
clock3517.c | ||
clock3517.h | ||
clock_common_data.c | ||
clock.c | ||
clock.h | ||
clockdomain2xxx_3xxx.c | ||
clockdomain44xx.c | ||
clockdomain.c | ||
clockdomain.h | ||
clockdomains2xxx_3xxx_data.c | ||
clockdomains3xxx_data.c | ||
clockdomains44xx_data.c | ||
clockdomains2420_data.c | ||
clockdomains2430_data.c | ||
cm1_44xx.h | ||
cm2_44xx.h | ||
cm2xxx_3xxx.c | ||
cm2xxx_3xxx.h | ||
cm44xx.c | ||
cm44xx.h | ||
cm-regbits-24xx.h | ||
cm-regbits-34xx.h | ||
cm-regbits-44xx.h | ||
cm.h | ||
cminst44xx.c | ||
cminst44xx.h | ||
common-board-devices.c | ||
common-board-devices.h | ||
common.c | ||
common.h | ||
control.c | ||
control.h | ||
cpuidle34xx.c | ||
cpuidle44xx.c | ||
devices.c | ||
devices.h | ||
display.c | ||
display.h | ||
dma.c | ||
dpll3xxx.c | ||
dpll44xx.c | ||
dsp.c | ||
emu.c | ||
gpio.c | ||
gpmc-nand.c | ||
gpmc-onenand.c | ||
gpmc-smc91x.c | ||
gpmc-smsc911x.c | ||
gpmc.c | ||
hsmmc.c | ||
hsmmc.h | ||
hwspinlock.c | ||
i2c.c | ||
id.c | ||
io.c | ||
iommu2.c | ||
irq.c | ||
Kconfig | ||
mailbox.c | ||
Makefile | ||
Makefile.boot | ||
mcbsp.c | ||
mux34xx.c | ||
mux34xx.h | ||
mux44xx.c | ||
mux44xx.h | ||
mux2420.c | ||
mux2420.h | ||
mux2430.c | ||
mux2430.h | ||
mux.c | ||
mux.h | ||
omap4-common.c | ||
omap4-sar-layout.h | ||
omap_hwmod_2xxx_3xxx_interconnect_data.c | ||
omap_hwmod_2xxx_3xxx_ipblock_data.c | ||
omap_hwmod_2xxx_interconnect_data.c | ||
omap_hwmod_2xxx_ipblock_data.c | ||
omap_hwmod_3xxx_data.c | ||
omap_hwmod_44xx_data.c | ||
omap_hwmod_2420_data.c | ||
omap_hwmod_2430_data.c | ||
omap_hwmod_common_data.c | ||
omap_hwmod_common_data.h | ||
omap_hwmod.c | ||
omap_l3_noc.c | ||
omap_l3_noc.h | ||
omap_l3_smx.c | ||
omap_l3_smx.h | ||
omap_opp_data.h | ||
omap_phy_internal.c | ||
omap_twl.c | ||
omap-headsmp.S | ||
omap-hotplug.c | ||
omap-iommu.c | ||
omap-mpuss-lowpower.c | ||
omap-secure.c | ||
omap-smc.S | ||
omap-smp.c | ||
omap-wakeupgen.c | ||
opp2xxx.h | ||
opp3xxx_data.c | ||
opp4xxx_data.c | ||
opp2420_data.c | ||
opp2430_data.c | ||
opp.c | ||
pm24xx.c | ||
pm34xx.c | ||
pm44xx.c | ||
pm-debug.c | ||
pm.c | ||
pm.h | ||
powerdomain2xxx_3xxx.c | ||
powerdomain44xx.c | ||
powerdomain-common.c | ||
powerdomain.c | ||
powerdomain.h | ||
powerdomains2xxx_3xxx_data.c | ||
powerdomains2xxx_3xxx_data.h | ||
powerdomains2xxx_data.c | ||
powerdomains3xxx_data.c | ||
powerdomains44xx_data.c | ||
prcm44xx.h | ||
prcm_mpu44xx.c | ||
prcm_mpu44xx.h | ||
prcm-common.h | ||
prcm.c | ||
prm2xxx_3xxx.c | ||
prm2xxx_3xxx.h | ||
prm44xx.c | ||
prm44xx.h | ||
prm_common.c | ||
prm-regbits-24xx.h | ||
prm-regbits-34xx.h | ||
prm-regbits-44xx.h | ||
prm.h | ||
prminst44xx.c | ||
prminst44xx.h | ||
scrm44xx.h | ||
sdram-hynix-h8mbx00u0mer-0em.h | ||
sdram-micron-mt46h32m32lf-6.h | ||
sdram-nokia.c | ||
sdram-nokia.h | ||
sdram-numonyx-m65kxxxxam.h | ||
sdram-qimonda-hyb18m512160af-6.h | ||
sdrc2xxx.c | ||
sdrc.c | ||
sdrc.h | ||
serial.c | ||
sleep24xx.S | ||
sleep34xx.S | ||
sleep44xx.S | ||
smartreflex-class3.c | ||
smartreflex.c | ||
smartreflex.h | ||
sr_device.c | ||
sram34xx.S | ||
sram242x.S | ||
sram243x.S | ||
timer-mpu.c | ||
timer.c | ||
twl-common.c | ||
twl-common.h | ||
usb-fs.c | ||
usb-host.c | ||
usb-musb.c | ||
usb-tusb6010.c | ||
vc3xxx_data.c | ||
vc44xx_data.c | ||
vc.c | ||
vc.h | ||
voltage.c | ||
voltage.h | ||
voltagedomains2xxx_data.c | ||
voltagedomains3xxx_data.c | ||
voltagedomains44xx_data.c | ||
vp3xxx_data.c | ||
vp44xx_data.c | ||
vp.c | ||
vp.h | ||
wd_timer.c | ||
wd_timer.h |