Re: [PATCH RFC v2 1/4] PCI: hotplug: Add support for disabling in-band presence

2019-02-21 Thread Alex_Gagniuc
On 2/21/19 1:20 AM, Lukas Wunner wrote: > > [EXTERNAL EMAIL] > > On Tue, Feb 19, 2019 at 07:20:27PM -0600, Alexandru Gagniuc wrote: >> @@ -846,6 +846,9 @@ struct controller *pcie_init(struct pcie_device *dev) >> if (pdev->is_thunderbolt) >> slot_cap |= PCI_EXP_SLTCAP_NCCS; >>

Re: [PATCH RFC v2 1/4] PCI: hotplug: Add support for disabling in-band presence

2019-02-20 Thread Lukas Wunner
On Tue, Feb 19, 2019 at 07:20:27PM -0600, Alexandru Gagniuc wrote: > @@ -846,6 +846,9 @@ struct controller *pcie_init(struct pcie_device *dev) > if (pdev->is_thunderbolt) > slot_cap |= PCI_EXP_SLTCAP_NCCS; > > + if (pdev->no_in_band_presence) > +

[PATCH RFC v2 1/4] PCI: hotplug: Add support for disabling in-band presence

2019-02-19 Thread Alexandru Gagniuc
The presence detect state (PDS) is normally a logical or of in-band and out-of-band presence. In PCIe 4.0, there is the option to disable in-band presence so that the PDS bit always reflects the state of the out-of-band presence. The recommendation of the PCIe spec is to disable in-band presence