* Re: [PATCH v5 5/7] riscv: pmu: Add driver for Control Transfer Records Ext
[not found] <20261118095053.3871267-6-vikram.singh3@oss.qualcomm.com>
@ 2026-11-20 19:23 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-20 19:23 UTC (permalink / raw)
To: Vikram Singh, peterz, mingo, acme, namhyung, mark.rutland,
alexander.shishkin, jolsa, irogers, adrian.hunter, paul.walmsley,
palmer, aou, alex, atishp, anup.patel, will, robh, krzk+dt,
conor+dt, beeman
Cc: llvm, oe-kbuild-all, Vikram Singh, linux-perf-users, linux-kernel,
linux-riscv, linux-arm-kernel, Conor Dooley, devicetree,
Rajnesh Kanwal, Anup Patel
Hi Vikram,
kernel test robot noticed the following build errors:
[auto build test ERROR on peterz-queue/sched/core]
[also build test ERROR on perf-tools-next/perf-tools-next perf-tools/perf-tools robh/for-next linus/master v7.4-rc3 next-20261116]
[cannot apply to tip/perf/core acme/perf/core]
[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/Vikram-Singh/perf-Increase-the-maximum-number-of-branches-remove_loops-can-process/20261118-152047
base: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
patch link: https://lore.kernel.org/r/20261118095053.3871267-6-vikram.singh3%40oss.qualcomm.com
patch subject: [PATCH v5 5/7] riscv: pmu: Add driver for Control Transfer Records Ext
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20261121/202611210338.qHaMzDp7-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 67ab6538dff0ed2593b90166214d93e992c74905)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611210338.qHaMzDp7-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/202611210338.qHaMzDp7-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/riscv/mm/tlbflush.c:76:3: error: call to undeclared function 'sbi_remote_sfence_vma_asid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
76 | sbi_remote_sfence_vma_asid(NULL, 0, FLUSH_TLB_MAX_SIZE, FLUSH_TLB_NO_ASID);
| ^
arch/riscv/mm/tlbflush.c:76:3: note: did you mean 'sbi_remote_fence_i'?
arch/riscv/include/asm/sbi.h:756:19: note: 'sbi_remote_fence_i' declared here
756 | static inline int sbi_remote_fence_i(const struct cpumask *cpu_mask) { return -1; }
| ^
arch/riscv/mm/tlbflush.c:112:3: error: call to undeclared function 'sbi_remote_sfence_vma_asid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
112 | sbi_remote_sfence_vma_asid(cmask, start, size, asid);
| ^
2 errors generated.
--
>> arch/riscv/errata/andes/errata.c:30:16: error: variable has incomplete type 'struct sbiret'
30 | struct sbiret ret;
| ^
arch/riscv/errata/andes/errata.c:30:9: note: forward declaration of 'struct sbiret'
30 | struct sbiret ret;
| ^
>> arch/riscv/errata/andes/errata.c:36:8: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
36 | ret = sbi_ecall(ANDES_SBI_EXT_ANDES, ANDES_SBI_EXT_IOCP_SW_WORKAROUND,
| ^
2 errors generated.
--
>> drivers/acpi/riscv/cpuidle.c:73:14: error: use of undeclared identifier 'SBI_HSM_SUSP_NON_RET_BIT'
73 | if (state & SBI_HSM_SUSP_NON_RET_BIT)
| ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
--
>> drivers/acpi/riscv/cppc.c:31:16: error: field has incomplete type 'struct sbiret'
31 | struct sbiret ret;
| ^
drivers/acpi/riscv/cppc.c:31:9: note: forward declaration of 'struct sbiret'
31 | struct sbiret ret;
| ^
>> drivers/acpi/riscv/cppc.c:38:6: error: use of undeclared identifier 'sbi_spec_version'
38 | if (sbi_spec_version >= sbi_mk_version(2, 0) &&
| ^~~~~~~~~~~~~~~~
>> drivers/acpi/riscv/cppc.c:38:26: error: call to undeclared function 'sbi_mk_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
38 | if (sbi_spec_version >= sbi_mk_version(2, 0) &&
| ^
>> drivers/acpi/riscv/cppc.c:39:6: error: call to undeclared function 'sbi_probe_extension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
39 | sbi_probe_extension(SBI_EXT_CPPC) > 0) {
| ^
>> drivers/acpi/riscv/cppc.c:53:14: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
53 | data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_READ,
| ^
drivers/acpi/riscv/cppc.c:61:14: error: call to undeclared function 'sbi_ecall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
61 | data->ret = sbi_ecall(SBI_EXT_CPPC, SBI_CPPC_WRITE,
| ^
>> drivers/acpi/riscv/cppc.c:115:11: error: call to undeclared function 'sbi_err_map_linux_errno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
115 | return sbi_err_map_linux_errno(data.ret.error);
| ^
drivers/acpi/riscv/cppc.c:156:29: error: call to undeclared function 'sbi_err_map_linux_errno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
156 | return (data.ret.error) ? sbi_err_map_linux_errno(data.ret.error) : 0;
| ^
8 errors generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ERRATA_ANDES
Depends on [n]: RISCV_SBI [=n]
Selected by [y]:
- ARCH_ANDES [=y] && MMU [=y]
vim +/sbi_remote_sfence_vma_asid +76 arch/riscv/mm/tlbflush.c
18d2199d81054f Anup Patel 2023-03-28 70
95594cb40c6e01 Christoph Hellwig 2019-08-21 71 void flush_tlb_all(void)
95594cb40c6e01 Christoph Hellwig 2019-08-21 72 {
9546f00410ed88 Samuel Holland 2024-03-26 73 if (num_online_cpus() < 2)
9546f00410ed88 Samuel Holland 2024-03-26 74 local_flush_tlb_all();
9546f00410ed88 Samuel Holland 2024-03-26 75 else if (riscv_use_sbi_for_rfence())
9d4e8d5fa7dbbb Alexandre Ghiti 2023-10-30 @76 sbi_remote_sfence_vma_asid(NULL, 0, FLUSH_TLB_MAX_SIZE, FLUSH_TLB_NO_ASID);
dc892fb443224d Samuel Holland 2024-03-26 77 else
dc892fb443224d Samuel Holland 2024-03-26 78 on_each_cpu(__ipi_flush_tlb_all, NULL, 1);
95594cb40c6e01 Christoph Hellwig 2019-08-21 79 }
95594cb40c6e01 Christoph Hellwig 2019-08-21 80
--
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:[~2026-11-20 19:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261118095053.3871267-6-vikram.singh3@oss.qualcomm.com>
2026-11-20 19:23 ` [PATCH v5 5/7] riscv: pmu: Add driver for Control Transfer Records Ext 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