* [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
@ 2016-09-14 20:41 kbuild test robot
2016-09-14 20:47 ` Jon Derrick
0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2016-09-14 20:41 UTC (permalink / raw)
To: Jon Derrick; +Cc: kbuild-all, linux-pci, Bjorn Helgaas, Keith Busch
[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-vmd
head: e8debf9c6734726d4fcc5aae5bee48e5e2fcc9c6
commit: b500e7733fd77bd282caf2f218f2d281c4bdb202 [2/4] x86/PCI: VMD: Convert to use pci_alloc_irq_vectors() API
config: i386-randconfig-x014-201637 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout b500e7733fd77bd282caf2f218f2d281c4bdb202
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
arch/x86/pci/vmd.c: In function 'vmd_probe':
>> arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared (first use in this function)
PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
^~~~~~~~~~~~
arch/x86/pci/vmd.c:674:6: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/pci/vmd.c:674:21: error: 'PCI_IRQ_AFFINITY' undeclared (first use in this function)
PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
^~~~~~~~~~~~~~~~
vim +/PCI_IRQ_MSIX +674 arch/x86/pci/vmd.c
668
669 vmd->msix_count = pci_msix_vec_count(dev);
670 if (vmd->msix_count < 0)
671 return -ENODEV;
672
673 vmd->msix_count = pci_alloc_irq_vectors(dev, 1, vmd->msix_count,
> 674 PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
675 if (vmd->msix_count < 0)
676 return vmd->msix_count;
677
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 26324 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
2016-09-14 20:41 [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared kbuild test robot
@ 2016-09-14 20:47 ` Jon Derrick
2016-09-14 22:30 ` Bjorn Helgaas
0 siblings, 1 reply; 6+ messages in thread
From: Jon Derrick @ 2016-09-14 20:47 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-pci, Bjorn Helgaas, Keith Busch
Fortunately these symbols are resolved as of v4.8-rc4
On Thu, Sep 15, 2016 at 04:41:20AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-vmd
> head: e8debf9c6734726d4fcc5aae5bee48e5e2fcc9c6
> commit: b500e7733fd77bd282caf2f218f2d281c4bdb202 [2/4] x86/PCI: VMD: Convert to use pci_alloc_irq_vectors() API
> config: i386-randconfig-x014-201637 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
> git checkout b500e7733fd77bd282caf2f218f2d281c4bdb202
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> arch/x86/pci/vmd.c: In function 'vmd_probe':
> >> arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared (first use in this function)
> PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> ^~~~~~~~~~~~
> arch/x86/pci/vmd.c:674:6: note: each undeclared identifier is reported only once for each function it appears in
> >> arch/x86/pci/vmd.c:674:21: error: 'PCI_IRQ_AFFINITY' undeclared (first use in this function)
> PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> ^~~~~~~~~~~~~~~~
>
> vim +/PCI_IRQ_MSIX +674 arch/x86/pci/vmd.c
>
> 668
> 669 vmd->msix_count = pci_msix_vec_count(dev);
> 670 if (vmd->msix_count < 0)
> 671 return -ENODEV;
> 672
> 673 vmd->msix_count = pci_alloc_irq_vectors(dev, 1, vmd->msix_count,
> > 674 PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> 675 if (vmd->msix_count < 0)
> 676 return vmd->msix_count;
> 677
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
2016-09-14 20:47 ` Jon Derrick
@ 2016-09-14 22:30 ` Bjorn Helgaas
2016-09-14 22:50 ` Keith Busch
0 siblings, 1 reply; 6+ messages in thread
From: Bjorn Helgaas @ 2016-09-14 22:30 UTC (permalink / raw)
To: Jon Derrick
Cc: kbuild test robot, kbuild-all, linux-pci, Bjorn Helgaas, Keith Busch
On Wed, Sep 14, 2016 at 02:47:02PM -0600, Jon Derrick wrote:
> Fortunately these symbols are resolved as of v4.8-rc4
Can you point me to the commit that adds them? I don't really want to
rebase all my branches to -rc4, but maybe I should. I'm pretty
unsophisticated in my git usage.
> On Thu, Sep 15, 2016 at 04:41:20AM +0800, kbuild test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-vmd
> > head: e8debf9c6734726d4fcc5aae5bee48e5e2fcc9c6
> > commit: b500e7733fd77bd282caf2f218f2d281c4bdb202 [2/4] x86/PCI: VMD: Convert to use pci_alloc_irq_vectors() API
> > config: i386-randconfig-x014-201637 (attached as .config)
> > compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> > reproduce:
> > git checkout b500e7733fd77bd282caf2f218f2d281c4bdb202
> > # save the attached .config to linux build tree
> > make ARCH=i386
> >
> > All errors (new ones prefixed by >>):
> >
> > arch/x86/pci/vmd.c: In function 'vmd_probe':
> > >> arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared (first use in this function)
> > PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> > ^~~~~~~~~~~~
> > arch/x86/pci/vmd.c:674:6: note: each undeclared identifier is reported only once for each function it appears in
> > >> arch/x86/pci/vmd.c:674:21: error: 'PCI_IRQ_AFFINITY' undeclared (first use in this function)
> > PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> > ^~~~~~~~~~~~~~~~
> >
> > vim +/PCI_IRQ_MSIX +674 arch/x86/pci/vmd.c
> >
> > 668
> > 669 vmd->msix_count = pci_msix_vec_count(dev);
> > 670 if (vmd->msix_count < 0)
> > 671 return -ENODEV;
> > 672
> > 673 vmd->msix_count = pci_alloc_irq_vectors(dev, 1, vmd->msix_count,
> > > 674 PCI_IRQ_MSIX | PCI_IRQ_AFFINITY);
> > 675 if (vmd->msix_count < 0)
> > 676 return vmd->msix_count;
> > 677
> >
> > ---
> > 0-DAY kernel test infrastructure Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
2016-09-14 22:50 ` Keith Busch
@ 2016-09-14 22:47 ` Jon Derrick
2016-09-20 19:32 ` Bjorn Helgaas
1 sibling, 0 replies; 6+ messages in thread
From: Jon Derrick @ 2016-09-14 22:47 UTC (permalink / raw)
To: Keith Busch
Cc: Bjorn Helgaas, kbuild test robot, kbuild-all, linux-pci, Bjorn Helgaas
On Wed, Sep 14, 2016 at 06:50:49PM -0400, Keith Busch wrote:
> On Wed, Sep 14, 2016 at 05:30:16PM -0500, Bjorn Helgaas wrote:
> > On Wed, Sep 14, 2016 at 02:47:02PM -0600, Jon Derrick wrote:
> > > Fortunately these symbols are resolved as of v4.8-rc4
> >
> > Can you point me to the commit that adds them? I don't really want to
> > rebase all my branches to -rc4, but maybe I should. I'm pretty
> > unsophisticated in my git usage.
>
> If it's easier to get it from the pci repo, the commit is also currently
> in your 'for-linus' branch:
>
> https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=4fe0d154880bb6eb833cbe84fa6f385f400f0b9c
Thanks Keith! Just tested and it looks like that was all that was needed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
2016-09-14 22:30 ` Bjorn Helgaas
@ 2016-09-14 22:50 ` Keith Busch
2016-09-14 22:47 ` Jon Derrick
2016-09-20 19:32 ` Bjorn Helgaas
0 siblings, 2 replies; 6+ messages in thread
From: Keith Busch @ 2016-09-14 22:50 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Jon Derrick, kbuild test robot, kbuild-all, linux-pci, Bjorn Helgaas
On Wed, Sep 14, 2016 at 05:30:16PM -0500, Bjorn Helgaas wrote:
> On Wed, Sep 14, 2016 at 02:47:02PM -0600, Jon Derrick wrote:
> > Fortunately these symbols are resolved as of v4.8-rc4
>
> Can you point me to the commit that adds them? I don't really want to
> rebase all my branches to -rc4, but maybe I should. I'm pretty
> unsophisticated in my git usage.
If it's easier to get it from the pci repo, the commit is also currently
in your 'for-linus' branch:
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=4fe0d154880bb6eb833cbe84fa6f385f400f0b9c
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared
2016-09-14 22:50 ` Keith Busch
2016-09-14 22:47 ` Jon Derrick
@ 2016-09-20 19:32 ` Bjorn Helgaas
1 sibling, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2016-09-20 19:32 UTC (permalink / raw)
To: Keith Busch
Cc: Jon Derrick, kbuild test robot, kbuild-all, linux-pci, Bjorn Helgaas
On Wed, Sep 14, 2016 at 06:50:49PM -0400, Keith Busch wrote:
> On Wed, Sep 14, 2016 at 05:30:16PM -0500, Bjorn Helgaas wrote:
> > On Wed, Sep 14, 2016 at 02:47:02PM -0600, Jon Derrick wrote:
> > > Fortunately these symbols are resolved as of v4.8-rc4
> >
> > Can you point me to the commit that adds them? I don't really want to
> > rebase all my branches to -rc4, but maybe I should. I'm pretty
> > unsophisticated in my git usage.
>
> If it's easier to get it from the pci repo, the commit is also currently
> in your 'for-linus' branch:
>
> https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=4fe0d154880bb6eb833cbe84fa6f385f400f0b9c
Thanks, I rebased pci/host-vmd to 4fe0d154880b ("PCI: Use positive flags in
pci_alloc_irq_vectors()"), which resolved the build problem.
Bjorn
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-09-20 19:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 20:41 [pci:pci/host-vmd 2/4] arch/x86/pci/vmd.c:674:6: error: 'PCI_IRQ_MSIX' undeclared kbuild test robot
2016-09-14 20:47 ` Jon Derrick
2016-09-14 22:30 ` Bjorn Helgaas
2016-09-14 22:50 ` Keith Busch
2016-09-14 22:47 ` Jon Derrick
2016-09-20 19:32 ` Bjorn Helgaas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.