<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/ppc/pnv_xscom.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/ppc/pnv_xscom.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/ppc/pnv_xscom.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-08-31T17:08:05+00:00</updated>
<entry>
<title>ppc/pnv: Add initial P9/10 SBE model</title>
<updated>2022-08-31T17:08:05+00:00</updated>
<author>
<name>Nicholas Piggin</name>
</author>
<published>2022-08-11T09:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0bf4d77e5922128506a3495d72ee9f432726c085'/>
<id>urn:sha1:0bf4d77e5922128506a3495d72ee9f432726c085</id>
<content type='text'>
The SBE (Self Boot Engine) are on-chip microcontrollers that perform
early boot steps, as well as provide some runtime facilities (e.g.,
timer, secure register access, MPIPL). The latter facilities are
accessed mostly via a message system called SBEFIFO.

This driver provides initial emulation for the SBE runtime registers
and a very basic SBEFIFO implementation that provides the timer
command. This covers the basic SBE behaviour expected by skiboot when
booting.

Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Message-Id: &lt;20220811093726.1442343-1-npiggin@gmail.com&gt;
[danielhb: fixed SBE_HOST_RESPONSE_MASK long line]
Signed-off-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: Add a comment on the "primary-topology-index" property</title>
<updated>2021-09-29T09:37:38+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-09-01T09:41:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=40ef88ba77ac84baab3a78171a49829a6cd1d3e0'/>
<id>urn:sha1:40ef88ba77ac84baab3a78171a49829a6cd1d3e0</id>
<content type='text'>
On P10, the chip id is calculated from the "Primary topology table
index". See skiboot commits for more information [1].

This information is extracted from the hdata on real systems which
QEMU needs to emulate. Add this property for all machines even if it
is only used on POWER10.

[1] https://github.com/open-power/skiboot/commit/2ce3f083f399
    https://github.com/open-power/skiboot/commit/a2d4d7f9e14a

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20210901094153.227671-4-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: add a chip topology index for POWER10</title>
<updated>2021-08-27T02:41:13+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2021-08-09T13:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=379090306cbb9202375dbb66fb3415e82f46ed2f'/>
<id>urn:sha1:379090306cbb9202375dbb66fb3415e82f46ed2f</id>
<content type='text'>
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20210809134547.689560-7-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>exec/memory: Use struct Object typedef</title>
<updated>2021-03-09T20:53:57+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-02-25T18:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d32335e8ed89851b0359cacc04890d0f8b7683bd'/>
<id>urn:sha1:d32335e8ed89851b0359cacc04890d0f8b7683bd</id>
<content type='text'>
We forward-declare Object typedef in "qemu/typedefs.h" since commit
ca27b5eb7cd ("qom/object: Move Object typedef to 'qemu/typedefs.h'").
Use it everywhere to make the code simpler.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Acked-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20210225182003.3629342-1-philmd@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>non-virt: Fix Lesser GPL version number</title>
<updated>2020-11-15T15:38:24+00:00</updated>
<author>
<name>Chetan Pant</name>
</author>
<published>2020-10-16T14:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f70c59668c8ea904aa5ddd628b247096177f2f1d'/>
<id>urn:sha1:f70c59668c8ea904aa5ddd628b247096177f2f1d</id>
<content type='text'>
There is no "version 2" of the "Lesser" General Public License.
It is either "GPL version 2.0" or "Lesser GPL version 2.1".
This patch replaces all occurrences of "Lesser GPL version 2" with
"Lesser GPL version 2.1" in comment section.

Signed-off-by: Chetan Pant &lt;chetan4windows@gmail.com&gt;
Message-Id: &lt;20201016145346.27167-1-chetan4windows@gmail.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: Introduce PnvChipClass::xscom_pcba() method</title>
<updated>2019-12-16T23:59:11+00:00</updated>
<author>
<name>Greg Kurz</name>
</author>
<published>2019-12-13T12:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=70c059e9266fc7d79e40c9d297722ccb717ec386'/>
<id>urn:sha1:70c059e9266fc7d79e40c9d297722ccb717ec386</id>
<content type='text'>
The XSCOM bus is implemented with a QOM interface, which is mostly
generic from a CPU type standpoint, except for the computation of
addresses on the Pervasive Connect Bus (PCB) network. This is handled
by the pnv_xscom_pcba() function with a switch statement based on
the chip_type class level attribute of the CPU chip.

This can be achieved using QOM. Also the address argument is masked with
PNV_XSCOM_SIZE - 1, which is for POWER8 only. Addresses may have different
sizes with other CPU types. Have each CPU chip type handle the appropriate
computation with a QOM xscom_pcba() method.

Signed-off-by: Greg Kurz &lt;groug@kaod.org&gt;
Message-Id: &lt;157623843543.360005.13996472463887521794.stgit@bahia.lan&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: Pass content of the "compatible" property to pnv_dt_xscom()</title>
<updated>2019-12-16T23:59:11+00:00</updated>
<author>
<name>Greg Kurz</name>
</author>
<published>2019-12-13T12:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c396c58a02f16af7b44448a39f61ebf0af7b95b5'/>
<id>urn:sha1:c396c58a02f16af7b44448a39f61ebf0af7b95b5</id>
<content type='text'>
Since pnv_dt_xscom() is called from chip specific dt_populate() hooks,
it shouldn't have to guess the chip type in order to populate the
"compatible" property. Just pass the compat string and its size as
arguments.

Signed-off-by: Greg Kurz &lt;groug@kaod.org&gt;
Message-Id: &lt;157623842430.360005.9513965612524265862.stgit@bahia.lan&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: Pass XSCOM base address and address size to pnv_dt_xscom()</title>
<updated>2019-12-16T23:59:11+00:00</updated>
<author>
<name>Greg Kurz</name>
</author>
<published>2019-12-13T12:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3f5b45ca4f95a65a5164b3219c7fec64eff08638'/>
<id>urn:sha1:3f5b45ca4f95a65a5164b3219c7fec64eff08638</id>
<content type='text'>
Since pnv_dt_xscom() is called from chip specific dt_populate() hooks,
it shouldn't have to guess the chip type in order to populate the "reg"
property. Just pass the base address and address size as arguments.

Signed-off-by: Greg Kurz &lt;groug@kaod.org&gt;
Message-Id: &lt;157623841868.360005.17577624823547136435.stgit@bahia.lan&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: Introduce PBA registers</title>
<updated>2019-12-16T23:39:48+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2019-12-11T08:29:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8f09231631c7b92b7abb6b807e6994d04ff3cb17'/>
<id>urn:sha1:8f09231631c7b92b7abb6b807e6994d04ff3cb17</id>
<content type='text'>
The PBA bridge unit (Power Bus Access) connects the OCC (On Chip
Controller) to the Power bus and System Memory. The PBA is used to
gather sensor data, for power management, for sleep states, for
initial boot, among other things.

The PBA logic provides a set of four registers PowerBus Access Base
Address Registers (PBABAR0..3) which map the OCC address space to the
PowerBus space. These registers are setup by the initial FW and define
the PowerBus Range of system memory that can be accessed by PBA.

The current modeling of the PBABAR registers is done under the common
XSCOM handlers. We introduce a specific XSCOM regions for these
registers and fix :

 - BAR sizes and BAR masks
 - The mapping of the OCC common area. It is common to all chips and
   should be mapped once.  We will address per-OCC area in the next
   change.
 - OCC common area is in BAR 3 on P8

Inspired by previous work of Balamuruhan S &lt;bala24@linux.ibm.com&gt;

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20191211082912.2625-2-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>ppc/pnv: populate the DT with realized XSCOM devices</title>
<updated>2019-12-16T23:39:48+00:00</updated>
<author>
<name>Cédric Le Goater</name>
</author>
<published>2019-12-10T13:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9e028fffaabee37ea05baf1950376f401bbff91c'/>
<id>urn:sha1:9e028fffaabee37ea05baf1950376f401bbff91c</id>
<content type='text'>
Some devices could be initialized in the instance_init handler but not
realized for configuration reasons. Nodes should not be added in the DT
for such devices.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20191210135845.19773-3-clg@kaod.org&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
</feed>
