[Qemu-devel] [PATCH v3 20/31] tcg: Add support for integer absolute value

2019-05-04 Thread Richard Henderson
Remove a function of the same name from target/arm/. Use a branchless implementation of abs gleaned from gcc. Reviewed-by: Alex Bennée Reviewed-by: David Hildenbrand Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- tcg/tcg-op.h | 5 +

[Qemu-devel] [PATCH v3 30/31] target/xtensa: Use tcg_gen_abs_i32

2019-05-04 Thread Richard Henderson
Acked-by: Max Filippov Signed-off-by: Richard Henderson --- target/xtensa/translate.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c index 301c8e3161..b063fa85f2 100644 --- a/target/xtensa/translate.c +++

[Qemu-devel] [PATCH v3 17/31] tcg/aarch64: Support vector variable shift opcodes

2019-05-04 Thread Richard Henderson
Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.h | 2 +- tcg/aarch64/tcg-target.opc.h | 2 ++ tcg/aarch64/tcg-target.inc.c | 42 3 files changed, 45 insertions(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH v3 25/31] target/cris: Use tcg_gen_abs_tl

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/cris/translate.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/target/cris/translate.c b/target/cris/translate.c index b005a5c20e..31b40a57f9 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -1686,18

[Qemu-devel] [PATCH v3 27/31] target/ppc: Use tcg_gen_abs_tl

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/ppc/translate.c | 68 +++--- 1 file changed, 24 insertions(+), 44 deletions(-) diff --git a/target/ppc/translate.c b/target/ppc/translate.c index 8d08625c33..b5217f632f 100644 --- a/target/ppc/translate.c +++

[Qemu-devel] [PATCH v3 16/31] tcg/i386: Support vector variable shift opcodes

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.h | 2 +- tcg/i386/tcg-target.inc.c | 35 +++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 241bf19413..b240633455 100644 ---

[Qemu-devel] [PATCH v3 29/31] target/tricore: Use tcg_gen_abs_tl

2019-05-04 Thread Richard Henderson
From: Philippe Mathieu-Daudé Reviewed-by: Bastian Koppelmann Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20190423102145.14812-3-f4...@amsat.org> Signed-off-by: Richard Henderson --- target/tricore/translate.c | 27 +-- 1 file changed, 5 insertions(+), 22

[Qemu-devel] [PATCH v3 31/31] tcg/aarch64: Do not advertise minmax for MO_64

2019-05-04 Thread Richard Henderson
The min/max instructions are not available for 64-bit elements. Fixes: 93f332a50371 Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index

[Qemu-devel] [PATCH] tests/docker: Test more components on the Fedora default image

2019-05-04 Thread Philippe Mathieu-Daudé
Install optional dependencies of QEMU to get better coverage. The following components are now enabled: $ ./configure ... Multipath support yes VNC SASL support yes RDMA support yes PVRDMA supportyes libiscsi support yes seccomp support yes libpmem support yes

Re: [Qemu-devel] [PATCH] Deprecate Python 2 support

2019-05-04 Thread Thomas Huth
On 03/05/2019 21.37, Eduardo Habkost wrote: > Python 2 will reach end of life in January 1 2020. Declare it as > deprecated. > > Signed-off-by: Eduardo Habkost > --- > configure| 8 > qemu-deprecated.texi | 8 > 2 files changed, 16 insertions(+) > > diff --git

Re: [Qemu-devel] [PATCH] tests/tcg/alpha: add system boot.S

2019-05-04 Thread Richard Henderson
On 5/3/19 10:07 AM, Alex Bennée wrote: > + ldah$sp, $stack_end($gp)!gprelhigh > + lda $sp, $stack_end($gp)!gprellow Bah. $sp As is, this works only because the test case is tiny, and this happens to evaluate to the middle of the stack

[Qemu-devel] [PATCH v3 23/31] tcg/aarch64: Support vector absolute value

