Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2014271lqb; Mon, 27 May 2024 05:20:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUraawsWbOuvuKuHWqWceVfHCNlF0A3WiokpCNxpar84osFWqrfv/UMTBzA1TEXGEUiqcI8LiSBT+U/gB204HvdWekbsQbNVrv9aJ5AIA== X-Google-Smtp-Source: AGHT+IH3JbaUEyjGJo96gHSyd4OBI+DJ0e5qzBzxUjDLcyOuXd2ISNb19r506uP/6uLJzEnVGCIL X-Received: by 2002:a17:90b:4393:b0:2bf:7ccb:b8c0 with SMTP id 98e67ed59e1d1-2bf7ccbbec5mr7602895a91.26.1716812417328; Mon, 27 May 2024 05:20:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716812417; cv=pass; d=google.com; s=arc-20160816; b=KBdx0++9mzQo08O+GNugUARB59MGqNjxOdXp9iYtpJ9nyn/xeASMdLf5E4Vt4G7gJ5 5tKVUmD/YnrjbVy2VAbL3UQi6uhw8Rr1Eih9HrWmp8XGM7kcq/bLEQDh4O00m9G7tO/C yBIJ4Lss05gJ1SdbYi/prVkitKkw4d7cYupUhPKktevZUklTyd7Hppwixwhv6fJnJVbV nEPXzNVHjKFtLKEuEHEY4mpImjMRG3KtUkMGNbWThzXG1BQqHwtt7LhQfSTvgMcvrNqW UaMo1alVA022LVGQVk7Kk2mHe1gkY2LAy0osPIh2ousM6OBh7/3QoqiKLT7Q4inbB/46 mGWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BFRarOeDypft+k8uWZknOSEqhErJiarm7OGg4vuEPo0=; fh=iQbm6EuRtoeRDdVNPDwfBHQx6tWfwQWXbWxVtjvIBLA=; b=T4W9yhOrVdtL7jFOpZbrUXWUB1KWMljb3EzJbEOJ+uqAncT0wRiz8MtjJOmmwWNaYm wInl+aUrnifvjnBlIvpGHO0YgIna+cv0UmKz9drmth15Aw8EOQQZz1npCWNwMDJXo747 skD0flbjbGJzA9VpQVb8SG1ZlJkaVmdqTH8CzHSL+H2Ikjj86QezT9ouNOXvg4ylYJKx DYD2szrVSdql7n0eGUQ/yRieWIuLoImy8kLRgI6B/SQoZjYilQfOBDLL3uI9IGIDf/Bg vbPK3PAIbdB6F+NZYvLEUD7WHQ/oHr9YSo3NVR6zCVOUyAaTbNiAx9Pvioekm4of498h 7Ifw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dA5SRJHB; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-190565-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bde0868876si4613565a91.0.2024.05.27.05.20.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:20:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190565-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dA5SRJHB; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-190565-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D932528746C for ; Mon, 27 May 2024 12:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C62F815EFCA; Mon, 27 May 2024 12:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dA5SRJHB" Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 5B73E15E5C6 for ; Mon, 27 May 2024 12:19:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812344; cv=none; b=F5DSP+e2ujks2167ZQmY6EswUp4kDxwhl9OsXE0rrvV9HRkrHVZxFRJCi14BYsuMl5b+ZI75CHbCdcyXD1+UF36urS5KBGX9c6xZo7/s89Z8Mw9Mf6qC7JYUXuIaaZ6VPi/yEPPUE1dIPR3goVUFqjojKhV9TrZpaW3T7TglI3o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812344; c=relaxed/simple; bh=d6onJWQ43ut4FAfzUfVW8Q6OxdDvvmDr+sGo4V+q5v8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=n05R6dz92s22ldQRZqBcH6uhHWErG5GP60JqINPJXGktwnI1FZ6EnZMTvfoxJWM6YJ+HeWEzDyPPTaBjqOU2wNuqB4FVAPqq4c+26uO74m3bblKpSp+TSkxEpAkxRQVsF0mFqmvrbqaxLcrwcSfcFnBeIrUOgc8qtVDnISCZ1F0= 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=dA5SRJHB; arc=none smtp.client-ip=217.70.183.194 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 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2210A40009; Mon, 27 May 2024 12:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1716812335; 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=BFRarOeDypft+k8uWZknOSEqhErJiarm7OGg4vuEPo0=; b=dA5SRJHBFM/Ksac4FbUxWjmu9faiatMO/l0ptLDLhHhxxj7MYpix44zim+creA/NvGJU+r U4FELk65uKC4JwRY8k40HjlZ1UC955ExFPaFBS+AYxLNIHTf/wg/jZ5rVDnn1PSvMqatwU c/nyXJK/qeq7tgYO0tb9z7xwuVLVoevWo165j8z3ntie7QLHhVVM1QhT3relk0G5yhSmEz ZtRW8/I2mfKv54TaJtY2imu8wfJfhDL7f5fsG57sPLbOdkAZ/esm5z86VTvtFoUP35Q1Sb C0peTfBlt6Xw0JgRCU2itWMAgasokcj8bD9Bts0v59+yhIBVkz2mltib81Qglg== From: Miquel Raynal To: Sascha Hauer , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/3] mtd: nand: mxc_nand: separate page read from ecc calc Date: Mon, 27 May 2024 14:18:54 +0200 Message-Id: <20240527121854.178599-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240522-mtd-nand-mxc-nand-exec-op-v4-1-75b611e0ac44@pengutronix.de> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'022127a167c21dbd474d563c0d28d3c7278c177f' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Wed, 2024-05-22 at 05:39:51 UTC, Sascha Hauer wrote: > Our read_page hook currently reads out a page and also counts and > returns the number of bitflips. In upcoming exec_op conversion we'll > need to read the page data in exec_op, but the bitflip information > will be needed in mxc_nand_read_page(). To ease exec_op conversion > separate the page read out from the bitflip evaluation. > > For the v2/v3 controllers we can leave the bitflip information in the > status register for later evaluation. For the v1 controller this is > not possible, because the status register is overwritten with each > subpage read. We therefore store the bitflip information in the private > data. > > Signed-off-by: Sascha Hauer Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel