Skip to contentSkip to conversation

Documentation: Add section about CPU vulnerabilities for Spectre

PATCH Applied Tim Chen 3 participants 3 messages Jun 20, 2019 – Jun 26, 2019

Subsystems (3)
lore
Share & tools
lore

Tim Chen

author
#0 lore raw

PATCH v6 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 | 697 ++++++++++++++++++
 Documentation/userspace-api/spec_ctrl.rst     |   2 +
 3 files changed, 700 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 +697 -0

697 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
reviewer Reviewed-by on v6 1/1
#1 lore raw
Quoted 13 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 7 lines
---
 Documentation/admin-guide/hw-vuln/index.rst   |   1 +
 Documentation/admin-guide/hw-vuln/spectre.rst | 697 ++++++++++++++++++
 Documentation/userspace-api/spec_ctrl.rst     |   2 +
 3 files changed, 700 insertions(+)
 create mode 100644 Documentation/admin-guide/hw-vuln/spectre.rst

Thanks.

Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Tim Chen
Quoted 7 lines · On Thu, 20 Jun 2019 16:10:50 -0700 Tim Chen <[email protected]> wrote:

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 6 lines

Applied, thanks.

jon