2019-05-04 Thread Richard Henderson
Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.h | 2 +- tcg/aarch64/tcg-target.inc.c | 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tcg/aarch64/tcg-target.h b/tcg/aarch64/tcg-target.h index 21d06d928c..e43554c3c7 100644 ---

[Qemu-devel] [PATCH] tests/docker: Update the Fedora image to Fedora 30

2019-05-04 Thread Philippe Mathieu-Daudé
Fedora 30 got released: https://fedoramagazine.org/announcing-fedora-30/ Signed-off-by: Philippe Mathieu-Daudé --- Based-on: <20190408201203.28924-1-marcandre.lur...@redhat.com> qxl: fix -Waddress-of-packed-member Based-on: <20190503112654.4393-1-laur...@vivier.eu> Pull

[Qemu-devel] [PATCH v3 24/31] target/arm: Use tcg_gen_abs_i64 and tcg_gen_gvec_abs

2019-05-04 Thread Richard Henderson
Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- target/arm/helper.h| 2 -- target/arm/neon_helper.c | 5 - target/arm/translate-a64.c | 41 +- target/arm/translate.c | 11 +++--- 4 files changed, 8 insertions(+), 51

Re: [Qemu-devel] [PULL 19/19] configure: automatically pick python3 is available

2019-05-04 Thread Thomas Huth
On 03/05/2019 23.34, Eduardo Habkost wrote: > On Fri, May 03, 2019 at 06:00:11PM -0300, Eduardo Habkost wrote: >> On Fri, May 03, 2019 at 06:41:43PM +0200, Thomas Huth wrote: >>> On 03/05/2019 02.41, Eduardo Habkost wrote: From: Daniel P. Berrangé Unless overridden via an env var

[Qemu-devel] [PATCH v3 26/31] target/ppc: Use tcg_gen_abs_i32

2019-05-04 Thread Richard Henderson
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20190423102145.14812-2-f4...@amsat.org> Signed-off-by: Richard Henderson --- target/ppc/translate/spe-impl.inc.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git

[Qemu-devel] [PATCH v3 28/31] target/s390x: Use tcg_gen_abs_i64

2019-05-04 Thread Richard Henderson
Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/translate.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/target/s390x/translate.c b/target/s390x/translate.c index d4951836ad..e8e8a79b7d 100644 --- a/target/s390x/translate.c +++

Re: [Qemu-devel] Failing QEMU iotest 175

2019-05-04 Thread Thomas Huth
On 03/05/2019 22.21, Eric Blake wrote: > On 5/2/19 11:37 PM, Thomas Huth wrote: >> On 02/05/2019 23.56, Eric Blake wrote: >>> On 4/28/19 10:18 AM, Thomas Huth wrote: QEMU iotest 175 is failing for me when I run it with -raw: == creating image with default preallocation ==

[Qemu-devel] [PATCH v3 22/31] tcg/i386: Support vector absolute value

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.h | 2 +- tcg/i386/tcg-target.inc.c | 15 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 7445f05885..66f16fbe3c 100644 --- a/tcg/i386/tcg-target.h +++

[Qemu-devel] [PATCH v3 21/31] tcg: Add support for vector absolute value

2019-05-04 Thread Richard Henderson
Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- accel/tcg/tcg-runtime.h | 5 +++ tcg/aarch64/tcg-target.h | 1 + tcg/i386/tcg-target.h| 1 + tcg/tcg-op-gvec.h| 2 ++ tcg/tcg-opc.h| 1 + tcg/tcg.h| 1 +

[Qemu-devel] [PATCH v3 12/31] tcg/i386: Implement tcg_out_dupm_vec

2019-05-04 Thread Richard Henderson
At the same time, improve tcg_out_dupi_vec wrt broadcast from the constant pool. Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.inc.c | 57 +-- 1 file changed, 43 insertions(+), 14 deletions(-) diff --git a/tcg/i386/tcg-target.inc.c

[Qemu-devel] [PATCH v3 13/31] tcg/aarch64: Implement tcg_out_dupm_vec

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 36 ++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 4a3cfa778a..e8cf4e4044 100644 ---

