Re: [PATCH] x86/alternatives: Disable KASAN on text_poke_early() in apply_alternatives()

From: Borislav Petkov
Date: Tue Oct 10 2023 - 05:13:09 EST


On Tue, Oct 10, 2023 at 11:40:41AM +0300, Kirill A. Shutemov wrote:
> __VIRTUAL_MASK_SHIFT used in many places. I don't think it is good idea to
> give up on patching completely.

Have you even looked at boot_cpu_has()'s asm?

--
Regards/Gruss,
Boris.

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