mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Pcie bus enumeration and 64bit issues
@ 2015-09-16 19:08 Ruudgoogle
  2015-09-16 19:41 ` Yinghai Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Ruudgoogle @ 2015-09-16 19:08 UTC (permalink / raw)
  To: linux-kernel

Hello all,

For a big system i use an external pcie enclosure. Unfortunately the bios  fails to properly initialise the system. As work around i plan to start the chassis after the linux kernel has booted. This leads to some other problems i would like to discuss here/get pointers to kernel code to read.

1) the chassis adds several pcie busses, i would like to reserve a range of busnumbers at the last pcie switch in the host. Something like that seems to be done for cardbus, but not for pcie switches in general. The reason is clear: allocating big chunks of busnumbers will exhaust that resource. Looking for advice!

2) For unclear reasons the linux kernel maps the 64bit bars below 4G and that range get exhausted, how can i check if a 64bit mmio pool is present/do i need to specify it manually or should the bios indicate a range? Looking for advice as well.

Ruud

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

* Re: Pcie bus enumeration and 64bit issues
  2015-09-16 19:08 Pcie bus enumeration and 64bit issues Ruudgoogle
@ 2015-09-16 19:41 ` Yinghai Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Yinghai Lu @ 2015-09-16 19:41 UTC (permalink / raw)
  To: Ruudgoogle; +Cc: Linux Kernel Mailing List

On Wed, Sep 16, 2015 at 12:08 PM, Ruudgoogle <netwerkforens@gmail.com> wrote:
>
> For a big system i use an external pcie enclosure. Unfortunately the bios  fails to properly initialise the system. As work around i plan to start the chassis after the linux kernel has booted. This leads to some other problems i would like to discuss here/get pointers to kernel code to read.
>
> 1) the chassis adds several pcie busses, i would like to reserve a range of busnumbers at the last pcie switch in the host. Something like that seems to be done for cardbus, but not for pcie switches in general. The reason is clear: allocating big chunks of busnumbers will exhaust that resource. Looking for advice!
>
> 2) For unclear reasons the linux kernel maps the 64bit bars below 4G and that range get exhausted, how can i check if a 64bit mmio pool is present/do i need to specify it manually or should the bios indicate a range? Looking for advice as well.
>

I have one patch set that would do pci busn allocation.

So please check

git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
for-pci-v4.3-rc1

and it also have latest resource allocation enhancement.

please post boot log with "debug ignore_loglevel" along with output from
lspci -vvv
lspci -tv

Thanks

Yinghai

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

end of thread, other threads:[~2015-09-16 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 19:08 Pcie bus enumeration and 64bit issues Ruudgoogle
2015-09-16 19:41 ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®