* [PATCH] memory: tegra: read values from correct device
@ 2023-03-22 23:40 Diogo Ivo
2023-04-02 10:48 ` Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Diogo Ivo @ 2023-03-22 23:40 UTC (permalink / raw)
To: krzysztof.kozlowski, thierry.reding, jonathanh, diogo.ivo,
linux-tegra
When reading MR18 for Dev1 the code was incorrectly reading the
value corresponding to Dev0, so fix this by adjusting the index
according to the Tegra X1 TRM.
Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
---
drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/memory/tegra/tegra210-emc-cc-r21021.c b/drivers/memory/tegra/tegra210-emc-cc-r21021.c
index cc76adb8d7e8..4cb608c71ead 100644
--- a/drivers/memory/tegra/tegra210-emc-cc-r21021.c
+++ b/drivers/memory/tegra/tegra210-emc-cc-r21021.c
@@ -277,7 +277,7 @@ static u32 update_clock_tree_delay(struct tegra210_emc *emc, int type)
/*
* Dev1 LSB.
*/
- value = tegra210_emc_mrr_read(emc, 2, 18);
+ value = tegra210_emc_mrr_read(emc, 1, 18);
for (i = 0; i < emc->num_channels; i++) {
temp[i][0] |= (value & 0x00ff) >> 0;
--
2.40.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] memory: tegra: read values from correct device
2023-03-22 23:40 [PATCH] memory: tegra: read values from correct device Diogo Ivo
@ 2023-04-02 10:48 ` Krzysztof Kozlowski
2023-04-04 10:34 ` Thierry Reding
2023-04-10 16:59 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-02 10:48 UTC (permalink / raw)
To: Diogo Ivo, thierry.reding, jonathanh, linux-tegra
On 23/03/2023 00:40, Diogo Ivo wrote:
> When reading MR18 for Dev1 the code was incorrectly reading the
> value corresponding to Dev0, so fix this by adjusting the index
> according to the Tegra X1 TRM.
>
> Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
> ---
> drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Any reviews on this?
Anyway I expect resend to have full cc-list.
Standard msg:
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] memory: tegra: read values from correct device
2023-03-22 23:40 [PATCH] memory: tegra: read values from correct device Diogo Ivo
2023-04-02 10:48 ` Krzysztof Kozlowski
@ 2023-04-04 10:34 ` Thierry Reding
2023-04-10 16:59 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2023-04-04 10:34 UTC (permalink / raw)
To: Diogo Ivo; +Cc: krzysztof.kozlowski, jonathanh, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
On Wed, Mar 22, 2023 at 11:40:50PM +0000, Diogo Ivo wrote:
> When reading MR18 for Dev1 the code was incorrectly reading the
> value corresponding to Dev0, so fix this by adjusting the index
> according to the Tegra X1 TRM.
>
> Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
> ---
> drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] memory: tegra: read values from correct device
2023-03-22 23:40 [PATCH] memory: tegra: read values from correct device Diogo Ivo
2023-04-02 10:48 ` Krzysztof Kozlowski
2023-04-04 10:34 ` Thierry Reding
@ 2023-04-10 16:59 ` Krzysztof Kozlowski
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-10 16:59 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno, linux-kernel,
linux-arm-kernel, linux-mediatek, thierry.reding, jonathanh,
linux-tegra, Diogo Ivo
Cc: Krzysztof Kozlowski
On Wed, 22 Mar 2023 23:40:50 +0000, Diogo Ivo wrote:
> When reading MR18 for Dev1 the code was incorrectly reading the
> value corresponding to Dev0, so fix this by adjusting the index
> according to the Tegra X1 TRM.
>
>
Applied, thanks! It's late, so it might miss current cycle.
[1/1] memory: tegra: read values from correct device
https://git.kernel.org/krzk/linux-mem-ctrl/c/be4c5c6e84429e87cfdf1c8be350a49a714a93e2
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-10 16:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22 23:40 [PATCH] memory: tegra: read values from correct device Diogo Ivo
2023-04-02 10:48 ` Krzysztof Kozlowski
2023-04-04 10:34 ` Thierry Reding
2023-04-10 16:59 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).