[PATCH v2 2/2] um/asm: Replace "REP; NOP" with PAUSE mnemonic

2025-04-18 Thread Uros Bizjak
Current minimum required version of binutils is 2.25, which supports PAUSE instruction mnemonic. Replace "REP; NOP" with this proper mnemonic. No functional change intended. Signed-off-by: Uros Bizjak Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Thomas Gleixner

[PATCH v2 1/2] um/asm: Rename rep_nop() to native_pause()

2025-04-18 Thread Uros Bizjak
Rename rep_nop() function to what it really does. No functional change intended. Signed-off-by: Uros Bizjak Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Cc: David Laig

Re: [PATCH] um/asm: Replace "REP; NOP" with PAUSE mnemonic

2025-04-15 Thread Uros Bizjak
On Wed, Apr 16, 2025 at 7:53 AM Uros Bizjak wrote: > > On Tue, Apr 15, 2025 at 7:56 PM David Laight > wrote: > > > > On Mon, 14 Apr 2025 16:55:57 +0200 > > Uros Bizjak wrote: > > > > > Current minimum required version of binutils is 2.25, >

Re: [PATCH] um/asm: Replace "REP; NOP" with PAUSE mnemonic

2025-04-15 Thread Uros Bizjak
On Tue, Apr 15, 2025 at 7:56 PM David Laight wrote: > > On Mon, 14 Apr 2025 16:55:57 +0200 > Uros Bizjak wrote: > > > Current minimum required version of binutils is 2.25, > > which supports PAUSE instruction mnemonic. > > > > Replace "REP; NOP" wi

[PATCH] um/asm: Replace "REP; NOP" with PAUSE mnemonic

2025-04-14 Thread Uros Bizjak
Current minimum required version of binutils is 2.25, which supports PAUSE instruction mnemonic. Replace "REP; NOP" with this proper mnemonic. No functional change intended. Signed-off-by: Uros Bizjak Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Thomas Gleixner

[PATCH] um/locking: Remove semicolon from "lock" prefix

2025-02-28 Thread Uros Bizjak
dl %eax, %ebx" results in: Error: expecting lockable instruction after `lock' Signed-off-by: Uros Bizjak Cc: Richard Weinberger Cc: Anton Ivanov Cc: Johannes Berg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" --- arch/x86/u