diff options
| author | Huacai Chen <[email protected]> | 2022-07-14 20:42:13 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-07-14 15:29:03 -0500 |
| commit | 2410e3301fcc40f6ebda234928c66a22f4257d9f (patch) | |
| tree | 7384211529040cf8f4f7810e77402b8d092bbcdf /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | |
| parent | cd89edda4002b7fb3c0a6765c3a60a60d5b1dc16 (diff) | |
PCI: loongson: Don't access non-existent devices
On LS2K/LS7A, config reads to some non-existent devices don't return
0xffffffff (they are hidden devices for debug, and accessing the config
space may cause machine hang). This is a hardware flaw but we can only
avoid it by software now.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions