CC: linux-kernel(a)vger.kernel.org
TO: Vincent Chen <vincent.chen(a)sifive.com>
CC: Palmer Dabbelt <palmerdabbelt(a)google.com>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c06a2ba62fc401b7aaefd23f5d0bc06d2457ccc1
commit: 800149a77c2cb8746a94457939b1ba1e37d2c14e riscv: sifive: Apply errata
"cip-453" patch
date: 2 weeks ago
config: riscv-randconfig-r033-20210513 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
a0fed635fe1701470062495a6ffee1c608f3f1bc)
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 800149a77c2cb8746a94457939b1ba1e37d2c14e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/errata/sifive/errata_cip_453.S: Assembler messages:
> arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper
shift amount (38)
arch/riscv/errata/sifive/errata_cip_453.S:25: Error: Improper
shift amount (39)
arch/riscv/errata/sifive/errata_cip_453.S:35: Error: Improper shift amount (38)
arch/riscv/errata/sifive/errata_cip_453.S:35: Error: Improper shift amount (39)
> clang-13: error: assembler command failed with exit code 1 (use
-v to see invocation)
vim +25 arch/riscv/errata/sifive/errata_cip_453.S
23
24 ENTRY(sifive_cip_453_page_fault_trp)
25 ADD_SIGN_EXT a0, t0, t1
26 #ifdef CONFIG_MMU
27 la t0, do_page_fault
28 #else
29 la t0, do_trap_unknown
30 #endif
31 jr t0
32 END(sifive_cip_453_page_fault_trp)
33
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org