From nobody Sun Nov 24 02:00:10 2024 Received: from lgeamrelo11.lge.com (lgeamrelo12.lge.com [156.147.23.52]) (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 D639AD528 for ; Fri, 8 Nov 2024 03:04:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.147.23.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731035098; cv=none; b=N3MuT2x+5g72jecHfOlh7wEwSZeHwWDreFsNX+DxjMl4ON4vGtvpibh6NnpAZzJg+cwZvXthNFfQZWVnrqxJlwDzahMc5yYMz1mmi0bvzAEERr3DD8oTGzQflKPr9KA69p61ZQEgUk+CyrWEde2Bg0a8FUKx/YMwaj272+ekFpw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731035098; c=relaxed/simple; bh=irY7N4XgLzbsh89KzfS8ChgO9E/eqWRqoWagU/0HZ4o=; h=From:To:Cc:Subject:Date:Message-Id; b=VHcOFEDyfymXPNcdx2bHyv44kQll4skc7pARZxUdgOJYcV+pzYfZospBTQDjwH4XYhiaSmHwy9fEPjZELlYWrjKqJIRn5cXKGBOgcIRNmYUVycuh+iitS+aCdXtz6XW2bO4+WLFm6Awd34Zmz6UtA9+aj3rTV/1IVpCvlIi/N2A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lge.com; spf=pass smtp.mailfrom=lge.com; arc=none smtp.client-ip=156.147.23.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lge.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lge.com Received: from unknown (HELO lgeamrelo02.lge.com) (156.147.1.126) by 156.147.23.52 with ESMTP; 8 Nov 2024 11:34:53 +0900 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: chanho.min@lge.com Received: from unknown (HELO localhost.localdomain) (10.178.31.96) by 156.147.1.126 with ESMTP; 8 Nov 2024 11:34:53 +0900 X-Original-SENDERIP: 10.178.31.96 X-Original-MAILFROM: chanho.min@lge.com From: Chanho Min To: Rob Herring , Saravana Kannan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gunho.lee@lge.com, Chanho Min Subject: [PATCH] of/irq: Fix a missed udpate of out_irq->np Date: Fri, 8 Nov 2024 11:34:40 +0900 Message-Id: <20241108023440.29509-1-chanho.min@lge.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Since commit 935df1bd40d4 ("of/irq: Factor out parsing of interrupt-map par= ent phandle+args from of_irq_parse_raw()"), An interrupt tree without an interrupt-map is not updated to the parent interrupt and it causes the i= rq domain not to be found in some out-of-tree device-tree. Fixes: 935df1bd40d4 ("of/irq: Factor out parsing of interrupt-map parent ph= andle+args from of_irq_parse_raw()") Signed-off-by: Chanho Min --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 8fd63100ba8f..3fa3c833e2dc 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -315,6 +315,7 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phan= dle_args *out_irq) =20 skiplevel: /* Iterate again with new parent */ + out_irq->np =3D newpar; pr_debug(" -> new parent: %pOF\n", newpar); of_node_put(ipar); ipar =3D newpar; --=20 2.17.1