Re: [PATCH] PCI/IOV: Skip initializing the base addresses from the VF config space

2018-03-19 Thread Bjorn Helgaas
On Sat, Mar 03, 2018 at 05:33:10AM +0100, KarimAllah Ahmed wrote: > Per PCIe r4.0, sec 9.3.4.1.11, the BARs registers from the VF config space > are all RO Zero for PCI VFs. So just skip reading them for VFs. > > This is an optimization when enabling SR-IOV on a device with many VFs. > > Cc:

Re: [PATCH] PCI/IOV: Skip initializing the base addresses from the VF config space

2018-03-19 Thread Bjorn Helgaas
On Sat, Mar 03, 2018 at 05:33:10AM +0100, KarimAllah Ahmed wrote: > Per PCIe r4.0, sec 9.3.4.1.11, the BARs registers from the VF config space > are all RO Zero for PCI VFs. So just skip reading them for VFs. > > This is an optimization when enabling SR-IOV on a device with many VFs. > > Cc:

[PATCH] PCI/IOV: Skip initializing the base addresses from the VF config space

2018-03-02 Thread KarimAllah Ahmed
Per PCIe r4.0, sec 9.3.4.1.11, the BARs registers from the VF config space are all RO Zero for PCI VFs. So just skip reading them for VFs. This is an optimization when enabling SR-IOV on a device with many VFs. Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc:

[PATCH] PCI/IOV: Skip initializing the base addresses from the VF config space

2018-03-02 Thread KarimAllah Ahmed
Per PCIe r4.0, sec 9.3.4.1.11, the BARs registers from the VF config space are all RO Zero for PCI VFs. So just skip reading them for VFs. This is an optimization when enabling SR-IOV on a device with many VFs. Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org