Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-11 Thread Michael S. Tsirkin
On Thu, Mar 12, 2020 at 12:14:20PM +1100, David Gibson wrote: > On Wed, Mar 11, 2020 at 03:11:16AM -0400, Michael S. Tsirkin wrote: > > On Wed, Mar 11, 2020 at 11:58:57AM +1100, David Gibson wrote: > > > Note that several things that I believe are now in the PCIe spec, but > > > really derive more

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-11 Thread David Gibson
On Wed, Mar 11, 2020 at 03:11:16AM -0400, Michael S. Tsirkin wrote: > On Wed, Mar 11, 2020 at 11:58:57AM +1100, David Gibson wrote: > > Note that several things that I believe are now in the PCIe spec, but > > really derive more from PC legacy considerations, don't apply at all > > for PAPR. e.g.

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-11 Thread Michael S. Tsirkin
On Wed, Mar 11, 2020 at 11:58:57AM +1100, David Gibson wrote: > Note that several things that I believe are now in the PCIe spec, but > really derive more from PC legacy considerations, don't apply at all > for PAPR. e.g. there's no meaningful distinction between integrated > and slotted devices,

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread David Gibson
On Tue, Mar 10, 2020 at 11:56:11AM +, Daniel P. Berrangé wrote: > On Thu, Mar 05, 2020 at 03:30:08PM +1100, David Gibson wrote: > > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > > the guess mostly like classic PCI, even if some of the individual > > devices on the bus

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread Greg Kurz
On Tue, 10 Mar 2020 07:03:34 -0400 "Michael S. Tsirkin" wrote: > On Tue, Mar 10, 2020 at 10:43:29AM +0100, Greg Kurz wrote: > > On Thu, 5 Mar 2020 11:31:46 +0100 > > Greg Kurz wrote: > > > > > On Thu, 5 Mar 2020 15:30:08 +1100 > > > David Gibson wrote: > > > > > > > PAPR specifies a kind of

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread Daniel P . Berrangé
On Thu, Mar 05, 2020 at 03:30:08PM +1100, David Gibson wrote: > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > the guess mostly like classic PCI, even if some of the individual > devices on the bus are PCI Express. One consequence of that is that > virtio-pci devices still

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread Michael S. Tsirkin
On Tue, Mar 10, 2020 at 10:43:29AM +0100, Greg Kurz wrote: > On Thu, 5 Mar 2020 11:31:46 +0100 > Greg Kurz wrote: > > > On Thu, 5 Mar 2020 15:30:08 +1100 > > David Gibson wrote: > > > > > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > > > the guess mostly like classic

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread Michael S. Tsirkin
On Tue, Mar 10, 2020 at 10:43:29AM +0100, Greg Kurz wrote: > On Thu, 5 Mar 2020 11:31:46 +0100 > Greg Kurz wrote: > > > On Thu, 5 Mar 2020 15:30:08 +1100 > > David Gibson wrote: > > > > > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > > > the guess mostly like classic

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-10 Thread Greg Kurz
On Thu, 5 Mar 2020 11:31:46 +0100 Greg Kurz wrote: > On Thu, 5 Mar 2020 15:30:08 +1100 > David Gibson wrote: > > > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > > the guess mostly like classic PCI, even if some of the individual > > devices on the bus are PCI Express.

Re: [PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-05 Thread Greg Kurz
On Thu, 5 Mar 2020 15:30:08 +1100 David Gibson wrote: > PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to > the guess mostly like classic PCI, even if some of the individual > devices on the bus are PCI Express. One consequence of that is that > virtio-pci devices still defa

[PATCH v3 1/2] spapr: Disable legacy virtio devices for pseries-5.0 and later

2020-03-04 Thread David Gibson
PAPR specifies a kind of odd, paravirtualized PCI bus, which looks to the guess mostly like classic PCI, even if some of the individual devices on the bus are PCI Express. One consequence of that is that virtio-pci devices still default to being in transitional mode, though legacy mode is now disa