Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 13:19:14 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        David Shane Holden <dpejesh@yahoo.com>
Subject:   Re: Atom Board ACPI API MOPNV10J failing since 9.1
Message-ID:  <201402111319.14546.jhb@freebsd.org>
In-Reply-To: <52DED060.4070800@yahoo.com>
References:  <52CF850A.9060906@erdgeist.org> <201401211215.22021.jhb@freebsd.org> <52DED060.4070800@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, January 21, 2014 2:54:08 pm David Shane Holden wrote:
> On 01/21/14 12:15, John Baldwin wrote:
> >
> > Hmm, I think I see the issue, and I might have a fix for it in the
> > works already.  The problem is that we haven't reserved pcib1's
> > windows when agp probes, so agp0 steals a resource that is already
> > in use.  The change I have that might fix this isn't trivial though,
> > so I don't have a patch I can just give you to test right now. :(
> > Also, this isn't a BIOS issue per se.
> >
> 
> I came to the same conclusion a few days ago when I started digging into
> it more.  The agp driver requests some memory and the resource manager
> gives it a chunk which should be reserved for the bridge.  I couldn't
> find an elegant solution; the best I could come up with was to add the
> bridge devices first in pci_add_children() to ensure they got attached
> before anything else.  Which worked, but seems like a hack.  Feel free
> to ping me if you have something that needs testing.

The patch I have in mind is a more general version of this that would
have the same effect.

I haven't tested it in quite a while, but if you are brave you can test it.

http://people.freebsd.org/~jhb/patches/multipass.patch

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402111319.14546.jhb>