[Skiboot] [PATCHv2 00/13] NX 842 PowerNV kernel driver

Dan Streetman ddstreet at ieee.org
Tue Mar 17 08:23:56 AEDT 2015


These are the patches to add support for the NX-842 coproc on PowerNV.

Stewart, you can use this patch set to test on a p7+ system with
the two latest skiboot patches I sent, to add p7+ support, and
locate the 842 node under the main power-nx nodes.

This still contains direct xscom r/w, but I'll replace that with
opal calls, and send a new review patchset.

The only change in this patch set since v1 is to use the new
nx nodes under the main power-nx nodes in the device tree.

This also includes a nx-842 selftest module, but that's pretty rough
so you can ignore it, I don't plan on sending it upstream (at least not
in its current condition).  The generic comp_selftest is in better shape.


Dan Streetman (13):
  export of_get_ibm_chip_id function
  export xscom read/write
  Add ICSWX instruction
  add software 842 decompression
  move nx-842.c to nx-842-pseries.c
  add NX-842 platform frontend driver
  add nx842 constraints
  add PowerNV platform NX-842 driver
  simplify pSeries nx842 driver
  remove LZO fallback from crypto 842
  rewrite crypto 842 to use nx842 constraints
  add crypto compression sefltest
  add nx-842 self test

 MAINTAINERS                           |    5 +-
 arch/powerpc/include/asm/icswx.h      |  184 ++++
 arch/powerpc/include/asm/ppc-opcode.h |   13 +
 arch/powerpc/kernel/prom.c            |    1 +
 arch/powerpc/platforms/powernv/opal.c |    2 +
 crypto/842.c                          |  477 ++++++++--
 crypto/Kconfig                        |   13 +-
 crypto/Makefile                       |    1 +
 crypto/comp_selftest.c                |  928 +++++++++++++++++++
 drivers/crypto/Kconfig                |    6 +-
 drivers/crypto/nx/Kconfig             |   47 +-
 drivers/crypto/nx/Makefile            |    6 +
 drivers/crypto/nx/nx-842-powernv.c    |  693 ++++++++++++++
 drivers/crypto/nx/nx-842-pseries.c    | 1126 +++++++++++++++++++++++
 drivers/crypto/nx/nx-842-test.c       |  728 +++++++++++++++
 drivers/crypto/nx/nx-842-xscom.h      |  265 ++++++
 drivers/crypto/nx/nx-842.c            | 1623 +++------------------------------
 drivers/crypto/nx/nx-842.h            |  131 +++
 include/linux/nx842.h                 |   17 +-
 include/linux/sw842.h                 |    7 +
 lib/842/842_decompress.c              |  413 +++++++++
 lib/842/Makefile                      |    1 +
 lib/Kconfig                           |    3 +
 lib/Makefile                          |    1 +
 24 files changed, 5055 insertions(+), 1636 deletions(-)
 create mode 100644 arch/powerpc/include/asm/icswx.h
 create mode 100644 crypto/comp_selftest.c
 create mode 100644 drivers/crypto/nx/nx-842-powernv.c
 create mode 100644 drivers/crypto/nx/nx-842-pseries.c
 create mode 100644 drivers/crypto/nx/nx-842-test.c
 create mode 100644 drivers/crypto/nx/nx-842-xscom.h
 create mode 100644 drivers/crypto/nx/nx-842.h
 create mode 100644 include/linux/sw842.h
 create mode 100644 lib/842/842_decompress.c
 create mode 100644 lib/842/Makefile

-- 
2.1.0



More information about the Skiboot mailing list