From: kernel test robot <lkp@intel.com>
To: Li Zhengyu <lizhengyu3@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Palmer Dabbelt <palmer@rivosinc.com>
Subject: [palmer:riscv-kexec 5/6] arch/riscv/purgatory/entry.S:29: Error: unrecognized opcode `ld a2,riscv_kernel_entry'
Date: Sun, 22 May 2022 03:43:29 +0800 [thread overview]
Message-ID: <202205220336.fndQjLb9-lkp@intel.com> (raw)
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
reply other threads:[~2022-05-21 19:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205220336.fndQjLb9-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhengyu3@huawei.com \
--cc=palmer@rivosinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.