Re: [Qemu-devel] [PULL 19/19] configure: automatically pick python3 is available

2019-05-04 Thread Thomas Huth
On 03/05/2019 19.04, Philippe Mathieu-Daudé wrote: > On 5/3/19 6:41 PM, Thomas Huth wrote: >> On 03/05/2019 02.41, Eduardo Habkost wrote: >>> From: Daniel P. Berrangé >>> >>> Unless overridden via an env var or configure arg, QEMU will only look >>> for the 'python' binary in $PATH. This is

[Qemu-devel] [PATCH v3 04/31] tcg: Specify optional vector requirements with a list

2019-05-04 Thread Richard Henderson
Replace the single opcode in .opc with a null-terminated array in .opt_opc. We still require that all opcodes be used with the same .vece. Validate the contents of this list with CONFIG_DEBUG_TCG. All tcg_gen_*_vec functions will check any list active during .fniv expansion. Swap the active

[Qemu-devel] [PATCH v3 11/31] tcg: Add tcg_out_dupm_vec to the backend interface

2019-05-04 Thread Richard Henderson
Currently stubbed out in all backends that support vectors. Signed-off-by: Richard Henderson --- tcg/aarch64/tcg-target.inc.c | 6 ++ tcg/i386/tcg-target.inc.c| 7 +++ tcg/tcg.c| 19 ++- 3 files changed, 31 insertions(+), 1 deletion(-) diff

[Qemu-devel] [PATCH v3 18/31] tcg: Add gvec expanders for vector shift by scalar

2019-05-04 Thread Richard Henderson
Allow expansion either via shift by scalar or by replicating the scalar for shift by vector. Signed-off-by: Richard Henderson --- v3: Use a private structure for do_gvec_shifts. --- tcg/tcg-op-gvec.h | 7 ++ tcg/tcg-op.h | 4 + tcg/tcg-op-gvec.c | 214

[Qemu-devel] [PATCH v3 19/31] tcg/i386: Support vector scalar shift opcodes

2019-05-04 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.h | 2 +- tcg/i386/tcg-target.inc.c | 35 +++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index b240633455..618aa520d2 100644 ---

[Qemu-devel] [PATCH 1/9] qemugdb: allow adding support for other coroutine backends

2019-05-04 Thread Paolo Bonzini
Split the jmpbuf access to a separate module and dispatch based on which CoroutineXYZ type is defined. Signed-off-by: Paolo Bonzini --- scripts/qemugdb/coroutine.py | 106 -- scripts/qemugdb/coroutine_ucontext.py | 69 + 2 files changed, 100

[Qemu-devel] [PATCH 5/9] coroutine: add host specific coroutine backend for 64-bit s390

2019-05-04 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- util/coroutine-asm.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/util/coroutine-asm.c b/util/coroutine-asm.c index de68e98622..a9a80e9c71 100644 --- a/util/coroutine-asm.c +++ b/util/coroutine-asm.c @@ -41,7 +41,7 @@

[Qemu-devel] [PATCH 0/9] Assembly coroutine backend and x86 CET support

2019-05-04 Thread Paolo Bonzini
*** BLURB HERE *** Paolo Bonzini (10): qemugdb: allow adding support for other coroutine backends qemugdb: allow adding support for other architectures coroutine: add host specific coroutine backend for 64-bit x86 coroutine: add host specific coroutine backend for 64-bit ARM coroutine:

[Qemu-devel] [PATCH 8/9] tcg/i386: add support for IBT

2019-05-04 Thread Paolo Bonzini
Add endbr annotations before indirect branch targets. This lets QEMU enable IBT even for TCG-enabled builds. Signed-off-by: Paolo Bonzini --- Makefile.target | 2 ++ configure | 9 + include/qemu/cpuid.h | 5 + tcg/i386/tcg-target.inc.c | 19

[Qemu-devel] [PULL 1/1] Update slirp submodule

