* [intel-linux-intel-lts:4.19/android_r 20723/22085] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
@ 2021-03-09 15:00 kernel test robot
2021-03-09 15:13 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-03-09 15:00 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kbuild-all, Greg Kroah-Hartman, Andrey Konovalov,
Andrey Ryabinin, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3889 bytes --]
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: 42da0a5bc28f55c05347ef8eb88d9e41f369333e
commit: 7783c5c8ec0d6781dc180be5fd075f06f90e9cb5 [20723/22085] UPSTREAM: page flags: prioritize kasan bits over last-cpuid
config: mips-lemote2f_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel/linux-intel-lts/commit/7783c5c8ec0d6781dc180be5fd075f06f90e9cb5
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout 7783c5c8ec0d6781dc180be5fd075f06f90e9cb5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/mm_types.h:15,
from arch/mips/include/asm/vdso.h:14,
from arch/mips/include/asm/vdso/vdso.h:28,
from arch/mips/include/asm/vdso/gettimeofday.h:16,
from include/vdso/datapage.h:114,
from lib/vdso/gettimeofday.c:5,
from <command-line>:
>> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
95 | #error "Not enough bits in page flags"
| ^~~~~
In file included from include/vdso/datapage.h:114,
from lib/vdso/gettimeofday.c:5,
from <command-line>:
arch/mips/include/asm/vdso/gettimeofday.h: In function 'clock_gettime_fallback':
arch/mips/include/asm/vdso/gettimeofday.h:55:31: error: '__NR_clock_gettime64' undeclared (first use in this function)
55 | register long nr asm("v0") = __NR_clock_gettime64;
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/include/asm/vdso/gettimeofday.h:55:31: note: each undeclared identifier is reported only once for each function it appears in
arch/mips/include/asm/vdso/gettimeofday.h: In function 'clock_getres_fallback':
arch/mips/include/asm/vdso/gettimeofday.h:79:31: error: '__NR_clock_getres_time64' undeclared (first use in this function)
79 | register long nr asm("v0") = __NR_clock_getres_time64;
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/vdso/vgettimeofday.c: At top level:
arch/mips/vdso/vgettimeofday.c:14:5: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes]
14 | int __vdso_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/vdso/vgettimeofday.c:28:5: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes]
28 | int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~
arch/mips/vdso/vgettimeofday.c:36:5: warning: no previous prototype for '__vdso_clock_getres' [-Wmissing-prototypes]
36 | int __vdso_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~
arch/mips/vdso/vgettimeofday.c:42:5: warning: no previous prototype for '__vdso_clock_gettime64' [-Wmissing-prototypes]
42 | int __vdso_clock_gettime64(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +95 include/linux/page-flags-layout.h
92
93 #if SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH+LAST_CPUPID_WIDTH+KASAN_TAG_WIDTH \
94 > BITS_PER_LONG - NR_PAGEFLAGS
> 95 #error "Not enough bits in page flags"
96 #endif
97
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21138 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [intel-linux-intel-lts:4.19/android_r 20723/22085] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
2021-03-09 15:00 [intel-linux-intel-lts:4.19/android_r 20723/22085] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" kernel test robot
@ 2021-03-09 15:13 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2021-03-09 15:13 UTC (permalink / raw)
To: kernel test robot
Cc: kbuild-all, Greg Kroah-Hartman, Andrey Konovalov,
Andrey Ryabinin, Andrew Morton, Linux Memory Management List,
Thomas Bogendoerfer
On Tue, Mar 9, 2021 at 4:00 PM kernel test robot <lkp@intel.com> wrote:
>
> tree: https://github.com/intel/linux-intel-lts.git 4.19/android_r
> head: 42da0a5bc28f55c05347ef8eb88d9e41f369333e
> commit: 7783c5c8ec0d6781dc180be5fd075f06f90e9cb5 [20723/22085] UPSTREAM: page flags: prioritize kasan bits over last-cpuid
> config: mips-lemote2f_defconfig (attached as .config)
> compiler: mips64el-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/intel/linux-intel-lts/commit/7783c5c8ec0d6781dc180be5fd075f06f90e9cb5
> git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
> git fetch --no-tags intel-linux-intel-lts 4.19/android_r
> git checkout 7783c5c8ec0d6781dc180be5fd075f06f90e9cb5
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/mm_types.h:15,
> from arch/mips/include/asm/vdso.h:14,
> from arch/mips/include/asm/vdso/vdso.h:28,
> from arch/mips/include/asm/vdso/gettimeofday.h:16,
> from include/vdso/datapage.h:114,
> from lib/vdso/gettimeofday.c:5,
> from <command-line>:
> >> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
I think this happens because my patch fixed an error that happened on
multiple architectures but did not fix the mips specific error that remains.
I once tried fixing this as well, but there is no good way to express the
requirements in Kconfig -- there are simply not enough bits in the
page flags to allow all combinations that can happen in randconfig
builds.
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-09 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 15:00 [intel-linux-intel-lts:4.19/android_r 20723/22085] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" kernel test robot
2021-03-09 15:13 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox