Re: [PATCH v4 4/7] PCI: Don't update VF BARs while VF memory space is enabled

2016-11-28 Thread Gavin Shan
On Mon, Nov 28, 2016 at 10:15:21PM -0600, Bjorn Helgaas wrote: >If we update a VF BAR while it's enabled, there are two potential problems: > > 1) Any driver that's using the VF has a cached BAR value that is stale > after the update, and > > 2) We can't update 64-bit BARs atomically, so the

RE: [PATCH v4 4/7] PCI: Don't update VF BARs while VF memory space is enabled

2016-11-30 Thread David Laight
From: Bjorn Helgaas > Sent: 29 November 2016 04:15 > If we update a VF BAR while it's enabled, there are two potential problems: > > 1) Any driver that's using the VF has a cached BAR value that is stale > after the update, and > > 2) We can't update 64-bit BARs atomically, so the interm

Re: [PATCH v4 4/7] PCI: Don't update VF BARs while VF memory space is enabled

2016-11-30 Thread Bjorn Helgaas
[Your response didn't make it to the list, I think because it's some non-plaintext encoding that is rejected by the list (see http://vger.kernel.org/majordomo-info.html)] On Wed, Nov 30, 2016 at 11:56 AM, David Laight wrote: > From: Bjorn Helgaas >> Sent: 29 November 2016 04:15 >> If we update a