On Thu, Aug 31, 2023 at 10:21:52AM +0800, Yang Shen wrote:
It's a pity to see that there is no user in the kernel of zlib-deflate.Perhaps you should try reconstructing the zlib header in your
However, there may still be hidden
users in the current kernel who may be using the zlib-deflate algorithm.
Such as zswap, it can use
user-specified algorithm. So there are still some benefits to be gained from
zlib hardware.
driver so that it becomes capable of handling "deflate" data as
is rather than adding the non-standard "zlib-deflate" algorithm?
There is no way of getting the checksum without decompressing
the data first but perhaps your hardware could ignore checksum
errors?
What's more, hisilicon zip driver also does other work besides supportingWe don't even have a generic "gzip" implementation so this should
the zlib-deflate:
1.Support gzip algorithm.
never have gone into the kernel.
2.Support a user space cdev hisi-zip which can accelerate user space processFeel free to resubmit this as a new driver but it doesn't belong
via uacce subsystem.
in drivers/crypto.
Cheers,