* [atishp04:kvm_pmu_snapshot_v5 12/26] arch/riscv/kernel/paravirt.c:65:13: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE'
@ 2024-04-02 23:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-02 23:27 UTC (permalink / raw)
To: Atish Patra; +Cc: llvm, oe-kbuild-all, Atish Patra
tree: https://github.com/atishp04/linux kvm_pmu_snapshot_v5
head: cdddc91e3f95ed945d275254a88f64fc64b62f96
commit: b02b0545bb76e198b4a7e481866b42596e15bb00 [12/26] RISC-V: KVM: Rename the SBI_STA_SHMEM_DISABLE to a generic
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20240403/202404030746.BC3MI8IG-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 546dc2245ffc4cccd0b05b58b7a5955e355a3b27)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030746.BC3MI8IG-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/202404030746.BC3MI8IG-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/riscv/kernel/paravirt.c:65:13: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE'
65 | if (lo == SBI_STA_SHMEM_DISABLE && hi == SBI_STA_SHMEM_DISABLE)
| ^
arch/riscv/kernel/paravirt.c:65:44: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE'
65 | if (lo == SBI_STA_SHMEM_DISABLE && hi == SBI_STA_SHMEM_DISABLE)
| ^
arch/riscv/kernel/paravirt.c:87:38: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE'
87 | return sbi_sta_steal_time_set_shmem(SBI_STA_SHMEM_DISABLE,
| ^
arch/riscv/kernel/paravirt.c:88:10: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE'
88 | SBI_STA_SHMEM_DISABLE, 0);
| ^
4 errors generated.
vim +/SBI_STA_SHMEM_DISABLE +65 arch/riscv/kernel/paravirt.c
323925ed6dbb0e Andrew Jones 2023-12-20 56
fdf68acccfc6af Andrew Jones 2023-12-20 57 static int sbi_sta_steal_time_set_shmem(unsigned long lo, unsigned long hi,
fdf68acccfc6af Andrew Jones 2023-12-20 58 unsigned long flags)
323925ed6dbb0e Andrew Jones 2023-12-20 59 {
fdf68acccfc6af Andrew Jones 2023-12-20 60 struct sbiret ret;
fdf68acccfc6af Andrew Jones 2023-12-20 61
fdf68acccfc6af Andrew Jones 2023-12-20 62 ret = sbi_ecall(SBI_EXT_STA, SBI_EXT_STA_STEAL_TIME_SET_SHMEM,
fdf68acccfc6af Andrew Jones 2023-12-20 63 lo, hi, flags, 0, 0, 0);
fdf68acccfc6af Andrew Jones 2023-12-20 64 if (ret.error) {
fdf68acccfc6af Andrew Jones 2023-12-20 @65 if (lo == SBI_STA_SHMEM_DISABLE && hi == SBI_STA_SHMEM_DISABLE)
fdf68acccfc6af Andrew Jones 2023-12-20 66 pr_warn("Failed to disable steal-time shmem");
fdf68acccfc6af Andrew Jones 2023-12-20 67 else
fdf68acccfc6af Andrew Jones 2023-12-20 68 pr_warn("Failed to set steal-time shmem");
fdf68acccfc6af Andrew Jones 2023-12-20 69 return sbi_err_map_linux_errno(ret.error);
fdf68acccfc6af Andrew Jones 2023-12-20 70 }
fdf68acccfc6af Andrew Jones 2023-12-20 71
323925ed6dbb0e Andrew Jones 2023-12-20 72 return 0;
323925ed6dbb0e Andrew Jones 2023-12-20 73 }
323925ed6dbb0e Andrew Jones 2023-12-20 74
:::::: The code at line 65 was first introduced by commit
:::::: fdf68acccfc6af9497c34ee411d89af13b6516ed RISC-V: paravirt: Implement steal-time support
:::::: TO: Andrew Jones <ajones@ventanamicro.com>
:::::: CC: Anup Patel <anup@brainfault.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:[~2024-04-02 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 23:27 [atishp04:kvm_pmu_snapshot_v5 12/26] arch/riscv/kernel/paravirt.c:65:13: error: use of undeclared identifier 'SBI_STA_SHMEM_DISABLE' 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