Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1590797
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space |
| Date | 2017-03-02 03:10 +0100 |
| Message-ID | <tgolP-3FJ-5@gated-at.bofh.it> (permalink) |
| References | <tfvfH-7o7-3@gated-at.bofh.it> <tfvpo-7rK-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 27, 2017 at 5:14 PM, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> wrote: > 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 > documentation: > > - 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. Wouldn't you like to be consistent with current PCI API, i.e.: 1. devm_*() functions called pcim_*() in PCI. 2. If you may notice there is no separate pcim_*map*() stuff, they are dynamically adapting to the case. ? -- With Best Regards, Andy Shevchenko
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-02 03:10 +0100
Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-03-02 13:10 +0100
Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-02 14:30 +0100
Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space Thierry Reding <thierry.reding@gmail.com> - 2017-03-02 21:20 +0100
Re: [PATCH 07/20] PCI: implement Devres interface to map PCI config space Tejun Heo <tj@kernel.org> - 2017-03-03 00:20 +0100
csiph-web