summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-exynos.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-07-14 20:42:13 +0800
committerBjorn Helgaas <bhelgaas@google.com>2022-07-14 15:29:03 -0500
commit2410e3301fcc40f6ebda234928c66a22f4257d9f (patch)
tree7384211529040cf8f4f7810e77402b8d092bbcdf /drivers/pci/controller/dwc/pci-exynos.c
parentcd89edda4002b7fb3c0a6765c3a60a60d5b1dc16 (diff)
downloadlinux-2410e3301fcc40f6ebda234928c66a22f4257d9f.tar.bz2
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/20220714124216.1489304-5-chenhuacai@loongson.cn Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-exynos.c')
0 files changed, 0 insertions, 0 deletions