]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(gcs): support guarded control stack
authorMark Brown <broonie@kernel.org>
Tue, 14 Mar 2023 21:33:04 +0000 (21:33 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 18 Apr 2023 11:36:52 +0000 (12:36 +0100)
commit688ab57b9349adb19277d88f2469ceeadb8ba083
tree062101095883b1045695d91d53c87c1de8fa2bc7
parentffc56bd02d66b524193aeebdf4dea7c9dc14ca8d
feat(gcs): support guarded control stack

Arm v9.4 introduces support for Guarded Control Stack, providing
mitigations against some forms of RPO attacks and an efficient mechanism
for obtaining the current call stack without requiring a full stack
unwind. Enable access to this feature for EL2 and below, context
switching the newly added EL2 registers as appropriate.

Change the FVP platform to default to handling this as a dynamic option
so the right decision can be made by the code at runtime.

Signed-off-by: Mark Brown <broonie@kernel.org>
Change-Id: I691aa7c22e3547bb3abe98d96993baf18c5f0e7b
Makefile
changelog.yaml
common/feat_detect.c
docs/getting_started/build-options.rst
include/arch/aarch64/arch.h
include/arch/aarch64/arch_features.h
include/arch/aarch64/arch_helpers.h
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context_mgmt.c
make_helpers/defaults.mk
plat/arm/board/fvp/platform.mk