2019-05-04 Thread Samuel Thibault
To fix Windows on ARM. --- slirp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp b/slirp index 59a1b1f165..0e79ba4856 16 --- a/slirp +++ b/slirp @@ -1 +1 @@ -Subproject commit 59a1b1f165458c2acb7ff0525b543945f7416225 +Subproject commit

[Qemu-devel] [PATCH v1 1/8] target/avr: Add instruction decoder

2019-05-04 Thread Sarah Harris
This utility module builds a decision tree to decode instructions, starting from a human readable list of instruction bit patterns. Automatic tree generation will hopefully be more efficient and more maintainable than a hand-designed opcode parser. Tree generation happens at startup because

[Qemu-devel] [PATCH v1 6/8] target/avr: Add limited support for USART and 16 bit timer peripherals

2019-05-04 Thread Sarah Harris
These were designed to facilitate testing but should provide enough function to be useful in other contexts. Only a subset of the functions of each peripheral is implemented, mainly due to the lack of a standard way to handle electrical connections (like GPIO pins). Signed-off-by: Sarah Harris

[Qemu-devel] [PATCH v1 7/8] target/avr: Add example board configuration

2019-05-04 Thread Sarah Harris
A simple board setup that configures an AVR CPU to run a given firmware image. This is all that's useful to implement without peripheral emulation as AVR CPUs include a lot of on-board peripherals. Signed-off-by: Sarah Harris --- hw/Kconfig | 1 + hw/avr/Kconfig | 4 +

[Qemu-devel] [PATCH v1 4/8] target/avr: Add instruction helpers

2019-05-04 Thread Sarah Harris
Stubs for unimplemented instructions and helpers for instructions that need to interact with QEMU. SPM and WDR are unimplemented because they require emulation of complex peripherals. The implementation of SLEEP is very limited due to the lack of peripherals to generate wake interrupts. Memory

Re: [Qemu-devel] [PATCH v2 0/2] Acceptance Tests: Test the Raspberry Pi 2 board

2019-05-04 Thread Philippe Mathieu-Daudé
On 3/13/19 12:45 AM, Philippe Mathieu-Daudé wrote: > Add the raspi2 to the list of boards tested by the > boot_linux_console Avocado test. > > Based on "Acceptance Tests: target architecture support" v5: > https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg04111.html > Based-on:

[Qemu-devel] [PATCH 4/9] coroutine: add host specific coroutine backend for 64-bit ARM

2019-05-04 Thread Paolo Bonzini
The speedup is similar to x86, 120 ns vs 180 ns on an APM Mustang. Signed-off-by: Paolo Bonzini --- configure| 2 +- scripts/qemugdb/coroutine_asm.py | 6 - util/Makefile.objs | 2 ++ util/coroutine-asm.c | 45

[Qemu-devel] [PATCH 10/9] coroutine-asm: add x86 CET shadow stack support

2019-05-04 Thread Paolo Bonzini
Note that the ABI is not yet part of Linux; this patch is not intended to be committed until that is approved. Signed-off-by: Paolo Bonzini --- configure| 14 util/Makefile.objs | 2 ++ util/coroutine-asm.c | 82 ++-- 3 files

[Qemu-devel] [PATCH 6/9] configure: add control-flow protection support

2019-05-04 Thread Paolo Bonzini
Control-flow protection requires object files to note which features are supported. The linker will merge them to the set of features that are supported by all object files. The compiler creates these notes when the -fcf-protection option is passed, but we have to blacklist some object files

[Qemu-devel] [PULL 0/1] Update slirp submodule

2019-05-04 Thread Samuel Thibault
The following changes since commit 52ec9dcc1ed5609674e7b52198c18207bb193548: Update slirp submodule (2019-05-04 14:38:05 +0200) are available in the Git repository at: https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault for you to fetch changes up to

Re: [Qemu-devel] [PATCH v2 1/4] Initial Windows on ARM (AArch64 64-Bit) host support

