cardbus memory allocation problem
John Baldwin
jhb at freebsd.org
Wed May 4 15:06:45 UTC 2011
On Tuesday, May 03, 2011 7:49:29 pm Michael Butler wrote:
> > I have WIP patches to fix this but they aren't ready yet.
> >
> >> pcib4: I/O decode 0x4000-0x4fff
> >> pcib4: memory decode 0xf0900000-0xf09fffff
> >> *** this memory widow is what I expected all children to allocate from
> >>
> >> pcib4: no prefetched decode
> >> pcib4: Subtractively decoded bridge.
> >
> > It's a subtractive bridge, so the resources do not have to be allocated from
> > the window. That said, I'm committing the last of my patches to HEAD today to
> > rework how PCI-PCI bridges handle I/O windows to support growing windows, etc.
> > and the new PCI-PCI bridge driver will attempt to grow the memory window to
> > allocate a new range before falling back to depending on the subtractive
> > decode.
>
> You might be pleased to hear that, without any "special arrangements" in
> loader.conf, the new PCI-PCI code does The Right Thing with memory
> allocation :-)
>
> Parent bridge:
>
> I "fixed" the subordinate bus using "setpci -s 07:06.2 4c.b=02"
I believe it should work even if you don't disable subtractive decoding.
--
John Baldwin
More information about the freebsd-current
mailing list