linux-next: build failure after merge of the pci tree
Subsystems (2)
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from include/linux/kvm_host.h:20:0,
from arch/powerpc/kernel/asm-offsets.c:54:include/linux/msi.h:174:21: fatal error: asm/msi.h: No such file or directory
Caused by commit
f19eafec930f ("PCI: altera: Add Altera PCIe MSI driver")
I have disabled that driver for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 02:12:54 +1100
Subject: [PATCH] PCI: altera: disable MSI driver for now
--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/pci/host/Kconfig +1 -0
@@ -158,6 +158,7 @@ config PCIE_ALTERA config PCIE_ALTERA_MSI bool "Altera PCIe MSI feature" depends on PCI_MSI + depends on BROKEN select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe MSI support for the Altera FPGA.
Signature · 5 lines
2.6.1 -- Cheers, Stephen Rothwell [email protected]
Quoted 37 lines · Stephen Rothwell
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/kvm_host.h:20:0,
fromarch/powerpc/kernel/asm-offsets.c:54:include/linux/msi.h:174:21: fatal error:asm/msi.h: No such file or directoryCaused by commit
f19eafec930f("PCI: altera: Add Altera PCIe MSI driver")I have disabled that driver for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 02:12:54 +1100
Subject: [PATCH] PCI: altera: disable MSI driver for nowSigned-off-by Stephen Rothwell <[email protected]>--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-1@@ -158,6 +158,7 @@ config PCIE_ALTERA config PCIE_ALTERA_MSI bool "Altera PCIe MSI feature" depends on PCI_MSI + depends on BROKEN select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe MSI support for the Altera FPGA. --
Quoted 2 lines
2.6.1
Hi Bjorn
This driver depends on the asm/msi.h and not all architectures include the asm/msi.h.
We can fix this by adding "depends on ARM || NIOS2" to Kconfig, same as altera pcie driver. What do you think?
Thanks.
Regards
Ley Foon
________________________________
Confidentiality Notice.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.
Bjorn Helgaas
maintainerQuoted 42 lines · Ley Foon Tan
Quoted 37 lines · Stephen Rothwell
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/kvm_host.h:20:0,
fromarch/powerpc/kernel/asm-offsets.c:54:include/linux/msi.h:174:21: fatal error:asm/msi.h: No such file or directoryCaused by commit
f19eafec930f("PCI: altera: Add Altera PCIe MSI driver")I have disabled that driver for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 02:12:54 +1100
Subject: [PATCH] PCI: altera: disable MSI driver for nowSigned-off-by Stephen Rothwell <[email protected]>--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-1@@ -158,6 +158,7 @@ config PCIE_ALTERA config PCIE_ALTERA_MSI bool "Altera PCIe MSI feature" depends on PCI_MSI + depends on BROKEN select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe MSI support for the Altera FPGA. --Quoted 2 lines
2.6.1
Hi Bjorn
Quoted 4 lines
This driver depends on the
asm/msi.hand not all architectures include theasm/msi.h.
We can fix this by adding "depends on ARM || NIOS2" toKconfig, same as altera pcie driver. What do you think?
I don't think your driver depends on asm/msi.h because ARM doesn't have asm/msi.h either.
I think the best thing is to do this:
config PCIE_ALTERA_MSI
bool "Altera PCIe MSI feature"
depends on PCIE_ALTERA && PCI_MSI
That way we don't have to repeat the constraints from PCIE_ALTERA. This is the same strategy used by PCI_XGENE & PCI_XGENE_MSI.
Bjorn
Quoted 51 lines · Bjorn Helgaas
Quoted 42 lines · Ley Foon Tan
Quoted 37 lines · Stephen Rothwell
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/kvm_host.h:20:0,
fromarch/powerpc/kernel/asm-offsets.c:54:include/linux/msi.h:174:21: fatal error:asm/msi.h: No such file or directoryCaused by commit
f19eafec930f("PCI: altera: Add Altera PCIe MSI driver")I have disabled that driver for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 02:12:54 +1100
Subject: [PATCH] PCI: altera: disable MSI driver for nowSigned-off-by Stephen Rothwell <[email protected]>--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-1@@ -158,6 +158,7 @@ config PCIE_ALTERA config PCIE_ALTERA_MSI bool "Altera PCIe MSI feature" depends on PCI_MSI + depends on BROKEN select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe MSI support for the Altera FPGA. --Quoted 2 lines
2.6.1
Hi Bjorn
Quoted 4 lines
This driver depends on the
asm/msi.hand not all architectures include theasm/msi.h.
We can fix this by adding "depends on ARM || NIOS2" toKconfig, same as altera pcie driver. What do you think?I don't think your driver depends on
asm/msi.hbecause ARM doesn't haveasm/msi.heither.
Quoted 9 lines
I think the best thing is to do this:
config
PCIE_ALTERA_MSI
bool "Altera PCIe MSI feature"
depends onPCIE_ALTERA&&PCI_MSIThat way we don't have to repeat the constraints from
PCIE_ALTERA. This is the same strategy used byPCI_XGENE&PCI_XGENE_MSI.
Okay. Thanks for the fix.
Regards
Ley Foon
Quoted 39 lines · Stephen Rothwell
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this:
In file included from
include/linux/kvm_host.h:20:0,
fromarch/powerpc/kernel/asm-offsets.c:54:include/linux/msi.h:174:21: fatal error:asm/msi.h: No such file or directoryCaused by commit
f19eafec930f("PCI: altera: Add Altera PCIe MSI driver")I have disabled that driver for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Nov 2015 02:12:54 +1100
Subject: [PATCH] PCI: altera: disable MSI driver for nowSigned-off-by Stephen Rothwell <[email protected]>--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-0@@ -158,6 +158,7 @@ config PCIE_ALTERA config PCIE_ALTERA_MSI bool "Altera PCIe MSI feature" depends on PCI_MSI + depends on BROKEN select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe MSI support for the Altera FPGA.Signature · 1 line
2.6.1
Hi Bjorn
This driver depends on the asm/msi.h and not all architectures include the asm/msi.h.
We can fix this by adding "depends on ARM || NIOS2" to Kconfig, same as altera pcie driver. What do you think?
Thanks.
Regards
Ley Foon