diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-02-27 05:50:41 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 13:59:50 +0100 |
commit | 8ba5046af4483289c78cbb5608e20f695b9a9465 (patch) | |
tree | c3f0def5af5479ad5f0aa7fd966f8f783630e8d9 /net/core | |
parent | fe9c9b2a4545e2ec3eea3369dbd8fccfccd40c44 (diff) | |
download | lwn-8ba5046af4483289c78cbb5608e20f695b9a9465.tar.gz lwn-8ba5046af4483289c78cbb5608e20f695b9a9465.zip |
ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency
commit ca489c58ef0b81cc9c9252fd92e6c9bb38d3c408 upstream.
During CPU shutdown the exynos_cpu_power_down() is called after
disabling cache coherency and it uses LDREX and STREX instructions (by
calling of_machine_is_compatible() -> kobject_get() -> kref_get()).
The LDREX and STREX should not be used after disabling the cache
coherency so just use soc_is_exynos().
Fixes: adc548d77c22 ("ARM: EXYNOS: Use MCPM call-backs to support S2R
on exynos5420")
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions