1. 13 5月, 2015 12 次提交
  2. 11 5月, 2015 7 次提交
    • A
      crypto: qat - add driver version · 551d7ed2
      Allan, Bruce W 提交于
      Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      551d7ed2
    • D
      crypto: nx - add hardware 842 crypto comp alg · ed70b479
      Dan Streetman 提交于
      Add crypto compression alg for 842 hardware compression and decompression,
      using the alg name "842" and driver_name "842-nx".
      
      This uses only the PowerPC coprocessor hardware for 842 compression.  It
      also uses the hardware for decompression, but if the hardware fails it will
      fall back to the 842 software decompression library, so that decompression
      never fails (for valid 842 compressed buffers).  A header must be used in
      most cases, due to the hardware's restrictions on the buffers being
      specifically aligned and sized.
      
      Due to the header this driver adds, compressed buffers it creates cannot be
      directly passed to the 842 software library for decompression.  However,
      compressed buffers created by the software 842 library can be passed to
      this driver for hardware 842 decompression (with the exception of buffers
      containing the "short data" template, as lib/842/842.h explains).
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      ed70b479
    • D
      crypto: nx - simplify pSeries nx842 driver · b8e04187
      Dan Streetman 提交于
      Simplify the pSeries NX-842 driver: do not expect incoming buffers to be
      exactly page-sized; do not break up input buffers to compress smaller
      blocks; do not use any internal headers in the compressed data blocks;
      remove the software decompression implementation; implement the pSeries
      nx842_constraints.
      
      This changes the pSeries NX-842 driver to perform constraints-based
      compression so that it only needs to compress one entire input block at a
      time.  This removes the need for it to split input data blocks into
      multiple compressed data sections in the output buffer, and removes the
      need for any extra header info in the compressed data; all that is moved
      (in a later patch) into the main crypto 842 driver.  Additionally, the
      842 software decompression implementation is no longer needed here, as
      the crypto 842 driver will use the generic software 842 decompression
      function as a fallback if any hardware 842 driver fails.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      b8e04187
    • D
      crypto: nx - add PowerNV platform NX-842 driver · 99182a42
      Dan Streetman 提交于
      Add driver for NX-842 hardware on the PowerNV platform.
      
      This allows the use of the 842 compression hardware coprocessor on
      the PowerNV platform.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      99182a42
    • D
      crypto: nx - add nx842 constraints · 959e6659
      Dan Streetman 提交于
      Add "constraints" for the NX-842 driver.  The constraints are used to
      indicate what the current NX-842 platform driver is capable of.  The
      constraints tell the NX-842 user what alignment, min and max length, and
      length multiple each provided buffers should conform to.  These are
      required because the 842 hardware requires buffers to meet specific
      constraints that vary based on platform - for example, the pSeries
      max length is much lower than the PowerNV max length.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      959e6659
    • D
      crypto: nx - add NX-842 platform frontend driver · 7011a122
      Dan Streetman 提交于
      Add NX-842 frontend that allows using either the pSeries platform or
      PowerNV platform driver (to be added by later patch) for the NX-842
      hardware.  Update the MAINTAINERS file to include the new filenames.
      Update Kconfig files to clarify titles and descriptions, and correct
      dependencies.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      7011a122
    • D
      crypto: nx - rename nx-842.c to nx-842-pseries.c · fdd05e4b
      Dan Streetman 提交于
      Move the entire NX-842 driver for the pSeries platform from the file
      nx-842.c to nx-842-pseries.c.  This is required by later patches that
      add NX-842 support for the PowerNV platform.
      
      This patch does not alter the content of the pSeries NX-842 driver at
      all, it only changes the filename.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      fdd05e4b
  3. 28 4月, 2015 1 次提交
  4. 26 4月, 2015 2 次提交
  5. 23 4月, 2015 1 次提交
  6. 21 4月, 2015 17 次提交