<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/doc/opal-api, branch master</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2018-04-17T08:52:10+00:00</updated>
<entry>
<title>opal/hmi: Add documentation for opal_handle_hmi2 call</title>
<updated>2018-04-17T08:52:10+00:00</updated>
<author>
<name>Mahesh Salgaonkar</name>
<email>mahesh@linux.vnet.ibm.com</email>
</author>
<published>2018-04-16T17:34:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=c4fd54bf413e74146e74ed173b358b88f25ece3d'/>
<id>urn:sha1:c4fd54bf413e74146e74ed173b358b88f25ece3d</id>
<content type='text'>
Signed-off-by: Mahesh Salgaonkar &lt;mahesh@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>phb4: set PBCQ Tunnel BAR for tunneled operations</title>
<updated>2018-03-02T02:36:53+00:00</updated>
<author>
<name>Philippe Bergheaud</name>
<email>felix@linux.vnet.ibm.com</email>
</author>
<published>2018-02-21T12:31:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=0f3584d846629d5bc1832a1dc4663a1befe8c4b0'/>
<id>urn:sha1:0f3584d846629d5bc1832a1dc4663a1befe8c4b0</id>
<content type='text'>
P9 supports PCI tunneled operations (atomics and as_notify) that are
initiated by devices.

A subset of the tunneled operations require a response, that must be
sent back from the host to the device. For example, an atomic compare
and swap will return the compare status, as swap will only performed
in case of success.  Similarly, as_notify reports if the target thread
has been woken up or not, because the operation may fail.

To enable tunneled operations, a device driver must tell the host where
it expects tunneled operation responses, by setting the PBCQ Tunnel BAR
Response register with a specific value within the range of its BARs.

This register is currently initialized by enable_capi_mode(). But, as
tunneled operations may also operate in PCI mode, a new API is required
to set the PBCQ Tunnel BAR Response register, without switching to CAPI
mode.

This patch provides two new OPAL calls to get/set the PBCQ Tunnel
BAR Response register.

Note: as there is only one PBCQ Tunnel BAR register, shared between
all the devices connected to the same PHB, only one of these devices
will be able to use tunneled operations, at any time.

Signed-off-by: Philippe Bergheaud &lt;felix@linux.vnet.ibm.com&gt;
Reviewed-by: Frederic Barrat &lt;fbarrat@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>doc/opal-api: Document changes of adding interrupt-parent property under /ibm, opal/ipmi node on POWER9 and above.</title>
<updated>2018-03-02T02:36:53+00:00</updated>
<author>
<name>Pridhiviraj Paidipeddi</name>
<email>ppaidipe@linux.vnet.ibm.com</email>
</author>
<published>2018-03-01T07:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=8ea3ac76137be3f02d4131b36a66f6917190e384'/>
<id>urn:sha1:8ea3ac76137be3f02d4131b36a66f6917190e384</id>
<content type='text'>
Signed-off-by: Pridhiviraj Paidipeddi &lt;ppaidipe@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>doc/opal-api: Document using stdout-path property</title>
<updated>2018-03-02T02:27:01+00:00</updated>
<author>
<name>Pridhiviraj Paidipeddi</name>
<email>ppaidipe@linux.vnet.ibm.com</email>
</author>
<published>2018-03-01T17:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=28a414b3e4c54dff7c30a50cf017c950e24595c6'/>
<id>urn:sha1:28a414b3e4c54dff7c30a50cf017c950e24595c6</id>
<content type='text'>
Signed-off-by: Pridhiviraj Paidipeddi &lt;ppaidipe@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>npu2-opencapi: Add OpenCAPI OPAL API calls</title>
<updated>2018-03-02T02:17:54+00:00</updated>
<author>
<name>Frederic Barrat</name>
<email>fbarrat@linux.vnet.ibm.com</email>
</author>
<published>2018-03-01T07:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=cd8b82a8e83ed04206db0d820277b65cb2cf03bd'/>
<id>urn:sha1:cd8b82a8e83ed04206db0d820277b65cb2cf03bd</id>
<content type='text'>
Add three OPAL API calls that are required by the ocxl driver.

  - OPAL_NPU_SPA_SETUP

    The Shared Process Area (SPA) is a table containing one entry (a
    "Process Element") per memory context which can be accessed by the
    OpenCAPI device.

  - OPAL_NPU_SPA_CLEAR_CACHE

    The NPU keeps a cache of recently accessed memory contexts. When a
    Process Element is removed from the SPA, the cache for the link must be
    cleared.

  - OPAL_NPU_TL_SET

    The Transaction Layer specification defines several templates for
    messages to be exchanged on the link. During link setup, the host and
    device must negotiate what templates are supported on both sides and at
    what rates those messages can be sent.

