PCI: Limit config space size for Netronome NFP6000 family
commit2ca638dd9ba7a92a75196831e48cd22536e54787
authorJason S. McMullan <jason.mcmullan@netronome.com>
Wed, 30 Sep 2015 06:35:07 +0000 (30 15:35 +0900)
committerSasha Levin <alexander.levin@verizon.com>
Sat, 3 Sep 2016 03:39:37 +0000 (2 23:39 -0400)
tree13f8d5c6bc989c32a22d233d8b722f3f3955384b
parentebcd02166277b5754a731d48a8ee004133abc345
PCI: Limit config space size for Netronome NFP6000 family

[ Upstream commit 9f33a2ae59f24452c1076749deb615bccd435ca9 ]

The NFP6000 has an erratum where reading/writing to PCI config space
addresses above 0x600 can cause the NFP to generate PCIe completion
timeouts.

Limit the NFP6000's config space size to 0x600 bytes.

Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
[simon: edited changelog]
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/pci/quirks.c