Hi Huangzhaoyang,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on v5.16-rc1 next-20211118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Huangzhaoyang/arch-arm64-have-me...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r023-20211115 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
fbe72e41b99dc7994daac300d208a955be3e4a0a)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://github.com/0day-ci/linux/commit/1e24a50ddba38b8bed8d75bc2b788da88...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Huangzhaoyang/arch-arm64-have-memblocks-out-of-kernel-text-use-section-map/20211112-172142
git checkout 1e24a50ddba38b8bed8d75bc2b788da88b354522
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> WARNING: modpost: vmlinux.o(.text+0x19c54): Section mismatch in
reference from the function __create_pgd_mapping() to the variable
.init.data:crash_mem_map
The function __create_pgd_mapping() references
the variable __initdata crash_mem_map.
This is often because __create_pgd_mapping lacks a __initdata
annotation or the annotation of crash_mem_map is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org