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][VTD] pci mmcfg patch for x86-64 - version 2

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][VTD] pci mmcfg patch for x86-64 - version 2
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Mon, 8 Dec 2008 14:33:12 -0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Han, Weidong" <weidong.han@xxxxxxxxx>, Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 08 Dec 2008 17:09:19 -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: AclZhPRNdgLJRX5JTyGnIE0kY7GQ/g==
Thread-topic: [PATCH][VTD] pci mmcfg patch for x86-64 - version 2
Fixes made in version 2:

1) Use PML4[257] for ioremap of PCI mmcfg.  As full 16-bit segment support 
would require 44-bits.  Since each slot only has 39-bits, we support 2048 PCI 
segments for now.  This can be easily expanded if deemed necessary in the 
future.

2) Integrated PCI mmcfg access with existing PCI config interface for x86_64.  
Use MMCFG interface if offset is greater than 256.

Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>

Attachment: mmcfg_12082.patch
Description: mmcfg_12082.patch

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