tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git pg_table/v0.0
head: fd150c5a9ef6e3e43818825c69a46de2b427dedf
commit: 04c7c7a07774d46bb8749ac2b2512b0a19517d61 [17/18] asi: add basic functionality for
page table cloning
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 7.5.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 04c7c7a07774d46bb8749ac2b2512b0a19517d61
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from <command-line>:0:0:
> include/linux/asi.h:14:32: warning: 'struct pg_table'
declared inside parameter list will not be visible outside of this definition or
declaration
int asi_clone_pgd_range(struct pg_table *dst_pt,
^~~~~~~~
> include/linux/asi.h:20:25: error: unknown type name
'phys_addr_t'
unsigned long virt, phys_addr_t phys,
^~~~~~~~~~~
> include/linux/asi.h:21:5: error: unknown type name
'pgprot_t'
pgprot_t prot, int nr_pages);
^~~~~~~~
include/linux/asi.h:24:31: error: unknown type name 'phys_addr_t'
unsigned long virt, phys_addr_t phys,
^~~~~~~~~~~
include/linux/asi.h:25:11: error: unknown type name 'pgprot_t'
pgprot_t prot)
^~~~~~~~
vim +/phys_addr_t +20 include/linux/asi.h
13
14 int asi_clone_pgd_range(struct pg_table *dst_pt,
15 struct pg_table *src_pt,
16 unsigned long addr, unsigned long end,
17 enum asi_clone_level level);
18
19 int asi_map_range(struct pg_table *pgt,
20 unsigned long virt, phys_addr_t phys,
21 pgprot_t prot, int nr_pages);
22
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation