bryantclc
2012-Mar-03 12:41 UTC
How to ioremap a range of reserved memory uncache, and can be accessed both in xen and domain 0 kernel space
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.