Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2126123rdb; Mon, 20 Nov 2023 02:46:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnmZyG0tPFasZbK6nOqvMDBJ+t+YRI27DIiiSNnlTzGMDqo5gkdpLqpcIbL9rYRm84S9TR X-Received: by 2002:a05:6830:33d3:b0:6bd:836:4fc2 with SMTP id q19-20020a05683033d300b006bd08364fc2mr9077783ott.17.1700477218691; Mon, 20 Nov 2023 02:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700477218; cv=none; d=google.com; s=arc-20160816; b=Cde3spbGiZIs4PqhvXIU2f8PphE9DlZEL0IridhQt5XyNj+iez6fAZMizh3mYJLtps E4+7tHkDtLKVXD5LWeWihw/fohqLgPmmquZ2LeH07TTqyD0+qODJs2MryEJEerrI/ZvS tCbtGIWK2NkpQW7727QgkXBVpSYXbBvK3pbJ/15ALCgI/ijzEtObKQuWHaCW6rV7RL9V nZafEAFfOUMfF90Drc6lGTFK6V7s4y/RH03iOtdxSrSFg0bLOQq3Z34a4IynvnLsIDjt EpMQ/UQbX4cGKO3BierTlpUg31KBMPjF9+r+CMZpHMpY8zlMbEZfOa8gC0cYXvDoiq5Y JntA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Jp8xDlTKHw0X2EagTkm2Mx/zhDz7J44QLcdr/8aP10s=; fh=4toS8DhJoh8mzanN+IpVO8YoT112LP+H2DAfVvr10zc=; b=cYTniFXVvGCymgUnCHOAzwBrSy5UUQsUlrNVQTbEcDWJ2IIv7bTSBY1EVJGcZ5EpAc utI4Iem9u5uDzAOK8UmjWBQh0bmYPg/MfAVOlAS6u9BQCAiGq0uZqk4tV5SP5W+tF1o2 dBFVaYdv2Y9Xau7X7jmQrhsOjGUctHJ+nYy9BFVuOj4LQVRqrBGZo1YUdsCUerIaW/ba BCIr5V3tF6C0HPXKiAphWIDqXEAd5MAR3KVuZYEgYpAyDepnwYBRhc8vVMaJO9twy/Ng bWgq6wPNhlUk9V+9XLfsZcu3PRjNuYQYKZmi++7iKbrr6OlG3VWN2IPV2fYsIhiPk62b r+Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o77SBd9D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c11-20020a631c0b000000b005b96d038729si7736611pgc.728.2023.11.20.02.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 02:46:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o77SBd9D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E980E805CF47; Mon, 20 Nov 2023 02:46:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232732AbjKTKqs (ORCPT + 99 others); Mon, 20 Nov 2023 05:46:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232686AbjKTKqq (ORCPT ); Mon, 20 Nov 2023 05:46:46 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3E2CA for ; Mon, 20 Nov 2023 02:46:41 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9CB6924000F; Mon, 20 Nov 2023 10:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700477200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Jp8xDlTKHw0X2EagTkm2Mx/zhDz7J44QLcdr/8aP10s=; b=o77SBd9D6+b6eM/IFzIavj/aya6sOa5EYCaOvOW+JbMIttzuVGUvhHQ/KRUVwhJjnj4NjP d9PyEV5GMe6kBGZnokG0sYTuNtdLBV1qGLoRpDB/ZlMJeW/oOsqNu5a8dO0JCA1dPVSC81 4PQab6GMNYR4IF6V801Zfo+yJnusV3FUxyKfzRpWf6/ICSCaWa2bI3fKXuW5Q1+mJPUaq4 UZpm8HteHoVYcFQ1341NHtoqkyQh8eZTRCGrExPZ0Zu0uGCRWU1mg36ehDF7larY64tStj Qc1Hm3mMycUhPcrnpnpvDbcnjFpOdAPWRwpYxTshVSR1/TD9hWW+heGlTwKT5Q== From: Miquel Raynal To: Ronald Monthero , miquel.raynal@bootlin.com, andriy.shevchenko@linux.intel.com Cc: richard@nod.at, vigneshr@ti.com, heiko@sntech.de, martin.blumenstingl@googlemail.com, paul@crapouillou.net, robh@kernel.org, u.kleine-koenig@pengutronix.de, AVKrasnov@sberdevices.ru, r.czerwinski@pengutronix.de, jaimeliao.tw@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Roger Quadros , Tudor Ambarus , Poonam Aggrwal , Dipen Dudhat , Kumar Gala , Li Yang , Liu Shuo Subject: Re: [PATCH v4] mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response Date: Mon, 20 Nov 2023 11:46:37 +0100 Message-Id: <20231120104637.3524982-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231118083156.776887-1-debug.penguin32@gmail.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'923fb6238cb3ac529aa2bf13b3b1e53762186a8b' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 20 Nov 2023 02:46:56 -0800 (PST) On Sat, 2023-11-18 at 08:31:51 UTC, Ronald Monthero wrote: > Under heavy load it is likely that the controller is done > with its own task but the thread unlocking the wait is not > scheduled in time. Increasing IFC_TIMEOUT_MSECS allows the > controller to respond within allowable timeslice of 1 sec. > > fsl,ifc-nand 7e800000.nand: Controller is not responding > > [<804b2047>] (nand_get_device) from [<804b5335>] (nand_write_oob+0x1b/0x4a) > [<804b5335>] (nand_write_oob) from [<804a3585>] (mtd_write+0x41/0x5c) > [<804a3585>] (mtd_write) from [<804c1d47>] (ubi_io_write+0x17f/0x22c) > [<804c1d47>] (ubi_io_write) from [<804c047b>] (ubi_eba_write_leb+0x5b/0x1d0) > > Fixes: 82771882d960 ("NAND Machine support for Integrated Flash Controller") > Reviewed-by: Miquel Raynal > Reviewed-by: Andy Shevchenko > Signed-off-by: Ronald Monthero Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel