tree:
https://github.com/avpatel/linux.git riscv_sbi_hsm_suspend_v6
head: d78475e5ee67e0f6b2c2e17742b6d3c9ffc451ad
commit: 70da9840cbd10774af3b3cf1be4f4e6dad13582a [5/10] RISC-V: Add arch functions for
non-retentive suspend entry/exit
config: riscv-randconfig-r011-20210608 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
d2012d965d60c3258b3a69d024491698f8aec386)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/avpatel/linux/commit/70da9840cbd10774af3b3cf1be4f4e6da...
git remote add avpatel
https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_sbi_hsm_suspend_v6
git checkout 70da9840cbd10774af3b3cf1be4f4e6dad13582a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/riscv/include/asm/asm.h: Assembler messages:
> arch/riscv/include/asm/asm.h:79: Error: unsupported symbol
subtraction
clang-13: error: assembler command failed with exit code 1 (use -v to
see invocation)
vim +79 arch/riscv/include/asm/asm.h
73
74 #ifdef CONFIG_XIP_KERNEL
75 .macro XIP_FIXUP_OFFSET reg
76 REG_L t0, _xip_fixup
77 add \reg, \reg, t0
78 .endm
79 _xip_fixup: .dword CONFIG_PHYS_RAM_BASE - CONFIG_XIP_PHYS_ADDR -
XIP_OFFSET
80 #else
81 .macro XIP_FIXUP_OFFSET reg
82 .endm
83 #endif /* CONFIG_XIP_KERNEL */
84
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org