[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202404171502.Yz861Nvd-lkp@intel.com>
Date: Wed, 17 Apr 2024 16:03:29 +0800
From: kernel test robot <lkp@...el.com>
To: Jinglin Wen <jinglin.wen@...ngroup.cn>, palmer@...belt.com
Cc: oe-kbuild-all@...ts.linux.dev, paul.walmsley@...ive.com,
aou@...s.berkeley.edu, gregkh@...uxfoundation.org,
atishp@...osinc.com, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org,
Jinglin Wen <jinglin.wen@...ngroup.cn>
Subject: Re: [PATCH 2/3] riscv: SBI as the interface for the early console
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@...el.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
Powered by blists - more mailing lists