HomeFreeBSD

arm64: Check if PSCI before calling SMCCC

Description

arm64: Check if PSCI before calling SMCCC

As SMCCC depends on PSCI check if the latter is present before calling
the former. This fixes an issue where we may call into SMCCC when there
is no PSCI in the system causing a smccc_version assert to fail.

Reported by: stevek
Reviewed by: emaste, imp, stevek
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42404

(cherry picked from commit 5a8417c78f9d51bf1103353bee348eaac83e86e5)

Details

Provenance
andrewAuthored on Oct 30 2023, 2:33 PM
Reviewer
emaste
Differential Revision
D42404: arm64: Check if PSCI before calling SMCCC
Parents
rGa10099545e29: arm64: Add more HWCAP2 values
Branches
Unknown
Tags
Unknown