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-devel

RE: [Xen-devel] granting access to MSI-X table and pending bit array

To: <yunhong.jiang@xxxxxxxxx>,<konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] granting access to MSI-X table and pending bit array
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 05 Aug 2010 18:44:28 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Aug 2010 10:45:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> "Jiang, Yunhong"  07/15/10 10:24 AM >>>
>Will the small window for qemu exists still? QEMU may setup the mapping before 
>the msix_capability_init().

Yes, I think so, as Dom0 still is permitted to map this area writable (revoking 
this requires a qemu fix to be committed at the same time, or a prerequisite 
fix to make qemu map this area read-only, which I think doesn't fit well within 
the MMIO model used there).

>BTW, I'm not sure if mapping as RO this will solve the sharing issue (i.e. the 
>PBA or table entry share with other resource).

Not if the device meets the standard's requirement of these two tables being 
allowed to share a page between them, but not with any other resource.

Jan


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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] granting access to MSI-X table and pending bit array, Jan Beulich <=