]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: replace IS_PSCI_FN macro with more explicit versions
authorAntonios Motakis <antonios.motakis@huawei.com>
Thu, 12 May 2016 13:00:59 +0000 (15:00 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 26 Jun 2016 07:16:28 +0000 (09:16 +0200)
commitf404b89d34d44bd23dba889d495564c1fbed992d
tree8a140c81257015ea87055178b4ed87582f4d3d41
parent6936d5c860976325b6cd4e2fb30f251db0f133fd
arm: replace IS_PSCI_FN macro with more explicit versions

The previous version of the macro allows for more false positives
than necessary.

Replace the macro with IS_PSCI_32 and IS_PSCI_UBOOT macros, that
explicitly check for the 32 bit PSCI IDs, and the PSCI 0.1 IDs
used by uboot. ARMv8 will need an additinal check for the IDs
of 64 bit PSCI functions.

Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/include/asm/psci.h
hypervisor/arch/arm/traps.c