]> xenbits.xensource.com Git - xen.git/commit
xen/arm: vpsci: Introduce and use PSCI_INVALID_ADDRESS
authorJulien Grall <julien.grall@arm.com>
Fri, 23 Feb 2018 18:57:28 +0000 (18:57 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 26 Feb 2018 22:59:09 +0000 (14:59 -0800)
commite7f46d6b9be02fc18ac9818c064fa8024828b606
tree9a311b02686fd908dee2a24418c8d97f8f741a45
parentffa65c875e2f4e6376c9d1e60bce3e07c284aec1
xen/arm: vpsci: Introduce and use PSCI_INVALID_ADDRESS

PSCI 1.0 added the error return PSCI_INVALID_ADDRESS. It is used to
indicate the entry point address is known to be invalid.

In Xen case, this error could be returned when a 64-bit vCPU is using a
Thumb entry address.

For PSCI 0.1 implementation, return PSCI_INVALID_PARAMETERS instead.

Suggested-by: mirela.simonovic@aggios.com
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Cc: mirela.simonovic@aggios.com
xen/arch/arm/vpsci.c
xen/include/asm-arm/psci.h