]> 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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 21 Sep 2016 11:40:07 +0000 (13:40 +0200)
commitc78c104a9bfb09d6096e8119b0f8a70d18221db2
tree8eb8c1c7477b8c0a3bf89321bcece0e1cbf4e768
parentdb5ba5779b1f8145576a2b59e6c71697a65286ac
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: Jiri Slaby <jslaby@suse.cz>
drivers/pci/quirks.c