linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: pci tree build failure
@ 2009-10-07  1:38 Stephen Rothwell
  2009-10-07  1:45 ` Tejun Heo
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2009-10-07  1:38 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Tejun Heo

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Hi Jesse,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "pci_set_cacheline_size" [drivers/pcmcia/pcmcia_core.ko] undefined!

Caused by commit 018bc96e8e27bfcafec9357ff370bf51241a7ea7 ("pccard:
configure CLS on attach") which neglected to EXPORT_SYMBOL
pci_set_cacheline_size.

I have used the version of the pci tree from next-20091006 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2010-01-27  6:49 Stephen Rothwell
  2010-01-27 17:31 ` Jesse Barnes
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2010-01-27  6:49 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel

Hi Jesse,

Today's linux-next build (powerpc allyesconfig) failed like this:

In file included from drivers/pci/pcie/pme/pcie_pme.c:22:
include/linux/pci-acpi.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_find_root_bridge_handle'

You seem to have lost the patch below which I have reapplied for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 18 Jan 2010 19:36:11 +1100
Subject: [PATCH] pci: PCIE_PME seems to depend on ACPI

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/pci/pcie/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index cf3c35f..b8b494b 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -49,4 +49,4 @@ config PCIEASPM_DEBUG
 
 config PCIE_PME
 	def_bool y
-	depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL
+	depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI
-- 
1.6.6

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2010-01-18  8:40 Stephen Rothwell
  2010-01-18 21:24 ` Rafael J. Wysocki
  2010-01-20  4:39 ` Jesse Barnes
  0 siblings, 2 replies; 49+ messages in thread
From: Stephen Rothwell @ 2010-01-18  8:40 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Rafael J. Wysocki, Shaohua Li

Hi Jesse,

Today's linux-next build (ppc64 allyesconfig) failed like this:

In file included from drivers/pci/pcie/pme/pcie_pme.c:22:
include/linux/pci-acpi.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acpi_find_root_bridge_handle'

This file was added in commit f3adb5a4f2e1dfdf9482af05481d0928a39477e8
("PCI PM: PCIe PME root port service driver") from the pci tree and seems
to depend on ACPI.  Maybe its building should depend on CONFIG_ACPI?

I added the following patch for today (I presume there is a better fix):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 18 Jan 2010 19:36:11 +1100
Subject: [PATCH] pci: PCIE_PME seems to depend on ACPI

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/pci/pcie/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index cf3c35f..b8b494b 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -49,4 +49,4 @@ config PCIEASPM_DEBUG
 
 config PCIE_PME
 	def_bool y
-	depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL
+	depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI
-- 
1.6.6

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2010-01-04 22:55 Stephen Rothwell
  2010-01-04 23:10 ` Matthew Wilcox
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2010-01-04 22:55 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Matthew Wilcox

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

Hi Jesse,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/pci/hotplug/rpaphp_core.c:433: error: unknown field 'get_max_bus_speed' specified in initializer
drivers/pci/hotplug/rpaphp_core.c:433: warning: excess elements in struct initializer
drivers/pci/hotplug/rpaphp_core.c:433: warning: (near initialization for 'rpaphp_hotplug_slot_ops')

Caused by commit 7227d60c98ad0e1af49c717a62515d74002dd754 ("PCI: Make
current and maximum bus speeds part of the PCI core").

I have used the version of the pci tree from next-20100104 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2009-07-15  1:45 Stephen Rothwell
  2009-07-15 16:09 ` Jesse Barnes
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2009-07-15  1:45 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Yinghai Lu, Jesse Brandeburg

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Hi Jesse,

Today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/pci/common.c:619: error: expected '}' before ';' token

