From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3B8A817C203 for ; Sun, 22 Feb 2026 22:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771801068; cv=none; b=bo0/7am8Y4c/slz/5aPlpt6NWlmn+wjWkNGJ//DNLqpgxZQ1+z49uMHuwO9nPge10MWEHocwQAoii+Ttmcpq5CBEURihs8WOMpgHZ8ntrpwpif/7z4TFHUTKn9x7GHTqJY82xeCcSX+uhoVq2/wcmjeBqMGqRIsNu//RhaA2M8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771801068; c=relaxed/simple; bh=fis4ioZILk6YcO2e9aX1BhjpjjEJRJjSqIX9ksTd+PI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Hp8O5SdG3g9hs7ZwrPSerdRTWxjyLP13qQZK7DLy+UMPLv5TC/ZLWye0k3m/isfRfdOzuitHBvvPihy/BBSdj9mqaQpAKBgJDhOk1/HUhIjEUQLvTqgdGR+bt6ZMd97txOQgwKx78k0aLEclegfG5/B1Yjbpow6FzUHQe7abaM4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PHcE3UBY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PHcE3UBY" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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