]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: ARI is a PCIe v2 feature
authorChris Wright <chrisw@sous-sol.org>
Wed, 13 Jul 2011 17:14:33 +0000 (10:14 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:19 +0000 (11:21 -0400)
commit97e5da43d6e99e44d25bed0bbdbb3444914f72a5
treee08ffadc40d417a7630b23c975a92daa89be4c78
parent9bc7025f0a36467b9eb015e0fe39c436f3583d26
PCI: ARI is a PCIe v2 feature

commit 864d296cf948aef0fa32b81407541572583f7572 upstream.

The function pci_enable_ari() may mistakenly set the downstream port
of a v1 PCIe switch in ARI Forwarding mode.  This is a PCIe v2 feature,
and with an SR-IOV device on that switch port believing the switch above
is ARI capable it may attempt to use functions 8-255, translating into
invalid (non-zero) device numbers for that bus.  This has been seen
to cause Completion Timeouts and general misbehaviour including hangs
and panics.

Acked-by: Don Dutile <ddutile@redhat.com>
Tested-by: Don Dutile <ddutile@redhat.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/pci/pci.c