All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Vallejo" <alejandro.garciavallejo@amd.com>
To: "Orzel, Michal" <michal.orzel@amd.com>, <xen-devel@lists.xenproject.org>
Cc: "Stefano Stabellini" <sstabellini@kernel.org>,
	"Julien Grall" <julien@xen.org>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>
Subject: Re: [PATCH] arm/nospec: Make nospec helpers always_inline
Date: Wed, 07 Oct 2026 14:40:19 +0200	[thread overview]
Message-ID: <DLYM31YWEEKZ.QU4KXZVM8GCO@amd.com> (raw)
In-Reply-To: <311e02a0-8935-464c-bfa1-ec4e6aa23462@amd.com>

On Wed Oct 7, 2026 at 2:00 PM CEST, Orzel, Michal wrote:
>
>
> On 06-Oct-26 14:29, Alejandro Vallejo wrote:
> > On Tue Oct 6, 2026 at 12:45 PM CEST, Orzel, Michal wrote:
> >>
> >>
> >> On 06-Oct-26 12:31, Alejandro Vallejo wrote:
> >>> While today they don't implement fencing in a way that would block
> >>> speculation, once/if they do they'll absolutely need to be inlined, even
> >>> if -fno-inline or -fno-early-inlining are passed.
> >>>
> >>> Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
> >> Reviewed-by: Michal Orzel <michal.orzel@amd.com>
> >>
> >> but this should be done for Arm, RISCV and PPC at once in which case you can
> >> keep my tag for v2 # for Arm.
> > 
> > Neither RISCV nor PPC implement nospec.h today. Should I considered the
> > R-by just settled for this patch?
> I'm not sure I understand. You wrote that they don't implement the header
> whereas I can see:
> arch/riscv/include/asm/nospec.h
> arch/ppc/include/asm/nospec.h
> hence my remark to fix all at once.

Bah, I was on a completely different baseline than I should've been.
Even v1 doesn't apply cleanly.

Let me prep a proper v2 then.

Cheers,
Alejandro

>
> ~Michal



  reply	other threads:[~2026-10-07 12:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 10:31 [PATCH] arm/nospec: Make nospec helpers always_inline Alejandro Vallejo
2026-10-06 10:45 ` Orzel, Michal
2026-10-06 10:51   ` Andrew Cooper
2026-10-06 12:21     ` Alejandro Vallejo
2026-10-06 12:29   ` Alejandro Vallejo
2026-10-07 12:00     ` Orzel, Michal
2026-10-07 12:40       ` Alejandro Vallejo [this message]
2026-10-06 13:50 ` Roger Pau Monné

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=DLYM31YWEEKZ.QU4KXZVM8GCO@amd.com \
    --to=alejandro.garciavallejo@amd.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=bertrand.marquis@arm.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.