]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Log debug messages about reset method
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Mar 2025 20:42:20 +0000 (14:42 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Mar 2025 22:44:43 +0000 (16:44 -0600)
commit800ce277f419a9b142a9ca0ec5a054225c5ff05b
treefee455c56d759b03da9211f784d7d738570f2354
parent2014c95afecee3e76ca4a56956a936e23283f05b
PCI: Log debug messages about reset method

Log pci_dbg() messages about the reset methods we attempt and any errors
(-ENOTTY means "try the next method").

Set CONFIG_DYNAMIC_DEBUG=y and enable by booting with
dyndbg="file drivers/pci/* +p" or enable at runtime:

  # echo "file drivers/pci/* +p" > /sys/kernel/debug/dynamic_debug/control

Link: https://lore.kernel.org/r/20250303204220.197172-1-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
drivers/pci/pci.c