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 in page_fault

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [Patch] linux: need to set psr.ac in page_fault
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 20 Mar 2008 14:19:04 -0600
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 Mar 2008 13:19:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44C889C7A28595takebe_akio@xxxxxxxxxxxxxx>
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>
Organization: HP OSLO R&D
References: <44C889C7A28595takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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