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 usedfor ATS

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Allen M Kay" <allen.m.kay@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2][VTD] pci mmconfig support to be usedfor ATS
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 21 Nov 2008 10:32:39 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Weidong Han <weidong.han@xxxxxxxxx>, Dexuan Cui <dexuan.cui@xxxxxxxxx>
Delivery-date: Fri, 21 Nov 2008 02:32:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C54B7703.1F73B%keir.fraser@xxxxxxxxxxxxx>
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>
References: <57C9024A16AD2D4C97DC78E552063EA35C4BCCFE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C54B7703.1F73B%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 20.11.08 21:20 >>>
>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().

While it can be adjusted later anyway, I'd suggest not using a part of this
largest available range - sooner or later we'll want to use this to extend
the 1:1 mapping to 4Tb. Instead, I'd pick another 1Gb range out of the
461Gb reserved region.

Jan


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