From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 EDFF141C64 for ; Thu, 19 Dec 2024 14:55:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734620142; cv=none; b=GJsBLmjhJ5nLGcmSUkGQQROCWTBHfA7vDRp6scJzKKk9gkLV3m1OQxzzwFIZ2VwK2wmp0gt9jQKluU7gDDOo0X6dayGf4YxVAo/IaNaw/dPnbl4xUxep1O4GVZtk+ajTB3A3AmcWN5PBcg1/kZXM3H1NNkftUg7NjGw009dlaJQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734620142; c=relaxed/simple; bh=yybdJkIOV6Rjyyx10awezfg0E+vKuGC2+tdelWiGR04=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nyRROvcJfoF5Jqd475Ful4JrxSRcI1DtEogugO9Wmc8p0xh+rLcWotKQDDlsYy/LeQAz2/fD8lcF+OpoztBeiE6RP6byA8gZ6a7dxqEvknwEwuZocJaUqmLZP2mv5HkcC0TfDwuteL0XXWOFIMrpyx7anCPBR0/L1JLJBW/9Ul4= 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=RJeMB+1f; arc=none smtp.client-ip=217.70.183.197 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="RJeMB+1f" Received: by mail.gandi.net (Postfix) with ESMTPSA id 23E271C000C; Thu, 19 Dec 2024 14:55:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1734620138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+ovmYWnItiL16WI2OJifkalmCJJUx8jG6mu9hX55Nug=; b=RJeMB+1fav6wA0agcDWJC7gPu3G2p845bq3c4g6uq9V98+9m0Zg7HdY69SKg4eJx8wtW6I gt+5XyivTs4uBzdaFT54bYWjcQSEauwX6wcpldU+mWFsPJ+tvodrZEN30lpKs4dgpvds8J u+7/9/SzlE3LiFNobaDv9lh6jWwx0E831kP579UzoR2aXbdAaBREJgG78/CCNoL834NMlJ swdBP8Tc/7aCnJT1eBbxeDykdr5U4zyVv/ZSu74j10Ws/Nu8wn9s8slSsVfuDSL7bTFUBI HCzsMM2vV8az4bVe9/4jpJHl8N+uMpUgAlTDgUP+sSDbTNCB0flXw7CVI9ZVjA== Message-ID: <9edfc43a-7f2e-4036-9eaa-6666608085b8@bootlin.com> Date: Thu, 19 Dec 2024 15:55:34 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mtd: rawnand: davinci: Reduce polling interval in NAND_OP_WAITRDY_INSTR To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina , Christopher Cordahi References: <20241219-patch-nand-poll-v1-1-605e5f15f24a@bootlin.com> Content-Language: en-US From: Bastien Curutchet In-Reply-To: <20241219-patch-nand-poll-v1-1-605e5f15f24a@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: bastien.curutchet@bootlin.com Hi all, On 12/19/24 3:25 PM, Bastien Curutchet wrote: > For each NAND_OP_WAITRDY_INSTR operation, the NANDFSR register is > polled only once every 100 us to check for the EMA_WAIT pin. This > isn't frequent enough and causes delays in NAND accesses. > > Set the polling interval to 0s. It increases the page read speed > reported by flash_speed by ~40% (~30% on page writes). > > --- > Signed-off-by: Bastien Curutchet I just realized that this SOB should be above the '---'. Sorry about that, I'll send a V2 right away. Best regards, Bastien