-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
- Loading branch information
1 parent
6f0bb48
commit 3baffee
Showing
5 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
.. _OPAL_INT_GET_XIRR: | ||
|
||
OPAL_INT_GET_XIRR | ||
================= | ||
:: | ||
|
||
int64_t opal_xive_get_xirr(uint32_t *out_xirr, bool just_poll) | ||
.. code-block:: c | ||
#define OPAL_INT_GET_XIRR 122 | ||
**Not yet implemented.** | ||
int64_t opal_int_get_xirr(uint32_t *out_xirr, bool just_poll); | ||
Modelled on the PAPR call. | ||
|
||
For P9 and above systems where host doesn't know about interrupt controller. | ||
An OS can instead make OPAL calls for XICS emulation. | ||
|
||
For an OS to use this OPAL call, an ``ibm,opal-intc`` compatible device must | ||
exist in the device tree. If OPAL does not create such a device, the host | ||
OS MUST NOT use this call. | ||
exist in the device tree (see :ref:`xive-device-tree`). If OPAL does not create | ||
such a device, the host OS MUST NOT use this call. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
.. _OPAL_INT_SET_CPPR: | ||
|
||
OPAL_INT_SET_CPPR | ||
================= | ||
:: | ||
|
||
static int64_t opal_xive_set_cppr(uint8_t cppr) | ||
.. code-block:: c | ||
#define OPAL_INT_SET_CPPR 123 | ||
**Not yet implemented.** | ||
static int64_t opal_int_set_cppr(uint8_t cppr); | ||
Modelled on the ``H_CPPR`` PAPR call. | ||
|
||
For P9 and above systems where host doesn't know about interrupt controller. | ||
An OS can instead make OPAL calls for XICS emulation. | ||
|
||
For an OS to use this OPAL call, an ``ibm,opal-intc`` compatible device must | ||
exist in the device tree. If OPAL does not create such a device, the host | ||
OS MUST NOT use this call. | ||
exist in the device tree (see :ref:`xive-device-tree`). If OPAL does not create | ||
such a device, the host OS MUST NOT use this call. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
.. _OPAL_INT_SET_MFRR: | ||
|
||
OPAL_INT_SET_MFRR | ||
================= | ||
:: | ||
|
||
static int64_t opal_xive_set_mfrr(uint32_t cpu, uint8_t mfrr) | ||
.. code-block:: c | ||
#define OPAL_INT_SET_MFRR 125 | ||
static int64_t opal_int_set_mfrr(uint32_t cpu, uint8_t mfrr); | ||
**Not yet implemented.** | ||
Modelled on the ``H_IPI`` PAPR call. | ||
|
||
For P9 and above systems where host doesn't know about interrupt controller. | ||
An OS can instead make OPAL calls for XICS emulation. | ||
|
||
For an OS to use this OPAL call, an ``ibm,opal-intc`` compatible device must | ||
exist in the device tree. If OPAL does not create such a device, the host | ||
OS MUST NOT use this call. | ||
exist in the device tree (see :ref:`xive-device-tree`). If OPAL does not create | ||
such a device, the host OS MUST NOT use this call. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
P9 XIVE Exploitation | ||
==================== | ||
|
||
.. _xive-device-tree: | ||
|
||
I - Device-tree updates | ||
----------------------- | ||
|