PCI: xgene: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:49:05 +0000 (17:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:16 +0000 (13:53 -0500)
commit26b758f775a368653b9ecb3f7c06b9ec34ccb1be
tree59ec5303a0dcd51595c28985098ad630b3a1c835
parent53dfa17dfed84fe1adf00a4ff817789737ead410
PCI: xgene: 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: Tanmay Inamdar <tinamdar@apm.com>
drivers/pci/host/pci-xgene.c