Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 32226db011622fa7b791de3ac02ba67c21947f1d
https://github.com/qemu/qemu/commit/32226db011622fa7b791de3ac02ba67c21947f1d
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M scripts/coverity-scan/COMPONENTS.md
Log Message:
-----------
scripts/coverity-scan/COMPONENTS.md: Add loongarch component
Add the component regex for the new loongarch target.
Signed-off-by: Peter Maydell <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Message-id: [email protected]
Commit: 02b7035d15726b68bb94f12e2e0d92087da34708
https://github.com/qemu/qemu/commit/02b7035d15726b68bb94f12e2e0d92087da34708
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M scripts/coverity-scan/COMPONENTS.md
Log Message:
-----------
scripts/coverity-scan/COMPONENTS.md: Update slirp component info
Update the regex for the slirp component now that it lives
solely inside /slirp/, and note that it should be ignored in
Coverity analysis (because it's a separate upstream project
now, and they run Coverity on it themselves).
Signed-off-by: Peter Maydell <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Message-id: [email protected]
Commit: fca75f60abbf2a7f88264977ff0bb3ff4285989c
https://github.com/qemu/qemu/commit/fca75f60abbf2a7f88264977ff0bb3ff4285989c
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M target/arm/cpu.h
M target/arm/translate-sve.c
Log Message:
-----------
target/arm: Add MO_128 entry to pred_esz_masks[]
In commit 7390e0e9ab8475, we added support for SME loads and stores.
Unlike SVE loads and stores, these include handling of 128-bit
elements. The SME load/store functions call down into the existing
sve_cont_ldst_elements() function, which uses the element size MO_*
value as an index into the pred_esz_masks[] array. Because this code
path now has to handle MO_128, we need to add an extra element to the
array.
This bug was spotted by Coverity because it meant we were reading off
the end of the array.
Resolves: Coverity CID 1490539, 1490541, 1490543, 1490544, 1490545,
1490546, 1490548, 1490549, 1490550, 1490551, 1490555, 1490557,
1490558, 1490560, 1490561, 1490563
Fixes: 7390e0e9ab8475 ("target/arm: Implement SME LD1, ST1")
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Commit: 35a7a6fc5624b1df828d82f2dfa74d0e4188b3b2
https://github.com/qemu/qemu/commit/35a7a6fc5624b1df828d82f2dfa74d0e4188b3b2
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
Log Message:
-----------
configure: Add missing POSIX-required space
In commit 7d7dbf9dc15be6e1 we added a line to the configure script
which is not valid POSIX shell syntax, because it is missing a space
after a '!' character. shellcheck diagnoses this:
if !(GIT="$git" "$source_path/scripts/git-submodule.sh"
"$git_submodules_action" "$git_submodules"); then
^-- SC1035: You are missing a required space after the !.
and the OpenBSD shell will not correctly handle this without the space.
Fixes: 7d7dbf9dc15be6e1 ("configure: replace --enable/disable-git-update with
--with-git-submodules")
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Tested-by: Dr. David Alan Gilbert <[email protected]>
Message-id: [email protected]
Commit: d466d416ed51aa72d2bfde2e2b44293bf6d73472
https://github.com/qemu/qemu/commit/d466d416ed51aa72d2bfde2e2b44293bf6d73472
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
Log Message:
-----------
configure: Add braces to clarify intent of $emu[[:space:]]
In shell script syntax, $var[something] is not special for variable
expansion: $var is expanded. However, as it can look as if it were
intended to be an array element access (the correct syntax for which
is ${var[something]}), shellcheck recommends using explicit braces
around ${var} to clarify the intended expansion.
This fixes the warning:
In ./configure line 2346:
if "$target_ld" -verbose 2>&1 | grep -q
"^[[:space:]]*$emu[[:space:]]*$"; then
^-- SC1087: Use
braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-id: [email protected]
Commit: 65842b03d112070bbc3216841eb879c1fc42523a
https://github.com/qemu/qemu/commit/65842b03d112070bbc3216841eb879c1fc42523a
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
Log Message:
-----------
configure: Don't use bash-specific string-replacement syntax
The variable string-replacement syntax ${var/old/new} is a bashism
(though it is also supported by some other shells), and for instance
does not work with the NetBSD /bin/sh, which complains:
../src/configure: 687: Syntax error: Bad substitution
Replace it with a more portable sed-based approach, similar to
what we already do in quote_sh().
Note that shellcheck also diagnoses this:
In ./configure line 687:
e=${e/'\'/'\\'}
^-----------^ SC2039: In POSIX sh, string replacement is undefined.
^-- SC1003: Want to escape a single quote? echo 'This is how it'\''s
done'.
^-- SC1003: Want to escape a single quote? echo 'This is how
it'\''s done'.
In ./configure line 688:
e=${e/\"/'\"'}
^----------^ SC2039: In POSIX sh, string replacement is undefined.
Fixes: 8154f5e64b0cf ("meson: Prefix each element of firmware path")
Signed-off-by: Peter Maydell <[email protected]>
Tested-by: Thomas Huth <[email protected]>
Message-id: [email protected]
Commit: aca5001dab50e8279826650e57abedd4f0d9765f
https://github.com/qemu/qemu/commit/aca5001dab50e8279826650e57abedd4f0d9765f
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
Log Message:
-----------
configure: Drop dead code attempting to use -msmall-data on alpha hosts
In commit 823eb013452e93d we moved the setting of ARCH from configure
to meson.build, but we accidentally left behind one attempt to use
$ARCH in configure, which was trying to add -msmall-data to the
compiler flags on Alpha hosts. Since ARCH is now never set, the test
always fails and we never add the flag.
There isn't actually any need to use this compiler flag on Alpha:
the original intent was that it would allow us to simplify our TCG
codegen on that platform, but we never actually made the TCG changes
that would rely on -msmall-data.
Drop the effectively-dead code from configure, as we don't need it.
This was spotted by shellcheck:
In ./configure line 2254:
case "$ARCH" in
^---^ SC2153: Possible misspelling: ARCH may not be assigned, but arch is.
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-id: [email protected]
Commit: c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc
https://github.com/qemu/qemu/commit/c5cfdabaf5ba0963292d3f0e318170ae9fab3fcc
Author: Peter Maydell <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
Log Message:
-----------
configure: Avoid '==' bashism
The '==' operator to test is a bashism; the standard way to copmare
strings is '='. This causes dash to complain:
../../configure: 681: test: linux: unexpected operator
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-id: [email protected]
Commit: 5865d99fe88d8c8fa437c18c6b63fb2a8165634f
https://github.com/qemu/qemu/commit/5865d99fe88d8c8fa437c18c6b63fb2a8165634f
Author: Alan Jian <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M hw/display/bcm2835_fb.c
Log Message:
-----------
hw/display/bcm2835_fb: Fix framebuffer allocation address
This patch fixes the dedicated framebuffer mailbox interface by
removing an unneeded offset. This means that we pick the framebuffer
address in the same way that we do if the guest code uses the buffer
allocate mechanism of the bcm2835_property interface (case
0x00040001: /* Allocate buffer */ in bcm2835_property.c).
The documentation of this mailbox interface doesn't say anything
about using parts of the request buffer address to affect the
chosen framebuffer address:
https://github.com/raspberrypi/firmware/wiki/Mailbox-framebuffer-interface
Some baremetal applications like the Screen01/Screen02 examples from
Baking Pi tutorial[1] didn't work before this patch.
[1] https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/screen01.html
Signed-off-by: Alan Jian <[email protected]>
Message-id: [email protected]
[PMM: tweaked commit message]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Commit: f6cce6bcb2ef959cdd4da0e368f7c72045f21d6d
https://github.com/qemu/qemu/commit/f6cce6bcb2ef959cdd4da0e368f7c72045f21d6d
Author: Richard Henderson <[email protected]>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M configure
M hw/display/bcm2835_fb.c
M scripts/coverity-scan/COMPONENTS.md
M target/arm/cpu.h
M target/arm/translate-sve.c
Log Message:
-----------
Merge tag 'pull-target-arm-20220726' of
https://git.linaro.org/people/pmaydell/qemu-arm into staging
target-arm queue:
* Update Coverity component definitions
* target/arm: Add MO_128 entry to pred_esz_masks[]
* configure: Fix portability issues
* hw/display/bcm2835_fb: Fix framebuffer allocation address
# -----BEGIN PGP SIGNATURE-----
#
# iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmLgBfkZHHBldGVyLm1h
# eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3vFdD/wLVC2gJ4Uxt2Ri5vutF6fl
# RKTNiIhcE/XQNUogQiVIERYJJ9CUOALtg3q/SPCItq0nFgNG4h+sB7Ms+VcYVmNd
# iphbYBF4nFXYsAGlYIiAPU4I5SVnL4ORLMovRmlqMGYO/xlWe4LMIIOI+Iky4z9G
# pgho7n0yuKNPwikFdX1nKH2lYvoh9pn/p8buwre4qg6z/p4XssV295NAWeGvynab
# Sj9cmBvQC9ijKADvWXrfaGbHWQCAOwjRI7su/Ky0QGHjEprBpyCC8QtKEPP0flTh
# ffWCPX/pATwkbOH6m7rVFhIpI0r+6UQaDX/5SWruMNRto6WocNbX3JYT4XzdNln9
# nkVTgqn5PTzfd801RmfhJ/iGV2zf3ZE/Entj3n1RrpxI1gb56Q2tFghJNVgnL4Mq
# eBeODhPUJRqOd2dIcFKQbRhQs4Uaonu4V6QM+F7SekdV7VbU5VbJzB/9IvCkpNJo
# TqHDLp3makEabonal2gucmhxon7+C+4NXv+YMzTQbG2g/lVa4kmXehEA5BDcFScE
# XYKBEXkWsabV2IRVaZybu+0qkD+2PNtWQP3iAqOX8RPCGKieu4fbDTbzaPJAPNTb
# OBgDnzO3tukwI1upHQDIuO06poGfwMjJGKR4IZgCphTzNO7AtzUBFR96wmoaJGfq
# t7VO2lnKf5tGPifFTi/egg==
# =SWMq
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 26 Jul 2022 08:19:21 AM PDT
# gpg: using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
# gpg: issuer "[email protected]"
# gpg: Good signature from "Peter Maydell <[email protected]>" [full]
# gpg: aka "Peter Maydell <[email protected]>" [full]
# gpg: aka "Peter Maydell <[email protected]>"
[full]
* tag 'pull-target-arm-20220726' of
https://git.linaro.org/people/pmaydell/qemu-arm:
hw/display/bcm2835_fb: Fix framebuffer allocation address
configure: Avoid '==' bashism
configure: Drop dead code attempting to use -msmall-data on alpha hosts
configure: Don't use bash-specific string-replacement syntax
configure: Add braces to clarify intent of $emu[[:space:]]
configure: Add missing POSIX-required space
target/arm: Add MO_128 entry to pred_esz_masks[]
scripts/coverity-scan/COMPONENTS.md: Update slirp component info
scripts/coverity-scan/COMPONENTS.md: Add loongarch component
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/d1c912b81684...f6cce6bcb2ef