]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: designware: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:49:03 +0000 (17:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:16 +0000 (13:53 -0500)
commitd7575d6e059cba41b4a9bbc136c15397fbc7d895
tree41870f4dc5ab60eed7f9fe7039033ba5669b6fed
parentd689de2fec0cf7992620035928a27f9801f500f3
PCI: designware: Update PCI config space remap function

PCI configuration space should be mapped with a memory region type that
generates on the CPU host bus non-posted write transations. Update the
driver to use the devm_pci_remap_cfg* interface to make sure the correct
memory mappings for PCI configuration space are used.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Joao Pinto <Joao.Pinto@synopsys.com>
drivers/pci/dwc/pcie-designware-host.c