android_kernel_xiaomi_sm8350/arch/powerpc
Benjamin Herrenschmidt f90bb153b1 [POWERPC] Make pci_read_irq_line the default
This patch reworks the way IRQs are fixed up on PCI for arch powerpc.

It makes pci_read_irq_line() called by default in the PCI code for
devices that are probed, and add an optional per-device fixup in
ppc_md for platforms that really need to correct what they obtain
from pci_read_irq_line().

It also removes ppc_md.irq_bus_setup which was only used by pSeries
and should not be needed anymore.

I've also removed the pSeries s7a workaround as it can't work with
the current interrupt code anyway. I'm trying to get one of these
machines working so I can test a proper fix for that problem.

I also haven't updated the old-style fixup code from 85xx_cds.c
because it's actually buggy :) It assigns pci_dev->irq hard coded
numbers which is no good with the new IRQ mapping code. It should
at least use irq_create_mapping(NULL, hard_coded_number); and possibly
also set_irq_type() to set them as level low.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 16:00:04 +11:00
..
boot Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
configs Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
kernel [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
lib [POWERPC] Disallow kprobes on emulate_step and branch_taken 2006-11-01 15:14:12 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
oprofile [POWERPC] Fix oprofile support for e500 in arch/powerpc 2006-11-01 14:52:48 +11:00
platforms [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
sysdev Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
xmon [POWERPC] add support for dumping spu info from xmon 2006-10-25 14:20:22 +10:00
Kconfig Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00