]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(cpufeat): align FEAT_SB to new feature handling
authorAndre Przywara <andre.przywara@arm.com>
Thu, 17 Nov 2022 16:42:09 +0000 (16:42 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 22 Mar 2023 13:33:22 +0000 (13:33 +0000)
commit240770989f618da1b015f9a580fe0c83e10688a2
tree4a0518de3915a93f87acb2a373a1f399a8b7f5c1
parent387b8801f956204b2970a5b65de0f9ad6821a4b7
refactor(cpufeat): align FEAT_SB to new feature handling

FEAT_SB introduces a new speculation barrier instruction, that is more
lightweight than a "dsb; isb" combination. We use that in a hot path,
so cannot afford and don't want a runtime detection mechanism.
Nevertheless align the implementation of the feature detection part
with the other features, but renaming the detection function, and
updating the FEAT_DETECTION code. Also update the documentation.

Change-Id: I2b86dfd1ad259c3bb99ab5186e2911ace454b54c
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Makefile
common/feat_detect.c
docs/getting_started/build-options.rst
include/arch/aarch64/arch_features.h