Le Wednesday 09 October 2013 à 15:53 +0200, Takashi Iwai a écrit :
At Wed, 09 Oct 2013 14:55:30 +0200,
Jean Delvare wrote:
Le Friday 04 October 2013 à 21:12 -0300, Cristian Rodríguez a écrit :
I am getting the message in $SUBJECT with current
lspci said that device is:
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express
Root Port 3 (rev 13)
I see the same with upstream kernel 3.12-rc3, same chipset but different
ports (1 and 7 for me.) I'll try rc4+ now.
No idea how to proceed further or if this
something to be concerned.
I have no idea either, but the message strongly suggests that something
needs to be done.
Does the patch below fix? Through a quick look at pcieport driver
code, there are two places calling pci_enable_device(), and this is
the one that may go out without calling pci_set_master().
I came up with the same fix and yes, it does remove the warning. However
I am not completely certain that this is the proper fix. It might be
better to disable the device if it has no capabilities, on the
assumption that it will be re-enabled if (and only if) needed. I'll
discuss it upstream.
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 31063ac..c2f02fd 100644
@@ -367,12 +367,12 @@ int pcie_port_device_register(struct pci_dev *dev)
/* Get and check PCI Express port services */
capabilities = get_port_device_capability(dev);
* Initialize service irqs. Don't use service devices that
* require interrupts if there is no way to generate them.
Suse L3 Support
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org