[Bug 1781281] Re: qemu-ppc64le uncaught target signal 4 (Illegal instruction)

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1783437] Re: read-modify-write page faults error code has write bit unset

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1785485] Re: Mouse moves erratically when using scroll wheel on Windows NT 4, Windows 95, and Windows 3.1 guests

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1790260] Re: binfmt support not working for x86 host and x86_64 guest

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1793859] Re: GTK display and mouse input area scaling fails when using vfio-pci device

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1785902] Re: local/9pfs: Too many levels of symbolic links

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1701798] Re: dynamically linked binaries crash for big-endian targets

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1703147] Re: Xfer:features:read truncating xml sent to gdb frontends

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1762558] Re: Many crashes with "memslot_get_virt: slot_id 170 too big"-type errors in 2.12.0 rc2

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1776478] Re: Getting qemu: uncaught target signal 6 when running lv2 plugin cross-compilation

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1770417] Re: Qemu can not parse long fqdns during drive-mirror

2021-05-01 Thread Thomas Huth
The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the

[Bug 1874674] Re: [Feature request] acceptance test class to run user-mode binaries

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/82 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 584155] Re: support horisontal mouse wheel

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/79 ** Changed in: qemu Status: Confirmed => Expired ** Bug

[Bug 603878] Re: [Feature request] qemu-img option about recompressing

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/81 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 601946] Re: [Feature request] qemu-img multi-threaded compressed image conversion

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/80 ** Changed in: qemu Status: New => Expired ** Bug watch

Re: [PATCH] tap-bsd: Remove special casing for older OpenBSD releases

2021-05-01 Thread Brad Smith
On 4/1/2021 3:24 AM, Jason Wang wrote: 在 2021/3/30 上午4:38, Brad Smith 写道: On 3/28/2021 11:58 PM, Jason Wang wrote: 在 2021/3/29 上午11:03, Brad Smith 写道: It very much is correct. We don't care about such releases anymore. So is there a doc/wiki to say Qemu doesn't support those OpenBSD

Re: [PATCH] oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure

2021-05-01 Thread Brad Smith
ping. On 4/1/2021 1:34 PM, Brad Smith wrote: OpenBSD prior to 6.3 required a workaround to utilize fcntl(F_SETFL) on memory devices. Since modern verions of OpenBSD that are only officialy supported and buildable on do not have this issue I am garbage collecting this workaround.

Re: [PATCH] tcg/ppc: Fix building with Clang

2021-05-01 Thread Brad Smith
On 4/22/2021 11:39 AM, Richard Henderson wrote: On 4/22/21 2:20 AM, Peter Maydell wrote: On Thu, 22 Apr 2021 at 06:18, Richard Henderson I'm thinking something like #if !defined(_CALL_SYSV) && \   !defined(_CALL_DARWIN) && \   !defined(_CALL_AIX) && \   !defined(_CALL_ELF) # if

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Guenter Roeck
On 5/1/21 5:24 PM, Bin Meng wrote: > On Sun, May 2, 2021 at 7:21 AM Guenter Roeck wrote: >> >> On 5/1/21 2:40 PM, Philippe Mathieu-Daudé wrote: >>> On 5/1/21 10:12 PM, Guenter Roeck wrote: On 4/30/21 9:28 PM, Bin Meng wrote: > On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: >>

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Bin Meng
On Sun, May 2, 2021 at 7:21 AM Guenter Roeck wrote: > > On 5/1/21 2:40 PM, Philippe Mathieu-Daudé wrote: > > On 5/1/21 10:12 PM, Guenter Roeck wrote: > >> On 4/30/21 9:28 PM, Bin Meng wrote: > >>> On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: > > Hi, > > On Wed, Jan

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Guenter Roeck
On 5/1/21 2:40 PM, Philippe Mathieu-Daudé wrote: > On 5/1/21 10:12 PM, Guenter Roeck wrote: >> On 4/30/21 9:28 PM, Bin Meng wrote: >>> On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: Hi, On Wed, Jan 06, 2021 at 02:35:03PM +0800, Bin Meng wrote: > From: Bin Meng

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Bin Meng
On Sun, May 2, 2021 at 4:12 AM Guenter Roeck wrote: > > On 4/30/21 9:28 PM, Bin Meng wrote: > > On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: > >> > >> Hi, > >> > >> On Wed, Jan 06, 2021 at 02:35:03PM +0800, Bin Meng wrote: > >>> From: Bin Meng > >>> > >>> At present, when booting

