1
linux/arch/ppc/syslib
Eugene Surovegin 35b535d9cc [PATCH] ppc32: ppc4xx_pic - add acknowledge when enabling level-sensitive IRQ
This patch adds interrupt acknowledge to the PPC4xx PIC enable_irq
implementation for level-sensitive IRQ sources.  This helps in cases when
enable/disable_irq is used in interrupt handlers for hardware, which
requires IRQ acknowledge to be issued from non-interrupt context (e.g. 
when actual ACK in device needs an I2C transaction).  For such strange
hardware, interrupt handler disables IRQ and defers actual ACK to some
other context.  When this happens, IRQ is enabled again.  For
level-sensitive sources we get spurious triggering right after IRQ is
enabled.  This patch fixes this.

Suggested by Tolunay Orkun <listmember@orkun.us>.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:24:15 -07:00
..
btext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc710.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dcr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64260_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
harrier.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hawk_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indirect_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_wdt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_wdt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_pci_erratum9.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8260_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc10x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_devices.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_devices.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc85xx_devices.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc85xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_win.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64360_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
of_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
open_pic2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
open_pic_defs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
open_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_auto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_pic.c [PATCH] ppc32: ppc4xx_pic - add acknowledge when enabling level-sensitive IRQ 2005-04-16 15:24:15 -07:00
ppc4xx_pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_sgdma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc403_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc405_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prep_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom_init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qspan_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
todc_time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xilinx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00