Signed-off-by: Frederic Barrat &lt;fbarrat@linux.vnet.ibm.com&gt;
Signed-off-by: Andrew Donnellan &lt;andrew.donnellan@au1.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>opal-api: Re-jig OPAL API numbers because OpenCAPI kernel merge</title>
<updated>2018-02-21T03:41:21+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2018-02-21T03:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=e6272787ed96c9092a5116e2b15d211521ad6e61'/>
<id>urn:sha1:e6272787ed96c9092a5116e2b15d211521ad6e61</id>
<content type='text'>
74d656d219b98ef3b96f92439337aa6392a7577d added OPAL APIs to
kernel (and this commit is now in Linus' tree) that hadn't
yet made their way to OPAL.

Also, be slightly grumbly about it.

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>sensor-groups: occ: Add support to disable/enable sensor group</title>
<updated>2018-02-21T02:28:08+00:00</updated>
<author>
<name>Shilpasri G Bhat</name>
<email>shilpa.bhat@linux.vnet.ibm.com</email>
</author>
<published>2017-12-22T05:04:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=99505c03f49312c5cc7d40a90728b048857a1078'/>
<id>urn:sha1:99505c03f49312c5cc7d40a90728b048857a1078</id>
<content type='text'>
This patch adds a new opal call to enable/disable a sensor group. This
call is used to select the sensor groups that needs to be copied to
main memory by OCC at runtime.

Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
[stewart: rebase and bump OPAL API number]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>sensors: Support reading u64 sensor values</title>
<updated>2018-02-21T00:58:19+00:00</updated>
<author>
<name>Shilpasri G Bhat</name>
<email>shilpa.bhat@linux.vnet.ibm.com</email>
</author>
<published>2017-12-15T07:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=fa3494602a3e3effe9f222193453d67ccc0c0606'/>
<id>urn:sha1:fa3494602a3e3effe9f222193453d67ccc0c0606</id>
<content type='text'>
This patch adds support to read u64 sensor values. This also adds
changes to the core and the backend implementation code to make this
API as the base call. Host can use this new API to read sensors
upto 64bits.

This adds a list to store the pointer to the kernel u32 buffer, for
older kernels making async sensor u32 reads.

Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>core: Add support for quiescing OPAL</title>
<updated>2017-12-04T04:10:55+00:00</updated>
<author>
<name>Nicholas Piggin</name>
<email>npiggin@gmail.com</email>
</author>
<published>2017-11-29T05:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=0d84ea6bda03a00a1765dd7240a9e5231a537e96'/>
<id>urn:sha1:0d84ea6bda03a00a1765dd7240a9e5231a537e96</id>
<content type='text'>
Quiescing is ensuring all host controlled CPUs (except the current
one) are out of OPAL and prevented from entering. This can be use in
debug and shutdown paths, particularly with system reset sequences.

This patch adds per-CPU entry and exit tracking for OPAL calls, and
adds logic to "hold" or "reject" at entry time, if OPAL is quiesced.

An OPAL call is added, to expose the functionality to Linux, where it
can be used for shutdown, kexec, and before generating sreset IPIs for
debugging (so the debug code does not recurse into OPAL).

Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Document fsp-ipl-params to sp-ipl-params</title>
<updated>2017-11-10T04:33:05+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2017-11-10T04:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=be1379de6e8e92475733a3213b121d8e171cd7ed'/>
<id>urn:sha1:be1379de6e8e92475733a3213b121d8e171cd7ed</id>
<content type='text'>
Fixes: eb858339cae8240367c82e6c2cc139519dbddb26
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
</feed>
