* [palmer:riscv-kexec 5/6] arch/riscv/purgatory/entry.S:29: Error: unrecognized opcode `ld a2,riscv_kernel_entry'
@ 2022-05-21 19:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-21 19:43 UTC (permalink / raw)
To: Li Zhengyu; +Cc: kbuild-all, linux-kernel, Palmer Dabbelt
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@intel.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-21 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-21 19:43 [palmer:riscv-kexec 5/6] arch/riscv/purgatory/entry.S:29: Error: unrecognized opcode `ld a2,riscv_kernel_entry' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.