Bug 59191 - host bridge apertures not really enforced on PA-RISC ?
Summary: host bridge apertures not really enforced on PA-RISC ?
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL: http://www.spinics.net/lists/linux-pc...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-01 21:44 UTC by Helge Deller
Modified: 2013-06-01 22:21 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.10-rc3 (-rc4)
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg bootlog #0 - Seems OK (13.02 KB, text/plain)
2013-06-01 21:44 UTC, Helge Deller
Details
dmesg bootlog #1 (13.22 KB, text/plain)
2013-06-01 21:46 UTC, Helge Deller
Details
dmesg bootlog #2 (13.02 KB, text/plain)
2013-06-01 21:47 UTC, Helge Deller
Details
dmesg bootlog #3 (no compatible bridge window for [mem 0xfa000000-0xfbffffff]) (12.72 KB, text/plain)
2013-06-01 21:47 UTC, Helge Deller
Details
dmesg bootlog #4 (13.38 KB, text/plain)
2013-06-01 21:48 UTC, Helge Deller
Details

Description Helge Deller 2013-06-01 21:44:58 UTC
Created attachment 103171 [details]
dmesg bootlog #0 - Seems OK

I opened this ticket on request by Björn Helgaas because of a mail thread where I reported PCI bus assignment issues on PA-RISC. 

The mail thread was titled 
"[PATCH] parisc/PCI: lba: fix: convert to pci_create_root_bus() for correct root bus resources" in May 2013.
Read: http://www.spinics.net/lists/linux-pci/msg22680.html:

Björn:
> Good, glad that works.
> We *ought* to be able to do better, e.g., by just ignoring cards that we
> can't use.
>
> If you have a chance, you might collect the complete dmesg log from
> both the working configuration and the broken one, and attach them to
> a new kernel.org PCI bugzilla.  Maybe we can ponder them and figure
> something out.
> 
> I suspect the problem is related to the fact that we don't really
> enforce the host bridge apertures reported by the platform.  But we
> might be able to tighten that up, or do something specific to parisc
> that would help this situation.

Short summary for the attached dmeg logs:
- This is a parisc machine (C3000)
- In the PCI slots there are one "HP Visualize EG PCI card" and a "Vodoo gfx".
- In the logs, "stifb" is the driver for the Visualize card.
- In the logs, "sstfb" is the driver for the Vodoo card.
- It would be nice if both cards gets activated (fb0 and fb1)
- I kept the stifb in SLOT4, while plugging the Vodoo in PCI1 or PCI5 slots.

- dmesg.0: seems OK. 
- dmesg.3 has an "no compatible bridge window for [mem 0xfa000000-0xfbffffff]" which leads to "sti 0000:01:04.0: device not available (can't reserve [mem 0xfa000000-0xfbffffff])"

- I think dmesg.1,2 and .4 are not important, but maybe you see something?

I'm willing to do some more testing if required.
Comment 1 Helge Deller 2013-06-01 21:46:29 UTC
Created attachment 103181 [details]
dmesg bootlog #1
Comment 2 Helge Deller 2013-06-01 21:47:06 UTC
Created attachment 103191 [details]
dmesg bootlog #2
Comment 3 Helge Deller 2013-06-01 21:47:45 UTC
Created attachment 103201 [details]
dmesg bootlog #3 (no compatible bridge window for [mem 0xfa000000-0xfbffffff])
Comment 4 Helge Deller 2013-06-01 21:48:17 UTC
Created attachment 103211 [details]
dmesg bootlog #4
Comment 5 Helge Deller 2013-06-01 22:01:27 UTC
Can someone please reassign this bug to:
Product: Drivers
Component: PCI
Assigned to: drivers_pci@kernel-bugs.osdl.org 
(It seems I don't have enough permissions to do that).

Note You need to log in before you can comment on or make changes to this bug.