Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp630649pxf; Thu, 25 Mar 2021 10:24:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHGWp5jLtpVLbZ839DOFYyWShm83R8VUQnUYPHWmoZ4lYC8sSDM/hw7sBLb1OC1af0WQVy X-Received: by 2002:a05:6402:270c:: with SMTP id y12mr10406765edd.284.1616693081491; Thu, 25 Mar 2021 10:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616693081; cv=none; d=google.com; s=arc-20160816; b=Uy4vZgxpQ16PIcsxybRwCV+9XE8zFtNlGbTzl5gsH96hlzf8kCZOwulQzk3ba197/G I/wzdAtokbawYP/F06iZnNou++zHUEUX/E6MRtPIjxjAULcSckYJPY7ecVSosb19Vulm rB27MSfHmaEgMOF/77N9omEN8mQ0UF4oyxZi8JNQqn0MJyvvb+An+0A+IAUK4FZnh8ng knK+YQRx4xTf4Cpwl+yfZjNQEH69CYb9bNZiH8aEbH0GO6yyxHQkP2QoSfHmVUoW/aot Om6/BQs0IChmfVKW/ZcvEZUVJbjrdHqV9/BY2p/XNBIS4VIUq9wsGIF3ao17yQNmRQwk UhMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=p1KeodbuGWMDyTs6ausZFxyrBcpgyG8oe8WdaIAVZPs=; b=WFO+MZF3JskzMZonC86vQqVwa+xocKPs8xuIqmTRXcvAKDGISU+jcOTDQxdy6YtGXe dqHabOJB+VN5vMMSiuAXMZkkZ2fr5xvllTIN8IJ44Ia50yz17kqn0rPS+m6ROz/m2KIg zOogvF8CZMF1WjY6KJaIy+Qu7j+DqN6QGhdXGTeCzdpXoTieV4SrfNu1GFRIX2ug8I07 yVvP83wkV5BC/KgW5hsBUH4fURx6fJ/724Vq3VcUAchTi7aUqf+mAQUJsu6Gy70a0hHP YocD7dGm9sAHuqOVLZoGc8fMGlnQ5RgS2zplaaYGjl6PoMv5WkMM+IOOnSjgo8pYhTsL XT1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h0k8p75+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si4674275ejv.334.2021.03.25.10.24.16; Thu, 25 Mar 2021 10:24:41 -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=pass header.i=@gmail.com header.s=20161025 header.b=h0k8p75+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbhCYRUz (ORCPT + 99 others); Thu, 25 Mar 2021 13:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbhCYRUe (ORCPT ); Thu, 25 Mar 2021 13:20:34 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4915AC06174A; Thu, 25 Mar 2021 10:20:34 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 75so3671266lfa.2; Thu, 25 Mar 2021 10:20:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=p1KeodbuGWMDyTs6ausZFxyrBcpgyG8oe8WdaIAVZPs=; b=h0k8p75+H2fkeOXitrFSXG3rb+8KB9COOng/LwUdtO1tGAoWANJ4F/v4HUiT007UwR PNwiwHnwcBPVVJqsQM9/p15w1PnxvB3CayUORBHlTphE1gjgM799B5JJKMdxOgUGlhPL u6U0QDqxA6F3LeAF6vADjVz7/FZ5EjkDWl1PmaBN/rxE0JAqd+fYSmqbGPewTAfcCASH Ypf2i8k4B5cdAZtkMde2pVXUTEWErNShkf04lr6JPOLJQqjPNRelhzFPJpt0TVUkm35W xC+fNi+bYDJBIZ0Yclp/NZu53gD77bICvvfgHmTh0qh/q1aiug1pqSpNuiCcmgsMd4QT TrUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=p1KeodbuGWMDyTs6ausZFxyrBcpgyG8oe8WdaIAVZPs=; b=eCqX8q+tel+kky5aXqxSfmap+AXsleZrSRPycC3sYkEHKP5F6In4t1na0jXjOtS4Gd Z9YJRUH8E9mGGLA5KJHr2I4wNJuhsL+XyImwzLHZgfCaRQdSc6QZQjX7Mu49dflhxOcu xdEynEpAakEpgcQfTvRYcE/TM337JEgtMMktqWurxiWII+uHeDxEkya6ZIifIGRRRv7F Pe0vVDB82sl5349zxy+34DQBtA+6FjX0yUiSYC/v4X/gOROXvQkwElxu9Omr+goPh0dz DtJmNUzhLuH/HptY/Fg2O+RGFxvQHSnjGk4sA8NErKA2l4/J+jmuUkmzZjp0c/cmVJlg zuDQ== X-Gm-Message-State: AOAM533wOlAQS9xVUfLkuJ4RVTyCeX4aIvsbZWDwP0H2ZbwinjlmbmER nNqwm1NNVFQtT8jk8bwicES6s5NIDQI= X-Received: by 2002:a05:6512:3327:: with SMTP id l7mr5728175lfe.639.1616692832603; Thu, 25 Mar 2021 10:20:32 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-60.dynamic.spd-mgts.ru. [109.252.193.60]) by smtp.googlemail.com with ESMTPSA id g7sm285491lfc.179.2021.03.25.10.20.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Mar 2021 10:20:32 -0700 (PDT) Subject: Re: [PATCH v1 1/2] memory: tegra20: Correct comment to MC_STAT registers writes From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org References: <20210323210446.24867-1-digetx@gmail.com> Message-ID: <799f54f6-6023-338f-4e8f-cc0dfbac30d8@gmail.com> Date: Thu, 25 Mar 2021 20:20:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210323210446.24867-1-digetx@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 24.03.2021 00:04, Dmitry Osipenko пишет: > The code was changed multiple times and the comment to MC_STAT > registers writes became slightly outdated. The MC_STAT programming > now isn't hardcoded to the "bandwidth" mode, let's clarify this in > the comment. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra20.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/memory/tegra/tegra20.c b/drivers/memory/tegra/tegra20.c > index 14caf5b9324c..4659c0cea30d 100644 > --- a/drivers/memory/tegra/tegra20.c > +++ b/drivers/memory/tegra/tegra20.c > @@ -451,9 +451,8 @@ static void tegra20_mc_stat_gather(struct tegra20_mc_stat *stat) > control_1 = tegra20_mc_stat_gather_control(&stat->gather1); > > /* > - * Reset statistic gathers state, select bandwidth mode for the > - * statistics collection mode and set clocks counter saturation > - * limit to maximum. > + * Reset statistic gathers state, select statistics collection mode > + * and set clocks counter saturation limit to maximum. > */ > mc_writel(mc, 0x00000000, MC_STAT_CONTROL); > mc_writel(mc, control_0, MC_STAT_EMC_CONTROL_0); > Krzysztof, please feel free to squash these 2 minor follow up patches into the original patch which added the the debug support, if you prefer this way more. I happened to notice these small itches only after you already picked up the previous patch.