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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:59:24 +0000 (02:59 +0000)
commit73959f468ccf2d653b0f5672b7652fd6f2e0bd3d
tree04e2ccc58d632b671314a19fd91cb56afb67f7d0
parent35a7eb59837aad9182d432d2e3c64afe03ebb0fa
ARCv2: smp-boot: wake_flag polling by non-Masters needs to be uncached

[ Upstream commit 78f824d4312a8944f5340c6b161bba3bf2c81096 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/smp.c