]> asedeno.scripts.mit.edu Git - linux.git/commit
arm/arm64: smccc: Add SMCCC-specific return codes
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 May 2018 12:11:05 +0000 (13:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 May 2018 16:30:44 +0000 (17:30 +0100)
commiteff0e9e1078ea7dc1d794dc50e31baef984c46d7
treecd8c296d0403fefd8a28f6d0d74f0d52c136a97a
parentc870f14ea115bb1d9e57cad3ec6b876cf5542f9f
arm/arm64: smccc: Add SMCCC-specific return codes

We've so far used the PSCI return codes for SMCCC because they
were extremely similar. But with the new ARM DEN 0070A specification,
"NOT_REQUIRED" (-2) is clashing with PSCI's "PSCI_RET_INVALID_PARAMS".

Let's bite the bullet and add SMCCC specific return codes. Users
can be repainted as and when required.

Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/linux/arm-smccc.h