25 Oct, 2016

1 commit


11 May, 2015

1 commit

  • Change the crypto 842 compression alg to use the software 842 compression
    and decompression library. Add the crypto driver_name as "842-generic".
    Remove the fallback to LZO compression.

    Previously, this crypto compression alg attemped 842 compression using
    PowerPC hardware, and fell back to LZO compression and decompression if
    the 842 PowerPC hardware was unavailable or failed. This should not
    fall back to any other compression method, however; users of this crypto
    compression alg can fallback if desired, and transparent fallback tricks
    callers into thinking they are getting 842 compression when they actually
    get LZO compression - the failure of the 842 hardware should not be
    transparent to the caller.

    The crypto compression alg for a hardware device also should not be located
    in crypto/ so this is now a software-only implementation that uses the 842
    software compression/decompression library.

    Signed-off-by: Dan Streetman
    Signed-off-by: Herbert Xu

    Dan Streetman
     

24 Nov, 2014

1 commit


07 Sep, 2012

1 commit


01 Aug, 2012

1 commit

  • This patch add the 842 cryptographic API driver that
    submits compression requests to the 842 hardware compression
    accelerator driver (nx-compress).

    If the hardware accelerator goes offline for any reason
    (dynamic disable, migration, etc...), this driver will use LZO
    as a software failover for all future compression requests.
    For decompression requests, the 842 hardware driver contains
    a software implementation of the 842 decompressor to support
    the decompression of data that was compressed before the accelerator
    went offline.

    Signed-off-by: Robert Jennings
    Signed-off-by: Seth Jennings
    Signed-off-by: Herbert Xu

    Seth Jennings