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

[Xen-ia64-devel] [PATCH] Add support to physdev_ops


  • To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Thu, 20 Apr 2006 17:01:31 +0800
  • Delivery-date: Thu, 20 Apr 2006 02:01:52 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZkWQQ9XPhkc0qSQ/a5UWbsEK/nxw==
  • Thread-topic: [PATCH] Add support to physdev_ops

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

Attachment: physdev_op_support.patch
Description: physdev_op_support.patch

_______________________________________________
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®.