PCI: Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parameters
authorNicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Wed, 23 Oct 2019 12:12:29 +0000 (12:12 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Oct 2019 15:27:09 +0000 (10:27 -0500)
commitd7b8a217521ca21e2c6391da88d4928c6ce1f539
tree215e5c469abd2c197029dbf2529c187c557228b5
parentc9c13ba428ef90a9b408a6cdf874e14ab5754516
PCI: Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parameters

The existing "pci=hpmemsize=nn[KMG]" kernel parameter overrides the default
size of both the non-prefetchable and the prefetchable MMIO windows for
hotplug bridges.

Add "pci=hpmmiosize=nn[KMG]" to override the default size of only the
non-prefetchable MMIO window.

Add "pci=hpmmioprefsize=nn[KMG]" to override the default size of only the
prefetchable MMIO window.

Link: https://lore.kernel.org/r/SL2P216MB0187E4D0055791957B7E2660806B0@SL2P216MB0187.KORP216.PROD.OUTLOOK.COM
Signed-off-by: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Documentation/admin-guide/kernel-parameters.txt
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/setup-bus.c