]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit557c3b759eaa66294fa41ef9a66aec0f72744af5
tree58b5d951e55645252b251de62a8e449980b40849
parentbf70ea81c164b6edee2a6a97eab17d85be2a1c77
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