On 13. 08. 25, 8:32, Jiri Slaby wrote:
On 12. 08. 25, 19:25, Greg Kroah-Hartman wrote:
6.16-stable review patch. If anyone has any objections, please let me know.
From: Bo Liu (OpenAnolis) liubo03@inspur.com
[ Upstream commit 5e0bf36fd156b8d9b09f8481ee6daa6cdba1b064 ]
fix build err: ld.lld: error: undefined symbol: crypto_req_done referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a
ld.lld: error: undefined symbol: crypto_acomp_decompress referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_decompress) in archive vmlinux.a
ld.lld: error: undefined symbol: crypto_alloc_acomp referenced by decompressor_crypto.c fs/erofs/decompressor_crypto.o:(z_erofs_crypto_enable_engine) in archive vmlinux.a
Reported-by: kernel test robot lkp@intel.com Closes: https://lore.kernel.org/oe-kbuild-all/202507161032.QholMPtn- lkp@intel.com/ Fixes: b4a29efc5146 ("erofs: support DEFLATE decompression by using Intel QAT") Signed-off-by: Bo Liu (OpenAnolis) liubo03@inspur.com Link: https://lore.kernel.org/r/20250718033039.3609-1-liubo03@inspur.com Reviewed-by: Gao Xiang hsiangkao@linux.alibaba.com Signed-off-by: Gao Xiang hsiangkao@linux.alibaba.com Signed-off-by: Sasha Levin sashal@kernel.org
fs/erofs/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index 6beeb7063871..7b26efc271ee 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -147,6 +147,8 @@ config EROFS_FS_ZIP_ZSTD config EROFS_FS_ZIP_ACCEL bool "EROFS hardware decompression support" depends on EROFS_FS_ZIP + select CRYPTO + select CRYPTO_DEFLATE
This is not correct as it forces CRYPTO=y and CRYPTO_DEFLATE=y even if EROFS=m.
The upstream is bad, not only this stable patch.
-next is fixed by:
commit 8f11edd645782b767ea1fc845adc30e057f25184 Author: Geert Uytterhoeven geert+renesas@glider.be Date: Wed Jul 30 14:44:49 2025 +0200
erofs: Do not select tristate symbols from bool symbols
I suggest postponing this patch until the above is merged and picked too...
help Saying Y here includes hardware accelerator support for reading EROFS file systems containing compressed data. It gives better