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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] FC-HBA assigned to guest domain does not work.

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] FC-HBA assigned to guest domain does not work.
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: 2008年9月02日 14:32:32 +0900
Cc:
Delivery-date: 2008年9月01日 22:32:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FE7BBCFBB500984A9A7922EBC95F516E019EF63C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080829165724.E83F.SHIMADA-YXB@xxxxxxxxxxxxxxx> <FE7BBCFBB500984A9A7922EBC95F516E019EF63C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
FC-HBA's MMIO resource are mapped to guest physical address and
machine address. I found both addresses need to be the same.
I created the series of patches which map MMIO resource to the same
address in guest physical address space and in machine address space.
After applying this patch, my FC-HBA worked and IOMMU page fault did
not occur.
The patches are for only discussion.
I'd like comments of developers.
> I think that MMIO resource mapped via p2m table should be mapped via
> IOMMU's page table too. In other word, XEN_DOMCTL_memory_mapping
> hypercall should update not only p2m table, but also IOMMU's page table.
Currently I don't think this is required.
Thanks,
Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
--
Yuji Shimada

Attachment: use_real_bar_value_for_initial_value.patch
Description: Text Data

Attachment: use_original_BAR_value.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] feature proposed for xen 3.4 , zen
Next by Date: RE: [Xen-devel] FC-HBA assigned to guest domain does not work. , Cui, Dexuan
Previous by Thread: [Xen-devel] feature proposed for xen 3.4 , zen
Next by Thread: RE: [Xen-devel] FC-HBA assigned to guest domain does not work. , Cui, Dexuan
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /