From: Ketan Patil <ketanp@nvidia.com>
To: <krzk@kernel.org>, <thierry.reding@kernel.org>, <jonathanh@nvidia.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
Ketan Patil <ketanp@nvidia.com>
Subject: [PATCH 0/3] memory: tegra: Refactor Tegra264 mc-err code
Date: Thu, 3 Sep 2026 18:25:17 +0000 [thread overview]
Message-ID: <20260903182520.950555-1-ketanp@nvidia.com> (raw)
The MC and HUB error-logging paths on Tegra264 used large switch
statements that interleaved register offsets, bit positions and
decoding parameters for each error type, which made them hard to read
and review. This patchset refactors these paths without intending any
functional change to error decoding behavior.
Ketan Patil (3):
memory: tegra: Use named defines for Tegra264 MC apertures
memory: tegra: Parameterise Tegra264 MCF slice bound
memory: tegra: Refactor Tegra264 mc-err code
drivers/memory/tegra/tegra264.c | 376 ++++++++++++++++++++------------
1 file changed, 237 insertions(+), 139 deletions(-)
--
2.43.0
next reply other threads:[~2026-09-03 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 18:25 Ketan Patil [this message]
2026-09-03 18:25 ` [PATCH 1/3] memory: tegra: Use named defines for Tegra264 MC apertures Ketan Patil
2026-09-03 18:25 ` [PATCH 2/3] memory: tegra: Parameterise Tegra264 MCF slice bound Ketan Patil
2026-09-03 18:25 ` [PATCH 3/3] memory: tegra: Refactor Tegra264 mc-err code Ketan Patil
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=20260903182520.950555-1-ketanp@nvidia.com \
--to=ketanp@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=thierry.reding@kernel.org \
/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