[PATCH] arm64: kexec: add support for kexec with spin-table

kernel test robot lkp at intel.com
Wed Jul 14 15:24:43 PDT 2021


Hi Henry,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v5.14-rc1 next-20210714]
[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/Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r025-20210714 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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/3dd4112e1b67732182a5e12891867db4e139980c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204
        git checkout 3dd4112e1b67732182a5e12891867db4e139980c
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> arch/arm64/kernel/smp_spin_table.c:235:3: error: field designator 'cpu_die' does not refer to any field in type 'const struct cpu_operations'
           .cpu_die        = smp_spin_table_cpu_die,
            ^
>> arch/arm64/kernel/smp_spin_table.c:236:3: error: field designator 'cpu_kill' does not refer to any field in type 'const struct cpu_operations'
           .cpu_kill       = smp_spin_table_cpu_kill,
            ^
>> arch/arm64/kernel/smp_spin_table.c:237:3: error: field designator 'cpu_disable' does not refer to any field in type 'const struct cpu_operations'
           .cpu_disable    = smp_spin_table_cpu_disable,
            ^
   3 errors generated.


vim +235 arch/arm64/kernel/smp_spin_table.c

   229	
   230	const struct cpu_operations smp_spin_table_ops = {
   231		.name		= "spin-table",
   232		.cpu_init	= smp_spin_table_cpu_init,
   233		.cpu_prepare	= smp_spin_table_cpu_prepare,
   234		.cpu_boot	= smp_spin_table_cpu_boot,
 > 235		.cpu_die	= smp_spin_table_cpu_die,
 > 236		.cpu_kill	= smp_spin_table_cpu_kill,
 > 237		.cpu_disable	= smp_spin_table_cpu_disable,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29318 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210715/9a7d6f12/attachment-0001.gz>


More information about the linux-arm-kernel mailing list