summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorAmit Daniel Kachhap <amit.kachhap@arm.com>2022-11-17 07:10:35 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-11-28 11:57:35 +0000
commitfea53546be574f2e357fa53f4a582788b20f283c (patch)
treef110f255ff0de307f0195c60be74e9fd96c387ba /arch/arm/kernel/traps.c
parent3bda6d88489769fba5672dc66debdc1f5516c5fe (diff)
downloadlinux-fea53546be574f2e357fa53f4a582788b20f283c.tar.gz
linux-fea53546be574f2e357fa53f4a582788b20f283c.tar.bz2
linux-fea53546be574f2e357fa53f4a582788b20f283c.zip
ARM: 9274/1: Add hwcap for Speculative Store Bypassing Safe
Speculative Store Bypassing Safe(FEAT_SSBS) is a feature present in AArch32 state for Armv8 and is represented by ID_PFR2_EL1.SSBS identification register. This feature denotes the presence of PSTATE.ssbs bit and hence adding a hwcap will enable the userspace to check it before trying to set/unset this PSTATE. 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 'arch/arm/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions