From: Heiko Carstens Date: Thu, 30 Aug 2012 12:24:42 +0000 (+0200) Subject: s390/smp: avoid concurrent write to sigp status field X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~81^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e3acd666543544d402c83d24d44e487fb51f11;p=pandora-kernel.git s390/smp: avoid concurrent write to sigp status field When a sigp instruction is issued it may store a status. This status is currently stored in a per cpu field of the target cpu. If multiple cpus issue a sigp instruction with the same target cpu and a status is stored the result is not necessarily as expected. Currently this is not an issue: - on cpu hotplug no sigps, except "restart" and "sense" are sent to the target cpu. - on external call we don't look at the status if it is stored - on sense running the condition code "status stored" is sufficient to tell if a cpu is running or not Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed