From nobody Mon Jun 8 19:49:29 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0B5F25B0BE; Tue, 26 May 2026 20:18:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779826699; cv=none; b=f9GlmZToO+YnYYqznyRSsAxKXdpfGTRsoBQpPvFTAIpia3GGKtLWOv9FpYzhiNAPUiRzxjXX/d8ouwnxbrcs3+0v/ELo4p6aFetbji0Nss8yLpxV2f+rc5qhkxG4sE8XsI2hRac7cCGHW6AqJ9idXM0QOFTqtQFgdY/PX6mlccA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779826699; c=relaxed/simple; bh=fc5Cm4N0QdqG1tz1JaPBKkd8nYbyVQGtRrldk0ak72Q=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=JN47hMH0qrSbLK74j6Af97oT7Xys9HKaquFXvWenbGgDW50qgNiNCsjcTHqqe0MiuxpfpwaXuAtzNWT9VyeHo0WYxb+aio4zCIPyAWrQbo9I4GxoXUOdcC7V6fznV5wTJUloY//nIQAW5AVapaZgnKInaKjGjE6H5uiVflcU80c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=r3GzzaTq; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=YIWXMf/0; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="r3GzzaTq"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="YIWXMf/0" Date: Tue, 26 May 2026 20:18:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1779826695; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E3txpfZyi7xwDF8+WUo6/iFu5Bk7MC+Nl3RDKZZKh6s=; b=r3GzzaTqfLzL+66tSdb8c8s93WZGPwpSjapgLYL3KDjK3tYRLQIqvrbHTNeLrbppFB7VZS wIwqm2touDbEqD6/K3SChDC/0BZYGUJDsQm9SUA1HrQqXluM+/3XmHajFX23ZYf/f2pU8Q scnqiBnRPZIPNzIbdyVYpWpzv6BeLBAsYq668990z2uAz0z3rWYvB1vvYzE0yMlPVA3R3K M3JB8moc2Vx/y5iM5uWbApvYe8rglYMvKT+CPbUOm4TsmVc+prJUuB25lkC2E61JCJwfbd goJrg6VItqVA251EiB8lwg0UbKCfsxPaTgVyWAudfl7/qbTXiiEkUPa0fKac4A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1779826695; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=E3txpfZyi7xwDF8+WUo6/iFu5Bk7MC+Nl3RDKZZKh6s=; b=YIWXMf/0yRzvxvYGLz7LskWuEGI/JcizCSlYLgOEkVt9YpsXHHppnax4aea0dl8CIGQH/m zk+Wo+IQqB6QddCw== From: "tip-bot2 for Mostafa Saleh" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/drivers] irqchip/gic-v4: Don't advertise VLPIs if no ITS is probed Cc: Marc Zyngier , Mostafa Saleh , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260526125317.3672297-1-smostafa@google.com> References: <20260526125317.3672297-1-smostafa@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177982669394.1039918.6566347325654059440.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/drivers branch of tip: Commit-ID: e61654fbc3bc5d07ec9fafe29f33e19b2b5d0fd5 Gitweb: https://git.kernel.org/tip/e61654fbc3bc5d07ec9fafe29f33e19b2= b5d0fd5 Author: Mostafa Saleh AuthorDate: Tue, 26 May 2026 12:53:17=20 Committer: Thomas Gleixner CommitterDate: Tue, 26 May 2026 22:17:28 +02:00 irqchip/gic-v4: Don't advertise VLPIs if no ITS is probed When accidentally setting =E2=80=9Ckvm-arm.vgic_v4_enable=3D1=E2=80=9D on a= system that has no MSI controller device tree node and GICv4, it results a panic as =E2=80=9Cgic_domain=E2=80=9D is NULL and the kernel attempts to access it. Unable to handle kernel NULL pointer dereference at virtual address 000= 0000000000028 Mem abort info: ESR =3D 0x0000000096000006 CPU: 1 UID: 0 PID: 295 Comm: lkvm-static Not tainted 7.1.0-rc4-ge3f15ad= 3970e #5 PREEMPT Hardware name: linux,dummy-virt (DT) pstate: 81402005 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=3D--) pc : __irq_domain_instantiate+0x1d4/0x578 lr : __irq_domain_instantiate+0x1cc/0x578 Set vLPI support to false at init time if the host has no ITS, so it propagates properly to kvm_vgic_global_state.has_gicv4. Suggested-by: Marc Zyngier Signed-off-by: Mostafa Saleh Signed-off-by: Thomas Gleixner Acked-by: Marc Zyngier Link: https://patch.msgid.link/20260526125317.3672297-1-smostafa@google.com --- drivers/irqchip/irq-gic-v3-its.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-= its.c index e78795b..b57d81a 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -5833,6 +5833,7 @@ int __init its_init(struct fwnode_handle *handle, str= uct rdists *rdists, its_acpi_probe(); =20 if (list_empty(&its_nodes)) { + rdists->has_vlpis =3D false; pr_warn("ITS: No ITS available, not enabling LPIs\n"); return -ENXIO; }