Re: [PATCH v3 1/2] powerpc/powernv: Enhance opal message read interface

2019-08-22 Thread Vasant Hegde
On 8/22/19 9:06 PM, Vasant Hegde wrote: On 8/22/19 11:21 AM, Oliver O'Halloran wrote: On Wed, 2019-08-21 at 13:43 +0530, Vasant Hegde wrote: Use "opal-msg-size" device tree property to allocate memory for "opal_msg". Cc: Mahesh Salgaonkar Cc: Jeremy Kerr Signed-off-by: Vasant Hegde --- Chan

Re: [PATCH v3 1/2] powerpc/powernv: Enhance opal message read interface

2019-08-22 Thread Vasant Hegde
On 8/22/19 11:21 AM, Oliver O'Halloran wrote: On Wed, 2019-08-21 at 13:43 +0530, Vasant Hegde wrote: Use "opal-msg-size" device tree property to allocate memory for "opal_msg". Cc: Mahesh Salgaonkar Cc: Jeremy Kerr Signed-off-by: Vasant Hegde --- Changes in v3: - Call BUG_ON, if we fail t

Re: [PATCH v3 1/2] powerpc/powernv: Enhance opal message read interface

2019-08-21 Thread Oliver O'Halloran
On Wed, 2019-08-21 at 13:43 +0530, Vasant Hegde wrote: > Use "opal-msg-size" device tree property to allocate memory for "opal_msg". > > Cc: Mahesh Salgaonkar > Cc: Jeremy Kerr > Signed-off-by: Vasant Hegde > --- > Changes in v3: > - Call BUG_ON, if we fail to allocate memory during init. >

[PATCH v3 1/2] powerpc/powernv: Enhance opal message read interface

2019-08-21 Thread Vasant Hegde
Use "opal-msg-size" device tree property to allocate memory for "opal_msg". Cc: Mahesh Salgaonkar Cc: Jeremy Kerr Signed-off-by: Vasant Hegde --- Changes in v3: - Call BUG_ON, if we fail to allocate memory during init. -Vasant arch/powerpc/platforms/powernv/opal.c | 29 ++--