[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <156046609596.29869.5839964168034189416.stgit@gimli.home>
Date: Thu, 13 Jun 2019 16:56:57 -0600
From: Alex Williamson <alex.williamson@...hat.com>
To: linux-pci@...r.kernel.org
Cc: Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>,
KarimAllah Ahmed <karahmed@...zon.de>,
Hao Zheng <yinhe@...ux.alibaba.com>, bhelgaas@...gle.com,
linux-kernel@...r.kernel.org, nanhai.zou@...ux.alibaba.com,
quan.xu0@...ux.alibaba.com, ashok.raj@...el.com,
keith.busch@...el.com, mike.campin@...el.com
Subject: [PATCH 0/2] PCI/IOV: Resolve regression in SR-IOV VF cfg_size
The commit reverted in the first patch introduced a regression where
only the first VF reports the correct config space size, subsequent VFs
report 256 bytes of config space. Replace this in the second patch
with an assumption that all VFs support extended config space by virtue
of the SR-IOV spec requiring a PCIe capability and reachability of the
PF extended config space already being proven by the existence of the
VF. Thanks,
Alex
---
Alex Williamson (2):
Revert: PCI/IOV: Use VF0 cached config space size for other VFs
PCI/IOV: Assume SR-IOV VFs support extended config space.
drivers/pci/iov.c | 2 --
drivers/pci/pci.h | 1 -
drivers/pci/probe.c | 26 ++++++++++++--------------
3 files changed, 12 insertions(+), 17 deletions(-)
Powered by blists - more mailing lists