_2025-05-23_15:57:08_2025-05-23 15:57:08
11. TPH Support — The Linux Kernel documentation
原文链接失效了?试试备份
TAGs:设备与驱动 PCI_PCIe TPH
Summary: The Linux Kernel's 6.15.0-rc7 documentation introduces TPH (TLP Processing Hints), a PCIe feature that enables endpoint devices to provide optimization hints for memory space requests. These hints, called Steering Tags (STs), are embedded in the requester's TLP headers, allowing the system hardware to manage resources more efficiently. To use TPH, the Linux kernel must be built with the CONFIG_PCIE_TPH option, and the driver must enable and manage TPH support using provided APIs. The driver can retrieve and write Steering Tags for target memories associated with specific CPUs. TPH is optional and can be enabled or disabled system-wide using the "notph" kernel command line option.Linux 内核的 6.15.0-rc7 文档介绍了 TPH(TLP 处理提示),这是一项 PCIe 功能,使端点设备能够为内存空间请求提供优化提示。这些提示称为转向标签 (ST),嵌入在请求者的 TLP 标头中,使系统硬件能够更有效地管理资源。要使用 TPH,必须使用 CONFIG_PCIE_TPH 选项构建 Linux 内核,并且驱动程序必须使用提供的 API 启用和管理 TPH 支持。驾驶员可以检索和写入与特定 CPU 关联的目标内存的转向标签。TPH 是可选的,可以使用 “notph” 内核命令行选项在系统范围内启用或禁用。