Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1108010pxj; Fri, 4 Jun 2021 06:18:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+Nb+OeQrYJdn4MSan151IpwHKibJUHLndjTvNvNsm/qT5+K3WJOQ3zru0Blfpy/lcbKuI X-Received: by 2002:a05:6402:50d1:: with SMTP id h17mr4787913edb.199.1622812732527; Fri, 04 Jun 2021 06:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622812732; cv=none; d=google.com; s=arc-20160816; b=omo/sD+GkdTOVsMIPGR4od9X7bIPFI9G2nZNmNqh5slLL9efkRdRFFJP7mQ+JWYVVl Rf+/uM2qlvgf6VRKaqIk+n2rMIB8L2VSgM/GcW/BlD94qBKDiiDEEDjR9KhdL7XsjX0w d7uqgE2u194bPprMT9LacoOZkqu2KODyD2tiNUnzfDEDpd7m8uJjYPvoHhuS4RpoaoCF Q9qfVdy65Ab4hgfqiPzkk9ff8rZxmV8/7sk49qv7Tl0iz3Ux6y++N67wW9jj3xDrl7YO +TwMU6AJJb8pQLiTTL7dUk2HWBg2MlHfyoDdsve86JZEUxcV0vpdXz1CmnSxDB21qrvJ CLbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=GJ6mYVey0kuWXGMwYlHVXTGba1FEPLY/KPOqrPz2Tmw=; b=YCRfL1TGdzn9t2rVfek2rA55hU96EBKChuVm+AQolvoeUFNEJh+v06ACh1Wl2uCqbK 6hEmvtM/YhdonKI9Oz4slv+5GSCI5/F1FLRMgsCVOrgiVaaM1lPYFl97EE3h8KgegLmg DZdznwY2g553eEjz+23lmMwqMpkhz3Wbls8Ij/ac3yjuN3QLqAywppNpu8mAp+nGGM0O /q+h4jInSIlQPzBVGwcqDc5gDoZT0irU1cgBeCwV/XTTev0ifP266Us6GeqkI1hurldN NCObhL64xFdtsUm8+TmGSrx1a2IzjnsPm5UtiRLDVBkdV/sQ5WuCxnoZKOCNjCBXyzRG KcJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=m5Gxj19J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb8si5263192ejc.494.2021.06.04.06.18.29; Fri, 04 Jun 2021 06:18:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=m5Gxj19J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230355AbhFDNSh (ORCPT + 99 others); Fri, 4 Jun 2021 09:18:37 -0400 Received: from www.zeus03.de ([194.117.254.33]:57228 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbhFDNSg (ORCPT ); Fri, 4 Jun 2021 09:18:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=GJ6mYVey0kuWXGMwYlHVXTGba1FE PLY/KPOqrPz2Tmw=; b=m5Gxj19J5ohjqR1UMCHl5IU+fhoStfW6W4/otHhzhvkg bUeU3PXM5zfLGfymWMSxtVdqbHf4CriJ6NiDEN3G/yhOeqXpZfNB/rB83emHx2T0 9tyH4ufc4HkCC2Q7H1FQoEShVx8QsKcC15Rd5tRQ8/qRCmh5QB6rnZFxZwJaXjM= Received: (qmail 1372524 invoked from network); 4 Jun 2021 15:16:47 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 4 Jun 2021 15:16:47 +0200 X-UD-Smtp-Session: l3s3148p1@VpvRgPDDsKVUhs97 Date: Fri, 4 Jun 2021 15:16:44 +0200 From: Wolfram Sang To: Geert Uytterhoeven Cc: Ulf Hansson , Takeshi Saito , Yoshihiro Shimoda , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+ Message-ID: Mail-Followup-To: Wolfram Sang , Geert Uytterhoeven , Ulf Hansson , Takeshi Saito , Yoshihiro Shimoda , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V029sdB+NFooXkMl" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --V029sdB+NFooXkMl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2021 at 02:59:43PM +0200, Geert Uytterhoeven wrote: > R-Car M3-W ES3.0 is marketed as R-Car M3-W+ (R8A77961), and has its own > compatible value "renesas,r8a77961". >=20 > Hence using soc_device_match() with soc_id =3D "r8a7796" and revision =3D > "ES3.*" does not actually match running on an R-Car M3-W+ SoC. >=20 > Fix this by matching with soc_id =3D "r8a77961" instead. >=20 > Fixes: a38c078fea0b1393 ("mmc: renesas_sdhi: Avoid bad TAP in HS400") > Signed-off-by: Geert Uytterhoeven Great, thanks for this fix! > Boot-tested on Salvator-XS with R-Car M3-W+ ES3.0. > No difference seen in eMMC/SHHC detection: You'd need some stress testing plus debug output of the TAPs chosen to actually see a difference. However, the patch is obviously correct. Testing if soc_id actually matches now is good enough. Reviewed-by: Wolfram Sang --V029sdB+NFooXkMl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmC6J7gACgkQFA3kzBSg Kba9fg/9G492nlxXSXGTiKoz/SO/SZzQ6tnz8V6xN/hhtUzhAAxx0rtF2WVlgaJ7 bDatxxd38ZfneHbaP4uYpPhcfEifMXkUIyw006JTWEzKlCIOLgjGikDT13vBM0ed bXI6zUkciSTmjL+rFkY2AF3N9jfb4G9Y4bBWW0i83VgkuAR2pkueOS/QpE5g0ZZq 8jxQt5tUT/dmx6Jb9Bd1EhUXx3ZurKmroG5s8Tw/G8s/bEA4fniDHu1dHZKwVPs9 Gvl/+RttmtPmltjEUyyG4MGeUBeVbi6XHs6E18boEZAoaFDNGxcRzN4Mtm6+xgAo Vbgg7W4WIFtOpMC9yYyFxwuYj6NjlePY1kzlG3S0Tjc/NiVVte2dielsbw9BD9/v HpfFwH3oh0H5tsi05oazlixmPNfUtWi0TvB+ypr+OhVLwcwt2X0XMmMrLQm7P/XD kNkoa/CkHF4cUZ3gYgjFQN6xEi189HvFN0r8zV6Dh3av1p6YbkjtPvgBZIhkIE8Y SlXUntzfdj5vl/oRqumt/sWXzYN7tbKryqWf9D5qm995mJgMp49viJiAqNyhZ8tA Fh3KfwLHJLReDpjlxAURgEYKd0DmTIMMPr9e+ai/QjFlTIW88YQKnREXNtgVTpfR EKA3rWC9WiHIDGYTr1NWfnCCUyQcS3wIzGmLeDEfBFSkmBDBeZc= =tvKF -----END PGP SIGNATURE----- --V029sdB+NFooXkMl--