android_kernel_xiaomi_sdm845/arch/ppc/syslib
Ingo Molnar d1bef4ed5f [PATCH] genirq: rename desc->handler to desc->chip
This patch-queue improves the generic IRQ layer to be truly generic, by adding
various abstractions and features to it, without impacting existing
functionality.

While the queue can be best described as "fix and improve everything in the
generic IRQ layer that we could think of", and thus it consists of many
smaller features and lots of cleanups, the one feature that stands out most is
the new 'irq chip' abstraction.

The irq-chip abstraction is about describing and coding and IRQ controller
driver by mapping its raw hardware capabilities [and quirks, if needed] in a
straightforward way, without having to think about "IRQ flow"
(level/edge/etc.) type of details.

This stands in contrast with the current 'irq-type' model of genirq
architectures, which 'mixes' raw hardware capabilities with 'flow' details.
The patchset supports both types of irq controller designs at once, and
converts i386 and x86_64 to the new irq-chip design.

As a bonus side-effect of the irq-chip approach, chained interrupt controllers
(master/slave PIC constructs, etc.) are now supported by design as well.

The end result of this patchset intends to be simpler architecture-level code
and more consolidation between architectures.

We reused many bits of code and many concepts from Russell King's ARM IRQ
layer, the merging of which was one of the motivations for this patchset.

This patch:

rename desc->handler to desc->chip.

Originally i did not want to do this, because it's a big patch.  But having
both "desc->handler", "desc->handle_irq" and "action->handler" caused a
large degree of confusion and made the code appear alot less clean than it
truly is.

I have also attempted a dual approach as well by introducing a
desc->chip alias - but that just wasnt robust enough and broke
frequently.

So lets get over with this quickly.  The conversion was done automatically
via scripts and converts all the code in the kernel.

This renaming patch is the first one amongst the patches, so that the
remaining patches can stay flexible and can be merged and split up
without having some big monolithic patch act as a merge barrier.

[akpm@osdl.org: build fix]
[akpm@osdl.org: another build fix]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-29 10:26:21 -07:00
..
btext.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
cpc700_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
cpc700.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
cpc710.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
cpm2_common.c [PATCH] ppc32: Add proper prototype for cpm2_reset() 2005-07-27 16:25:55 -07:00
cpm2_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
gen550_kgdb.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
gen550.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
gt64260_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
harrier.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
hawk_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm44x_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm44x_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gp_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gp_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gx_common.c [PATCH] ppc32: add 440GX erratum 440_43 workaround 2006-04-28 21:04:56 +10:00
ibm440gx_common.h [PATCH] ppc32: add 440GX erratum 440_43 workaround 2006-04-28 21:04:56 +10:00
ibm440sp_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440sp_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
m8xx_wdt.c [PATCH] ppc32 8xx: Added setbitsXX/clrbitsXX macro for read-modify-write operations 2006-01-20 16:13:29 +11:00
m8xx_wdt.h [PATCH] ppc32: m8xx watchdog update 2006-01-09 14:50:51 +11:00
m82xx_pci.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
m82xx_pci.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_pci_erratum9.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
m8260_setup.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
Makefile ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
mpc8xx_devices.c [PATCH] ppc32: odd fixes and improvements in ppc_sys 2006-04-28 21:05:16 +10:00
mpc8xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc10x_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_devices.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_pci.c [PATCH] ppc32: Adds support for the PCI hostbridge in MPC5200B 2006-03-27 14:48:56 +11:00
mpc52xx_pci.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
mpc52xx_setup.c [PATCH] ppc32: Reorganize and complete MPC52xx initial cpu setup 2006-03-27 14:49:00 +11:00
mpc52xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc83xx_devices.c [PATCH] USB: allow multiple types of EHCI controllers to be built as modules 2006-06-21 15:04:09 -07:00
mpc83xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc85xx_devices.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc85xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mv64x60_dbg.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mv64x60_win.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mv64x60.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mv64360_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
ocp.c [PATCH] kzalloc() conversion in arch/ppc 2006-03-17 13:20:57 +11:00
open_pic2.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
open_pic_defs.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
open_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
pci_auto.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc4xx_dma.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc4xx_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
ppc4xx_setup.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
ppc4xx_sgdma.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc8xx_pic.c [PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference 2005-10-29 13:55:27 +10:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_pci.h [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc83xx_setup.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc83xx_setup.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc85xx_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc85xx_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc85xx_rio.c [PATCH] rapidio: message interface updates 2005-11-07 07:53:47 -08:00
ppc85xx_rio.h [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
ppc85xx_setup.c [PATCH] s/;;/;/g 2006-03-24 07:33:24 -08:00
ppc85xx_setup.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc403_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
ppc405_pci.c [PATCH] ppc32: Remove internal PCI arbiter check on PPC40x 2005-11-07 07:53:27 -08:00
ppc440spe_pcie.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc440spe_pcie.h [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc_sys.c [PATCH] ppc32: odd fixes and improvements in ppc_sys 2006-04-28 21:05:16 +10:00
pq2_devices.c [PATCH] ppc32 CPM_UART: various fixes for pq2 uart users 2006-05-26 22:38:56 +10:00
pq2_sys.c [PATCH] ppc32 CPM_UART: various fixes for pq2 uart users 2006-05-26 22:38:56 +10:00
prep_nvram.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
qspan_pci.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
todc_time.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
xilinx_pic.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00