Re: [LKP] Re: [x86/mm/64] f154f29085: BUG:kernel_reboot-without-warning_in_boot_stage - clang KCOV?

From: Borislav Petkov
Date: Wed Jan 05 2022 - 10:21:23 EST


On Wed, Jan 05, 2022 at 08:47:28PM +0800, Yin Fengwei wrote:
> it's better that clang restore its behavior to clang-12.

Probably, but I'm not gonna hold my breath - folks are likely very
busy...

> Or people need to use __no_profile annotation if want to add function
> before GCOV/KASAN is initialized.

... yap, and because fixing it this way is easy, I've already queued the
__no_profile solution:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/mm&id=b64dfcde1ca9cb82e38e573753f0c0db8fb841c2

Thanks.

--
Regards/Gruss,
Boris.

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