PSCI: Fix the return code for invalid entrypoint
As per PSCI1.0 specification, the error code to be returned when an invalid
non secure entrypoint address is specified by the PSCI client for CPU_SUSPEND,
CPU_ON or SYSTEM_SUSPEND must be PSCI_E_INVALID_ADDRESS. The current PSCI
implementation returned PSCI_E_INVAL_PARAMS. This patch rectifies this error
and also implements a common helper function to validate the entrypoint
information to be used across these PSCI API implementations.

Change-Id: I52d697d236c8bf0cd3297da4008c8e8c2399b170
1 parent fd650ff commit 617540d860f24c324fbbf418388fb65c0ec83242
@Soby Mathew Soby Mathew authored on 15 Jul 2015
Achin Gupta committed on 13 Aug 2015
Showing 4 changed files
View
include/bl31/services/psci.h
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_main.c
View
services/std_svc/psci/psci_private.h