arm-trusted-firmware/include
Andre Przywara ea735bf556 refactor(cpufeat): enable FEAT_VHE for FEAT_STATE_CHECKED
At the moment we only support FEAT_VHE to be either unconditionally
compiled in, or to be not supported at all.

Add support for runtime detection (ENABLE_FEAT_VHE=2), by splitting
is_armv8_1_vhe_present() into an ID register reading function and a
second function to report the support status. That function considers
both build time settings and runtime information (if needed), and is
used before we access VHE related registers.
Also move the context saving code from assembly to C, and use the new
is_feat_vhe_supported() function to guard its execution.

Enable VHE in its runtime detection version for all FVP builds.

Change-Id: Ib397cd0c83e8c709bd6fed603560e39901fa672b
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2023-03-20 13:37:37 +00:00
..
arch refactor(cpufeat): enable FEAT_VHE for FEAT_STATE_CHECKED 2023-03-20 13:37:37 +00:00
bl1 style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 feat(fvp): emulate trapped RNDR 2022-12-21 12:59:36 +00:00
bl32 refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
common style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
drivers Merge "feat(ufs): adds timeout and error handling" into integration 2023-03-17 14:34:41 +01:00
dt-bindings feat(dt-bindings): add TZC400 bindings for STM32MP13 2022-03-22 09:09:23 +01:00
export chore: use tabs for indentation 2022-09-12 15:12:01 -07:00
lib refactor(cpufeat): enable FEAT_VHE for FEAT_STATE_CHECKED 2023-03-20 13:37:37 +00:00
plat Merge changes from topic "mb/secure-evlog-cpy" into integration 2023-03-16 09:37:18 +01:00
services Merge changes I51c13c52,I3358c51e into integration 2023-02-22 13:19:01 +01:00
tools_share feat(fiptool): add cca, core_swd, plat cert in FIP 2022-06-14 09:47:37 -05:00