[Skiboot] [PATCH v2 1/2] mpipl: Delay MPIPL registration until OPAL init is complete

Oliver O'Halloran oohall at gmail.com
Fri Jul 3 15:37:47 AEST 2020


On Wed, Jun 17, 2020 at 5:16 PM Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
>
> If OPAL boot fails after MPIPL init (opal_mpipl_init()) then we call MPIPL
> boot instead of reboot. BMC is not aware of MPIPL. Hence it may result in
> continuous MPIPL loop (boot -> crash -> MPIPL -> boot).
>
> If OPAL boot fails (before loading kernel) then its better to call reboot.
> So that BMC can detect `n` number of boot failures (generally n = 3) and
> stop booting. That way we can avoid continuous loop.
>
> This patch moves MPIPL init to the end of init process (just before starting
> kernel). So that if we fail to boot OPAL we call normal reboot.
>
> Also this patch introduces new function to detect MPIPL is enabled or not
> (is_mpipl_enabled()). And in assert() path we check for this function
> instead of `dump` DT node. So that it will make sure we will not call
> MPIPL until opal_mpipl_init is complete.

Thanks, series merged as of 9f5374b46aab


More information about the Skiboot mailing list