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 2/12]MCA handler support for Xen/ia64 TAKE 2

To: SUZUKI Kazuhiro <kaz@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH 2/12]MCA handler support for Xen/ia64 TAKE 2
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Sun, 24 Sep 2006 19:22:25 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 24 Sep 2006 18:22:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060922.193230.56458231.kaz@xxxxxxxxxxxxxxxxxx>
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: OSLO R&D
References: <20060922.193058.68551752.kaz@xxxxxxxxxxxxxxxxxx> <20060922.193230.56458231.kaz@xxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-09-22 at 19:32 +0900, SUZUKI Kazuhiro wrote:
> [2/12]  Add percpu data physical addr mca_asm.S [mca-mca_asm.patch]
> 

> @@ -221,6 +275,17 @@ 4:
>       ;;
>       srlz.i
>       ;;
> +     // 5. VHPT
> +#if VHPT_ENABLED
> +     mov r24=VHPT_SIZE_LOG2<<2
> +     movl r22=VHPT_ADDR
> +     mov r21=IA64_TR_VHPT
> +     ;;
> +     ptr.d   r22,r24
> +     ;;
> +     srlz.d
> +     ;;
> +#endif

   Does this need to be inside a #ifdef XEN?  

> @@ -342,6 +422,26 @@ ia64_reload_tr:
>       ;;
>       srlz.d
>       ;;
> +     // 5. VHPT
> +#if VHPT_ENABLED
> +     mov r24=VHPT_SIZE_LOG2<<2
> +     movl r22=VHPT_ADDR
> +     mov r21=IA64_TR_VHPT
> +     movl r26=PAGE_KERNEL
> +     ;;
> +     GET_THIS_PADDR(r2, vhpt_paddr)
> +     ;; 
> +     ld8 r18=[r2]
> +     ;; 
> +     or r23=r18,r26                  // construct PA | page properties
> +     mov cr.itir=r24
> +     mov cr.ifa=r22
> +     ;;
> +     itr.d dtr[r21]=r23              // wire in new mapping...
> +     ;;
> +     srlz.d
> +     ;;
> +#endif

   Same question on this one.  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

<Prev in Thread] Current Thread [Next in Thread>