Re: [PATCH 5/6] KVM: PPC: Book3S HV: Send IPI to host core to wake VCPU

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

 



Hi Suresh,

[auto build test ERROR on kvm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Suresh-Warrier/KVM-PPC-Book3S-HV-Optimize-wakeup-VCPU-from-H_IPI/20151030-081329
config: powerpc-defconfig (attached as .config)
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/kernel/smp.c: In function 'smp_ipi_demux':
>> arch/powerpc/kernel/smp.c:261:25: error: 'PPC_MSG_RM_HOST_ACTION' undeclared (first use in this function)
      if (all & IPI_MESSAGE(PPC_MSG_RM_HOST_ACTION))
                            ^
   arch/powerpc/kernel/smp.c:239:41: note: in definition of macro 'IPI_MESSAGE'
    #define IPI_MESSAGE(A) (1 << (24 - 8 * (A)))
                                            ^
   arch/powerpc/kernel/smp.c:261:25: note: each undeclared identifier is reported only once for each function it appears in
      if (all & IPI_MESSAGE(PPC_MSG_RM_HOST_ACTION))
                            ^
   arch/powerpc/kernel/smp.c:239:41: note: in definition of macro 'IPI_MESSAGE'
    #define IPI_MESSAGE(A) (1 << (24 - 8 * (A)))
                                            ^
--
   arch/powerpc/kvm/book3s_hv_rm_xics.c: In function 'icp_rm_set_vcpu_irq':
   arch/powerpc/kvm/book3s_hv_rm_xics.c:142:4: error: implicit declaration of function 'smp_muxed_ipi_rm_message_pass' [-Werror=implicit-function-declaration]
       smp_muxed_ipi_rm_message_pass(hcpu,
       ^
>> arch/powerpc/kvm/book3s_hv_rm_xics.c:143:7: error: 'PPC_MSG_RM_HOST_ACTION' undeclared (first use in this function)
          PPC_MSG_RM_HOST_ACTION);
          ^
   arch/powerpc/kvm/book3s_hv_rm_xics.c:143:7: note: each undeclared identifier is reported only once for each function it appears in
   cc1: all warnings being treated as errors

vim +/PPC_MSG_RM_HOST_ACTION +261 arch/powerpc/kernel/smp.c

   255			 * Must check for PPC_MSG_RM_HOST_ACTION messages
   256			 * before PPC_MSG_CALL_FUNCTION messages because when
   257			 * a VM is destroyed, we call kick_all_cpus_sync()
   258			 * to ensure that any pending PPC_MSG_RM_HOST_ACTION
   259			 * messages have completed before we free any VCPUs.
   260			 */
 > 261			if (all & IPI_MESSAGE(PPC_MSG_RM_HOST_ACTION))
   262				kvmppc_xics_ipi_action();
   263	#endif
   264			if (all & IPI_MESSAGE(PPC_MSG_CALL_FUNCTION))

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

Attachment: .config.gz
Description: Binary data


[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