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] VT-d: improve RMRR validity checking

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] VT-d: improve RMRR validity checking
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Thu, 21 Jan 2010 10:46:12 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 20 Jan 2010 18:48:12 -0800
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: AcqaQ+SKc4rglCVDSSiStbgvxJxlIA==
Thread-topic: [Xen-devel] [PATCH] VT-d: improve RMRR validity checking
Currently, Xen checks RMRR range and disables VT-d if RMRR range is set 
incorrectly in BIOS rigorously. But, actually we can ignore the RMRR if the 
device under its scope are not pci discoverable, because the RMRR won't be used 
by non-existed or disabled devices. 

This patch ignores the RMRR if the device under its scope are not pci 
discoverable, and only checks the validity of RMRRs that are actually used. In 
order to avoid duplicate pci device detection code, this patch defines a 
function pci_device_detect for it.

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

Attachment: rmrr.patch
Description: rmrr.patch

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