Re: [PATCH 2/2] KVM: s390: provide kvm_arch_no_poll function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian,

I love your patch! Yet something to improve:

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v5.0 next-20190305]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Christian-Borntraeger/KVM-polling-add-architecture-backend-to-disable-polling/20190305-193431
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=8.2.0 make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   In file included from include/linux/kvm_host.h:38,
                    from arch/s390/kernel/asm-offsets.c:11:
   arch/s390/include/asm/kvm_host.h: In function 'kvm_arch_no_poll':
>> arch/s390/include/asm/kvm_host.h:887:22: error: 'struct lowcore' has no member named 'avg_steal_timer'; did you mean 'steal_timer'?
     return S390_lowcore.avg_steal_timer > (TICK_USEC << 12) / 8;
                         ^~~~~~~~~~~~~~~
                         steal_timer
   make[2]: *** [arch/s390/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +887 arch/s390/include/asm/kvm_host.h

   883	
   884	static inline bool kvm_arch_no_poll(void)
   885	{
   886		/* do not poll with more than 12.5% steal */
 > 887		return S390_lowcore.avg_steal_timer > (TICK_USEC << 12) / 8;
   888	}
   889	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux