From patchwork Sat Jan 21 11:08:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 1729929 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.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=M5iHL/2K; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=uD50DZVv; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NzYXb6Cjgz23hB for ; Sat, 21 Jan 2023 22:09:19 +1100 (AEDT) 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=2/c8wm3pask2w0D6ICLicMvpKDD/4pil02Lo5jV1lnc=; b=M5iHL/2KnjrSB7 up4WCmK/0a7Zcq9Tm8U9I+stfBzBQvWg0xwd2BngPxZAYb+s7YR8iTvkYeEfInyvxK9VH+QKPuebj cTMf0kyeFu3sv4AQv4tywe6A9Bsdf5GpJEmp9StVfmAPZyaKeI7/SrqSsWXaJxWI6HKB/QFFaUtvG 6qoVWPcaEJnBnmHkOBT+R7j5VNur4tEPKskXNUxzGvzfqHq59W7ddUsgRbUk/RDHC4mg9bpKQ2xoz 8A+rZUcB1UeX/m1Hb1TuHqvoQJ8Cslh0LlR16Ita9kSAuWjv6GbKi+XMKvZ6e+MjltYx0m2fV+tsi LuCpf7iBOZfcSM6c3Q1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJBk9-00DjUW-Rv; Sat, 21 Jan 2023 11:09:05 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJBk0-00DjRA-Bp for linux-arm-kernel@lists.infradead.org; Sat, 21 Jan 2023 11:08:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id ACB3BB8015B; Sat, 21 Jan 2023 11:08:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26F79C433EF; Sat, 21 Jan 2023 11:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674299333; bh=47y4G5mTxnqndK19ipCK8qSV1r62Ibu+XDQrarb4elY=; h=From:To:Cc:Subject:Date:From; b=uD50DZVvbU99h0bvoxA1kEF02FVPw3nRZ89d4ESCcba5yOgdwzHSqL/H4VrZOee/f rojtboO92YzuIa8N1t1l2eNgWXaQ5/b1cw1MkSdhSo2zoF5fU2PjSMY4j9gLVZ5be5 k7UoEPBNHt4PFpJNopWqX+GlwOhyPb+F4tcep+7BKx6UKV+HQrCYgFEel4LLJfjpGE pFqARrnFoAG2IH9R5laYxDTzdfV541XFntfG5qXdk5E4XetyCC8Lf3ocoNTV3NVpK4 J+HgvY5+8Y4WUqVYnkcI1VCiLhweYxR4LWb1VfTTn695/YdqDx8/KfPdcCri9iR1mM Fhu/mWTmCFZ+Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pJBju-003cmz-NU; Sat, 21 Jan 2023 11:08:50 +0000 From: Marc Zyngier To: Paolo Bonzini Cc: Anshuman Khandual , Catalin Marinas , Cornelia Huck , Oliver Upton , Shanker Donthineni , James Morse , Suzuki K Poulose , Zenghui Yu , kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [GIT PULL] KVM/arm64 fixes for 6.2, take #2 Date: Sat, 21 Jan 2023 11:08:37 +0000 Message-Id: <20230121110837.3216901-1-maz@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, anshuman.khandual@arm.com, catalin.marinas@arm.com, cohuck@redhat.com, oliver.upton@linux.dev, sdonthineni@nvidia.com, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.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-20230121_030856_611717_A6BB5CB8 X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -5.4 (-----) 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 a small set of important 6.2 fixes for KVM/arm64. We have a MTE fix after the recent changes that went into -rc1, as well as a GICv4.1 fix for a pretty bad race that results in a dead host (a s [...] Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [2604:1380:4601:e00:0:0:0:1 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 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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 a small set of important 6.2 fixes for KVM/arm64. We have a MTE fix after the recent changes that went into -rc1, as well as a GICv4.1 fix for a pretty bad race that results in a dead host (a stable candidate). Please pull, M. The following changes since commit de535c0234dd2dbd9c790790f2ca1c4ec8a52d2b: Merge branch kvm-arm64/MAINTAINERS into kvmarm-master/fixes (2023-01-05 15:26:53 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-2 for you to fetch changes up to ef3691683d7bfd0a2acf48812e4ffe894f10bfa8: KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation (2023-01-21 11:02:19 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 6.2, take #2 - Pass the correct address to mte_clear_page_tags() on initialising a tagged page - Plug a race against a GICv4.1 doorbell interrupt while saving the vgic-v3 pending state. ---------------------------------------------------------------- Catalin Marinas (1): KVM: arm64: Pass the actual page address to mte_clear_page_tags() Marc Zyngier (1): KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation arch/arm64/kvm/guest.c | 2 +- arch/arm64/kvm/vgic/vgic-v3.c | 25 +++++++++++-------------- arch/arm64/kvm/vgic/vgic-v4.c | 8 ++++++-- arch/arm64/kvm/vgic/vgic.h | 1 + 4 files changed, 19 insertions(+), 17 deletions(-)