h == 'x86_64'
> + qemu_common_flags = ['-mcx16'] + qemu_common_flags
> +endif
> +
> if get_option('prefer_static')
>qemu_ldflags += get_option('b_pie') ? '-static-pie' : '-static'
> endif
This breaks atomic detection resulting in:
#undef CONFIG_ATOMIC128
#undef CONFIG_ATOMIC128_OPT
#undef CONFIG_CMPXCHG128
which makes the TCG atomic handling code fallback to cpu_step_atomic,
killing performance.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
> Print easily recognizable error message about test failure, so
> it becomes obvious what exactly has failed.
>
> While at it, continue running other tests even in case of
> failure, and exit non-zero if at least one test failed.
Queued to testing/next, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
-name=rom,driver=file,filename=(pwd)/pc-bios/edk2-aarch64-code.fd,read-only=true
\
-blockdev
node-name=efivars,driver=file,filename=$HOME/images/qemu-arm64-efivars \
-m 8192 \
-object memory-backend-memfd,id=mem,size=8G,share=on \
-kernel /home/alex/lsrc
ing of
the extra instructions that Apple added (although in theory that should
only be run in Apples own ML libraries).
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Warner Losh writes:
> On Thu, Oct 3, 2024 at 2:53 AM Warner Losh wrote:
>
> On Thu, Sep 26, 2024 at 8:24 AM Alex Bennée wrote:
>
> One output from this discussion should be a clear statement that we are
> going forward with this work and the road map. A rough roadmap
Peter Maydell writes:
> On Wed, 2 Oct 2024 at 16:35, Alex Bennée wrote:
>>
>> Helge Deller writes:
>>
>> > When the emulated CPU reads or writes to a memory location
>> > a) for which no read/write permissions exists, *and*
>> > b) the
hing
> +mmu_check_alignment(cpu, addr, ra, type, l);
> }
>
> l->page[0].addr = addr;
> @@ -1760,6 +1777,10 @@ static bool mmu_lookup(CPUState *cpu, vaddr addr,
> MemOpIdx oi,
> tcg_debug_assert((flags & TLB_BSWAP) == 0);
> }
>
> +if
yscallInfo arch_syscall_info[] = {
> { "arm", 4 },
> { "armeb", 4 },
> { "avr", -1 },
> -{ "cris", -1 },
> { "hexagon", 64 },
> { "hppa", -1 },
> { "i386", 4 },
Reviewed-by: Alex Bennée
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Philippe Mathieu-Daudé writes:
> Refactor to use the recently introduced ld/st_endian_p() API
> No logical change intended.
>
> Signed-off-by: Philippe Mathieu-Daudé
Acked-by: Alex Bennée
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Thomas Huth writes:
Sorry to mention it but now the subject needs tweaking...
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
word:' prompt lines don't
> have a newline after them.
>
> What is the right way to do this common thing?
Well the easiest way (which I do on some of my test images) is to enable
autologin so you get a shell prompt at the start.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Thomas Huth writes:
> From: Alex Bennée
>
> The mips64el cross setup is very broken for bullseye which has now
> entered LTS support so is unlikely to be fixed. While we still can't
> build the container for bookworm due to a single missing dependency
> that will hop
Michael Tokarev writes:
> On 16.09.2024 11:53, Alex Bennée wrote:
>> When we shut down a guest we disable the timers. However this can
>> cause deadlock if the guest has queued some async work that is trying
>> to advance system time and spins forever trying to wind
length : 64 * KiB;
means we always have something. Although get_adma_description() is
deserving of a g_assert_not_reached() lest we end up re-using a previous
descr.
I guess wider re-factoring is out of scope for this series though:
Reviewed-by: Alex Bennée
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Stefan Hajnoczi writes:
> On Thu, 26 Sept 2024 at 10:24, Alex Bennée wrote:
>> Another potential area for conversion was the VirtIO device and
>> vhost-user code which could expect to re-use a lot of the crates from
>> the rust-vmm project. However this did bring up th
Thomas Huth writes:
> On 23/09/2024 10.15, Alex Bennée wrote:
>> The mips64el cross setup is very broken for bullseye which has now
>> entered LTS support so is unlikely to be fixed. While we still can't
>> build the container for bookworm due to a single missi
ch would be hard to
get well reviewed before switching for such a crucial sub-system. Maybe
this is an ordering problem and it would make more sense to start with
individual block drivers first and work up from there.
Alex mentioned softfloat could make a good candidate for conversion as
while the rew
From: Pierrick Bouvier
Mention it's now possible to build with gcc, instead of clang, and
explain how to build a sanitized glib version.
Signed-off-by: Pierrick Bouvier
Reviewed-by: Thomas Huth
Message-Id: <20240910174013.141-4-pierrick.bouv...@linaro.org>
Signed-off-by:
rk it as allow_fail for the time being.
Signed-off-by: Alex Bennée
Cc: Michael Tokarev
---
.gitlab-ci.d/container-cross.yml | 3 +++
tests/docker/dockerfiles/debian-mips64el-cross.docker | 10 --
tests/lcitool/refresh | 2 +-
3
Signed-off-by: Alex Bennée
---
configure| 5
tests/tcg/aarch64_be/hello.c | 35
tests/tcg/Makefile.target| 7 +-
tests/tcg/aarch64_be/Makefile.target | 17 ++
4 files changed, 63 insertions(+),
I put it under my name as there may be other maintainer testing trees
as well.
Signed-off-by: Alex Bennée
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ffacd60f40..7ac2252303 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4114,6 +4114,7
ouv...@linaro.org>
Signed-off-by: Alex Bennée
---
meson.build | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 10464466ff..ceee6b22c8 100644
--- a/meson.build
+++ b/meson.build
@@ -518,7 +518,15 @@ if get_option
Attempting to run the binary asserts when it can't find the XML entry.
We can fix it so we don't although I suspect other stuff is broken.
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2580
Signed-off-by: Alex Bennée
---
configs/targets/aarch64_be-linux-user.mak | 2 +-
1 file
n the tests.
Signed-off-by: Alex Bennée
---
tests/docker/Makefile.include | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 681feae744..fead7d3abe 100644
--- a/tests/docker/Makefile.include
+++ b/tests/d
com>
Signed-off-by: Alex Bennée
---
.../debian-microblaze-cross.d/build-toolchain.sh | 8
tests/docker/dockerfiles/debian-toolchain.docker | 7 +++
2 files changed, 15 insertions(+)
diff --git
a/tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh
b
4_be-linux-user to assert
- finally I've made the mips64el cross compiler bookworm and allow_fail
Alex Bennée (6):
testing: bump mips64el cross to bookworm and allow to fail
tests/docker: add NOFETCH env variable for testing
MAINTAINERS: mention my testing/next tree
MAINTAINERS: men
org>
Signed-off-by: Alex Bennée
---
target/i386/kvm/kvm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c
index ada581c5d6..c8056ef83d 100644
--- a/target/i386/kvm/kvm.c
+++ b/target/i386/kvm/kvm.c
@@ -5771,7 +5771,7 @@ stat
Make it easy for people to see what is already queued.
Signed-off-by: Alex Bennée
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7ac2252303..f34b8843e4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3028,6 +3028,7 @@ F: gdb-xml/
F: tests/tcg
id
> false positives related to glib synchronisation primitives.
Queued to testing/next, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
Ilya Leoshkevich writes:
> On Tue, 2024-09-24 at 12:54 +0100, Alex Bennée wrote:
>> Ilya Leoshkevich writes:
>>
>> (add Mahesh to CC)
>>
>> > GCC produces invalid code for microblaze atomics.
>> >
>> > The fix is unfortunately not up
. Perhaps we can expose it in a
> different way so that people don't end up confused?
I think the problem is however much we might say it's not a capabilities
discovery API it's very existence encourages users to use it as one.
What about a script:
qemu-get-build-info
which would launch the binary and query it over QMP? Would that work?
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
\
> +DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
> +DEBIAN_FRONTEND=noninteractive eatmydata \
> +apt install -y --no-install-recommends \
> +libmpc3
> COPY --from=0 /usr/local /usr/local
> # As a final step configure the user (if env is defined)
> ARG USER
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDA
rk it as allow_fail for the time being.
Signed-off-by: Alex Bennée
Cc: Michael Tokarev
---
.gitlab-ci.d/container-cross.yml | 3 +++
tests/docker/dockerfiles/debian-mips64el-cross.docker | 10 --
tests/lcitool/refresh | 2 +-
3
Brad Smith writes:
> On 2024-09-21 8:55 a.m., Alex Bennée wrote:
>> Brad Smith writes:
>>
>>> contrib/plugins: ensure build does not pick up a system copy of plugin
>>> header
>> I'm confused because this changes the ordering of the GLIB inclusion.
gt; +PLUGIN_CFLAGS += -fPIC -Wall
>
> # Helper that honours V=1 so we get some output when compiling
> quiet-@ = $(if $(V),,@$(if $1,printf " %-7s %s\n" "$(strip $1)" "$(strip
> $2)" && ))
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
ite memory
- validate ips plugin arguments meet minimum slice value
Akihiko Odaki (1):
contrib/plugins: Add a plugin to generate basic block vectors
Alex Bennée (9):
deprecation: don't enable TCG plugins by default
Peter Maydell writes:
> On Thu, 19 Sept 2024 at 14:11, Alex Bennée wrote:
>>
>> Peter Maydell writes:
>> > While I'm looking at the code, this caught my eye:
>> >
>> > case QEMU_PLUGIN_MEM_VALUE_U64:
>> > {
Peter Maydell writes:
> On Wed, 18 Sept 2024 at 22:08, Alex Bennée wrote:
>>
>> The following changes since commit 2b81c046252fbfb375ad30632362fc16e6e22bd5:
>>
>> Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into
>> st
off-by: Alex Bennée
Message-Id: <20240916085400.1046925-8-alex.ben...@linaro.org>
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index c5b1c7a786..2da70b2fcf 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -90,6 +90,7 @@ CFLAGS=
LDFLAGS=
ed-by: Elisha Hollander
Signed-off-by: Alex Bennée
Reviewed-by: Pierrick Bouvier
Message-Id: <20240916085400.1046925-15-alex.ben...@linaro.org>
diff --git a/util/qemu-timer.c b/util/qemu-timer.c
index 213114be68..6b1533bc2a 100644
--- a/util/qemu-timer.c
+++ b/util/qemu-timer.c
@@ -685
: Pierrick Bouvier
Message-Id: <20240724194708.1843704-6-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-9-alex.ben...@linaro.org>
diff --git a/tests/tcg/plugins/mem.c b/tests/tcg/plugins/mem.c
index b650dddcce..086e6f5bdf 100644
--- a/t
: Pierrick Bouvier
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-11-alex.ben...@linaro.org>
diff --git a/tests/tcg/multiarch/system/memory.c
b/tests/tcg/multiarch/system/memory.c
index 6eb2eb16f7..8f2371975d 100644
--- a/tests/tcg/multiarch/system/memory.c
+++ b/tests/tcg/mul
ed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-7-alex.ben...@linaro.org>
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index 452a2cde65..c5b1c7a786 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -152,10 +152,11 @@ PLUGINS=$(patsubst
ing stdout, we can compare to plugins output and
have a multiarch test.
Can be run with:
make -C build/tests/tcg/$ARCH-linux-user
run-plugin-test-plugin-mem-access-with-libmem.so
Tested-by: Xingtao Yao
Signed-off-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
Message-Id: <20240910172
Odaki
Reviewed-by: Pierrick Bouvier
Message-Id: <20240816-bb-v3-1-b9aa4a5c7...@daynix.com>
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-16-alex.ben...@linaro.org>
diff --git a/docs/about/emulation.rst b/docs/about/emulation.rst
index 05f54d3f27..ee59c2fa9b 100644
d a
regions worth of writes to the expected total.
Signed-off-by: Alex Bennée
Reviewed-by: Pierrick Bouvier
Message-Id: <20240916085400.1046925-14-alex.ben...@linaro.org>
diff --git a/tests/tcg/multiarch/system/memory.c
b/tests/tcg/multiarch/system/memory.c
index 28080767b2..65a6038a24 100644
While the compilers will generally happily synthesise a 64 bit value
for you on 32 bit systems it doesn't exercise anything on QEMU. It
also makes it hard to accurately compare the accesses to test_data
when instrumenting.
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
Messa
The multiarch system tests output serial data which should be
redirected to the "output" chardev rather than echoed to the console.
Comment the use of EXTFLAGS variable while we are at it.
Acked-by: Ilya Leoshkevich
Reviewed-by: Thomas Huth
Signed-off-by: Alex Bennée
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Tested-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-3-rowanbh...@gmail.com>
[AJB: tweak fmt string for vaddr]
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-18-alex.ben...@linaro.o
-by: Alex Bennée
Message-Id: <20240916085400.1046925-2-alex.ben...@linaro.org>
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index ed31d4b0b2..809b2b9b81 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -184,6 +184,17 @@ be an effective use
The softmmu memory instrumentation test sees so many more accesses
than a normal translated host and its really not worth fixing up. Lets
deprecate this odd configuration and save on the CI cycles.
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.104692
Although we asks for instructions per second we work in quanta and
that cannot be 0. Fail to load the plugin instead and report the
minimum IPS we can handle.
Reported-by: Elisha Hollander
Reviewed-by: Richard Henderson
Signed-off-by: Alex Bennée
Reviewed-by: Pierrick Bouvier
Message-Id
- validate ips plugin arguments meet minimum slice value
Akihiko Odaki (1):
contrib/plugins: Add a plugin to generate basic block vectors
Alex Bennée (9):
deprecation: don't enable TCG plugins by default
://gitlab.com/qemu-project/qemu/-/issues/2152
Reviewed-by: Richard Henderson
Reviewed-by: Xingtao Yao
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-3-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-6
This is a simple control flow tracking plugin that uses the latest
inline and conditional operations to detect and track control flow
changes. It is currently an exercise at seeing how useful the changes
are.
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
Message-Id
iewed-by: Richard Henderson
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-2-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-5-alex.ben...@linaro.org>
diff --git a/accel/tcg/atomic_te
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-2-rowanbh...@gmail.com>
[AJB: tweaked cpu_memory_rw_debug call]
Signed-off-by: Alex Bennée
Message-Id: <20240916085400.1046925-17-alex.ben...@linaro.org>
diff --git a/inclu
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDA
Brian Cain writes:
> On 9/16/2024 8:12 AM, Alex Bennée wrote:
>> Brian Cain writes:
>>
>>> On 9/6/2024 9:39 PM, Brian Cain wrote:
>>>> With newer clang builds (19.x), there's a warning for implicit function
>>>> declarations and it r
t;> +++ b/tests/tcg/multiarch/linux/linux-test.c
>> @@ -17,6 +17,7 @@
>>* along with this program; if not, see <http://www.gnu.org/licenses/>.
>>*/
>> #define _GNU_SOURCE
>> +#define _LARGEFILE64_SOURCE
>> #include
>> #include
>
t;> +++ b/tests/tcg/multiarch/linux/linux-test.c
>> @@ -17,6 +17,7 @@
>>* along with this program; if not, see <http://www.gnu.org/licenses/>.
>>*/
>> #define _GNU_SOURCE
>> +#define _LARGEFILE64_SOURCE
>> #include
>> #include
>>
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-2-rowanbh...@gmail.com>
[AJB: tweaked cpu_memory_rw_debug call]
Signed-off-by: Alex Bennée
---
vAJB:
- explicit bool for cpu_memory_rw_debug
v2
- fix alignment
---
includ
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Tested-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-3-rowanbh...@gmail.com>
[AJB: tweak fmt string for vaddr]
Signed-off-by: Alex Bennée
---
vAJB
- tweak fmt string for PRIu64
v2
- add sta
Odaki
Reviewed-by: Pierrick Bouvier
Message-Id: <20240816-bb-v3-1-b9aa4a5c7...@daynix.com>
Signed-off-by: Alex Bennée
---
docs/about/emulation.rst | 30
contrib/plugins/bbv.c| 158 +++
contrib/plugins/Makefile | 1 +
3 files changed, 189
Although we asks for instructions per second we work in quanta and
that cannot be 0. Fail to load the plugin instead and report the
minimum IPS we can handle.
Signed-off-by: Alex Bennée
Reported-by: Elisha Hollander
Reviewed-by: Richard Henderson
---
contrib/plugins/ips.c | 5 +
1 file
From: Pierrick Bouvier
Add an explicit test to check expected memory values are read/written.
8,16,32 load/store are tested for all arch.
64,128 load/store are tested for aarch64/x64.
atomic operations (8,16,32,64) are tested for x64 only.
By default, atomic accesses are non atomic if a single c
d-off-by: Alex Bennée
Reported-by: Elisha Hollander
---
util/qemu-timer.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/util/qemu-timer.c b/util/qemu-timer.c
index 213114be68..6b1533bc2a 100644
--- a/util/qemu-timer.c
+++ b/util/qemu-timer.c
@@ -685,10 +6
: <20240910140733.4007719-20-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
tests/tcg/multiarch/system/memory.c | 47 ++---
1 file changed, 29 insertions(+), 18 deletions(-)
diff --git a/tests/tcg/multiarch/system/memory.c
b/tes
The multiarch system tests output serial data which should be
redirected to the "output" chardev rather than echoed to the console.
Comment the use of EXTFLAGS variable while we are at it.
Signed-off-by: Alex Bennée
---
v2
- don't remove EXTFLAGS, add comment
---
d a
regions worth of writes to the expected total.
Signed-off-by: Alex Bennée
---
v2
- aggressively align test_data on "region size"
- sort the regions in the final report
- ensure alpha-softmmu uses byte access when it can
v3
- fix thinko while iterating through the regions
- fix
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
v2
- >= test of __SIZEOF_POINTER__
---
tests/tcg/multiarch/system/memory.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/tests/tcg/multiarch/system/memory.c
b/tests/tcg/mu
iewed-by: Richard Henderson
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-2-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
accel/tcg/atomic_template.h | 66 ++-
include/hw/core/cpu.h | 4 +++
ed-off-by: Alex Bennée
---
tests/tcg/Makefile.target | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index 452a2cde65..c5b1c7a786 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -152,10 +
ouvier
Signed-off-by: Alex Bennée
---
docs/about/deprecated.rst | 8
configure | 11 +--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index f7c7c33d39..5aa2e35314 100644
--- a/docs/about/deprecat
://gitlab.com/qemu-project/qemu/-/issues/2152
Reviewed-by: Richard Henderson
Reviewed-by: Xingtao Yao
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-3-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
include/qemu/qemu-plugin.h
off-by: Alex Bennée
---
tests/tcg/Makefile.target | 9 +
1 file changed, 9 insertions(+)
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index c5b1c7a786..2da70b2fcf 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -90,6 +90,7 @@ CFLAGS=
L
ben...@linaro.org>
Based-on: <20240312075428.244210-1-pierrick.bouv...@linaro.org>
Cc: Gustavo Romero
Signed-off-by: Alex Bennée
---
v2
- only need a single call back
- drop need for INSN_WIDTH
- still don't understand the early exits
v3
- move initial STORE ops to first ins
/multiarch: add test for plugin memory access (0 acks, 1 sobs, 1 tbs)
v2
- fix some nits
- included fix to ips posted as an RFC before
Alex.
Akihiko Odaki (1):
contrib/plugins: Add a plugin to generate basic block vectors
Alex Bennée (9):
deprecation: don't enable TCG plugins by default
-12-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
v2
- don't manually set based on CPU type, use __SIZEOF_POINTER__
---
docs/about/deprecated.rst | 11 +++
configure | 21 -
2 files changed, 31 inser
: Pierrick Bouvier
Message-Id: <20240724194708.1843704-6-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
tests/tcg/plugins/mem.c | 69 -
1 file changed, 68 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/plugins/mem.c b/tests/tcg/plu
Philippe Mathieu-Daudé writes:
> On 13/9/24 19:26, Alex Bennée wrote:
>> While the compilers will generally happily synthesise a 64 bit value
>> for you on 32 bit systems it doesn't exercise anything on QEMU. It
>> also makes it hard to accurately compare the acc
Thomas Huth writes:
> On 13/09/2024 19.26, Alex Bennée wrote:
>> The multiarch system tests output serial data which should be
>> redirected to the "output" chardev rather than echoed to the console.
>> Remove the unused EXTFLAGS variable while we are at it
Although we asks for instructions per second we work in quanta and
that cannot be 0. Fail to load the plugin instead and report the
minimum IPS we can handle.
Signed-off-by: Alex Bennée
Reported-by: Elisha Hollander
---
contrib/plugins/ips.c | 5 +
1 file changed, 5 insertions(+)
diff
Odaki
Reviewed-by: Pierrick Bouvier
Message-Id: <20240816-bb-v3-1-b9aa4a5c7...@daynix.com>
Signed-off-by: Alex Bennée
---
docs/about/emulation.rst | 30
contrib/plugins/bbv.c| 158 +++
contrib/plugins/Makefile | 1 +
3 files changed, 189
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Tested-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-3-rowanbh...@gmail.com>
[AJB: tweak fmt string for vaddr]
Signed-off-by: Alex Bennée
---
vAJB
- tweak fmt string for PRIu64
---
docs/about/emulati
From: Rowan Hart
Signed-off-by: Rowan Hart
Reviewed-by: Pierrick Bouvier
Message-Id: <20240827215329.248434-2-rowanbh...@gmail.com>
[AJB: tweaked cpu_memory_rw_debug call]
Signed-off-by: Alex Bennée
---
vAJB:
- explicit bool for cpu_memory_rw_debug
---
include/qemu/qemu-plugin.h
ouvier
Signed-off-by: Alex Bennée
---
docs/about/deprecated.rst | 8
configure | 11 +--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index f7c7c33d39..5aa2e35314 100644
--- a/docs/about/deprecat
d a
regions worth of writes to the expected total.
Signed-off-by: Alex Bennée
---
v2
- aggressively align test_data on "region size"
- sort the regions in the final report
- ensure alpha-softmmu uses byte access when it can
v3
- fix thinko while iterating through the regions
- fix
: <20240910140733.4007719-20-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
tests/tcg/multiarch/system/memory.c | 47 ++---
1 file changed, 29 insertions(+), 18 deletions(-)
diff --git a/tests/tcg/multiarch/system/memory.c
b/tes
-12-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
v2
- don't manually set based on CPU type, use __SIZEOF_POINTER__
---
docs/about/deprecated.rst | 11 +++
configure | 21 -
2 files changed, 31 inser
d-off-by: Alex Bennée
Reported-by: Elisha Hollander
---
util/qemu-timer.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/util/qemu-timer.c b/util/qemu-timer.c
index 213114be68..6b1533bc2a 100644
--- a/util/qemu-timer.c
+++ b/util/qemu-timer.c
@@ -685,10 +6
ben...@linaro.org>
Based-on: <20240312075428.244210-1-pierrick.bouv...@linaro.org>
Cc: Gustavo Romero
Signed-off-by: Alex Bennée
---
v2
- only need a single call back
- drop need for INSN_WIDTH
- still don't understand the early exits
v3
- move initial STORE ops to first ins
off-by: Alex Bennée
---
tests/tcg/Makefile.target | 9 +
1 file changed, 9 insertions(+)
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index c5b1c7a786..2da70b2fcf 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -90,6 +90,7 @@ CFLAGS=
L
The multiarch system tests output serial data which should be
redirected to the "output" chardev rather than echoed to the console.
Remove the unused EXTFLAGS variable while we are at it.
Signed-off-by: Alex Bennée
---
tests/tcg/s390x/Makefile.softmmu-target | 2 +-
1 file changed, 1
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
---
tests/tcg/multiarch/system/memory.c | 26 +++---
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/tests/tcg/multiarch/system/memory.c
b/tests/tcg/multiarch/system/memory.c
index 8f2371975d..680dd4
From: Pierrick Bouvier
Add an explicit test to check expected memory values are read/written.
8,16,32 load/store are tested for all arch.
64,128 load/store are tested for aarch64/x64.
atomic operations (8,16,32,64) are tested for x64 only.
By default, atomic accesses are non atomic if a single c
iewed-by: Richard Henderson
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-2-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
accel/tcg/atomic_template.h | 66 ++-
include/hw/core/cpu.h | 4 +++
://gitlab.com/qemu-project/qemu/-/issues/2152
Reviewed-by: Richard Henderson
Reviewed-by: Xingtao Yao
Reviewed-by: Alex Bennée
Signed-off-by: Pierrick Bouvier
Message-Id: <20240724194708.1843704-3-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
include/qemu/qemu-plugin.h
: Pierrick Bouvier
Message-Id: <20240724194708.1843704-6-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
tests/tcg/plugins/mem.c | 69 -
1 file changed, 68 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/plugins/mem.c b/tests/tcg/plu
1 - 100 of 5637 matches
Mail list logo