On 03/11/2016 23:53, Bjorn Helgaas wrote:
I haven't read the PTM spec yet so I don't know how it works. But in
general, I don't like having to tweak a setting all the way up the
hierarchy based on a leaf device. That makes it hard to handle
hotplug correctly, because obviously there may be many leaf devices
that share part of all of the upstream path.
This part in 6.22.3 in the PCIe 3.1 spec:
Software must not have the PTM Enable bit Set in the PTM Control
register on a Function associated with an Upstream Port unless the
associated Downstream Port on the Link already has the PTM Enable bit
Set in its associated PTM Control register.
Seems to suggest starting from the leaf device, I'm open to suggestions
on how to better do this.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html