Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653696
| From | Bjorn Helgaas <bhelgaas@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources |
| Date | 2017-05-31 00:50 +0200 |
| Message-ID | <tMY7D-4OE-5@gated-at.bofh.it> (permalink) |
| References | <tJYGR-86U-7@gated-at.bofh.it> <tJYGS-86U-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, May 22, 2017 at 11:39 AM, Oza Pawandeep <oza.oza@broadcom.com> wrote:
> This patch adds support for inbound memory window
> for PCI RC drivers.
>
> It defines new function pci_create_root_bus2 which
> takes inbound resources as an argument and fills in the
> memory resource to PCI internal host bridge structure
> as inbound_windows.
>
> Legacy RC driver could continue to use pci_create_root_bus,
> but any RC driver who wants to reseve IOVAS for their
> inbound memory holes, should use new API pci_create_root_bus2.
>
> Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
> ...
> +struct pci_bus *pci_create_root_bus2(struct device *parent, int bus,
> + struct pci_ops *ops, void *sysdata, struct list_head *resources,
> + struct list_head *in_res)
> +{
> + return pci_create_root_bus_msi(parent, bus, ops, sysdata,
> + resources, in_res, NULL);
> +}
> +EXPORT_SYMBOL_GPL(pci_create_root_bus2);
Based on your response to Lorenzo's "[RFC/RFT PATCH 03/18] PCI:
Introduce pci_scan_root_bus_bridge()", I'm hoping you can avoid adding
yet another variant of pci_create_root_bus().
So I think I can wait for that to settle out and look for a v8?
Bjorn
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources Bjorn Helgaas <bhelgaas@google.com> - 2017-05-31 00:50 +0200
Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources Oza Oza <oza.oza@broadcom.com> - 2017-05-31 18:20 +0200
Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources Bjorn Helgaas <bhelgaas@google.com> - 2017-06-01 19:10 +0200
Re: [PATCH v7 2/3] PCI: Add support for PCI inbound windows resources Oza Oza <oza.oza@broadcom.com> - 2017-06-01 20:10 +0200
csiph-web