diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-16 21:20:05 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-17 23:30:20 +1100 |
commit | fd6e440f20b1a4304553775fc55938848ff617c9 (patch) | |
tree | fbc2ced1ac72f2e89dd5b565c81d5658c749f209 /mm/ksm.c | |
parent | 349524bc0da698ec77f2057cf4a4948eb6349265 (diff) | |
download | op-kernel-dev-fd6e440f20b1a4304553775fc55938848ff617c9.zip op-kernel-dev-fd6e440f20b1a4304553775fc55938848ff617c9.tar.gz |
powerpc/64s: Wire up cpu_show_meltdown()
The recent commit 87590ce6e373 ("sysfs/cpu: Add vulnerability folder")
added a generic folder and set of files for reporting information on
CPU vulnerabilities. One of those was for meltdown:
/sys/devices/system/cpu/vulnerabilities/meltdown
This commit wires up that file for 64-bit Book3S powerpc.
For now we default to "Vulnerable" unless the RFI flush is enabled.
That may not actually be true on all hardware, further patches will
refine the reporting based on the CPU/platform etc. But for now we
default to being pessimists.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions