lkml.org 
[lkml]   [2018]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch V2 0/2] sysfs/cpu: Implement generic vulnerabilites directory
The meltdown/spectre vulnerabilities affect several architectures and
people are asking for a common way to figure out whether a system is
affected or not.

Create

/sys/devices/system/cpu/vulnerabilites

and the files

/sys/devices/system/cpu/vulnerabilites/meltdown
/sys/devices/system/cpu/vulnerabilites/spectre_v1
/sys/devices/system/cpu/vulnerabilites/spectre_v2

Add the x86 implementation which shows:

meltdown Mitigation: PTI
spectre_v1 Vulnerable
sepctre_v1 Vulnerable

On an AMD CPU the output of meltdown is: Not affected.

If PTI is turned off and the CPU is affected of meltdown the output
becomes: Vulnerable

That series applies on top of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti

V1 -> V2: Add documentation and use sprintf

Thanks,

tglx


\
 
 \ /
  Last update: 2018-01-14 23:16    [W:0.110 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site