linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BAR 7 io space assignment errors
@ 2015-05-15 17:28 Guenter Roeck
  2015-05-15 19:25 ` Bjorn Helgaas
  0 siblings, 1 reply; 9+ messages in thread
From: Guenter Roeck @ 2015-05-15 17:28 UTC (permalink / raw)
  To: linux-pci

Hi all,

ever since 3.18(ish), we see lots of pcie io range allocation error messages
when booting our systems.

pcieport 0000:02:00.0: res[7]=[io  0x1000-0x0fff] get_res_add_size add_size 1000
pcieport 0000:02:00.0: BAR 7: no space for [io  size 0x1000]
pcieport 0000:02:00.0: BAR 7: failed to assign [io  size 0x1000]

This is repeated for each port.

What we atually _want_ is no IO address range, but so far I have not been able to
tell this to the code (or to the bridge).

The IO space "0x1000-0xfff" gives an indication of what is going on, at least
to some degree. The io range is calculated in pbus_size_io() as
	b_res->start = min_align;
	b_res->end = b_res->start + size0 - 1;
with size0 == 0, so end < start.

Searching for the get_res_add_size and the BAR7 message suggests that many
others see the problem as well, so it appears that we are not alone.
I have not been able to find a solution, though.

Any idea what we may have to do to fix the problem, or in other words
what may be wrong ?

Thanks,
Guenter

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

end of thread, other threads:[~2015-05-19  0:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 17:28 BAR 7 io space assignment errors Guenter Roeck
2015-05-15 19:25 ` Bjorn Helgaas
2015-05-15 20:04   ` Guenter Roeck
2015-05-15 22:11     ` Bjorn Helgaas
2015-05-16  2:27       ` Guenter Roeck
2015-05-16 13:12         ` Bjorn Helgaas
2015-05-16 16:41           ` Guenter Roeck
2015-05-18 15:55             ` Bjorn Helgaas
2015-05-19  0:18               ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).