Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2443243rdb; Mon, 5 Feb 2024 06:52:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IExQMjM1j8Xebez16TcFR9sM6/gv0KlCqNhXcbso1uMBMMFvKzZFoBtIjMCHDNU1e+LEaCO X-Received: by 2002:a05:6512:3ab:b0:511:3058:735c with SMTP id v11-20020a05651203ab00b005113058735cmr7704046lfp.23.1707144723195; Mon, 05 Feb 2024 06:52:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707144723; cv=pass; d=google.com; s=arc-20160816; b=jFIYx28rQI8vm/CcrlOIPMZMZd9pIV3LidYFgOH8CjduX3i2hkfeTdj8jp/NYAVeap vrhmxSe0fsPGtknNYVnT8Pc25Ah3V03qUlyqG2HksfBTwNmTofkvBxw3XsfqhMHnDyXS 2GhDRwJ714ygk1nK9vnJiRf3zM+R0qrNQKDuAIUDMV7ST7cB0VgeFpRG3eNlan1P+75p WJIhNByQYguBqhd/ssv+84Tm1uhyRtE3dAsfUT3aiTdVlj4o+bcnG0gcClA1mCcjgd14 8vdnO2jYfEhO9htwuILZJyrhOEfYs8qiOpcAeKRbs59Oh/73VwcjHYvqVoGV2fM2ssJg 2kvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=/evvuSLtY+5ZoydW8IlFA6frLXp7QJTRcPWzdwiRF8A=; fh=wUWZioBkF1koNK9e8J4so9Uf2RJl8r98y4yG3duma08=; b=V+O1AlP4MxHxdA0I+JGEQC4xZycd5BdvO4VWbeh+cV59xbkqbs1W1Hfbyw0xS3aBvx vUrJwMB1qKVJOg80M7P38j1bgQFT9xGgt+rjevso9lhzIU3Q0BgOUeZwYQLw15tFgePf FoxuFfB9keQvSUIvcKMY5jLRuAfdlJXRyX369oXfLFSbsTiBZ6Rtnr/TkrWcmmQslTvq LXDIaAXNIi14hW/yKL4dQAd4XOn/sM23vsL8sW1ACMcFmFWbWtUrwd9cgxoAR/tnHOIK S8h5auxTxccknkOhaUvJmHl0n+pWzEw9fo9oHwyyMHBrZPOL++GW6y7xPeJR6YNnXy8d udXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=ZItH0I+L; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-52847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52847-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUXRACkN6K/yoC8DufSDyh/R/B8Wb90Gm9+yc8xBuaUthFBa8NWvvGI3S0aU1P56InEgCetPo1RjDpMk+d5uhs7OhB7jw1ELlaHkENvoQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ca26-20020a170906a3da00b00a37b64e6079si1169055ejb.653.2024.02.05.06.52.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:52:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=ZItH0I+L; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-52847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52847-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0D4761F247BA for ; Mon, 5 Feb 2024 14:51:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6843B2C690; Mon, 5 Feb 2024 14:51:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="ZItH0I+L" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 E4AC228DD5 for ; Mon, 5 Feb 2024 14:51:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144694; cv=none; b=JKQjGMLulrDJOY0NUWad/JELG8JbfK9sTdC5y60ZN7EO7gptEgPt0T7NYMdXcxufzNJMSowEYFfz/7lrh9sj8nQHtQ9zQ0lWd+8bfTEd/dCSkeax9CuVnIH24httv2w6gRtMAsawLf1clPT2ZBZyn9q4MMHVV1tH2I6LwBZQRpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144694; c=relaxed/simple; bh=/evvuSLtY+5ZoydW8IlFA6frLXp7QJTRcPWzdwiRF8A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ltVUEiwtg3RJzUd1zmDwCcFPoaq813m72q6mF5ovGua6SBRfbr7zsZBvKxiVGPY62xbVneVhJcFRSFfmslGEnH0e1rsMlYe32/Mg5YSu0MlL49h7WTx95iXf5HGudkEG9mROcbMkuXil7FjKGK08ZO9TV+BuTd+sq/9YdGfr2pk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=ZItH0I+L; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=/evv uSLtY+5ZoydW8IlFA6frLXp7QJTRcPWzdwiRF8A=; b=ZItH0I+LEt56ufdr80j4 by/IqZPXbenTlzRFQ8Iem04x/XIQnFibX/QdvokHp1MZngLjcgUOkrWAUsxlk9yK eHfeInVf121342z10nRmwqZu1DsnaVqSLPH2LDklpJYCKAKuW/A1v56odz3chvdz x90npaS6OMhVfDB45jr+I+VLnAsfuGfwIzWIeVJZsL671EVRKl/LSli4G5y9XYlb GcPw9I/IJsBp3i8Og7DNGDMcMFPXASqnkZIl3nsBX+Ek6Og7Lup54uLx+aDfTq5i 78O4+r9sJaXjrxspv38RFEAQdkYTiVFnTTViAU9tA+e9ilGxKttmF/sXUgXJ2+gT fw== Received: (qmail 855922 invoked from network); 5 Feb 2024 15:51:27 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 5 Feb 2024 15:51:27 +0100 X-UD-Smtp-Session: l3s3148p1@81qjmKMQyrcujnsZ Date: Mon, 5 Feb 2024 15:51:26 +0100 From: Wolfram Sang To: claudiu beznea Cc: ulf.hansson@linaro.org, yoshihiro.shimoda.uh@renesas.com, masaharu.hayakawa.ry@renesas.com, takeshi.saito.xv@renesas.com, linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea Subject: Re: [PATCH v3] mmc: renesas_sdhi: Fix change point of data handling Message-ID: Mail-Followup-To: Wolfram Sang , claudiu beznea , ulf.hansson@linaro.org, yoshihiro.shimoda.uh@renesas.com, masaharu.hayakawa.ry@renesas.com, takeshi.saito.xv@renesas.com, linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea References: <20240205112702.213050-1-claudiu.beznea.uj@bp.renesas.com> <237bd5c8-184d-4e46-ba66-253e3ef0c895@tuxon.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qEqW1x4AbDvxYxZ7" Content-Disposition: inline In-Reply-To: <237bd5c8-184d-4e46-ba66-253e3ef0c895@tuxon.dev> --qEqW1x4AbDvxYxZ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > According to my understanding, we should only mark this TAP good if it > > is in the range 5-7. I need to double check with Renesas, though. >=20 > OK, my understanding is that it should be in the middle (beginning being > the tap that triggered change point of the input data, end being the next > tap with the same ID). This is what I understand from this: "As the width > of the input data is 1 (UI), select TAP6 or TAP7 which is >=20 > *the median* of next TAP3 from TAP3." Yes, I agree. With 0x0e, that means TAP1+2+3 are changing points and we should be far away from them, like 5-7. But: I am still waiting for Renesas to answer my questions regarding SMPCMP. I'd like to get that first, so we have clear facts then. > > Boot failure is one test. Read/write tests should be another, I think. >=20 > OK, I'll try also read/write. Do you have in mind something particular? Nope. Just consistency checks. > > Because if we select a bad TAP, bad things might happen later. To reduce > > the amount of testing, read/write testing could only be triggered if the > > new code path was excecuted? >=20 > I'm not sure how to trigger that (or maybe I haven't understood your > statement...) I thought something in the lines of: - print out when you needed SMPCMP to select a TAP - check the log for that printout - if (printout) do read_write_tests Dunno if that makes sense with your test setup. --qEqW1x4AbDvxYxZ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXA9eoACgkQFA3kzBSg KbZncQ//f/ax+lI9WQAUTFM3v2A9bA6nLjRcWJr9G/EpZeEtrNs4C0OakdRE8Gwi CLENdlS9pUSVUrHyfjv1LXo/SD+xcj3tHL42yDJ3m1zStuh2Vu3mvvvhcnFX+qcq 5EUjvtHpGfSg5QokJ0AV0U22DXeJOHWOXJK/PS+OnR9He66Xm+PC9PxFea5rzVQw 0xBqz/uUKC1jSqIWMHniAKsHh4sWMi+hgKdfdG9n1AbW89ofU8A3wN7PyggZIQz+ vYJvQgVuhfcr7hgLVo3wrayWfZfPpolF2Sbe6ThIWTEm1ZmDUAmM8buJ6vWKZwbl e8k0JknLSRfrI+e09x57IbHDqx8O4e6kgIwQ5H/jlel3q236bWaLszRetw86IW+K t/2kiny7aPRM2msFGoaefXtwDNSTBzLS9HIjoWlZUAkEzNozv+PTsKAczXheI0bu ouZOPam/L9V49PaSrijs2d4+SKHiuRrP/QDA993SCIRmQ8eFTkGfpVpRnTyM6+Gd xqzBzWI/U89x5U0isr0lZDlfiFs3IyVIdnSa+thcdaaUzJOYnN6axGvR5vYhNujR zv7ptO3ZpetT7IodiYyIxXDo+zuesne9yj4X3HWnFiyuivBqauedUqtKHtgQeRqL kcav4NdwvzUdqRN/HxDgLu81KXlwibniQEK0edE/M26kCl4jMCs= =5JaQ -----END PGP SIGNATURE----- --qEqW1x4AbDvxYxZ7--