[Skiboot] [PATCH RFC 2/2] opal-prd: use get_ipoll_mask() callback

Jeremy Kerr jk at ozlabs.org
Fri May 5 11:28:15 AEST 2017

Hi Zane,

> What is static const uint64_t opal_prd_ipoll = 0xf000000000000000;? How
> is it used?

Once opal-prd has finished initialisation (including loading &
initialising HBRT), we send an "init" message to OPAL, telling it that
we're listening on the PRD channel for events.

That init message includes the IPOLL bits that should be enabled, to
define the events that we can handle. That's what opal_prd_ipoll is.

Existing opal-prd hard-codes that to 0xf00...00. This change allows HBRT
to define that mask instead, using the get_ipoll_events() callback.



More information about the Skiboot mailing list