News: 0001569177

  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 IDXD Accelerator Driver Cleaned Up For Some "Not So Happy Code Paths"

([Intel] 3 Hours Ago Memory Leaks & Other Fixes)


The [1]IDXD Linux kernel driver used for the Data Streaming Accelerator (DSA) support on recent Xeon processors is being cleaned up for some "not so happy code paths" after an Intel engineer uncovered memory leaks and other troubles with the open-source driver code.

Intel engineer Vinicius Costa Gomes took over earlier this year as [2]the new IDXD driver maintainer after the departure of the driver's former maintainer from the company. In going through the IDXD code for the DSA accelerators, Vinicius recently uncovered some "not so happy code paths" in a debugging kernel build that turned up some lockdep, kernel memory leak, and other issues. Plus a crash was also uncovered but not yet fixed.

There are [3]9 patches under review for cleaning up the IDXD driver and working its way toward the mainline kernel:

"During testing some not so happy code paths in a debugging (lockdep, kmemleak, etc) kernel, found a few issues.

There's still a crash that happens when doing a PCI unbind, but I don't have a patch at this time."

There is a fix for a crash when the event log is enabled, possible invalid memory access after a field level reset (FLR), flushing the workqueues on FLR, allowing DMA clients to empty the pending queue, fixing a memory leak when a workqueue is reset, fix leaking the event log memory, and other fixes.

This follows other unfortunate Intel accelerator driver happenings with [4]Linux 6.17 FSCRPT demoting Intel QAT usage due to being bug prone and slow. There was also [5]a second demotion of QAT in Linux 6.17 due to the Intel QuickAssist accelerator not paying off for kernel usage of SKCIPHER and AEAD algorithms.



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

[2] https://www.phoronix.com/news/Intel-Linux-Maintainer-Changes

[3] https://lore.kernel.org/lkml/20250804-idxd-fix-flr-on-kernel-queues-v3-v1-0-4e020fbf52c1@intel.com/

[4] https://www.phoronix.com/news/Intel-QAT-FSCRYPT-Linux-6.17

[5] https://www.phoronix.com/news/Intel-QAT-Crypto-Linux-6.17



phoronix

Like you, I am frequently haunted by profound questions related to man's
place in the Scheme of Things. Here are just a few:

Q -- Is there life after death?
A -- Definitely. I speak from personal experience here. On New
Year's Eve, 1970, I drank a full pitcher of a drink called "Black Russian",
then crawled out on the lawn and died within a matter of minutes, which was
fine with me because I had come to realize that if I had lived I would have
spent the rest of my life in the grip of the most excruciatingly painful
headache. Thanks to the miracle of modern orange juice, I was brought back
to life several days later, but in the interim I was definitely dead. I
guess my main impression of the afterlife is that it isn't so bad as long
as you keep the television turned down and don't try to eat any solid foods.
-- Dave Barry