Re: [PATCH 05/12] x86/mm: add INVLPGB support code
From: Rik van Riel
Date: Tue Jan 14 2025 - 14:51:02 EST
On Thu, 2025-01-02 at 13:42 +0100, Borislav Petkov wrote:
> On Mon, Dec 30, 2024 at 12:53:06PM -0500, Rik van Riel wrote:
>
>
> > +{
> > + u64 rax = addr | flags;
> > + u32 ecx = (pmd_stride << 31) | extra_count;
> > + u32 edx = (pcid << 16) | asid;
> > +
> > + asm volatile("invlpgb" : : "a" (rax), "c" (ecx), "d"
> > (edx));
>
> No, you do:
>
> /* INVLPGB; supported in binutils >= 2.36. */
> asm volatile(".byte 0x0f, 0x01, 0xfe"
> ...
Sorry, this one fell through the cracks.
I've replaced both of the asm mnemonics with
byte code for the next version of the series.
--
All Rights Reversed.