diff options
author | Amit Daniel Kachhap <amit.kachhap@arm.com> | 2022-11-17 07:05:19 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-11-28 11:57:35 +0000 |
commit | 3bda6d88489769fba5672dc66debdc1f5516c5fe (patch) | |
tree | 3ee41cfa8dc802880cc0fb368e9027aa272e751a /kernel/bpf/arraymap.c | |
parent | 956ca3a4eb81c1b8cc3226af3083847544dcb098 (diff) |
ARM: 9273/1: Add hwcap for Speculation Barrier(SB)
Speculation Barrier(FEAT_SB) is a feature present in AArch32 state for
Armv8 and is represented by ISAR6.SB identification register.
This feature denotes the presence of SB instruction and hence adding a
hwcap will enable the userspace to check it before trying to use this
instruction.
This commit adds the ID feature bit detection, and uses elf_hwcap2
accordingly.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions