<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/include/asm/opal-api.h, branch linux-4.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-08-10T12:40:05Z</updated>
<entry>
<title>powerpc/powernv: Add support to clear sensor groups data</title>
<updated>2017-08-10T12:40:05Z</updated>
<author>
<name>Shilpasri G Bhat</name>
</author>
<published>2017-08-10T03:31:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf9571550f529335caa59f41827d180908759916'/>
<id>urn:sha1:bf9571550f529335caa59f41827d180908759916</id>
<content type='text'>
Adds support for clearing different sensor groups. OCC inband sensor
groups like CSM, Profiler, Job Scheduler can be cleared using this
driver. The min/max of all sensors belonging to these sensor groups
will be cleared.

Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv: Add support to set power-shifting-ratio</title>
<updated>2017-08-10T12:40:01Z</updated>
<author>
<name>Shilpasri G Bhat</name>
</author>
<published>2017-08-10T03:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e84b2d1f0f6a00b6476790f7bce6dcbffe91980'/>
<id>urn:sha1:8e84b2d1f0f6a00b6476790f7bce6dcbffe91980</id>
<content type='text'>
This patch adds support to set power-shifting-ratio which hints the
firmware how to distribute/throttle power between different entities
in a system (e.g CPU v/s GPU). This ratio is used by OCC for power
capping algorithm.

Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv: Add support for powercap framework</title>
<updated>2017-08-10T12:39:53Z</updated>
<author>
<name>Shilpasri G Bhat</name>
</author>
<published>2017-08-10T03:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb8b340de21e1c57e1c6d4f26ccc4af46a3ed559'/>
<id>urn:sha1:cb8b340de21e1c57e1c6d4f26ccc4af46a3ed559</id>
<content type='text'>
Adds a generic powercap framework to change the system powercap
inband through OPAL-OCC command/response interface.

Signed-off-by: Shilpasri G Bhat &lt;shilpa.bhat@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv: Enable PCI peer-to-peer</title>
<updated>2017-08-08T01:27:30Z</updated>
<author>
<name>Frederic Barrat</name>
</author>
<published>2017-08-04T09:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2552910084a5e12e280caf082ab01468e187a064'/>
<id>urn:sha1:2552910084a5e12e280caf082ab01468e187a064</id>
<content type='text'>
P9 has support for PCI peer-to-peer, enabling a device to write in the
MMIO space of another device directly, without interrupting the CPU.

This patch adds support for it on powernv, by adding a new API to be
called by drivers. The pnv_pci_set_p2p(...) call configures an
'initiator', i.e the device which will issue the MMIO operation, and a
'target', i.e. the device on the receiving side.

P9 really only supports MMIO stores for the time being but that's
expected to change in the future, so the API allows to define both
load and store operations.

  /* PCI p2p descriptor */
  #define OPAL_PCI_P2P_ENABLE           0x1
  #define OPAL_PCI_P2P_LOAD             0x2
  #define OPAL_PCI_P2P_STORE            0x4

  int pnv_pci_set_p2p(struct pci_dev *initiator, struct pci_dev *target,
                      u64 desc)

It uses a new OPAL call, as the configuration magic is done on the
PHBs by skiboot.

Signed-off-by: Frederic Barrat &lt;fbarrat@linux.vnet.ibm.com&gt;
Reviewed-by: Russell Currey &lt;ruscur@russell.cc&gt;
[mpe: Drop unrelated OPAL calls, s/uint64_t/u64/, minor formatting]
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv: Add IMC OPAL APIs</title>
<updated>2017-07-24T13:00:22Z</updated>
<author>
<name>Madhavan Srinivasan</name>
</author>
<published>2017-07-18T21:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28a5db0061014c8afbbb98560cf420c29bc4d8e1'/>
<id>urn:sha1:28a5db0061014c8afbbb98560cf420c29bc4d8e1</id>
<content type='text'>
In-Memory Collection (IMC) counters are performance monitoring
infrastructure. These counters need special sequence of SCOMs to
init/start/stop which is handled by OPAL. And OPAL provides three APIs
to init and control these IMC engines.

OPAL API documentation:
  https://github.com/open-power/skiboot/blob/master/doc/opal-api/opal-imc-counters.rst

Patch updates the kernel side powernv platform code to support the new
OPAL APIs

Signed-off-by: Hemant Kumar &lt;hemant@linux.vnet.ibm.com&gt;
Signed-off-by: Anju T Sudhakar &lt;anju@linux.vnet.ibm.com&gt;
Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv: Tell OPAL about our MMU mode on POWER9</title>
<updated>2017-07-10T11:12:27Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2017-06-30T22:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c0eaf0f56d6128af7f0f252855173fcee85d202'/>
<id>urn:sha1:1c0eaf0f56d6128af7f0f252855173fcee85d202</id>
<content type='text'>
That will allow OPAL to configure the CPU in an optimal way.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>cxl: Export library to support IBM XSL</title>
<updated>2017-07-03T13:07:03Z</updated>
<author>
<name>Christophe Lombard</name>
</author>
<published>2017-06-22T13:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ced8d73006321bd2a0412fa0ff4b065a02e7514'/>
<id>urn:sha1:3ced8d73006321bd2a0412fa0ff4b065a02e7514</id>
<content type='text'>
This patch exports a in-kernel 'library' API which can be called by
other drivers to help interacting with an IBM XSL on a POWER9 system.

The XSL (Translation Service Layer) is a stripped down version of the
PSL (Power Service Layer) used in some cards such as the Mellanox CX5.
Like the PSL, it implements the CAIA architecture, but has a number
of differences, mostly in it's implementation dependent registers.

The XSL also uses a special DMA cxl mode, which uses a slightly
different init sequence for the CAPP and PHB.

Signed-off-by: Andrew Donnellan &lt;andrew.donnellan@au1.ibm.com&gt;
Signed-off-by: Christophe Lombard &lt;clombard@linux.vnet.ibm.com&gt;
Acked-by: Frederic Barrat &lt;fbarrat@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/powernv/pci: Add support for PHB4 diagnostics</title>
<updated>2017-06-27T02:14:27Z</updated>
<author>
<name>Russell Currey</name>
</author>
<published>2017-06-14T04:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4b48ba9047dfdf99cf2316d21baac2791b3b14c'/>
<id>urn:sha1:a4b48ba9047dfdf99cf2316d21baac2791b3b14c</id>
<content type='text'>
As with P7IOC and PHB3, add kernel-side support for decoding and printing
diagnostic data for PHB4.

Signed-off-by: Russell Currey &lt;ruscur@russell.cc&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/xive' (early part) into next</title>
<updated>2017-04-12T12:31:37Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2017-04-12T12:25:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c19d5ada1bec8b97119215298df7669d3ffb3db'/>
<id>urn:sha1:3c19d5ada1bec8b97119215298df7669d3ffb3db</id>
<content type='text'>
This merges the arch part of the XIVE support, leaving the final commit
with the KVM specific pieces dangling on the branch for Paul to merge
via the kvm-ppc tree.
</content>
</entry>
<entry>
<title>powerpc/powernv: Add XIVE related definitions to opal-api.h</title>
<updated>2017-04-06T09:58:46Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2017-04-05T23:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eeea1a434ddedbb5aaeac1a8661445b3ae3eb539'/>
<id>urn:sha1:eeea1a434ddedbb5aaeac1a8661445b3ae3eb539</id>
<content type='text'>
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
</feed>
