[PATCH V11 07/17] powerpc/pci: Don't unset pci resources for VFs
Benjamin Herrenschmidt
benh at au1.ibm.com
Tue Feb 10 19:14:45 AEDT 2015
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.
More information about the Linuxppc-dev
mailing list