Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] ppc32: explicitly disable 440GP IRQ compatibility mode in 440GX setup

Add explicit disabling of 440GP IRQ compatibility mode when configuring
440GX interrupt controller. This helps when board firmware for some reason
uses this compatibility mode and leaves it enabled. It breaks 440GX
interrupt code because it assumes native 440GX IRQ mode. People seems to
be continuously bitten by this.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Eugene Surovegin and committed by
Linus Torvalds
4b1294f9 f326d22b

+4
+4
arch/ppc/syslib/ppc4xx_pic.c
··· 110 110 111 111 static void __init ppc4xx_pic_impl_init(void) 112 112 { 113 + #if defined(CONFIG_440GX) 114 + /* Disable 440GP compatibility mode if it was enabled in firmware */ 115 + SDR_WRITE(DCRN_SDR_MFR, SDR_READ(DCRN_SDR_MFR) & ~DCRN_SDR_MFR_PCM); 116 + #endif 113 117 /* Configure Base UIC */ 114 118 mtdcr(DCRN_UIC_CR(UICB), 0); 115 119 mtdcr(DCRN_UIC_TR(UICB), 0);