Skip to content

Commit adf5845

Browse files
Desnes A. Nunes do RosarioBjorn Helgaas
authored andcommitted
PCI: Remove messages about reassigning resources
When reassigning device resources to increase their alignment, e.g., because of a "pci=resource_alignment=" kernel parameter or because the platform aligns resources to its page size, we previously emitted messages like this: pci 0000:00:00.0: Disabling memory decoding and releasing memory resources pci 0000:00:00.0: disabling bridge mem windows These messages don't convey any useful information, so remove them. Fixes: 3827463 ("powerpc/powernv: Override pcibios_default_alignment() to force PCI devices to be page aligned") Signed-off-by: Desnes A. Nunes do Rosario <[email protected]> [bhelgaas: changelog] Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 1b30dfd commit adf5845

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

drivers/pci/pci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5628,7 +5628,6 @@ void pci_reassigndev_resource_alignment(struct pci_dev *dev)
56285628
return;
56295629
}
56305630

5631-
pci_info(dev, "Disabling memory decoding and releasing memory resources\n");
56325631
pci_read_config_word(dev, PCI_COMMAND, &command);
56335632
command &= ~PCI_COMMAND_MEMORY;
56345633
pci_write_config_word(dev, PCI_COMMAND, command);

drivers/pci/setup-res.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ EXPORT_SYMBOL(pci_claim_resource);
168168

169169
void pci_disable_bridge_window(struct pci_dev *dev)
170170
{
171-
pci_info(dev, "disabling bridge mem windows\n");
172-
173171
/* MMIO Base/Limit */
174172
pci_write_config_dword(dev, PCI_MEMORY_BASE, 0x0000fff0);
175173

0 commit comments

Comments
 (0)