tree:
https://github.com/sbates130272/linux-p2pmem.git remap_pages_cache
head: 6b6b28881f17f808a7440cf8e7e96802998e5c25
commit: d5e8cbcaf69d1e0f4613dbbf4b45b851de51b8c5 [3/6] powerpc/mm: Thread pgprot_t through
create_section_mapping()
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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 d5e8cbcaf69d1e0f4613dbbf4b45b851de51b8c5
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/mm/book3s64/radix_pgtable.c: In function
'stop_machine_change_mapping':
> arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: error:
'PAGE_KERNEl' undeclared (first use in this function); did you mean
'PAGE_KERNEL'?
-1, PAGE_KERNEl);
^~~~~~~~~~~
PAGE_KERNEL
arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: note: each undeclared identifier is
reported only once for each function it appears in
vim +713 arch/powerpc/mm/book3s64/radix_pgtable.c
699
700 static int __meminit stop_machine_change_mapping(void *data)
701 {
702 struct change_mapping_params *params =
703 (struct change_mapping_params *)data;
704
705 if (!data)
706 return -1;
707
708 spin_unlock(&init_mm.page_table_lock);
709 pte_clear(&init_mm, params->aligned_start, params->pte);
710 create_physical_mapping(__pa(params->aligned_start),
711 __pa(params->start), -1, PAGE_KERNEL);
712 create_physical_mapping(__pa(params->end), __pa(params->aligned_end),
713 -1, PAGE_KERNEl);
714 spin_lock(&init_mm.page_table_lock);
715 return 0;
716 }
717
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation