]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8307/1: psci: move psci firmware calls out of line
authorMark Rutland <mark.rutland@arm.com>
Fri, 6 Mar 2015 11:08:30 +0000 (12:08 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 9 Jun 2015 17:43:39 +0000 (13:43 -0400)
commitb064adaacdbf09341b45ada16f8b8bd128f77465
tree262f5231705dd98cdf48480deec492b27656cbfa
parent4d3352143052bab29ecc38eb8ecac9c23791f107
ARM: 8307/1: psci: move psci firmware calls out of line

[ Upstream commit c097877319ab61dd045b6497953b4e3df8f2bb44 ]

arm64 builds with GCC 5 have caused the __asmeq assertions in the PSCI
calling code to fire, so move the ARM PSCI calls out of line into their
own assembly file for consistency and to safeguard against the same
issue occuring with the 32-bit toolchain.

[will: brought into line with arm64 implementation]

Reported-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm/kernel/Makefile
arch/arm/kernel/psci-call.S [new file with mode: 0644]
arch/arm/kernel/psci.c