search for: pci_device_is_present

Displaying 5 results from an estimated 5 matches for "pci_device_is_present".

2017 Mar 09
0
[PATCH 0/5] Thunderbolt GPU fixes
...newly attached replacement device. Also, MMIO > reads to removed devices return "all ones", which results in an infinite > loop e.g. in nouveau's nvkm_nsec(). > > The question is how to recognize device removal. One common method is to > read the vendor register with pci_device_is_present(), but this reports > a false positive if the device is present but in D3cold. A better method > is to let the PCIe hotplug driver recognize and cache device removal. > Keith Busch has developed patches which do exactly that, they're now at > v6 and fully reviewed by Christoph Hell...
2019 Nov 20
0
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...delay); > if (!pcie_wait_for_link_delay(dev, true, delay)) { > /* Did not train, no need to wait any further */ > @@ -4753,7 +4748,7 @@ void pci_bridge_wait_for_secondary_bus(struct pci_dev *dev) > } > > if (!pci_device_is_present(child)) { > - pci_dbg(child, "waiting additional %d ms to become accessible\n", delay); > + pci_info(child, "waiting additional %d ms to become accessible\n", delay); > msleep(delay); > } > } >
2019 Nov 20
1
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
..., + pci_info(dev, "waiting %d ms for downstream link, after activation\n", delay); if (!pcie_wait_for_link_delay(dev, true, delay)) { /* Did not train, no need to wait any further */ @@ -4753,7 +4748,7 @@ void pci_bridge_wait_for_secondary_bus(struct pci_dev *dev) } if (!pci_device_is_present(child)) { - pci_dbg(child, "waiting additional %d ms to become accessible\n", delay); + pci_info(child, "waiting additional %d ms to become accessible\n", delay); msleep(delay); } }
2019 Nov 20
4
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
On Wed, Nov 20, 2019 at 04:37:14PM +0100, Karol Herbst wrote: > On Wed, Nov 20, 2019 at 4:15 PM Mika Westerberg > <mika.westerberg at intel.com> wrote: > > > > On Wed, Nov 20, 2019 at 01:11:52PM +0100, Karol Herbst wrote: > > > On Wed, Nov 20, 2019 at 1:09 PM Mika Westerberg > > > <mika.westerberg at intel.com> wrote: > > > > > >
2017 Feb 24
6
[PATCH 0/5] Thunderbolt GPU fixes
...teardown or accessing a newly attached replacement device. Also, MMIO reads to removed devices return "all ones", which results in an infinite loop e.g. in nouveau's nvkm_nsec(). The question is how to recognize device removal. One common method is to read the vendor register with pci_device_is_present(), but this reports a false positive if the device is present but in D3cold. A better method is to let the PCIe hotplug driver recognize and cache device removal. Keith Busch has developed patches which do exactly that, they're now at v6 and fully reviewed by Christoph Hellwig but alas were no...