• Lorenzo Pieralisi's avatar
    PCI: Implement devm_pci_remap_cfgspace() · 490cb6dd
    Lorenzo Pieralisi authored
    The introduction of the pci_remap_cfgspace() interface allows PCI host
    controller drivers to map PCI config space through a dedicated kernel
    interface. Current PCI host controller drivers use the devm_ioremap_*()
    devres interfaces to map PCI configuration space regions so in order to
    update them to the new pci_remap_cfgspace() mapping interface a new set of
    devres interfaces should be implemented so that PCI host controller drivers
    can make use of them.
    Introduce two new functions in the PCI kernel layer and Devres
    - devm_pci_remap_cfgspace()
    - devm_pci_remap_cfg_resource()
    so that PCI host controller drivers can make use of them to map PCI
    configuration space regions.
    Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
Last commit
Last update
binding.txt Loading commit data...
bus.txt Loading commit data...
class.txt Loading commit data...
design-patterns.txt Loading commit data...
device.txt Loading commit data...
devres.txt Loading commit data...
driver.txt Loading commit data...
overview.txt Loading commit data...
platform.txt Loading commit data...
porting.txt Loading commit data...