]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Enhance opal message read interface
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Mon, 26 Aug 2019 06:57:00 +0000 (12:27 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Sep 2019 23:27:00 +0000 (09:27 +1000)
commit88cf2796914bb7d1fd57dd43b9a5e16c23f53cfa
tree6fa069dda314fa1e913baa597a3c529633dec708
parent2d93a0a91a521255697cb3ca45b62773c939bb40
powerpc/powernv: Enhance opal message read interface

Use "opal-msg-size" device tree property to allocate memory for
"opal_msg".

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[mpe: s/uint32_t/u32/ and mark opal_msg_size as __ro_after_init]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190826065701.8853-1-hegdevasant@linux.vnet.ibm.com
arch/powerpc/platforms/powernv/opal.c