Re: [PATCH v1 2/3] x86/msr: Switch between WRMSRNS and WRMSR with the alternatives mechanism

From: Borislav Petkov
Date: Sun Aug 18 2024 - 01:58:27 EST


On Sat, Aug 17, 2024 at 12:22:56PM -0700, H. Peter Anvin wrote:
> Only if the call goes to a C function.

Aha, you have a patch in the thread which calls a by-hand asm thing.

I haven't looked in detail but we have a THUNK macro for such stuff.

--
Regards/Gruss,
Boris.

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