News: 0001587079

  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)

Intel Sends Out Initial Graphics Driver Patches For Multi-Device SVM

([Intel] 37 Minutes Ago Multi-Device Shared Virtual Memory)


As part of their [1]Project Battlematrix effort, Intel has been working on enhancing their Linux graphics driver support for multi-device usage scenarios with wanting to support up to eight Intel Arc Pro graphics cards per system to help with AI LLMs and other larger use-cases. The latest code posted from Intel engineers is their initial implementation of multi-device [2]Shared Virtual Memory (SVM) support.

For working on multi-device GPU compute and similar, initial patches were posted this weekend in beginning to lay the foundation for multi-device SVM handling. This follows [3]other Intel Xe kernel driver preparations for multi-device [4]pinned device memory for multi GPUs , and other Intel multi-device GPU driver patches in recent months.

This initial multi-device SVM support is built around PCI Express Peer-To-Peer (P2P) functionality. Intel engineer Thomas Hellström explained with Saturday's [5]15 patch series :

"This series aims at providing an initial implementation of multi-device SVM, where communitcation with peers (migration and direct execution out of peer memory) uses some form of fast interconnect. In this series we're using pcie p2p.

In a multi-device environment, the struct pages for device-private memory (the dev_pagemap) may take up a significant amount of system memory. We therefore want to provide a means of revoking / removing the dev_pagemaps not in use. In particular when a device is offlined, we want to block migrating *to* the device memory and migrate data already existing in the devices memory to system. The dev_pagemap then becomes unused and can be removed.

Removing and setting up a large dev_pagemap is also quite time-consuming, so removal of unused dev_pagemaps only happens on system memory pressure using a shrinker."

The code is now out for review. Intel's plans call for most of the Project Battlematrix software features to finish being wrapped up in Q4.



[1] https://www.phoronix.com/search/Project+Battlematrix

[2] https://www.phoronix.com/search/Shared+Virtual+Memory

[3] https://www.phoronix.com/news/Intel-Xe-Driver-Linux-6.17-Big

[4] https://www.phoronix.com/news/Intel-Pinned-Device-Memory

[5] https://lore.kernel.org/dri-devel/20251025120412.12262-1-thomas.hellstrom@linux.intel.com/



The people of Gideon have always believed that life is sacred. That
the love of life is the greatest gift ... We are incapable of
destroying or interfering with the creation of that which we love so
deeply -- life in every form from fetus to developed being.
-- Hodin of Gideon, "The Mark of Gideon", stardate 5423.4