From: kernel test robot <lkp@intel.com>
To: Jinglin Wen <jinglin.wen@shingroup.cn>, palmer@dabbelt.com
Cc: oe-kbuild-all@lists.linux.dev, paul.walmsley@sifive.com,
aou@eecs.berkeley.edu, gregkh@linuxfoundation.org,
atishp@rivosinc.com, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org,
Jinglin Wen <jinglin.wen@shingroup.cn>
Subject: Re: [PATCH 2/3] riscv: SBI as the interface for the early console
Date: Wed, 17 Apr 2024 16:03:29 +0800 [thread overview]
Message-ID: <202404171502.Yz861Nvd-lkp@intel.com> (raw)
In-Reply-To: <20240410063432.23058-3-jinglin.wen@shingroup.cn>
Hi Jinglin,
kernel test robot noticed the following build errors:
[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next tty/tty-linus linus/master v6.9-rc4 next-20240416]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jinglin-Wen/riscv-Support-for-early-console/20240410-143840
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20240410063432.23058-3-jinglin.wen%40shingroup.cn
patch subject: [PATCH 2/3] riscv: SBI as the interface for the early console
config: riscv-randconfig-r071-20240417 (https://download.01.org/0day-ci/archive/20240417/202404171502.Yz861Nvd-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240417/202404171502.Yz861Nvd-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404171502.Yz861Nvd-lkp@intel.com/
All errors (new ones prefixed by >>):
riscv64-linux-ld: arch/riscv/kernel/early_console.o: in function `early_console_init':
>> arch/riscv/kernel/early_console.c:100:(.init.text+0x18): undefined reference to `hvc_sbi_early_init'
vim +100 arch/riscv/kernel/early_console.c
f4e6608ec4adae Jinglin Wen 2024-04-10 87
f4e6608ec4adae Jinglin Wen 2024-04-10 88 /*
f4e6608ec4adae Jinglin Wen 2024-04-10 89 * This is called after sbi_init.
f4e6608ec4adae Jinglin Wen 2024-04-10 90 */
f4e6608ec4adae Jinglin Wen 2024-04-10 91 void __init early_console_init(void)
f4e6608ec4adae Jinglin Wen 2024-04-10 92 {
f4e6608ec4adae Jinglin Wen 2024-04-10 93 /*
f4e6608ec4adae Jinglin Wen 2024-04-10 94 * Set riscv_early_console_putc.
f4e6608ec4adae Jinglin Wen 2024-04-10 95 * If there are other output interfaces, you can add corresponding code
f4e6608ec4adae Jinglin Wen 2024-04-10 96 * to initialize riscv_early_console_putc.
f4e6608ec4adae Jinglin Wen 2024-04-10 97 */
f4e6608ec4adae Jinglin Wen 2024-04-10 98 #if defined(CONFIG_RISCV_EARLY_CONSOLE_SBI)
f4e6608ec4adae Jinglin Wen 2024-04-10 99 /* using the sbi */
f4e6608ec4adae Jinglin Wen 2024-04-10 @100 hvc_sbi_early_init(&riscv_early_console_putc);
f4e6608ec4adae Jinglin Wen 2024-04-10 101 #else
f4e6608ec4adae Jinglin Wen 2024-04-10 102 /* using other */
f4e6608ec4adae Jinglin Wen 2024-04-10 103 #endif
f4e6608ec4adae Jinglin Wen 2024-04-10 104
f4e6608ec4adae Jinglin Wen 2024-04-10 105 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH;
f4e6608ec4adae Jinglin Wen 2024-04-10 106 register_early_console();
f4e6608ec4adae Jinglin Wen 2024-04-10 107 }
f4e6608ec4adae Jinglin Wen 2024-04-10 108
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2024-04-17 8:03 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20240410063432.23058-3-jinglin.wen@shingroup.cn>]
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=202404171502.Yz861Nvd-lkp@intel.com \
--to=lkp@intel.com \
--cc=aou@eecs.berkeley.edu \
--cc=atishp@rivosinc.com \
--cc=gregkh@linuxfoundation.org \
--cc=jinglin.wen@shingroup.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).