All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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"
Date: Tue, 09 Mar 2021 23:00:21 +0800	[thread overview]
Message-ID: <202103092318.cXGjdBcl-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3960 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21138 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@01.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andrey Konovalov <andreyknvl@google.com>,
	Andrey Ryabinin <aryabinin@virtuozzo.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [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"
Date: Tue, 9 Mar 2021 23:00:21 +0800	[thread overview]
Message-ID: <202103092318.cXGjdBcl-lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-03-09 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 15:00 kernel test robot [this message]
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
2021-03-09 15:13   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103092318.cXGjdBcl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.