From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: [peterz-queue:x86/core 6/6] vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives
Date: Fri, 10 Feb 2023 22:46:15 +0800 [thread overview]
Message-ID: <202302102228.sghZkWJW-lkp@intel.com> (raw)
TO: Peter Zijlstra <peterz@infradead.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/core
head: cc1feb4e38be192cd99f7598777ff691f8a8a20e
commit: cc1feb4e38be192cd99f7598777ff691f8a8a20e [6/6] x86: Tweak FILL_RETURN_BUFFER some more
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20230210/202302102228.sghZkWJW-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=cc1feb4e38be192cd99f7598777ff691f8a8a20e
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/core
git checkout cc1feb4e38be192cd99f7598777ff691f8a8a20e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302102228.sghZkWJW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives
vmlinux.o: warning: objtool: sync_regs+0x23: call to memcpy() leaves .noinstr.text section
vmlinux.o: warning: objtool: fixup_bad_iret+0x25: call to memset() leaves .noinstr.text section
vmlinux.o: warning: objtool: __ct_user_enter+0x76: call to __kasan_check_write() leaves .noinstr.text section
vmlinux.o: warning: objtool: __ct_user_exit+0x4b: call to __kasan_check_write() leaves .noinstr.text section
objdump-func vmlinux.o __switch_to_asm:
0000 0000000000002910 <__switch_to_asm>:
0000 2910: f3 0f 1e fa endbr64
0004 2914: 55 push %rbp
0005 2915: 53 push %rbx
0006 2916: 41 54 push %r12
0008 2918: 41 55 push %r13
000a 291a: 41 56 push %r14
000c 291c: 41 57 push %r15
000e 291e: 48 89 a7 d8 23 00 00 mov %rsp,0x23d8(%rdi)
0015 2925: 48 8b a6 d8 23 00 00 mov 0x23d8(%rsi),%rsp
001c 292c: 90 nop
001d 292d: 90 nop
001e 292e: 90 nop
001f 292f: 90 nop
0020 2930: 90 nop
0021 2931: 90 nop
0022 2932: 90 nop
0023 2933: 90 nop
0024 2934: 90 nop
0025 2935: 90 nop
0026 2936: 90 nop
0027 2937: 90 nop
0028 2938: 90 nop
0029 2939: 90 nop
002a 293a: 90 nop
002b 293b: 90 nop
002c 293c: 90 nop
002d 293d: 90 nop
002e 293e: 90 nop
002f 293f: 90 nop
0030 2940: 90 nop
0031 2941: 90 nop
0032 2942: 90 nop
0033 2943: 90 nop
0034 2944: 90 nop
0035 2945: 90 nop
0036 2946: 90 nop
0037 2947: 90 nop
0038 2948: 90 nop
0039 2949: 90 nop
003a 294a: 90 nop
003b 294b: 41 5f pop %r15
003d 294d: 41 5e pop %r14
003f 294f: 41 5d pop %r13
0041 2951: 41 5c pop %r12
0043 2953: 5b pop %rbx
0044 2954: 5d pop %rbp
0045 2955: e9 00 00 00 00 jmp 295a <__switch_to_asm+0x4a> 2956: R_X86_64_PLT32 __switch_to-0x4
004a 295a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next reply other threads:[~2023-02-10 14:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 14:46 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-10 15:28 [peterz-queue:x86/core 6/6] vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202302102228.sghZkWJW-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.