[PATCH v5 10/10] qtest: Do not restrict bios-tables-test to Aarch64 hosts anymore

2021-05-01 Thread Philippe Mathieu-Daudé
Since commit 82bf7ae84ce ("target/arm: Remove KVM support for 32-bit Arm hosts") we can remove the comment / check added in commit ab6b6a4 and directly run the bios-tables-test. Reviewed-by: Eric Blake Reviewed-by: Alex Bennée Tested-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé

[PATCH v5 09/10] qtest/migration-test: Skip tests if KVM not builtin on s390x/ppc64

2021-05-01 Thread Philippe Mathieu-Daudé
We might have a s390x/ppc64 QEMU binary built without the KVM accelerator (configured with --disable-kvm). Checking for /dev/kvm accessibility isn't enough, also check for the accelerator in the binary. Reviewed-by: David Gibson Reviewed-by: Greg Kurz Reviewed-by: Cornelia Huck Reviewed-by:

[PATCH v5 07/10] qtest/arm-cpu-features: Use generic qtest_has_accel() to check for TCG

2021-05-01 Thread Philippe Mathieu-Daudé
Now than we can probe if the TCG accelerator is available at runtime with a QMP command, only run these tests if TCG is built into the QEMU binary. Suggested-by: Andrew Jones Reviewed-by: Andrew Jones Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé ---

[PATCH v5 08/10] qtest/bios-tables-test: Make test build-independent from accelerator

2021-05-01 Thread Philippe Mathieu-Daudé
Now than we can probe if the TCG accelerator is available at runtime with a QMP command, do it once at the beginning and only register the tests we can run. We can then replace the #ifdef'ry by an assertion. Reviewed-by: Eric Blake Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé

[PATCH v5 03/10] tests/qtest: Add qtest_has_accel() method

2021-05-01 Thread Philippe Mathieu-Daudé
Introduce the qtest_has_accel() method which allows a runtime query on whether a QEMU instance has an accelerator built-in. Reviewed-by: Eric Blake Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- tests/qtest/libqos/libqtest.h | 8 tests/qtest/libqtest.c|

[PATCH v5 05/10] qtest/arm-cpu-features: Restrict sve_tests_sve_off_kvm test to KVM

2021-05-01 Thread Philippe Mathieu-Daudé
The sve_tests_sve_off_kvm() test is KVM specific. Only run it if KVM is available. Suggested-by: Andrew Jones Reviewed-by: Andrew Jones Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- tests/qtest/arm-cpu-features.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v5 06/10] qtest/arm-cpu-features: Remove TCG fallback to KVM specific tests

2021-05-01 Thread Philippe Mathieu-Daudé
sve_tests_sve_off_kvm() and test_query_cpu_model_expansion_kvm() tests are now only being run if KVM is available. Drop the TCG fallback. Suggested-by: Andrew Jones Reviewed-by: Andrew Jones Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- tests/qtest/arm-cpu-features.c | 2

[PATCH v5 02/10] accel: Introduce 'query-accels' QMP command

2021-05-01 Thread Philippe Mathieu-Daudé
Introduce the 'query-accels' QMP command which returns a list of built-in accelerator names. - Accelerator is a QAPI enum of all existing accelerators, - AcceleratorInfo is a QAPI structure providing accelerator specific information. Currently the common structure base provides the name of

[PATCH v5 04/10] qtest/arm-cpu-features: Use generic qtest_has_accel() to check for KVM

