]> 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)
commit145fdae0af048dae6bcf94c77fc9737f7e0957ce
treedbccede894d5824770c676ac1470a304d90e037b
parent7ba4327a8d2e5b4f3e978d04aeb235b1bd784084
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