From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rNSSP6sbczDqFh for ; Mon, 6 Jun 2016 18:25:25 +1000 (AEST) Received: from pps.filterd (m0075420.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u568OZB8036751 for ; Mon, 6 Jun 2016 04:25:23 -0400 Message-Id: <201606060825.u568OZB8036751@mx0a-001b2d01.pphosted.com> Received: from e28smtp06.in.ibm.com (e28smtp06.in.ibm.com [125.16.236.6]) by mx0b-001b2d01.pphosted.com with ESMTP id 23d39hqed4-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 06 Jun 2016 04:25:23 -0400 Received: from localhost by e28smtp06.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Jun 2016 13:55:19 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 172913940067 for ; Mon, 6 Jun 2016 13:55:16 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u568PAJW20775098 for ; Mon, 6 Jun 2016 13:55:10 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u568PAsp018438 for ; Mon, 6 Jun 2016 13:55:14 +0530 Subject: Re: [RESEND PATCH v2 2/6] PCI: Set PCI_BUS_FLAGS_MSI_REMAP if MSI controller enables IRQ remapping To: kbuild test robot References: <201606060500.cgRhY40o%fengguang.wu@intel.com> Cc: kvm@vger.kernel.org, aik@ozlabs.ru, linux-pci@vger.kernel.org, will.deacon@arm.com, paulus@samba.org, eric.auger@linaro.org, joro@8bytes.org, kevin.tian@intel.com, nikunj@linux.vnet.ibm.com, alistair@popple.id.au, gwshan@linux.vnet.ibm.com, alex.williamson@redhat.com, bhelgaas@google.com, zhong@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, David.Laight@ACULAB.COM, kbuild-all@01.org, warrier@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org From: Yongji Xie Date: Mon, 6 Jun 2016 16:25:18 +0800 MIME-Version: 1.0 In-Reply-To: <201606060500.cgRhY40o%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2016/6/6 5:11, kbuild test robot wrote: > Hi, > > [auto build test ERROR on vfio/next] > [also build test ERROR on v4.7-rc1 next-20160603] > [cannot apply to pci/next] > [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/Yongji-Xie/PCI-Add-a-new-PCI_BUS_FLAGS_MSI_REMAP-flag/20160530-215348 > base: https://github.com/awilliam/linux-vfio.git next > config: arm-allmodconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205 > 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=arm > > All errors (new ones prefixed by >>): > > drivers/pci/msi.c: In function 'pci_bus_msi_isolated': >>> drivers/pci/msi.c:1146:20: error: 'MSI_FLAG_IRQ_REMAPPING' undeclared (first use in this function) > if (info->flags & MSI_FLAG_IRQ_REMAPPING) > ^ > drivers/pci/msi.c:1146:20: note: each undeclared identifier is reported only once for each function it appears in > > vim +/MSI_FLAG_IRQ_REMAPPING +1146 drivers/pci/msi.c > > 1140 struct msi_domain_info *info; > 1141 > 1142 if (!domain) > 1143 return 0; > 1144 > 1145 info = msi_get_domain_info(domain); >> 1146 if (info->flags & MSI_FLAG_IRQ_REMAPPING) > 1147 return 1; > 1148 #endif > 1149 return 0; This fault is expected because this patch is based on patchset [1] which introduce flag MSI_FLAG_IRQ_REMAPPING. [1] https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1138820.html Thanks, Yongji