2021-05-01 Thread Philippe Mathieu-Daudé
Use the recently added generic qtest_has_accel() method to check if KVM is available. Suggested-by: Claudio Fontana Reviewed-by: Andrew Jones Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- tests/qtest/arm-cpu-features.c | 25 + 1 file changed, 1

[PATCH v5 01/10] MAINTAINERS: Add qtest/arm-cpu-features.c to ARM TCG CPUs section

2021-05-01 Thread Philippe Mathieu-Daudé
We want the ARM maintainers and the qemu-arm@ list to be notified when this file is modified. Add an entry to the 'ARM TCG CPUs' section in the MAINTAINERS file. Acked-by: Andrew Jones Reviewed-by: Thomas Huth Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1

[PATCH v5 00/10] qtests: Check accelerator available at runtime via QMP 'query-accels'

2021-05-01 Thread Philippe Mathieu-Daudé
Series fully reviewed. Hi, This series aims at having accelerator-independent qtests by querying a QEMU instance at runtime to check the list of built-in accelerators. First we add the 'query-accels' QMP command, then we add the qtest_has_accel() method to libqtest, finally we use this new

Re: [PULL 00/31] target/hexagon patch queue

2021-05-01 Thread Richard Henderson
On 5/1/21 1:40 PM, Peter Maydell wrote: Build failure on the gitlab CI "clang-user" job: https://gitlab.com/qemu-project/qemu/-/jobs/1229108656 ../target/hexagon/genptr.c:31:20: error: unused function 'gen_read_reg' [-Werror,-Wunused-function] static inline TCGv gen_read_reg(TCGv result, int

Re: [PATCH v4 02/12] accel: Introduce 'query-accels' QMP command

2021-05-01 Thread Philippe Mathieu-Daudé
On 4/30/21 9:03 PM, Eric Blake wrote: > On 4/15/21 11:32 AM, Philippe Mathieu-Daudé wrote: >> Introduce the 'query-accels' QMP command which returns a list >> of built-in accelerator names. >> >> - Accelerator is a QAPI enum of all existing accelerators, >> >> - AcceleratorInfo is a QAPI structure

[PATCH v2 2/2] hw/rtc/mc146818rtc: Convert to 3-phase reset (Resettable interface)

2021-05-01 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé TYPE_MC146818_RTC is an ISA device, so its DeviceClass::reset() handler is called automatically when its qbus parent is reset (we don't need to register it manually). We have 2 reset() methods: a generic one and the qdev one. Merge them into a reset_enter handler

[PATCH v2 1/2] hw/timer/etraxfs_timer: Convert to 3-phase reset (Resettable interface)

2021-05-01 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé TYPE_ETRAX_FS_TIMER is a sysbus device, so its DeviceClass::reset() handler is called automatically when its qbus parent is reset (we don't need to register it manually). Convert the generic reset to a enter/exit resettable ones, and remove the qemu_register_reset()

[PATCH v2 0/2] hw: Convert mc146818rtc & etraxfs_timer to 3-phase reset interface

2021-05-01 Thread Philippe Mathieu-Daudé
Remove qemu_register_reset() when a qdev type has a qbus parent, implementing the 3-phase Resettable interface. Since v1: - Use 3-phase reset interface instead of qdev one (Laurent) Supersedes: <20210423233652.3042941-1-f4...@amsat.org> Philippe Mathieu-Daudé (2): hw/timer/etraxfs_timer:

Re: [PATCH 1/2] hw/timer/etraxfs_timer: Qdev'ify reset()

2021-05-01 Thread Philippe Mathieu-Daudé
On 5/1/21 6:46 PM, Laurent Vivier wrote: > Le 24/04/2021 à 01:36, Philippe Mathieu-Daudé a écrit : >> TYPE_ETRAX_FS_TIMER is a sysbus device, so its DeviceClass::reset() >> handler is called automatically when its qbus parent is reset. >> Convert the generic reset to a qdev one, and remove the >>

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Philippe Mathieu-Daudé
On 5/1/21 10:12 PM, Guenter Roeck wrote: > On 4/30/21 9:28 PM, Bin Meng wrote: >> On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: >>> >>> Hi, >>> >>> On Wed, Jan 06, 2021 at 02:35:03PM +0800, Bin Meng wrote: From: Bin Meng At present, when booting U-Boot on QEMU sabrelite,

Re: [PULL 00/31] target/hexagon patch queue

2021-05-01 Thread Peter Maydell
in the Git repository at: > > https://gitlab.com/rth7680/qemu.git tags/pull-hex-20210501 > > for you to fetch changes up to 26f7c044ad234c3dfa7ca2ddf047a71d815e66dc: > > Hexagon (target/hexagon) CABAC decode bin (2021-05-01 08:31:43 -0700) > > ---

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Guenter Roeck
On 4/30/21 9:28 PM, Bin Meng wrote: > On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: >> >> Hi, >> >> On Wed, Jan 06, 2021 at 02:35:03PM +0800, Bin Meng wrote: >>> From: Bin Meng >>> >>> At present, when booting U-Boot on QEMU sabrelite, we see: >>> >>> Net: Board Net Initialization

Re: [PULL 0/5] tcg patch queue

2021-05-01 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210501185116.1338875-1-richard.hender...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210501185116.1338875-1-richard.hender...@linaro.org Subject: [PULL 0/5] tcg

[PATCH 0/2] input-linux: Allow to toggle grab from QMP

2021-05-01 Thread Rainer Müller
This adds an grab-active bool option to input-linux objects to control the grab state of evdev devices from QMP. The first patch fixes a problem with multiple keyboards that was previously unlikely, as the user will only use one device at a time. It could be merged independently, but I am

[PULL 4/5] decodetree: Add support for 64-bit instructions

2021-05-01 Thread Richard Henderson
From: Luis Fernando Fujita Pires Allow '64' to be specified for the instruction width command line params and use the appropriate extract and deposit functions in that case. This will be used to implement the new 64-bit Power ISA 3.1 instructions. Reviewed-by: Philippe Mathieu-Daudé

[PATCH 2/2] input-linux: Allow to toggle grab from QMP

2021-05-01 Thread Rainer Müller
This patch allows to boot a guest without the input-linux device being grabbed immediately from the host. This is useful when the guest is automatically started, but is supposed to stay in the background until the user actively switches to it with a key combination. In this usage example the host

[PULL 3/5] decodetree: More use of f-strings

2021-05-01 Thread Richard Henderson
Reviewed-by: Luis Pires Signed-off-by: Richard Henderson --- scripts/decodetree.py | 50 --- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 0861e5d503..d5da101167 100644 ---

[PULL 27/31] Hexagon (target/hexagon) circular addressing

2021-05-01 Thread Richard Henderson
From: Taylor Simpson The following instructions are added L2_loadrub_pci Rd32 = memub(Rx32++#s4:0:circ(Mu2)) L2_loadrb_pci Rd32 = memb(Rx32++#s4:0:circ(Mu2)) L2_loadruh_pci Rd32 = memuh(Rx32++#s4:1:circ(Mu2)) L2_loadrh_pci Rd32 =

[PATCH 1/2] input-linux: Delay grab toggle if keys are pressed

2021-05-01 Thread Rainer Müller
When multiple keyboards are passed to the guest with input-linux, there could still be keys pressed on the other keyboard when toggling grab. Delay toggling grab on the other keyboard until all keys are released, otherwise keys could be stuck on host without a key up event. Signed-off-by: Rainer

[PULL 28/31] Hexagon (target/hexagon) bit reverse (brev) addressing

2021-05-01 Thread Richard Henderson
From: Taylor Simpson The following instructions are added L2_loadrub_pbr Rd32 = memub(Rx32++Mu2:brev) L2_loadrb_pbr Rd32 = memb(Rx32++Mu2:brev) L2_loadruh_pbr Rd32 = memuh(Rx32++Mu2:brev) L2_loadrh_pbr Rd32 = memh(Rx32++Mu2:brev)

[PULL 2/5] decodetree: Introduce whex and whexC helpers

2021-05-01 Thread Richard Henderson
Form a hex constant of the appropriate insnwidth. Begin using f-strings on changed lines. Reviewed-by: Luis Pires Signed-off-by: Richard Henderson --- scripts/decodetree.py | 66 +-- 1 file changed, 38 insertions(+), 28 deletions(-) diff --git

[PULL 31/31] Hexagon (target/hexagon) CABAC decode bin

2021-05-01 Thread Richard Henderson
From: Taylor Simpson The following instruction is added S2_cabacdecbinRdd32=decbin(Rss32,Rtt32) Test cases added to tests/tcg/hexagon/misc.c Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-27-git-send-email-tsimp...@quicinc.com>

[PULL 0/5] tcg patch queue

2021-05-01 Thread Richard Henderson
The following changes since commit 8f860d2633baf9c2b6261f703f86e394c6bc22ca: Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-04-30' into staging (2021-04-30 16:02:00 +0100) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210501

[PULL 26/31] Hexagon (target/hexagon) add A4_addp_c/A4_subp_c

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Rdd32 = add(Rss32, Rtt32, Px4):carry Add with carry Rdd32 = sub(Rss32, Rtt32, Px4):carry Sub with carry Test cases in tests/tcg/hexagon/multi_result.c Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id:

[PULL 21/31] Hexagon (target/hexagon) compile all debug code

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Change #if HEX_DEBUG to if (HEX_DEBUG) so the debug code doesn't bit rot Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-17-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard

[PULL 25/31] Hexagon (target/hexagon) add A6_vminub_RdP

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Rdd32,Pe4 = vminub(Rtt32, Rss32) Vector min of bytes Test cases in tests/tcg/hexagon/multi_result.c Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-21-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson

[PULL 24/31] Hexagon (target/hexagon) add A5_ACS (vacsh)

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Rxx32,Pe4 = vacsh(Rss32, Rtt32) Add compare and select elements of two vectors Test cases in tests/tcg/hexagon/multi_result.c Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-20-git-send-email-tsimp...@quicinc.com>

[PULL 23/31] Hexagon (target/hexagon) add F2_sfinvsqrta

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Rd32,Pe4 = sfinvsqrta(Rs32) Square root approx The helper packs the 2 32-bit results into a 64-bit value, and the fGEN_TCG override unpacks them into the proper results. Test cases in tests/tcg/hexagon/multi_result.c FP exception tests added to

[PULL 29/31] Hexagon (target/hexagon) load and unpack bytes instructions

2021-05-01 Thread Richard Henderson
From: Taylor Simpson The following instructions are added L2_loadbzw2_io Rd32 = memubh(Rs32+#s11:1) L2_loadbzw4_io Rdd32 = memubh(Rs32+#s11:1) L2_loadbsw2_io Rd32 = membh(Rs32+#s11:1) L2_loadbsw4_io Rdd32 = membh(Rs32+#s11:1)

[PULL 22/31] Hexagon (target/hexagon) add F2_sfrecipa instruction

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Rd32,Pe4 = sfrecipa(Rs32, Rt32) Recripocal approx Test cases in tests/tcg/hexagon/multi_result.c FP exception tests added to tests/tcg/hexagon/fpstuff.c Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id:

[PULL 5/5] decodetree: Extend argument set syntax to allow types

2021-05-01 Thread Richard Henderson
Rather than force all structure members to be 'int', allow the type of the member to be specified. Reviewed-by: Luis Pires Signed-off-by: Richard Henderson --- docs/devel/decodetree.rst | 11 --- tests/decode/succ_argset_type1.decode | 1 + scripts/decodetree.py

[PULL 18/31] Hexagon (target/hexagon) cleanup ternary operators in semantics

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Change (cond ? (res = x) : (res = y)) to res = (cond ? x : y) This makes the semnatics easier to for idef-parser to deal with The following instructions are impacted C2_any8 C2_all8 C2_mux C2_muxii C2_muxir C2_muxri Signed-off-by: Taylor Simpson

[PULL 20/31] Hexagon (target/hexagon) move QEMU_GENERATE to only be on during macros.h

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-16-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/genptr.c | 3 ++- 1 file changed, 2 insertions(+),

[PULL 17/31] Hexagon (target/hexagon) use softfloat for float-to-int conversions

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Use the proper return for helpers that convert to unsigned Remove target/hexagon/conv_emu.[ch] Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-13-git-send-email-tsimp...@quicinc.com>

[PULL 1/5] exec: Remove accel/tcg/ from include paths

2021-05-01 Thread Richard Henderson
From: Philippe Mathieu-Daudé When TCG is enabled, the accel/tcg/ include path is added to the project global include search list. This accel/tcg/ directory contains a header named "internal.h" which, while intented to be internal to accel/tcg/, is accessible by all files compiled when TCG is

[PULL 15/31] Hexagon (target/hexagon) use softfloat default NaN and tininess

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-11-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/cpu.c | 5 target/hexagon/op_helper.c

[PULL 14/31] Hexagon (target/hexagon) change type of softfloat_roundingmodes

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-10-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/arch.c | 2 +- 1 file changed, 1 insertion(+), 1

[PULL 13/31] Hexagon (target/hexagon) remove unused carry_from_add64 function

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-9-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/arch.h | 1 - target/hexagon/macros.h | 2 --

[PULL 30/31] Hexagon (target/hexagon) load into shifted register instructions

2021-05-01 Thread Richard Henderson
From: Taylor Simpson The following instructions are added L2_loadalignb_io Ryy32 = memb_fifo(Rs32+#s11:1) L2_loadalignh_io Ryy32 = memh_fifo(Rs32+#s11:1) L4_loadalignb_ur Ryy32 = memb_fifo(Rt32<<#u2+#U6) L4_loadalignh_ur Ryy32 =

[PULL 16/31] Hexagon (target/hexagon) replace float32_mul_pow2 with float32_scalbn

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-12-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/arch.c | 28 +++- 1 file

[PULL 10/31] Hexagon (target/hexagon) properly generate TB end for DISAS_NORETURN

2021-05-01 Thread Richard Henderson
From: Taylor Simpson When exiting a TB, generate all the code before returning from hexagon_tr_translate_packet so that nothing needs to be done in hexagon_tr_tb_stop. Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id:

[PULL 09/31] Hexagon (target/hexagon) use env_archcpu and env_cpu

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Remove hexagon_env_get_cpu and replace with env_archcpu Replace CPU(hexagon_env_get_cpu(env)) with env_cpu(env) Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id:

[PULL 19/31] Hexagon (target/hexagon) cleanup reg_field_info definition

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Include size in declaration Remove {0, 0} entry Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-15-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson ---

[PULL 12/31] Hexagon (target/hexagon) change variables from int to bool when appropriate

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-8-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/cpu_bits.h | 2 +-

[PULL 04/31] target/hexagon: fix typo in comment

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Taylor Simpson Message-Id: <1615784115-26559-1-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PULL 06/31] Hexagon (target/hexagon) TCG generation cleanup

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Simplify TCG generation of hex_reg_written Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-2-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/genptr.c |

[PULL 11/31] Hexagon (target/hexagon) decide if pred has been written at TCG gen time

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Multiple writes to the same preg are and'ed together. Rather than generating a runtime check, we can determine at TCG generation time if the predicate has previously been written in the packet. Test added to tests/tcg/hexagon/misc.c Suggested-by: Richard Henderson

[PULL 05/31] target/hexagon: remove unnecessary semicolons

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Reviewed-by: Philippe Mathieu-Daudé Reported-by: Richard Henderson < Signed-off-by: Taylor Simpson Message-Id: <1615784100-26459-1-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/gen_tcg.h | 4 ++-- 1 file changed, 2

[PULL 02/31] target/hexagon: remove unnecessary checks in find_iclass_slots

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Reported-by: Richard Henderson < Signed-off-by: Taylor Simpson Message-Id: <1615784037-26129-1-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/iclass.c | 4 1 file changed, 4 deletions(-) diff --git a/target/hexagon/iclass.c

[PULL 03/31] target/hexagon: Change DECODE_MAPPED_REG operand name to OPNUM

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Reported-by: Richard Henderson < Signed-off-by: Taylor Simpson Message-Id: <1615784049-26215-1-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PULL 07/31] Hexagon (target/hexagon) cleanup gen_log_predicated_reg_write_pair

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Similar to previous cleanup of gen_log_predicated_reg_write Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-3-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/genptr.c | 27

[PULL 08/31] Hexagon (target/hexagon) remove unnecessary inline directives

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Suggested-by: Richard Henderson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-4-git-send-email-tsimp...@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/cpu.c | 9 - target/hexagon/decode.c|

[PULL 01/31] target/hexagon: translation changes

2021-05-01 Thread Richard Henderson
From: Taylor Simpson Change cpu_ldl_code to translator_ldl. Don't end the TB after every packet when HEX_DEBUG is on. Make gen_check_store_width a simple call. Reported-by: Richard Henderson < Signed-off-by: Taylor Simpson Message-Id: <1615783984-25918-1-git-send-email-tsimp...@quicinc.com>

[PULL 00/31] target/hexagon patch queue

2021-05-01 Thread Richard Henderson
The following changes since commit 8f860d2633baf9c2b6261f703f86e394c6bc22ca: Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2021-04-30' into staging (2021-04-30 16:02:00 +0100) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-hex-20210501

[Bug 1750899] Re: Mouse cursor sometimes can't pass the invisible border on the right side of the screen

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/76 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 1884302] Re: disable automatic mouse grabbing

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/75 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 1888663] Re: msmouse not recognized in guest

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/77 ** Changed in: qemu Status: New => Expired ** Bug watch

[Bug 1891830] Re: msmouse serial mouse emulation broken? No id byte sent on reset

2021-05-01 Thread Thomas Huth
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/78 ** Changed in: qemu Status: New => Expired ** Bug watch

Re: [PATCH 1/2] hw/timer/etraxfs_timer: Qdev'ify reset()

2021-05-01 Thread Laurent Vivier
Le 24/04/2021 à 01:36, Philippe Mathieu-Daudé a écrit : > TYPE_ETRAX_FS_TIMER is a sysbus device, so its DeviceClass::reset() > handler is called automatically when its qbus parent is reset. > Convert the generic reset to a qdev one, and remove the > qemu_register_reset() call. > > Signed-off-by:

Re: [PULL 00/10] Misc patches for 2021-04-30 (incl. NVMM accelerator)

2021-05-01 Thread Peter Maydell
On Sat, 1 May 2021 at 10:35, Paolo Bonzini wrote: > > The following changes since commit b1cffefa1b163bce9aebc3416f562c1d3886eeaa: > > Update version for v6.0.0-rc4 release (2021-04-20 16:30:01 +0100) > > are available in the Git repository at: > > https://gitlab.com/bonzini/qemu.git

Re: [PATCH v4 0/3] nvdimm: Enable sync-dax property for nvdimm

2021-05-01 Thread Aneesh Kumar K.V
On 5/1/21 12:44 AM, Dan Williams wrote: Some corrections to terminology confusion below... ... file on the host in case of file backed v-nvdimms. This is addressed by virtio-pmem in case of x86_64 by making explicit flushes translating to fsync at qemu. Note that virtio-pmem was a

[Bug 1861677] Re: wavcapture crash with pulseaudio

2021-05-01 Thread Philippe Mathieu-Daudé
Fixed in v5.1.0, commit cbaf25d1f59 ("audio: fix wavcapture segfault"). ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1861677 Title:

Re: [Bug 1861677] Re: wavcapture crash with pulseaudio

2021-05-01 Thread Philippe Mathieu-Daudé
On 5/1/21 3:01 PM, Volker Rümelin wrote: >> You received this bug notification because you are a member of qemu- >> devel-ml, which is subscribed to QEMU. >>https://bugs.launchpad.net/bugs/1861677 >> >> Title: >>  wavcapture crash with pulseaudio >> >> Status in QEMU: >>  New > > Hi Philippe, >

Re: [PATCH v3 3/4] hw/arm: sabrelite: Connect the Ethernet PHY at address 6

2021-05-01 Thread Guenter Roeck
On 4/30/21 9:28 PM, Bin Meng wrote: > On Fri, Apr 30, 2021 at 10:41 PM Guenter Roeck wrote: >> >> Hi, >> >> On Wed, Jan 06, 2021 at 02:35:03PM +0800, Bin Meng wrote: >>> From: Bin Meng >>> >>> At present, when booting U-Boot on QEMU sabrelite, we see: >>> >>> Net: Board Net Initialization

Re: [Bug 1861677] Re: wavcapture crash with pulseaudio

2021-05-01 Thread Volker Rümelin
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. >https://bugs.launchpad.net/bugs/1861677 Title: wavcapture crash with pulseaudio Status in QEMU: New Hi Philippe, this bug was fixed with commit cbaf25d1f5 "audio: fix wavcapture

Re: [PATCH v2 2/2] ui/cocoa: add option to swap Option and Command, enable by default

2021-05-01 Thread Gustavo Noronha Silva
Hey there, On Sat, May 1, 2021, at 6:39 AM, BALATON Zoltan wrote: > > On Mac OS X the Option key maps to Alt and Command to Super/Meta. This > > change > > swaps them around so that Alt is the key closer to the space bar and > > Meta/Super > > is between Control and Alt, like on non-Mac

Re: [PATCH 0/2] hw: Qdev'ify reset() for mc146818rtc & etraxfs_timer

2021-05-01 Thread Philippe Mathieu-Daudé
ping? On 4/24/21 1:36 AM, Philippe Mathieu-Daudé wrote: > Remove qemu_register_reset() when a qdev type has a qbus parent. > > Philippe Mathieu-Daudé (2): > hw/timer/etraxfs_timer: Qdev'ify reset() > hw/rtc/mc146818rtc: Qdev'ify reset() > > hw/rtc/mc146818rtc.c | 35

Re: [Trivial] docs: More precisely describe memory-backend-*::id's user

2021-05-01 Thread Laurent Vivier
Le 22/04/2021 à 10:42, Robert Hoo a écrit : > 'id' of memory-backend-{file,ram} is not only for '-numa''s reference, but > also other parameters like '-device nvdimm'. > More clearly call out this to avoid misinterpretation. > > Signed-off-by: Robert Hoo > --- > qemu-options.hx | 6 +++--- > 1

Re: [PATCH] hw/sd/omap_mmc: Use device_cold_reset() instead of device_legacy_reset()

2021-05-01 Thread Philippe Mathieu-Daudé
On 5/1/21 7:55 AM, Markus Armbruster wrote: > Peter Maydell writes: > >> The omap_mmc_reset() function resets its SD card via >> device_legacy_reset(). We know that the SD card does not have a qbus >> of its own, so the new device_cold_reset() function (which resets >> both the device and its

[PULL 10/10] gitlab-ci: use --meson=internal for CFI jobs

2021-05-01 Thread Paolo Bonzini
If we use the system Meson but it is too old, the subsequent "meson configure" will fail. Always use the submodule when building with CFI. Signed-off-by: Paolo Bonzini --- .gitlab-ci.yml | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml

  1   2   >