Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2019-01-15 Thread Bjorn Helgaas
[-cc stable] On Mon, Jan 14, 2019 at 11:07:27PM -0500, Michael S. Tsirkin wrote: > On Thu, Dec 20, 2018 at 05:36:03PM -0500, Michael S. Tsirkin wrote: > > On Thu, Dec 20, 2018 at 04:31:58PM -0600, Bjorn Helgaas wrote: > > > On Thu, Dec 20, 2018 at 04:26:54PM -0500, Michael S. Tsirkin wrote: > > >

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2019-01-14 Thread Michael S. Tsirkin
On Thu, Dec 20, 2018 at 05:36:03PM -0500, Michael S. Tsirkin wrote: > On Thu, Dec 20, 2018 at 04:31:58PM -0600, Bjorn Helgaas wrote: > > On Thu, Dec 20, 2018 at 04:26:54PM -0500, Michael S. Tsirkin wrote: > > > On Thu, Dec 20, 2018 at 01:49:50PM -0600, Bjorn Helgaas wrote: > > > > On Mon, Dec 17,

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2019-01-07 Thread Michael S. Tsirkin
On Thu, Dec 20, 2018 at 05:36:03PM -0500, Michael S. Tsirkin wrote: > On Thu, Dec 20, 2018 at 04:31:58PM -0600, Bjorn Helgaas wrote: > > On Thu, Dec 20, 2018 at 04:26:54PM -0500, Michael S. Tsirkin wrote: > > > On Thu, Dec 20, 2018 at 01:49:50PM -0600, Bjorn Helgaas wrote: > > > > On Mon, Dec 17,

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2018-12-20 Thread Michael S. Tsirkin
On Thu, Dec 20, 2018 at 04:31:58PM -0600, Bjorn Helgaas wrote: > On Thu, Dec 20, 2018 at 04:26:54PM -0500, Michael S. Tsirkin wrote: > > On Thu, Dec 20, 2018 at 01:49:50PM -0600, Bjorn Helgaas wrote: > > > On Mon, Dec 17, 2018 at 07:45:41PM -0500, Michael S. Tsirkin wrote: > > > > commit

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2018-12-20 Thread Bjorn Helgaas
On Thu, Dec 20, 2018 at 04:26:54PM -0500, Michael S. Tsirkin wrote: > On Thu, Dec 20, 2018 at 01:49:50PM -0600, Bjorn Helgaas wrote: > > On Mon, Dec 17, 2018 at 07:45:41PM -0500, Michael S. Tsirkin wrote: > > > commit 1f82de10d6b1 ("PCI/x86: don't assume prefetchable ranges are > > > 64bit") > >

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2018-12-20 Thread Michael S. Tsirkin
On Thu, Dec 20, 2018 at 01:49:50PM -0600, Bjorn Helgaas wrote: > Hi Michael, > > On Mon, Dec 17, 2018 at 07:45:41PM -0500, Michael S. Tsirkin wrote: > > commit 1f82de10d6b1 ("PCI/x86: don't assume prefetchable ranges are 64bit") > > added probing of bridge support for 64 bit memory each time

Re: [PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2018-12-20 Thread Bjorn Helgaas
Hi Michael, On Mon, Dec 17, 2018 at 07:45:41PM -0500, Michael S. Tsirkin wrote: > commit 1f82de10d6b1 ("PCI/x86: don't assume prefetchable ranges are 64bit") > added probing of bridge support for 64 bit memory each time bridge is > re-enumerated. > > Unfortunately this probing is destructive if

[PATCH v2] PCI: avoid bridge feature re-probing on hotplug

2018-12-17 Thread Michael S. Tsirkin
commit 1f82de10d6b1 ("PCI/x86: don't assume prefetchable ranges are 64bit") added probing of bridge support for 64 bit memory each time bridge is re-enumerated. Unfortunately this probing is destructive if any device behind the bridge is in use at this time. This was observed in the field, see