Skip to contentSkip to conversation

Documentation: Add section about CPU vulnerabilities for Spectre

PATCH Superseded Tim Chen 2 participants 3 messages Jun 18, 2019 – Jun 19, 2019

Subsystems (3)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Tim Chen

author
#0 lore raw

PATCH v4 1/1 Documentation: Add section about CPU vulnerabilities for Spectre

Add documentation for Spectre vulnerability and the mitigation mechanisms:

- Explain the problem and risks
- Document the mitigation mechanisms
- Document the command line controls
- Document the sysfs files

---
 Documentation/admin-guide/hw-vuln/index.rst   |   1 +
 Documentation/admin-guide/hw-vuln/spectre.rst | 699 ++++++++++++++++++
 Documentation/userspace-api/spec_ctrl.rst     |   2 +
 3 files changed, 702 insertions(+)
 create mode 100644 Documentation/admin-guide/hw-vuln/spectre.rst
Documentation/admin-guide/hw-vuln/index.rst +1 -0
index ffc064c1ec68..49311f3da6f2 100644
@@ -9,5 +9,6 @@ are configurable at compile, boot or run time.
 .. toctree::
    :maxdepth: 1
 
+   spectre
    l1tf
    mds
Documentation/admin-guide/hw-vuln/spectre.rst new file +699 -0

699 lines not on this page · raw message

Documentation/userspace-api/spec_ctrl.rst +2 -0
index 1129c7550a48..7ddd8f667459 100644
@@ -49,6 +49,8 @@ If PR_SPEC_PRCTL is set, then the per-task control of the mitigation is
 available. If not set, prctl(PR_SET_SPECULATION_CTRL) for the speculation
 misfeature will fail.
 
+.. _set_spec_ctrl:
+
 PR_SET_SPECULATION_CTRL
 -----------------------
 
Signature · 1 line
2.20.1
Reviewed-by on v4 1/1
#1 lore raw
Quoted 7 lines · Tim Chen

Add documentation for Spectre vulnerability and the mitigation mechanisms:

- Explain the problem and risks
- Document the mitigation mechanisms
- Document the command line controls
- Document the sysfs files

Quoted 5 lines

Renders nicely now. Good work!

Thanks,

tglx

author
#2 lore raw
In reply to Tim Chen

Documentation/admin-guide/hw-vuln/spectre.rst line 635

Quoted 5 lines · Tim Chen
Documentation/admin-guide/hw-vuln/spectre.rst new file +5 -0
+
+_lab1:
+
+References on Spectre
+---------------------

Thomas,

I accidentally left a stray "_lab1:" label. Should be removed.

Sending you an updated v5 version separately.

Tim