Re: [Qemu-devel] [PATCH v2] spapr_pci: allow control of BAR alignment through SLOF

2017-03-07 Thread Michael Roth
Quoting David Gibson (2017-03-06 03:43:49) > On Sun, Mar 05, 2017 at 11:44:54PM -0600, Michael Roth wrote: > > Quoting David Gibson (2017-03-05 22:16:58) > > > On Fri, Mar 03, 2017 at 05:32:57PM -0600, Michael Roth wrote: > > > > In certain cases, such as PCI-passthrough with VFIO, we cannot offloa

Re: [Qemu-devel] [PATCH v2] spapr_pci: allow control of BAR alignment through SLOF

2017-03-06 Thread David Gibson
On Sun, Mar 05, 2017 at 11:44:54PM -0600, Michael Roth wrote: > Quoting David Gibson (2017-03-05 22:16:58) > > On Fri, Mar 03, 2017 at 05:32:57PM -0600, Michael Roth wrote: > > > In certain cases, such as PCI-passthrough with VFIO, we cannot offload > > > MMIO accesses to KVM unless the BAR alignme

Re: [Qemu-devel] [PATCH v2] spapr_pci: allow control of BAR alignment through SLOF

2017-03-05 Thread Michael Roth
Quoting David Gibson (2017-03-05 22:16:58) > On Fri, Mar 03, 2017 at 05:32:57PM -0600, Michael Roth wrote: > > In certain cases, such as PCI-passthrough with VFIO, we cannot offload > > MMIO accesses to KVM unless the BAR alignment matches the host. This > > patch, in conjunction with a separately

Re: [Qemu-devel] [PATCH v2] spapr_pci: allow control of BAR alignment through SLOF

2017-03-05 Thread David Gibson
On Fri, Mar 03, 2017 at 05:32:57PM -0600, Michael Roth wrote: > In certain cases, such as PCI-passthrough with VFIO, we cannot offload > MMIO accesses to KVM unless the BAR alignment matches the host. This > patch, in conjunction with a separately submitted patch for SLOF > which allows for control

[Qemu-devel] [PATCH v2] spapr_pci: allow control of BAR alignment through SLOF

2017-03-03 Thread Michael Roth
In certain cases, such as PCI-passthrough with VFIO, we cannot offload MMIO accesses to KVM unless the BAR alignment matches the host. This patch, in conjunction with a separately submitted patch for SLOF which allows for control of this via the device-tree, allows us to set this alignment via QEMU