Re: [PATCH] x86/asm: Use RDPKRU and WRPKRU mnemonics in <asm/special_insns.h>

From: Uros Bizjak
Date: Mon Jun 16 2025 - 04:48:24 EST


On Mon, Jun 16, 2025 at 10:39 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Mon, Jun 16, 2025 at 10:35:57AM +0200, Uros Bizjak wrote:
> > Current minimum required version of binutils is 2.30,
> > which supports RDPKRU and WRPKRU instruction mnemonics.
> >
> > Replace the byte-wise specification of RDPKRU and
> > WRPKRU with these proper mnemonics.
>
> What about the minimal clang version and their integrated assembler?

Yes, it works with the minimum required clang version 13.0.1.

Uros.