<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target/ppc/mmu-book3s-v3.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/mmu-book3s-v3.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target/ppc/mmu-book3s-v3.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-07-18T16:59:43+00:00</updated>
<entry>
<title>target/ppc: Implement ISA 3.00 tlbie[l]</title>
<updated>2022-07-18T16:59:43+00:00</updated>
<author>
<name>Leandro Lupori</name>
</author>
<published>2022-07-12T19:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e7beaea55bd1efcb554b8e021092a2e79a317b61'/>
<id>urn:sha1:e7beaea55bd1efcb554b8e021092a2e79a317b61</id>
<content type='text'>
This initial version supports the invalidation of one or all
TLB entries. Flush by PID/LPID, or based in process/partition
scope is not supported, because it would make using the
generic QEMU TLB implementation hard. In these cases, all
entries are flushed.

Signed-off-by: Leandro Lupori &lt;leandro.lupori@eldorado.org.br&gt;
Reviewed-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
Message-Id: &lt;20220712193741.59134-3-leandro.lupori@eldorado.org.br&gt;
[danielhb: moved 'set' declaration to TLBIE_RIC_PWC block]
Signed-off-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
</content>
</entry>
<entry>
<title>target/ppc: introduce mmu-books.h</title>
<updated>2021-07-09T00:38:19+00:00</updated>
<author>
<name>Bruno Larsen (billionai)</name>
</author>
<published>2021-07-06T15:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a97c4d3c1e55f3098549bc4481f58a91a5834620'/>
<id>urn:sha1:a97c4d3c1e55f3098549bc4481f58a91a5834620</id>
<content type='text'>
Intrudoce a header common to all BookS MMUs, that can hold code that is
common to hash32 and book3s-v3 MMUs.

Suggested-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: Bruno Larsen (billionai) &lt;bruno.larsen@eldorado.org.br&gt;
Message-Id: &lt;20210706150316.21005-2-bruno.larsen@eldorado.org.br&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target/ppc: fix address translation bug for radix mmus</title>
<updated>2021-07-09T00:38:19+00:00</updated>
<author>
<name>Bruno Larsen (billionai)</name>
</author>
<published>2021-06-28T13:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3f9f76d5bb27c3700ae1d5336e8921f842caad2e'/>
<id>urn:sha1:3f9f76d5bb27c3700ae1d5336e8921f842caad2e</id>
<content type='text'>
This commit attempts to fix a technical hiccup first mentioned by Richard
Henderson in
https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg06247.html

To sumarize the hiccup here, when radix-style mmus are translating an
address, they might need to call a second level of translation, with
hypervisor privileges. However, the way it was being done up until
this point meant that the second level translation had the same
privileges as the first level. It could lead to a bug in address
translation when running KVM inside a TCG guest, but this bug was never
experienced by users, so this isn't as much a bug fix as it is a
correctness cleanup.

This patch attempts that cleanup by making radix64_*_xlate functions
receive the mmu_idx, and passing one with the correct permission for the
second level translation.

The mmuidx macros added by this patch are only correct for non-bookE
mmus, because BookE style set the IS and DS bits inverted and there
might be other subtle differences. However, there doesn't seem to be
BookE cpus that have radix-style mmus, so we left a comment there to
document the issue, in case a machine does have that and was missed.

As part of this cleanup, we now need to send the correct mmmu_idx
when calling get_phys_page_debug, otherwise we might not be able to see the
memory that the CPU could

Suggested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Bruno Larsen (billionai) &lt;bruno.larsen@eldorado.org.br&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Tested-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20210628133610.1143-2-bruno.larsen@eldorado.org.br&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target/ppc: Introduce ppc_xlate</title>
<updated>2021-07-09T00:38:19+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-06-21T12:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=51806b545834e0902dd2d17d1f66c7a2d83422f3'/>
<id>urn:sha1:51806b545834e0902dd2d17d1f66c7a2d83422f3</id>
<content type='text'>
Create one common dispatch for all of the ppc_*_xlate functions.
Use ppc64_v3_radix to directly dispatch between ppc_radix64_xlate
and ppc_hash64_xlate.

Remove the separate *_handle_mmu_fault and *_get_phys_page_debug
functions, using common code for ppc_cpu_tlb_fill and
ppc_cpu_get_phys_page_debug.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20210621125115.67717-9-bruno.larsen@eldorado.org.br&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc tcg: Fix Lesser GPL version number</title>
<updated>2020-11-15T15:38:50+00:00</updated>
<author>
<name>Chetan Pant</name>
</author>
<published>2020-10-19T06:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6bd039cdbee2378ae1dff1d8b735466e9473f7f6'/>
<id>urn:sha1:6bd039cdbee2378ae1dff1d8b735466e9473f7f6</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;20201019061126.3102-1-chetan4windows@gmail.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Clean up header guards that don't match their file name</title>
<updated>2019-05-13T06:58:55+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-03-15T14:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=58ea30f5145fc8c7ebb80ee0b0c812a3a958c762'/>
<id>urn:sha1:58ea30f5145fc8c7ebb80ee0b0c812a3a958c762</id>
<content type='text'>
Header guard symbols should match their file name to make guard
collisions less likely.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20190315145123.28030-6-armbru@redhat.com&gt;
[Rebase to master: update include/hw/net/ne2000-isa.h]
</content>
</entry>
<entry>
<title>target/ppc: Support for POWER9 native hash</title>
<updated>2019-02-25T22:21:25+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2019-02-15T17:00:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3367c62f522bda6254b5760eab1ee94523a24ab2'/>
<id>urn:sha1:3367c62f522bda6254b5760eab1ee94523a24ab2</id>
<content type='text'>
(Might need more patch splitting)

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20190215170029.15641-12-clg@kaod.org&gt;
[dwg: Hack to fix compile with some earlier include tweaks of mine]
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target/ppc: Rename PATB/PATBE -&gt; PATE</title>
<updated>2019-02-25T22:21:25+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2019-02-15T17:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=79825f4d583a327c347db504f44bbb7470b130e8'/>
<id>urn:sha1:79825f4d583a327c347db504f44bbb7470b130e8</id>
<content type='text'>
That "b" means "base address" and thus shouldn't be in the name
of actual entries and related constants.

This patch keeps the synthetic patb_entry field of the spapr
virtual hypervisor unchanged until I figure out if that has
an impact on the migration stream.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20190215170029.15641-11-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target/ppc: Fix #include guard in mmu-book3s-v3.h</title>
<updated>2019-02-25T22:21:25+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2019-02-15T17:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2819282dae6c38b2c9d5499ad748b1471f26af1a'/>
<id>urn:sha1:2819282dae6c38b2c9d5499ad748b1471f26af1a</id>
<content type='text'>
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20190215170029.15641-5-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>target/ppc/mmu: Use LPCR:HR to chose radix vs. hash translation</title>
<updated>2019-02-25T22:21:25+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2019-02-15T17:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=38c784a1cce1a5fe68cf1a6474aad5a9f8c7dc1a'/>
<id>urn:sha1:38c784a1cce1a5fe68cf1a6474aad5a9f8c7dc1a</id>
<content type='text'>
Now that LPCR:HR is set properly for SPAPR, use it for deciding
the translation type, which also works for bare metal

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Message-Id: &lt;20190215170029.15641-3-clg@kaod.org&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
</feed>
