<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target/microblaze/mmu.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/target/microblaze/mmu.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target/microblaze/mmu.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-02-21T09:18:06+00:00</updated>
<entry>
<title>exec/exec-all: Move 'qemu/log.h' include in units requiring it</title>
<updated>2022-02-21T09:18:06+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2022-02-07T08:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cd6174843b0896c9e57176159b38ecba45bade0e'/>
<id>urn:sha1:cd6174843b0896c9e57176159b38ecba45bade0e</id>
<content type='text'>
Many files use "qemu/log.h" declarations but neglect to include
it (they inherit it via "exec/exec-all.h"). "exec/exec-all.h" is
a core component and shouldn't be used that way. Move the
"qemu/log.h" inclusion locally to each unit requiring it.

Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Acked-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20220207082756.82600-10-f4bug@amsat.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/microblaze: use MMUAccessType instead of int in mmu_translate</title>
<updated>2021-01-27T07:32:55+00:00</updated>
<author>
<name>Joe Komlodi</name>
</author>
<published>2021-01-22T00:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=671a0a1265aeecae6775a8c7b8d6a5ede8a7ad32'/>
<id>urn:sha1:671a0a1265aeecae6775a8c7b8d6a5ede8a7ad32</id>
<content type='text'>
Using MMUAccessType makes it more clear what the variable's use is.
No functional change.

Signed-off-by: Joe Komlodi &lt;komlodi@xilinx.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Tested-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Message-Id: &lt;1611274735-303873-3-git-send-email-komlodi@xilinx.com&gt;
Signed-off-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
</content>
</entry>
<entry>
<title>target/microblaze: Fix possible array out of bounds in mmu_write()</title>
<updated>2020-11-17T08:45:24+00:00</updated>
<author>
<name>AlexChen</name>
</author>
<published>2020-11-03T07:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f25c7ca0cecb71428f864b9ccb6f128ec39ea94e'/>
<id>urn:sha1:f25c7ca0cecb71428f864b9ccb6f128ec39ea94e</id>
<content type='text'>
The size of env-&gt;mmu.regs is 3, but the range of 'rn' is [0, 5].
To avoid data access out of bounds, only if 'rn' is less than 3, we
can print env-&gt;mmu.regs[rn]. In other cases, we can print
env-&gt;mmu.regs[MMU_R_TLBX].

Reported-by: Euler Robot &lt;euler.robot@huawei.com&gt;
Signed-off-by: Alex Chen &lt;alex.chen@huawei.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Message-Id: &lt;5FA10ABA.1080109@huawei.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>microblaze tcg cpus: Fix Lesser GPL version number</title>
<updated>2020-11-15T15:39:21+00:00</updated>
<author>
<name>Chetan Pant</name>
</author>
<published>2020-10-23T12:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ee4520364603099bfdda59f43573eebdef2822b5'/>
<id>urn:sha1:ee4520364603099bfdda59f43573eebdef2822b5</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;20201023121821.19179-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>target/microblaze: Move mmu parameters to MicroBlazeCPUConfig</title>
<updated>2020-09-07T19:58:08+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-09-04T18:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=de73ee1abe95d37fa1b9c3129cb8a778eea43159'/>
<id>urn:sha1:de73ee1abe95d37fa1b9c3129cb8a778eea43159</id>
<content type='text'>
The final 4 fields in MicroBlazeMMU are configuration constants.
Move them into MicroBlazeCPUConfig where they belong.

Remove the leading "c_" from the member names, as that presumably
implied "config", and that should not be explicit in the location.

Tested-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/microblaze: Rename mmu structs</title>
<updated>2020-09-07T19:58:08+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-09-03T06:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8ce97bc188ecebd5030059411b6e29f2cec64dc1'/>
<id>urn:sha1:8ce97bc188ecebd5030059411b6e29f2cec64dc1</id>
<content type='text'>
Introduce typedefs and follow CODING_STYLE for naming.
Rename struct microblaze_mmu to MicroBlazeMMU.
Rename struct microblaze_mmu_lookup to MicroBlazeMMULookup.

Tested-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/microblaze: Fix width of PC and BTARGET</title>
<updated>2020-09-01T14:41:38+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-08-20T05:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0f96e96bd5144b1a834fed2b53a17fcf46637dcb'/>
<id>urn:sha1:0f96e96bd5144b1a834fed2b53a17fcf46637dcb</id>
<content type='text'>
The program counter is only 32-bits wide.  Do not use a 64-bit
type to represent it.  Since they are so closely related, fix
btarget at the same time.

Tested-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/microblaze: Split out PC from env-&gt;sregs</title>
<updated>2020-09-01T14:41:38+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-08-20T04:33:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=76e8187d0078e6b926a9a648fb755df4dd266e05'/>
<id>urn:sha1:76e8187d0078e6b926a9a648fb755df4dd266e05</id>
<content type='text'>
Begin eliminating the sregs array in favor of individual members.
Does not correct the width of pc, yet.

Tested-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/microblaze: Use env_cpu, env_archcpu</title>
<updated>2019-06-10T14:03:42+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2019-03-23T01:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f5c7e93ad9880accbc6ecba3a77d7ac849c57eba'/>
<id>urn:sha1:f5c7e93ad9880accbc6ecba3a77d7ac849c57eba</id>
<content type='text'>
Cleanup in the boilerplate that each target must define.
Replace mb_env_get_cpu with env_archcpu.  The combination
CPU(mb_env_get_cpu) should have used ENV_GET_CPU to begin;
use env_cpu now.

Move cpu_mmu_index below the include of "exec/cpu-all.h",
so that the definition of env_archcpu is available.

Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target-microblaze: mmu: Correct masking of output addresses</title>
<updated>2018-06-15T07:03:55+00:00</updated>
<author>
<name>Edgar E. Iglesias</name>
</author>
<published>2018-06-14T13:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=643fbf02e04ee2631fda82cb7e1d0f3c86e38213'/>
<id>urn:sha1:643fbf02e04ee2631fda82cb7e1d0f3c86e38213</id>
<content type='text'>
Correct the masking of output addresses.

This fixes Coverity CID 1391441.

Fixes: commit 3924a9aa02
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reported-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
</content>
</entry>
</feed>
