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 0/3] iommu: Introduce range operation

To: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/3] iommu: Introduce range operation
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 18 Nov 2010 12:36:41 +0000
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Thu, 18 Nov 2010 04:37:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=5GtlwCO/1DT4Hm/Nt+JAqBkbe6lenQdjPFP51nKOa4U=; b=EIVM030J2grezhGe/T+wNlTbFbsOrmihFRpzm3Oim7L0l4y8Gramyng7KaA5IRBczc sIzv0hQcVNg4p+AlpQDMDgZGzUy+fHAZkAdU9/6TZppDtV70I8mvf/h7rIFFZSUAs0nB +cIEaiWytZIuBiNOmP6eui49Y/kihr5smk9X4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=BJm1JoNdNuJEvxTMrOg2vz1bYrJg60cPztTX/Mtdfav92HtJm0GlBhGOa1sK6Z1pzc J2TqC/WTpy+Uk+vnJ9SedTw9kgDEgYt2vDvzaIf62EDPN+408U0q/+XFvBZMK7/Xg5GW hL/MwGzM+HfpCReORFa2qkQyU8EA9lB2jH9ho=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101115175956.GA10475@xxxxxxxxxxxxxxxxxxxxxxx>
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: AcuHHUAidsYLj5SZq0O7yNVctNqfIw==
Thread-topic: [Xen-devel] [PATCH 0/3] iommu: Introduce range operation
User-agent: Microsoft-Entourage/12.27.0.100910
On 15/11/2010 17:59, "Jean Guyader" <jean.guyader@xxxxxxxxxxxxx> wrote:

> Hi,
> 
> This patches series add a range operation for the intel iommu.
> 
> IOTLBs flushes can be really expensive on some hardware, so we
> need a range interface to only do the flush once, instead of for
> each pages.

I'm going to have a go at TLB flush batching for IOMMUs by extending the
existing TLB clock algorithm. Hopefully it will avoid need for guest
interface changes.

The tradeoff will be that flushes, when they happen, will be full address
space rather than a range flush. But there should be vastly fewer of them.
Nonetheless I may make old vs new flush behaviour switchable via a boot
parameter for a while.

 -- Keir

> 01: intel_iommu_set_entry
> 02: iommu_export_set_entry
> 03: xc_iommu_map_batch
> 
> Thanks,
> Jean
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>