aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2024-01-16 20:02:58 +0530
committerBjorn Helgaas <bhelgaas@google.com>2024-04-23 16:08:17 -0500
commit7bf9d2af7e89f65a79225e26d261b52ce4ee3e95 (patch)
tree3b30a000340694c21e925985404165b840b22dc8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-7bf9d2af7e89f65a79225e26d261b52ce4ee3e95.tar.gz
linux-7bf9d2af7e89f65a79225e26d261b52ce4ee3e95.tar.bz2
linux-7bf9d2af7e89f65a79225e26d261b52ce4ee3e95.zip
PCI: Clear Secondary Status errors after enumeration
We enumerate devices by attempting config reads to the Vendor ID of each possible device. On conventional PCI, if no device responds, the read terminates with a Master Abort (PCI r3.0, sec 6.1). On PCIe, the config read is terminated as an Unsupported Request (PCIe r6.0, sec 2.3.2, 7.5.1.3.7). In either case, if the read addressed a device below a bridge, it is logged by setting "Received Master Abort" in the bridge Secondary Status register. Clear any errors logged in the Secondary Status register after enumeration. Link: https://lore.kernel.org/r/20240116143258.483235-1-vidyas@nvidia.com Signed-off-by: Vidya Sagar <vidyas@nvidia.com> [bhelgaas: simplify commit log] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions