linux/arch/powerpc/sysdev
Scott Wood f49196a5f5 [POWERPC] IPIC: Fix spinlock recursion in set_irq_handler
This causes ipic_set_irq_type to set the handler directly rather
than call set_irq_handler, which causes spinlock recursion because
the lock is already held when ipic_set_irq_type is called.

I'm also not convinced that ipic_set_irq_type should be changing the
handler at all.  There seem to be several controllers that don't and
several that do.  Those that do would break what appears to be a common
usage of calling set_irq_chip_and_handler followed by set_irq_type, if a
non-standard handler were to be used.  OTOH, irq_create_of_mapping()
doesn't set the handler, but only calls set_irq_type().

This patch gets things working in the spinlock-debugging-enabled case,
but I'm curious as to where the handler setting is ideally supposed to be
done.  I don't see any documentation on set_irq_type() that clarifies
what the semantics are supposed to be.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-25 13:49:22 +10:00
..
qe_lib [POWERPC] Fix the UCC rx/tx clock of QE 2006-10-25 13:49:22 +10:00
Makefile [POWERPC] Add QUICC Engine (QE) infrastructure 2006-10-04 15:24:27 +10:00
cpm2_common.c POWERPC: overhaul with cpm2_map mechanism 2006-09-21 22:38:05 +04:00
cpm2_pic.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
cpm2_pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
dart.h [POWERPC] U4 DART improvements 2006-06-29 16:22:46 +10:00
dart_iommu.c [POWERPC] Fix G5 DART (IOMMU) race causing occasional data corruption 2006-09-13 22:12:52 +10:00
dcr.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
fsl_soc.c [POWERPC] Fix fsl_soc build breaks 2006-10-07 10:10:13 +10:00
fsl_soc.h Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/vitb/linux-2.6-PQ 2006-09-28 07:18:28 +10:00
grackle.c powerpc: Pull out MPC106 (grackle) initialization code into its own file 2005-10-26 17:16:38 +10:00
i8259.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
indirect_pci.c powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit 2005-10-10 22:25:26 +10:00
ipic.c [POWERPC] IPIC: Fix spinlock recursion in set_irq_handler 2006-10-25 13:49:22 +10:00
ipic.h [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense 2006-08-30 10:34:33 +10:00
mmio_nvram.c [POWERPC] Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
mpic.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
todc.c [POWERPC] todc: add support for Time-Of-Day-Clock 2006-06-29 16:22:46 +10:00
tsi108_dev.c [POWERPC] Fix compiler warning message on get_property call 2006-10-23 18:20:12 +10:00
tsi108_pci.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00