From patchwork Mon Sep 10 08:29:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 967897 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.ru Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4281Rk3xtdz9s55 for ; Mon, 10 Sep 2018 18:29:22 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727649AbeIJNWN (ORCPT ); Mon, 10 Sep 2018 09:22:13 -0400 Received: from 107-173-13-209-host.colocrossing.com ([107.173.13.209]:43215 "EHLO ozlabs.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1727646AbeIJNWN (ORCPT ); Mon, 10 Sep 2018 09:22:13 -0400 Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id A3AD3AE80001; Mon, 10 Sep 2018 04:27:41 -0400 (EDT) From: Alexey Kardashevskiy To: linuxppc-dev@lists.ozlabs.org Cc: Alexey Kardashevskiy , David Gibson , kvm-ppc@vger.kernel.org, "Aneesh Kumar K.V" , Paul Mackerras , Alex Williamson Subject: [PATCH kernel v2 0/6] KVM: PPC: TCE improvements Date: Mon, 10 Sep 2018 18:29:06 +1000 Message-Id: <20180910082912.13255-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Hi, Here is my current queue of TCE/KVM patches. 1/6 is a bugfix for https://bugzilla.redhat.com/show_bug.cgi?id=1620360 2/6..5/6 are to help with testing https://bugzilla.redhat.com/show_bug.cgi?id=1613190 6/6 is a small cleanup This is based on sha1 11da3a7 Linus Torvalds "Linux 4.19-rc3". Please comment. Thanks. Alex, I cc: you to keep you informed that [RFC 1/6] did change drivers/vfio/vfio_iommu_spapr_tce.c but this one does not. Alexey Kardashevskiy (6): KVM: PPC: Avoid marking DMA-mapped pages dirty in real mode KVM: PPC: Validate all tces before updating tables KVM: PPC: Inform the userspace about TCE update failures KVM: PPC: Validate TCEs against preregistered memory page sizes KVM: PPC: Propagate errors to the guest when failed instead of ignoring KVM: PPC: Remove redundand permission bits removal arch/powerpc/include/asm/book3s/64/pgtable.h | 1 - arch/powerpc/include/asm/iommu.h | 2 - arch/powerpc/include/asm/kvm_ppc.h | 4 +- arch/powerpc/include/asm/mmu_context.h | 1 + arch/powerpc/kernel/iommu.c | 25 ------ arch/powerpc/kvm/book3s_64_vio.c | 89 +++++++++++++++------ arch/powerpc/kvm/book3s_64_vio_hv.c | 114 +++++++++++++++++---------- arch/powerpc/mm/init_64.c | 49 ------------ arch/powerpc/mm/mmu_context_iommu.c | 34 +++++++- 9 files changed, 170 insertions(+), 149 deletions(-)