Thread (85 messages) 85 messages, 4 authors, 2015-03-02

Re: [PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs

From: Benjamin Herrenschmidt <hidden>
Date: 2015-02-10 08:15:56
Also in: linux-pci

On Tue, 2015-02-10 at 14:25 +0800, Wei Yang wrote:
PF's resource will be assigned first, including normal BARs and IOV
BARs.

Then PF's driver will create VFs, in virtfn_add(). In this function,
VF's
resources is calculated from its PF's IOV BAR.

If you reset VF's resource as PFs, no one will try to assign it again.
So the problem is that the flag indicating VF is lost ? IE. We should
still mark them unset, but preserve that flag ?

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help