2019-05-04 Thread Samuel Thibault
Hello, Cao Jiaxi, le mer. 01 mai 2019 02:10:09 +0800, a ecrit: > This series of patches is for initial support of Windows 10 on ARM as a QEMU > host. > Currently only TCG intepreter is working correctly, it crashes when TCG JIT > is enabled. > For now we assume it is built using the clang

[Qemu-devel] [PATCH v1 0/8] DRAFT AVR Patches

2019-05-04 Thread Sarah Harris
This series of patches adds support for 8 bit Atmel (Microchip) AVR microcontrollers. All documented instructions except DES, SPM, and WDR are implemented. These patches include very incomplete peripheral emulation, and only a single example board definition. All instructions except LAC, LAS,

[Qemu-devel] [PATCH v1 8/8] target/avr: Register AVR support with the rest of QEMU, the build system, and the MAINTAINERS file

2019-05-04 Thread Sarah Harris
Signed-off-by: Sarah Harris --- MAINTAINERS | 6 ++ arch_init.c | 2 ++ configure | 6 ++ default-configs/avr-softmmu.mak | 5 + include/disas/dis-asm.h | 6 ++ include/sysemu/arch_init.h | 1 +

[Qemu-devel] [PATCH v1 2/8] target/avr: Add mechanism to check for active debugger connection

2019-05-04 Thread Sarah Harris
AVR CPUs have a BREAK instruction which behaves differently depending on whether debugging is enabled. Since the hardware fuses that normally control this are difficult to emulate, and the BREAK instruction is useful for testing, the BREAK instruction is instead enabled/disabled depending on

[Qemu-devel] [PATCH v2 1/2] roms: Correct the EDK2_BASETOOLS_OPTFLAGS variable description

2019-05-04 Thread Philippe Mathieu-Daudé
In commit 1cab464136b4 we incorrectly described the EDK2_BASETOOLS_OPTFLAGS can pass CPPFLAGS and CFLAGS options to the EDK2 build tools, but it only expands the CFLAGS (not to the CPPFLAGS). Update the description to be more accurate. Reported-by: Laszlo Ersek Signed-off-by: Philippe

[Qemu-devel] [PATCH v2 0/2] roms: Add 'clean' make rule and EDK2 documentation fix

2019-05-04 Thread Philippe Mathieu-Daudé
Hi, Two trivial patches waiting Laszlo's series to land. Since v1: - rebased v1: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg01589.html https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg01598.html Philippe Mathieu-Daudé (2): roms: Correct the EDK2_BASETOOLS_OPTFLAGS

[Qemu-devel] [PATCH v2 2/2] roms: List and describe the Makefile 'clean' rule

2019-05-04 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- roms/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roms/Makefile b/roms/Makefile index f020102c866..1a6c2fa76f9 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -62,6 +62,8 @@ default: @echo " u-boot.e500-- update

[Qemu-devel] [PATCH 9/9] linux-user: add IBT support to x86 safe-syscall.S

2019-05-04 Thread Paolo Bonzini
Because safe-syscall.S does not go through the C compiler, the .note.gnu.property note has to be added manually. Safe syscalls do not involve any indirect branch or stack unwinding, so they are trivially safe for IBT or shadow stacks. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH] hw/display/cirrus_vga: Update the documentation URL

2019-05-04 Thread Philippe Mathieu-Daudé
The documentation URL is not working, but is backed up by the Wayback Machine on the Internet Archive. Replace the outdated link by a captured one. Add another link to the VGADOC4b.ZIP archive content. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/cirrus_vga.c | 9 +++-- 1 file

Re: [Qemu-devel] [PATCH] hw/net/ne2000: Extract the PCI device from the chipset common code

2019-05-04 Thread Philippe Mathieu-Daudé
On 5/4/19 4:09 PM, Thomas Huth wrote: > On 04/05/2019 14.35, Philippe Mathieu-Daudé wrote: >> The ne2000.c file contains functions common the the ISA and PCI >> devices. To allow to build with one or another, extract the PCI >> specific part into a new file. >> >> This fix an issue where the

