tree: https://github.com/intel-lab-lkp/linux/commits/Oleksandr-Tyshchenko/xen-virtio-Handle-PCI-devices-which-Host-controller-is-described-in-DT/20221007-014937 head: 66842eb068a356f13c310952a643f075a97a57e7 commit: 6535888bc127d9588ed59c1d58d0f59187872ddd xen/virtio: enable grant based virtio on x86 date: 7 hours ago config: x86_64-rhel-8.3-syz compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/6535888bc127d9588ed59c1d58d0f59187872ddd git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Oleksandr-Tyshchenko/xen-virtio-Handle-PCI-devices-which-Host-controller-is-described-in-DT/20221007-014937 git checkout 6535888bc127d9588ed59c1d58d0f59187872ddd # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/x86/xen/enlighten_hvm.c: In function 'xen_hvm_guest_init': >> arch/x86/xen/enlighten_hvm.c:215:39: error: 'xen_virtio_restricted_mem_acc' undeclared (first use in this function) 215 | virtio_set_mem_acc_cb(xen_virtio_restricted_mem_acc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/xen/enlighten_hvm.c:215:39: note: each undeclared identifier is reported only once for each function it appears in vim +/xen_virtio_restricted_mem_acc +215 arch/x86/xen/enlighten_hvm.c 208 209 static void __init xen_hvm_guest_init(void) 210 { 211 if (xen_pv_domain()) 212 return; 213 214 if (IS_ENABLED(CONFIG_XEN_VIRTIO_FORCE_GRANT)) > 215 virtio_set_mem_acc_cb(xen_virtio_restricted_mem_acc); 216 217 init_hvm_pv_info(); 218 219 reserve_shared_info(); 220 xen_hvm_init_shared_info(); 221 222 /* 223 * xen_vcpu is a pointer to the vcpu_info struct in the shared_info 224 * page, we use it in the event channel upcall and in some pvclock 225 * related functions. 226 */ 227 xen_vcpu_info_reset(0); 228 229 xen_panic_handler_init(); 230 231 xen_hvm_smp_init(); 232 WARN_ON(xen_cpuhp_setup(xen_cpu_up_prepare_hvm, xen_cpu_dead_hvm)); 233 xen_unplug_emulated_devices(); 234 x86_init.irqs.intr_init = xen_init_IRQ; 235 xen_hvm_init_time_ops(); 236 xen_hvm_init_mmu_ops(); 237 -- 0-DAY CI Kernel Test Service https://01.org/lkp