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

Re: [Xen-ia64-devel] [PATCH][GFW][RFC] fix EFI_SAL_SET_VECTORS

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH][GFW][RFC] fix EFI_SAL_SET_VECTORS
From: tgingold@xxxxxxx
Date: Tue, 13 May 2008 12:24:16 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 May 2008 03:27:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080513081113.GB12283%yamahata@xxxxxxxxxxxxx>
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: <20080513081113.GB12283%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.8
Quoting Isaku Yamahata <yamahata@xxxxxxxxxxxxx>:

>
> While booting recent Linux kernel under VTi domain with the latest
> open gfw, it panics as following.
> Linux kernel calls sal call of
> (EFI_SAL_SET_VECTORS, EFI_SAL_SET_INIT_VECTOR) and the gfw accesses
> the invalid address.

Right.

> The uncached physical addresses are hard coded, but they aren't
> relocated when switching to virtual address mode.

I am not sure ConvertPointer is able to deal with uncached addresses.  Anyway,
using normal addresses should be harmless.

> And calling xen sal hypercall looks copy and past typo.
>
> Note: I haven't tested this patch yet.
> efi-vfirmware.hg/edk2-sparse/EdkXenPkg/Dxe/XenSal/XenSal.msa
> seems to need modification too, but I don't know how to generate the file.
> Is there any documentation describing that?

Eh yes, in tiancore docs.  But you don't want to read them.
I will take care of this.

Tristan.

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