]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 12 Oct 2017 14:28:19 +0000 (15:28 +0100)
commit86f5c4bca0c767c613fbf6bd66c26bc4e2d9fbdd
tree0216ba6fb33f04f779abd8e75d719209e72fe3e1
parent5fa2b7b00900a686d13fc6a28258d6c3529d28c7
PCI: Limit config space size for Netronome NFP6000 family

commit 9f33a2ae59f24452c1076749deb615bccd435ca9 upstream.

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: Ben Hutchings <ben@decadent.org.uk>
drivers/pci/quirks.c