[Skiboot] [PATCH] opal-prd: Insert powernv_flash module

Stewart Smith stewart at linux.vnet.ibm.com
Tue Apr 10 16:27:22 AEST 2018


Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> Explictly load powernv_flash module on BMC based system so that we are sure
> that flash device is created before starting opal-prd daemon.
>
> Note that I have replaced pnor_available() check with is_fsp_system(). As we
> want to load module on BMC system only. Also pnor_init has enough logic to
> detect flash device. Hence pnor_available() becomes redundant check.
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> CC: Jeremy Kerr <jeremy.kerr at au1.ibm.com>
> CC: Stewart Smith <stewart at linux.vnet.ibm.com>
> ---
>  external/opal-prd/opal-prd.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Thanks! Merged to master as of cb16e55a234b91fd42112904cff15094fbae680d.

I'm not sure if we should backport this to stable@ though? Probably should?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list