From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8514606A68B for ; Sat, 5 Dec 2026 10:41:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bHHKBL6D; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dJB2PWKI DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=SScoD4R7BowqYZ8Ur1nEhiisStO+glGrvZZO34Y5o9Q=; b=bHHKBL6DZjxNdHnbIKkS8UZJ/b EJZKCTSaBXWCVp3f/qNEl9cIRvBiWc9b2gOSIK5W2WHvHyxH9asV1CUdSNPC03ComCjk8JUbclwYQ bm6+h2ZX6xjvCDyvgZ4q/+vhJo9HYbMZlljBKDb5M3rk2S4UrP1Qj+LZFE5YDUJ73ivkQteD/kJk6 STJzG1hgliRyPlI+PZ8V+zh+AWCTmPGqWJ/BxdAfqUARzozx2s4zCIw3u/iAt93ctS/D5BW4hADqL Rb1pV7fBkOWgBqz1AKnSkgupABZUpNZra90tGvIzClULUFL1C2XlIQxrqsY7vJsL5VUFm8/2KmUbL YhILOFYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZnCs-00000002HmJ-3aSx; Sat, 05 Dec 2026 10:41:30 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZnCr-00000002HlF-1CfC for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2026 10:41:29 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 5342D60239; Sat, 5 Dec 2026 10:41:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A0CF1F00A10; Sat, 5 Dec 2026 10:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796467288; bh=SScoD4R7BowqYZ8Ur1nEhiisStO+glGrvZZO34Y5o9Q=; h=From:To:Cc:Subject:Date; b=dJB2PWKI27cV1fOD2UkUEww7xCvKuPLOOcCeO3KjbisvE4d+JJtmhClwUH3a+rLXz fFWpjUL3J+ga12sndhkPb4YwWObysy/5aTv3TYjLrOXzVCdtAXjsueRfvXgvnFcy2h McBldcm6gdjLywyNG5qOfi0r7pkGA4JdEwiJazI1uNAb2zqkhHu+l9D6x0wu4SkQrS IJw1jmG+OZ4aFq3vsT4RLJA1nJlYZR0L+u2XNbYkOTNjU0pbHBwi5fYvgmGkHTuegK 2dftY+qgCubTjCPNzpBuYA6CwSWUMONrmb3eBWqpDIIjymYGuDjbT6YIK+KOUKceG/ lnel2EZ6+tGTQ== 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.98.2) (envelope-from ) id 1xZnCn-00000007USJ-2oAw; Sat, 05 Dec 2026 10:41:25 +0000 From: Marc Zyngier To: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Steffen Eiden , Joey Gouly , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Fuad Tabba , Paolo Bonzini , stable@vger.kernel.org Subject: [PATCH 7.3.y 0/5] KVM/arm64 stable fixes Date: Sat, 5 Dec 2026 10:41:12 +0000 Message-ID: <20261205104117.1431915-1-maz@kernel.org> X-Mailer: git-send-email 2.47.3 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, seiden@linux.ibm.com, joey.gouly@arm.com, suzuki.poulose@arm.com, oupton@kernel.org, yuzenghui@huawei.com, fuad.tabba@linux.dev, pbonzini@redhat.com, stable@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-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 - Make the ITS MOVALL command a full synchronisation point for the whole VM, stopping it so that the command can execute withough having to fight for locks. - Bound PINTID during ITE table restore, avoiding the possibility that the guest plants an out-of-range LPI INTID in its own in-memory ITS tables prior to restore. - Do not blindly trust the vINTID field coming from KVM, and reject anything that is out of the boundaries that the hardware ITS is configured to support. - Add signal_pending checks to the scan_its_table() loop; device table entries with num_eventid_bits = 16 (or 65536 EventIDs per device) are valid but takes a long time to restore. - Remove quadratic complexity from the algorithm used to prune IRQs sitting in the AP list has a quadratic complexity, and simplify the locking while at that. Marc Zyngier (3): KVM: arm64: vgic-its: Stop the VM when handling MOVALL irqchip/gic-v4: Contain VMAPTI vINTID to the expected boundaries KVM: arm64: vgic: Linearise AP list pruning process Raghavendra Rao Ananta (2): KVM: arm64: vgic-its: Bound PINTID during ITE table restore KVM: arm64: vgic-its: Add signal checks in scan_its_table() arch/arm64/kvm/vgic/vgic-its.c | 17 ++- arch/arm64/kvm/vgic/vgic.c | 175 +++++++++++++++---------------- drivers/irqchip/irq-gic-v3-its.c | 3 +- 3 files changed, 105 insertions(+), 90 deletions(-) -- 2.47.3