android_kernel_xiaomi_sm8350/arch/arm/mach-pxa
Marc Zyngier a9ff8f6462 [ARM] 5308/1: Fix Viper ISA IRQ handling
The ISA IRQ renumbering broke the Viper ISA code in interesting ways.
It originally assumed that ISA interrupt were numbered in the order that
is defined by the CPLD registers. Unfortunately, this is no longer the
case.

Furthermore, the viper_irq_handler() function being a chained IRQ
handler, it must ACK the interrupt by itself, or the handler will be
immediately reentered, with the expected damages.

This fix was made possible thanks to the help of David Raeman, who
provided debug information and tested each version of this patch.

Tested-by: David Raeman <david.raeman@gmail.com>

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-10-15 13:01:36 +01:00
..
include/mach V4L/DVB (8687): soc-camera: Move .power and .reset from soc_camera host to sensor driver 2008-10-12 09:36:50 -02:00
am200epd.c [ARM] 5200/1: am200epd: use fb notifiers and gpio api 2008-08-26 17:01:14 +01:00
clock.c [ARM] clocklib: Allow dynamic alias creation 2008-08-12 12:54:30 +01:00
clock.h [ARM] clocklib: Allow dynamic alias creation 2008-08-12 12:54:30 +01:00
cm-x2xx-pci.c [ARM] 5282/1: pxa: add CM-X255 support 2008-10-07 12:05:07 +01:00
cm-x2xx-pci.h [ARM] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for addition of CM-X255 2008-10-07 12:05:05 +01:00
cm-x2xx.c [ARM] 5282/1: pxa: add CM-X255 support 2008-10-07 12:05:07 +01:00
cm-x255.c [ARM] 5284/1: pxa: cm-x255: add NOR and NAND flash support 2008-10-07 12:08:14 +01:00
cm-x270.c [ARM] 5306/1: pxa: fix build error on CM-X270 2008-10-15 12:34:48 +01:00
cm-x300.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
colibri.c [ARM] pxa/colibri: convert to use new MFP API 2008-09-26 23:43:21 +01:00
corgi_pm.c [ARM] pxa/corgi: use generic GPIO API for SCOOP GPIOs 2008-09-23 22:04:39 +01:00
corgi.c Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
cpufreq-pxa2xx.c [ARM] pxa: rename cpu-pxa.c to cpufreq-pxa2xx.c 2008-10-07 19:12:59 +01:00
cpufreq-pxa3xx.c [ARM] pxa: add preliminary CPUFREQ support for PXA3xx 2008-10-07 19:12:59 +01:00
devices.c
devices.h [ARM] 5201/1: PXA3xx: Add support for power i2c bus 2008-09-09 16:32:51 +01:00
dma.c
e330.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e350.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e400.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e740.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e750.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
e800.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
em-x270.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
eseries.c [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
eseries.h [ARM] eseries: move UDC defs to machine files 2008-08-19 13:44:07 +01:00
ezx.c
generic.c [ARM] ohci-pxa27x: use ioremap() and offset for register access 2008-10-07 19:12:58 +01:00
generic.h [ARM] pxa: better MFP low power state support for pxa25x/pxa27x 2008-09-26 23:43:20 +01:00
gpio.c Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
gumstix.c [ARM] 5197/1: gumstix: conversion to MFP support and add bluetooth support 2008-08-26 17:01:27 +01:00
idp.c [ARM] pxa/idp: remove the unnecessary idp_init_irq() 2008-09-26 23:43:21 +01:00
irq.c [ARM] 5233/1: Allow PXA to have ISA IRQs numbered 0-15 2008-09-01 17:13:26 +01:00
Kconfig Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c [ARM] 5251/1: remove old LED support for Trizeps4 SOM 2008-10-01 22:34:34 +01:00
leds.h
littleton.c [ARM] pxa/littleton: add support for SPI-based TDO24M LCD panel driver 2008-09-23 22:04:38 +01:00
lpd270.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
lubbock.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
magician.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
mainstone.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
Makefile [ARM] pxa: add preliminary CPUFREQ support for PXA3xx 2008-10-07 19:12:59 +01:00
Makefile.boot
mfp-pxa2xx.c [ARM] pxa: fix incorrect initialization of mfp sysdev when not pxa2xx 2008-10-07 19:12:55 +01:00
mfp-pxa3xx.c
mioa701_bootresume.S [ARM] 5202/1: pxa: Added Mitac Mio A701 smartphone support. 2008-08-26 17:01:37 +01:00
mioa701.c [ARM] 5202/1: pxa: Added Mitac Mio A701 smartphone support. 2008-08-26 17:01:37 +01:00
mp900.c [ARM] 5277/1: Add basic support for MobilePro 900/c 2008-10-02 22:56:05 +01:00
palmtx.c [ARM] 5248/1: wm97xx generic battery driver 2008-10-02 22:48:34 +01:00
palmz72.c [ARM] 5239/1: Palm Zire 72 power management support 2008-10-09 15:12:07 +01:00
pcm027.c [ARM] pxa/pcm027: convert to use new MFP API 2008-09-26 23:43:22 +01:00
pcm990-baseboard.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
pm.c [ARM] pxa: Allow platforms to override PSPR setting 2008-09-09 16:32:52 +01:00
poodle.c [ARM] pxa: fix typo in pxa25x MFP definitions 2008-09-26 23:43:20 +01:00
pwm.c
pxa2xx.c Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 2008-08-07 11:06:47 +01:00
pxa3xx.c [ARM] 5201/1: PXA3xx: Add support for power i2c bus 2008-09-09 16:32:51 +01:00
pxa25x.c Merge branches 'pxa-core' and 'pxa-machines' into pxa-all 2008-10-07 19:08:56 +01:00
pxa27x.c [ARM] ohci-pxa27x: introduce pxa27x_clear_otgph() 2008-10-07 19:12:58 +01:00
pxa300.c [ARM] 5212/1: pxa: fix build error when CPU_PXA310 is not defined 2008-08-20 23:17:13 +01:00
pxa320.c
pxa930.c
reset.c [ARM] 5300/1: fixup spitz reset during boot 2008-10-11 09:52:38 +01:00
saar.c
sharpsl_pm.c [ARM] pxa/corgi: remove now unused corgi_ssp.c and corgi_lcd.c 2008-09-23 22:04:37 +01:00
sharpsl.h
sleep.S
smemc.c
spitz_pm.c [ARM] pxa/spitz: use generic GPIO API for SCOOP1/SCOOP2 GPIOs 2008-09-23 22:04:39 +01:00
spitz.c [ARM] 5300/1: fixup spitz reset during boot 2008-10-11 09:52:38 +01:00
ssp.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
standby.S
tavorevb.c
time.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-10-11 10:09:45 -07:00
tosa-bt.c
tosa.c [ARM] 5300/1: fixup spitz reset during boot 2008-10-11 09:52:38 +01:00
trizeps4.c [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
viper.c [ARM] 5308/1: Fix Viper ISA IRQ handling 2008-10-15 13:01:36 +01:00
zylonite_pxa300.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00
zylonite_pxa320.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00
zylonite.c [ARM] pxa/zylonite: add support for USB OHCI 2008-10-07 19:12:59 +01:00