18–20 Sept 2024
Europe/Vienna timezone

Enabling PCIe TPH in Linux for Smart Data Cache Injection

Not scheduled
15m
VFIO/IOMMU/PCI MC VFIO/IOMMU/PCI MC

Speaker

Wei Huang

Description

PCIe standard TLP processing hints (TPH) allow steering tags (STs) to be attached to PCIe TLP headers to facilitate optimized processing of DMA write requests that target memory space. New AMD hardware, by leveraging TPH, will support smart data cache injection where DMA data will be prefetched into L2 cache of target CCXs rather than DRAM. These new technologies can potentially improve DMA by reducing latency, increasing performance, and/or saving the memory bandwidth.

This talk will review our design to enable the TPH support for PCIe devices in the Linux kernel. We also present kernel support for a new ACPI _DSM, available in the root complex, to provide STs for I/O devices. As a practical demonstration, we will show a real-world use case utilizing a Linux open-source network driver.

Primary author

Presentation materials

There are no materials yet.