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

Details

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