Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-28 Thread Niklas Schnelle
On 7/28/20 2:52 PM, Alex Williamson wrote: > On Tue, 28 Jul 2020 11:33:55 +0200 > Niklas Schnelle wrote: > >> On 7/27/20 6:47 PM, Alex Williamson wrote: >>> On Mon, 27 Jul 2020 17:40:39 +0200 >>> Pierre Morel wrote: >>> On 2020-07-23 18:29, Alex Williamson wrote: > On Thu, 23

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-28 Thread Alex Williamson
On Tue, 28 Jul 2020 11:33:55 +0200 Niklas Schnelle wrote: > On 7/27/20 6:47 PM, Alex Williamson wrote: > > On Mon, 27 Jul 2020 17:40:39 +0200 > > Pierre Morel wrote: > > > >> On 2020-07-23 18:29, Alex Williamson wrote: > >>> On Thu, 23 Jul 2020 11:13:55 -0400 > >>> Matthew Rosato wrote: >

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-28 Thread Niklas Schnelle
On 7/27/20 6:47 PM, Alex Williamson wrote: > On Mon, 27 Jul 2020 17:40:39 +0200 > Pierre Morel wrote: > >> On 2020-07-23 18:29, Alex Williamson wrote: >>> On Thu, 23 Jul 2020 11:13:55 -0400 >>> Matthew Rosato wrote: >>> I noticed that after kernel commit abafbc55 'vfio-pci:

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-28 Thread Niklas Schnelle
On 7/27/20 5:40 PM, Pierre Morel wrote: > > > On 2020-07-23 18:29, Alex Williamson wrote: >> On Thu, 23 Jul 2020 11:13:55 -0400 >> Matthew Rosato wrote: >> >>> I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps >>> and block MMIO access on disabled memory' vfio-pci via

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-27 Thread Alex Williamson
On Mon, 27 Jul 2020 17:40:39 +0200 Pierre Morel wrote: > On 2020-07-23 18:29, Alex Williamson wrote: > > On Thu, 23 Jul 2020 11:13:55 -0400 > > Matthew Rosato wrote: > > > >> I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps > >> and block MMIO access on disabled

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-27 Thread Matthew Rosato
On 7/27/20 11:40 AM, Pierre Morel wrote: On 2020-07-23 18:29, Alex Williamson wrote: On Thu, 23 Jul 2020 11:13:55 -0400 Matthew Rosato wrote: I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps and block MMIO access on disabled memory' vfio-pci via qemu on s390x fails

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-27 Thread Pierre Morel
On 2020-07-23 18:29, Alex Williamson wrote: On Thu, 23 Jul 2020 11:13:55 -0400 Matthew Rosato wrote: I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps and block MMIO access on disabled memory' vfio-pci via qemu on s390x fails spectacularly, with errors in qemu like:

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-24 Thread Niklas Schnelle
On 7/24/20 11:46 AM, Niklas Schnelle wrote: > > > On 7/23/20 5:13 PM, Matthew Rosato wrote: >> I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps >> and block MMIO access on disabled memory' vfio-pci via qemu on s390x >> fails spectacularly, with errors in qemu like: >>

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-24 Thread Niklas Schnelle
On 7/24/20 11:46 AM, Niklas Schnelle wrote: > > > On 7/23/20 5:13 PM, Matthew Rosato wrote: >> I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps >> and block MMIO access on disabled memory' vfio-pci via qemu on s390x >> fails spectacularly, with errors in qemu like: >>

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-24 Thread Niklas Schnelle
On 7/23/20 5:13 PM, Matthew Rosato wrote: > I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps > and block MMIO access on disabled memory' vfio-pci via qemu on s390x > fails spectacularly, with errors in qemu like: > > qemu-system-s390x:

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-23 Thread Matthew Rosato
On 7/23/20 12:29 PM, Alex Williamson wrote: On Thu, 23 Jul 2020 11:13:55 -0400 Matthew Rosato wrote: I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps and block MMIO access on disabled memory' vfio-pci via qemu on s390x fails spectacularly, with errors in qemu like:

Re: [RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-23 Thread Alex Williamson
On Thu, 23 Jul 2020 11:13:55 -0400 Matthew Rosato wrote: > I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps > and block MMIO access on disabled memory' vfio-pci via qemu on s390x > fails spectacularly, with errors in qemu like: > > qemu-system-s390x:

[RFC PATCH] s390x/pci: vfio-pci breakage with disabled mem enforcement

2020-07-23 Thread Matthew Rosato
I noticed that after kernel commit abafbc55 'vfio-pci: Invalidate mmaps and block MMIO access on disabled memory' vfio-pci via qemu on s390x fails spectacularly, with errors in qemu like: qemu-system-s390x: vfio_region_read(0001:00:00.0:region0+0x0, 4) failed: Input/output error >From read to