From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C723BC3A59F for ; Tue, 27 Aug 2019 00:32:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F0B1206BB for ; Tue, 27 Aug 2019 00:32:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ozlabs.org header.i=@ozlabs.org header.b="tySe8v7x" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727926AbfH0Ac2 (ORCPT ); Mon, 26 Aug 2019 20:32:28 -0400 Received: from ozlabs.org ([203.11.71.1]:51715 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726944AbfH0Ac2 (ORCPT ); Mon, 26 Aug 2019 20:32:28 -0400 Received: by ozlabs.org (Postfix, from userid 1003) id 46HVFP6JL1z9sDB; Tue, 27 Aug 2019 10:32:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1566865945; bh=n0WxmvwSK65oIhBS+QjYk4vyDjy+iy/5wXOF3pY69BE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tySe8v7xb2A12sBylV8i+NhlV0mc10CpEDBz0n7H/JCr3kE9j08T0vStfZB5ufA7l TH/4ypJDcenroG30bKoL/y8GWQa8dt1j6LtPQB+my1R880OLAdipZCryf7aF3Ms4qE T3jVD07yBHleSv2v8cQk31filyT+jRNKK81E8o1427a71xtyoJHzO/WVNX5JJ0Ix66 nrKpJi4mX/IvmFI/Ix48hY43BIQ6aHzAhQwkxfemOKLCG9l3OeuQtHwomOZCJxTf7v TqyoFpRYKQWORL21E2Cz5r8He3OvZ7sy0dS7qk0X2zchu8UyBOFwj2T9nlHaqouE0C 0ynQ2eD0KPNvQ== Date: Tue, 27 Aug 2019 10:32:20 +1000 From: Paul Mackerras To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, David Gibson , kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, Alistair Popple , Alex Williamson , Michael Ellerman Subject: Re: [PATCH kernel v2 2/4] KVM: PPC: Invalidate multiple TCEs at once Message-ID: <20190827003220.GA16075@blackberry> References: <20190826061705.92048-1-aik@ozlabs.ru> <20190826061705.92048-3-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826061705.92048-3-aik@ozlabs.ru> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, Aug 26, 2019 at 04:17:03PM +1000, Alexey Kardashevskiy wrote: > Invalidating a TCE cache entry for each updated TCE is quite expensive. > This makes use of the new iommu_table_ops::xchg_no_kill()/tce_kill() > callbacks to bring down the time spent in mapping a huge guest DMA window; > roughly 20s to 10s for each guest's 100GB of DMA space. > > Signed-off-by: Alexey Kardashevskiy With the addition of "Book3S" to the patch title, Acked-by: Paul Mackerras