linux/arch/blackfin
Peter Zijlstra aa02cd2d9b xtime_lock vs update_process_times
Commit d3d74453c3 ("hrtimer: fixup the
HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback") broke several archs, and since
only Russell bothered to merge the fix, and Greg to ACK his arch, I'm
sending this for merger.

I have confirmation that the Alpha bit results in a booting kernel.
That leaves: blackfin, frv, sh and sparc untested.

The deadlock in question was found by Russell:

  IRQ handle
    -> timer_tick() - xtime seqlock held for write
      -> update_process_times()
        -> run_local_timers()
          -> hrtimer_run_queues()
            -> hrtimer_get_softirq_time() - tries to get a read lock

Now, Thomas assures me the fix is trivial, only do_timer() needs to be
done under the xtime_lock, and update_process_times() can savely be
removed from under it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Greg Ungerer <gerg@uclinux.org>
CC: Richard Henderson <rth@twiddle.net>
CC: Bryan Wu <bryan.wu@analog.com>
CC: David Howells <dhowells@redhat.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: William Irwin <wli@holomorphy.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-13 13:29:25 -08:00
..
boot Blackfin arch: add a cheesy install target 2007-10-22 00:45:55 +08:00
configs [Blackfin] arch: add support for cmdline partitioning to the BF533-STAMP flash map driver and enable it as a module by default 2008-02-09 04:13:15 +08:00
kernel xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
lib [Blackfin] arch: fix bug - make memcpy return the dest addr. 2007-12-21 21:12:21 +08:00
mach-bf527 [Blackfin] arch: fix build fails only include header files when enabled 2008-02-09 01:49:23 +08:00
mach-bf533 [Blackfin] arch: fix build fails only include header files when enabled 2008-02-09 01:49:23 +08:00
mach-bf537 [Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support 2008-02-09 01:54:09 +08:00
mach-bf548 [Blackfin] arch: fix build fails only include header files when enabled 2008-02-09 01:49:23 +08:00
mach-bf561 [Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support 2008-02-09 01:54:09 +08:00
mach-common [Blackfin] arch:Fix BUG [#3876] pfbutton test for BTN3 on bf533 don't show complete info 2008-02-02 16:17:52 +08:00
mm [Blackfin] arch: add "memmap=nn[KMG]@ss[KMG]" and "memmap=nn[KMG]$ss[KMG]" options to blackfin, based on arch/i386/kernel/e820.c 2008-02-09 02:26:01 +08:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug [Blackfin] arch: add slightly better help text for CPLB_INFO 2008-02-02 15:32:40 +08:00
Makefile [Blackfin] arch: declare default INSTALL_PATH for Blackfin ports 2008-02-07 14:15:37 +08:00