From patchwork Fri Aug 13 06:42:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 1516582 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=q0n32URg; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GmDYS4ScQz9sX5 for ; Fri, 13 Aug 2021 16:44:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=7iaJ/fYfyUK8FzPgM9r0X5DCCIjDaGkhe8Bmej+fJNg=; b=q0n32URgvTupHn aOjc3yRXUq5JjPu0mwC4oQKmgl9UZ9MRZa2U1k+IYz7QMJjoPv6RyrX2e6+tk9iwEBRpjUrYQ4und 2QRPYNppfRMsgRoLvKPm0OtHJH9ltKDO0HQPuXsxsT68pC2iOMokxjFiqzAQxunUvs4Cq615ewIW5 zv/luTzSmQ70CifIj/+GdWVPXdNH/bF3XE/8LYG3z/9hiBQ6r36/C7o+sMeZX6DWjEXI5vu4pTmM3 l6bKWW1JjgSFQb8OVX535czXvJ546eP3k4MEZLMZtgXgxrJzHOjktiAoqp0tGIEgjKV/T1ygZ6Hj4 jVfSwL/sjNyPRjcu2/Jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEQuR-00Bsy3-CQ; Fri, 13 Aug 2021 06:43:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEQuJ-00BsvM-BO for linux-arm-kernel@lists.infradead.org; Fri, 13 Aug 2021 06:43:08 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0FE6D610CD; Fri, 13 Aug 2021 06:43:07 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mEQuH-004jCS-1Q; Fri, 13 Aug 2021 07:43:05 +0100 From: Marc Zyngier To: Paolo Bonzini Cc: Alexandru Elisei , David Brazdil , Quentin Perret , Steven Price , Will Deacon , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Subject: [GIT PULL] KVM/arm64 fixes for 5.14, take #2 Date: Fri, 13 Aug 2021 07:42:41 +0100 Message-Id: <20210813064241.2603475-1-maz@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, alexandru.elisei@arm.com, dbrazdil@google.com, qperret@google.com, steven.price@arm.com, will@kernel.org, kernel-team@android.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210812_234307_458470_E6296CDD X-CRM114-Status: GOOD ( 11.74 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Paolo, Here's the second batch of KVM/arm64 fixes for 5.14, and hopefully the last for this cycle. We have another MTE fix from Steven, but also have an off-by-one bug squashed by David in the protected memo [...] Content analysis details: (-5.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Paolo, Here's the second batch of KVM/arm64 fixes for 5.14, and hopefully the last for this cycle. We have another MTE fix from Steven, but also have an off-by-one bug squashed by David in the protected memory path. Please pull, M. The following changes since commit 5cf17746b302aa32a4f200cc6ce38865bfe4cf94: KVM: arm64: selftests: get-reg-list: actually enable pmu regs in pmu sublist (2021-07-14 11:55:18 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.14-2 for you to fetch changes up to c4d7c51845af9542d42cd18a25c570583abf2768: KVM: arm64: Fix race when enabling KVM_ARM_CAP_MTE (2021-07-29 17:34:01 +0100) ---------------------------------------------------------------- KVM/arm64 fixes for 5.14, take #2 - Plug race between enabling MTE and creating vcpus - Fix off-by-one bug when checking whether an address range is RAM ---------------------------------------------------------------- David Brazdil (1): KVM: arm64: Fix off-by-one in range_is_memory Steven Price (1): KVM: arm64: Fix race when enabling KVM_ARM_CAP_MTE arch/arm64/kvm/arm.c | 12 ++++++++---- arch/arm64/kvm/hyp/nvhe/mem_protect.c | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-)