android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
Benjamin Herrenschmidt 0ebfff1491 [POWERPC] Add new interrupt mapping core and change platforms to use it
This adds the new irq remapper core and removes the old one.  Because
there are some fundamental conflicts with the old code, like the value
of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
etc..., this commit also changes the relevant platform and driver code
over to use the new remapper (so as not to cause difficulties later
in bisecting).

This patch removes the old pre-parsing of the open firmware interrupt
tree along with all the bogus assumptions it made to try to renumber
interrupts according to the platform. This is all to be handled by the
new code now.

For the pSeries XICS interrupt controller, a single remapper host is
created for the whole machine regardless of how many interrupt
presentation and source controllers are found, and it's set to match
any device node that isn't a 8259.  That works fine on pSeries and
avoids having to deal with some of the complexities of split source
controllers vs. presentation controllers in the pSeries device trees.

The powerpc i8259 PIC driver now always requests the legacy interrupt
range. It also has the feature of being able to match any device node
(including NULL) if passed no device node as an input. That will help
porting over platforms with broken device-trees like Pegasos who don't
have a proper interrupt tree.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-07-03 21:36:01 +10:00
..
spufs Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cbe_regs.c [PATCH] more for_each_cpu() removal 2006-06-25 10:00:54 -07:00
cbe_regs.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
interrupt.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
interrupt.h [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
iommu.c [POWERPC] cleanup dma_mapping_ops 2006-06-15 19:31:26 +10:00
iommu.h
Kconfig [POWERPC] spufs: fix memory hotplug dependency 2006-06-28 11:59:48 +10:00
Makefile [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts 2006-06-21 15:01:31 +10:00
pervasive.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pervasive.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
ras.c [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
ras.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
setup.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
smp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
spider-pic.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
spu_base.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
spu_callbacks.c [POWERPC] Unify ppc syscall tables 2006-06-21 15:01:32 +10:00
spu_priv1_mmio.c [POWERPC] spufs: fix spu irq affinity setting 2006-06-21 15:01:31 +10:00
spu_syscalls.c [PATCH] spufs: fix module refcount race 2006-01-09 14:53:11 +11:00