[PATCH v2 0/3] PCIe Capability accessor fixes [stable backports]

From: Bjorn Helgaas
Date: Tue Nov 19 2013 - 16:35:49 EST


The following patches fix issues reported by Yuval Mintz
<yuvalmin@xxxxxxxxxxxx> and Myron Stowe <myron.stowe@xxxxxxxxxx>.

These fix pcie_capability_read_dword() and related accessors, which first
appeared in v3.7. I backported these to v3.10.19 because that appears to
be the oldest maintained stable kernel that is affected.

These patches replace the ones I posted yesterday at [1], because Myron
pointed out that an additional patch, "Remove PCIe Capability version
checks," is needed to fix the issue he found [2].

[1] http://lkml.kernel.org/r/20131118191723.26774.53479.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2] https://bugzilla.kernel.org/show_bug.cgi?id=65211


---

Bjorn Helgaas (3):
PCI: Allow PCIe Capability link-related register access for switches
PCI: Remove PCIe Capability version checks
PCI: Support PCIe Capability Slot registers only for ports with slots


drivers/pci/access.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/