← Back to team overview

kernel-packages team mailing list archive

[Bug 1454687] Comment bridged from LTC Bugzilla

 

------- Comment From ddstreet@xxxxxxxxxx 2015-06-23 11:02 EDT-------
Patches are in Linus' tree:

ed70b47 crypto: nx - add hardware 842 crypto comp alg
b8e04187 crypto: nx - simplify pSeries nx842 driver
99182a42 crypto: nx - add PowerNV platform NX-842 driver
959e665 crypto: nx - add nx842 constraints
7011a12 crypto: nx - add NX-842 platform frontend driver
fdd05e4 crypto: nx - rename nx-842.c to nx-842-pseries.c
2062c5b crypto: 842 - change 842 alg to use software
2da572c lib: add software 842 compression/decompression
edc424f powerpc: Add ICSWX instruction
b130e7c powerpc: export of_get_ibm_chip_id function

additionally, these patches further improve NX-842 and are also in
Linus' tree:

c47d630 crypto: nx - add LE support to pSeries platform driver
2c6f6ea crypto: nx - replace NX842_MEM_COMPRESS with function
32be6d3 crypto: nx - move include/linux/nx842.h into drivers/crypto/nx/nx-842.h
3154de7 crypto: nx - fix nx-842 pSeries driver minimum buffer size
3e648cb crypto: nx - prevent nx 842 load if no hw driver
9358eac crypto: nx - remove 842-nx null checks
ca7fc7e lib: correct 842 decompress for 32 bit
f7ead7b lib: make lib/842 decompress functions static

------- Comment From ddstreet@xxxxxxxxxx 2015-06-23 16:17 EDT-------
Also, to enable NX-842 and zswap (which is the primary user of NX-842 in our case), please set:

CONFIG_CRYPTO_DEV_NX=y
CONFIG_CRYPTO_DEV_NX_COMPRESS=y
CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV=y
CONFIG_CRYPTO_DEV_NX_COMPRESS_PSERIES=y
CONFIG_CRYPTO_DEV_NX_COMPRESS_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_842_DECOMPRESS=y
CONFIG_ZSWAP=y
CONFIG_ZPOOL=y
CONFIG_ZBUD=y
CONFIG_ZSMALLOC=y

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1454687

Title:
  add NX 842 hw compression patches

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Please add/include the patches for PowerPC NX coprocessor 842 memory
  compression.  They're currently in Herbert Xu's upstream tree, and
  presumably he will send them up to Linus at the 4.2 merge window.

  You can find the commits at 
  git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git

  ed70b47 crypto: nx - add hardware 842 crypto comp alg
  b8e04187 crypto: nx - simplify pSeries nx842 driver
  99182a42 crypto: nx - add PowerNV platform NX-842 driver
  959e665 crypto: nx - add nx842 constraints
  7011a12 crypto: nx - add NX-842 platform frontend driver
  fdd05e4 crypto: nx - rename nx-842.c to nx-842-pseries.c
  2062c5b crypto: 842 - change 842 alg to use software
  2da572c lib: add software 842 compression/decompression
  edc424f powerpc: Add ICSWX instruction
  b130e7c powerpc: export of_get_ibm_chip_id function

  I'll update this when they are added to Linus' tree.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1454687/+subscriptions