Blackfin: SMP: kgdb: flush core internal write buffer before flushinv
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 12 Nov 2010 05:54:32 +0000 (05:54 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:21 +0000 (07:18 -0500)
commit064cc44e62283227524c8e84ff247939728dec79
treea870fdcb5f67c912717888462eea41393808f5de
parente54b673081d12c46b47fdfe1772656cb2b43721d
Blackfin: SMP: kgdb: flush core internal write buffer before flushinv

KGDB single step in SMP kernel may hang forever in flushinv without a
CSYNC ahead.  This is because the core internal write buffers need to
be flushed before invalidating the data cache to make sure the insn
fetch is not out of sync.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf561/atomic.S