WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] PAE & hypercall interfaces

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] PAE & hypercall interfaces
From: Gerd Knorr <kraxel@xxxxxxxxxxx>
Date: Wed, 18 May 2005 21:23:53 +0200
Delivery-date: Wed, 18 May 2005 19:24:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
  Hi folks,

As mentioned already in the pae patch mail, the xen hypercall
interfaces needs some changes.  The affected calls (hope I
didn't miss one) are:

 * do_mmuext_op
 * do_update_va_mapping & friends

The problem is that in PAE mode the page table entries are
64bit-sized instead of 32bit, and the current hypercall
interfaces allow to pass 32bit values only.

Current state is that the PAE code simply passes the lower
32 bits only, which will work fine as long as nobody attempts
to address memory above 4GB.  That obviously isn't an option,
the whole point of the PAE attempts is to use the memory above
4GB ;)

The options we have are:

  (1) make page table entrys 64bit wide everythere.
  (2) make page table entrys 64bit wide in PAE mode only.
  (3) pass two values: 32bit page frame number & flags.
  (4) others?

I'd prefeare option (1), option (3) is reasonable as well I
think.  I don't think (2) is a good idea, that will cause some
very nasty problems in case we'll try to allow non-PAE guests in
PAE mode.

Comments?

  Gerd

-- 
-mm seems unusually stable at present.
        -- akpm about 2.6.12-rc3-mm3

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>