• Dan Streetman's avatar
    powerpc: Add ICSWX instruction · edc424f8
    Dan Streetman authored
    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: default avatarDan Streetman <ddstreet@ieee.org>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    edc424f8
icswx.h 4.5 KB