From: Andrew Morton <akpm@linux-foundation.org>
To: kbuild test robot <lkp@intel.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>,
kbuild-all@lists.01.org,
Christophe Leroy <christophe.leroy@c-s.fr>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 4446/4746] include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'
Date: Mon, 14 Oct 2019 14:54:26 -0700 [thread overview]
Message-ID: <20191014145426.4de1f8fc04cb6f6f2f94927e@linux-foundation.org> (raw)
In-Reply-To: <201910150401.ybgu71pv%lkp@intel.com>
On Tue, 15 Oct 2019 04:27:01 +0800 kbuild test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 4eeb5abd245d849a4692325339a94566953363d6
> commit: e3bcb4e7474a0e671e89ed5f731973287376b754 [4446/4746] mm/debug: add tests validating architecture page table helpers
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 7.4.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout e3bcb4e7474a0e671e89ed5f731973287376b754
> # save the attached .config to linux build tree
> GCC_VERSION=7.4.0 make.cross ARCH=ia64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> include/asm-generic/pgtable.h: Assembler messages:
> >> include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'
> arch/ia64/kernel/entry.S:70: Error: `mov' does not fit into bundle
oops. Let's try this:
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-debug-add-tests-validating-architecture-page-table-helpers-fix
move include/asm-generic/pgtable.h changes insode #ifdef ASSEMBLY
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/asm-generic/pgtable.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- a/include/asm-generic/pgtable.h~mm-debug-add-tests-validating-architecture-page-table-helpers-fix
+++ a/include/asm-generic/pgtable.h
@@ -1157,6 +1157,12 @@ static inline bool arch_has_pfn_modify_c
# define PAGE_KERNEL_EXEC PAGE_KERNEL
#endif
+#ifdef CONFIG_DEBUG_VM_PGTABLE
+extern void debug_vm_pgtable(void);
+#else
+static inline void debug_vm_pgtable(void) { }
+#endif
+
#endif /* !__ASSEMBLY__ */
#ifndef io_remap_pfn_range
@@ -1187,10 +1193,4 @@ static inline bool arch_has_pfn_modify_c
#define mm_pmd_folded(mm) __is_defined(__PAGETABLE_PMD_FOLDED)
#endif
-#ifdef CONFIG_DEBUG_VM_PGTABLE
-extern void debug_vm_pgtable(void);
-#else
-static inline void debug_vm_pgtable(void) { }
-#endif
-
#endif /* _ASM_GENERIC_PGTABLE_H */
_
prev parent reply other threads:[~2019-10-14 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 20:27 [linux-next:master 4446/4746] include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)' kbuild test robot
2019-10-14 21:54 ` Andrew Morton [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=20191014145426.4de1f8fc04cb6f6f2f94927e@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=christophe.leroy@c-s.fr \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).