tree:
https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git habanalabs-next
head: f3fad4c1da9034b716430407921cbd316d8c76dd
commit: ec844d6e67fa02ffcff72a9af31ef56472ad6414 [17/62] habanalabs: sync stream
collective infrastructure
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.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/ogabbay/linux.git/commit/...
git remote add ogabbay
https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
git fetch --no-tags ogabbay habanalabs-next
git checkout ec844d6e67fa02ffcff72a9af31ef56472ad6414
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/misc/habanalabs/goya/goya.c:5308:6: warning: no previous
prototype for 'goya_reset_sob_group' [-Wmissing-prototypes]
5308 | void
goya_reset_sob_group(struct hl_device *hdev, u16 sob_group)
| ^~~~~~~~~~~~~~~~~~~~
> drivers/misc/habanalabs/goya/goya.c:5334:6: warning: no previous
prototype for 'goya_collective_wait_init_cs' [-Wmissing-prototypes]
5334
| void goya_collective_wait_init_cs(struct hl_cs *cs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/misc/habanalabs/goya/goya.c:5339:5: warning: no previous
prototype for 'goya_collective_wait_create_jobs' [-Wmissing-prototypes]
5339 | int goya_collective_wait_create_jobs(struct hl_device *hdev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/goya_reset_sob_group +5308 drivers/misc/habanalabs/goya/goya.c
5307
5308 void goya_reset_sob_group(struct hl_device *hdev, u16 sob_group)
5309 {
5310
5311 }
5312
5313 static void goya_set_dma_mask_from_fw(struct hl_device *hdev)
5314 {
5315 if (RREG32(mmPSOC_GLOBAL_CONF_NON_RST_FLOPS_0) ==
5316 HL_POWER9_HOST_MAGIC) {
5317 dev_dbg(hdev->dev, "Working in 64-bit DMA mode\n");
5318 hdev->power9_64bit_dma_enable = 1;
5319 hdev->dma_mask = 64;
5320 } else {
5321 dev_dbg(hdev->dev, "Working in 48-bit DMA mode\n");
5322 hdev->power9_64bit_dma_enable = 0;
5323 hdev->dma_mask = 48;
5324 }
5325 }
5326
5327 u64 goya_get_device_time(struct hl_device *hdev)
5328 {
5329 u64 device_time = ((u64) RREG32(mmPSOC_TIMESTAMP_CNTCVU)) << 32;
5330
5331 return device_time | RREG32(mmPSOC_TIMESTAMP_CNTCVL);
5332 }
5333
5334 void goya_collective_wait_init_cs(struct hl_cs *cs)
5335 {
5336
5337 }
5338
5339 int goya_collective_wait_create_jobs(struct hl_device *hdev,
5340 struct hl_ctx *ctx, struct hl_cs *cs, u32 wait_queue_id,
5341 u32 collective_engine_id)
5342 {
5343 return -EINVAL;
5344 }
5345
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org