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=1796047948; b=TS79lVpp9PkYAPrYH2Vh80eN8x0rskZhTogRzlrSxmCMB/IUdlweA8ilcJSGBq4zamex 8tbouPKjgZ5gRyaHhT0eZ24ep9gdS6tg4wnKx2DuUDaI9uh5mqREn/f853vXJOjd7p+UT LXRV3Cl1N8OLWcD9MUHCDnkuaOawzwc77kBneNkG6zq65nScV343RjHQGXEHgD/vfP8VJ caxlBd+517ZcJsRgA8QEKB0NZ6Jae7XLn7oBS0IBt+0GfoyHYarFmfESjTUhyhu0JceD+ ps51Yf8z5w/uLoffe0r7NOLN9gYiLyhCADwUm2j8pZJeb4VqS57iWnFDRbGeWWwJVtw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047948; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=nFVwGUBQejGElz+zJ3M4OJH8EzX8+UpNAvjSxgKKy/0=; b=2fuIdQUpZo0Nvrn1ahxUp6SK2871h049fYC9KkBs/vJ5HGORHWILCGhWnSsDZr/Kwsp6 DuAneWZNXGsTis9wsW9JdAimPuACfvwZ7sXC+YHkJWvZlfbm1+inftZ2pdivhXf4Pj9Wn qOh/0b3u+LoOqvNweruRuRKcvzcWQPw07QoLJqVvKYHTHyOfKJKYtnsNZdmmKeAlj0CAI Oqt9RsjLpq5LbOC+Fw3v52+bgimPvCSP+HDUwQWPst5aAgh5esZM5vqpSVWy57ixk3/+u 5jFpVRLVVXPrD9CKd8tiQXez2MkXbYfLpYoGti7B2XyitURiowlGcu0HLX9cyVw/V9A== 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=gawD3MgF; 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 81A58606A31C for ; Mon, 30 Nov 2026 14:12:28 +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=gawD3MgF Received: by smtp.kernel.org (Postfix) with ESMTPSA id B45971F00896; Mon, 30 Nov 2026 14:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796047948; bh=nFVwGUBQejGElz+zJ3M4OJH8EzX8+UpNAvjSxgKKy/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gawD3MgFD8aSJP8bjMLs/YqZMCbukxEGF8lvXntYx7S1hGmtjyV/Rw2d+vNWYsy6i h+CDqlfKGdL+VL0bPGt5yp8+dBpBTXZzJEPlLewTKOxR6sO3xnxLVPV/eS1apSwel0 NP8VEsXlnr2JsdycW6DxBywVM+/vtbi8OEvZsueXcxUBGxeVivqdr/igtukhW4Oi7B aKdmylwIqEdD7uPfIpsIKXGt9Cih+3Sh/+SeR6dWbRJiNpRfP0gMZIIaNyCN9owVDk U95ZRUHQ2I1Dw0NY7OXrsaamslCa82RAgB6Hlt6fn0ShSxqRGZXXLkgGlOWCcX1akZ aFhiMim6xh9NQ== Date: Mon, 30 Nov 2026 15:12:23 +0100 From: Lorenzo Pieralisi To: Zenghui Yu , catalin.marinas@arm.com, will@kernel.org Cc: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, guohanjun@huawei.com, sudeep.holla@kernel.org, rafael@kernel.org, lenb@kernel.org, wangzhigang17@huawei.com Subject: Re: [PATCH] ACPI/IORT: Use the correct ITS node in iort_pmsi_get_msi_info() Message-ID: References: <20261130130445.1033-1-yuzenghui@huawei.com> X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130130445.1033-1-yuzenghui@huawei.com> On Mon, Nov 30, 2026 at 09:04:45PM +0800, Zenghui Yu wrote: > The helper reads the ITS identifier from @node->node_data (the device's own > IORT node) instead of the ITS node. The value contains random bits, so > platform MSI setup can fail or program a wrong translate frame. > > Use @parent->node_data, as iort_msi_xlate() already does. > > Fixes: a97efa5ba594 ("irqchip/gic-v5: Add ACPI ITS probing") > Signed-off-by: Zenghui Yu > --- > drivers/acpi/arm64/iort.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Lorenzo Pieralisi This must go to stable kernels, thank you for fixing it. Can you resend it with a stable tag so that Catalin or Will can pick it up please (or Catalin/Will can add the tag on applying it - please) ? Thanks, Lorenzo > diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c > index 1020ac953e42..a0bc420ef48e 100644 > --- a/drivers/acpi/arm64/iort.c > +++ b/drivers/acpi/arm64/iort.c > @@ -721,7 +721,7 @@ int iort_pmsi_get_msi_info(struct device *dev, u32 *dev_id, phys_addr_t *pa) > if (pa) { > int ret; > > - its = (struct acpi_iort_its_group *)node->node_data; > + its = (struct acpi_iort_its_group *)parent->node_data; > ret = iort_find_its_base(its->identifiers[0], pa); > if (ret) > return ret; > -- > 2.33.0 >