[Qemu-devel] [PATCH] hw/net/ne2000: Extract the PCI device from the chipset common code

2019-05-04 Thread Philippe Mathieu-Daudé
The ne2000.c file contains functions common the the ISA and PCI devices. To allow to build with one or another, extract the PCI specific part into a new file. This fix an issue where the NE2000_ISA Kconfig had to pull the full PCI core objects. Signed-off-by: Philippe Mathieu-Daudé ---

[Qemu-devel] [PATCH v1 5/8] target/avr: Add instruction translation

2019-05-04 Thread Sarah Harris
This includes: - table of instruction bit patterns - intermediate translation functions that extract parameters from opcodes - TCG translations for each instruction Signed-off-by: Sarah Harris --- target/avr/translate-inst.h | 695 target/avr/translate.c | 3013

[Qemu-devel] [PATCH v1 3/8] target/avr: Add outward facing interfaces and core CPU logic

2019-05-04 Thread Sarah Harris
This includes: - CPU data structures - object model classes and functions - migration functions - GDB hooks Signed-off-by: Sarah Harris --- target/avr/cpu-qom.h | 83 +++ target/avr/cpu.c | 570 +++ target/avr/cpu.h | 238 ++

[Qemu-devel] [PATCH 7/9] tcg: add tcg_out_start

2019-05-04 Thread Paolo Bonzini
This function is called at the beginning of any translation block. We will use it to emit ENDBR32 or ENDBR64 annotations for x86 CET. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- tcg/aarch64/tcg-target.inc.c | 4 tcg/arm/tcg-target.inc.c | 4

[Qemu-devel] [PATCH 3/9] coroutine: add host specific coroutine backend for 64-bit x86

2019-05-04 Thread Paolo Bonzini
This backend is faster (100ns vs 150ns per switch on my laptop), but especially it will be possible to add CET support to it. Most of the code is actually not architecture specific. Signed-off-by: Paolo Bonzini --- configure| 10 ++ scripts/qemugdb/coroutine.py |

[Qemu-devel] [PATCH 2/9] qemugdb: allow adding support for other architectures

2019-05-04 Thread Paolo Bonzini
$sp and $pc are standard register names that are available on most machines, use them instead of $rsp and $rip so that other architectures can use qemu_coroutine_sp and qemu_coroutine_pc. Signed-off-by: Paolo Bonzini --- scripts/qemugdb/coroutine.py | 4 ++--

Re: [Qemu-devel] [PATCH v2] vmdk: Set vmdk parent backing_format to vmdk

