Skip to content

Commit 75b2a60

Browse files
committed
Merge tag 'x86_bugs_for_v7.0_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 bug documentation update from Borislav Petkov: - Add EPERM to the possible PR_SET_SPECULATION_CTRL pr_ctl() error codes to "legitimize" it * tag 'x86_bugs_for_v7.0_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: Documentation/x86: Fix PR_SET_SPECULATION_CTRL error codes
2 parents d1953aa + 4992ed7 commit 75b2a60

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

Documentation/userspace-api/spec_ctrl.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,15 @@ Value Meaning
8181
ERANGE arg3 is incorrect, i.e. it's neither PR_SPEC_ENABLE nor
8282
PR_SPEC_DISABLE nor PR_SPEC_FORCE_DISABLE.
8383

84-
ENXIO Control of the selected speculation misfeature is not possible.
85-
See PR_GET_SPECULATION_CTRL.
84+
ENXIO For PR_SPEC_STORE_BYPASS: control of the selected speculation misfeature
85+
is not possible via prctl, because of the system's boot configuration.
86+
87+
EPERM Speculation was disabled with PR_SPEC_FORCE_DISABLE and caller tried to
88+
enable it again.
89+
90+
EPERM For PR_SPEC_L1D_FLUSH and PR_SPEC_INDIRECT_BRANCH: control of the
91+
mitigation is not possible because of the system's boot configuration.
8692

87-
EPERM Speculation was disabled with PR_SPEC_FORCE_DISABLE and caller
88-
tried to enable it again.
8993
======= =================================================================
9094

9195
Speculation misfeature controls

0 commit comments

Comments
 (0)