linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brendan Jackman <jackmanb@google.com>
To: Brendan Jackman <jackmanb@google.com>,
	Jonathan Corbet <corbet@lwn.net>,
	 Thomas Gleixner <tglx@linutronix.de>,
	Borislav Petkov <bp@alien8.de>,
	 Peter Zijlstra <peterz@infradead.org>,
	Josh Poimboeuf <jpoimboe@kernel.org>,
	 Pawan Gupta <pawan.kumar.gupta@linux.intel.com>,
	Balbir Singh <sblbir@amazon.com>,  <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,  <aesa@google.com>
Subject: Re: [PATCH] Documentation/x86: Fix PR_SET_SPECULATION_CTRL error codes
Date: Thu, 30 Oct 2025 15:49:40 +0000	[thread overview]
Message-ID: <DDVRXPUAWTK6.2658AGIB03073@google.com> (raw)
In-Reply-To: <20251030-b4-prctl-docs-2-v1-1-396645cb8d61@google.com>

On Thu Oct 30, 2025 at 1:59 PM UTC, Brendan Jackman wrote:
> -ENXIO   Control of the selected speculation misfeature is not possible.
> -        See PR_GET_SPECULATION_CTRL.
> +ENXIO   For PR_SPEC_STORE_BYPASS: control of the selected speculation misfeature
> +        is not possible via prctl, because of the system's boot configuration.
> +
> +EPERM   Speculation was disabled with PR_SPEC_FORCE_DISABLE and caller tried to
> +        enable it again.
> +
> +EPERM   For PR_SPEC_STORE_BYPASS and PR_SPEC_INDIRECT_BRANCH: control of the
Ugh,           ^^^^^^^^^^^^^^^^^^^^ that should be PR_SPEC_L1D_FLUSH

I will wait a day or two before v2 in case anyone else spots other
mistakes or has other comments.

      reply	other threads:[~2025-10-30 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30 13:59 [PATCH] Documentation/x86: Fix PR_SET_SPECULATION_CTRL error codes Brendan Jackman
2025-10-30 15:49 ` Brendan Jackman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DDVRXPUAWTK6.2658AGIB03073@google.com \
    --to=jackmanb@google.com \
    --cc=aesa@google.com \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=jpoimboe@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pawan.kumar.gupta@linux.intel.com \
    --cc=peterz@infradead.org \
    --cc=sblbir@amazon.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).