]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Move opal-api.h closer to the Skiboot version
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Feb 2015 09:01:54 +0000 (20:01 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:16 +0000 (18:50 +1100)
commitd440637cf627912eceaf35641cc711b64ca72dd2
treedbccede894d5824770c676ac1470a304d90e037b
parentc7ea80594f84a4283ea87a1bc7c45876795868df
powerpc/powernv: Move opal-api.h closer to the Skiboot version

This commit gets opal-api.h to mostly match the version in Skiboot as of
commit ea7d806ab0ba.

The exceptions are things which are not (currently) used in Linux.

Most of this is just whitespace and a few things moving around. I think
the diff is readable.

Also OpalMessageType became opal_msg_type, requiring a change in the
Linux code.

Finally Skiboot and Linux disagree on CAPI vs CXL, because CAPI means
something else in Linux. To handle that we just point the Linux wrapper,
which is named "cxl" to the OPAL token OPAL_PCI_SET_PHB_CAPI_MODE.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Stewart Smith <stewart@linux.vnet.ibm.com>
arch/powerpc/include/asm/opal-api.h
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c