Re: [PATCH -tip] x86/idle: Work around LLVM assembler bug with MONITOR and MWAIT insn

From: Borislav Petkov
Date: Thu Apr 03 2025 - 07:20:12 EST


On Thu, Apr 03, 2025 at 11:27:02AM +0200, Uros Bizjak wrote:
> IMO, in this case the fixup also documents the LLVM bug, so perhaps
> the fixup on top is desirable for documentation purposes.

No.

1. You put a comment over the function so that someone sees it and *actually*
fixes it in the compilers

2. Explain in the commit message of the correct patches *why* it cannot be
done like you were trying initially and leave a lore link into them so that
people can find the old discussion.

Lemme zap those patches so that they can be done properly.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette