[Skiboot] [PATCH V2] platforms/zz: Initialize PRD in skiboot
Ananth N Mavinakayanahalli
ananth at linux.vnet.ibm.com
Fri Feb 24 19:52:09 AEDT 2017
On Fri, Feb 24, 2017 at 07:45:20PM +1100, Benjamin Herrenschmidt wrote:
> 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 ?
We never get here since prd_init() doesn't get called. For the P9 case,
I am calling prd_init() from platform->probe().
In fact, more changes are needed since the IPOLL SCOM addresses have
changed in P9. Patches coming for that...
Ananth
More information about the Skiboot
mailing list