linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 4446/4746] include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'
@ 2019-10-14 20:27 kbuild test robot
  2019-10-14 21:54 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-10-14 20:27 UTC (permalink / raw)
  To: Anshuman Khandual
  Cc: kbuild-all, Christophe Leroy, Andrew Morton,
	Linux Memory Management List

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

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
--
   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/ivt.S:117: Error: `mov' does not fit into bundle
--
   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/mca_asm.S:65: Error: `addl' can't go in slot 3 of MMI template
--
   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/relocate_kernel.S:25: Error: `rsm' can't go in slots 2 or 3 of MII template
--
   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/head.S:205: Error: `flushrs' can't go in slot 3 of MMI template

vim +1193 include/asm-generic/pgtable.h

  1189	
  1190	#ifdef CONFIG_DEBUG_VM_PGTABLE
  1191	extern void debug_vm_pgtable(void);
  1192	#else
> 1193	static inline void debug_vm_pgtable(void) { }
  1194	#endif
  1195	

---
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: 54964 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 4446/4746] include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2019-10-14 21:54 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Anshuman Khandual, kbuild-all, Christophe Leroy,
	Linux Memory Management List

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 */
_



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-14 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).