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-ia64-devel

[Xen-ia64-devel] [patch 0/8] Kexec: EFI Mapping: take II

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [patch 0/8] Kexec: EFI Mapping: take II
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 23 Oct 2007 16:43:24 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Delivery-date: Tue, 23 Oct 2007 00:49:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: quilt/0.46-1
Hi,

here is an update on the patch series to solve the EFI mapping for kexec.
I have tried to address all of the issies raised by Alex and Yamahata-san.
I have also broken the main RID patch up into several smaller patches
to make it easier to review.

For the sake of completeness, the description posted with
the original series is below.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

This series is my latest attempt to solve the EFI mapping problem for
Kexec. In short the problem is that the mapping can only be made once,
which presents a problem when kexecing (or kdumping) between Xen and Linux
which place the EFI at different virtual addresses.

Put simply this series resolves this problem by having Xen map EFI into the
same place as Linux. The problem and this solution are discussed in more
detail in the comment attached to the third patch in the series.

The first four patches in this series were previously posted along with the
rest of the kexec patches. Kexec has been merged, however these patches
were left out because of some concerns:

1. VMX domains should not be able to access the EFI memory directly

2. Domains should be able to use the virtual addresses that are
   now used for EFI, as these virtual addresses are in the space used
   by domains, not the space usually used by Xen.

To resolve this problem the fifth pach has been added to the series.  As
suggested by Yamahata-san, this patch uses a special RID for EFI memory
accesses, thus allowing the page handler to restrict access to Xen, which
should resolve both of the problems above. This is discussed in a little
more detail in the comment attacthed to the patch.


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