All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: mm/gup.o: warning: objtool: faultin_page_range+0x100: unreachable instruction
Date: Tue, 23 Jul 2024 10:28:15 +0200	[thread overview]
Message-ID: <c8db754f-57b0-4430-b22a-87f8f3758ce9@redhat.com> (raw)
In-Reply-To: <202407230630.3vGhnlFB-lkp@intel.com>

On 23.07.24 00:56, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   933069701c1b507825b514317d4edd5d3fd9d417
> commit: 631426ba1d45a8672b177ee85ad4cabe760dd131 mm/madvise: make MADV_POPULATE_(READ|WRITE) handle VM_FAULT_RETRY properly
> date:   3 months ago
> config: loongarch-randconfig-001-20240722 (https://download.01.org/0day-ci/archive/20240723/202407230630.3vGhnlFB-lkp@intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 14.1.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240723/202407230630.3vGhnlFB-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/202407230630.3vGhnlFB-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
>     mm/gup.o: warning: objtool: get_user_pages_remote+0x160: unreachable instruction
>     mm/gup.o: warning: objtool: get_user_pages+0x12c: unreachable instruction
>     mm/gup.o: warning: objtool: get_user_pages_unlocked+0x138: unreachable instruction
>     mm/gup.o: warning: objtool: __gup_longterm_locked+0x3d8: unreachable instruction
>>> mm/gup.o: warning: objtool: faultin_page_range+0x100: unreachable instruction
> 
> 
> objdump-func vmlinux.o faultin_page_range:
> 

I'm afraid I don't know how serious I should take this report :/

The commit is 3 month old and was found on some toolchain with some 
randconfig on some architecture, in code that is not particularly 
architecture specific.

I wish I could even understand from the report what is happening here 
("unreachable instruction" -- isn't that the compilers fault if it 
generates that such that objtool would complain? Why is that a C code 
issue?)

Please, someone shout if I should take a closer look at this.

-- 
Cheers,

David / dhildenb


  reply	other threads:[~2024-07-23  8:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-22 22:56 mm/gup.o: warning: objtool: faultin_page_range+0x100: unreachable instruction kernel test robot
2024-07-23  8:28 ` David Hildenbrand [this message]
2024-07-24  2:03   ` Philip Li

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=c8db754f-57b0-4430-b22a-87f8f3758ce9@redhat.com \
    --to=david@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --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.