From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11EE11B4244 for ; Thu, 16 Oct 2025 14:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760626494; cv=none; b=irUHfPEGJRLMLZzxxkZ90xt9t74Lfn4uXNKnI+6d5lFpSanW57SXLW8PWuHTVgebKazNGTP/1vmTrHNRcisn6etOZxXeAXXmM6hE1wnby4Rsy66pNhMWDOrTtZPjlqrXNdo1Q9XGijM2vM8OK8PPdZVFQ2AnV+7fgmrbVr9V86Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760626494; c=relaxed/simple; bh=k6RWhJZ+4jTq6Knupn4lp76iECn20wDlXqE1y+9I4+E=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=NGIL1ahgdf5NtorA2dbzRz7pvkuKW/NjXmjsNid4aOiLt/htB8pobqj42SvYH36XSbHB553LaO1jy0GBtvzPs+3gULEbLNI0bJ+ceANsFFVxLr0Lu+FQ2VIdLVc1WMM8g4sHh2PQojuy9sJ429Gb9y3Rvshbn2MKZAYA6lbm8Vg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=rEWj5eds; arc=none smtp.client-ip=209.85.221.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jackmanb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="rEWj5eds" Received: by mail-wr1-f74.google.com with SMTP id ffacd0b85a97d-426ec5e9278so1676009f8f.0 for ; Thu, 16 Oct 2025 07:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1760626491; x=1761231291; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=j1x4kkcjWPTIpdS3PJl04Vmqlf3X+DwnupzRCpMcKwc=; b=rEWj5edsSC99X2pkP7Ked95M6IGennQMOQHrkk+gBttUFsx3FfNSeetsmJHXju00mv J2uSZImqwoMGxxytaOqn7d/NPhAsjVLDz3mMoqAX98RVn6LZ/HWzDIL4MD+d/GdjCjrs njWOLmui7HAoRifOI26nt1KF8eRxB2BNgu9reLo/9ZT6X7ZrzPlTeO/3lOs4lp1bNbeT 33KY6cJdlE2pYpp9lOQzIn+sxswCwOkBynJbzqTWSDlZFnc86J6dDW1w+qOxwdMLPIYr Noq0HYa0p7nZx6cPegPGGqTsBqO9rSW7uX7ybujTnILpxJcZmDByBesAvs7Pw3bmgnwj v2ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760626491; x=1761231291; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j1x4kkcjWPTIpdS3PJl04Vmqlf3X+DwnupzRCpMcKwc=; b=boc9zfejT585ZVZPZ5UAv3mWq8ptJhDXCWOqnHmtVhBOxv2f84uizu9ja7sbc0irdj Dc3nhu0TpLw6dsIjeXrhKBx0ynsFpmaJbTw1P7Qf5P6OrFa1b6gKwNj8MI1RHif8GzD/ 26Gnc1knSIaXlH6cfTKo0lL9NhLXy9Nndp/EJmxdHJGEk+7B0xayZ6uU/dR3Kqa4LaEk gfp78V0pMjDInt/iGj8hBimTyB1gSmiMcPgww0SACyfMoVCZLVkar4KvJ5cMla8OUt57 9ssmKxNntL6PmBaOQodM8Pkj5ZCMoCdK5sY41A3eQpU1a9eKKCMWv+sa7/uId6b9R0Pj J1ig== X-Forwarded-Encrypted: i=1; AJvYcCWll6O00/eBfrwP19WB3Ktv4H9EJcrQECx2TXlZvbR9Gi+JOc5+y82EUbXyYI+YAX0+gO4dB9Hr/czno34=@vger.kernel.org X-Gm-Message-State: AOJu0Yz5PzCQgylusB1ibI80ElP12hTM5chQDTK72Tmxo1euPx8Jb6GB NB0TS9v0yZRUGLCFMk77/+U0sBjQop5jL6K+kZeQEObXFE1fxJJgR+NWShY8lNnUswXKzUzkZ2P h1zh1fCYn03+uew== X-Google-Smtp-Source: AGHT+IFUAM1+v17VGshRyYrldIe2tyV2DPBK/Lw8YyAgQy2xa1KH/p2eEWwiYMB9Z9jELiZ5yaCbqQRVhBFrsg== X-Received: from wrpa2.prod.google.com ([2002:adf:eec2:0:b0:3fd:a97d:9105]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a5d:5f82:0:b0:3e6:116a:8fdf with SMTP id ffacd0b85a97d-42704d7eb5amr371388f8f.13.1760626491456; Thu, 16 Oct 2025 07:54:51 -0700 (PDT) Date: Thu, 16 Oct 2025 14:54:50 +0000 In-Reply-To: <20251015-l1d-flush-doc-v1-0-f8cefea3f2f2@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251015-l1d-flush-doc-v1-0-f8cefea3f2f2@google.com> X-Mailer: aerc 0.21.0 Message-ID: Subject: Re: [PATCH 0/2] Documentation: fixups for L1D flushing From: Brendan Jackman To: Brendan Jackman , Jonathan Corbet , Thomas Gleixner , Borislav Petkov , Peter Zijlstra , Josh Poimboeuf , Pawan Gupta , Balbir Singh Cc: , , Kees Cook Content-Type: text/plain; charset="UTF-8" On Wed Oct 15, 2025 at 5:02 PM UTC, Brendan Jackman wrote: > Signed-off-by: Brendan Jackman > --- > Brendan Jackman (2): > Documentation: clarify PR_SPEC_L1D_FLUSH > Documentation: fix reference to PR_SPEC_L1D_FLUSH > > Documentation/admin-guide/hw-vuln/l1d_flush.rst | 2 +- > Documentation/userspace-api/spec_ctrl.rst | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > --- > base-commit: 0292ef418ce08aad597fc0bba65b6dbb841808ba > change-id: 20251015-l1d-flush-doc-029f64d2b0d3 > > Best regards, I just noticed another issue - the docs say you get -ENXIO if control isn't possible, but for L1D_FLUSH and INDIR_BRANCH you get -EPERM. TBH I think this is a bug but it seems like it's still better to just document it than change the behaviour.