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] Re: [patch 2/8] Kexec: Allow page fault handler to hand

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Re: [patch 2/8] Kexec: Allow page fault handler to handle EFI regions
From: tgingold@xxxxxxx
Date: Tue, 23 Oct 2007 14:13:18 +0200
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Alex Williamson <alex.williamson@xxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Oct 2007 04:14:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071023074749.827709882@xxxxxxxxxxxx>
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>
References: <20071023074324.298028864@xxxxxxxxxxxx> <20071023074749.827709882@xxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Simon Horman <horms@xxxxxxxxxxxx>:

> If the EFI region is mapped into a region within the address space usually
> used by guests, then the page_fault handler needs to know about it. A
> description of why this mapping is made is included in the patch that makes
> the mapping.
>
> The patch to actually make use of this code is separate.
>
> This does not take into account other ways that relevant functions are
> called.
>
> In particular:
> - vcpu_itc_d() and vcpu_itc_i() call translate_domain_pte()
> - ia64_shadow_fault() and vcpu_tpa() call vcpu_translate()
>
> This patch needs work, and I am positing it for discussion.

Honestly I don't really like this part of the patch: it adds complexity to an
already complex area.

EFI_[UN]CACHED_OFFSET areas are id-mapped.  So why can't the tlb miss be
handled directly in the ivt (like we do for id-mapped Xen area) ?

Maybe I don't really understand the issues so do not hesitate to explain!

Tristan.

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