Re: [peterz-queue:sched/idle 45/48] vmlinux.o: warning: objtool: enter_s2idle_proper+0x78: call to ct_cpuidle_exit() leaves .noinstr.text section

From: Peter Zijlstra
Date: Thu Sep 22 2022 - 10:13:49 EST


On Thu, Sep 22, 2022 at 04:34:47AM +0800, kernel test robot wrote:

> >> vmlinux.o: warning: objtool: enter_s2idle_proper+0x78: call to ct_cpuidle_exit() leaves .noinstr.text section
> >> vmlinux.o: warning: objtool: cpuidle_enter_state+0x111: call to ct_cpuidle_exit() leaves .noinstr.text section

include/linux/cpuidle.h:static __always_inline void ct_cpuidle_exit(void)

Dear LLVM folks, ... WTF ?!?