[Qemu-devel] [PULL 04/47] target/riscv/pmp: Restrict priviledged PMP to system-mode emulation

2019-09-11 Thread Palmer Dabbelt
From: Philippe Mathieu-Daudé The RISC-V Physical Memory Protection is restricted to privileged modes. Restrict its compilation to QEMU system builds. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Signed-off-by: Palmer Dabbelt --- target/riscv/Makefile.objs | 3 ++-

[Qemu-devel] [PULL 07/47] target/riscv: Create function to test if FP is enabled

2019-09-11 Thread Palmer Dabbelt
From: Alistair Francis Let's create a function that tests if floating point support is enabled. We can then protect all floating point operations based on if they are enabled. This patch so far doesn't change anything, it's just preparing for the Hypervisor support for floating point

[Qemu-devel] [PULL 05/47] target/riscv/pmp: Convert qemu_log_mask(LOG_TRACE) to trace events

2019-09-11 Thread Palmer Dabbelt
From: Philippe Mathieu-Daudé Use the always-compiled trace events, remove the now unused RISCV_DEBUG_PMP definition. Note pmpaddr_csr_read() could previously do out-of-bound accesses passing addr_index >= MAX_RISCV_PMPS. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis

[Qemu-devel] [PULL 02/47] riscv: sivive_u: Add dummy serial clock and aliases entry for uart

2019-09-11 Thread Palmer Dabbelt
From: Guenter Roeck The riscv uart needs valid clocks. This requires a refereence to the clock node. Since the SOC clock is not emulated by qemu, add a reference to a fixed clock instead. The clock-frequency entry in the uart node does not seem to be necessary, so drop it. In addition to a

Re: [Qemu-devel] [PATCH v1 10/28] target/riscv: Convert mie and mstatus to pointers

2019-09-11 Thread Palmer Dabbelt
On Fri, 23 Aug 2019 16:38:15 PDT (-0700), Alistair Francis wrote: To handle the new Hypervisor CSR register swapping let's use pointers. We only need to convert the MIE and MSTATUS CSRs. With the exception of MIP all of the other CSRs that swap with virtulsation changes are S-Mode only, so we

[Qemu-devel] [PULL 03/47] riscv: sifive_u: Fix clock-names property for ethernet node

2019-09-11 Thread Palmer Dabbelt
From: Guenter Roeck The correct property name is clock-names, not clocks-names. Without this patch, the Ethernet driver fails to instantiate with the following error. macb 100900fc.ethernet: failed to get macb_clk (-2) macb: probe of 100900fc.ethernet failed with error -2 Signed-off-by:

[Qemu-devel] [PULL] RISC-V Patches for the 4.2 Soft Freeze, Part 1

2019-09-11 Thread Palmer Dabbelt
The following changes since commit 89ea03a7dc83ca36b670ba7f787802791fcb04b1: Merge remote-tracking branch 'remotes/huth-gitlab/tags/m68k-pull-2019-09-07' into staging (2019-09-09 09:48:34 +0100) are available in the Git repository at: git://github.com/palmer-dabbelt/qemu.git

Re: [Qemu-devel] [PATCH v2 1/3] tests/migration: mem leak fix

2019-09-11 Thread Alex Bennée
Mao Zhongyi writes: > ‘data’ has the possibility of memory leaks, so use the > glic macros g_autofree recommended by CODING_STYLE.rst nit: glib > to automatically release the memory that returned from > g_malloc(). > > Cc: arm...@redhat.com > Cc: laur...@vivier.eu > Cc: tony.ngu...@bt.com >

Re: [Qemu-devel] [PATCH v1 3/4] elf: move elf_ops.h into include/elf/ and rename

2019-09-11 Thread Alex Bennée
Alex Bennée writes: > Lets keep all the Elf manipulation bits together. Also rename the file > to better reflect how it is used and add a little header to the file. > > Signed-off-by: Alex Bennée > --- > hw/core/loader.c| 4 ++-- It is arguable this could be a

Re: [Qemu-devel] [PATCH v1 4/4] elf: move ELF_ARCH definition to elf-arch.h

2019-09-11 Thread Alex Bennée
Aleksandar Markovic writes: > 10.09.2019. 21.34, "Alex Bennée" је написао/ла: >> >> This is preparatory for plugins which will want to report the >> architecture to plugins. Move the ELF_ARCH definition out of the >> loader and into its own header. >> >> Signed-off-by: Alex Bennée >> --- > >

Re: [Qemu-devel] [PATCH v4 02/10] hw/core: create Resettable QOM interface

2019-09-11 Thread David Gibson
On Wed, Aug 21, 2019 at 06:33:33PM +0200, Damien Hedde wrote: > This commit defines an interface allowing multi-phase reset. This aims > to solve a problem of the actual single-phase reset (built in > DeviceClass and BusClass): reset behavior is dependent on the order > in which reset handlers are

Re: [Qemu-devel] [Qemu-block] [PATCH 0/7] Move qtests to a separate folder

2019-09-11 Thread Thomas Huth
On 11/09/2019 08.58, Kevin Wolf wrote: > Am 10.09.2019 um 21:07 hat Eric Blake geschrieben: >> On 9/10/19 1:58 PM, Thomas Huth wrote: >>> Our "tests" directory is very overcrowded - we store the qtests, >>> unit test and other files there. That makes it difficult to >>> determine which file

Re: [Qemu-devel] [PATCH 4/7] spapr: Skip leading zeroes from memory@ DT node names

2019-09-11 Thread Greg Kurz
On Wed, 11 Sep 2019 14:04:49 +1000 David Gibson wrote: > From: Alexey Kardashevskiy > > The device tree build by QEMU at the machine reset time is used by SLOF > to build its internal device tree but the node names are not preserved > exactly so when QEMU provides a device tree update in

Re: [Qemu-devel] [PATCH 7/7] spapr: Perform machine reset in a more sensible order

2019-09-11 Thread Cédric Le Goater
On 11/09/2019 06:04, David Gibson wrote: > We've made several changes in the past to the machine reset order to fix > specific problems. However, we've ended up with an order that doesn't make > a lot of logical sense. This is an attempt to rectify this. There are some more problems though. See

Re: [Qemu-devel] [PATCH 7/7] spapr: Perform machine reset in a more sensible order

2019-09-11 Thread David Gibson
On Wed, Sep 11, 2019 at 05:40:58PM +1000, Alexey Kardashevskiy wrote: > > > On 11/09/2019 14:04, David Gibson wrote: > > We've made several changes in the past to the machine reset order to fix > > specific problems. However, we've ended up with an order that doesn't make > > a lot of logical

Re: [Qemu-devel] [PATCH V2 2/2] block/nfs: add support for nfs_umount

2019-09-11 Thread Max Reitz
On 10.09.19 17:41, Peter Lieven wrote: > libnfs recently added support for unmounting. Add support > in Qemu too. > > Signed-off-by: Peter Lieven > --- > block/nfs.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/block/nfs.c b/block/nfs.c > index 2c98508275..f39acfdb28 100644 >

Re: [Qemu-devel] [PATCH v13 6/6] migration: Include migration support for machine check handling

2019-09-11 Thread Aravinda Prasad
On Tuesday 10 September 2019 02:18 PM, Greg Kurz wrote: > Hi Aravinda, > > Sorry for not being able to review the whole series in one pass, > and thus forcing you to poste more versions... but I have some > more remarks about migration. That's fine. In fact I have to thank you for your time

Re: [Qemu-devel] [PATCH 2/7] spapr: Move handling of special NVLink numa node from reset to init

2019-09-11 Thread Alexey Kardashevskiy
On 11/09/2019 14:04, David Gibson wrote: > The number of NUMA nodes in the system is fixed from the command line. > Therefore, there's no need to recalculate it at reset time, and we can > determine the special gpu_numa_id value used for NVLink2 devices at init > time. > > This simplifies the

Re: [Qemu-devel] [PATCH 7/7] spapr: Perform machine reset in a more sensible order

2019-09-11 Thread Alexey Kardashevskiy
On 11/09/2019 14:04, David Gibson wrote: > We've made several changes in the past to the machine reset order to fix > specific problems. However, we've ended up with an order that doesn't make > a lot of logical sense. This is an attempt to rectify this. > > First we reset global CAS

Re: [Qemu-devel] [PATCH 1/7] spapr: Simplify handling of pre ISA 3.0 guest workaround handling

2019-09-11 Thread Alexey Kardashevskiy
On 11/09/2019 14:04, David Gibson wrote: > Certain old guest versions don't understand the radix MMU introduced with > POWER ISA 3.0, but incorrectly select it if presented with the option at > CAS time. We workaround this in qemu by explicitly excluding the radix > (and other ISA 3.0 linked)

Re: [Qemu-devel] [PULL 00/15] Linux user for 4.2 patches

2019-09-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190910163600.19971-1-laur...@vivier.eu/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PULL 00/15] Linux user for 4.2 patches Message-id: 20190910163600.19971-1-laur...@vivier.eu

Re: [Qemu-devel] [PATCH v6 22/42] block: Fix bdrv_get_allocated_file_size's fallback

2019-09-11 Thread Max Reitz
On 11.09.19 08:55, Kevin Wolf wrote: > Am 11.09.2019 um 08:20 hat Max Reitz geschrieben: >> On 10.09.19 16:52, Kevin Wolf wrote: >>> Am 09.08.2019 um 18:13 hat Max Reitz geschrieben: If the driver does not implement bdrv_get_allocated_file_size(), we should fall back to cumulating the

Re: [Qemu-devel] [PATCH 3/7] spapr: Fixes a leak in CAS

2019-09-11 Thread Greg Kurz
On Wed, 11 Sep 2019 14:04:48 +1000 David Gibson wrote: > From: Alexey Kardashevskiy > > Add a missing g_free(fdt) if the resulting tree is bigger > than the space allocated by SLOF. > > Signed-off-by: Alexey Kardashevskiy > Signed-off-by: David Gibson > --- Reviewed-by: Greg Kurz >

Re: [Qemu-devel] [RFC] docs: vhost-user: add in-band kick/call messages

2019-09-11 Thread Stefan Hajnoczi
On Tue, Sep 10, 2019 at 05:14:36PM +0200, Johannes Berg wrote: > On Tue, 2019-09-10 at 17:03 +0200, Stefan Hajnoczi wrote: > > > > > Now, this means that the CPU (that's part of the simulation) has to > > > *wait* for the device to add an entry to the simulation calendar in > > > response to the

Re: [Qemu-devel] [PATCH 2/7] spapr: Move handling of special NVLink numa node from reset to init

2019-09-11 Thread Greg Kurz
On Wed, 11 Sep 2019 14:04:47 +1000 David Gibson wrote: > The number of NUMA nodes in the system is fixed from the command line. > Therefore, there's no need to recalculate it at reset time, and we can > determine the special gpu_numa_id value used for NVLink2 devices at init > time. > > This

Re: [Qemu-devel] [PATCH 2/7] spapr: Move handling of special NVLink numa node from reset to init

2019-09-11 Thread Cédric Le Goater
On 11/09/2019 06:04, David Gibson wrote: > The number of NUMA nodes in the system is fixed from the command line. > Therefore, there's no need to recalculate it at reset time, and we can > determine the special gpu_numa_id value used for NVLink2 devices at init > time. > > This simplifies the

Re: [Qemu-devel] [PATCH 3/7] spapr: Fixes a leak in CAS

2019-09-11 Thread Cédric Le Goater
On 11/09/2019 06:04, David Gibson wrote: > From: Alexey Kardashevskiy > > Add a missing g_free(fdt) if the resulting tree is bigger > than the space allocated by SLOF. > > Signed-off-by: Alexey Kardashevskiy > Signed-off-by: David Gibson Reviewed-by: Cédric Le Goater Thanks, C. > --- >

Re: [Qemu-devel] [PATCH 1/7] spapr: Simplify handling of pre ISA 3.0 guest workaround handling

2019-09-11 Thread Greg Kurz
On Wed, 11 Sep 2019 14:04:46 +1000 David Gibson wrote: > Certain old guest versions don't understand the radix MMU introduced with > POWER ISA 3.0, but incorrectly select it if presented with the option at > CAS time. We workaround this in qemu by explicitly excluding the radix > (and other ISA

Re: [Qemu-devel] [PATCH 0/3] target/mips: Convert to do_transaction_failed hook

2019-09-11 Thread Aleksandar Markovic
02.08.2019. 18.29, "Philippe Mathieu-Daudé" је написао/ла: > > Cc'ing broader MIPS audience. > > On 8/2/19 6:04 PM, Peter Maydell wrote: > > This patchset converts the MIPS target away from the > > old broken do_unassigned_access hook to the new (added in > > 2017...) do_transaction_failed hook.

Re: [Qemu-devel] [PATCH v11 0/9] hw/m68k: add Apple Machintosh Quadra 800 machine

2019-09-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190910193347.16000-1-laur...@vivier.eu/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v11 0/9] hw/m68k: add Apple Machintosh Quadra 800 machine Message-id:

Re: [Qemu-devel] [PATCH] BootLinuxConsoleTest: Test the Quadra 800

2019-09-11 Thread Laurent Vivier
Le 10/09/2019 à 22:02, Philippe Mathieu-Daudé a écrit : > On 9/10/19 7:07 PM, Cleber Rosa wrote: >> On Tue, Sep 10, 2019 at 06:34:30PM +0200, Philippe Mathieu-Daudé wrote: >>> This test boots a Linux kernel on a Quadra 800 board >>> and verify the serial is working. >>> >>> Example: >>> >>> $

Re: [Qemu-devel] [PATCH v2 04/24] dsoundaudio: port to the new audio backend api

2019-09-11 Thread Gerd Hoffmann
> +static void *dsound_get_buffer_in(HWVoiceIn *hw, size_t *size) > { > +int err; > +void *ret; > +n > +hr = IDirectSoundCaptureBuffer_GetCurrentPosition(dscb, , NULL); Huh? Stray 'n' here. That can hardly survived a build test ... Removed it. Builds now. Continuing testing.

Re: [Qemu-devel] [PATCH 1/7] spapr: Simplify handling of pre ISA 3.0 guest workaround handling

2019-09-11 Thread Cédric Le Goater
On 11/09/2019 06:04, David Gibson wrote: > Certain old guest versions don't understand the radix MMU introduced with > POWER ISA 3.0, but incorrectly select it if presented with the option at > CAS time. We workaround this in qemu by explicitly excluding the radix > (and other ISA 3.0 linked)

Re: [Qemu-devel] [PATCH v2 00/17] RISC-V: support vector extension

2019-09-11 Thread Aleksandar Markovic
11.09.2019. 08.35, "liuzhiwei" је написао/ла: > > Features: > * support specification riscv-v-spec-0.7.1( https://content.riscv.org/wp-content/uploads/2019/06/17.40-Vector_RISCV-20190611-Vectors.pdf ). Hi, Zhivei. The linked document is a presentation, outlining general concepts of the

Re: [Qemu-devel] [Qemu-block] [PATCH 0/7] Move qtests to a separate folder

2019-09-11 Thread Kevin Wolf
Am 10.09.2019 um 21:07 hat Eric Blake geschrieben: > On 9/10/19 1:58 PM, Thomas Huth wrote: > > Our "tests" directory is very overcrowded - we store the qtests, > > unit test and other files there. That makes it difficult to > > determine which file belongs to each test subsystem, and the > >

Re: [Qemu-devel] qemu_futex_wait() lockups in ARM64: 2 possible issues

2019-09-11 Thread Rafael David Tinoco
Quick update... > value INT_MAX (4294967295) seems WRONG for qemu_futex_wait(): > > - EV_BUSY, being -1, and passed as an argument qemu_futex_wait(void *, > unsigned), is a two's complement, making argument into a INT_MAX when > that's not what is expected (unless I missed something). > > ***

Re: [Qemu-devel] [Qemu-block] [PATCH v2 3/7] curl: Check completion in curl_multi_do()

2019-09-11 Thread Max Reitz
On 10.09.19 18:11, Maxim Levitsky wrote: > On Tue, 2019-09-10 at 14:41 +0200, Max Reitz wrote: >> While it is more likely that transfers complete after some file >> descriptor has data ready to read, we probably should not rely on it. >> Better be safe than sorry and call

[Qemu-devel] [PULL v2 14/15] linux-user: Add support for FDMSGON and FDMSGOFF ioctls

2019-09-11 Thread Laurent Vivier
From: Aleksandar Markovic FDMSGON and FDMSGOFF switch informational messages of floppy drives on and off. Signed-off-by: Aleksandar Markovic Reviewed-by: Laurent Vivier Reviewed-by: Laurent Vivier Message-Id: <1567601968-26946-6-git-send-email-aleksandar.marko...@rt-rk.com> Signed-off-by:

Re: [Qemu-devel] [RFC] docs: vhost-user: add in-band kick/call messages

2019-09-11 Thread Stefan Hajnoczi
On Tue, Sep 10, 2019 at 05:34:57PM +0200, Johannes Berg wrote: > On Tue, 2019-09-10 at 11:33 -0400, Michael S. Tsirkin wrote: > > On Tue, Sep 10, 2019 at 05:14:36PM +0200, Johannes Berg wrote: > > > Is any of you familiar with the process of getting a virtio device ID > > > assigned, and if so, do

[Qemu-devel] [PULL v2 10/15] linux-user: drop redundant handling of environment variables

2019-09-11 Thread Laurent Vivier
From: Max Filippov QEMU_STRACE and QEMU_RAND_SEED are handled by the parse_args, no need to do it again in main. Signed-off-by: Max Filippov Reviewed-by: Laurent Vivier Message-Id: <20190906165736.5612-1-jcmvb...@gmail.com> Signed-off-by: Laurent Vivier --- linux-user/main.c | 7 --- 1

Re: [Qemu-devel] [PATCH v6 22/42] block: Fix bdrv_get_allocated_file_size's fallback

2019-09-11 Thread Kevin Wolf
Am 11.09.2019 um 08:20 hat Max Reitz geschrieben: > On 10.09.19 16:52, Kevin Wolf wrote: > > Am 09.08.2019 um 18:13 hat Max Reitz geschrieben: > >> If the driver does not implement bdrv_get_allocated_file_size(), we > >> should fall back to cumulating the allocated size of all non-COW > >>

[Qemu-devel] [PULL v2 08/15] linux-user: Support gdb 'qOffsets' query for ELF

2019-09-11 Thread Laurent Vivier
From: Josh Kunz This is needed to support debugging PIE ELF binaries running under QEMU user mode. Currently, `code_offset` and `data_offset` remain unset for all ELF binaries, so GDB is unable to correctly locate the position of the binary's text and data. The fields `code_offset`, and

[Qemu-devel] [PULL v2 15/15] linux-user: Add support for FDRESET, FDRAWCMD, FDTWADDLE, and FDEJECT ioctls

2019-09-11 Thread Laurent Vivier
From: Aleksandar Markovic FDRESET, FDRAWCMD, FDTWADDLE, and FDEJECT ioctls are misc commands for controlling a floppy drive. Signed-off-by: Aleksandar Markovic Reviewed-by: Laurent Vivier Message-Id: <1567601968-26946-7-git-send-email-aleksandar.marko...@rt-rk.com> Signed-off-by: Laurent

[Qemu-devel] [PULL v2 06/15] linux-user: Pass CPUState to MAX_RESERVED_VA

2019-09-11 Thread Laurent Vivier
From: Richard Henderson Turn the scalar macro into a functional macro. Move the creation of the cpu up a bit within main() so that we can pass it to the invocation of MAX_RESERVED_VA. Delay the validation of the -R parameter until MAX_RESERVED_VA is computed. So far no changes to any of the

[Qemu-devel] [PULL v2 07/15] linux-user/arm: Adjust MAX_RESERVED_VA for M-profile

2019-09-11 Thread Laurent Vivier
From: Richard Henderson Limit the virtual address space for M-profile cpus to 2GB, so that we avoid all of the magic addresses in the top half of the M-profile system map. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Message-Id:

[Qemu-devel] [PULL v2 01/15] linux-user: remove useless variable

2019-09-11 Thread Laurent Vivier
filename is only used to open the file if AT_EXECFD is not provided. But exec_path already contains the path of the file to open. Remove filename as it is only used in main.c whereas exec_path is also used in syscall.c. Fixes: d088d664f201 ("linux-user: identify running binary in /proc/self/exe")

[Qemu-devel] [PULL v2 12/15] linux-user: Add support for FIOGETOWN and FIOSETOWN ioctls

2019-09-11 Thread Laurent Vivier
From: Aleksandar Markovic FIOGETOWN and FIOSETOWN ioctls have platform-specific definitions, hence non-standard definition in QEMU too. Other than that, they both have a single integer argument, and their functionality is emulated in a straightforward way. Signed-off-by: Aleksandar Markovic

[Qemu-devel] [PULL v2 13/15] linux-user: Add support for FDFLUSH ioctl

2019-09-11 Thread Laurent Vivier
From: Yunqiang Su FDFLUSH is used for flushing buffers of floppy drives. Support in QEMU is needed because some of Debian packages use this ioctl while running post-build tests. One such example is 'tar' package. Signed-off-by: Yunqiang Su Signed-off-by: Aleksandar Markovic Reviewed-by:

[Qemu-devel] [PULL v2 11/15] linux-user: Add support for RNDRESEEDCRNG ioctl

2019-09-11 Thread Laurent Vivier
From: Aleksandar Markovic RNDRESEEDCRNG is a newer ioctl (added in kernel 4.17), and an "ifdef" guard is used for that reason in this patch. Signed-off-by: Aleksandar Markovic Reviewed-by: Laurent Vivier Message-Id: <1567601968-26946-3-git-send-email-aleksandar.marko...@rt-rk.com>

[Qemu-devel] [PULL v2 03/15] linux-user: erroneous fd_trans_unregister call

2019-09-11 Thread Laurent Vivier
From: Shu-Chun Weng timer_getoverrun returns the "overrun count" for the timer, which is not a file descriptor and thus should not call fd_trans_unregister on it. Signed-off-by: Shu-Chun Weng Reviewed-by: Laurent Vivier Message-Id: <20190819185348.221825-1-...@google.com> Signed-off-by:

[Qemu-devel] [PULL v2 09/15] target/xtensa: linux-user: add call0 ABI support

2019-09-11 Thread Laurent Vivier
From: Max Filippov Xtensa binaries built for call0 ABI don't rotate register window on function calls and returns. Invocation of signal handlers from the kernel is therefore different in windowed and call0 ABIs. There's currently no way to determine xtensa ELF binary ABI from the binary itself.

[Qemu-devel] [PULL v2 04/15] linux-user: fail and report on bad dfilter specs

2019-09-11 Thread Laurent Vivier
From: Alex Bennée Just passing NULL means we end up ignoring the bad dfilter spec instead of reporting it and exiting as we should. Signed-off-by: Alex Bennée Reviewed-by: Laurent Vivier Message-Id: <20190830143648.2967-1-alex.ben...@linaro.org> Signed-off-by: Laurent Vivier ---

[Qemu-devel] [PULL v2 05/15] linux-user: add memfd_create

2019-09-11 Thread Laurent Vivier
From: Shu-Chun Weng Add support for the memfd_create syscall. If the host does not have the libc wrapper, translate to a direct syscall with NC-macro. Buglink: https://bugs.launchpad.net/qemu/+bug/1734792 Signed-off-by: Shu-Chun Weng Reviewed-by: Laurent Vivier Message-Id:

[Qemu-devel] [PULL v2 02/15] linux-user: Add AT_HWCAP2 for aarch64-linux-user

2019-09-11 Thread Laurent Vivier
From: Richard Henderson Add the HWCAP2_* bits from kernel version v5.3-rc3. Enable the bits corresponding to ARMv8.5-CondM and ARMv8.5-FRINT. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Message-Id: <20190809171156.3476-1-richard.hender...@linaro.org> Signed-off-by: Laurent

[Qemu-devel] [PATCH v2 12/17] RISC-V: add vector extension fixed point instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 37 + target/riscv/insn32.decode | 37 + target/riscv/insn_trans/trans_rvv.inc.c | 37 + target/riscv/vector_helper.c| 3388 +++ 4 files changed,

Re: [Qemu-devel] [PULL 00/15] Linux user for 4.2 patches

2019-09-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190910163600.19971-1-laur...@vivier.eu/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PULL 00/15] Linux user for 4.2 patches Message-id: 20190910163600.19971-1-laur...@vivier.eu

[Qemu-devel] [PULL v2 00/15] Linux user for 4.2 patches

2019-09-11 Thread Laurent Vivier
The following changes since commit 89ea03a7dc83ca36b670ba7f787802791fcb04b1: Merge remote-tracking branch 'remotes/huth-gitlab/tags/m68k-pull-2019-09-07' into staging (2019-09-09 09:48:34 +0100) are available in the Git repository at: git://github.com/vivier/qemu.git

[Qemu-devel] [PATCH v2 16/17] RISC-V: add vector extension mask instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 16 + target/riscv/insn32.decode | 17 + target/riscv/insn_trans/trans_rvv.inc.c | 27 ++ target/riscv/vector_helper.c| 635 4 files changed,

Re: [Qemu-devel] [PULL 00/15] Linux user for 4.2 patches

2019-09-11 Thread Laurent Vivier
Hi, I'm going to resend with fixed author email. Thanks, Laurent Le 11/09/2019 à 06:36, no-re...@patchew.org a écrit : > Patchew URL: > https://patchew.org/QEMU/20190910163600.19971-1-laur...@vivier.eu/ > > > > Hi, > > This series seems to have some coding style problems. See output below

[Qemu-devel] [PATCH v2 11/17] RISC-V: add vector extension integer instructions part4, mul/div/merge

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 41 + target/riscv/insn32.decode | 41 + target/riscv/insn_trans/trans_rvv.inc.c | 41 + target/riscv/vector_helper.c| 2838 +++ 4 files changed,

[Qemu-devel] [PATCH v2 15/17] RISC-V: add vector extension reduction instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 17 + target/riscv/insn32.decode | 17 + target/riscv/insn_trans/trans_rvv.inc.c | 17 + target/riscv/vector_helper.c| 1275 +++ 4 files changed,

[Qemu-devel] [PATCH v2 10/17] RISC-V: add vector extension integer instructions part3, cmp/min/max

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 29 + target/riscv/insn32.decode | 29 + target/riscv/insn_trans/trans_rvv.inc.c | 29 + target/riscv/vector_helper.c| 2280 +++ 4 files changed,

[Qemu-devel] [PATCH v2 13/17] RISC-V: add vector extension float instruction part1, add/sub/mul/div

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 37 + target/riscv/insn32.decode | 37 + target/riscv/insn_trans/trans_rvv.inc.c | 37 + target/riscv/vector_helper.c| 2645 +++ 4 files changed,

[Qemu-devel] [PATCH v2 14/17] RISC-V: add vector extension float instructions part2, sqrt/cmp/cvt/others

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 40 + target/riscv/insn32.decode | 40 + target/riscv/insn_trans/trans_rvv.inc.c | 54 + target/riscv/vector_helper.c| 2962 +++ 4 files changed,

[Qemu-devel] [PATCH v2 08/17] RISC-V: add vector extension integer instructions part1, add/sub/adc/sbc

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 36 + target/riscv/insn32.decode | 35 + target/riscv/insn_trans/trans_rvv.inc.c | 49 + target/riscv/vector_helper.c| 2335 +++ 4 files changed,

[Qemu-devel] [PATCH v2 09/17] RISC-V: add vector extension integer instructions part2, bit/shift

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 25 + target/riscv/insn32.decode | 25 + target/riscv/insn_trans/trans_rvv.inc.c | 25 + target/riscv/vector_helper.c| 1477 +++ 4 files changed,

[Qemu-devel] [PATCH v2 06/17] RISC-V: add vector extension fault-only-first implementation

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- linux-user/riscv/cpu_loop.c | 7 + target/riscv/cpu_helper.c | 7 + target/riscv/helper.h | 7 + target/riscv/insn32.decode | 7 + target/riscv/insn_trans/trans_rvv.inc.c | 7 +

[Qemu-devel] [PATCH v2 17/17] RISC-V: add vector extension premutation instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 15 + target/riscv/insn32.decode | 16 + target/riscv/insn_trans/trans_rvv.inc.c | 15 + target/riscv/vector_helper.c| 1068 +++ 4 files changed,

[Qemu-devel] [PATCH v2 05/17] RISC-V: add vector extension load and store instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 37 + target/riscv/insn32.decode | 46 + target/riscv/insn_trans/trans_rvv.inc.c | 70 + target/riscv/vector_helper.c| 2638 +++ 4 files changed,

[Qemu-devel] [PATCH v2 04/17] RISC-V: add vector extension configure instruction

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/Makefile.objs | 2 +- target/riscv/helper.h | 3 + target/riscv/insn32.decode | 5 ++ target/riscv/insn_trans/trans_rvv.inc.c | 46 target/riscv/translate.c

[Qemu-devel] [PATCH v2 03/17] RISC-V: support vector extension csr

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/cpu_bits.h | 15 target/riscv/csr.c | 65 ++--- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/target/riscv/cpu_bits.h b/target/riscv/cpu_bits.h index

[Qemu-devel] [PATCH v2 07/17] RISC-V: add vector extension atomic instructions

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 18 + target/riscv/insn32.decode | 21 + target/riscv/insn_trans/trans_rvv.inc.c | 36 + target/riscv/vector_helper.c| 1467 +++ 4 files changed,

[Qemu-devel] [PATCH v2 02/17] RISC-V: turn on vector extension from command line by cfg.ext_v Property

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/cpu.c | 6 +- target/riscv/cpu.h | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index f8d07bd..9f93ce7 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@

[Qemu-devel] [PATCH v2 01/17] RISC-V: add vfp field in CPURISCVState

2019-09-11 Thread liuzhiwei
From: LIU Zhiwei Signed-off-by: LIU Zhiwei --- target/riscv/cpu.h | 28 1 file changed, 28 insertions(+) diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 0adb307..c992b1d 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -93,9 +93,37 @@ typedef

[Qemu-devel] [PATCH v2 00/17] RISC-V: support vector extension

2019-09-11 Thread liuzhiwei
Features: * support specification riscv-v-spec-0.7.1(https://content.riscv.org/wp-content/uploads/2019/06/17.40-Vector_RISCV-20190611-Vectors.pdf). * support basic vector extension. * support Zvlsseg.

Re: [Qemu-devel] [PATCH v11 0/9] hw/m68k: add Apple Machintosh Quadra 800 machine

2019-09-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190910193347.16000-1-laur...@vivier.eu/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v11 0/9] hw/m68k: add Apple Machintosh Quadra 800 machine Message-id:

Re: [Qemu-devel] [PATCH v6 23/42] blockdev: Use CAF in external_snapshot_prepare()

2019-09-11 Thread Max Reitz
On 10.09.19 17:02, Kevin Wolf wrote: > Am 09.08.2019 um 18:13 hat Max Reitz geschrieben: >> This allows us to differentiate between filters and nodes with COW >> backing files: Filters cannot be used as overlays at all (for this >> function). >> >> Signed-off-by: Max Reitz >> Reviewed-by:

Re: [Qemu-devel] [PATCH v6 22/42] block: Fix bdrv_get_allocated_file_size's fallback

2019-09-11 Thread Max Reitz
On 10.09.19 16:52, Kevin Wolf wrote: > Am 09.08.2019 um 18:13 hat Max Reitz geschrieben: >> If the driver does not implement bdrv_get_allocated_file_size(), we >> should fall back to cumulating the allocated size of all non-COW >> children instead of just bs->file. >> >> Suggested-by: Vladimir

Re: [Qemu-devel] [PATCH v3] target-arm: Make the counter tick relative to cntfrq

2019-09-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190911034302.29108-1-and...@aj.id.au/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN ===

Re: [Qemu-devel] [PATCH v13 5/6] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls

2019-09-11 Thread Aravinda Prasad
On Monday 09 September 2019 08:49 PM, Greg Kurz wrote: > On Mon, 09 Sep 2019 12:54:53 +0530 > Aravinda Prasad wrote: > >> This patch adds support in QEMU to handle "ibm,nmi-register" >> and "ibm,nmi-interlock" RTAS calls and sets the default >> value of SPAPR_CAP_FWNMI_MCE to SPAPR_CAP_ON for

<    1   2   3   4