* [fustini:b4/ssqosid-cbqri 12/24] arch/riscv/kernel/qos/qos_resctrl.c:296:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations
@ 2025-12-11 2:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-11 2:05 UTC (permalink / raw)
To: Drew Fustini; +Cc: llvm, oe-kbuild-all, Adrien Ricciardi
Hi Drew,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git b4/ssqosid-cbqri
head: 9cef75501dd0366444c60c3ca47bf75270f2160a
commit: b3bca12466ffbbabc21d40cf1713b1e88dcfef64 [12/24] RISC-V: QoS: add to build when CONFIG_RISCV_ISA_SSQOSID set
:::::: branch date: 3 days ago
:::::: commit date: 3 weeks ago
config: riscv-randconfig-001-20251211 (https://download.01.org/0day-ci/archive/20251211/202512110615.SGIChFQT-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6ec8c4351cfc1d0627d1633b02ea787bd29c77d8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512110615.SGIChFQT-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/r/202512110615.SGIChFQT-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/riscv/kernel/qos/qos_resctrl.c:296:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
296 | reg = ioread64(ctrl->base + reg_offset);
| ^
>> arch/riscv/kernel/qos/qos_resctrl.c:299:3: error: call to undeclared function 'iowrite64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
299 | iowrite64(reg, ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:311:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
311 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:313:3: error: call to undeclared function 'iowrite64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
313 | iowrite64(reg, ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:323:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
323 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:337:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
337 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:356:8: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
356 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:386:2: error: call to undeclared function 'iowrite64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
386 | iowrite64(reg, ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:411:8: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
411 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:418:2: error: call to undeclared function 'iowrite64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
418 | iowrite64(reg, ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:522:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
522 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:612:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
612 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:648:8: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
648 | reg = ioread64(ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:654:2: error: call to undeclared function 'iowrite64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
654 | iowrite64(reg, ctrl->base + reg_offset);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:742:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
742 | reg = ioread64(ctrl->base + CBQRI_CC_CAPABILITIES_OFF);
| ^
arch/riscv/kernel/qos/qos_resctrl.c:826:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
826 | reg = ioread64(ctrl->base + CBQRI_BC_CAPABILITIES_OFF);
| ^
16 errors generated.
vim +/ioread64 +296 arch/riscv/kernel/qos/qos_resctrl.c
291c1b985f85fd Drew Fustini 2023-04-19 288
291c1b985f85fd Drew Fustini 2023-04-19 289 /* Set capacity block mask (cc_block_mask) */
291c1b985f85fd Drew Fustini 2023-04-19 290 static void cbqri_set_cbm(struct cbqri_controller *ctrl, u64 cbm)
291c1b985f85fd Drew Fustini 2023-04-19 291 {
291c1b985f85fd Drew Fustini 2023-04-19 292 int reg_offset;
291c1b985f85fd Drew Fustini 2023-04-19 293 u64 reg;
291c1b985f85fd Drew Fustini 2023-04-19 294
291c1b985f85fd Drew Fustini 2023-04-19 295 reg_offset = CBQRI_CC_BLOCK_MASK_OFF;
291c1b985f85fd Drew Fustini 2023-04-19 @296 reg = ioread64(ctrl->base + reg_offset);
291c1b985f85fd Drew Fustini 2023-04-19 297
291c1b985f85fd Drew Fustini 2023-04-19 298 reg = cbm;
291c1b985f85fd Drew Fustini 2023-04-19 @299 iowrite64(reg, ctrl->base + reg_offset);
291c1b985f85fd Drew Fustini 2023-04-19 300
291c1b985f85fd Drew Fustini 2023-04-19 301 reg = ioread64(ctrl->base + reg_offset);
291c1b985f85fd Drew Fustini 2023-04-19 302 }
291c1b985f85fd Drew Fustini 2023-04-19 303
:::::: The code at line 296 was first introduced by commit
:::::: 291c1b985f85fdb7d7ec4b8ef3996b518145db12 RISC-V: QoS: add resctrl interface for CBQRI controllers
:::::: TO: Drew Fustini <fustini@kernel.org>
:::::: CC: Drew Fustini <fustini@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-11 2:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11 2:05 [fustini:b4/ssqosid-cbqri 12/24] arch/riscv/kernel/qos/qos_resctrl.c:296:9: error: call to undeclared function 'ioread64'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox