[Qemu-devel] [PATCH qemu v2 0/4] spapr_pci, vfio: NVIDIA V100 + POWER9 passthrough

2019-02-13 Thread Alexey Kardashevskiy
This is for passing through NVIDIA V100 GPUs on POWER9 systems. This implements a subdriver for NVIDIA V100 GPU with coherent memory and NPU/ATS support available in the POWER9 CPU. 1/4 is a preparation for bigger DMA windows. 2/4 is a small cleanup. Here is the kernel driver: https://git.kernel

[Qemu-devel] [PATCH qemu v2 4/4] spapr: Support NVIDIA V100 GPU with NVLink2

2019-02-13 Thread Alexey Kardashevskiy
NVIDIA V100 GPUs have on-board RAM which is mapped into the host memory space and accessible as normal RAM via an NVLink bus. The VFIO-PCI driver implements special regions for such GPUs and emulates an NVLink bridge. NVLink2-enabled POWER9 CPUs also provide address translation services which inclu

[Qemu-devel] [PATCH qemu v2 2/4] vfio/spapr: Rename local systempagesize variable

2019-02-13 Thread Alexey Kardashevskiy
The "systempagesize" name suggests that it is the host system page size while it is the smallest page size of memory backing the guest RAM so let's rename it to stop confusion. This should cause no behavioral change. Signed-off-by: Alexey Kardashevskiy --- hw/vfio/spapr.c | 6 +++--- 1 file chan

[Qemu-devel] [PATCH v4] drive-mirror: add incremental mode

2019-02-13 Thread mahaocong
From: mahaocong This patch adds possibility to start mirroring with user-created-bitmap. On full mode, mirror create a non-named-bitmap by scanning whole block-chain, and on top mode, mirror create a bitmap by scanning the top block layer. So I think I can copy a user-created-bitmap and use it as

Re: [Qemu-devel] [PATCH v2 12/15] s390x/tcg: Implement XxC and checks for most FP instructions

2019-02-13 Thread Richard Henderson
On 2/13/19 11:53 AM, David Hildenbrand wrote: > On 13.02.19 20:31, Richard Henderson wrote: >> On 2/13/19 6:33 AM, David Hildenbrand wrote: >>> With the floating-point extension facility >>> - CONVERT FROM LOGICAL >>> - CONVERT TO LOGICAL >>> - CONVERT TO FIXED >>> - CONVERT FROM FIXED >>> - LOAD F

Re: [Qemu-devel] [PATCH 0/2] Some small cleanups and corrections to PCI-E handling

2019-02-13 Thread David Gibson
On Thu, Feb 14, 2019 at 04:08:06PM +1100, David Gibson wrote: > Here are a couple of cleanups for PCI-E handling which arose out of > some other work I have in progress. At least the first of these > patches has been posted before as part of a different series, but > wasn't ready to go at the time

Re: [Qemu-devel] [PATCH v4] drive-mirror: add incremental mode

2019-02-13 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190214052809.44336-1-mahaocong_w...@163.com/ Hi, This series seems to have some coding style problems. See output below for more information: Message-id: 20190214052809.44336-1-mahaocong_w...@163.com Subject: [Qemu-devel] [PATCH v4] drive-mirror: add in

Re: [Qemu-devel] [PATCH v4] drive-mirror: add incremental mode

2019-02-13 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190214052809.44336-1-mahaocong_w...@163.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH v4] drive-mirror: add incremental mode Message-id: 20190214052809.44336-1-mahaocon

Re: [Qemu-devel] [PATCH 0/4] target/arm: Implement ARMv8.2-FHM

2019-02-13 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190214034345.24722-1-richard.hender...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PATCH 0/4] target/arm: Implement ARMv8.2-FHM Type: series Message-id: 201902140343

Re: [Qemu-devel] [PATCH 2/2] pcie: Don't allow extended config space access via conventional PCI bridges

2019-02-13 Thread Alexey Kardashevskiy
On 14/02/2019 16:08, David Gibson wrote: > In hardware it's possible, if odd, to have a configuration like: > > PCIe host bridge > \- PCIe to PCI bridge >\- PCI to PCIe bridge > \- PCIe device > > The PCIe extended configuration space on the device won't be > accessible to the host,

[Qemu-devel] [PATCH] softfloat: Support float_round_to_odd more places

2019-02-13 Thread Richard Henderson
Previously this was only supported for roundAndPackFloat64. Include support in round_canonical, round_to_int, roundAndPackFloat32, roundAndPackInt32, roundAndPackInt64, roundAndPackUint64. This does not include any of the floatx80 routines, as we do not have users for that rounding mode there. Si

Re: [Qemu-devel] [RFC v1 2/3] intel_iommu: add 256 bits qi_desc support

2019-02-13 Thread Yi Sun
On 19-02-14 11:24:35, Peter Xu wrote: > On Thu, Feb 14, 2019 at 09:52:04AM +0800, Yi Sun wrote: > > [...] > > > > > > > /* Fetch an Invalidation Descriptor from the Invalidation Queue */ > > > > > > -static bool vtd_get_inv_desc(dma_addr_t base_addr, uint32_t offset, > > > > > > +static bool vtd

Re: [Qemu-devel] [PATCH v3 3/3] blkdebug: Add latency injection rule type

2019-02-13 Thread Markus Armbruster
Marc Olson via Qemu-devel writes: > On 2/13/19 7:48 AM, Max Reitz wrote: >> On 12.02.19 22:21, Marc Olson wrote: >>> On 1/11/19 7:00 AM, Max Reitz wrote: On 12.11.18 08:06, Marc Olson wrote: >> [...] >> > diff --git a/qapi/block-core.json b/qapi/block-core.json > index d4fe710..72f78

[Qemu-devel] [PATCH RESEND v4] drive-mirror: add incremental mode

2019-02-13 Thread mahaocong
From: mahaocong This patch adds possibility to start mirroring with user-created-bitmap. On full mode, mirror create a non-named-bitmap by scanning whole block-chain, and on top mode, mirror create a bitmap by scanning the top block layer. So I think I can copy a user-created-bitmap and use it as

[Qemu-devel] [Bug 1815078] Re: Qemu 3.1.0 risc-v mie.MEIE

2019-02-13 Thread RTOS Pharos
OK, I'll give it a try and give you some feedback. Thanks -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1815078 Title: Qemu 3.1.0 risc-v mie.MEIE Status in QEMU: Fix Committed Bug description:

Re: [Qemu-devel] [PATCH 0/2] spapr/irq: remove the XICS offset adjustment for the dual machine

2019-02-13 Thread Cédric Le Goater
On 2/14/19 1:49 AM, David Gibson wrote: > On Wed, Feb 13, 2019 at 10:07:54PM +0100, Cédric Le Goater wrote: >> Hello, >> >> When using the 'dual' interrupt mode, the source numbers of both sPAPR >> IRQ backends are aligned to share a common IRQ number space and to use >> a similar mapping of the ma

Re: [Qemu-devel] [PATCH] configure: improve usbfs check

2019-02-13 Thread Thomas Huth
On 2019-02-13 22:18, Thomas Petazzoni wrote: > The current check to test if usbfs support should be compiled or not > solely relies on the presence of , without > actually checking that all definition used by Qemu are provided by > this header file. > > With sufficiently old kernel headers, may b

[Qemu-devel] [Bug 1815078] Re: Qemu 3.1.0 risc-v mie.MEIE

2019-02-13 Thread RTOS Pharos
So I tried it but got the error: ERROR: missing file ../qemu-3.1.0/ui/keycodemapdb/README This is not a GIT checkout but module content appears to be missing. Do not use 'git archive' or GitHub download links to acquire QEMU source archives. Non-GIT builds are only supported with source archives

Re: [Qemu-devel] [PATCH v4 1/2] pcie: Add a simple PCIe ACS (Access Control Services) helper function

2019-02-13 Thread Knut Omang
On Wed, 2019-02-13 at 12:13 -0700, Alex Williamson wrote: > On Wed, 13 Feb 2019 10:29:58 +0100 > Knut Omang wrote: > > > Add a helper function to add PCIe capability for Access Control Services > > (ACS) > > This is redundant to the commit title. > > > ACS support in the associated root port is

Re: [Qemu-devel] [Qemu-ppc] [PATCH 13/13] spapr: add KVM support to the 'dual' machine

2019-02-13 Thread Cédric Le Goater
On 2/14/19 4:35 AM, David Gibson wrote: > On Wed, Feb 13, 2019 at 11:07:49AM +0100, Greg Kurz wrote: >> On Wed, 13 Feb 2019 09:22:46 +0100 >> Cédric Le Goater wrote: >> >>> On 2/13/19 2:32 AM, David Gibson wrote: On Tue, Feb 12, 2019 at 08:18:19AM +0100, Cédric Le Goater wrote: > On 2/1

Re: [Qemu-devel] [RFC v1 2/3] intel_iommu: add 256 bits qi_desc support

2019-02-13 Thread Peter Xu
On Thu, Feb 14, 2019 at 02:27:30PM +0800, Yi Sun wrote: > On 19-02-14 11:24:35, Peter Xu wrote: > > On Thu, Feb 14, 2019 at 09:52:04AM +0800, Yi Sun wrote: > > > > [...] > > > > > > > > > /* Fetch an Invalidation Descriptor from the Invalidation Queue > > > > > > > */ > > > > > > > -static bool

Re: [Qemu-devel] [PATCH v3 1/2] hostmem: simplify ifdef-s in file_backend_memory_alloc()

2019-02-13 Thread Wei Yang
Maybe change the title s/hotmem/hostmem-file/ would be more proper. I missed this in previous review. On Thu, Feb 14, 2019 at 11:10:03AM +0800, Stefan Hajnoczi wrote: >From: Igor Mammedov > >cleanup file_backend_memory_alloc() by using one CONFIG_POSIX ifdef >instead of several ones within

Re: [Qemu-devel] [RFC v1 2/3] intel_iommu: add 256 bits qi_desc support

2019-02-13 Thread Tian, Kevin
> From: Peter Xu [mailto:pet...@redhat.com] > Sent: Thursday, February 14, 2019 3:14 PM > > > > > > When 256 bits invalidation descriptor is used, the guest driver > > > should be responsible to fill in zeros into reserved fields. > > > > > > Another question: is val[2] & val[3] used in any place

<    1   2   3   4   5