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] [PATCH 1/2][VTD] pci mmconfig support to be used for AT

To: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2][VTD] pci mmconfig support to be used for ATS
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 20 Nov 2008 20:20:19 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Delivery-date: Thu, 20 Nov 2008 12:20:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <57C9024A16AD2D4C97DC78E552063EA35C4BCCFE@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclLDoEEainFt4bDQQalOh9staRQ1AAPL8ngAACKBFk=
Thread-topic: [Xen-devel] [PATCH 1/2][VTD] pci mmconfig support to be used for ATS
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/11/08 20:10, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:

>> If this is x86-64 only anyway, why do you need to use fixmap
>> space for this (and limit things arbitrarily to 4 segments)
>> rather than using a 256Mb block from one of the unused virtual
>> address regions in hypervisor space?
> 
> Can you point me how to use unused virtual address region to do ioremap
> without using fixmap?  Is there a existing code that is already doing this?

Pick yourself a nice piece of virtual address space (see the layout in
include/asm-x86/config.h -- 0xffff840000000000 would be fine) and then use
map_pages_to_xen().

 -- Keir



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