powerpc/powernv: Move opal_power_control_init() call in opal_init().
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Dec 24 00:28:02 AEDT 2018
On Thu, 2018-12-13 at 05:47:31 UTC, Mahesh J Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>
> opal_power_control_init() depends on opal message notifier to be
> initialized, which is done in opal_init()->opal_message_init(). But both
> these initialization are called through machine initcalls and it all
> depends on in which order they being called. So far these are called in
> correct order (may be we got lucky) and never saw any issue. But it is
> clearer to control initialization order explicitly by moving
> opal_power_control_init() into opal_init().
>
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/08fb726df13778a54592aaa1deea6a
cheers
More information about the Linuxppc-dev
mailing list