diff options
author | Thomas Gleixner <[email protected]> | 2018-01-07 22:48:00 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-08 11:10:33 +0100 |
commit | 87590ce6e373d1a5401f6539f0c59ef92dd924a9 (patch) | |
tree | b3d5c8ca8fe62571842c3461956da2183957a61c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 99c6fa2511d8a683e61468be91b83f85452115fa (diff) |
sysfs/cpu: Add vulnerability folder
As the meltdown/spectre problem affects several CPU architectures, it makes
sense to have common way to express whether a system is affected by a
particular vulnerability or not. If affected the way to express the
mitigation should be common as well.
Create /sys/devices/system/cpu/vulnerabilities folder and files for
meltdown, spectre_v1 and spectre_v2.
Allow architectures to override the show function.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: David Woodhouse <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions