]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add ICSWX instruction
authorDan Streetman <ddstreet@ieee.org>
Thu, 7 May 2015 17:49:13 +0000 (13:49 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 07:06:39 +0000 (15:06 +0800)
commitc7a633018fbf91be436fe369c0040312e9f67560
treed4e1464b76c91bc11258be1a60c3d0463fa03cd6
parentad8a080dc95be2ab94d731381d2e420b24062728
powerpc: Add ICSWX instruction

Add the asm ICSWX and ICSWEPX opcodes.  Add definitions for the
Coprocessor Request structures needed to use the icswx calls to
coprocessors.  Add icswx() function to perform the ICSWX asm
using the provided Coprocessor Command Word value and
Coprocessor Request Block structure.

This is required for communication with the NX-842 coprocessor on
a PowerNV system.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/include/asm/icswx.h [new file with mode: 0644]
arch/powerpc/include/asm/ppc-opcode.h