From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796295994; b=ytJKwtDlz6XxTuhWdugYANetqnlXq+cOukng0ogoCIYYT2E7JhxomHgqahsGgyhfTrZ7 zHKHH9k8OXAVtFy8n+J2KJZ0JcrbnBS8fXFp86qXiK3bySiewls9RAuXELYxotuH1pYdb 0shtcskpJoduaudcQuY/p4ttMyjOL1m/YNzlBD1h8Yn8NFO9OIng9rn1PmajBjp/ZyarC aGTvsgSuGmWJaqM5cAEoX9D+keLvtP68LjLYFFra+eq3s7pXnJGe0D9XSYjOwbg08bUQ7 WzzznnixQ5vGi5qTELWBDhAkQDmdgSQepHvFdSxyQGN99pfdt0Kyqo9GjScKigZ4Tpg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796295994; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:In-Reply-To:References:User-Agent:Date:Message-ID: MIME-Version:Content-Type:X-Last-TLS-Session-Version; bh=Byd0ipnYHxLlWLcslIsz51i/IQjAEqHnAgBVURCeLe0=; b=XYQX8Ixfhb1ytB8jtmnEGXMQd2k859bdFkXU6bqf2lyQ6vmLL7KyPnIalEjj6OhQBdv4 naraN8vfxn1q+qzYrkoy7hb+nb6qTbmQzmXbcxPhtx9pnLyD6JLJcQ7ajlwwY8Iuy0yFt nVZqBA4IqZ43/eUk/TUCyX9kYEQ/zyP8wUVolah27rqWLbTYiM8PxVjvciqxhPz8cDGMe u84N4fsW6ipHqT/K7neclqcVit0lAGIIpIEFsb7+yJMyVl4/rt0WboLAkd7Pph638LisQ OvetxA3zNrcMsWb640Zi10sO7WPZkpyTB5xofVZ6orx8uyJ/bc9HNDJioglAwfvdbsQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=hTrQzhvC; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02411606A32C for ; Thu, 3 Dec 2026 11:06:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 02411606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=hTrQzhvC Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 79F0A1A190C; Thu, 3 Dec 2026 11:06:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4EC9E604ED; Thu, 3 Dec 2026 11:06:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 14A2C11EA1C91; Thu, 03 Dec 2026 12:06:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796295991; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=Byd0ipnYHxLlWLcslIsz51i/IQjAEqHnAgBVURCeLe0=; b=hTrQzhvCZKBjjeB1RHGsUfl4/JlE7FKR2dxo/lH95Wsemq6P4yvrVszKCacJIo+lhXDTz4 AnMNexNWQYId0iLtQpfy67PJdD1N9KaPlHtxxIDHQS0bcWB8rIKQZs4m8d3qcqnARcz3q1 IKTcUkv8a3eDP0bznHx7pRUn39MG+eltEoy4HdYssEwivwbxbr+WxTkt7fzfBrsJvy893p px4xIvEyXSkxW5wYtu6kpPbUpriV8XaFZcNtymo6bKEy+vbRR/oLHZroZqZZ3UOt/eTURi 5WHdYCa7BH8qH/P6ZrIjxl6c7UjYaz0WHI7Qrld2rUSiAL6HyP04V2szYC/43g== From: Miquel Raynal To: Tian Xuechen <202300460064@mail.sdu.edu.cn> Cc: vireshk@kernel.org, vkoul@kernel.org, ilpo.jarvinen@linux.intel.com, andriy.shevchenko@linux.intel.com, Frank.Li@kernel.org, dmaengine@vger.kernel.org, liguangshuo@mail.sdu.edu.cn Subject: Re: [PATCH] dmaengine: dw: dmamux: Unregister the RZ/N1 DMA router on removal In-Reply-To: <20261129094743.1691766-1-202300460064@mail.sdu.edu.cn> (Tian Xuechen's message of "Sun, 29 Nov 2026 17:47:43 +0800") References: <20261129094743.1691766-1-202300460064@mail.sdu.edu.cn> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Thu, 03 Dec 2026 12:06:23 +0100 Message-ID: <87qzfyipxs.fsf@bootlin.com> X-Mailing-List: dmaengine@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 X-Last-TLS-Session-Version: TLSv1.3 On 29/11/2026 at 17:47:43 +08, Tian Xuechen <202300460064@mail.sdu.edu.cn> wrote: > From: Tian Xuechen <202300460064@mail.sdu.edu.cn> > > The RZ/N1 driver leaves its router in the OF DMA registry when the > device is unbound. Unregister the router before devres releases the > router data. > > This issue was found by our static analysis tool under development. > > Fixes: 134d9c52fca2 ("dmaengine: dw: dmamux: Introduce RZN1 DMA router support") > Signed-off-by: Tian Xuechen <202300460064@mail.sdu.edu.cn> Acked-by: Miquel Raynal