All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:x86/core 6/6] vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives
@ 2023-02-10 15:28 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-02-10 15:28 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: oe-kbuild-all

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-a013 (https://download.01.org/0day-ci/archive/20230210/202302102356.cpei3tyE-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # 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
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make 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/202302102356.cpei3tyE-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives


objdump-func vmlinux.o __switch_to_asm:
0000 0000000000003cc0 <__switch_to_asm>:
0000     3cc0:	f3 0f 1e fa          	endbr64
0004     3cc4:	55                   	push   %rbp
0005     3cc5:	53                   	push   %rbx
0006     3cc6:	41 54                	push   %r12
0008     3cc8:	41 55                	push   %r13
000a     3cca:	41 56                	push   %r14
000c     3ccc:	41 57                	push   %r15
000e     3cce:	48 89 a7 58 25 00 00 	mov    %rsp,0x2558(%rdi)
0015     3cd5:	48 8b a6 58 25 00 00 	mov    0x2558(%rsi),%rsp
001c     3cdc:	90                   	nop
001d     3cdd:	90                   	nop
001e     3cde:	90                   	nop
001f     3cdf:	90                   	nop
0020     3ce0:	90                   	nop
0021     3ce1:	90                   	nop
0022     3ce2:	90                   	nop
0023     3ce3:	90                   	nop
0024     3ce4:	90                   	nop
0025     3ce5:	90                   	nop
0026     3ce6:	90                   	nop
0027     3ce7:	90                   	nop
0028     3ce8:	90                   	nop
0029     3ce9:	90                   	nop
002a     3cea:	90                   	nop
002b     3ceb:	90                   	nop
002c     3cec:	90                   	nop
002d     3ced:	90                   	nop
002e     3cee:	90                   	nop
002f     3cef:	90                   	nop
0030     3cf0:	90                   	nop
0031     3cf1:	90                   	nop
0032     3cf2:	90                   	nop
0033     3cf3:	90                   	nop
0034     3cf4:	90                   	nop
0035     3cf5:	90                   	nop
0036     3cf6:	90                   	nop
0037     3cf7:	90                   	nop
0038     3cf8:	90                   	nop
0039     3cf9:	90                   	nop
003a     3cfa:	90                   	nop
003b     3cfb:	41 5f                	pop    %r15
003d     3cfd:	41 5e                	pop    %r14
003f     3cff:	41 5d                	pop    %r13
0041     3d01:	41 5c                	pop    %r12
0043     3d03:	5b                   	pop    %rbx
0044     3d04:	5d                   	pop    %rbp
0045     3d05:	e9 00 00 00 00       	jmp    3d0a <__switch_to_asm+0x4a>	3d06: R_X86_64_PLT32	__switch_to-0x4
004a     3d0a:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
0055     3d15:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
0060     3d20:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
006b     3d2b:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
0076     3d36:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [peterz-queue:x86/core 6/6] vmlinux.o: warning: objtool: __switch_to_asm+0x22: stack layout conflict in alternatives
@ 2023-02-10 14:46 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-02-10 14:46 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-10 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2023-02-10 14:46 kernel test robot

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.