From: Philip Li <philip.li@intel.com>
To: David Hildenbrand <david@redhat.com>
Cc: kernel test robot <lkp@intel.com>,
<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: Wed, 24 Jul 2024 10:03:19 +0800 [thread overview]
Message-ID: <ZqBg58DTP38wK199@rli9-mobl> (raw)
In-Reply-To: <c8db754f-57b0-4430-b22a-87f8f3758ce9@redhat.com>
On Tue, Jul 23, 2024 at 10:28:15AM +0200, David Hildenbrand wrote:
> 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 :/
Sorry, kindly ignore this report which could be related to tool chain upgrade to
loongarch64-linux-gcc (GCC) 14.1.0.
We will further check whether the issue can be reproduced on gcc-13.
>
> 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
>
>
prev parent reply other threads:[~2024-07-24 2:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-22 22:56 kernel test robot
2024-07-23 8:28 ` David Hildenbrand
2024-07-24 2:03 ` Philip Li [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=ZqBg58DTP38wK199@rli9-mobl \
--to=philip.li@intel.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox