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
..
2009-12-12 13:08:14 +01:00
2011-03-22 21:03:17 -04:00
2009-06-18 21:41:13 -04:00
2010-10-25 04:54:33 -04:00
2010-10-22 16:30:03 -04:00
2011-01-10 07:18:04 -05:00
2010-10-25 04:54:33 -04:00
2010-08-06 12:55:56 -04:00
2010-08-06 12:55:56 -04:00
2011-02-03 14:44:54 -08:00
2009-10-07 04:36:26 -04:00
2010-08-27 15:58:27 -04:00
2010-10-25 04:54:33 -04:00
2010-03-09 00:30:50 -05:00
2010-05-21 09:40:18 -04:00
2010-03-09 00:30:46 -05:00
2009-01-07 23:14:39 +08:00
2011-03-25 16:54:13 -04:00
2009-06-11 21:02:14 +02:00
2009-10-07 04:36:26 -04:00
2010-05-22 14:19:04 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2011-01-10 07:18:14 -05:00
2010-10-22 03:48:59 -04:00
2011-01-10 07:18:11 -05:00
2010-10-25 17:24:00 -04:00
2009-12-15 00:13:32 -05:00
2009-12-15 00:14:50 -05:00
2010-03-09 00:30:49 -05:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2010-03-09 00:30:50 -05:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2011-03-18 03:49:24 -04:00
2010-03-09 00:30:50 -05:00
2009-06-18 21:41:13 -04:00
2008-08-27 10:51:02 +08:00
2010-08-11 08:59:21 -07:00
2011-01-10 07:18:05 -05:00
2011-03-18 04:01:03 -04:00
2009-10-07 04:36:26 -04:00
2010-08-06 12:55:44 -04:00
2009-06-18 21:41:13 -04:00
2010-10-26 16:52:12 -07:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2009-12-10 15:02:50 +01:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2010-08-06 12:55:54 -04:00
2009-06-18 21:41:13 -04:00
2010-08-06 12:55:58 -04:00
2009-12-15 00:15:30 -05:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2011-01-10 07:18:04 -05:00
2008-08-27 10:51:02 +08:00
2009-06-18 21:40:53 -04:00
2009-06-18 21:40:58 -04:00
2011-03-18 04:01:10 -04:00
2011-03-18 04:01:10 -04:00
2009-10-07 04:36:26 -04:00
2008-08-27 10:51:02 +08:00
2010-03-09 00:30:49 -05:00
2011-03-18 04:01:11 -04:00
2010-10-22 03:48:59 -04:00
2008-08-27 10:51:02 +08:00
2009-12-15 00:15:40 -05:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2010-06-09 11:12:36 +02:00
2009-06-18 21:41:13 -04:00
2010-08-06 12:55:57 -04:00
2009-06-22 21:16:07 -04:00
2009-06-18 21:41:26 -04:00
2010-10-07 14:08:52 +01:00
2009-10-07 04:36:26 -04:00
2009-12-15 16:28:26 +10:30
2009-06-18 21:40:58 -04:00
2009-10-07 04:36:26 -04:00
2010-08-05 16:14:38 +01:00
2010-03-09 00:30:49 -05:00
2009-10-07 04:36:26 -04:00
2010-03-09 00:30:52 -05:00
2009-06-18 21:41:13 -04:00
2009-12-15 00:16:07 -05:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2010-05-21 09:03:15 -04:00
2009-10-07 04:36:26 -04:00
2010-08-06 12:55:51 -04:00
2009-10-07 04:36:26 -04:00
2011-01-10 07:18:15 -05:00
2010-05-22 14:19:05 -04:00
2010-10-22 03:48:59 -04:00
2009-02-04 16:49:45 +08:00
2009-06-18 21:41:13 -04:00
2009-01-07 23:14:39 +08:00
2010-08-07 18:15:50 +02:00
2010-03-09 00:30:48 -05:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:40:58 -04:00
2010-10-22 16:30:01 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:40:58 -04:00
2009-06-18 21:40:58 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:26 -04:00
2011-03-18 04:01:04 -04:00
2009-06-18 21:41:08 -04:00
2009-06-18 21:41:08 -04:00
2009-12-14 23:55:32 +01:00
2011-01-10 07:18:14 -05:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2010-05-22 14:19:09 -04:00
2009-10-07 04:36:26 -04:00
2010-03-09 00:30:51 -05:00
2011-04-13 19:34:04 -04:00
2009-06-18 21:41:17 -04:00
2009-06-18 21:41:17 -04:00
2010-05-14 11:13:27 +02:00
2010-03-09 00:30:50 -05:00
2008-10-16 23:55:41 +08:00
2009-10-07 04:36:26 -04:00
2010-05-21 09:40:20 -04:00
2009-06-18 21:41:13 -04:00
2010-05-21 09:40:19 -04:00
2011-03-31 11:26:23 -03:00
2009-06-18 21:42:24 -04:00
2009-12-15 00:14:14 -05:00
2009-06-18 21:42:30 -04:00
2009-06-18 21:41:22 -04:00
2011-03-22 21:03:16 -04:00
2009-06-18 21:41:03 -04:00
2008-11-18 17:48:22 +08:00