On Thu, Apr 2, 2020 at 2:42 PM Michael Ellerman <mpe(a)ellerman.id.au> wrote:
"Alastair D'Silva" <alastair(a)d-silva.org> writes:
>> -----Original Message-----
>> From: Dan Williams <dan.j.williams(a)intel.com>
>> On Sun, Mar 29, 2020 at 10:23 PM Alastair D'Silva
>> > *snip*
>> Are OPAL calls similar to ACPI DSMs? I.e. methods for the OS to invoke
>> platform firmware services? What's Skiboot?
> Yes, OPAL is the interface to firmware for POWER. Skiboot is the open-source (and
only) implementation of OPAL.
In particular the tokens for calls are defined here:
And you can grep for the token to find the implementation:
I'm not sure I'd encourage anyone to read npu2-opencapi.c. I find it
hard enough to follow even with access to the workbooks.
There's an OPAL call API reference here: