-
- Downloads
selftests/pcie_bwctrl: Create selftests
Create selftests for PCIe BW control through the PCIe cooling device sysfs interface. First, the BW control selftest finds the PCIe Port to test with. By default, the PCIe Port with the highest Link Speed is selected but another PCIe Port can be provided with -d parameter. The actual test steps the cur_state of the cooling device one-by-one from max_state to what the cur_state was initially. The speed change is confirmed by observing the current_link_speed for the corresponding PCIe Port. Link: https://lore.kernel.org/r/20241018144755.7875-10-ilpo.jarvinen@linux.intel.com Signed-off-by:Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- tools/testing/selftests/Makefile 1 addition, 0 deletionstools/testing/selftests/Makefile
- tools/testing/selftests/pcie_bwctrl/Makefile 2 additions, 0 deletionstools/testing/selftests/pcie_bwctrl/Makefile
- tools/testing/selftests/pcie_bwctrl/set_pcie_cooling_state.sh 122 additions, 0 deletions...s/testing/selftests/pcie_bwctrl/set_pcie_cooling_state.sh
- tools/testing/selftests/pcie_bwctrl/set_pcie_speed.sh 67 additions, 0 deletionstools/testing/selftests/pcie_bwctrl/set_pcie_speed.sh
Loading
Please register or sign in to comment