[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [Patch] linux: need to set psr.ac inpage_fault



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.