Re: [PATCH v0.8 3/6] sched/umcg: implement UMCG syscalls
From: Peter Oskolkov
Date: Sun Nov 21 2021 - 16:09:18 EST
On Mon, Nov 15, 2021 at 12:12 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Peter,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on 8ea9183db4ad8afbcb7089a77c23eaf965b0cacd]
>
> url: https://github.com/0day-ci/linux/commits/Peter-Oskolkov/sched-mm-x86-uaccess-implement-User-Managed-Concurrency-Groups/20211105-035945
> base: 8ea9183db4ad8afbcb7089a77c23eaf965b0cacd
> config: i386-allyesconfig (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
> # https://github.com/0day-ci/linux/commit/93e6110356346b226e3a41044aafe3d3b0906d10
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Peter-Oskolkov/sched-mm-x86-uaccess-implement-User-Managed-Concurrency-Groups/20211105-035945
> git checkout 93e6110356346b226e3a41044aafe3d3b0906d10
> # save the attached .config to linux build tree
> mkdir build_dir
> make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
I cannot reproduce this. Both in my tree on top of tip, and the one
referenced above, I can compile i386 ok:
$ make ARCH=i386 allyesconfig
$ make ARCH=i386 -j16
succeeds.
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
>
> In file included from <command-line>:32:
> >> ./usr/include/linux/umcg.h:80:2: error: unknown type name 'u64'
> 80 | u64 state_ts; /* r/w */
> | ^~~
> >> ./usr/include/linux/umcg.h:91:2: error: unknown type name 'u32'
> 91 | u32 next_tid; /* r */
> | ^~~
> ./usr/include/linux/umcg.h:93:2: error: unknown type name 'u32'
> 93 | u32 flags; /* Reserved; must be zero. */
> | ^~~
> ./usr/include/linux/umcg.h:101:2: error: unknown type name 'u64'
> 101 | u64 idle_workers_ptr; /* r/w */
> | ^~~
> ./usr/include/linux/umcg.h:107:2: error: unknown type name 'u64'
> 107 | u64 idle_server_tid_ptr; /* r */
> | ^~~
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx