arm64: add sysfs vulnerability show for meltdown
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 15 Apr 2019 21:21:22 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 15:28:12 +0000 (16:28 +0100)
commit1b3ccf4be0e7be8c4bd8522066b6cbc92591e912
tree92e396607393b063b083e163f34bf82776306699
parent3891ebccace188af075ce143d8b072b65e90f695
arm64: add sysfs vulnerability show for meltdown

We implement page table isolation as a mitigation for meltdown.
Report this to userspace via sysfs.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@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>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpufeature.c