mbox series

[v2,0/7] crypto: acomp - Add request chaining and virtual address support

Message ID cover.1741080140.git.herbert@gondor.apana.org.au (mailing list archive)
Headers show
Series crypto: acomp - Add request chaining and virtual address support | expand

Message

Herbert Xu March 4, 2025, 9:25 a.m. UTC
This patch series adds reqeust chaining and virtual address support
to the crypto_acomp interface.

Herbert Xu (7):
  crypto: api - Add cra_type->destroy hook
  crypto: scomp - Remove tfm argument from alloc/free_ctx
  crypto: acomp - Add request chaining and virtual addresses
  crypto: testmgr - Remove NULL dst acomp tests
  crypto: scomp - Remove support for most non-trivial destination SG
    lists
  crypto: scomp - Add chaining and virtual address support
  crypto: acomp - Move stream management into scomp layer

 crypto/842.c                           |   8 +-
 crypto/acompress.c                     | 208 ++++++++++++++++++++---
 crypto/algapi.c                        |   9 +
 crypto/compress.h                      |   2 -
 crypto/deflate.c                       |   4 +-
 crypto/internal.h                      |   6 +-
 crypto/lz4.c                           |   8 +-
 crypto/lz4hc.c                         |   8 +-
 crypto/lzo-rle.c                       |   8 +-
 crypto/lzo.c                           |   8 +-
 crypto/scompress.c                     | 226 +++++++++++++++----------
 crypto/testmgr.c                       |  29 ----
 crypto/zstd.c                          |   4 +-
 drivers/crypto/cavium/zip/zip_crypto.c |   6 +-
 drivers/crypto/cavium/zip/zip_crypto.h |   6 +-
 include/crypto/acompress.h             | 118 ++++++++++---
 include/crypto/internal/acompress.h    |  39 +++--
 include/crypto/internal/scompress.h    |  18 +-
 18 files changed, 488 insertions(+), 227 deletions(-)

Comments

Jonathan Cameron March 5, 2025, 1:46 a.m. UTC | #1
On Tue, 04 Mar 2025 17:25:01 +0800
Herbert Xu <herbert@gondor.apana.org.au> wrote:

> This patch series adds reqeust chaining and virtual address support
fwiw "request"

> to the crypto_acomp interface.
Giovanni Cabiddu March 5, 2025, 9:37 p.m. UTC | #2
On Tue, Mar 04, 2025 at 05:25:01PM +0800, Herbert Xu wrote:
> This patch series adds reqeust chaining and virtual address support
> to the crypto_acomp interface.

What is the target tree for this set? It doesn't cleanly apply to
cryptodev.

Thanks,
Herbert Xu March 6, 2025, 12:42 a.m. UTC | #3
On Wed, Mar 05, 2025 at 09:37:43PM +0000, Cabiddu, Giovanni wrote:
> 
> What is the target tree for this set? It doesn't cleanly apply to
> cryptodev.

It's based on the other two acomp patches in my queue:

https://patchwork.kernel.org/project/linux-crypto/list/

Cheers,
Ard Biesheuvel March 6, 2025, 8:15 a.m. UTC | #4
On Tue, 4 Mar 2025 at 10:25, Herbert Xu <herbert@gondor.apana.org.au> wrote:
>
> This patch series adds reqeust chaining and virtual address support
> to the crypto_acomp interface.
>
> Herbert Xu (7):
>   crypto: api - Add cra_type->destroy hook
>   crypto: scomp - Remove tfm argument from alloc/free_ctx
>   crypto: acomp - Add request chaining and virtual addresses
>   crypto: testmgr - Remove NULL dst acomp tests
>   crypto: scomp - Remove support for most non-trivial destination SG
>     lists
>   crypto: scomp - Add chaining and virtual address support
>   crypto: acomp - Move stream management into scomp layer
>

How does this v2 differ from the previous version?


>  crypto/842.c                           |   8 +-
>  crypto/acompress.c                     | 208 ++++++++++++++++++++---
>  crypto/algapi.c                        |   9 +
>  crypto/compress.h                      |   2 -
>  crypto/deflate.c                       |   4 +-
>  crypto/internal.h                      |   6 +-
>  crypto/lz4.c                           |   8 +-
>  crypto/lz4hc.c                         |   8 +-
>  crypto/lzo-rle.c                       |   8 +-
>  crypto/lzo.c                           |   8 +-
>  crypto/scompress.c                     | 226 +++++++++++++++----------
>  crypto/testmgr.c                       |  29 ----
>  crypto/zstd.c                          |   4 +-
>  drivers/crypto/cavium/zip/zip_crypto.c |   6 +-
>  drivers/crypto/cavium/zip/zip_crypto.h |   6 +-
>  include/crypto/acompress.h             | 118 ++++++++++---
>  include/crypto/internal/acompress.h    |  39 +++--
>  include/crypto/internal/scompress.h    |  18 +-
>  18 files changed, 488 insertions(+), 227 deletions(-)
>
> --
> 2.39.5
>
>
Giovanni Cabiddu March 6, 2025, 12:14 p.m. UTC | #5
On Thu, Mar 06, 2025 at 08:42:20AM +0800, Herbert Xu wrote:
> On Wed, Mar 05, 2025 at 09:37:43PM +0000, Cabiddu, Giovanni wrote:
> > 
> > What is the target tree for this set? It doesn't cleanly apply to
> > cryptodev.
> 
> It's based on the other two acomp patches in my queue:
> 
> https://patchwork.kernel.org/project/linux-crypto/list/
It is also dependent on `crypto: api - Move struct crypto_type into
internal.h`.

In case someone else wants to give it a go, this is the complete list of
dependencies:

  https://patchwork.kernel.org/project/linux-crypto/patch/Z71PHnpl0FeqChRE@gondor.apana.org.au/
  https://patchwork.kernel.org/project/linux-crypto/patch/aa2a2230a135b79b6f128d3a8beb21b49800e812.1740651138.git.herbert@gondor.apana.org.au/
  https://patchwork.kernel.org/project/linux-crypto/patch/bb32fbfe34c7f5f70dc5802d97e66ec88c470c66.1740651138.git.herbert@gondor.apana.org.au/

Regards,