linux_dsm_epyc7002/arch/blackfin
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
..
boot Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00
configs Blackfin: defconfigs: update after misc devices defaulted to N 2011-03-25 16:54:12 -04:00
include Blackfin: SMP: make all barriers handle cache issues 2011-04-13 19:34:04 -04:00
kernel Fix common misspellings 2011-03-31 11:26:23 -03:00
lib Fix common misspellings 2011-03-31 11:26:23 -03:00
mach-bf518 Blackfin: punt unused HDMA masks 2011-03-18 04:29:17 -04:00
mach-bf527 Blackfin: punt unused HDMA masks 2011-03-18 04:29:17 -04:00
mach-bf533 Blackfin: ip0x: fix unused variable warning 2011-03-18 05:17:02 -04:00
mach-bf537 Fix common misspellings 2011-03-31 11:26:23 -03:00
mach-bf538 Blackfin: boards: add missing "static" to peripheral lists 2011-01-10 07:18:25 -05:00
mach-bf548 Blackfin: bf54x: re-enable anomaly 05000353 for all revs 2011-03-22 21:06:16 -04:00
mach-bf561 bfin: Final irq cleanup 2011-03-29 14:47:59 +02:00
mach-common Fix common misspellings 2011-03-31 11:26:23 -03:00
mm Blackfin: sram_free_with_lsl: do not ignore return value of sram_free 2011-01-10 07:18:26 -05:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig genirq: Remove the now obsolete config options and select statements 2011-03-30 14:13:23 +02:00
Kconfig.debug Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00