kernel-fxtec-pro1x/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
..
akita-ioexp.c WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
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 backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
corgi_lcd.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
devices.h [ARM] pxa: make pxa27x devices globally visible 2007-10-12 21:14:53 +01:00
dma.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
em-x270.c [ARM] 4475/2: EM-x270 board support 2007-07-20 17:45:15 +01:00
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 [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
irq.c [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
Kconfig [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
leds-idp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-lubbock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-mainstone.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-trizeps4.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
leds.c [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
lpd270.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
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
Makefile [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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 [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
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 [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sleep.S [ARM] 4489/1: pxa: split pxa_cpu_suspend to processor specific ones 2007-07-20 17:25:20 +01:00
spitz.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
ssp.c [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX 2007-04-21 23:14:01 +01:00
standby.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
time.c [ARM] pxa: fix one-shot timer mode 2007-11-08 23:35:46 +00:00
tosa.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
trizeps4.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
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