aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/Kconfig
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-09-07 15:13:19 -0400
committerPaul Mackerras <paulus@samba.org>2007-09-13 11:33:25 -0400
commit0d72ba930cbc9140a584af7e4e65041b6c7a7d18 (patch)
tree8dd36503702183fb15f5e783249433c9880e45ee /arch/powerpc/platforms/Kconfig
parent2099172d61abda1b793b499bb8edcaac4de2cdae (diff)
[POWERPC] Add workaround for MPICs with broken register reads
Some versions of PWRficient 1682M have an interrupt controller in which the first register in each pair for interrupt sources doesn't always read with the right polarity/sense values. To work around this, keep a software copy of the register instead. Since it's not modified from the mpic itself, it's a feasible solution. Still, keep it under a config option to avoid wasting memory on other platforms. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/Kconfig')
-rw-r--r--arch/powerpc/platforms/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 065f3b19d6c7..78a7edac577f 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -137,6 +137,16 @@ config MPIC_U3_HT_IRQS
137 depends on PPC_MAPLE 137 depends on PPC_MAPLE
138 default y 138 default y
139 139
140config MPIC_BROKEN_REGREAD
141 bool
142 depends on MPIC
143 help
144 This option enables a MPIC driver workaround for some chips
145 that have a bug that causes some interrupt source information
146 to not read back properly. It is safe to use on other chips as
147 well, but enabling it uses about 8KB of memory to keep copies
148 of the register contents in software.
149
140config IBMVIO 150config IBMVIO
141 depends on PPC_PSERIES || PPC_ISERIES 151 depends on PPC_PSERIES || PPC_ISERIES
142 bool 152 bool