From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 7B92E426680 for ; Mon, 29 Jun 2026 15:00:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782745222; cv=none; b=hzDH1d5CMm7nNWqGyu0p7HfBLvCk8yYZY+He9zQdjnxpCeJTYVQFUCWtIuWrO55UoIS+9p0pycYISn+7JJYsWxyGM38Eye/cYw4PiGkOXipbIJaa+fm4s0aw2shTbl1NWrTH848P+6NMVgd+gcEtrhFyjCGx5MWYswXCm1GkRX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782745222; c=relaxed/simple; bh=d3Xv+O5xuFOTx+Xge18Kyo2bD5dDAtS5hRizv4OYGh0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=RXzIB1Bh3Lt8HVcB8SO8S7o4nmi1j3XQ4N+ikpXpLJ6c2jS3TkCDwJ72QcEQ4ung/hcJAdKBOQ90sQKiUKcNf4J7iBH9b9RCkhi5xLr3xL2OLN5ijwsYAXLR71HEUhzLZvX5FkWJm4OtI4Ex05usySfZzpx57BYor1WxNANFoOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=MnojvqYo; arc=none smtp.client-ip=185.246.84.56 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.b="MnojvqYo" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 367CB1A0D01; Mon, 29 Jun 2026 15:00:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 042F25FF96; Mon, 29 Jun 2026 15:00:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 85D5A106F184F; Mon, 29 Jun 2026 17:00:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1782745219; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=d3Xv+O5xuFOTx+Xge18Kyo2bD5dDAtS5hRizv4OYGh0=; b=MnojvqYovpn8BefBadsgsfgntBBWHp81xGPIcckWAYu7YeagSJOARJyHkWrqZpdVvA/RX4 eEKzSC39JADcyiLS/7FL6pgUDrIWvMymKZzUWup0w6XOCWB1A9OKImN99euGGl4uYSdp/i vPC/QbjC4R/5nFzv+5JPgOvJxsfsBkihtH8ZmuGe5f7v9i95cUE63FIb7xNaa0V/3kQ+AU z9TJzo0Mvshk9zeNvnNqcF0ocRPpAICNv0/8EQ4F3JYN9nxjLjJSO6Vyf2G3707bUYDaJc n/KEBEhTwG9YrOeRbVhoIcpTis/esVQQCWlXoNSSDeyROvyeOLz+FNnx+XHdHg== From: Miquel Raynal To: Pengpeng Hou Cc: Kyungmin Park , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: onenand: samsung: report DMA completion timeouts In-Reply-To: <20260623061233.40188-1-pengpeng@iscas.ac.cn> (Pengpeng Hou's message of "Tue, 23 Jun 2026 14:12:33 +0800") References: <20260623061233.40188-1-pengpeng@iscas.ac.cn> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Mon, 29 Jun 2026 17:00:16 +0200 Message-ID: <871pdptmrj.fsf@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Hi Pengpeng, On 23/06/2026 at 14:12:33 +08, Pengpeng Hou wrote: > The S5PC110 OneNAND DMA helpers have bounded waits for transfer > completion. The polling helper falls out of its timeout loop and returns > success, and the IRQ helper ignores wait_for_completion_timeout(). > > Return -ETIMEDOUT when the DMA transfer-done bit or completion does not > arrive before the timeout so callers can treat the buffer transfer as > failed. > > Signed-off-by: Pengpeng Hou There is a list a commits for which you forgot to Cc: stable and more importantly set a Fixes tag. Please add the missing tags and send a v2 for the following commits: [PATCH] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout [PATCH] mtd: rawnand: lpc32xx_slc: fail DMA transfer on completion timeout [PATCH] mtd: mchp23k256: Use SPI match data for chip caps [PATCH] mtd: rawnand: fsl_ifc: return errors for failed page reads [PATCH] mtd: onenand: samsung: report DMA completion timeouts Thank you, Miqu=C3=A8l