From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DFC7EC6369E for ; Sun, 22 Feb 2026 22:57:54 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fJzsY2kVtz309C; Mon, 23 Feb 2026 09:57:53 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1771801073; cv=none; b=bmFu7LDk9LtR6/Z1wHvyuhLzaL9VIwpljPzabh42QPYmtVzsKn8BS/S57Asj7neS0kynYON/MQ4S5UCo6f6/ZfHjn/TijSgWgKKJ8wNbvT81h0SzaKT/wTHPrdv5XmaYMoUPM5ehhC+k1k0DU8KYWcocy3UwLzjdwqM5wrV/Rr2x7oxu3aMe0LcyLtzEDQWZKCR55Eaz/XtgaDMa/mC+iblyGqAwOj2CUaX23CKaWB7eCUnrq5ItRvQCl25yrWRROlECwVDzE+lqSOyVaF5mhVyp1fQlm66sXvvTr/+vuoD2DG4SxdUy2Tt9dqLUYB1iEuANsIFfLmfeXpYTpJ4G3w== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1771801073; c=relaxed/relaxed; bh=x61JP+etTRQ861pjyF7vVsQLGayevNtjxLjoJXnwvRc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=T2r6f2QMMSM8euy16ibtkikKSsF/SmYacQ6SX5K6S9846XKlDQmsXfGiEp8NPcXannqzqF1oaWaltim6VHxumG7fk1fzEWYgqR227R/TLH/B+bkoH5UrHlmzmQ3M7HRRBD749gu6V9jMED5B0L8B8+XhwC2VtYYUyAPtGo7qKM2KTiZyKK+yrhOjYHc7Lh4tDE+7d+UEjbVTnLHmdK2fwZHv4IGS4Yq+V0lpI8/kLNtd/QpDHZFThSCxEyInem0p4QbU6hbLqrLBFINdzaW6u0whdknKuBh/dJ+rHu26GcxT5Icqp/JxN565dc2JwL08p8RFY52GIcBIPKSC3/H1Zw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=PHcE3UBY; dkim-atps=neutral; spf=pass (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=tglx@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=PHcE3UBY; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=tglx@kernel.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fJzsX41vnz2xQB for ; Mon, 23 Feb 2026 09:57:52 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 3C28C6001D; Sun, 22 Feb 2026 22:57:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18C6DC116D0; Sun, 22 Feb 2026 22:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771801067; bh=fis4ioZILk6YcO2e9aX1BhjpjjEJRJjSqIX9ksTd+PI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PHcE3UBYlVJH0/QQPn+Z3nz7JzCa7yUOXaHtfCJM9mBKSwkidICJuiiKLES+5qk0m LHTaxT2ekSsK9lpRYAMiknXzd1i9tNLGUQH6XkDS0tS/mFEWG4wW48LFb87JpPmeoS HIMExp8CNZhyLqeetuN86TAb5ykg48glOdjY7ZRGjgQ+PIhu57kU5lRcGeSe2OIh9v xuO9l4k9WL/OzqMzt+99Pcw62wedxIO0YexlyOIaYPafoXZKO72jpzxDEC3YJgsU4Y /ISB31GMzBzSViYDCWEXItlJ3/ZE4hxk+GQZhcU1Uq/ISbkCGPNtwWjAJuJ6TcjvJ1 JGSwpG5gjtNrQ== From: Thomas Gleixner To: Marc Zyngier , Ioana Ciornei , "Christophe Leroy (CS GROUP)" Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 3/6] irqchip/gic-v3-its: Add fsl_mc device plumbing to the msi-parent handling In-Reply-To: <20260218135203.2267907-4-maz@kernel.org> References: <20260218135203.2267907-1-maz@kernel.org> <20260218135203.2267907-4-maz@kernel.org> Date: Sun, 22 Feb 2026 23:57:44 +0100 Message-ID: <87seasv11z.ffs@tglx> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain On Wed, Feb 18 2026 at 13:52, Marc Zyngier wrote: > Make the ITS code aware of fsl_mc devices by plumbing the devid > retrieval primitive. > > Signed-off-by: Marc Zyngier > --- > drivers/irqchip/irq-gic-its-msi-parent.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/irqchip/irq-gic-its-msi-parent.c b/drivers/irqchip/irq-gic-its-msi-parent.c > index 12f45228c8674..532c0d626ca04 100644 > --- a/drivers/irqchip/irq-gic-its-msi-parent.c > +++ b/drivers/irqchip/irq-gic-its-msi-parent.c > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > > #include "irq-gic-its-msi-parent.h" > #include > @@ -186,9 +187,11 @@ static int its_pmsi_prepare(struct irq_domain *domain, struct device *dev, > { > struct msi_domain_info *msi_info; > u32 dev_id; > - int ret; > + int ret = 0; > > - if (dev->of_node) > + if (dev_is_fsl_mc(dev)) > + dev_id = fsl_mc_get_msi_id(dev); > + else if (dev->of_node) > ret = of_pmsi_get_msi_info(domain->parent, dev, &dev_id, NULL); > else > ret = iort_pmsi_get_dev_id(dev, &dev_id); This rejects as you are building against an unmerged change (I assume it's Lorenzos GIC5 stuff). I can fix it up when applying. Thanks, tglx