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: 10650367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1A5D14E2 for ; Sat, 20 Oct 2018 10:53:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8A2D2521E for ; Sat, 20 Oct 2018 10:53:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABE37285E1; Sat, 20 Oct 2018 10:53:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5582F285D5 for ; Sat, 20 Oct 2018 10:53:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727449AbeJTTDL (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-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)