At Wed, 09 Oct 2013 14:55:30 +0200, Jean Delvare wrote:
Hi Cristian,
Le Friday 04 October 2013 à 21:12 -0300, Cristian Rodríguez a écrit :
I am getting the message in $SUBJECT with current kernel:HEAD
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(). Takashi --- diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c index 31063ac..c2f02fd 100644 --- a/drivers/pci/pcie/portdrv_core.c +++ b/drivers/pci/pcie/portdrv_core.c @@ -367,12 +367,12 @@ int pcie_port_device_register(struct pci_dev *dev) if (status) return status; + pci_set_master(dev); /* Get and check PCI Express port services */ capabilities = get_port_device_capability(dev); if (!capabilities) return 0; - pci_set_master(dev); /* * Initialize service irqs. Don't use service devices that * require interrupts if there is no way to generate them. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org