Graf Yang 943aee0c68 Blackfin: SMP: make all barriers handle cache issues
When suspending/resuming, the common task freezing code will run in
parallel and freeze processes on each core.  This is because the code
uses the non-smp version of memory barriers (as well it should).

The Blackfin smp barrier logic at the moment contains the cache sync
logic, but the non-smp barriers do not.  This is incorrect as Rafel
summarized:
> ...
> The existing memory barriers are SMP barriers too, but they are more
> than _just_ SMP barriers.  At least that's how it is _supposed_ to be
> (eg. rmb() is supposed to be stronger than smp_rmb()).
> ...
> However, looking at the blackfin's definitions of SMP barriers I see
> that it uses extra stuff that should _also_ be used in the definitions
> of the mandatory barriers.
> ...

URL: http://lkml.org/lkml/2011/4/13/11
LKML-Reference: <BANLkTi=F-C-vwX4PGGfbkdTBw3OWL-twfg@mail.gmail.com>
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-13 19:34:04 -04:00
..
2011-03-22 21:03:17 -04:00
2010-08-06 12:55:56 -04:00
2010-03-09 00:30:50 -05:00
2010-08-06 12:55:44 -04:00
2009-12-10 15:02:50 +01:00
2010-08-06 12:55:58 -04:00
2011-01-10 07:18:04 -05:00
2010-10-22 03:48:59 -04:00
2009-12-15 00:15:40 -05:00
2010-06-09 11:12:36 +02:00
2009-06-22 21:16:07 -04:00
2010-10-22 03:48:59 -04:00
2010-03-09 00:30:48 -05:00
2010-03-09 00:30:51 -05:00
2011-03-31 11:26:23 -03:00
2009-06-18 21:42:24 -04:00
2011-03-22 21:03:16 -04:00
2008-11-18 17:48:22 +08:00