From patchwork Thu Mar 28 13:36:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 1068197 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g9qIHkdn"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44VQrb0B0Cz9sSg for ; Fri, 29 Mar 2019 00:36:47 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gAeUT0nGNlOOorHFTxdV7Z6UEvi6XCNp5TIP6DIcsKo=; b=g9qIHkdnqI8s47 ockOX1wy/ZW1IHcitHFnM1QJhd6l/uPjEupa5fZcnOQWzp21Bu/yEb/ujR1m2y/jPfSCAK3aJvJ/V JJRKhKbcaayqhCdjc75DAEBr8/KDGboU1IqsouQra9LXw09PmH7a2I1VvSPT1t7TCblIRdcQv58vt 0P7Fs6UC1g1/up00McK7m2MqZo20166LAQoBLVUwrmO7QYcWI5HPS5BAq/syWmUsbnlk/WvP4I6BQ LNHmyDAzVzmJJIUpD+Gm4UFl5Od7q9ns0j3QBFyMjS/CZsfWgfkJzQTIlKFd1o+eJDGnjvcOEas9E GbQM1TLDAJQThUHf0GGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9VCw-000193-SN; Thu, 28 Mar 2019 13:36:38 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9VCu-00018H-Jl for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2019 13:36:37 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A8D6115AB; Thu, 28 Mar 2019 06:36:34 -0700 (PDT) Received: from filthy-habits.cambridge.arm.com (filthy-habits.cambridge.arm.com [10.1.196.92]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 06FF63F59C; Thu, 28 Mar 2019 06:36:31 -0700 (PDT) From: Marc Zyngier To: Paolo Bonzini , =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= Subject: [GIT PULL] KVM/ARM fixes for 5.1-rc3 Date: Thu, 28 Mar 2019 13:36:00 +0000 Message-Id: <20190328133608.110805-1-marc.zyngier@arm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_063636_655566_724E2F66 X-CRM114-Status: GOOD ( 12.49 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [217.140.101.70 listed in list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, Suzuki K Poulose , Julien Thierry , YueHaibing , Zheng Xiang , Shameerali Kolothum Thodi , Christoffer Dall , Eric Auger , Julien Grall , James Morse , Nianyao Tang , Zenghui Yu , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Paolo, Radim, Here's a handful of KVM/ARM fixes for 5.1-rc3. We have a number of stage-2 page table fixes, some srcu fixes the the ITS emulation, a reset fix for the virtual PMU, a GICv4 regression fix, and some cleanups. Please pull, M. The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-for-5.1 for you to fetch changes up to 8324c3d518cfd69f2a17866b52c13bf56d3042d8: KVM: arm/arm64: Comments cleanup in mmu.c (2019-03-28 13:17:17 +0000) ---------------------------------------------------------------- KVM/ARM fixes for 5.1 - Fix THP handling in the presence of pre-existing PTEs - Honor request for PTE mappings even when THPs are available - GICv4 performance improvement - Take the srcu lock when writing to guest-controlled ITS data structures - Reset the virtual PMU in preemptible context - Various cleanups ---------------------------------------------------------------- Marc Zyngier (4): KVM: arm64: Reset the PMU in preemptible context arm64: KVM: Always set ICH_HCR_EL2.EN if GICv4 is enabled KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots Suzuki K Poulose (2): KVM: arm/arm64: Enforce PTE mappings at stage2 when needed KVM: arm/arm64: Fix handling of stage2 huge mappings YueHaibing (1): KVM: arm/arm64: vgic-its: Make attribute accessors static Zenghui Yu (1): KVM: arm/arm64: Comments cleanup in mmu.c arch/arm/include/asm/kvm_mmu.h | 11 +++ arch/arm/include/asm/stage2_pgtable.h | 2 + arch/arm64/include/asm/kvm_mmu.h | 11 +++ arch/arm64/kvm/reset.c | 6 +- virt/kvm/arm/hyp/vgic-v3-sr.c | 4 +- virt/kvm/arm/mmu.c | 125 ++++++++++++++++++++-------------- virt/kvm/arm/vgic/vgic-its.c | 31 +++++---- virt/kvm/arm/vgic/vgic-v3.c | 4 +- virt/kvm/arm/vgic/vgic.c | 14 ++-- 9 files changed, 133 insertions(+), 75 deletions(-)