From: Gerald Britton <gbritton@doomcom.org>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: xen and agpgart
Date: Fri, 3 Sep 2004 21:19:22 -0400 [thread overview]
Message-ID: <20040904011922.GA6505@fog.sekrit.org> (raw)
In-Reply-To: <E1C3P5N-0002jN-00@mta1.cl.cam.ac.uk>
That was actually my initial attempt. The first problem I ran into was it
attempting to do a cache flush:
#define flush_agp_cache() asm volatile("wbinvd":::"memory")
Which causes a general protection fault. Ignoring that for the moment and
then working forward, it allocates a page of memory with __get_free_page()
and attempts to ioremap_nocache() it to presumably generate a completely
uncached page in memory. This results in a strange oops attempting to
fiddle with the page tables changing the page attributes on that piece
of memory.
My goal at the moment is to have the machine's head running in dom0 (and
on the i830-ish machine I have as a target, this is going to require the
agpgart working to have any reasonable X on it).
-- Gerald
On Sat, Sep 04, 2004 at 02:11:20AM +0100, Keir Fraser wrote:
> The answer may well be "nothing" if you just want GART/DRI in
> DOM0. Probably those source driectories haven't been enabled in the
> Xen arachitecture for 2.6 - if you can do that then try compiling teh
> drivers and see what happens!
>
> -- Keir
>
> > I've just started toying with xen and noticed the lack of support for
> > agpgart. It looks like the reasons for this lack have changed between 1.2
> > and 2.0 and It looks like it's a lot closer to working now. I unfortunately
> > do not have much experience doing VM programming, so my understanding of
> > what's needed may be a little lacking. I was wondering if someone with a
> > little more knowledge of VM's and Xen than I could comment before I start
> > digging further into it on what work needs to be done in Xen to make
> > agpgart/drm/etc. work in Xen. Thanks in advance.
> >
> > -- Gerald
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
next prev parent reply other threads:[~2004-09-04 1:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-04 0:37 xen and agpgart Gerald Britton
2004-09-04 1:11 ` Keir Fraser
2004-09-04 1:19 ` Gerald Britton [this message]
2004-09-04 1:50 ` Keir Fraser
2004-09-04 3:11 ` Gerald Britton
2004-09-04 3:26 ` Keir Fraser
2004-09-04 4:25 ` Gerald Britton
2004-09-04 4:47 ` Keir Fraser
2004-09-04 5:32 ` Gerald Britton
2004-09-04 8:31 ` Christian Limpach
2004-09-04 18:25 ` Gerald Britton
2004-09-04 20:08 ` Keir Fraser
2004-09-04 20:36 ` Gerald Britton
2004-09-05 5:26 ` Keir Fraser
2004-09-05 18:01 ` Gerald Britton
2004-09-05 19:08 ` [Filtered!] " Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040904011922.GA6505@fog.sekrit.org \
--to=gbritton@doomcom.org \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.