summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorRay Jui <ray.jui@broadcom.com>2018-06-12 03:21:06 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-07-13 13:56:55 +0300
commitf78e60a29d4ff27531770cf2c6eee89292379209 (patch)
tree10d900903255dc58311052926fe2298624532ac5 /usr
parent1e5748c27ad6669ec4a377f44ef40898c28184e5 (diff)
downloadlinux-f78e60a29d4ff27531770cf2c6eee89292379209.tar.xz
PCI: iproc: Reject unconfigured physical functions from PAXC
PAXC is an emulated PCIe root complex internally in various Broadcom based SoCs. PAXC internally connects to the embedded network processor within these SoCs, with the embedeed network processor exposed as an endpoint device. The number of physical functions from the embedded network processor that can be accessed depends on the firmware configuration. Unfortunately, due to an ASIC bug, unconfigured physical functions cannot be properly hidden from the root complex during enumerattion. As a result, config write access to these unconfigured physical functions during enumeration will cause a bus lock up on the embedded network processor. Fortunately, these unconfigured physical functions contain a very specific, staled PCIe device ID 0x168e. By making use of this device ID, one is able to terminate the enumeration early in the vendor/device ID config read. Signed-off-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions