sysfs/cpu: Implement generic vulnerabilites directory
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 9 repliesIn review
- v12 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sysfs/cpu: Add vulnerability folderDocumentation/ drivers/ drivers/ +1 more | +74 | 7 replies | |
| 2/2 | x86/cpu: Implement CPU vulnerabilites sysfs functionsarch/ arch/ | +30 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Konrad Rzeszutek Wilk | Greg Kroah-Hartman |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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