From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796467297; b=JoWNGmZolR50bLyQtPy4UjZG8L7CfcsHQaUO35dNcGNvViTpFanJuz39B+LhHDwmr5q3 TX8aj/hg2HhjXMOJqiJ3BvUoJMh8sVg/7jH/HKejLFzFJE6NkeD7uUeEChnOch1a65RHr c7qXYdyEFzfbXgWP8Udff5A4hSYOCuH+0+TpLWgaHK1DjS9YpARRy7DZX+GMaDLIcmQYX O6kEunc5pYp7b8Ut3jf5NsYfipPUNQ8lOkirZnvqjUnGuV9KOLdpRJRqDtUx9B1BI51ij AT1nuxw8Nnxg9U8l9MLpuLB1P4fpvySI7dnjd6QUzCu2tGljVkYpDYG4+c7/r3y6EgQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796467297; h=Received:DKIM-Signature:Received:From:To:Cc:Subject:Date:Message-ID: X-Mailer:MIME-Version:Content-Transfer-Encoding:X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To:X-SA-Exim-Mail-From:X-SA-Exim-Scanned; bh=pZGgMVnIJ+Pgh4zV9SZpRnoecgGOzFOQCCbTB+aHhco=; b=B84v2QjHw9rBLkoVjmMHz4zYf7ZlPVlHwnEeQjysTH36N3SO4kXHic5XFof4Ywrnodm+ 36bn/kF5Ed6WVoSE60TLM8V7FASPcu/iSLEMJRBU3tFeWS+2hIxFR5OMRV18+azfFVHUN jHdvUn9Vy6u4MHNqAKl8GPwU0TppPOkyJwock1Rg2+LQNqKO2zXjXluvAOY11O8PdOcuL c4XwX1/gwmuVkbQIJxjp+PNCGNGXKwUr0OfSWOvSnkRo6AoyKdgUBMf5gyCYsrBu/5V4O mw7Kf9QExY81D4kPVkRjnUDKQvU0VgVQOOPJ0x0/BkzpPnh5Q+FJuTCERNHLCydjR0A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h15JatJc; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 886F4606A33A; Sat, 5 Dec 2026 10:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h15JatJc Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FE441F00A17; Sat, 5 Dec 2026 10:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796467297; bh=pZGgMVnIJ+Pgh4zV9SZpRnoecgGOzFOQCCbTB+aHhco=; h=From:To:Cc:Subject:Date; b=h15JatJcF+x3PrE4x9h842gjYXGeHeKd7hLJMxRWkfgfLo/G9YupOKPyNMJ5ImIX6 8ndEmrzHRXwzHRaR5oUhNN65ccgw1iz9WNiryZ+GsLoXF//sUk2hc0DfFKObFw3WFI GGnucgTzHb8+jNLR7/TXrW/2xrT5P9+6SA2/PlvZnDHYQiJAX9lLQ7+95YfP2PlpgW K78/XEYxiPeZrrMu5ml8sGO9YXppYxKDoO9ieJBNIj5F5ATW8WUqFFhh6KZeuy96aq lsctEpqCQ7F4gWj1HtfnNN36t+enwAe8pGMLiGWkoj8oX9mGJlCLwB+QFIYkFkkG8+ 8chFWObjBzQTQ== 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 1xZnCx-00000007UT8-1Qtw; Sat, 05 Dec 2026 10:41:35 +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 6.12.y 0/5] KVM/arm64 stable fixes Date: Sat, 5 Dec 2026 10:41:26 +0000 Message-ID: <20261205104132.1432014-1-maz@kernel.org> X-Mailer: git-send-email 2.47.3 X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 - 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 | 19 +++- arch/arm64/kvm/vgic/vgic.c | 170 ++++++++++++++++--------------- drivers/irqchip/irq-gic-v3-its.c | 3 +- 3 files changed, 107 insertions(+), 85 deletions(-) -- 2.47.3