Hi David, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/master] [also build test WARNING on v5.17-rc6 next-20220228] [cannot apply to mst-vhost/linux-next] [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] url: https://github.com/0day-ci/linux/commits/David-Woodhouse/KVM-Add-Xen-event-channel-acceleration/20220301-040936 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git master config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220301/202203010947.CeWMN6HC-lkp@xxxxxxxxx/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/9e28d0cae6d7075379c9afdd36f014227c6a7553 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review David-Woodhouse/KVM-Add-Xen-event-channel-acceleration/20220301-040936 git checkout 9e28d0cae6d7075379c9afdd36f014227c6a7553 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kvm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> arch/x86/kvm/xen.c:183:6: warning: no previous prototype for 'kvm_xen_init_timer' [-Wmissing-prototypes] 183 | void kvm_xen_init_timer(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~ In file included from include/asm-generic/bug.h:5, from arch/x86/include/asm/bug.h:84, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/percpu.h:5, from include/linux/context_tracking_state.h:5, from include/linux/hardirq.h:5, from include/linux/kvm_host.h:7, from arch/x86/kvm/x86.h:5, from arch/x86/kvm/xen.c:9: arch/x86/kvm/xen.c: In function 'kvm_xen_hcall_set_timer_op': >> arch/x86/kvm/xen.c:1030:41: warning: right shift count >= width of type [-Wshift-count-overflow] 1030 | (delta > 0 && (uint32_t) (delta >> 50) != 0))) { | ^~ include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ vim +/kvm_xen_init_timer +183 arch/x86/kvm/xen.c 182 > 183 void kvm_xen_init_timer(struct kvm_vcpu *vcpu) 184 { 185 hrtimer_init(&vcpu->arch.xen.timer, CLOCK_MONOTONIC, 186 HRTIMER_MODE_ABS_PINNED); 187 vcpu->arch.xen.timer.function = xen_timer_callback; 188 } 189 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx