[PATCH 1/1] util/getauxval: Porting to FreeBSD getauxval feature

2020-05-24 Thread David CARLIER
Hi here porting qemu_getauxval to FreeBSD. Thanks. Regards. >From 5be5e56a59631b28ed7b738d251dda252ba9b03e Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 24 May 2020 13:03:32 +0100 Subject: [PATCH] util/getauxval: FreeBSD has a similar auxilary vector API Signed-off-by: David Carlier -

Re: [RFC v2 2/3] cpu-timers, icount: new modules

2020-05-24 Thread Claudio Fontana
On 5/22/20 7:10 PM, Claudio Fontana wrote: > refactoring of cpus.c continues with two new modules extracted from it. > > cpu-timers: responsible for the cpu timers state, and for access to > cpu clocks and ticks. > > icount: counts the TCG instructions executed. As such it is specific to > the TC

[PATCH] hw/display/exynos4210_fimd: Use qemu_log_mask(GUEST_ERROR)

2020-05-24 Thread Philippe Mathieu-Daudé
Replace DPRINT_ERROR() by qemu_log_mask(GUEST_ERROR). Signed-off-by: Philippe Mathieu-Daudé --- hw/display/exynos4210_fimd.c | 46 +++- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c inde

[PATCH 3/4] hw/display/cirrus_vga: Use qemu_log_mask(ERROR) instead of debug printf

2020-05-24 Thread Philippe Mathieu-Daudé
Replace some debug printf() calls by qemu_log_mask(LOG_GUEST_ERROR). Signed-off-by: Philippe Mathieu-Daudé --- hw/display/cirrus_vga.c | 77 ++--- 1 file changed, 33 insertions(+), 44 deletions(-) diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c

[PATCH 2/4] hw/display/cirrus_vga: Use qemu_log_mask(UNIMP) instead of debug printf

2020-05-24 Thread Philippe Mathieu-Daudé
Replace some debug printf() calls by qemu_log_mask(LOG_UNIMP), and add a new one in cirrus_linear_bitblt_read(). Signed-off-by: Philippe Mathieu-Daudé --- hw/display/cirrus_vga.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/hw/display/cirrus_vga.c b/hw/displ

[PATCH 1/4] hw/display/cirrus_vga: Convert debug printf() to trace event

2020-05-24 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- hw/display/cirrus_vga.c | 4 +--- hw/display/trace-events | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c index 1f29731ffe..33ccdde000 100644 --- a/hw/display/cirrus_vga.c +++ b/hw/di

[PATCH 4/4] hw/display/cirrus_vga: Convert debug printf() to trace event

2020-05-24 Thread Philippe Mathieu-Daudé
Convert the final bit of DEBUG_BITBLT to a tracepoint. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/cirrus_vga.c | 24 ++-- hw/display/trace-events | 1 + 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga

[PATCH 0/4] hw/display/cirrus_vga: Convert debug printf() to qemu_log_mask & trace

2020-05-24 Thread Philippe Mathieu-Daudé
Replace debug ifdef'ry by qemu_log_mask() and trace events when appropriate. Philippe Mathieu-Daudé (4): hw/display/cirrus_vga: Convert debug printf() to trace event hw/display/cirrus_vga: Use qemu_log_mask(UNIMP) instead of debug printf hw/display/cirrus_vga: Use qemu_log_mask(ERROR) in

[Bug 1856335] Re: Cache Layout wrong on many Zen Arch CPUs

2020-05-24 Thread Heiko Sieger
Thanks for clarifying, Jan. In the meantime I tried a number of so-called solutions published on Reddit and other places, none of which seems to work. So if I understand it correctly, there is currently no solution to the incorrect l3 cache layout for Zen architecture CPUs. At best a workaround f

[PATCH] hw/display/omap_dss: Replace fprintf() call by qemu_log_mask(LOG_UNIMP)

2020-05-24 Thread Philippe Mathieu-Daudé
Replace fprintf() call by qemu_log_mask(LOG_UNIMP), which is disabled by default. This avoid flooding the terminal when fuzzing the device. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/omap_dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/omap_dss.c b/

Re: [Bug 1880355] [NEW] Length restrictions for fw_cfg_dma_transfer?

2020-05-24 Thread Philippe Mathieu-Daudé
On 5/24/20 6:12 AM, Alexander Bulekov wrote: > Public bug reported: > > For me, this takes close to 3 minutes at 100% CPU: > echo "outl 0x518 0x9596" | ./i386-softmmu/qemu-system-i386 -M q35 -m 32 > -nographic -accel qtest -monitor none -serial none -qtest stdio > > #0 phys_page_find (d=0x6

Re: [PATCH 02/19] cpu: convert queued work to a QSIMPLEQ

2020-05-24 Thread Philippe Mathieu-Daudé
On 5/22/20 6:07 PM, Robert Foley wrote: > From: "Emilio G. Cota" > > Instead of open-coding it. Please use a full sentence (repeating the patch subject): "Convert queued work to a QSIMPLEQ instead of open-coding it." (Not all email clients display the subject preceding the content). Otherwise

<    1   2