From patchwork Sat Oct 20 10:53:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Mackerras X-Patchwork-Id: 987186 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=kvm-ppc-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="D02RgBJF"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42cflC1YFYz9sDK for ; Sat, 20 Oct 2018 21:53:10 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727423AbeJTTDL (ORCPT ); Sat, 20 Oct 2018 15:03:11 -0400 Received: from ozlabs.org ([203.11.71.1]:57729 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727285AbeJTTDL (ORCPT ); Sat, 20 Oct 2018 15:03:11 -0400 Received: by ozlabs.org (Postfix, from userid 1003) id 42cfl667nqz9sCT; Sat, 20 Oct 2018 21:53:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1540032786; bh=FaCnBeBzkvf7ehY9we7X/hRQSLUztgBcnsOf5H8aJKk=; h=Date:From:To:Cc:Subject:From; b=D02RgBJFckBL1vjxouyVW0WjJZ4i7ugOU79EDhqF2qluuFRsuP4t0+yQhzBzIrrr/ qwPsGcDTQhs7+y0caL4XhS7TEPEb777o9NSxxRE4IfA5fxkVDvr0qc9GoAVh8L0A3D tiDu7jRlPOtgyBs6xJOl5baDbxLhmoRWVDbmzZnqz9nb/duhV+MVSa9/cYlzZ0eJTn /1Qs4r6lAOM3jLQUZYe8fW3EC2KeURjmMr3UQaiMTOEeb6F0Ia7XQBEqxsXIuvLMEQ O5NK00RrdawzkQHvnFb9Zt/tpnoD6TOKBLQ6mGuDCP6nI03whTNG/gca/5oNOj4Dee O11qs/5KG8FEA== Date: Sat, 20 Oct 2018 21:53:03 +1100 From: Paul Mackerras To: Paolo Bonzini , Radim =?utf-8?b?S3LEjW3DocWZ?= , kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org, David Gibson Subject: [GIT PULL] Please pull my kvm-ppc-next-4.20-2 tag Message-ID: <20181020105303.GA13048@blackberry> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Paolo or Radim, Please do a pull from my kvm-ppc-next-4.20-2 tag to get a second update for PPC KVM to go into 4.20. This is a very small update, with only two commits. It turned out to be necessary to disable the new nested HV KVM feature on early POWER9 chips that need a particular hardware bug workaround which the new guest entry path doesn't implement, so one commit does that. The other commit is an optimization for clearing IOMMU tables when doing PCI pass-through. The second commit touches drivers/vfio/vfio_iommu_spapr_tce.c as well as arch/powerpc/kvm code. That should be OK, as Alexey Kardashevskiy is pretty much the only person that touches that file. However, if you would prefer that part of the change to go via another tree, let me know and I'll re-do the pull request without that commit (or you can just merge the other commit on its own). Thanks, Paul. The following changes since commit 3d0d0d9b1d805e39456a9d49443d847092cb21ab: Merge tag 'kvm-s390-next-4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2018-10-13 12:00:26 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc tags/kvm-ppc-next-4.20-2 for you to fetch changes up to 6e301a8e56e429d6b01d83d427a9e54fdbb0fa60: KVM: PPC: Optimize clearing TCEs for sparse tables (2018-10-20 20:47:02 +1100) ---------------------------------------------------------------- Second PPC KVM update for 4.20. Two commits; one is an optimization for PCI pass-through, and the other disables nested HV-KVM on early POWER9 chips that need a particular hardware bug workaround. ---------------------------------------------------------------- Alexey Kardashevskiy (1): KVM: PPC: Optimize clearing TCEs for sparse tables Paul Mackerras (1): KVM: PPC: Book3S HV: Don't use streamlined entry path on early POWER9 chips arch/powerpc/include/asm/iommu.h | 2 +- arch/powerpc/kvm/book3s_64_vio.c | 5 ++--- arch/powerpc/kvm/book3s_64_vio_hv.c | 6 +++--- arch/powerpc/kvm/book3s_hv.c | 13 +++++++++++-- drivers/vfio/vfio_iommu_spapr_tce.c | 23 +++++++++++++++++++++-- 5 files changed, 38 insertions(+), 11 deletions(-)