On Mon, 4 Sep 2023, Krishna Chaitanya Chundru wrote:
On 8/17/2023 5:46 PM, Ilpo Järvinen wrote:Hi,
Hi all,I see we had support for only link speed changes here but we need to add
This series adds PCIe bandwidth controller (bwctrl) and associated PCIe
cooling driver to the thermal core side for limiting PCIe link speed
due to thermal reasons. PCIe bandwidth controller is a PCI express bus
port service driver. A cooling device is created for each port the
service driver finds if they support changing speeds.
support for
link width change also as bandwidth notification from PCIe supports both link
speed and link width.
Thanks for the comment. In case you mean that the changes in Link Width
should be reported correctly, they already are since the sysfs interface
reads them directly from LNKSTA register.
Or did you perhaps mean that Bandwidth Controller should support also
changing Link Width? If this is the case I don't know how it can be
realized so a pointer on how it can be achieved would be appreciated.