Re: [PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-14 Thread Michael Roth
Quoting Michael S. Tsirkin (2019-11-14 03:12:00) > On Thu, Nov 14, 2019 at 04:10:36AM -0500, Michael S. Tsirkin wrote: > > On Wed, Nov 13, 2019 at 07:07:36PM -0600, Michael Roth wrote: > > > Quoting Michael S. Tsirkin (2019-11-13 04:09:02) > > > > On Tue, Nov 12, 2019 at 11:43:01PM -0600, Michael R

Re: [PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-14 Thread Michael S. Tsirkin
On Thu, Nov 14, 2019 at 04:10:36AM -0500, Michael S. Tsirkin wrote: > On Wed, Nov 13, 2019 at 07:07:36PM -0600, Michael Roth wrote: > > Quoting Michael S. Tsirkin (2019-11-13 04:09:02) > > > On Tue, Nov 12, 2019 at 11:43:01PM -0600, Michael Roth wrote: > > > > Currently the SLOF firmware for pserie

Re: [PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-14 Thread Michael S. Tsirkin
On Wed, Nov 13, 2019 at 07:07:36PM -0600, Michael Roth wrote: > Quoting Michael S. Tsirkin (2019-11-13 04:09:02) > > On Tue, Nov 12, 2019 at 11:43:01PM -0600, Michael Roth wrote: > > > Currently the SLOF firmware for pseries guests will disable/re-enable > > > a PCI device multiple times via IO/MEM

Re: [PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-13 Thread Michael Roth
Quoting Michael S. Tsirkin (2019-11-13 04:09:02) > On Tue, Nov 12, 2019 at 11:43:01PM -0600, Michael Roth wrote: > > Currently the SLOF firmware for pseries guests will disable/re-enable > > a PCI device multiple times via IO/MEM/MASTER bits of PCI_COMMAND > > register after the initial probe/featu

Re: [PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-13 Thread Michael S. Tsirkin
On Tue, Nov 12, 2019 at 11:43:01PM -0600, Michael Roth wrote: > Currently the SLOF firmware for pseries guests will disable/re-enable > a PCI device multiple times via IO/MEM/MASTER bits of PCI_COMMAND > register after the initial probe/feature negotiation, as it tends to > work with a single devic

[PATCH RFC] virtio-pci: disable vring processing when bus-mastering is disabled

2019-11-12 Thread Michael Roth
Currently the SLOF firmware for pseries guests will disable/re-enable a PCI device multiple times via IO/MEM/MASTER bits of PCI_COMMAND register after the initial probe/feature negotiation, as it tends to work with a single device at a time at various stages like probing and running block/network b