[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205220336.fndQjLb9-lkp@intel.com>
Date: Sun, 22 May 2022 03:43:29 +0800
From: kernel test robot <lkp@...el.com>
To: Li Zhengyu <lizhengyu3@...wei.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Palmer Dabbelt <palmer@...osinc.com>
Subject: [palmer:riscv-kexec 5/6] arch/riscv/purgatory/entry.S:29: Error:
unrecognized opcode `ld a2,riscv_kernel_entry'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git riscv-kexec
head: daae2fd41212953aeccd56f0a84546394cd00dfb
commit: 781a15320381cb50ae9e85f66da123aa5b8c3d2f [5/6] RISC-V: Add purgatory
config: riscv-randconfig-c003-20220522 (https://download.01.org/0day-ci/archive/20220522/202205220336.fndQjLb9-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git/commit/?id=781a15320381cb50ae9e85f66da123aa5b8c3d2f
git remote add palmer https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git
git fetch --no-tags palmer riscv-kexec
git checkout 781a15320381cb50ae9e85f66da123aa5b8c3d2f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ arch/riscv/purgatory/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/riscv/purgatory/entry.S: Assembler messages:
>> arch/riscv/purgatory/entry.S:29: Error: unrecognized opcode `ld a2,riscv_kernel_entry'
vim +29 arch/riscv/purgatory/entry.S
16
17 .globl purgatory_start
18 purgatory_start:
19
20 lla sp, .Lstack
21 mv s0, a0 /* The hartid of the current hart */
22 mv s1, a1 /* Phys address of the FDT image */
23
24 jal purgatory
25
26 /* Start new image. */
27 mv a0, s0
28 mv a1, s1
> 29 ld a2, riscv_kernel_entry
30 jr a2
31
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists