From: kbuild test robot <lkp@intel.com> To: Alexandre Chartre <alexandre.chartre@oracle.com>, x86@kernel.org Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, jthierry@redhat.com, tglx@linutronix.de, alexandre.chartre@oracle.com Subject: Re: [PATCH V3 6/9] objtool: Report inconsistent stack changes in alternative Date: Wed, 15 Apr 2020 07:09:04 +0800 [thread overview] Message-ID: <202004150739.gktRKTKO%lkp@intel.com> (raw) In-Reply-To: <20200414103618.12657-7-alexandre.chartre@oracle.com> [-- Attachment #1: Type: text/plain, Size: 2817 bytes --] Hi Alexandre, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/auto-latest] [also build test WARNING on linus/master v5.7-rc1 next-20200414] [cannot apply to tip/x86/core linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alexandre-Chartre/objtool-changes-to-check-retpoline-code/20200415-015312 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 354a2fb98a37f696a1cffdc58dbff48a02e7c611 config: x86_64-randconfig-g003-20200414 (attached as .config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@intel.com> All warnings (new ones prefixed by >>): >> kernel/trace/trace_branch.o: warning: objtool: ftrace_likely_update()+0x4: error in alternative >> kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x0: in alternative 1 >> kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x1: invalid alternative state kernel/trace/trace_branch.o: warning: objtool: ftrace_likely_update()+0x21: error in alternative kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x5: in alternative 1 kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x6: invalid alternative state -- >> lib/ubsan.o: warning: objtool: ubsan_type_mismatch_common()+0xc: error in alternative >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x0: in alternative 1 >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x1: invalid alternative state lib/ubsan.o: warning: objtool: ubsan_type_mismatch_common()+0x10a: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0x6: in alternative 1 >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x8: misaligned alternative state change >> lib/ubsan.o: warning: objtool: __ubsan_handle_shift_out_of_bounds()+0x2b: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0x9: in alternative 1 lib/ubsan.o: warning: objtool: .altinstr_replacement+0xa: invalid alternative state lib/ubsan.o: warning: objtool: __ubsan_handle_shift_out_of_bounds()+0x103: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0xf: in alternative 1 lib/ubsan.o: warning: objtool: .altinstr_replacement+0x11: misaligned alternative state change --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 32811 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH V3 6/9] objtool: Report inconsistent stack changes in alternative Date: Wed, 15 Apr 2020 07:09:04 +0800 [thread overview] Message-ID: <202004150739.gktRKTKO%lkp@intel.com> (raw) In-Reply-To: <20200414103618.12657-7-alexandre.chartre@oracle.com> [-- Attachment #1: Type: text/plain, Size: 2866 bytes --] Hi Alexandre, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/auto-latest] [also build test WARNING on linus/master v5.7-rc1 next-20200414] [cannot apply to tip/x86/core linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alexandre-Chartre/objtool-changes-to-check-retpoline-code/20200415-015312 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 354a2fb98a37f696a1cffdc58dbff48a02e7c611 config: x86_64-randconfig-g003-20200414 (attached as .config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@intel.com> All warnings (new ones prefixed by >>): >> kernel/trace/trace_branch.o: warning: objtool: ftrace_likely_update()+0x4: error in alternative >> kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x0: in alternative 1 >> kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x1: invalid alternative state kernel/trace/trace_branch.o: warning: objtool: ftrace_likely_update()+0x21: error in alternative kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x5: in alternative 1 kernel/trace/trace_branch.o: warning: objtool: .altinstr_replacement+0x6: invalid alternative state -- >> lib/ubsan.o: warning: objtool: ubsan_type_mismatch_common()+0xc: error in alternative >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x0: in alternative 1 >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x1: invalid alternative state lib/ubsan.o: warning: objtool: ubsan_type_mismatch_common()+0x10a: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0x6: in alternative 1 >> lib/ubsan.o: warning: objtool: .altinstr_replacement+0x8: misaligned alternative state change >> lib/ubsan.o: warning: objtool: __ubsan_handle_shift_out_of_bounds()+0x2b: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0x9: in alternative 1 lib/ubsan.o: warning: objtool: .altinstr_replacement+0xa: invalid alternative state lib/ubsan.o: warning: objtool: __ubsan_handle_shift_out_of_bounds()+0x103: error in alternative lib/ubsan.o: warning: objtool: .altinstr_replacement+0xf: in alternative 1 lib/ubsan.o: warning: objtool: .altinstr_replacement+0x11: misaligned alternative state change --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 32811 bytes --]
next prev parent reply other threads:[~2020-04-14 23:13 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-14 10:36 [PATCH V3 0/9] objtool changes to check retpoline code Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 1/9] objtool: is_fentry_call() crashes if call has no destination Alexandre Chartre 2020-05-01 18:22 ` [tip: objtool/core] " tip-bot2 for Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 2/9] objtool: Allow branches within the same alternative Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 3/9] objtool: Add support for intra-function calls Alexandre Chartre 2020-04-14 12:07 ` Julien Thierry 2020-04-16 12:12 ` Miroslav Benes 2020-05-01 18:22 ` [tip: objtool/core] " tip-bot2 for Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 4/9] objtool: Handle return instruction with intra-function call Alexandre Chartre 2020-04-14 13:44 ` Julien Thierry 2020-04-14 10:36 ` [PATCH V3 5/9] objtool: Add return address unwind hints Alexandre Chartre 2020-04-14 16:16 ` Peter Zijlstra 2020-04-14 16:40 ` Alexandre Chartre 2020-04-14 17:56 ` Peter Zijlstra 2020-04-14 18:31 ` Alexandre Chartre 2020-04-14 18:42 ` Peter Zijlstra 2020-04-14 19:27 ` Alexandre Chartre 2020-04-14 19:48 ` Peter Zijlstra 2020-04-14 10:36 ` [PATCH V3 6/9] objtool: Report inconsistent stack changes in alternative Alexandre Chartre 2020-04-14 15:35 ` Julien Thierry 2020-04-14 22:41 ` kbuild test robot 2020-04-14 22:41 ` kbuild test robot 2020-04-14 23:09 ` kbuild test robot [this message] 2020-04-14 23:09 ` kbuild test robot 2020-04-16 14:18 ` Peter Zijlstra 2020-04-16 14:43 ` Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 7/9] x86/speculation: Change __FILL_RETURN_BUFFER to work with objtool Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 8/9] x86/speculation: Add return address unwind hints to retpoline and RSB stuffing Alexandre Chartre 2020-04-14 10:36 ` [PATCH V3 9/9] x86/speculation: Annotate intra-function calls Alexandre Chartre
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=202004150739.gktRKTKO%lkp@intel.com \ --to=lkp@intel.com \ --cc=alexandre.chartre@oracle.com \ --cc=jpoimboe@redhat.com \ --cc=jthierry@redhat.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ --cc=peterz@infradead.org \ --cc=tglx@linutronix.de \ --cc=x86@kernel.org \ /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: linkBe 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.