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)
commit2be1d5d147955e6aea273dc73a9f0ae4510fd225
tree6fa069dda314fa1e913baa597a3c529633dec708
parentb4d37a7b6934c0c16930c73f43c08e9a6af22f1a
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