* [arm-platforms:irq/domain_cleanup 22/40] include/linux/pgtable.h:1511:2: error: Missing MAX_POSSIBLE_PHYSMEM_BITS definition
@ 2021-05-19 21:09 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-19 21:09 UTC (permalink / raw)
To: Marc Zyngier; +Cc: kbuild-all, clang-built-linux, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 4824 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: 15ae82a261d8c7675a17bf904a86210f95382cab
commit: 71069bb8e7be1c9c49daf89a6bccb7878d55a3dd [22/40] irqdomain: Introduce irq_resolve_mapping()
config: x86_64-randconfig-a005-20210519 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8e93d10633d751a3e9169bf9fa68326925ffa097)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=71069bb8e7be1c9c49daf89a6bccb7878d55a3dd
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/domain_cleanup
git checkout 71069bb8e7be1c9c49daf89a6bccb7878d55a3dd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 arch/x86/entry/vdso/vdso32/vclock_gettime.c:29:
In file included from arch/x86/entry/vdso/vdso32/../vclock_gettime.c:15:
In file included from arch/x86/entry/vdso/../../../../lib/vdso/gettimeofday.c:5:
In file included from include/vdso/datapage.h:137:
In file included from arch/x86/include/asm/vdso/gettimeofday.h:21:
In file included from include/clocksource/hyperv_timer.h:18:
In file included from arch/x86/include/asm/mshyperv.h:7:
In file included from include/linux/msi.h:7:
In file included from arch/x86/include/asm/msi.h:5:
In file included from arch/x86/include/asm/irqdomain.h:5:
In file included from include/linux/irqdomain.h:34:
In file included from include/linux/irq.h:21:
In file included from include/linux/slab.h:136:
In file included from include/linux/kasan.h:28:
>> include/linux/pgtable.h:1511:2: error: Missing MAX_POSSIBLE_PHYSMEM_BITS definition
#error Missing MAX_POSSIBLE_PHYSMEM_BITS definition
^
In file included from arch/x86/entry/vdso/vdso32/vclock_gettime.c:29:
arch/x86/entry/vdso/vdso32/../vclock_gettime.c:70:5: warning: no previous prototype for function '__vdso_clock_gettime64' [-Wmissing-prototypes]
int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts)
^
arch/x86/entry/vdso/vdso32/../vclock_gettime.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts)
^
static
1 warning and 1 error generated.
vim +1511 include/linux/pgtable.h
^1da177e4c3f415 include/asm-generic/pgtable.h Linus Torvalds 2005-04-16 1503
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1504 #if !defined(MAX_POSSIBLE_PHYSMEM_BITS) && !defined(CONFIG_64BIT)
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1505 #ifdef CONFIG_PHYS_ADDR_T_64BIT
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1506 /*
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1507 * ZSMALLOC needs to know the highest PFN on 32-bit architectures
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1508 * with physical address space extension, but falls back to
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1509 * BITS_PER_LONG otherwise.
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1510 */
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 @1511 #error Missing MAX_POSSIBLE_PHYSMEM_BITS definition
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1512 #else
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1513 #define MAX_POSSIBLE_PHYSMEM_BITS 32
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1514 #endif
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1515 #endif
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1516
:::::: The code at line 1511 was first introduced by commit
:::::: cef397038167ac15d085914493d6c86385773709 arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Arnd Bergmann <arnd@arndb.de>
---
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: 32716 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [arm-platforms:irq/domain_cleanup 22/40] include/linux/pgtable.h:1511:2: error: Missing MAX_POSSIBLE_PHYSMEM_BITS definition
@ 2021-05-19 21:09 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-19 21:09 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4902 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head: 15ae82a261d8c7675a17bf904a86210f95382cab
commit: 71069bb8e7be1c9c49daf89a6bccb7878d55a3dd [22/40] irqdomain: Introduce irq_resolve_mapping()
config: x86_64-randconfig-a005-20210519 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8e93d10633d751a3e9169bf9fa68326925ffa097)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=71069bb8e7be1c9c49daf89a6bccb7878d55a3dd
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/domain_cleanup
git checkout 71069bb8e7be1c9c49daf89a6bccb7878d55a3dd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 arch/x86/entry/vdso/vdso32/vclock_gettime.c:29:
In file included from arch/x86/entry/vdso/vdso32/../vclock_gettime.c:15:
In file included from arch/x86/entry/vdso/../../../../lib/vdso/gettimeofday.c:5:
In file included from include/vdso/datapage.h:137:
In file included from arch/x86/include/asm/vdso/gettimeofday.h:21:
In file included from include/clocksource/hyperv_timer.h:18:
In file included from arch/x86/include/asm/mshyperv.h:7:
In file included from include/linux/msi.h:7:
In file included from arch/x86/include/asm/msi.h:5:
In file included from arch/x86/include/asm/irqdomain.h:5:
In file included from include/linux/irqdomain.h:34:
In file included from include/linux/irq.h:21:
In file included from include/linux/slab.h:136:
In file included from include/linux/kasan.h:28:
>> include/linux/pgtable.h:1511:2: error: Missing MAX_POSSIBLE_PHYSMEM_BITS definition
#error Missing MAX_POSSIBLE_PHYSMEM_BITS definition
^
In file included from arch/x86/entry/vdso/vdso32/vclock_gettime.c:29:
arch/x86/entry/vdso/vdso32/../vclock_gettime.c:70:5: warning: no previous prototype for function '__vdso_clock_gettime64' [-Wmissing-prototypes]
int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts)
^
arch/x86/entry/vdso/vdso32/../vclock_gettime.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts)
^
static
1 warning and 1 error generated.
vim +1511 include/linux/pgtable.h
^1da177e4c3f415 include/asm-generic/pgtable.h Linus Torvalds 2005-04-16 1503
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1504 #if !defined(MAX_POSSIBLE_PHYSMEM_BITS) && !defined(CONFIG_64BIT)
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1505 #ifdef CONFIG_PHYS_ADDR_T_64BIT
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1506 /*
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1507 * ZSMALLOC needs to know the highest PFN on 32-bit architectures
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1508 * with physical address space extension, but falls back to
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1509 * BITS_PER_LONG otherwise.
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1510 */
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 @1511 #error Missing MAX_POSSIBLE_PHYSMEM_BITS definition
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1512 #else
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1513 #define MAX_POSSIBLE_PHYSMEM_BITS 32
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1514 #endif
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1515 #endif
cef397038167ac1 include/linux/pgtable.h Arnd Bergmann 2020-11-11 1516
:::::: The code at line 1511 was first introduced by commit
:::::: cef397038167ac15d085914493d6c86385773709 arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Arnd Bergmann <arnd@arndb.de>
---
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: 32716 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-19 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 21:09 [arm-platforms:irq/domain_cleanup 22/40] include/linux/pgtable.h:1511:2: error: Missing MAX_POSSIBLE_PHYSMEM_BITS definition kernel test robot
2021-05-19 21:09 ` kernel test robot
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.