arm-trusted-firmware/bl32
Stephan Gerhold cd0786c73e fix(bl32): always include arm_arch_svc in SP_MIN
The PSCI_FEATURES call implementation in TF-A always indicates support
for SMCCC_VERSION, but only BL31 ensures that the corresponding Arm
Architecture Service (arm_arch_svc) is really included in the build.
For SP_MIN only stm32mp1 currently includes it in the platform-specific
make file.

This means that it is easily possible to build configurations that
violate the PSCI/SMCCC specification. On Linux this leads to incorrect
detection of the SMC Calling Convention when using SP_MIN:

  [    0.000000] psci: SMC Calling Convention v65535.65535

Fix this by always including the Arm Architecture Service in SP_MIN
builds. This allows Linux to detect the convention correctly:

  [    0.000000] psci: SMC Calling Convention v1.4

Change-Id: Iaa3076c162b7a55633ec1e27eb5c44d22f8eb2a1
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
2023-08-04 16:02:59 +02:00
..
optee Remove references to old project name from common files 2019-07-10 11:13:00 +01:00
sp_min fix(bl32): always include arm_arch_svc in SP_MIN 2023-08-04 16:02:59 +02:00
tsp fix(tsp): fix destination ID in direct request 2023-06-21 22:12:03 +01:00