From patchwork Thu May 27 10:41:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 1484546 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=pSSTIvGH; 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 4FrPXp2Nwvz9sRN for ; Thu, 27 May 2021 20:42:50 +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=NwdkgUy1Ceum/oHeqg5Igou9kzOII7aGyxAaR404Tg0=; b=pSSTIvGH1SuH6l XX+nQ5kb6LcL9dpTISuCLGARShWJZ8qMovJHl5iCGYlfcKgaLFXt55HJ4p8W1P7Ouvo3l34hZlMOl muxTr1g+UmuN9hptmuFQFMyTFvcxLGbdgGyEFzGGN1voHwQs2CQbTr9wzS/5Vb9ob8PxWF5uilNXC +gNVdP5ZtbKlWbVnJfJqBOKVOiR/wLWiZDW9hpoanBrS33bbDB7g4t7Yxg2TbnG0oQN/YbJUXaCpI M1HiMUalxDcONbHKyxOtcr1UJQhNh1LCXWCijb+YBZbpx+J9q+kccTc2kOvFvqYPu3fPDty0O/4MX bYf71G36+udm9FUdVIFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lmDSr-004ue8-S2; Thu, 27 May 2021 10:42:09 +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 1lmDSn-004ucO-KV for linux-arm-kernel@lists.infradead.org; Thu, 27 May 2021 10:42:06 +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 57A4D613BA; Thu, 27 May 2021 10:42:05 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] 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 1lmDSl-003vFU-67; Thu, 27 May 2021 11:42:03 +0100 From: Marc Zyngier To: Paolo Bonzini Cc: Mark Rutland , Steven Price , Zenghui Yu , James Morse , Suzuki K Poulose , Alexandru Elisei , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com Subject: [GIT PULL] KVM/arm64 fixes for 5.13, take #2 Date: Thu, 27 May 2021 11:41:31 +0100 Message-Id: <20210527104131.65624-1-maz@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, mark.rutland@arm.com, steven.price@arm.com, yuzenghui@huawei.com, james.morse@arm.com, suzuki.poulose@arm.com, alexandru.elisei@arm.com, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com 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-20210527_034205_715444_8AAAB4D1 X-CRM114-Status: GOOD ( 12.35 ) 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.13. One is a fix for a long standing bug that allowed the creation of mixed 32/64bit VMs (which makes zero sense), and yet another bug fix for the stat [...] 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_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches 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.13. One is a fix for a long standing bug that allowed the creation of mixed 32/64bit VMs (which makes zero sense), and yet another bug fix for the state commit on exit to userspace. Please pull, M. The following changes since commit cb853ded1d25e5b026ce115dbcde69e3d7e2e831: KVM: arm64: Fix debug register indexing (2021-05-15 10:27:59 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.13-2 for you to fetch changes up to 66e94d5cafd4decd4f92d16a022ea587d7f4094f: KVM: arm64: Prevent mixed-width VM creation (2021-05-27 10:34:33 +0100) ---------------------------------------------------------------- KVM/arm64 fixes for 5.13, take #2 - Another state update on exit to userspace fix - Prevent the creation of mixed 32/64 VMs ---------------------------------------------------------------- Marc Zyngier (1): KVM: arm64: Prevent mixed-width VM creation Zenghui Yu (1): KVM: arm64: Resolve all pending PC updates before immediate exit arch/arm64/include/asm/kvm_emulate.h | 5 +++++ arch/arm64/kvm/arm.c | 9 ++++++--- arch/arm64/kvm/reset.c | 28 ++++++++++++++++++++++++---- 3 files changed, 35 insertions(+), 7 deletions(-)