[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250226142222.GGZ78jnpbBc45Nl9uU@fat_crate.local>
Date: Wed, 26 Feb 2025 15:22:22 +0100
From: Borislav Petkov <bp@...en8.de>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Kevin Loughlin <kevinloughlin@...gle.com>, linux-kernel@...r.kernel.org,
tglx@...utronix.de, mingo@...hat.com, dave.hansen@...ux.intel.com,
x86@...nel.org, hpa@...or.com, pbonzini@...hat.com,
kirill.shutemov@...ux.intel.com, kai.huang@...el.com,
ubizjak@...il.com, jgross@...e.com, kvm@...r.kernel.org,
thomas.lendacky@....com, pgonda@...gle.com, sidtelang@...gle.com,
mizhang@...gle.com, rientjes@...gle.com, manalinandan@...gle.com,
szy0127@...u.edu.cn
Subject: Re: [PATCH v6 1/2] x86, lib: Add WBNOINVD helper functions
On Tue, Feb 25, 2025 at 05:26:53PM -0800, Sean Christopherson wrote:
> /* Instruction encoding provided for binutils backwards compatibility. */
> #define ASM_WBNOINVD ".byte 0xf3,0x0f,0x09"
Yah, or simply INSN_WBNOINVD as that name basically tells you what it is. And
we have already
arch/x86/include/asm/bug.h:13:#define INSN_UD2 0x0b0f
oh and
arch/x86/include/asm/bug.h:12:#define ASM_UD2 ".byte 0x0f, 0x0b"
Pff.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists