Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Qualcomm QCE Driver On The Chopping Block With ~48x Slower Than Armv8 Crypto Extensions

Дата публикации: 24-07-2026 18:45:22

A few days back I wrote about upstream Linux kernel developers marking the Qualcomm crypto accelerator driver as "broken" and "harmful" due to its slow performance, history of bugs, and other limitations. Now this Qualcomm Crypto Engine "QCE" driver might be removed outright from the Linux kernel source tree after discovering it's even worse than anticipated...

Основное содержимое страницы с новостью.

LINUX SECURITY

A few days back I wrote about upstream Linux kernel developers marking the Qualcomm crypto accelerator driver as "broken" and "harmful" due to its slow performance, history of bugs, and other limitations. Now this Qualcomm Crypto Engine "QCE" driver might be removed outright from the Linux kernel source tree after discovering it's even worse than anticipated.

Linux kernel crypto expert Eric Biggers of Google is looking to remove the Qualcomm QCE driver outright and just not simply gate it behind the "BROKEN" Kconfig knob. The motivating factor now is that it's bee found that QCE is ~48x slower than the ARMv8 Crypto Extensions (ARMv8 CE) that are more aligned with proper Linux kernel use. Not only is QCE ~48x slower, but it also led to "actually consumes significantly *more* CPU cycles than doing the hashing directly on the CPU."

In which case assuming the findings are accurate completely make this driver a dud.

This kernel mailing list thread provides more details:

"sha256-lib (i.e. ARMv8 CE):

Wall-clock elapsed time: 0.10s
CPU time used: 0.10s
CPU time spent in hardirq context: 0.00s
CPU time spent in softirq context: 0.00s

sha256-qce:

Wall-clock elapsed time: 10.76s
CPU time used: 5.14s
CPU time spent in hardirq context: 0.77s
CPU time spent in softirq context: 2.31s

So sha256-qce is over 100 times slower and uses over 50 times more CPU than ARMv8 CE, over half of that in hardirq or softirq context.

This was even worse than what I got last time I tried this! So I tried rolling back your BAM locking patches:

Wall-clock elapsed time: 4.85s
CPU time used: 2.78s
CPU time spent in hardirq context: 0.55s
CPU time spent in softirq context: 0.94s

That's more in line with what I measured last time I tried this, but still atrocious. It's still far more CPU time used than just doing the hashing on the CPU, and much of it spent in hardirq and softirq contexts. The BAM locking just makes it even worse."

So with this patch sent out yesterday on the mailing list, Eric Biggers is proposing that all 3.5k lines of code making up the QCE driver simply be removed from the kernel. That kernel mailing list thread has led to some back and forth with at least one kernel developer wanting to keep the driver around and maintain it. But with the limited use of the driver at present, the discussion roped in Greg Kroah-Hartman for guidance and the discussion is ongoing over the feasibility of keeping this driver in the kernel or not. We'll see what happens.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Realtek RTL8723B/RTL8723BS Trying To Be Tacked On To The RTW88 Linux Driver010.0626-07-2026
2Google’s Massive Kernel Upgrade: Tensor Pixels Get a Performance Shot in the Arm (But Pixel 6 is Left Behind)2603-07-2026
3Fedora 45 Looks To Begin Phasing Out In-Kernel Crypto Userspace API014.2424-07-2026
4AMD Linux Graphics Driver Working To Clear Out All Of Its BUG()s0507-07-2026
5На kernel.org по ошибке удалили со всех зеркал архивы с кодом ядра0502-07-2026
6Linux 7.2-rc5 Released: "Once More We Have Quite A Massive -rc5"010.8626-07-2026
7HiZ Plane Optimization Merged For Intel Vulkan Linux Driver For Some Performance Benefit2710-07-2026
8How Linux Security Teams Spot Vulnerabilities Before CVEs Are Published0714-07-2026
9lib32-vulkan-broadcom x86_640116-07-2026
10Характеристики Snapdragon 4 Gen 6: новый GPU и быстрая память ...0720-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 7.54. Источник: www.phoronix.com.