arm64: Add sysfs vulnerability show for spectre-v1
authorMian Yousaf Kaukab <ykaukab@suse.de>
Mon, 15 Apr 2019 21:21:21 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 15:27:10 +0000 (16:27 +0100)
commit3891ebccace188af075ce143d8b072b65e90f695
treebe8c9bb37f55ea2459b781727852ad7eb502198d
parente5ce5e7267ddcbe13ab9ead2542524e1b7993e5a
arm64: Add sysfs vulnerability show for spectre-v1

spectre-v1 has been mitigated and the mitigation is always active.
Report this to userspace via sysfs

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpu_errata.c