From: bryantclc Subject: How to ioremap a range of reserved memory uncache, and can be accessed both in xen and domain 0 kernel space Date: Sat, 3 Mar 2012 04:41:23 -0800 (PST) Message-ID: <1330778483043-5533586.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.