Hi "Aneesh, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v5.1-rc5 next-20190417] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/Update-hash-MMU-kernel-mapping-to-be-in-sync-with-radix/20190417-223135 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-pseries_defconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag Reported-by: kbuild test robot All error/warnings (new ones prefixed by >>): In file included from include/linux/kernel.h:11:0, from arch/powerpc/mm/pgtable-radix.c:14: arch/powerpc/mm/pgtable-radix.c: In function '__map_kernel_page': >> include/linux/compiler.h:344:38: error: call to '__compiletime_assert_139' declared with attribute error: BUILD_BUG_ON failed: RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:325:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^~~~~~~~~~~~~~~~ >> arch/powerpc/mm/pgtable-radix.c:139:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT); ^~~~~~~~~~~~ -- In file included from include/linux/kernel.h:11:0, from arch/powerpc//mm/pgtable-radix.c:14: arch/powerpc//mm/pgtable-radix.c: In function '__map_kernel_page': >> include/linux/compiler.h:344:38: error: call to '__compiletime_assert_139' declared with attribute error: BUILD_BUG_ON failed: RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:325:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:344:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) ^~~~~~~~~~~~~~~~ arch/powerpc//mm/pgtable-radix.c:139:2: note: in expansion of macro 'BUILD_BUG_ON' BUILD_BUG_ON(RADIX_KERN_MAP_SIZE != MAX_EA_BITS_PER_CONTEXT); ^~~~~~~~~~~~ vim +/__compiletime_assert_139 +344 include/linux/compiler.h 9a8ab1c3 Daniel Santos 2013-02-21 330 9a8ab1c3 Daniel Santos 2013-02-21 331 #define _compiletime_assert(condition, msg, prefix, suffix) \ 9a8ab1c3 Daniel Santos 2013-02-21 332 __compiletime_assert(condition, msg, prefix, suffix) 9a8ab1c3 Daniel Santos 2013-02-21 333 9a8ab1c3 Daniel Santos 2013-02-21 334 /** 9a8ab1c3 Daniel Santos 2013-02-21 335 * compiletime_assert - break build and emit msg if condition is false 9a8ab1c3 Daniel Santos 2013-02-21 336 * @condition: a compile-time constant condition to check 9a8ab1c3 Daniel Santos 2013-02-21 337 * @msg: a message to emit if condition is false 9a8ab1c3 Daniel Santos 2013-02-21 338 * 9a8ab1c3 Daniel Santos 2013-02-21 339 * In tradition of POSIX assert, this macro will break the build if the 9a8ab1c3 Daniel Santos 2013-02-21 340 * supplied condition is *false*, emitting the supplied error message if the 9a8ab1c3 Daniel Santos 2013-02-21 341 * compiler has support to do so. 9a8ab1c3 Daniel Santos 2013-02-21 342 */ 9a8ab1c3 Daniel Santos 2013-02-21 343 #define compiletime_assert(condition, msg) \ 9a8ab1c3 Daniel Santos 2013-02-21 @344 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) 9a8ab1c3 Daniel Santos 2013-02-21 345 :::::: The code at line 344 was first introduced by commit :::::: 9a8ab1c39970a4938a72d94e6fd13be88a797590 bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG :::::: TO: Daniel Santos :::::: CC: Linus Torvalds --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation