<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target-ppc/kvm_ppc.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target-ppc/kvm_ppc.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target-ppc/kvm_ppc.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2016-12-20T20:52:12+00:00</updated>
<entry>
<title>Move target-* CPU file into a target/ folder</title>
<updated>2016-12-20T20:52:12+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-10-11T06:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0'/>
<id>urn:sha1:fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0</id>
<content type='text'>
We've currently got 18 architectures in QEMU, and thus 18 target-xxx
folders in the root folder of the QEMU source tree. More architectures
(e.g. RISC-V, AVR) are likely to be included soon, too, so the main
folder of the QEMU sources slowly gets quite overcrowded with the
target-xxx folders.
To disburden the main folder a little bit, let's move the target-xxx
folders into a dedicated target/ folder, so that target-xxx/ simply
becomes target/xxx/ instead.

Acked-by: Laurent Vivier &lt;laurent@vivier.eu&gt; [m68k part]
Acked-by: Bastian Koppelmann &lt;kbastian@mail.uni-paderborn.de&gt; [tricore part]
Acked-by: Michael Walle &lt;michael@walle.cc&gt; [lm32 part]
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt; [s390x part]
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt; [s390x part]
Acked-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt; [i386 part]
Acked-by: Artyom Tarasenko &lt;atar4qemu@gmail.com&gt; [sparc part]
Acked-by: Richard Henderson &lt;rth@twiddle.net&gt; [alpha part]
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt; [xtensa part]
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt; [ppc part]
Acked-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt; [cris&amp;microblaze part]
Acked-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt; [unicore32 part]
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>ppc: Check the availability of transactional memory</title>
<updated>2016-10-05T00:05:28+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-09-28T11:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bac3bf287ab60e264b636f5f00c116a19b655762'/>
<id>urn:sha1:bac3bf287ab60e264b636f5f00c116a19b655762</id>
<content type='text'>
KVM-PR currently does not support transactional memory, and the
implementation in TCG is just a fake. We should not announce TM
support in the ibm,pa-features property when running on such a
system, so disable it by default and only enable it if the KVM
implementation supports it (i.e. recent versions of KVM-HV).
These changes are based on some earlier work from Anton Blanchard
(thanks!).

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&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>Enable H_CLEAR_MOD and H_CLEAR_REF hypercalls on KVM/PPC64.</title>
<updated>2016-09-23T02:39:07+00:00</updated>
<author>
<name>Nathan Whitehorn</name>
</author>
<published>2016-08-30T01:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5145ad4fad099983887c6e6caa2354376005226f'/>
<id>urn:sha1:5145ad4fad099983887c6e6caa2354376005226f</id>
<content type='text'>
These are mandatory per PAPR and available on Linux 4.3 and newer kernels. The calls in question are required to run FreeBSD guests with reasonable performance, so enable them if possible.

Signed-off-by: Nathan Whitehorn &lt;nwhitehorn@freebsd.org&gt;
[dwg: Added a stub to fix compile without KVM (e.g. on x86 host)]
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>Clean up ill-advised or unusual header guards</title>
<updated>2016-07-12T14:20:46+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T11:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2a6a4076e117113ebec97b1821071afccfdfbc96'/>
<id>urn:sha1:2a6a4076e117113ebec97b1821071afccfdfbc96</id>
<content type='text'>
Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>ppc: Provide function to get CPU class of the host CPU</title>
<updated>2016-06-14T00:41:38+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-06-07T15:39:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=52b2519c4ea9a6aa4df7abfe35fd1755c5c8546c'/>
<id>urn:sha1:52b2519c4ea9a6aa4df7abfe35fd1755c5c8546c</id>
<content type='text'>
When running with KVM, we might be interested in some details
of the host CPU class, too, so provide a function to get the
corresponding CPU class.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Michael Roth &lt;mdroth@linux.vnet.ibm.com&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>spapr_iommu: Finish renaming vfio_accel to need_vfio</title>
<updated>2016-05-26T23:40:23+00:00</updated>
<author>
<name>Alexey Kardashevskiy</name>
</author>
<published>2016-05-04T06:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f94819d6012fbc2a6022eeacd65608e58dacbada'/>
<id>urn:sha1:f94819d6012fbc2a6022eeacd65608e58dacbada</id>
<content type='text'>
6a81dd17 "spapr_iommu: Rename vfio_accel parameter" renamed vfio_accel
flag everywhere but one spot was missed.

