linux-stable-rt/arch/arm/mach-pxa
Russell King 91bc51d8a1 [ARM] pxa: fix one-shot timer mode
One-shot timer mode on PXA has various bugs which prevent kernels
build with NO_HZ enabled booting.  They end up spinning on a
permanently asserted timer interrupt because we don't properly
clear it down - clearing the OIER bit does not stop the pending
interrupt status.  Fix this in the set_mode handler as well.

Moreover, the code which sets the next expiry point may race with
the hardware, and we might not set the match register sufficiently
in the future.  If we encounter that situation, return -ETIME so
the generic time code retries.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-11-08 23:35:46 +00:00
..
Kconfig [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
Makefile [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
Makefile.boot
akita-ioexp.c
clock.c [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
clock.h [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
cm-x270-pci.c [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
cm-x270-pci.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
cm-x270.c [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
corgi.c
corgi_lcd.c
corgi_pm.c
corgi_ssp.c
devices.h [ARM] pxa: make pxa27x devices globally visible 2007-10-12 21:14:53 +01:00
dma.c
em-x270.c
generic.c [ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put() 2007-10-15 18:53:55 +01:00
generic.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
idp.c
irq.c [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds-trizeps4.c
leds.c
leds.h
lpd270.c
lubbock.c [ARM] pxa: move pxa_set_mode() from pxa2xx_lubbock.c to lubbock.c 2007-10-15 18:53:47 +01:00
mainstone.c [ARM] pxa: move pxa_set_mode() from pxa2xx_mainstone.c to mainstone.c 2007-10-15 18:53:50 +01:00
mfp.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pm.c PM: Rename struct pm_ops and related things 2007-10-18 14:37:18 -07:00
poodle.c
pxa3xx.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pxa25x.c PM: Rename struct pm_ops and related things 2007-10-18 14:37:18 -07:00
pxa27x.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pxa320.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
sharpsl.h
sharpsl_pm.c
sleep.S
spitz.c
spitz_pm.c
ssp.c
standby.S
time.c [ARM] pxa: fix one-shot timer mode 2007-11-08 23:35:46 +00:00
tosa.c
trizeps4.c
zylonite.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
zylonite_pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
zylonite_pxa320.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00