News: 0001653377

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Posts Massive Patch Series For Enabling UALink In The Linux Kernel

([AMD] 113 Minutes Ago Ultra Accelerator Link)


Whether coincidental or intentional, AMD engineers tend to drop interesting, feature patches for the open-source/Linux space on Friday afternoons. Hitting the kernel mailing list minutes ago were two patch series sent out by AMDGPU maintainer Alex Deucher for introducing [1]UALink infrastructure.

Ultra Accelerator Link "UALink" is the open standard and high speed networking protocol for connecting GPUs and other AI accelerators within scale-up pods in the data center. UALink is designed to allow linking up to 1,024 accelerators in a single domain.

[2]

Sent out was the first patch series that comes in at [3]95 patches , about 7k lines of code. That adds in the core infrastructure and AMDGPU kernel graphics driver integration for UALink.

"Connected GPUs in a pod can directly access the [remote] memory on another GPU over UALink. Unlike RMDA, there is no copy involved; it is direct loads/stores over the fabric. Shared memory can only be accessed by a remote GPU if the memory was exported and the importer has been authorized. For the memory to be shared, it must be part of a unified physical address space shared between nodes. This address space is called NPA (Network Physical Address) space. This address space is partitioned between

the GPUs so that each GPU has it's own segment of the address space in which to export its memory. Each GPU maintains a dedicated set of page tables for their NPA space similar to GPUVM.

Exported memory is not pinned. The exporter may need to move memory or make it unavailable to the importers. This is handled via remote TLB shootdowns on the exporter in the case of TTM evictions or MMU notifiers and remote [presence] checks with retry on the importer.

To access remote memory, the driver can map NPA addresses into its per process GPUVM page tables just like local memory. Applications use opaque handles to represent remote memory. GPUs in a pod communicate with eachother directly to exchange NPA addresses between importers and exporters. If a node goes offline or is reset, their peers will clean up any remaining [references] that are lost when that happens."

The [4]second patch series is just three patches and exposes the new IOCTL interface and documentation around the UALink integration for memory import and export.

For readers the likely most interesting bit is the [5]documentation patch .

Great seeing this UALink Linux kernel integration work finally surfacing by AMD for their AMDGPU driver.



[1] https://www.phoronix.com/search/UALink

[2] https://www.phoronix.com/image-viewer.php?id=2026&image=amdgpu_ualink_lrg

[3] https://lists.freedesktop.org/archives/amd-gfx/2026-August/151200.html

[4] https://lore.kernel.org/dri-devel/20260821195224.809173-1-alexander.deucher@amd.com/

[5] https://lists.freedesktop.org/archives/amd-gfx/2026-August/151243.html



Roland was a warrior, from the land of the midnight sun,
With a Thompson gun for hire, fighting to be done.
The deal was made in Denmark, on a dark and stormy day,
So he set out for Biafra, to join the bloody fray.
Through sixty-six and seven, they fought the Congo war,
With their fingers on their triggers, knee deep in gore.
Days and nights they battled, the Bantu to their knees,
They killed to earn their living, and to help out the Congolese.
Roland the Thompson gunner...
His comrades fought beside him, Van Owen and the rest,
But of all the Thompson gunners, Roland was the best.
So the C.I.A decided, they wanted Roland dead,
That son-of-a-bitch Van Owen, blew off Roland's head.
Roland the headless Thompson gunner...
Roland searched the continent, for the man who'd done him in.
He found him in Mombasa, in a bar room drinking gin,
Roland aimed his Thompson gun, he didn't say a word,
But he blew Van Owen's body from there to Johannesburg.
The eternal Thompson gunner, still wandering through the night,
Now it's ten years later, but he stills keeps up the fight.
In Ireland, in Lebanon, in Palestine, in Berkeley,
Patty Hearst... heard the burst... of Roland's Thompson gun, and bought it.
-- Warren Zevon, "Roland the Headless Thompson Gunner"