powerpc/powernv: Add new opal message type
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Mon, 26 Aug 2019 06:57:01 +0000 (12:27 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Sep 2019 23:27:00 +0000 (09:27 +1000)
commit587164cd593c2cbdad376179f85159e31221989e
tree609a1b44413b4dac02a2d88f55641e45793bde35
parent2be1d5d147955e6aea273dc73a9f0ae4510fd225
powerpc/powernv: Add new opal message type

We have OPAL_MSG_PRD message type to pass prd related messages from
OPAL to `opal-prd`. It can handle messages upto 64 bytes. We have a
requirement to send bigger than 64 bytes of data from OPAL to
`opal-prd`. Lets add new message type (OPAL_MSG_PRD2) to pass bigger
data.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[mpe: Make the error string clear that it's the PRD2 event that failed]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190826065701.8853-2-hegdevasant@linux.vnet.ibm.com
arch/powerpc/include/asm/opal-api.h
arch/powerpc/platforms/powernv/opal-prd.c