[Skiboot] [PATCH] platforms/zz: Initialize PRD in skiboot

Ananth N Mavinakayanahalli ananth at linux.vnet.ibm.com
Fri Feb 24 11:46:29 AEDT 2017


On Thu, Feb 23, 2017 at 10:05:31PM +0530, Ananth N Mavinakayanahalli wrote:
> ... since PRD runs in host userspace for FSP based P9 systems.
> 
> Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
> ---
>  platforms/ibm-fsp/zz.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
> index 89d87b4..4d50799 100644
> --- a/platforms/ibm-fsp/zz.c
> +++ b/platforms/ibm-fsp/zz.c
> @@ -29,6 +29,9 @@
>  
>  static bool zz_probe(void)
>  {
> +	/* PRD runs in host userspace on P9 FSP platforms */
> +	prd_init();
> +
>  	/* FIXME: make this neater when the dust settles */
>  	if (dt_node_is_compatible(dt_root, "ibm,zz-1s2u") ||
>  	    dt_node_is_compatible(dt_root, "ibm,zz-1s4u") ||

This change is necessary, but not sufficient. V2 coming...

Ananth



More information about the Skiboot mailing list