android_kernel_motorola_sm6225/arch/ppc/syslib
Benjamin Herrenschmidt e4ee69c8c1 [PATCH] ppc32: Bump PMU interrupt priority
The Power Management Unit on PowerMacs is very sensitive to timeouts during
async message exchanges.  It uses rather crude protocol based on a shift
register with an interrupt and is almost continuously exchanging messages with
the host CPU on laptops.

This patch adds a routine to the open_pic driver to be able to select a PMU
driver so that it bumps it's interrupt priority to above the normal level.

This will allow PMU interrupts to occur while another interrupt is pending,
and thus reduce the risk of machine beeing abruptly shutdown by the PMU due to
a timeout in PMU communication caused by excessive interrupt latency.  The
problem is very rare, and usually just doesn't happen, but it is still useful
to make things even more robust.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-27 15:11:42 -07:00
..
btext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc710.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_common.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
cpm2_pic.c [PATCH] ppc32: workaround for spurious IRQs on PQ2 2005-05-01 08:58:42 -07:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dcr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64260_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
harrier.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hawk_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indirect_pci.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
ipic.c [PATCH] ppc32: Fix MPC83xx IPIC external interrupt pending register offset 2005-06-26 08:43:19 -07:00
ipic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_wdt.c [PATCH] ppc32: Fix mpc8xx watchdog 2005-04-16 15:24:23 -07:00
m8xx_wdt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m82xx_pci.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m82xx_pci.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_pci_erratum9.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_setup.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
Makefile [PATCH] ppc32: Converted MPC10X bridge to use platform devices instead of OCP 2005-06-21 18:46:23 -07:00
mpc10x_common.c [PATCH] ppc32: Add support for MPC8245 8250 serial ports on Sandpoint 2005-06-21 18:46:24 -07:00
mpc52xx_devices.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pci.c [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
mpc52xx_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_devices.c [PATCH] ppc32: Fix platform device initialization of 8250 serial ports 2005-05-20 15:48:19 -07:00
mpc83xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc85xx_devices.c [PATCH] ppc32: Removed dependency on CONFIG_CPM2 for building mpc85xx_device.c 2005-06-21 18:46:23 -07:00
mpc85xx_sys.c [PATCH] ppc32: Added support for new MPC8548 family of PowerQUICC III processors 2005-06-21 18:46:23 -07:00
mv64x60.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
mv64x60_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_win.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
mv64360_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ocp.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
of_device.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
open_pic.c [PATCH] ppc32: Bump PMU interrupt priority 2005-06-27 15:11:42 -07:00
open_pic2.c [PATCH] ppc32: remove some unnecessary includes of prom.h 2005-06-21 18:46:25 -07:00
open_pic_defs.h [PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h 2005-04-16 15:24:29 -07:00
pci_auto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_pic.c [PATCH] ppc32: ppc4xx_pic - add acknowledge when enabling level-sensitive IRQ 2005-04-16 15:24:15 -07:00
ppc4xx_pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_sgdma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc83xx_setup.c [PATCH] ppc32: remove some unnecessary includes of prom.h 2005-06-21 18:46:25 -07:00
ppc83xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_common.c [PATCH] ppc32: Support 36-bit physical addressing on e500 2005-04-16 15:24:22 -07:00
ppc85xx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc85xx_setup.c [PATCH] ppc32: remove some unnecessary includes of prom.h 2005-06-21 18:46:25 -07:00
ppc85xx_setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc403_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc405_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prep_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom_init.c [PATCH] ppc32: Apple device-tree bug fix 2005-06-01 07:54:13 -07:00
qspan_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
todc_time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xilinx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00