ARCv2: smp-boot: wake_flag polling by non-Masters needs to be uncached
authorVineet Gupta <vgupta@synopsys.com>
Tue, 21 Jun 2016 08:54:33 +0000 (14:24 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 24 Jan 2017 22:25:19 +0000 (14:25 -0800)
commit78f824d4312a8944f5340c6b161bba3bf2c81096
tree58b5d951e55645252b251de62a8e449980b40849
parentbf02454a741b58682a82c314a9a46bed930ed2f7
ARCv2: smp-boot: wake_flag polling by non-Masters needs to be uncached

This is needed on HS38 cores, for setting up IO-Coherency aperture properly

The polling could perturb the caches and coherecy fabric which could be
wrong in the small window when Master is setting up IOC aperture etc
in arc_cache_init()

We do it only for ARCv2 based builds to not affect EZChip ARCompact
based platform.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/smp.c