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] Add support to physdev_ops

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] Add support to physdev_ops
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 21 Apr 2006 10:30:17 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Apr 2006 18:30:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7B4B@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD8094E7B4B@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i

diff -r 7ed4420aac6b -r e6bffdbbd0e2 xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Thu Apr 20 02:05:24 2006
+++ b/xen/arch/ia64/xen/hypercall.c     Thu Apr 20 03:08:42 2006

-       (hypercall_t)do_ni_hypercall,           /* do_physdev_op */
+       (hypercall_t)do_ni_hypercall,           /* do_physdev_op */
                     ^^^^^^^^^^^^^^^
                     do_physdev_op?


On Thu, Apr 20, 2006 at 05:01:31PM +0800, Tian, Kevin wrote:
> Add support to physdev ops, and thus give IOSAPIC RTEs
> managed by Xen now. Dom0 now issues hypercall to r/w
> RTE entry. Another change is the irq vector allocation
> which is also owned by xen now.
> 
> After this change, the IOSAPIC is almost owned by xen
> with only exception as IOSAPIC EOI which is still issued
> by dom0 directly. But that's OK since currently dom0 
> owns all external physical devices. Later full event
> channel mechanism will provide necessary support for
> driver domain, and at that time, dom0 instead issues
> physdev_op (PHYSDEVOP_IRQ_UNMASK_NOTIFY) naturally
> as replace of IOSAPIC EOI.
> 
> Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
> 
> N.B.
> 1. This patch needs to be applied after pulling necessary
> files as requested in another thread.
> 
> 2. This patch has no obvious performance influence (Why 
> I say 'obvious' is because latest p2m tree seems not very 
> stable even without this patch. The output drifts with -10-+10% 
> range... It's also possible due to my test environment. )
> 
> Thanks,
> Kevin


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

-- 
yamahata

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