[PATCH v10 06/10] PCI: Introduce generic domain handling for PCI busses.
Liviu Dudau
Liviu.Dudau at arm.com
Mon Sep 8 07:05:34 PDT 2014
On Mon, Sep 08, 2014 at 03:03:21PM +0100, Catalin Marinas wrote:
> On Mon, Sep 08, 2014 at 02:54:28PM +0100, Liviu Dudau wrote:
> > The handling of PCI domains (or PCI segments in ACPI speak) is
> > usually a straightforward affair but its implementation is
> > currently left to the architectural code, with pci_domain_nr(b)
> > querying the value of the domain associated with bus b.
> >
> > This patch introduces CONFIG_PCI_DOMAINS_GENERIC as an
> > option that can be selected if an architecture want a
> > simple implementation where the value of the domain
> > associated with a bus is stored in struct pci_bus.
> >
> > The architectures that select CONFIG_PCI_DOMAINS_GENERIC will
> > then have to implement pci_bus_assign_domain_nr() as a way
> > of setting the domain number associated with a root bus.
> > All child busses except the root bus will inherit the domain_nr
> > value from their parent.
> >
> > Cc: Bjorn Helgaas <bhelgaas at google.com>
> > Cc: Arnd Bergmann <arnd at arndb.de>
> > Signed-off-by: Catalin Marinas <Catalin.Marinas at arm.com>
> > [Renamed pci_set_domain_nr() to pci_bus_assign_domain_nr()]
> > Signed-off-by: Liviu Dudau <Liviu.Dudau at arm.com>
>
> I'm probably the author here, but the patch log doesn't say so (I don't
> mind, just a remark).
I've took you patch initially from an email fragment, sorry, should've
altered the commiter accordingly.
Best regards,
Liviu
>
> --
> Catalin
--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
More information about the linux-arm-kernel
mailing list