linux/arch/arm64/kernel
Will Deacon d71be2b6c0 arm64: cpufeature: Detect SSBS and advertise to userspace
Armv8.5 introduces a new PSTATE bit known as Speculative Store Bypass
Safe (SSBS) which can be used as a mitigation against Spectre variant 4.

Additionally, a CPU may provide instructions to manipulate PSTATE.SSBS
directly, so that userspace can toggle the SSBS control without trapping
to the kernel.

This patch probes for the existence of SSBS and advertise the new instructions
to userspace if they exist.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2018-09-14 17:46:01 +01:00
..
probes
vdso
.gitignore
acpi_numa.c
acpi_parking_protocol.c
acpi.c
alternative.c
arm64ksyms.c
armv8_deprecated.c
asm-offsets.c
cacheinfo.c
cpu_errata.c
cpu_ops.c
cpu-reset.h
cpu-reset.S
cpufeature.c arm64: cpufeature: Detect SSBS and advertise to userspace 2018-09-14 17:46:01 +01:00
cpuidle.c
cpuinfo.c arm64: cpufeature: Detect SSBS and advertise to userspace 2018-09-14 17:46:01 +01:00
crash_dump.c
debug-monitors.c
efi-entry.S
efi-header.S
efi-rt-wrapper.S
efi.c
entry-fpsimd.S
entry-ftrace.S
entry.S
fpsimd.c
ftrace.c
head.S
hibernate-asm.S
hibernate.c
hw_breakpoint.c
hyp-stub.S
image.h
insn.c
io.c
irq.c
jump_label.c arm64: Avoid calling stop_machine() when patching jump labels 2018-08-17 10:26:44 +01:00
kaslr.c
kgdb.c
kuser32.S
machine_kexec.c
Makefile
module-plts.c
module.c
module.lds
paravirt.c
pci.c
perf_callchain.c
perf_event.c
perf_regs.c
process.c
psci.c
ptrace.c
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S
return_address.c
sdei.c
setup.c
signal32.c
signal.c
sleep.S
smccc-call.S
smp_spin_table.c
smp.c
ssbd.c
stacktrace.c
suspend.c
sys32.c
sys_compat.c
sys.c
syscall.c
time.c
topology.c
trace-events-emulation.h
traps.c
vdso.c
vmlinux.lds.S