Re: [PATCH] x86/kexec: Disable KCOV instrumentation after load_segments()

From: Borislav Petkov

Date: Sun Mar 15 2026 - 08:19:33 EST


On Mon, Feb 16, 2026 at 06:37:16PM +0100, Aleksandr Nogikh wrote:
> Disabling instrumentation for the individual functions would be too
> fragile, so let's fix the bug by disabling KCOV instrumentation for
> the whole machine_kexec_64.c and physaddr.c.

Seems like a whack-a-mole thing to me. Why not make KEXEC depend on !KCOV?

--
Regards/Gruss,
Boris.

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