Skip to contentSkip to conversation

linux-next: build failure after merge of the pci tree

DISCUSSION Stephen Rothwell 4 participants 6 messages Aug 30, 2019 – Aug 31, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory
24 | #include <linux/pci-aspm.h>

      |          ^~~~~~~~~~~~~~~~~~

Caused by commit

81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

[+cc Krzysztof]

Quoted 8 lines · Stephen Rothwell

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory
24 | #include <linux/pci-aspm.h>

Quoted 7 lines
      |          ^~~~~~~~~~~~~~~~~~

Caused by commit

81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Thanks, Stephen.

I *could* fix this by removing that include in the merge, since the contents of linux/pci-aspm.h were moved into linux/pci.h by
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?id=7ce2e76a0420

But as far as I can tell, pcie-tegra194.c doesn't actually require
anything from linux/pci-aspm.h, so I'd rather amend the tegra194
commit https://git.kernel.org/cgit/linux/kernel/git/lpieralisi/pci.git/commit/?id=81564976b1a9
so it doesn't include pci-aspm.h in the first place.

Bjorn

#2 lore raw
Quoted 21 lines · Bjorn Helgaas

[+cc Krzysztof]

Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory

Quoted 8 lines
    24 | #include <linux/pci-aspm.h>
       |          ^~~~~~~~~~~~~~~~~~

Caused by commit

81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Thanks, Stephen.

Quoted 8 lines

I *could* fix this by removing that include in the merge, since the contents of linux/pci-aspm.h were moved into linux/pci.h by
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?id=7ce2e76a0420

But as far as I can tell, pcie-tegra194.c doesn't actually require
anything from linux/pci-aspm.h, so I'd rather amend the tegra194
commit https://git.kernel.org/cgit/linux/kernel/git/lpieralisi/pci.git/commit/?id=81564976b1a9
so it doesn't include pci-aspm.h in the first place.

Thanks Bjorn for the reply.
Yes. This header file is not required for now and can be removed. Is there any action required from my side for this?

Quoted 3 lines

Bjorn

#3 lore raw
Quoted 26 lines · Vidya Sagar
Quoted 25 lines · Bjorn Helgaas

[+cc Krzysztof]

Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory

Quoted 8 lines
    24 | #include <linux/pci-aspm.h>
       |          ^~~~~~~~~~~~~~~~~~

Caused by commit

81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Thanks, Stephen.

I *could* fix this by removing that include in the merge, since the contents of linux/pci-aspm.h were moved into linux/pci.h by
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?id=7ce2e76a0420

Quoted 7 lines
Quoted 4 lines

But as far as I can tell, pcie-tegra194.c doesn't actually require
anything from linux/pci-aspm.h, so I'd rather amend the tegra194
commit https://git.kernel.org/cgit/linux/kernel/git/lpieralisi/pci.git/commit/?id=81564976b1a9
so it doesn't include pci-aspm.h in the first place.

Thanks Bjorn for the reply.
Yes. This header file is not required for now and can be removed. Is there any action required from my side for this?

I updated my pci/tegra branch so that Bjorn can pull it.

Lorenzo

#4 lore raw
Quoted 32 lines · Lorenzo Pieralisi
Quoted 30 lines · Vidya Sagar
Quoted 29 lines · Bjorn Helgaas

[+cc Krzysztof]

Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory

Quoted 8 lines
    24 | #include <linux/pci-aspm.h>
       |          ^~~~~~~~~~~~~~~~~~

Caused by commit

81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Thanks, Stephen.

I *could* fix this by removing that include in the merge, since the contents of linux/pci-aspm.h were moved into linux/pci.h by
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?id=7ce2e76a0420

But as far as I can tell, pcie-tegra194.c doesn't actually require
anything from linux/pci-aspm.h, so I'd rather amend the tegra194
commit https://git.kernel.org/cgit/linux/kernel/git/lpieralisi/pci.git/commit/?id=81564976b1a9
so it doesn't include pci-aspm.h in the first place.

Quoted 5 lines
Quoted 3 lines

Thanks Bjorn for the reply.
Yes. This header file is not required for now and can be removed. Is there any action required from my side for this?

I updated my pci/tegra branch so that Bjorn can pull it.

I pulled it and updated my "next" branch, thanks!

#5 lore raw
In reply to Lorenzo Pieralisi
Quoted 31 lines · Lorenzo Pieralisi
Quoted 30 lines · Vidya Sagar
Quoted 29 lines · Bjorn Helgaas

[+cc Krzysztof]

Quoted 7 lines · Stephen Rothwell

Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/controller/dwc/pcie-tegra194.c:24:10: fatal error: linux/pci-aspm.h: No such file or directory

Quoted 8 lines
     24 | #include <linux/pci-aspm.h>
        |          ^~~~~~~~~~~~~~~~~~

Caused by commit

    81564976b1a9 ("PCI: tegra: Add Tegra194 PCIe support")

I have reverted that commit for todat.

Thanks, Stephen.

I *could* fix this by removing that include in the merge, since the contents of linux/pci-aspm.h were moved into linux/pci.h by
https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?id=7ce2e76a0420

But as far as I can tell, pcie-tegra194.c doesn't actually require
anything from linux/pci-aspm.h, so I'd rather amend the tegra194
commit https://git.kernel.org/cgit/linux/kernel/git/lpieralisi/pci.git/commit/?id=81564976b1a9
so it doesn't include pci-aspm.h in the first place.

Quoted 5 lines
Quoted 3 lines

Thanks Bjorn for the reply.
Yes. This header file is not required for now and can be removed. Is there any action required from my side for this?

I updated my pci/tegra branch so that Bjorn can pull it.

Thanks a lot Lorenzo and Bjorn.

- Vidya Sagar

Quoted 3 lines

Lorenzo