tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mst/vhost.git linux-next head: c5db5a8d998da36ada7287aa53b4ed501a0a2b2b commit: b1b0d638e6f93b91cf34585350bb00035d066989 [13/15] mm: Introduce Reported pages config: ia64-defconfig (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 b1b0d638e6f93b91cf34585350bb00035d066989 # 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 <l...@intel.com> All warnings (new ones prefixed by >>): In file included from arch/ia64/include/asm/ptrace.h:46:0, from arch/ia64/include/asm/processor.h:20, from arch/ia64/include/asm/thread_info.h:12, from include/linux/thread_info.h:38, from include/asm-generic/preempt.h:5, from ./arch/ia64/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/rcupdate.h:27, from include/linux/rculist.h:11, from include/linux/sched/signal.h:5, from arch/ia64/kernel/asm-offsets.c:10: >> arch/ia64/include/asm/page.h:51:23: warning: "hpage_shift" is not defined, >> evaluates to 0 [-Wundef] # define HPAGE_SHIFT hpage_shift ^ >> arch/ia64/include/asm/page.h:153:30: note: in expansion of macro >> 'HPAGE_SHIFT' # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) ^~~~~~~~~~~ include/linux/page_reporting.h:9:37: note: in expansion of macro 'HUGETLB_PAGE_ORDER' #if defined(CONFIG_HUGETLB_PAGE) && HUGETLB_PAGE_ORDER < MAX_ORDER ^~~~~~~~~~~~~~~~~~ -- In file included from arch/ia64/include/asm/ptrace.h:46:0, from arch/ia64/include/asm/processor.h:20, from arch/ia64/include/asm/thread_info.h:12, from include/linux/thread_info.h:38, from include/asm-generic/preempt.h:5, from ./arch/ia64/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/rcupdate.h:27, from include/linux/rculist.h:11, from include/linux/sched/signal.h:5, from arch/ia64/kernel/asm-offsets.c:10: >> arch/ia64/include/asm/page.h:51:23: warning: "hpage_shift" is not defined, >> evaluates to 0 [-Wundef] # define HPAGE_SHIFT hpage_shift ^ >> arch/ia64/include/asm/page.h:153:30: note: in expansion of macro >> 'HPAGE_SHIFT' # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) ^~~~~~~~~~~ include/linux/page_reporting.h:9:37: note: in expansion of macro 'HUGETLB_PAGE_ORDER' #if defined(CONFIG_HUGETLB_PAGE) && HUGETLB_PAGE_ORDER < MAX_ORDER ^~~~~~~~~~~~~~~~~~ <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] 4 real 3 user 1 sys 120.83% cpu make prepare vim +/hpage_shift +51 arch/ia64/include/asm/page.h ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 47 0a41e250116058 include/asm-ia64/page.h Peter Chubb 2005-08-16 48 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 49 #ifdef CONFIG_HUGETLB_PAGE 0a41e250116058 include/asm-ia64/page.h Peter Chubb 2005-08-16 50 # define HPAGE_REGION_BASE RGN_BASE(RGN_HPAGE) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 @51 # define HPAGE_SHIFT hpage_shift ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 52 # define HPAGE_SHIFT_DEFAULT 28 /* check ia64 SDM for architecture supported size */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 53 # define HPAGE_SIZE (__IA64_UL_CONST(1) << HPAGE_SHIFT) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 55 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 56 # define HAVE_ARCH_HUGETLB_UNMAPPED_AREA ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 57 #endif /* CONFIG_HUGETLB_PAGE */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 58 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 59 #ifdef __ASSEMBLY__ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 60 # define __pa(x) ((x) - PAGE_OFFSET) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 61 # define __va(x) ((x) + PAGE_OFFSET) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 62 #else /* !__ASSEMBLY */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 63 # define STRICT_MM_TYPECHECKS ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 64 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 65 extern void clear_page (void *page); ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 66 extern void copy_page (void *to, void *from); ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 67 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 68 /* ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 69 * clear_user_page() and copy_user_page() can't be inline functions because ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 70 * flush_dcache_page() can't be defined until later... ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 71 */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 72 #define clear_user_page(addr, vaddr, page) \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 73 do { \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 74 clear_page(addr); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 75 flush_dcache_page(page); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 76 } while (0) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 77 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 78 #define copy_user_page(to, from, vaddr, page) \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 79 do { \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 80 copy_page((to), (from)); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 81 flush_dcache_page(page); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 82 } while (0) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 83 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 84 769848c03895b6 include/asm-ia64/page.h Mel Gorman 2007-07-17 85 #define __alloc_zeroed_user_highpage(movableflags, vma, vaddr) \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 86 ({ \ 769848c03895b6 include/asm-ia64/page.h Mel Gorman 2007-07-17 87 struct page *page = alloc_page_vma( \ 769848c03895b6 include/asm-ia64/page.h Mel Gorman 2007-07-17 88 GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 89 if (page) \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 90 flush_dcache_page(page); \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 91 page; \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 92 }) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 93 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 94 #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 95 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 96 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 97 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 98 #ifdef CONFIG_VIRTUAL_MEM_MAP ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 99 extern int ia64_pfn_valid (unsigned long pfn); b0f40ea04a85b0 include/asm-ia64/page.h Matthew Wilcox 2006-11-16 100 #else ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 101 # define ia64_pfn_valid(pfn) 1 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 102 #endif ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 103 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 104 #ifdef CONFIG_VIRTUAL_MEM_MAP 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 105 extern struct page *vmem_map; 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 106 #ifdef CONFIG_DISCONTIGMEM 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 107 # define page_to_pfn(page) ((unsigned long) (page - vmem_map)) 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 108 # define pfn_to_page(pfn) (vmem_map + (pfn)) d2c0f041e1bb12 arch/ia64/include/asm/page.h Dan Williams 2016-01-15 109 # define __pfn_to_phys(pfn) PFN_PHYS(pfn) b0f40ea04a85b0 include/asm-ia64/page.h Matthew Wilcox 2006-11-16 110 #else b0f40ea04a85b0 include/asm-ia64/page.h Matthew Wilcox 2006-11-16 111 # include <asm-generic/memory_model.h> 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 112 #endif b0f40ea04a85b0 include/asm-ia64/page.h Matthew Wilcox 2006-11-16 113 #else 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 114 # include <asm-generic/memory_model.h> 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 115 #endif 0ecd702bcb924d include/asm-ia64/page.h KAMEZAWA Hiroyuki 2006-03-27 116 1be7d9935b9c7f include/asm-ia64/page.h Bob Picco 2005-10-04 117 #ifdef CONFIG_FLATMEM ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 118 # define pfn_valid(pfn) (((pfn) < max_mapnr) && ia64_pfn_valid(pfn)) 1be7d9935b9c7f include/asm-ia64/page.h Bob Picco 2005-10-04 119 #elif defined(CONFIG_DISCONTIGMEM) b77dae5293efba include/asm-ia64/page.h Dean Roe 2005-11-09 120 extern unsigned long min_low_pfn; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 121 extern unsigned long max_low_pfn; b77dae5293efba include/asm-ia64/page.h Dean Roe 2005-11-09 122 # define pfn_valid(pfn) (((pfn) >= min_low_pfn) && ((pfn) < max_low_pfn) && ia64_pfn_valid(pfn)) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 123 #endif ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 124 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 125 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 126 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) 631bb0e74e811e include/asm-ia64/page.h Bob Picco 2005-10-31 127 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 128 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 129 typedef union ia64_va { ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 130 struct { ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 131 unsigned long off : 61; /* intra-region offset */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 132 unsigned long reg : 3; /* region number */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 133 } f; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 134 unsigned long l; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 135 void *p; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 136 } ia64_va; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 137 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 138 /* ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 139 * Note: These macros depend on the fact that PAGE_OFFSET has all ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 140 * region bits set to 1 and all other bits set to zero. They are ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 141 * expressed in this way to ensure they result in a single "dep" ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 142 * instruction. ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 143 */ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 144 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 145 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 146 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 147 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 148 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;}) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 149 ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 150 #ifdef CONFIG_HUGETLB_PAGE ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 151 # define htlbpage_to_page(x) (((unsigned long) REGION_NUMBER(x) << 61) \ ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 152 | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT))) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 @153 # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 154 extern unsigned int hpage_shift; ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 155 #endif ^1da177e4c3f41 include/asm-ia64/page.h Linus Torvalds 2005-04-16 156 :::::: The code at line 51 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torva...@ppc970.osdl.org> :::::: CC: Linus Torvalds <torva...@ppc970.osdl.org> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization