]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Support PSCI 1.1 and SMCCC 1.0
authorAkihiko Odaki <akihiko.odaki@gmail.com>
Sun, 13 Feb 2022 03:57:53 +0000 (12:57 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 2 Mar 2022 19:27:36 +0000 (19:27 +0000)
commit0dc71c701cd68c0c0508360944367faebc394196
treeeff7c4e348014118393805e11cee1a7514f60239
parentd8bdf9797248eb48ac3c8bc970f60e19984546bd
target/arm: Support PSCI 1.1 and SMCCC 1.0

Support the latest PSCI on TCG and HVF. A 64-bit function called from
AArch32 now returns NOT_SUPPORTED, which is necessary to adhere to SMC
Calling Convention 1.0. It is still not compliant with SMCCC 1.3 since
they do not implement mandatory functions.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-id: 20220213035753.34577-1-akihiko.odaki@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: update MISMATCH_CHECK checks on PSCI_VERSION macros to match]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c
target/arm/cpu.c
target/arm/hvf/hvf.c
target/arm/kvm-consts.h
target/arm/kvm64.c
target/arm/psci.c