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] RE: VTI will crash with memory=3073M

On Wed, Sep 24, 2008 at 02:07:35PM +0900, Isaku Yamahata wrote:
[...]
> Hi.
> 
> I looked into the issue a bit.
> EFI_PEI_SERVICE funciton pointers are located on the stack for PEI.
> Its service should be available until DxeIpl done and it is surely
> used.
> However if the stack page happens to be reused during DxeIpl, the 
> function pointers are overwritten. Then guest panic occurs the next
> time the pei service is called via this function pointers which
> don't contain correct value.
> 
> Pei page allocate seems to depend on initial memory layout so that
> which cases fail/pass depends on the allocator.
> 
> Hmm, the right solution looks like that
> - prevent the stack page from being allocated until DxeIPL done.
> - (Optionally) free the page after DxeIpl done.
>   Probably at the beginning of Dxe.

Thank you for the analysis.  This makes sense.  I have to re-read the PI
spec but I think you can mark memory as reserved by PI.

Tristan.

> 
> thanks
> -- 
> yamahata

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