Here, slot reset refers to any PCIe slot that implements or supportsIs that true even for root complex integrated end points? AOn 11/30/2017 2:27 AM, Jan Beulich wrote:On 30.11.17 at 15:15, <govinda.tatti@xxxxxxxxxx> wrote:
For legacy PCI/PCI-X, we can have multiple slots per bus but not withAccording to my understanding this contradicts the commentFor PCIe platforms, both slot and bus reset endup resetting all connectedOn 29.11.17 at 18:38, <govinda.tatti@xxxxxxxxxx> wrote:I don't follow: The scope of other devices/functions possibly
In the case of bus or slot reset, our goal is to reset connected PCIe
fabric/card/endpoint.
The connected card/endpoint can be multi-function device. So, same
walk-through and checking
is needed irrespective of type of reset being used.
affected by a reset depends on the type of reset, doesn't it?
device/functions on thesecondary bus (behind the root-port or
downstream-port).
ahead of pci_reset_slot(), which talks of multiple slots per bus.
In such a setup, I can't see why resetting on slot would affect
other slots on the same bus. At the same time the comment
says that the slot reset may resolve to a bus one when there's
just a single slot on the bus.
PCI-Express
(each link will be on a separate bus).
random system's lspci output doesn't seem to agree with what
you say. A typical example would be USB controllers all sitting
on bus 0, but having different slot numbers. You clearly won't
be able to ever bus-reset these, and if you checked all devices
on bus 0 you would then also not be able to slot-reset them.