Caused by commit 1c6804b093f5753c2a23aa36f31f66966035bd32 ("x86/PCI:
initialize PCI bus node numbers early").  This could not have been built
with CONFIG_NUMA set ...

I have used the version of the pci tree from next-20090714 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2009-06-30  2:07 Stephen Rothwell
  2009-06-30  2:13 ` Jesse Barnes
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2009-06-30  2:07 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, linux-kernel, Matthew Wilcox

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Hi Jesse,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "pci_claim_resource" [drivers/pcmcia/yenta_socket.ko] undefined!

Caused by commit 6bb04b65dbff5a5bb01617351dbb0af577084752 ("yenta: Use
pci_claim_resource").  yenta can be built as a module, but
pci_claim_resource is not exported ...

I have used the pci tree from next-20090629 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2009-03-23  1:49 Stephen Rothwell
  2009-03-25  1:21 ` Stephen Rothwell
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2009-03-23  1:49 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, Matthew Wilcox

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

Hi Jesse,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

arch/powerpc/kernel/msi.c: In function 'arch_msi_check_device':
arch/powerpc/kernel/msi.c:23: error: 'PCI_CAP_ID_MSI' undeclared (first use in this function)

Caused by commit 1c8d7b0a562da06d3ebe83f01b1ed553205d1ae4 ("PCI MSI: Add
support for multiple MSI").  PCI_CAP_ID_MSI is defined in
linux/pci_regs.h which is included by linux/pci.h, but neither is
included by arch/powerpc/kernel/msi.c.

I have used the version of the pci tree from next-20090320 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2008-10-22  2:39 Stephen Rothwell
  2008-10-22  3:47 ` Jesse Barnes
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2008-10-22  2:39 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next

Hi Jesse,

Today's linux-next build (x86_64 allmodconfig) failed like this:

usr/include/linux/pci.h:21: included file 'linux/io.h' is not exported

Caused by commit 4be3c3f680d40d60a1513dcf1a10c3779defcd73 ("PCI: include
io.h in pci.h so that ioremap_nocache is defined").

I applied the following patch.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 22 Oct 2008 13:33:43 +1100
Subject: [PATCH] pci: move include of io.h so it doesn't need to be exported

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/pci.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/pci.h b/include/linux/pci.h
index 955ab70..752def8 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -18,7 +18,6 @@
 #define LINUX_PCI_H
 
 #include <linux/pci_regs.h>	/* The pci register defines */
-#include <linux/io.h>
 
 /*
  * The PCI interface treats multi-function devices as independent
@@ -52,6 +51,7 @@
 #include <linux/kobject.h>
 #include <asm/atomic.h>
 #include <linux/device.h>
+#include <linux/io.h>
 
 /* Include the ID list */
 #include <linux/pci_ids.h>
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 49+ messages in thread
* linux-next: pci tree build failure
@ 2008-10-16  3:41 Stephen Rothwell
  2008-10-16  3:44 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2008-10-16  3:41 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, Benjamin Herrenschmidt

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

Hi Jesse,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/pci/probe.c: In function 'pci_create_legacy_files':
drivers/pci/probe.c:69: error: 'pci_read_legacy_io' undeclared (first use in this function)
drivers/pci/probe.c:70: error: 'pci_write_legacy_io' undeclared (first use in this function)
drivers/pci/probe.c:80: error: 'pci_mmap_legacy_mem' undeclared (first use in this function)

Direct cause (probably) is commit 913d3708831ec551ca8560ea2cc793f738df88d6
("powerpc/PCI: Add legacy PCI access via sysfs") which I have reverted.
Actually caused by the removal of commit
d965c04f27d4df28b1ce77b0aea6329c07a8e13d ("PCI: Add ability to mmap
legacy_io on some platforms") which the above commit depends on.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread
[parent not found: <20080717130924.edd5a501.sfr@canb.auug.org.au>]
* linux-next: pci tree build failure
@ 2008-07-08  1:40 Stephen Rothwell
  2008-07-08 14:54 ` Rafael J. Wysocki
  0 siblings, 1 reply; 49+ messages in thread
From: Stephen Rothwell @ 2008-07-08  1:40 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, Rafael J. Wysocki

Hi Jesse,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/pci/pci.c: In function 'pci_pm_init':
drivers/pci/pci.c:1248: error: implicit declaration of function 'device_set_wakeup_capable'

Caused by commit eb9d0fe40e313c0a74115ef456a2e43a6c8da72f ("PCI ACPI:
Rework PCI handling of wake-up").  I applied the patch below - which may
not be correct, but makes the build work.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

>From 2b2c4f28d7900f5d043960b94aaae177bc1adcd9 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 8 Jul 2008 11:24:37 +1000
Subject: [PATCH] pci: include linux/pm_wakeup.h for device_set_wakeup_capable

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/pci/pci.c         |    1 +
 include/linux/pm_wakeup.h |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index e632a58..3d92b71 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -17,6 +17,7 @@
 #include <linux/string.h>
 #include <linux/log2.h>
 #include <linux/pci-aspm.h>
+#include <linux/pm_wakeup.h>
 #include <asm/dma.h>	/* isa_dma_bridge_buggy */
 #include "pci.h"
 
diff --git a/include/linux/pm_wakeup.h b/include/linux/pm_wakeup.h
index 3af0c8d..0aae777 100644
--- a/include/linux/pm_wakeup.h
+++ b/include/linux/pm_wakeup.h
@@ -63,6 +63,8 @@ static inline void device_init_wakeup(struct device *dev, int val)
 	dev->power.can_wakeup = !!val;
 }
 
+static inline void device_set_wakeup_capable(struct device *dev, int val) { }
+
 static inline int device_can_wakeup(struct device *dev)
 {
 	return dev->power.can_wakeup;
-- 
1.5.6

^ permalink raw reply related	[flat|nested] 49+ messages in thread
[parent not found: <20080630142314.34654d3c.sfr@canb.auug.org.au>]
* linux-next: pci tree build failure
@ 2008-06-30  5:11 Stephen Rothwell
  0 siblings, 0 replies; 49+ messages in thread
From: Stephen Rothwell @ 2008-06-30  5:11 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-next, Greg KH, Alan Stern, Rafael J. Wysocki

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

[Resent due to failing to pass vger's filters]

Hi Jesse,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/usb/core/driver.c: In function 'do_unbind_rebind':
drivers/usb/core/driver.c:865: error: 'struct dev_pm_info' has no member named 'sleeping'

Due to commit 1eede070a59e1cc73da51e1aaa00d9ab86572cfc ("Introduce new
top level suspend and hibernation callbacks") from the pci tree (which
removed the sleeping field of the dev_pm_info structure) and commit
fafa0857b87640d4c297777d432174b8778ac4fd ("USB: Force unbinding of
drivers lacking reset_resume or other methods") from the usb tree which
adds a reference.

For now I have reverted commit fafa0857b87640d4c297777d432174b8778ac4fd
("USB: Force unbinding of drivers lacking reset_resume or other methods")
from the usb tree since that gives me a building tree without the pain of
trying to revert 1eede070a59e1cc73da51e1aaa00d9ab86572cfc (which has
several dependent commits).

A better solution would be nice (hint, hint).
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/


[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2010-01-28  6:14 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07  1:38 linux-next: pci tree build failure Stephen Rothwell
2009-10-07  1:45 ` Tejun Heo
2009-10-07 15:39   ` Jesse Barnes
  -- strict thread matches above, loose matches on Subject: below --
2010-01-27  6:49 Stephen Rothwell
2010-01-27 17:31 ` Jesse Barnes
2010-01-28  6:14   ` Stephen Rothwell
2010-01-18  8:40 Stephen Rothwell
2010-01-18 21:24 ` Rafael J. Wysocki
2010-01-19  2:35   ` Jesse Barnes
2010-01-19  3:19     ` Stephen Rothwell
2010-01-20  4:39 ` Jesse Barnes
2010-01-20  5:19   ` Stephen Rothwell
2010-01-04 22:55 Stephen Rothwell
2010-01-04 23:10 ` Matthew Wilcox
2010-01-04 23:48   ` Jesse Barnes
2010-01-05  3:41     ` Stephen Rothwell
2009-07-15  1:45 Stephen Rothwell
2009-07-15 16:09 ` Jesse Barnes
2009-07-15 23:46   ` Stephen Rothwell
2009-06-30  2:07 Stephen Rothwell
2009-06-30  2:13 ` Jesse Barnes
2009-06-30  2:24   ` Matthew Wilcox
2009-06-30 20:31     ` Jesse Barnes
2009-03-23  1:49 Stephen Rothwell
2009-03-25  1:21 ` Stephen Rothwell
2009-03-25  1:38   ` Jesse Barnes
2009-03-25  3:41     ` Stephen Rothwell
2009-03-25  4:30       ` Matthew Wilcox
2009-03-25 15:55         ` Jesse Barnes
2009-03-26  3:05           ` Stephen Rothwell
2009-03-26  3:37             ` Jesse Barnes
2009-03-26  4:54               ` Stephen Rothwell
2008-10-22  2:39 Stephen Rothwell
2008-10-22  3:47 ` Jesse Barnes
2008-10-16  3:41 Stephen Rothwell
2008-10-16  3:44 ` Benjamin Herrenschmidt
2008-10-16  4:23   ` Jesse Barnes
2008-10-16  4:28     ` Benjamin Herrenschmidt
2008-10-18 22:41       ` Jesse Barnes
2008-10-19  4:15         ` Stephen Rothwell
2008-10-19  4:30           ` Jesse Barnes
     [not found] <20080717130924.edd5a501.sfr@canb.auug.org.au>
2008-07-17 22:57 ` Rafael J. Wysocki
2008-07-18  6:09   ` Stephen Rothwell
2008-07-18  7:53     ` Ingo Molnar
2008-07-08  1:40 Stephen Rothwell
2008-07-08 14:54 ` Rafael J. Wysocki
     [not found] <20080630142314.34654d3c.sfr@canb.auug.org.au>
2008-06-30 14:11 ` Alan Stern
2008-07-02  2:11   ` Jesse Barnes
2008-06-30  5:11 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).