lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7f9bf073f04d4ba6b0d98f6189d951bc@inspur.com>
Date: Fri, 28 Mar 2025 03:26:27 +0000
From: Bo Liu (刘波)-浪潮信息
	<liubo03@...pur.com>
To: "kristen.c.accardi@...el.com" <kristen.c.accardi@...el.com>,
	"vinicius.gomes@...el.com" <vinicius.gomes@...el.com>
CC: "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Dou zhi chong Dou (窦志冲) <douzhichong@...pur.com>
Subject: Intel IAA issue consultation

Hi Kristen:

We recently encountered issues when using Intel IAA (In-Memory Analytics Accelerator) for data decompression in the Linux kernel. Specifically, while using the iaa_crypto driver, decompression fails when processing large datasets composed of non-contiguous memory pages. Initially, we attempted to address this by using scatterlists (SGLs), but decompression still failed. After analyzing the iaa_crypto driver code, we discovered that ​non-contiguous pages require enabling IOMMU to map them into a single virtual contiguous memory block for the device. However, while this approach worked for small numbers of non-contiguous pages, it failed for larger quantities due to IOMMU limitations in mapping fragmented pages into a unified virtual address space.

We would like to consult with you

Is it possible to use iaa_crypto for decompression with ​numerous non-contiguous pages?
If yes, what modifications are required to resolve the IOMMU mapping constraints?

Thanks,
Bo Liu.

Download attachment "smime.p7s" of type "application/pkcs7-signature" (3777 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