summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHans Zhang <18255117159@163.com>2026-04-07 21:04:48 +0800
committerManivannan Sadhasivam <mani@kernel.org>2026-07-15 15:11:05 +0200
commite1c1eb1d8912bd209845f1e7fc99925412fc5af8 (patch)
tree8e4f5aa339deee61215e47bcb596a7b076dcfc04 /scripts/Makefile.thinlto
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-stable-e1c1eb1d8912bd209845f1e7fc99925412fc5af8.tar.gz
linux-stable-e1c1eb1d8912bd209845f1e7fc99925412fc5af8.zip
PCI: Add public pcie_valid_speed() for shared validation
Extract the PCIe speed validation logic from bwctrl.c's static pcie_valid_speed() into a public static inline function in pci.h. This allows consistent speed range checks (2.5GT/s to 64.0GT/s) across multiple drivers and functions, avoiding duplicate code and ensuring validation consistency as per PCIe specifications. Signed-off-by: Hans Zhang <18255117159@163.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260407130450.1489318-2-18255117159@163.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions