From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63958C11F67 for ; Tue, 29 Jun 2021 15:09:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 34A0861D5E for ; Tue, 29 Jun 2021 15:09:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234615AbhF2PL5 (ORCPT ); Tue, 29 Jun 2021 11:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234612AbhF2PL4 (ORCPT ); Tue, 29 Jun 2021 11:11:56 -0400 Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81909C061766 for ; Tue, 29 Jun 2021 08:09:28 -0700 (PDT) Received: by mail-vs1-xe2b.google.com with SMTP id l26so12305713vsm.9 for ; Tue, 29 Jun 2021 08:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XWyRLBBzgf82zmSwYmpQjeYYSxE8nuOtzS0SYPYQZes=; b=JtjjYJbTEx+NAYAOQIsFdxj7A+fFEvkJVSQSBs2P0ltlBtcbq19Qu1tN7rgQ+KDK63 CmrLMTyhgsp65Mxn+dFQBeMENsgjb8XN+8N0WqTcj3rj086n2tauOXLG4JeogJQ9WXOT a+WfK+Oo4uchEdLIHAgTUtRaNAJDzVWqCAdt81Vhg9WXvAsIG5OiLv3uvQHfNLGnUyr4 nfQKUeaquuTzvI0VH3k22DOs/BNFXWb+mj6fpdzlyegVUSjVbgRp99Wm+DDGzqNl8as7 /bcZAlZYPpu9BgKgA+ps/qfAwRBWKnxn1iJiFK6ZXG4OYMO102dIvo1oFoug/FGGokAw n4hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XWyRLBBzgf82zmSwYmpQjeYYSxE8nuOtzS0SYPYQZes=; b=Hf4yU50cugGUJ3fDb3L5JnKYZNgEyAeRNJIEcyIHwR3QFOfCSByCuYeDq9q2b4WJE1 wIlXAh1sxwj+GZAY0KNEkKCU2M5sExgzhqzBGJ2MaxfNjmzWEbQE2hh5nKfhcV6oB05F SGYJaLddWf38F0nUf08NDIirQr2Q63GY9yYHAIVECoO+QMoU1hrlJYoMis3z45I4k14t 2lPMTJgZEP2x/8ABdACiBqdRboS1f/VhoIrMh1/mUUD/U90KmsQp7EafHkQR85zI6pqw OBC7y6ouT9XN8wn7ysjB+a/yByUli2bOf90ONcuYsit7P29KCfWyYrkmbGHgKj7yfB1S vwlA== X-Gm-Message-State: AOAM5337qJJ9i2DHwbR/6XlTDwIWBDgaSHdttxS+70XodjjDhrLMaWUk lI1Q9eWc7iR4R7bzK5/gmqWe/Hqdh+xTOmv6havENA== X-Google-Smtp-Source: ABdhPJyogwnB5cFpynG2uMlaowGmYRosZMAQ0iWDWGyyH4iDyJ5iB+6sJfrM4q6alnjUaP5QDA+GBWxi8e8w9ERls30= X-Received: by 2002:a05:6102:502:: with SMTP id l2mr25383417vsa.19.1624979367699; Tue, 29 Jun 2021 08:09:27 -0700 (PDT) MIME-Version: 1.0 References: <20210624151616.38770-1-wsa+renesas@sang-engineering.com> In-Reply-To: <20210624151616.38770-1-wsa+renesas@sang-engineering.com> From: Ulf Hansson Date: Tue, 29 Jun 2021 17:08:51 +0200 Message-ID: Subject: Re: [PATCH 0/3] mmc: avoid vicious circle when retuning To: Wolfram Sang Cc: linux-mmc , Linux-Renesas , Adrian Hunter , Yoshihiro Shimoda Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Thu, 24 Jun 2021 at 17:16, Wolfram Sang wrote: > > See patch 1 for a description of the problem. This series implements the > alternative approach suggested by Adrian (thanks!). It also adds some > documentation and a minor cleanup which I came up with while working on > the fix. Patch 1 can go to stable as is, the rest built on top of that. > > This series fixes the performance issue which we saw when injecting CRC > errors on Renesas R-Car Gen3 hardware. > > Looking forward to comments! > > > Wolfram Sang (3): > mmc: core: clear flags before allowing to retune > mmc: host: add kdoc for mmc_retune_{en|dis}able > mmc: host: factor out clearing the retune state > > drivers/mmc/core/core.c | 6 ++++-- > drivers/mmc/core/host.c | 13 +++++++++++-- > drivers/mmc/core/host.h | 6 ++++++ > 3 files changed, 21 insertions(+), 4 deletions(-) > > -- > 2.30.2 > Patch1 applied for fixes and by adding a fixes+stable tag. Patch2 and patch3, queued up for v5.15 (temporary on the devel branch). Thanks and kind regards Uffe