linux_dsm_epyc7002/arch/powerpc/platforms
Zang Roy-r61911 7233593b78 [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2
This adds a new hardware information table for mpic. This enables
the mpic code to deal with mpic controllers with different register
layouts and hardware behaviours.

This introduces CONFIG_MPIC_WEIRD.  For boards with non standard mpic
controllers, select CONFIG_MPIC_WEIRD and add its hardware information
in the mpic_infos[] array.

TSI108/109 PIC takes the first index of weird hardware information
table.  :)  The table can be extended. The Tsi108/109 PIC looks like
standard OpenPIC but, in fact, is different in register mapping and
behavior.

The patch does not affect the behavior of standard mpic.  If
CONFIG_MPIC_WEIRD is not defined, the code is essentially identical to
the current code.

[benh@kernel.crashing.org:
This patch is a slightly cleaned up version of Zang Roy's support for
the TSI108 MPIC variant. It also fixes up MPC7448_hpc2 to use the new
version of the type macros and changes the way MPIC is selected in
Kconfig to better match what is done for other system devices.
]

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-08-30 14:29:42 +10:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx [POWERPC] modify mpc83xx platforms to use new IRQ layer 2006-08-30 10:34:33 +10:00
85xx [POWERPC] Fix CDS IRQ handling and PCI code 2006-08-23 15:51:18 +10:00
86xx [POWERPC] Use mpc8641hpcn PIC base address from dev tree. 2006-08-25 14:32:13 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
chrp [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set 2006-07-26 01:27:04 +10:00
embedded6xx [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2 2006-08-30 14:29:42 +10:00
iseries [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
maple [POWERPC] Fix new interrupt code (MPIC detection) 2006-07-28 10:53:16 +10:00
powermac [POWERPC] Fix BootX booting with an initrd 2006-08-23 15:51:18 +10:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [POWERPC] Fix might-sleep warning on removing cpus 2006-08-08 16:00:11 +10:00
Makefile [POWERPC] Add general support for mpc7448hpc2 (Taiga) platform 2006-06-29 16:20:36 +10:00