PCI: Limit config space size for Netronome NFP6000 family
authorJason S. McMullan <jason.mcmullan@netronome.com>
Wed, 30 Sep 2015 06:35:07 +0000 (15:35 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Dec 2015 01:38:07 +0000 (19:38 -0600)
commit9f33a2ae59f24452c1076749deb615bccd435ca9
tree15392986053fb6853001afa828c4cdebeecfacb6
parenta755e169031dac9ebaed03302c4921687c271d62
PCI: Limit config space size for Netronome NFP6000 family

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>
drivers/pci/quirks.c