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

Benjamin Herrenschmidt benh at au1.ibm.com
Fri Feb 24 19:45:20 AEDT 2017


On Fri, 2017-02-24 at 06:19 +0530, Ananth N Mavinakayanahalli wrote:
> -       if (fsp_present()) {
> -               /* todo: FSP implementation */
> -               queue_prd_msg = queue_prd_msg_nop;
> -       } else {
> -               queue_prd_msg = queue_prd_msg_hbrt;
> -               opal_register(OPAL_PRD_MSG, opal_prd_msg, 1);
> -       }
> +       /*
> +        * P9 FSP based systems work similar to the OpenPOWER
> +        * ones in that the PRD runs in host userspace. On such
> +        * systems, prd_init() gets called from the platform
> +        * probe callback and the setup for them is similar
> +        * to the OpenPOWER systems.
> +        */
> +       queue_prd_msg = queue_prd_msg_hbrt;
> +       opal_register(OPAL_PRD_MSG, opal_prd_msg, 1);
>  

What about the P8 FSP case ?

Cheers,
Ben.



More information about the Skiboot mailing list