linux/arch/xtensa
Max Filippov bae07f8a9d xtensa: clear timer IRQ unconditionally in its handler
PIC irq_ack doesn't clear timer IRQ, because timer interrupt handler
usually set up new timer by writing to ccompare register and thus
clearing timer IRQ. However timer may not be set up in the IRQ handler,
e.g. with tickless idle on SMP, or when CPU is going offline, leaving
timer IRQ raised and making do_interrupt attempting to handle it
forever.

To fix this always write current value of ccompare SR chosen to be linux
timer back to that SR on entry to timer interrupt handler.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
2014-01-14 10:19:57 -08:00
..
boot xtensa: move built-in PIC to drivers/irqchip 2014-01-14 10:19:56 -08:00
configs Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
include xtensa: move built-in PIC to drivers/irqchip 2014-01-14 10:19:56 -08:00
kernel xtensa: clear timer IRQ unconditionally in its handler 2014-01-14 10:19:57 -08:00
lib xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mm xtensa: fix build warning in 64-bit build environment 2014-01-14 10:19:52 -08:00
oprofile xtensa: fix oprofile building as module 2013-05-09 01:07:09 -07:00
platforms xtensa: remove NO_IRQ definitions 2014-01-14 10:19:52 -08:00
variants xtensa: remove NO_IRQ definitions 2014-01-14 10:19:52 -08:00
Kconfig xtensa: enable HAVE_IRQ_TIME_ACCOUNTING 2014-01-14 10:19:54 -08:00
Kconfig.debug xtensa: check TLB sanity on return to userspace 2013-07-08 01:18:56 -07:00
Makefile xtensa: don't use echo -e needlessly 2013-09-06 09:48:29 -07:00