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

[Xen-devel] [PATCH] Fixing ATS enabling for device assignment

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fixing ATS enabling for device assignment
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Wed, 19 May 2010 10:33:53 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 18 May 2010 19:37:17 -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
Thread-index: Acr2+7kqdqAfr9qpRiibWVkcWS/cmw==
Thread-topic: [Xen-devel] [PATCH] Fixing ATS enabling for device assignment
Currently, Xen only enables ATS in Xen booting. When a ATS capable device is 
assigned to guest, ATS is actually not enabled because FLR before assignment 
causes it to be disabled. Thus ATS cannot be used in guest. This patch enables 
ATS in domain_context_mapping. This ensures ATS is enabled in assignment 
because FLR is earlier than domain_context_mapping call. Therefore ATS can be 
used in guest. This patch also implements disable_ats_device to disable ATS 
when the device is deassigned from a domain.

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: ats-fix.patch
Description: ats-fix.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fixing ATS enabling for device assignment, Han, Weidong <=