2019-05-04 Thread Sam
Thanks Thomas, Thanks Max So how do you want to proceed? Apply Max’s RFC from here (http://lists.nongnu.org/archive/html/qemu-block/2019-04/msg00442.html ) and add the commit id which is stable now? Or should I resubmit my

[Qemu-devel] [PATCH PULL 4/4] hw/pvrdma: Add support for SRQ

2019-05-04 Thread Marcel Apfelbaum
From: Kamal Heib Implement the pvrdma device commands for supporting SRQ Signed-off-by: Kamal Heib Message-Id: <20190403113343.26384-5-kamalhe...@gmail.com> Reviewed-by: Yuval Shaia Signed-off-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma_cmd.c| 147

[Qemu-devel] [PATCH PULL 2/4] hw/rdma: Add support for managing SRQ resource

2019-05-04 Thread Marcel Apfelbaum
From: Kamal Heib Adding the required functions and definitions for support managing the shared receive queues (SRQs). Signed-off-by: Kamal Heib Message-Id: <20190403113343.26384-3-kamalhe...@gmail.com> Reviewed-by: Yuval Shaia Signed-off-by: Marcel Apfelbaum --- hw/rdma/rdma_rm.c | 93

Re: [Qemu-devel] [PATCH] hw/net/ne2000: Extract the PCI device from the chipset common code

2019-05-04 Thread Thomas Huth
On 04/05/2019 14.35, Philippe Mathieu-Daudé wrote: > The ne2000.c file contains functions common the the ISA and PCI > devices. To allow to build with one or another, extract the PCI > specific part into a new file. > > This fix an issue where the NE2000_ISA Kconfig had to pull the > full PCI

Re: [Qemu-devel] [PATCH] tests/tcg/alpha: add system boot.S

2019-05-04 Thread Alex Bennée
Richard Henderson writes: > On 5/3/19 10:07 AM, Alex Bennée wrote: >> +ldah$sp, $stack_end($gp)!gprelhigh >> +lda $sp, $stack_end($gp)!gprellow > > Bah. $sp > > As is, this works only because the test case is tiny, and this happens to >

[Qemu-devel] [PATCH PULL 3/4] hw/rdma: Modify create/destroy QP to support SRQ

2019-05-04 Thread Marcel Apfelbaum
From: Kamal Heib Modify create/destroy QP to support shared receive queue and rearrange the destroy_qp() code to avoid touching the QP after calling rdma_rm_dealloc_qp(). Signed-off-by: Kamal Heib Message-Id: <20190403113343.26384-4-kamalhe...@gmail.com> Reviewed-by: Yuval Shaia

[Qemu-devel] [PATCH PULL 1/4] hw/rdma: Add SRQ support to backend layer

2019-05-04 Thread Marcel Apfelbaum
From: Kamal Heib Add the required functions and definitions to support shared receive queues (SRQs) in the backend layer. Signed-off-by: Kamal Heib Message-Id: <20190403113343.26384-2-kamalhe...@gmail.com> Reviewed-by: Yuval Shaia Signed-off-by: Marcel Apfelbaum --- hw/rdma/rdma_backend.c

[Qemu-devel] [PATCH PULL 0/4] RDMA queue

2019-05-04 Thread Marcel Apfelbaum
The following changes since commit a6ae23831b05a11880b40f7d58e332c45a6b04f7: Merge remote-tracking branch 'remotes/ehabkost/tags/python-next-pull-request' into staging (2019-05-03 15:26:09 +0100) are available in the Git repository at: https://github.com/marcel-apf/qemu

[Qemu-devel] [Bug 1825359] Re: cpu_ld*_code() triggers MMU_DATA_LOAD i.s.o. MMU_INST_FETCH

2019-05-04 Thread Shahab Vahedi
Thank YOU for all the supports along the way :) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1825359 Title: cpu_ld*_code() triggers MMU_DATA_LOAD i.s.o. MMU_INST_FETCH Status in QEMU: Fix

[Qemu-devel] [PATCH v2] chardev/char-i2c: Implement Linux I2C character device

2019-05-04 Thread Ernest Esene
Add support for Linux I2C character device for I2C device passthrough For example: -chardev linux-i2c,address=0x46,path=/dev/i2c-N,id=i2c-chardev Signed-off-by: Ernest Esene --- v2: * Fix errors * update "MAINTAINERS" file. --- MAINTAINERS| 6 ++ chardev/Makefile.objs

[Qemu-devel] [PATCH v2 3/3] hw/isa/i82378.c: use 1900 as a base year

2019-05-04 Thread Artyom Tarasenko
AIX 5.1 expects the base year to be 1900. Adjust accordingly. Signed-off-by: Artyom Tarasenko Reviewed-by: Hervé Poussineau --- hw/isa/i82378.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index a5d67bc..546c928 100644 ---

[Qemu-devel] [PATCH v2 0/3] Improve 40p, make AIX 5.1 boot

2019-05-04 Thread Artyom Tarasenko
This series makes various fixes for the -M 40p target. Particularly now it's possible to boot AIX 5.1 (both from a cdrom and a hard disk). The OFW image: https://github.com/artyom-tarasenko/openfirmware/releases/download/20190406-AIX-boots/q40pofw-serial.rom The command line: qemu-system-ppc

Re: [Qemu-devel] [PATCH v4 05/15] tests: acpi: fetch X_DSDT if pointer to DSDT is 0

