summaryrefslogtreecommitdiff
path: root/tools/build/.gitignore
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-02-10 19:43:51 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-02-14 00:29:56 +0300
commit6fffbc7ae1373e10b989afe23a9eeb9c49fe15c3 (patch)
tree829c3d406b251909de62382aa3cc359f0106022b /tools/build/.gitignore
parentc768f8c5f40fcdc6f058cc2f02592163d6c6716c (diff)
downloadlinux-6fffbc7ae1373e10b989afe23a9eeb9c49fe15c3.tar.xz
PCI: Honor firmware's device disabled status
If a device has a firmware node (DT/ACPI), and the device is marked disabled, that is currently ignored. Add a check for this condition and bail out creating the pci_dev. This assumes the config space for the device can still be accessed because they already have by this point in order to identify the device. Link: https://lore.kernel.org/r/20230210164351.2687475-1-robh@kernel.org Tested-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Liu Peibao <liupeibao@loongson.cn> Cc: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/build/.gitignore')
0 files changed, 0 insertions, 0 deletions