pci: Delete PCI disabling informational messages
PATCH v2 1/1 pci: Delete PCI disabling informational messages
The disabling informational messages on the PCI subsystem should be deleted since they do not represent any real value for the system logs.
These messages are either not presented, or presented for all PCI devices (e.g., powerpc now realigns all PCI devices to its page size). Thus, they are flooding system logs and can be interpreted as a false positive for total PCI failure on the system.
[root@system user]# dmesg | grep -i disabling
[ 0.692270] pci 0000:00:00.0: Disabling memory decoding and releasing memory resources [ 0.692324] pci 0000:00:00.0: disabling bridge mem windows [ 0.729134] pci 0001:00:00.0: Disabling memory decoding and releasing memory resources [ 0.737352] pci 0001:00:00.0: disabling bridge mem windows [ 0.776295] pci 0002:00:00.0: Disabling memory decoding and releasing memory resources [ 0.784509] pci 0002:00:00.0: disabling bridge mem windows
... and goes on for all PCI devices on the system ...
Fixes 38274637699 ("powerpc/powernv: Override pcibios_default_alignment() to force PCI devices to be page aligned")
Signed-off-by Desnes A. Nunes do Rosario <[email protected]>
--- drivers/pci/pci.c | 1 - drivers/pci/setup-res.c | 2 -- 2 files changed, 3 deletions(-)
drivers/pci/pci.c +0 -1
@@ -5505,7 +5505,6 @@ void pci_reassigndev_resource_alignment(struct pci_dev *dev)return ; } -pci_info (dev,"Disabling memory decoding and releasing memory resources\n" );pci_read_config_word (dev,PCI_COMMAND , &command); command &= ~PCI_COMMAND_MEMORY ;pci_write_config_word (dev,PCI_COMMAND , command);
drivers/pci/setup-res.c +0 -2
@@ -172,8 +172,6 @@ EXPORT_SYMBOL(pci_claim_resource);void pci_disable_bridge_window (struct pci_dev *dev) { -pci_info (dev,"disabling bridge mem windows\n" ); -/* MMIO Base/Limit */ pci_write_config_dword (dev,PCI_MEMORY_BASE ,0x0000fff0 );
Signature · 1 line
2.14.3