Re: [Intel-wired-lan] [PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-06 Thread Bjorn Helgaas
On Thu, Oct 05, 2017 at 04:07:41PM -0500, Bjorn Helgaas wrote: > On Wed, Oct 04, 2017 at 04:29:14PM -0700, Alexander Duyck wrote: > > On Wed, Oct 4, 2017 at 4:01 PM, Bjorn Helgaas wrote: > > > On Wed, Oct 04, 2017 at 08:52:58AM -0700, Tony Nguyen wrote: > > >> This fixes a bug that can occur if an

Re: [Intel-wired-lan] [PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-05 Thread Alexander Duyck
On Thu, Oct 5, 2017 at 2:07 PM, Bjorn Helgaas wrote: > On Wed, Oct 04, 2017 at 04:29:14PM -0700, Alexander Duyck wrote: >> On Wed, Oct 4, 2017 at 4:01 PM, Bjorn Helgaas wrote: >> > On Wed, Oct 04, 2017 at 08:52:58AM -0700, Tony Nguyen wrote: >> >> This fixes a bug that can occur if an AER error i

Re: [Intel-wired-lan] [PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-05 Thread Bjorn Helgaas
On Wed, Oct 04, 2017 at 04:29:14PM -0700, Alexander Duyck wrote: > On Wed, Oct 4, 2017 at 4:01 PM, Bjorn Helgaas wrote: > > On Wed, Oct 04, 2017 at 08:52:58AM -0700, Tony Nguyen wrote: > >> This fixes a bug that can occur if an AER error is encountered while SRIOV > >> devices are present. > >> >

Re: [Intel-wired-lan] [PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-04 Thread Alexander Duyck
On Wed, Oct 4, 2017 at 4:01 PM, Bjorn Helgaas wrote: > On Wed, Oct 04, 2017 at 08:52:58AM -0700, Tony Nguyen wrote: >> This fixes a bug that can occur if an AER error is encountered while SRIOV >> devices are present. >> >> This issue was seen by doing the following. Inject an AER error to a devic

Re: [PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-04 Thread Bjorn Helgaas
On Wed, Oct 04, 2017 at 08:52:58AM -0700, Tony Nguyen wrote: > This fixes a bug that can occur if an AER error is encountered while SRIOV > devices are present. > > This issue was seen by doing the following. Inject an AER error to a device > that has SRIOV devices. After the device has recovered

[PATCH] PCI: Check/Set ARI capability before setting numVFs

2017-10-04 Thread Tony Nguyen
This fixes a bug that can occur if an AER error is encountered while SRIOV devices are present. This issue was seen by doing the following. Inject an AER error to a device that has SRIOV devices. After the device has recovered, remove the driver. Reload the driver and enable SRIOV which causes th