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] linux: need to set psr.ac inpage_fault

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [Patch] linux: need to set psr.ac inpage_fault
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Mon, 24 Mar 2008 18:49:58 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 24 Mar 2008 02:50:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1206044344.27908.131.camel@bling>
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: <44C889C7A28595takebe_akio@xxxxxxxxxxxxxx> <1206044344.27908.131.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Alex

>On Wed, 2008-03-19 at 22:46 +0900, Akio Takebe wrote:
>> Hi,
>> 
>> This patch fixes a different behavior from the original code.
>> We need to set psr.ac.
>
>> 
>> diff -r ba72914de93a arch/ia64/xen/xenivt.S
>> --- a/arch/ia64/xen/xenivt.S    Wed Mar 05 17:29:05 2008 +0000
>> +++ b/arch/ia64/xen/xenivt.S    Thu Mar 20 06:53:32 2008 +0900
>> @@ -696,16 +696,19 @@ ENTRY(page_fault)
>>         st4 [r3]=r14                            // vpsr.ic = 1
>>         adds r3=8,r2                            // set up second base
>> pointer
>>         ;;
>> +#ifdef PSR_DEFAULT_BITS
>> +       sum PSR_DEFAULT_BITS
>> +#endif
>
>   How would we ever get here w/o PSR_DEFAULT_BITS defined?  Thanks,
>
I have tested with/without the patch, nothing happened.
But I wanted to be the same as native linux.

Best Regards,

Akio Takebe


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