Re: [PATCH 2/2] KVM: PPC: Book3S HV: Set process table for HPT guests on POWER9

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

 



Hi Paul,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on next-20161221]
[cannot apply to kvm-ppc/kvm-ppc-next v4.9]
[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/Paul-Mackerras/KVM-PPC-Book3S-HV-Add-userspace-interfaces-for-POWER9-MMU/20161221-192456
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/kvm/book3s_hv.c: In function 'kvmhv_configure_mmu':
>> arch/powerpc/kvm/book3s_hv.c:3682:28: error: 'PRTS_MASK' undeclared (first use in this function)
     if ((cfg->process_table & PRTS_MASK) > 24)
                               ^~~~~~~~~
   arch/powerpc/kvm/book3s_hv.c:3682:28: note: each undeclared identifier is reported only once for each function it appears in

vim +/PRTS_MASK +3682 arch/powerpc/kvm/book3s_hv.c

  3676	
  3677		/* GR (guest radix) bit in process_table field must match */
  3678		if (cfg->process_table & PATB_GR)
  3679			return -EINVAL;
  3680	
  3681		/* Process table size field must be reasonable, i.e. <= 24 */
> 3682		if ((cfg->process_table & PRTS_MASK) > 24)
  3683			return -EINVAL;
  3684	
  3685		kvm->arch.process_table = cfg->process_table;

---
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