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=1795981437; b=Gux0HdU5+WRnvIWtVpnt/5vThH8sPrVuF70fuxHgv6ZsLgYzKrOj59/Md7RCOY0MM/B9 8cfw8IOPRAew+9+SamgENkn87KevCPY8/UUOyTPv6dcGyaPOR7GS2uZJ5yTeJLSVCJIsj z/oBh+fzqk5YIVTUMjfR9/WhjzyE3budFDjQ0oILnT1CzrRpjVF4eCUlnbipK64e1XcD/ C7ci3Hsy6Dnx6uhRqpHOYTVTaYf016JDuvqqBq0oHaopy5jluA4V1Mfy2tYzz/wlUnRIT HhJ1tL/IhUGp6Nh8be5s44GbVv6GcEk5ieUtO4TrJe4NnDsK0Uwh0SweCxAI5TL4+uQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795981437; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=1KDvzRs6L7cAySIdAfknvBI0sfPkPUVj9xPQyE3Ls4E=; b=jTrmMNhbKVpeZbQNgvq0eySj4EZyPE6D3pbEt9Oi1as3BVV1FSfsVyrlkMaAl729kkQR GMC/uaD6yJrfvZPhhRSgAgFcgZGCiEOFTDqwVk7Yzqz17alZfoxauvF7NwlpFWR0bNJat URYAlkMwOdnXsJBFtAwGcw0DaaheZBFZg64fiGPdFp/PBWSU+9djJf+CbwhOzoKWNpgCQ JIagH7uAMUgVI+K7RH5l7LM8P49oZm1UoRmb6Qn/EdN4QBG/WxCQ4rQMCH89T03ye+347 DJlGl/21KdSA4vTQxqnCNiIRhPdOns+i2fWXuayqLnXMffzFZ9Lpk+pGKxT5Nz4GO7w== 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=TENCo3cK; 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 23E4B606A323 for ; Sun, 29 Nov 2026 19:43:57 +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=TENCo3cK Received: by smtp.kernel.org (Postfix) with ESMTPSA id C603B1F0089F; Sun, 29 Nov 2026 19:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795981437; bh=1KDvzRs6L7cAySIdAfknvBI0sfPkPUVj9xPQyE3Ls4E=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=TENCo3cKXG/bNETOWSuh3ELl2TlVp4s7Yx5aInOHNQrdE4PCzEjo4prUBEzZNPYHO aVinF3O/vxe16mwMJgZT7crJzCE6j3Q8UiWJl1XdUkhT9++el1jDZEE1TVspaCCptu zegP1qMB+gSriJGdS0Up/9tRvVCXbfyF1zn/x/ldHYGHuKP0DvjG9ai0a8m6cd1znV PIyv9B5uKWeB7cV5cHX2SKafYw8NjFhqZtYlfb7GyJ4caGL8bQnk9pzgJtuC4fc8jG e3Cm6v6oA4KuS6jZcNYTx36x664aRVXL+KbCui0B+ImhTus9zWwWred+Xg/Dd6hTDu Y/sdr5yVSZO6A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] dmaengine: qcom: adm: Propagate reset errors from probe Reply-To: sashiko-reviews@lists.linux.dev To: "Jiawen Liu" Cc: dmaengine@vger.kernel.org, vkoul@kernel.org, Frank.Li@kernel.org In-Reply-To: <179598034305.2.8178651388048278541.pattern-ext-136.24@gmail.com> References: <179598034305.2.8178651388048278541.pattern-ext-136.24@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 19:43:56 +0000 X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] dmaengine: qcom: adm: inaccurate Fixes trailer in commit message -- commit 9bca7345605b3adf090ac246e6f33dd343ab2adb Author: Jiawen Liu > dmaengine: qcom: adm: Propagate reset errors from probe > > With fw_devlink=3Doff on IPQ8064, GCC can unbind while ADM is probing. > If GCC unregisters its reset controller after ADM asserts reset, the > reset core invalidates the held handles. Deassertion then returns > -ENODEV. ADM ignores the error and can program its registers and > register a DMA provider while the block is still in reset. A NAND > client can then time out waiting for DMA completion. > > Check each reset assertion and deassertion and return the first error > through the existing clock cleanup path, before programming ADM > registers, requesting the IRQ or registering the DMA provider. > Keep the reset order and the 2 us delay. > > Verification included a source trace of the reset and clock unwind > paths, a 32-bit ARM qcom_adm.o build with QCOM_ADM, IPQ_GCC_806X and > RESET_CONTROLLER enabled, git diff --check and checkpatch. > Runtime and hardware reproduction were not performed. > > Fixes: 78ebbff6d1a0 ("reset: handle removing supplier before consumers") > Signed-off-by: Jiawen Liu [Severity: Low] Commit 78ebbff6d1a0 ("reset: handle removing supplier before consumers") on= ly updated the reset core to return -ENODEV when a reset provider is removed. The unchecked reset_control_assert() and reset_control_deassert() calls in adm_dma_probe() were introduced when the driver was added. Should the Fixes tag point to that commit instead? Fixes: 5c9f8c2dbdbe ("dmaengine: qcom: Add ADM driver") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/179598034305.2.8178= 651388048278541.pattern-ext-136.24@gmail.com?part=3D1