* [android-common:android18-7.3 10/10] arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared
@ 2026-12-03 11:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03 11:03 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android18-7.3
head: 6a439ac1d974b20afc48599d2d13f5904d309997
commit: 000dd0273ddf672cf2abc21884219238b438a155 [10/10] BACKPORT: ANDROID: KVM: arm64: Allow memcache topup from guest SMC handler
config: arm64-randconfig-2001-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203115608.MyNBbMX7-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203115608.MyNBbMX7-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/20261203115608.MyNBbMX7-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/kvm/hyp/nvhe/mem_protect.c:26:
arch/arm64/kvm/hyp/include/nvhe/modules.h:39:6: warning: no previous prototype for 'module_handle_host_perm_fault' [-Wmissing-prototypes]
39 | bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:40:6: warning: no previous prototype for 'module_handle_host_smc' [-Wmissing-prototypes]
40 | bool module_handle_host_smc(struct user_pt_regs *regs) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: error: return type is an incomplete type
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: warning: no previous prototype for 'module_handle_guest_smc' [-Wmissing-prototypes]
arch/arm64/kvm/hyp/include/nvhe/modules.h: In function 'module_handle_guest_smc':
>> arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared (first use in this function)
45 | return GUEST_SMC_NOT_HANDLED;
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: warning: 'return' with a value, in function returning void [-Wreturn-type]
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: note: declared here
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
--
In file included from arch/arm64/kvm/hyp/nvhe/hyp-main.c:27:
arch/arm64/kvm/hyp/include/nvhe/modules.h:39:6: warning: no previous prototype for 'module_handle_host_perm_fault' [-Wmissing-prototypes]
39 | bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:40:6: warning: no previous prototype for 'module_handle_host_smc' [-Wmissing-prototypes]
40 | bool module_handle_host_smc(struct user_pt_regs *regs) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: error: return type is an incomplete type
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: warning: no previous prototype for 'module_handle_guest_smc' [-Wmissing-prototypes]
arch/arm64/kvm/hyp/include/nvhe/modules.h: In function 'module_handle_guest_smc':
>> arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared (first use in this function)
45 | return GUEST_SMC_NOT_HANDLED;
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: warning: 'return' with a value, in function returning void [-Wreturn-type]
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: note: declared here
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c: At top level:
arch/arm64/kvm/hyp/nvhe/hyp-main.c:545:43: warning: initialized field overwritten [-Woverride-init]
545 | [ESR_ELx_EC_WFx] = handle_pvm_entry_wfx,
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:545:43: note: (near initialization for 'entry_hyp_pvm_handlers[1]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:546:43: warning: initialized field overwritten [-Woverride-init]
546 | [ESR_ELx_EC_SYS64] = handle_pvm_entry_sys64,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:546:43: note: (near initialization for 'entry_hyp_pvm_handlers[24]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:547:43: warning: initialized field overwritten [-Woverride-init]
547 | [ESR_ELx_EC_IABT_LOW] = handle_pvm_entry_iabt,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:547:43: note: (near initialization for 'entry_hyp_pvm_handlers[32]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:548:43: warning: initialized field overwritten [-Woverride-init]
548 | [ESR_ELx_EC_DABT_LOW] = handle_pvm_entry_dabt,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:548:43: note: (near initialization for 'entry_hyp_pvm_handlers[36]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:549:43: warning: initialized field overwritten [-Woverride-init]
549 | [ESR_ELx_EC_HVC64] = handle_pvm_entry_hvc64,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:549:43: note: (near initialization for 'entry_hyp_pvm_handlers[22]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:554:43: warning: initialized field overwritten [-Woverride-init]
554 | [ESR_ELx_EC_WFx] = handle_pvm_exit_wfx,
| ^~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:554:43: note: (near initialization for 'exit_hyp_pvm_handlers[1]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:555:43: warning: initialized field overwritten [-Woverride-init]
555 | [ESR_ELx_EC_SYS64] = handle_pvm_exit_sys64,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:555:43: note: (near initialization for 'exit_hyp_pvm_handlers[24]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:556:43: warning: initialized field overwritten [-Woverride-init]
556 | [ESR_ELx_EC_IABT_LOW] = handle_pvm_exit_iabt,
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:556:43: note: (near initialization for 'exit_hyp_pvm_handlers[32]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:557:43: warning: initialized field overwritten [-Woverride-init]
557 | [ESR_ELx_EC_DABT_LOW] = handle_pvm_exit_dabt,
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:557:43: note: (near initialization for 'exit_hyp_pvm_handlers[36]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c:558:43: warning: initialized field overwritten [-Woverride-init]
558 | [ESR_ELx_EC_HVC64] = handle_pvm_exit_hvc64,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/hyp-main.c:558:43: note: (near initialization for 'exit_hyp_pvm_handlers[22]')
arch/arm64/kvm/hyp/nvhe/hyp-main.c: In function 'handle_host_hcall':
arch/arm64/kvm/hyp/nvhe/hyp-main.c:1858:39: error: passing argument 1 of 'handle_host_dynamic_hcall' from incompatible pointer type [-Werror=incompatible-pointer-types]
1858 | if (handle_host_dynamic_hcall(&host_ctxt->regs, id) == HCALL_HANDLED)
| ^~~~~~~~~~~~~~~~
| |
| struct user_pt_regs *
arch/arm64/kvm/hyp/include/nvhe/modules.h:34:51: note: expected 'struct kvm_cpu_context *' but argument is of type 'struct user_pt_regs *'
34 | handle_host_dynamic_hcall(struct kvm_cpu_context *host_ctxt, int id)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from arch/arm64/kvm/hyp/nvhe/pkvm.c:24:
arch/arm64/kvm/hyp/include/nvhe/modules.h:39:6: warning: no previous prototype for 'module_handle_host_perm_fault' [-Wmissing-prototypes]
39 | bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:40:6: warning: no previous prototype for 'module_handle_host_smc' [-Wmissing-prototypes]
40 | bool module_handle_host_smc(struct user_pt_regs *regs) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: error: return type is an incomplete type
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: warning: no previous prototype for 'module_handle_guest_smc' [-Wmissing-prototypes]
arch/arm64/kvm/hyp/include/nvhe/modules.h: In function 'module_handle_guest_smc':
>> arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared (first use in this function)
45 | return GUEST_SMC_NOT_HANDLED;
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: warning: 'return' with a value, in function returning void [-Wreturn-type]
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: note: declared here
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/pkvm.c: In function 'module_handle_guest_trng_rng':
arch/arm64/kvm/hyp/nvhe/pkvm.c:1972:15: error: implicit declaration of function 'module_get_guest_trng_rng'; did you mean 'module_handle_guest_trng_rng'? [-Werror=implicit-function-declaration]
1972 | ret = module_get_guest_trng_rng(entropy, nbits);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| module_handle_guest_trng_rng
arch/arm64/kvm/hyp/nvhe/pkvm.c: In function 'module_handle_guest_trng':
arch/arm64/kvm/hyp/nvhe/pkvm.c:1991:16: error: implicit declaration of function 'module_get_guest_trng_uuid'; did you mean 'module_handle_guest_trng_rng'? [-Werror=implicit-function-declaration]
1991 | uuid = module_get_guest_trng_uuid();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| module_handle_guest_trng_rng
arch/arm64/kvm/hyp/nvhe/pkvm.c:1991:14: warning: assignment to 'const uuid_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1991 | uuid = module_get_guest_trng_uuid();
| ^
arch/arm64/kvm/hyp/nvhe/pkvm.c: In function 'kvm_handle_pvm_smc64':
>> arch/arm64/kvm/hyp/nvhe/pkvm.c:2057:17: error: switch quantity not an integer
2057 | switch (module_handle_guest_smc(®s, &res, vm->kvm.arch.pkvm.handle)) {
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/pkvm.c:2058:14: error: 'GUEST_SMC_HANDLED' undeclared (first use in this function)
2058 | case GUEST_SMC_HANDLED:
| ^~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/pkvm.c:2061:14: error: 'GUEST_SMC_NOT_HANDLED' undeclared (first use in this function)
2061 | case GUEST_SMC_NOT_HANDLED:
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/pkvm.c:2064:14: error: 'GUEST_SMC_NEED_TOPUP' undeclared (first use in this function)
2064 | case GUEST_SMC_NEED_TOPUP:
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from arch/arm64/kvm/hyp/nvhe/psci-relay.c:19:
arch/arm64/kvm/hyp/include/nvhe/modules.h:39:6: warning: no previous prototype for 'module_handle_host_perm_fault' [-Wmissing-prototypes]
39 | bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:40:6: warning: no previous prototype for 'module_handle_host_smc' [-Wmissing-prototypes]
40 | bool module_handle_host_smc(struct user_pt_regs *regs) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: error: return type is an incomplete type
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: warning: no previous prototype for 'module_handle_guest_smc' [-Wmissing-prototypes]
arch/arm64/kvm/hyp/include/nvhe/modules.h: In function 'module_handle_guest_smc':
>> arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared (first use in this function)
45 | return GUEST_SMC_NOT_HANDLED;
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: warning: 'return' with a value, in function returning void [-Wreturn-type]
arch/arm64/kvm/hyp/include/nvhe/modules.h:42:1: note: declared here
42 | module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/psci-relay.c: At top level:
arch/arm64/kvm/hyp/nvhe/psci-relay.c:32:58: error: parameter 1 ('notif') has incomplete type
32 | static void pkvm_psci_notify(enum pkvm_psci_notification notif, struct kvm_cpu_context *host_ctxt)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
arch/arm64/kvm/hyp/nvhe/psci-relay.c:32:13: error: function declaration isn't a prototype [-Werror=strict-prototypes]
32 | static void pkvm_psci_notify(enum pkvm_psci_notification notif, struct kvm_cpu_context *host_ctxt)
| ^~~~~~~~~~~~~~~~
arch/arm64/kvm/hyp/nvhe/psci-relay.c: In function 'pkvm_psci_notify':
arch/arm64/kvm/hyp/nvhe/psci-relay.c:35:36: error: type of formal parameter 1 is incomplete
35 | pkvm_psci_notifier(notif, &host_ctxt->regs);
| ^~~~~
arch/arm64/kvm/hyp/nvhe/psci-relay.c: In function 'psci_cpu_suspend':
arch/arm64/kvm/hyp/nvhe/psci-relay.c:193:26: error: 'PKVM_PSCI_CPU_SUSPEND' undeclared (first use in this function); did you mean 'KVM_PSCI_FN_CPU_SUSPEND'?
193 | pkvm_psci_notify(PKVM_PSCI_CPU_SUSPEND, host_ctxt);
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_PSCI_FN_CPU_SUSPEND
arch/arm64/kvm/hyp/nvhe/psci-relay.c: In function 'psci_system_suspend':
arch/arm64/kvm/hyp/nvhe/psci-relay.c:222:26: error: 'PKVM_PSCI_SYSTEM_SUSPEND' undeclared (first use in this function); did you mean 'KVM_PSCI_FN_CPU_SUSPEND'?
222 | pkvm_psci_notify(PKVM_PSCI_SYSTEM_SUSPEND, host_ctxt);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| KVM_PSCI_FN_CPU_SUSPEND
arch/arm64/kvm/hyp/nvhe/psci-relay.c: In function '__kvm_host_psci_cpu_entry':
arch/arm64/kvm/hyp/nvhe/psci-relay.c:292:26: error: 'PKVM_PSCI_CPU_ENTRY' undeclared (first use in this function)
292 | pkvm_psci_notify(PKVM_PSCI_CPU_ENTRY, host_ctxt);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for XFRM_OFFLOAD
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_XFRM_OFFLOAD_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_VMASTER
Depends on [n]: SOUND [=n] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
Selected by [y]:
- GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
Depends on [n]: SOUND [=n] && SND [=n] && SND_JACK [=y]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for DIMLIB
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_VIRTUAL_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_ELD
Depends on [n]: SOUND [=n] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PHYLINK
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_ETHERNET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_IEC958
Depends on [n]: SOUND [=n] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_SOC_CONFIGS [=y]
WARNING: unmet direct dependencies detected for QCOM_SMEM_STATE
Depends on [n]: QCOM_SOC [=n]
Selected by [y]:
- GKI_HIDDEN_QCOM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for SND_COMPRESS_ACCEL
Depends on [n]: SOUND [=n] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_JACK
Depends on [n]: SOUND [=n] && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
vim +/GUEST_SMC_NOT_HANDLED +45 arch/arm64/kvm/hyp/include/nvhe/modules.h
16
17 #ifdef CONFIG_MODULES
18 int __pkvm_init_module(void *host_mod);
19 int __pkvm_register_hcall(unsigned long hfn_hyp_va);
20 int handle_host_dynamic_hcall(struct user_pt_regs *regs, int id);
21 void __pkvm_close_module_registration(void);
22 bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr);
23 bool module_handle_host_smc(struct user_pt_regs *regs);
24 enum pkvm_smc_handler_ret
25 module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
26 pkvm_handle_t handle);
27 const uuid_t *module_get_guest_trng_uuid(void);
28 u64 module_get_guest_trng_rng(u64 *entropy, int nbits);
29 #else
30 static inline int __pkvm_init_module(void *module_init) { return -EOPNOTSUPP; }
31 static inline int
32 __pkvm_register_hcall(unsigned long hfn_hyp_va) { return -EOPNOTSUPP; }
33 static inline int
34 handle_host_dynamic_hcall(struct kvm_cpu_context *host_ctxt, int id)
35 {
36 return HCALL_UNHANDLED;
37 }
38 static inline void __pkvm_close_module_registration(void) { }
39 bool module_handle_host_perm_fault(struct user_pt_regs *regs, u64 esr, u64 addr) { return false; }
40 bool module_handle_host_smc(struct user_pt_regs *regs) { return false; }
41 enum pkvm_smc_handler_ret
42 module_handle_guest_smc(struct arm_smccc_1_2_regs *regs, struct arm_smccc_1_2_regs *res,
43 pkvm_handle_t handle)
44 {
> 45 return GUEST_SMC_NOT_HANDLED;
--
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-12-03 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 11:03 [android-common:android18-7.3 10/10] arch/arm64/kvm/hyp/include/nvhe/modules.h:45:16: error: 'GUEST_SMC_NOT_HANDLED' undeclared kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.