Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Bjorn Helgaas
On Tue, Feb 11, 2020 at 10:02:13PM +0530, Muni Sekhar wrote:
> On Tue, Feb 11, 2020 at 8:10 PM Bjorn Helgaas  wrote:
> > On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote:
> > > On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas  wrote:
> > > > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> > > > > Hi all,
> > > > >
> > > > > After rebooting the system following messages are seen in dmesg.
> > > > > Not sure if these indicate a problem. Can some one look at these and
> > > > > confirm if this is problem or can be ignored ?
> > > > >
> > > > > Also any suggestions as to what would cause this?
> > > > >
> > > > > [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > > 0x0020]
> > > > > [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > > 0x0020]
> > > > > [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085343] pci :00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
> > > > > [1.085403] pci :00:1c.2: BAR 13: assigned [io  0x2000-0x2fff]
> > > > > [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > > 0x0020]
> > > > > [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > > 0x0020]
> > > > > [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > > 0x0020 64bit pref]
> > > > > [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> > > > > [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> > > > > [1.086144] pci :00:1c.0:   bridge window [mem 
> > > > > 0xd040-0xd07f]
> > > >
> > > > The "no space" and "failed to assign" messages are all for bridge
> > > > windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
> > > > pref window).  I can't tell if you have any devices below these
> > > > bridges (lspci would show them).  If you don't have any devices below
> > > > these bridges, you can ignore the messages.
> > >
> > > I have the devices below these bridges. FPGA endpoint is connected to
> > > '00:1c.0 PCI bridge' and Ethernet controller is connected to '00:1c.3
> > > PCI bridge'.
> > > Does these messages impact the functionality of the connected devices?
> >
> > Yes.  We tried to allocate 0x0020 of prefetchable MMIO to 00:1c.0
> > for use by the FPGA endpoint.  But this failed, so there is no
> > prefetchable MMIO available for the FPGA.  The 0xd040-0xd07f
> > non-prefetachable MMIO space *is* available for it.
> >
> > Similarly, we were unable to allocate 0x0020 of prefetchable MMIO
> > for the 00:1c.3 bridge for use by the ethernet controller.  I don't
> > know what non-prefetchable MMIO space was allocated or what the NIC
> > needs.
> >
> > "lspci -v" will show you what the FPGA and the NIC need.
> >
> > > If so what kind of impact and is there any solution for this?
> >
> > > Also, I'd like to know why "no space" and "failed to assign"
> > > messages displayed?
> >
> > These messages mean we tried to allocate space for the bridges but we
> > unable to do so.  This is because either the host bridge didn't have
> > big enough apertures (on x86, these usually come from ACPI _CRS
> > methods), or there's a bug in the Linux allocation algorithms.
> >
> > I can't tell anything more without seeing the complete dmesg log,
> > which contains the host bridge aperture information and the BAR sizes
> > of the FPGA and NIC.
> Thank you for the clarification. dmesg log is attached.
> If PCI bridge aperture is small, What is the most sensible way to proceed?

Here's the relevant info from your dmesg log:

  PCI host bridge to bus :00
  pci_bus :00: root bus resource [io  0x0d00-0x window]
  pci_bus :00: root bus resource [mem 0xc000-0xd0c18ffe window]
  pci_bus :00: root bus resource [bus 00-ff]
  pci :00:1c.0: PCI bridge to [bus 01]
  p

Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Bjorn Helgaas
On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote:
> On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas  wrote:
> > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> > > Hi all,
> > >
> > > After rebooting the system following messages are seen in dmesg.
> > > Not sure if these indicate a problem. Can some one look at these and
> > > confirm if this is problem or can be ignored ?
> > >
> > > Also any suggestions as to what would cause this?
> > >
> > > [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 
> > > 0x0020]
> > > [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > 0x0020]
> > > [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.085343] pci :00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
> > > [1.085403] pci :00:1c.2: BAR 13: assigned [io  0x2000-0x2fff]
> > > [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 
> > > 0x0020]
> > > [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > 0x0020]
> > > [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> > > 0x0020 64bit pref]
> > > [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > 0x0020 64bit pref]
> > > [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> > > [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> > > [1.086144] pci :00:1c.0:   bridge window [mem 
> > > 0xd040-0xd07f]
> >
> > The "no space" and "failed to assign" messages are all for bridge
> > windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
> > pref window).  I can't tell if you have any devices below these
> > bridges (lspci would show them).  If you don't have any devices below
> > these bridges, you can ignore the messages.
>
> I have the devices below these bridges. FPGA endpoint is connected to
> '00:1c.0 PCI bridge' and Ethernet controller is connected to '00:1c.3
> PCI bridge'.
> Does these messages impact the functionality of the connected devices?

Yes.  We tried to allocate 0x0020 of prefetchable MMIO to 00:1c.0
for use by the FPGA endpoint.  But this failed, so there is no
prefetchable MMIO available for the FPGA.  The 0xd040-0xd07f
non-prefetachable MMIO space *is* available for it.

Similarly, we were unable to allocate 0x0020 of prefetchable MMIO
for the 00:1c.3 bridge for use by the ethernet controller.  I don't
know what non-prefetchable MMIO space was allocated or what the NIC
needs.

"lspci -v" will show you what the FPGA and the NIC need.

> If so what kind of impact and is there any solution for this?

> Also, I'd like to know why "no space" and "failed to assign"
> messages displayed?

These messages mean we tried to allocate space for the bridges but we
unable to do so.  This is because either the host bridge didn't have
big enough apertures (on x86, these usually come from ACPI _CRS
methods), or there's a bug in the Linux allocation algorithms.

I can't tell anything more without seeing the complete dmesg log,
which contains the host bridge aperture information and the BAR sizes
of the FPGA and NIC.

Bjorn

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Muni Sekhar
On Tue, Feb 11, 2020 at 8:10 PM Bjorn Helgaas  wrote:
>
> On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote:
> > On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas  wrote:
> > > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> > > > Hi all,
> > > >
> > > > After rebooting the system following messages are seen in dmesg.
> > > > Not sure if these indicate a problem. Can some one look at these and
> > > > confirm if this is problem or can be ignored ?
> > > >
> > > > Also any suggestions as to what would cause this?
> > > >
> > > > [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > 0x0020]
> > > > [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > 0x0020]
> > > > [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085343] pci :00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
> > > > [1.085403] pci :00:1c.2: BAR 13: assigned [io  0x2000-0x2fff]
> > > > [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > 0x0020]
> > > > [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > 0x0020]
> > > > [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> > > > 0x0020 64bit pref]
> > > > [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > 0x0020 64bit pref]
> > > > [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> > > > [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> > > > [1.086144] pci :00:1c.0:   bridge window [mem 
> > > > 0xd040-0xd07f]
> > >
> > > The "no space" and "failed to assign" messages are all for bridge
> > > windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
> > > pref window).  I can't tell if you have any devices below these
> > > bridges (lspci would show them).  If you don't have any devices below
> > > these bridges, you can ignore the messages.
> >
> > I have the devices below these bridges. FPGA endpoint is connected to
> > '00:1c.0 PCI bridge' and Ethernet controller is connected to '00:1c.3
> > PCI bridge'.
> > Does these messages impact the functionality of the connected devices?
>
> Yes.  We tried to allocate 0x0020 of prefetchable MMIO to 00:1c.0
> for use by the FPGA endpoint.  But this failed, so there is no
> prefetchable MMIO available for the FPGA.  The 0xd040-0xd07f
> non-prefetachable MMIO space *is* available for it.
>
> Similarly, we were unable to allocate 0x0020 of prefetchable MMIO
> for the 00:1c.3 bridge for use by the ethernet controller.  I don't
> know what non-prefetchable MMIO space was allocated or what the NIC
> needs.
>
> "lspci -v" will show you what the FPGA and the NIC need.
>
> > If so what kind of impact and is there any solution for this?
>
> > Also, I'd like to know why "no space" and "failed to assign"
> > messages displayed?
>
> These messages mean we tried to allocate space for the bridges but we
> unable to do so.  This is because either the host bridge didn't have
> big enough apertures (on x86, these usually come from ACPI _CRS
> methods), or there's a bug in the Linux allocation algorithms.
>
> I can't tell anything more without seeing the complete dmesg log,
> which contains the host bridge aperture information and the BAR sizes
> of the FPGA and NIC.
Thank you for the clarification. dmesg log is attached.
If PCI bridge aperture is small, What is the most sensible way to proceed?

>
> Bjorn



-- 
Thanks,
Sekhar


dmesg_log
Description: Binary data
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Bjorn Helgaas
On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> Hi all,
> 
> After rebooting the system following messages are seen in dmesg.
> Not sure if these indicate a problem. Can some one look at these and
> confirm if this is problem or can be ignored ?
> 
> Also any suggestions as to what would cause this?
> 
> [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 0x0020]
> [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> 0x0020]
> [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.085343] pci :00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
> [1.085403] pci :00:1c.2: BAR 13: assigned [io  0x2000-0x2fff]
> [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 0x0020]
> [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> 0x0020]
> [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> 0x0020 64bit pref]
> [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> 0x0020 64bit pref]
> [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> [1.086144] pci :00:1c.0:   bridge window [mem 0xd040-0xd07f]

The "no space" and "failed to assign" messages are all for bridge
windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
pref window).  I can't tell if you have any devices below these
bridges (lspci would show them).  If you don't have any devices below
these bridges, you can ignore the messages.

Bjorn

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Muni Sekhar
On Wed, Feb 12, 2020 at 1:46 AM Bjorn Helgaas  wrote:
>
> On Tue, Feb 11, 2020 at 10:02:13PM +0530, Muni Sekhar wrote:
> > On Tue, Feb 11, 2020 at 8:10 PM Bjorn Helgaas  wrote:
> > > On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote:
> > > > On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas  
> > > > wrote:
> > > > > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > After rebooting the system following messages are seen in dmesg.
> > > > > > Not sure if these indicate a problem. Can some one look at these and
> > > > > > confirm if this is problem or can be ignored ?
> > > > > >
> > > > > > Also any suggestions as to what would cause this?
> > > > > >
> > > > > > [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > > > 0x0020]
> > > > > > [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > > > 0x0020]
> > > > > > [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085343] pci :00:1c.0: BAR 13: assigned [io  
> > > > > > 0x1000-0x1fff]
> > > > > > [1.085403] pci :00:1c.2: BAR 13: assigned [io  
> > > > > > 0x2000-0x2fff]
> > > > > > [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 
> > > > > > 0x0020]
> > > > > > [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > > > > > 0x0020]
> > > > > > [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> > > > > > 0x0020 64bit pref]
> > > > > > [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> > > > > > [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> > > > > > [1.086144] pci :00:1c.0:   bridge window [mem 
> > > > > > 0xd040-0xd07f]
> > > > >
> > > > > The "no space" and "failed to assign" messages are all for bridge
> > > > > windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
> > > > > pref window).  I can't tell if you have any devices below these
> > > > > bridges (lspci would show them).  If you don't have any devices below
> > > > > these bridges, you can ignore the messages.
> > > >
> > > > I have the devices below these bridges. FPGA endpoint is connected to
> > > > '00:1c.0 PCI bridge' and Ethernet controller is connected to '00:1c.3
> > > > PCI bridge'.
> > > > Does these messages impact the functionality of the connected devices?
> > >
> > > Yes.  We tried to allocate 0x0020 of prefetchable MMIO to 00:1c.0
> > > for use by the FPGA endpoint.  But this failed, so there is no
> > > prefetchable MMIO available for the FPGA.  The 0xd040-0xd07f
> > > non-prefetachable MMIO space *is* available for it.
> > >
> > > Similarly, we were unable to allocate 0x0020 of prefetchable MMIO
> > > for the 00:1c.3 bridge for use by the ethernet controller.  I don't
> > > know what non-prefetchable MMIO space was allocated or what the NIC
> > > needs.
> > >
> > > "lspci -v" will show you what the FPGA and the NIC need.
> > >
> > > > If so what kind of impact and is there any solution for this?
> > >
> > > > Also, I'd like to know why "no space" and "failed to assign"
> > > > messages displayed?
> > >
> > > These messages mean we tried to allocate space for the bridges but we
> > > unable to do so.  This is because either the host bridge didn't have
> > > big enough apertures (on x86, these usually come from ACPI _CRS
> > > methods), or there's a bug in the Linux allocation algorithms.
> > >
> > > I can't tell anything more without seeing the complete dmesg log,
> > > which contains the host bridge aperture information and the BAR sizes
> > > of the FPGA and NIC.
> > Thank you for the clarification. dmesg log is attached.
> > If PCI bridge aperture is small, What is the most sensible way to proceed?
>
> Here's the relevant info from your dm

Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-11 Thread Muni Sekhar
On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas  wrote:
>
> On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote:
> > Hi all,
> >
> > After rebooting the system following messages are seen in dmesg.
> > Not sure if these indicate a problem. Can some one look at these and
> > confirm if this is problem or can be ignored ?
> >
> > Also any suggestions as to what would cause this?
> >
> > [1.084728] pci :00:1c.0: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.084813] pci :00:1c.0: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.084890] pci :00:1c.2: BAR 14: no space for [mem size 0x0020]
> > [1.084949] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > 0x0020]
> > [1.085037] pci :00:1c.2: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.085108] pci :00:1c.2: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.085199] pci :00:1c.3: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.085270] pci :00:1c.3: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.085343] pci :00:1c.0: BAR 13: assigned [io  0x1000-0x1fff]
> > [1.085403] pci :00:1c.2: BAR 13: assigned [io  0x2000-0x2fff]
> > [1.085470] pci :00:1c.3: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.085540] pci :00:1c.3: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.085613] pci :00:1c.2: BAR 14: no space for [mem size 0x0020]
> > [1.085672] pci :00:1c.2: BAR 14: failed to assign [mem size 
> > 0x0020]
> > [1.085738] pci :00:1c.2: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.085808] pci :00:1c.2: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.085884] pci :00:1c.0: BAR 15: no space for [mem size
> > 0x0020 64bit pref]
> > [1.085954] pci :00:1c.0: BAR 15: failed to assign [mem size
> > 0x0020 64bit pref]
> > [1.086026] pci :00:1c.0: PCI bridge to [bus 01]
> > [1.086083] pci :00:1c.0:   bridge window [io  0x1000-0x1fff]
> > [1.086144] pci :00:1c.0:   bridge window [mem 0xd040-0xd07f]
>
> The "no space" and "failed to assign" messages are all for bridge
> windows (13 is the I/O window, 14 is the MMIO window, 15 is the MMIO
> pref window).  I can't tell if you have any devices below these
> bridges (lspci would show them).  If you don't have any devices below
> these bridges, you can ignore the messages.
I have the devices below these bridges. FPGA endpoint is connected to
'00:1c.0 PCI bridge' and Ethernet controller is connected to '00:1c.3
PCI bridge'.
Does these messages impact the functionality of the connected devices?
If so what kind of impact and is there any solution for this?
Also, I'd like to know why "no space" and "failed to assign" messages displayed?


>
> Bjorn



-- 
Thanks,
Sekhar

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies