]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd7cf83fcaf1b1668201eae4cdd6e6fe7a2448654
treedbccede894d5824770c676ac1470a304d90e037b
parentd800ba1218799efb07b3d11a84f38bf05a94daf5
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