All of lore.kernel.org
 help / color / mirror / Atom feed
* making changes to agp code?
@ 2007-03-26 20:03 Langsdorf, Mark
  2007-03-27  6:41 ` Jan Beulich
  2007-03-28 14:05 ` Jan Beulich
  0 siblings, 2 replies; 9+ messages in thread
From: Langsdorf, Mark @ 2007-03-26 20:03 UTC (permalink / raw)
  To: xen-devel

As part of my endless quest to enable GART/IOMMU, I
realized I need to make a slight change to a static
function inside of agp-amd64.c.  Currently Xen doesn't
have -xen variants of the AGP code.  Is there a 
better way to handle this than sucking in the entire
AGP tree into xen-sparse?

As far what I need to change:
   pci-gart calls agp_amd64_init() to determine if
the aperture is provided by the BIOS, or if one 
needs to be allocated.  agp_amd64_init() calls
agp_amd64_probe() which calls another function
and so forth, and eventually aperture_valid()
calls 
PageReserved(pfn_to_page(aperture >> PAGE_SHIFT)).
The page isn't actually reserved, but dom0 thinks
it is, and the operation fails.  I would like to
do something more intelligent.

-Mark Langsdorf
Operating Systems Research Center
AMD, Inc.

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

end of thread, other threads:[~2007-03-29  7:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 20:03 making changes to agp code? Langsdorf, Mark
2007-03-27  6:41 ` Jan Beulich
2007-03-28 14:05 ` Jan Beulich
2007-03-28 15:21   ` Langsdorf, Mark
2007-03-28 15:43     ` Keir Fraser
2007-03-28 15:53       ` Jan Beulich
2007-03-28 15:55     ` Jan Beulich
2007-03-28 22:37       ` Langsdorf, Mark
2007-03-29  7:23         ` Jan Beulich

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.