From: Dmitry Osipenko <digetx@gmail.com>
To: Ashish Mhetre <amhetre@nvidia.com>,
thierry.reding@gmail.com, jonathanh@nvidia.com,
linux-tegra@vger.kernel.org, krzysztof.kozlowski@canonical.com,
linux-kernel@vger.kernel.org
Cc: Snikam@nvidia.com, vdumpa@nvidia.com
Subject: Re: [Patch V2] memory: tegra: Add MC error logging on tegra186 onward
Date: Thu, 20 Jan 2022 16:06:58 +0300 [thread overview]
Message-ID: <1ef23e26-fcde-e2b7-d4d7-c4fc68c1ca90@gmail.com> (raw)
In-Reply-To: <1642669368-20605-1-git-send-email-amhetre@nvidia.com>
20.01.2022 12:02, Ashish Mhetre пишет:
> + default:
> + status_reg = MC_ERR_STATUS;
> + addr_reg = MC_ERR_ADR;
> +#if defined(CONFIG_ARCH_TEGRA_194_SOC) || \
> + defined(CONFIG_ARCH_TEGRA_234_SOC)
> + addr_hi_reg = MC_ERR_ADR_HI;
> +#endif
I'd add new "has_addr_hi_reg" field to struct tegra_mc_soc and use it
instead of the ifdefs.
if (mc->soc->has_addr_hi_reg)
addr_hi_reg = MC_ERR_ADR_HI;
next prev parent reply other threads:[~2022-01-20 13:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 9:02 [Patch V2] memory: tegra: Add MC error logging on tegra186 onward Ashish Mhetre
2022-01-20 12:53 ` Dmitry Osipenko
2022-01-21 5:50 ` Ashish Mhetre
2022-01-20 12:59 ` Dmitry Osipenko
2022-01-21 5:51 ` Ashish Mhetre
2022-01-20 13:06 ` Dmitry Osipenko [this message]
2022-01-21 5:52 ` Ashish Mhetre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ef23e26-fcde-e2b7-d4d7-c4fc68c1ca90@gmail.com \
--to=digetx@gmail.com \
--cc=Snikam@nvidia.com \
--cc=amhetre@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=thierry.reding@gmail.com \
--cc=vdumpa@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox