From: kernel test robot <lkp@intel.com>
To: Florian Rommel <mail@florommel.de>,
Thomas Gleixner <tglx@linutronix.de>,
Daniel Thompson <daniel.thompson@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev, Ingo Molnar <mingo@redhat.com>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H . Peter Anvin" <hpa@zytor.com>,
Jason Wessel <jason.wessel@windriver.com>,
Douglas Anderson <dianders@chromium.org>,
Lorena Kretzschmar <qy15sije@cip.cs.fau.de>,
Stefan Saecherl <stefan.saecherl@fau.de>,
Peter Zijlstra <peterz@infradead.org>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
Randy Dunlap <rdunlap@infradead.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Geert Uytterhoeven <geert+renesas@glider.be>,
kgdb-bugreport@lists.sourceforge.net, x86@kernel.org,
linux-kernel@vger.kernel.org, Kees Cook <kees@kernel.org>,
Florian Rommel <mail@florommel.de>
Subject: Re: [PATCH WIP] x86/kgdb: trampolines for shadowed instructions
Date: Fri, 16 Aug 2024 03:51:27 +0800 [thread overview]
Message-ID: <202408160303.FvgjFUth-lkp@intel.com> (raw)
In-Reply-To: <20240814085141.171564-1-mail@florommel.de>
Hi Florian,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/master]
[also build test ERROR on tip/x86/core linus/master v6.11-rc3 next-20240815]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Florian-Rommel/x86-kgdb-trampolines-for-shadowed-instructions/20240814-230936
base: tip/master
patch link: https://lore.kernel.org/r/20240814085141.171564-1-mail%40florommel.de
patch subject: [PATCH WIP] x86/kgdb: trampolines for shadowed instructions
config: x86_64-buildonly-randconfig-004-20240815 (https://download.01.org/0day-ci/archive/20240816/202408160303.FvgjFUth-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240816/202408160303.FvgjFUth-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408160303.FvgjFUth-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `kgdb_arch_init':
>> arch/x86/kernel/kgdb.c:416: undefined reference to `execmem_alloc'
vim +416 arch/x86/kernel/kgdb.c
410
411 static int kgdb_init_trampolines(void)
412 {
413 /* FIXME: We should reserve enough space for all breakpoints
414 or make the trampoline table dynamic somehow.. */
415 /* FIXME: Currently borrowing EXECMEM_KPROBES */
> 416 kgdb_trampoline_page = execmem_alloc(EXECMEM_KPROBES, PAGE_SIZE);
417 if (!kgdb_trampoline_page)
418 return 1;
419 memset(kgdb_trampoline_page, INT3_INSN_OPCODE, PAGE_SIZE);
420 set_memory_rox((unsigned long)kgdb_trampoline_page, 1);
421 kgdb_trampoline_page_curr_slot = kgdb_trampoline_page;
422 return 0;
423 }
424
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-15 19:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 17:43 [PATCH v2 0/2] kgdb: x86: fix breakpoint removal problems Florian Rommel
2024-08-12 17:43 ` [PATCH v2 1/2] x86/kgdb: convert early breakpoints to poke breakpoints Florian Rommel
2024-08-12 18:54 ` Thomas Gleixner
2024-08-12 17:43 ` [PATCH v2 2/2] x86/kgdb: fix hang on failed breakpoint removal Florian Rommel
2024-08-12 21:04 ` Thomas Gleixner
2024-08-13 11:31 ` Daniel Thompson
2024-08-13 15:06 ` Florian Rommel
2024-08-13 16:21 ` Thomas Gleixner
2024-08-14 8:51 ` [PATCH WIP] x86/kgdb: trampolines for shadowed instructions Florian Rommel
2024-08-14 10:29 ` Daniel Thompson
2024-08-14 13:52 ` Thomas Gleixner
2024-08-15 19:51 ` kernel test robot [this message]
2024-08-16 11:12 ` kernel test robot
2024-08-13 15:05 ` [PATCH v2 2/2] x86/kgdb: fix hang on failed breakpoint removal Florian Rommel
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=202408160303.FvgjFUth-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=christophe.jaillet@wanadoo.fr \
--cc=christophe.leroy@csgroup.eu \
--cc=daniel.thompson@linaro.org \
--cc=dave.hansen@linux.intel.com \
--cc=dianders@chromium.org \
--cc=geert+renesas@glider.be \
--cc=hpa@zytor.com \
--cc=jason.wessel@windriver.com \
--cc=kees@kernel.org \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mail@florommel.de \
--cc=mhiramat@kernel.org \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=qy15sije@cip.cs.fau.de \
--cc=rdunlap@infradead.org \
--cc=stefan.saecherl@fau.de \
--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: 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.