PCI/IOV: Skip INTx config reads for VFs
Per PCIe r4.0, sec 9.2.1.4, VFs can not implement INTX, and their Interrupt Line and Interrupt Pin registers must be RO Zero. Some devices have thousands of VFs, so skip reading the registers as an optimization. Signed-off-by: NKarimAllah Ahmed <karahmed@amazon.de> Signed-off-by: NJan H. Schönherr <jschoenh@amazon.de> [bhelgaas: changelog, comment] Signed-off-by: NBjorn Helgaas <helgaas@kernel.org>
Showing
想要评论请 注册 或 登录