[PATCH v3 0/7] Fix PF/VF dependency issue

From: sathyanarayanan . kuppuswamy
Date: Thu Jun 20 2019 - 16:41:00 EST


From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>

Current implementation of ATS, PASID, PRI does not handle VF dependencies
correctly. Following patches addresses this issue.

Changes since v1:
* Added more details about the patches in commit log.
* Removed bulk spec check patch.
* Addressed comments from Bjorn Helgaas.

Changes since v2:
* Added locking mechanism to synchronize accessing PF registers in VF.
* Removed spec compliance checks in patches.
* Addressed comments from Bjorn Helgaas.

Kuppuswamy Sathyanarayanan (7):
PCI/ATS: Fix pci_prg_resp_pasid_required() dependency issues
PCI/ATS: Initialize PRI in pci_ats_init()
PCI/ATS: Initialize PASID in pci_ats_init()
PCI/ATS: Add PRI support for PCIe VF devices
PCI/ATS: Add PASID support for PCIe VF devices
PCI/ATS: Disable PF/VF ATS service independently
PCI: Skip Enhanced Allocation (EA) initialization for VF device

drivers/pci/ats.c | 385 ++++++++++++++++++++++++++++++----------
drivers/pci/pci.c | 7 +
include/linux/pci-ats.h | 12 +-
include/linux/pci.h | 7 +-
4 files changed, 312 insertions(+), 99 deletions(-)

--
2.21.0