2019-05-04 Thread Wei Yang
On Thu, May 02, 2019 at 04:51:53PM +0200, Igor Mammedov wrote: >that way it would be possible to test a DSDT pointed by >64bit X_DSDT field in FADT. > >PS: >it will allow to enable testing arm/virt board, which sets >only newer X_DSDT field. > >Signed-off-by: Igor Mammedov >--- >v4: > * dropping

Re: [Qemu-devel] [PATCH v4 14/15] tests: acpi: refactor rebuild-expected-aml.sh to dump ACPI tables for a specified list of targets

2019-05-04 Thread Wei Yang
On Thu, May 02, 2019 at 04:52:02PM +0200, Igor Mammedov wrote: >Make initial list contain aarch64 and x86_64 targets. > >Signed-off-by: Igor Mammedov >Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Wei Yang >--- >v4: > * fix typo (Wei Yang ) >v2: > * fix up error message (Philippe

Re: [Qemu-devel] [PATCH v4 02/15] tests: acpi: make acpi_fetch_table() take size of fetched table pointer

2019-05-04 Thread Wei Yang
On Thu, May 02, 2019 at 04:51:50PM +0200, Igor Mammedov wrote: >Currently acpi_fetch_table() assumes 32 bit size of table pointer >in ACPI tables. However X_foo variants are 64 bit, prepare >acpi_fetch_table() to handle both by adding an argument >for addr_ptr pointed entry size. Follow up commits

Re: [Qemu-devel] [PATCH v4 04/15] tests: acpi: make pointer to RSDP 64bit

2019-05-04 Thread Wei Yang
On Thu, May 02, 2019 at 04:51:52PM +0200, Igor Mammedov wrote: >In case of UEFI, RSDP doesn't have to be located in lowmem, >it could be placed at any address. Make sure that test won't >break if it is placed above the first 4Gb of address space. > >PS: >While at it cleanup some local variables as

Re: [Qemu-devel] [PATCH v4 03/15] tests: acpi: make RSDT test routine handle XSDT

2019-05-04 Thread Wei Yang
On Thu, May 02, 2019 at 04:51:51PM +0200, Igor Mammedov wrote: >If RSDP revision is more than 0 fetch table pointed by XSDT >and fallback to legacy RSDT table otherwise. > >While at it drop unused acpi_get_xsdt_address(). > >Signed-off-by: Igor Mammedov Reviewed-by: Wei Yang >--- >PS: > it

Re: [Qemu-devel] [PATCH] migration: don't set MIGRATION dirty range for ignored block

2019-05-04 Thread Wei Yang
On Sat, May 04, 2019 at 01:42:55PM +0800, Wei Yang wrote: >The ignored blocks are not migrated and those ranges are not used. My bad, this change is not correct. > >Signed-off-by: Wei Yang >--- > exec.c | 4 +++- > include/exec/ram_addr.h | 2 ++ > migration/ram.c | 2 +-

Re: [Qemu-devel] [PATCH] tests/docker: Test more components on the Fedora default image

2019-05-04 Thread Marcel Apfelbaum
Hi Philippe, On 5/4/19 8:54 AM, Philippe Mathieu-Daudé wrote: Install optional dependencies of QEMU to get better coverage. The following components are now enabled: $ ./configure ... Multipath support yes VNC SASL support yes RDMA support yes PVRDMA supportyes

[Qemu-devel] [PATCH v2 1/3] lsi53c895a: hide 53c895a registers in 53c810

2019-05-04 Thread Artyom Tarasenko
AIX/PReP does access to the aliased IO registers of 53810. Implement aliasing to make the AIX driver work. Signed-off-by: Artyom Tarasenko --- hw/scsi/lsi53c895a.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c

[Qemu-devel] [PATCH 2/3] 40p and prep: implement PCI bus mastering

2019-05-04 Thread Artyom Tarasenko
Signed-off-by: Artyom Tarasenko Reviewed-by: Hervé Poussineau --- hw/pci-host/prep.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 8b9e1fd..94b7465 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@