All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux and multy domain PCIe.
@ 2012-10-31 10:02 fpaolo63
  2012-10-31 12:23 ` Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: fpaolo63 @ 2012-10-31 10:02 UTC (permalink / raw)
  To: linux-pci

Hi guru,

I'm working on a multi socket intel xeon platform.

We have 2 sockets and each socket has a PCIe RootComplex, and we'd to 
implement hw with 2 separated PCIe tree.

Can Linux kernel handle the 2 RC assigning a PCIe domain each one?

Do we need special BIOS in order to configure correctly the 2 sockets, 
QDPI channel, MMIO and MMU?

Can some one point me to one example or documents?

thanks in advanced

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux and multy domain PCIe.
  2012-10-31 10:02 Linux and multy domain PCIe fpaolo63
@ 2012-10-31 12:23 ` Bjorn Helgaas
       [not found]   ` <CABZ6j6qH5q=txhAv4CntXpT3d4mzTapSdavz-8vsLw4Kism0QQ@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Bjorn Helgaas @ 2012-10-31 12:23 UTC (permalink / raw)
  To: fpaolo63; +Cc: linux-pci

On Wed, Oct 31, 2012 at 4:02 AM, fpaolo63 <fpaolo63@gmail.com> wrote:
> Hi guru,
>
> I'm working on a multi socket intel xeon platform.
>
> We have 2 sockets and each socket has a PCIe RootComplex, and we'd to
> implement hw with 2 separated PCIe tree.
>
> Can Linux kernel handle the 2 RC assigning a PCIe domain each one?
>
> Do we need special BIOS in order to configure correctly the 2 sockets, QDPI
> channel, MMIO and MMU?
>
> Can some one point me to one example or documents?

Yes, Linux supports multiple PCI domains (also known as PCI segment groups).

On x86, the BIOS should provide a ACPI PNP0A08/PNP0A03 device for each
root complex.  See drivers/acpi/pci_root.c for details.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Linux and multy domain PCIe.
       [not found]   ` <CABZ6j6qH5q=txhAv4CntXpT3d4mzTapSdavz-8vsLw4Kism0QQ@mail.gmail.com>
@ 2012-10-31 14:28     ` paolo faverio
  2012-10-31 15:33     ` Bjorn Helgaas
  1 sibling, 0 replies; 4+ messages in thread
From: paolo faverio @ 2012-10-31 14:28 UTC (permalink / raw)
  To: linux-pci

resend to list

---------- Forwarded message ----------
From: paolo faverio <fpaolo63@gmail.com>
Date: Wed, Oct 31, 2012 at 3:21 PM
Subject: Re: Linux and multy domain PCIe.
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org


Thanks Bjorn,
I'm going to dig on it.

one silly question
Enabling both the RC, do l have  255  pci bus ids for each PCI segment
group?

thanks
paolo


On Wed, Oct 31, 2012 at 1:23 PM, Bjorn Helgaas <bhelgaas@google.com> wrote:
>
> On Wed, Oct 31, 2012 at 4:02 AM, fpaolo63 <fpaolo63@gmail.com> wrote:
> > Hi guru,
> >
> > I'm working on a multi socket intel xeon platform.
> >
> > We have 2 sockets and each socket has a PCIe RootComplex, and we'd to
> > implement hw with 2 separated PCIe tree.
> >
> > Can Linux kernel handle the 2 RC assigning a PCIe domain each one?
> >
> > Do we need special BIOS in order to configure correctly the 2 sockets,
> > QDPI
> > channel, MMIO and MMU?
> >
> > Can some one point me to one example or documents?
>
> Yes, Linux supports multiple PCI domains (also known as PCI segment
> groups).
>
> On x86, the BIOS should provide a ACPI PNP0A08/PNP0A03 device for each
> root complex.  See drivers/acpi/pci_root.c for details.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linux and multy domain PCIe.
       [not found]   ` <CABZ6j6qH5q=txhAv4CntXpT3d4mzTapSdavz-8vsLw4Kism0QQ@mail.gmail.com>
  2012-10-31 14:28     ` Fwd: " paolo faverio
@ 2012-10-31 15:33     ` Bjorn Helgaas
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2012-10-31 15:33 UTC (permalink / raw)
  To: paolo faverio; +Cc: linux-pci

On Wed, Oct 31, 2012 at 8:21 AM, paolo faverio <fpaolo63@gmail.com> wrote:
> Thanks Bjorn,
> I'm going to dig on it.
>
> one silly question
> Enabling both the RC, do l have  255  pci bus ids for each PCI segment
> group?

Yes.  256, actually (0x00-0xff).

> On Wed, Oct 31, 2012 at 1:23 PM, Bjorn Helgaas <bhelgaas@google.com> wrote:
>>
>> On Wed, Oct 31, 2012 at 4:02 AM, fpaolo63 <fpaolo63@gmail.com> wrote:
>> > Hi guru,
>> >
>> > I'm working on a multi socket intel xeon platform.
>> >
>> > We have 2 sockets and each socket has a PCIe RootComplex, and we'd to
>> > implement hw with 2 separated PCIe tree.
>> >
>> > Can Linux kernel handle the 2 RC assigning a PCIe domain each one?
>> >
>> > Do we need special BIOS in order to configure correctly the 2 sockets,
>> > QDPI
>> > channel, MMIO and MMU?
>> >
>> > Can some one point me to one example or documents?
>>
>> Yes, Linux supports multiple PCI domains (also known as PCI segment
>> groups).
>>
>> On x86, the BIOS should provide a ACPI PNP0A08/PNP0A03 device for each
>> root complex.  See drivers/acpi/pci_root.c for details.
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-31 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 10:02 Linux and multy domain PCIe fpaolo63
2012-10-31 12:23 ` Bjorn Helgaas
     [not found]   ` <CABZ6j6qH5q=txhAv4CntXpT3d4mzTapSdavz-8vsLw4Kism0QQ@mail.gmail.com>
2012-10-31 14:28     ` Fwd: " paolo faverio
2012-10-31 15:33     ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.