]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/VMD: Configure MPS settings before adding devices
authorJon Derrick <jonathan.derrick@intel.com>
Thu, 13 Dec 2018 16:23:42 +0000 (09:23 -0700)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 30 Jan 2019 11:00:04 +0000 (11:00 +0000)
commit402875d609c18d580a51a5a03f989ce12f637769
tree70ac5c515267dbe235f17a1e0188a3a3b1d6127a
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
PCI/VMD: Configure MPS settings before adding devices

In order to provide the most performance and/or compatible settings,
ensure VMD root buses observe the pcie bus tuning settings by
configuring those settings prior to adding the devices to the pcie tree.

This patch open-codes pci_rescan_bus() and configures the buses prior to
adding devices and attaching drivers.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/controller/vmd.c