Signed-off-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target-ppc: Add helpers for updating a CPU's SDR1 and external HPT</title>
<updated>2016-03-15T22:55:06+00:00</updated>
<author>
<name>David Gibson</name>
</author>
<published>2016-03-08T00:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e5c0d3ce40e40c903a7e65ded61d8742af947655'/>
<id>urn:sha1:e5c0d3ce40e40c903a7e65ded61d8742af947655</id>
<content type='text'>
When a Power cpu with 64-bit hash MMU has it's hash page table (HPT)
pointer updated by a write to the SDR1 register we need to update some
derived variables.  Likewise, when the cpu is configured for an external
HPT (one not in the guest memory space) some derived variables need to be
updated.

Currently the logic for this is (partially) duplicated in ppc_store_sdr1()
and in spapr_cpu_reset().  In future we're going to need it in some other
places, so make some common helpers for this update.

In addition the new ppc_hash64_set_external_hpt() helper also updates
SDR1 in KVM - it's not updated by the normal runtime KVM &lt;-&gt; qemu CPU
synchronization.  In a sense this belongs logically in the
ppc_hash64_set_sdr1() helper, but that is called from
kvm_arch_get_registers() so can't itself call cpu_synchronize_state()
without infinite recursion.  In practice this doesn't matter because
the only other caller is TCG specific.

Currently there aren't situations where updating SDR1 at runtime in KVM
matters, but there are going to be in future.

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Greg Kurz &lt;gkurz@linux.vnet.ibm.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/ppc/spapr: Implement the h_page_init hypercall</title>
<updated>2016-02-25T02:58:44+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-02-18T09:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3240dd9a6924df18dfccb83defa0914065da076e'/>
<id>urn:sha1:3240dd9a6924df18dfccb83defa0914065da076e</id>
<content type='text'>
This hypercall either initializes a page with zeros, or copies
another page.
According to LoPAPR, the i-cache of the page should also be
flushed if using H_ICACHE_INVALIDATE or H_ICACHE_SYNCHRONIZE,
and the d-cache should be synchronized to the RAM if the
H_ICACHE_SYNCHRONIZE flag is used. For this, two new functions
are introduced, kvmppc_dcbst_range() and kvmppc_icbi()_range, which
use the corresponding assembler instructions to flush the caches
if running with KVM on Power. If the code runs with TCG instead,
the code only uses tb_flush(), assuming that this will be
enough for synchronization.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target-ppc: Remove unused kvmppc_update_sdr1() stub</title>
<updated>2016-02-16T22:59:29+00:00</updated>
<author>
<name>David Gibson</name>
</author>
<published>2016-02-08T23:28:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b7f0bbd2590a22be4c707e27f85e2334158e83aa'/>
<id>urn:sha1:b7f0bbd2590a22be4c707e27f85e2334158e83aa</id>
<content type='text'>
This KVM stub implementation isn't used anywhere.

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
</content>
</entry>
<entry>
<title>target-ppc: Remove unused kvmppc_read_segment_page_sizes() stub</title>
<updated>2016-01-30T12:37:38+00:00</updated>
<author>
<name>David Gibson</name>
</author>
<published>2016-01-13T01:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=512fe19330f60ebcb79a3f440411d3a1c7f6e11a'/>
<id>urn:sha1:512fe19330f60ebcb79a3f440411d3a1c7f6e11a</id>
<content type='text'>
This stub function is in the !KVM ifdef in target-ppc/kvm_ppc.h.  However
no such function exists on the KVM side, or is ever used.

I think this originally referenced a function which read host page size
information from /proc, for we we now use the KVM GET_SMMU_INFO extension
instead.

In any case, it has no function now, so remove it.

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
</feed>
