[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjBjq6u+r9KGTHQ5nOA1L2TDhz0JPL_+eE07un9y9Qm-w@mail.gmail.com>
Date: Fri, 14 Mar 2025 13:46:00 -1000
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>, Borislav Petkov <bp@...en8.de>, "H. Peter Anvin" <hpa@...or.com>,
Uros Bizjak <ubizjak@...il.com>, Andrew Cooper <andrew.cooper3@...rix.com>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH 04/20] x86/cpu: Use named asm operands in clflushopt()
On Fri, 14 Mar 2025 at 11:42, Josh Poimboeuf <jpoimboe@...nel.org> wrote:
>
> + alternative_io(".byte 0x3e; clflush %[val]",
> + ".byte 0x66; clflush %[val]", X86_FEATURE_CLFLUSHOPT,
> + [val] "+m" (*(volatile char __force *)__p));
Hmm. I think we could just use 'clflushopt', it looks like it exists
in binutils-2.25, which is our minimal version requirement.
But maybe that's a separate cleanup.
Linus
Powered by blists - more mailing lists