[peterz-queue:master 3/5] vmlinux.o: warning: objtool: do_machine_check()+0x4db: call to mca_msr_reg() leaves .noinstr.text section

From: kernel test robot
Date: Sun Jan 16 2022 - 19:05:47 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: c268640c1e164a8084deae65b4d6136fff429eba
commit: 7ec51079b641eebeb984246bd42bf4bcece1d087 [3/5] Merge branch 'locking/core'
config: x86_64-randconfig-r014-20211215 (https://download.01.org/0day-ci/archive/20220117/202201170731.quqbKbo5-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=7ec51079b641eebeb984246bd42bf4bcece1d087
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue master
git checkout 7ec51079b641eebeb984246bd42bf4bcece1d087
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

vmlinux.o: warning: objtool: mce_read_aux()+0x63: call to mca_msr_reg() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: do_machine_check()+0x4db: call to mca_msr_reg() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x52: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x59: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x52: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x52: call to on_thread_stack() leaves .noinstr.text section

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx