mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Masami Hiramatsu <mhiramat@kernel.org>
Cc: kbuild-all@01.org, Ingo Molnar <mingo@kernel.org>,
	Francis Deslauriers <francis.deslauriers@efficios.com>,
	mathieu.desnoyers@efficios.com,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H . Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, Masami Hiramatsu <mhiramat@kernel.org>,
	Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
	Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
	"David S . Miller" <davem@davemloft.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -tip] [BUGFIX] kprobes/x86: Do not jump-optimize kprobes on irq entry code
Date: Tue, 25 Jul 2017 12:29:00 +0800	[thread overview]
Message-ID: <201707251238.Tki8ONRi%fengguang.wu@intel.com> (raw)
In-Reply-To: <150090423041.5120.14097142754651275640.stgit@devbox>

[-- Attachment #1: Type: text/plain, Size: 2742 bytes --]

Hi Masami,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.13-rc2 next-20170724]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Masami-Hiramatsu/kprobes-x86-Do-not-jump-optimize-kprobes-on-irq-entry-code/20170725-121438
config: i386-randconfig-x019-201730 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/unwind_frame.c: In function 'in_entry_code':
>> arch/x86/kernel/unwind_frame.c:95:14: error: '__irqentry_text_start' undeclared (first use in this function)
     if (addr >= __irqentry_text_start && addr < __irqentry_text_end)
                 ^~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/unwind_frame.c:95:14: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kernel/unwind_frame.c:95:46: error: '__irqentry_text_end' undeclared (first use in this function)
     if (addr >= __irqentry_text_start && addr < __irqentry_text_end)
                                                 ^~~~~~~~~~~~~~~~~~~

vim +/__irqentry_text_start +95 arch/x86/kernel/unwind_frame.c

24d86f59 Josh Poimboeuf   2016-10-27   86  
6b4d2348 Masami Hiramatsu 2017-07-24   87  bool in_entry_code(unsigned long ip)
a8b7a923 Josh Poimboeuf   2017-04-12   88  {
a8b7a923 Josh Poimboeuf   2017-04-12   89  	char *addr = (char *)ip;
a8b7a923 Josh Poimboeuf   2017-04-12   90  
a8b7a923 Josh Poimboeuf   2017-04-12   91  	if (addr >= __entry_text_start && addr < __entry_text_end)
a8b7a923 Josh Poimboeuf   2017-04-12   92  		return true;
a8b7a923 Josh Poimboeuf   2017-04-12   93  
6b4d2348 Masami Hiramatsu 2017-07-24   94  #if defined(CONFIG_FUNCTION_GRAPH_TRACER) || defined(CONFIG_KASAN) || defined(CONFIG_KPROBES)
a8b7a923 Josh Poimboeuf   2017-04-12  @95  	if (addr >= __irqentry_text_start && addr < __irqentry_text_end)
a8b7a923 Josh Poimboeuf   2017-04-12   96  		return true;
a8b7a923 Josh Poimboeuf   2017-04-12   97  #endif
a8b7a923 Josh Poimboeuf   2017-04-12   98  
a8b7a923 Josh Poimboeuf   2017-04-12   99  	return false;
a8b7a923 Josh Poimboeuf   2017-04-12  100  }
a8b7a923 Josh Poimboeuf   2017-04-12  101  

:::::: The code at line 95 was first introduced by commit
:::::: a8b7a92318b6d7779f6d8e9aa6ba0e3de01a8943 x86/unwind: Silence entry-related warnings

:::::: TO: Josh Poimboeuf <jpoimboe@redhat.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30141 bytes --]

      parent reply	other threads:[~2017-07-25  4:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24 13:50 Masami Hiramatsu
2017-07-24 14:28 ` Mathieu Desnoyers
2017-07-25  0:15   ` Masami Hiramatsu
2017-07-25  1:45     ` Masami Hiramatsu
2017-07-25  4:29 ` kbuild test robot [this message]

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=201707251238.Tki8ONRi%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=ananth@in.ibm.com \
    --cc=anil.s.keshavamurthy@intel.com \
    --cc=davem@davemloft.net \
    --cc=francis.deslauriers@efficios.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=mingo@kernel.org \
    --cc=mingo@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®