xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to ioremap a range of reserved memory uncache, and can be accessed both in xen and domain 0 kernel space
@ 2012-03-03 12:41 bryantclc
  0 siblings, 0 replies; only message in thread
From: bryantclc @ 2012-03-03 12:41 UTC (permalink / raw)
  To: xen-devel

Hi,
    I want implement a driver in domain 0, it needs to ioremap a range of
reserved memory, and set it uncachable. Further more, the remaped memory
needs to be accessed by xen, since I want xen to put some data in it, then
the driver in domain 0 could get these data. I want to set it uncachable,
make it not pollute the cache.
    Our system is x86_64 platform, xen-3.4.3, and the domain 0 kernel is
linux-2.6.18.8. I have tried to use ioremap the reserved machine memory into
domain 0 directly, and it seems to ok, but how could I make it accessable by
xen?
    Then I try to call ioremap in xen, the xen would crash and reboot.
    Could someone give some suggestions to solve this problem? 


--
View this message in context: http://xen.1045712.n5.nabble.com/How-to-ioremap-a-range-of-reserved-memory-uncache-and-can-be-accessed-both-in-xen-and-domain-0-kernee-tp5533586p5533586.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-03 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 12:41 How to ioremap a range of reserved memory uncache, and can be accessed both in xen and domain 0 kernel space bryantclc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).